@@ -28,6 +28,10 @@ class PlatformDeliveryData
28
28
29
29
attr_accessor :ios
30
30
31
+ attr_accessor :sms
32
+
33
+ attr_accessor :email
34
+
31
35
# Attribute mapping from ruby-style variable name to JSON key.
32
36
def self . attribute_map
33
37
{
@@ -36,7 +40,9 @@ def self.attribute_map
36
40
:'firefox_web_push' => :'firefox_web_push' ,
37
41
:'safari_web_push' => :'safari_web_push' ,
38
42
:'android' => :'android' ,
39
- :'ios' => :'ios'
43
+ :'ios' => :'ios' ,
44
+ :'sms' => :'sms' ,
45
+ :'email' => :'email'
40
46
}
41
47
end
42
48
@@ -53,13 +59,17 @@ def self.openapi_types
53
59
:'firefox_web_push' => :'DeliveryData' ,
54
60
:'safari_web_push' => :'DeliveryData' ,
55
61
:'android' => :'DeliveryData' ,
56
- :'ios' => :'DeliveryData'
62
+ :'ios' => :'DeliveryData' ,
63
+ :'sms' => :'DeliveryData' ,
64
+ :'email' => :'DeliveryData'
57
65
}
58
66
end
59
67
60
68
# List of attributes with nullable: true
61
69
def self . openapi_nullable
62
70
Set . new ( [
71
+ :'sms' ,
72
+ :'email'
63
73
] )
64
74
end
65
75
@@ -101,6 +111,14 @@ def initialize(attributes = {})
101
111
if attributes . key? ( :'ios' )
102
112
self . ios = attributes [ :'ios' ]
103
113
end
114
+
115
+ if attributes . key? ( :'sms' )
116
+ self . sms = attributes [ :'sms' ]
117
+ end
118
+
119
+ if attributes . key? ( :'email' )
120
+ self . email = attributes [ :'email' ]
121
+ end
104
122
end
105
123
106
124
# Show invalid properties with the reasons. Usually used together with valid?
@@ -126,7 +144,9 @@ def ==(o)
126
144
firefox_web_push == o . firefox_web_push &&
127
145
safari_web_push == o . safari_web_push &&
128
146
android == o . android &&
129
- ios == o . ios
147
+ ios == o . ios &&
148
+ sms == o . sms &&
149
+ email == o . email
130
150
end
131
151
132
152
# @see the `==` method
@@ -138,7 +158,7 @@ def eql?(o)
138
158
# Calculates hash code according to all attributes.
139
159
# @return [Integer] Hash code
140
160
def hash
141
- [ edge_web_push , chrome_web_push , firefox_web_push , safari_web_push , android , ios ] . hash
161
+ [ edge_web_push , chrome_web_push , firefox_web_push , safari_web_push , android , ios , sms , email ] . hash
142
162
end
143
163
144
164
# Builds the object from hash
0 commit comments