smooch-api 5.8.0 → 5.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/docs/Client.md +3 -1
- data/docs/Enums.md +4 -3
- data/lib/smooch-api.rb +1 -1
- data/lib/smooch-api/api/app_api.rb +1 -1
- data/lib/smooch-api/api/app_user_api.rb +1 -1
- data/lib/smooch-api/api/attachments_api.rb +1 -1
- data/lib/smooch-api/api/conversation_api.rb +1 -1
- data/lib/smooch-api/api/deployment_api.rb +1 -1
- data/lib/smooch-api/api/integration_api.rb +1 -1
- data/lib/smooch-api/api/menu_api.rb +1 -1
- data/lib/smooch-api/api/service_account_api.rb +1 -1
- data/lib/smooch-api/api/template_api.rb +1 -1
- data/lib/smooch-api/api/webhook_api.rb +1 -1
- data/lib/smooch-api/api_client.rb +1 -1
- data/lib/smooch-api/api_error.rb +1 -1
- data/lib/smooch-api/configuration.rb +1 -1
- data/lib/smooch-api/models/action.rb +1 -1
- data/lib/smooch-api/models/app.rb +1 -1
- data/lib/smooch-api/models/app_create.rb +1 -1
- data/lib/smooch-api/models/app_response.rb +1 -1
- data/lib/smooch-api/models/app_settings.rb +1 -1
- data/lib/smooch-api/models/app_update.rb +1 -1
- data/lib/smooch-api/models/app_user.rb +1 -1
- data/lib/smooch-api/models/app_user_business_systems_response.rb +1 -1
- data/lib/smooch-api/models/app_user_channels_response.rb +1 -1
- data/lib/smooch-api/models/app_user_link.rb +1 -1
- data/lib/smooch-api/models/app_user_pre_create.rb +1 -1
- data/lib/smooch-api/models/app_user_response.rb +1 -1
- data/lib/smooch-api/models/app_user_update.rb +1 -1
- data/lib/smooch-api/models/attachment_remove.rb +1 -1
- data/lib/smooch-api/models/attachment_response.rb +1 -1
- data/lib/smooch-api/models/auth_code_response.rb +1 -1
- data/lib/smooch-api/models/business_system_item.rb +1 -1
- data/lib/smooch-api/models/channel_entity_item.rb +1 -1
- data/lib/smooch-api/models/client.rb +23 -3
- data/lib/smooch-api/models/client_info.rb +1 -1
- data/lib/smooch-api/models/confirmation.rb +1 -1
- data/lib/smooch-api/models/conversation.rb +1 -1
- data/lib/smooch-api/models/conversation_activity.rb +1 -1
- data/lib/smooch-api/models/deployment.rb +1 -1
- data/lib/smooch-api/models/deployment_activate_phone_number.rb +1 -1
- data/lib/smooch-api/models/deployment_confirm_code.rb +1 -1
- data/lib/smooch-api/models/deployment_create.rb +1 -1
- data/lib/smooch-api/models/deployment_response.rb +1 -1
- data/lib/smooch-api/models/destination.rb +1 -1
- data/lib/smooch-api/models/display_settings.rb +1 -1
- data/lib/smooch-api/models/enums.rb +89 -68
- data/lib/smooch-api/models/get_integration_profile_response.rb +1 -1
- data/lib/smooch-api/models/get_messages_response.rb +1 -1
- data/lib/smooch-api/models/integration.rb +1 -1
- data/lib/smooch-api/models/integration_create.rb +1 -1
- data/lib/smooch-api/models/integration_profile_update.rb +1 -1
- data/lib/smooch-api/models/integration_response.rb +1 -1
- data/lib/smooch-api/models/integration_update.rb +1 -1
- data/lib/smooch-api/models/jwt_response.rb +1 -1
- data/lib/smooch-api/models/link_request_response.rb +1 -1
- data/lib/smooch-api/models/link_request_response_link_requests.rb +1 -1
- data/lib/smooch-api/models/list_apps_response.rb +1 -1
- data/lib/smooch-api/models/list_deployments_response.rb +1 -1
- data/lib/smooch-api/models/list_integrations_response.rb +1 -1
- data/lib/smooch-api/models/list_secret_keys_response.rb +1 -1
- data/lib/smooch-api/models/list_service_accounts_response.rb +1 -1
- data/lib/smooch-api/models/list_templates_response.rb +1 -1
- data/lib/smooch-api/models/list_webhooks_response.rb +1 -1
- data/lib/smooch-api/models/menu.rb +1 -1
- data/lib/smooch-api/models/menu_item.rb +1 -1
- data/lib/smooch-api/models/menu_response.rb +1 -1
- data/lib/smooch-api/models/message.rb +1 -1
- data/lib/smooch-api/models/message_item.rb +1 -1
- data/lib/smooch-api/models/message_override.rb +1 -1
- data/lib/smooch-api/models/message_override_whatsapp.rb +1 -1
- data/lib/smooch-api/models/message_post.rb +1 -1
- data/lib/smooch-api/models/message_response.rb +1 -1
- data/lib/smooch-api/models/secret_key.rb +1 -1
- data/lib/smooch-api/models/secret_key_create.rb +1 -1
- data/lib/smooch-api/models/secret_key_response.rb +1 -1
- data/lib/smooch-api/models/service_account.rb +1 -1
- data/lib/smooch-api/models/service_account_create.rb +1 -1
- data/lib/smooch-api/models/service_account_response.rb +1 -1
- data/lib/smooch-api/models/service_account_update.rb +1 -1
- data/lib/smooch-api/models/source.rb +1 -1
- data/lib/smooch-api/models/sub_menu_item.rb +1 -1
- data/lib/smooch-api/models/template.rb +1 -1
- data/lib/smooch-api/models/template_create.rb +1 -1
- data/lib/smooch-api/models/template_response.rb +1 -1
- data/lib/smooch-api/models/template_update.rb +1 -1
- data/lib/smooch-api/models/upload_integration_profile_photo_response.rb +1 -1
- data/lib/smooch-api/models/webhook.rb +1 -1
- data/lib/smooch-api/models/webhook_create.rb +1 -1
- data/lib/smooch-api/models/webhook_response.rb +1 -1
- data/lib/smooch-api/models/webhook_update.rb +1 -1
- data/lib/smooch-api/version.rb +2 -2
- data/smooch-api.gemspec +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +3 -3
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
|
5
5
|
|
6
|
-
OpenAPI spec version: 5.
|
6
|
+
OpenAPI spec version: 5.9
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.2.3-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
|
5
5
|
|
6
|
-
OpenAPI spec version: 5.
|
6
|
+
OpenAPI spec version: 5.9
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.2.3-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
|
5
5
|
|
6
|
-
OpenAPI spec version: 5.
|
6
|
+
OpenAPI spec version: 5.9
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.2.3-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
|
5
5
|
|
6
|
-
OpenAPI spec version: 5.
|
6
|
+
OpenAPI spec version: 5.9
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.2.3-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
|
5
5
|
|
6
|
-
OpenAPI spec version: 5.
|
6
|
+
OpenAPI spec version: 5.9
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.2.3-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
|
5
5
|
|
6
|
-
OpenAPI spec version: 5.
|
6
|
+
OpenAPI spec version: 5.9
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.2.3-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
|
5
5
|
|
6
|
-
OpenAPI spec version: 5.
|
6
|
+
OpenAPI spec version: 5.9
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.2.3-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
|
5
5
|
|
6
|
-
OpenAPI spec version: 5.
|
6
|
+
OpenAPI spec version: 5.9
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.2.3-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
|
5
5
|
|
6
|
-
OpenAPI spec version: 5.
|
6
|
+
OpenAPI spec version: 5.9
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.2.3-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
|
5
5
|
|
6
|
-
OpenAPI spec version: 5.
|
6
|
+
OpenAPI spec version: 5.9
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.2.3-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
|
5
5
|
|
6
|
-
OpenAPI spec version: 5.
|
6
|
+
OpenAPI spec version: 5.9
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.2.3-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
|
5
5
|
|
6
|
-
OpenAPI spec version: 5.
|
6
|
+
OpenAPI spec version: 5.9
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.2.3-SNAPSHOT
|
@@ -21,10 +21,18 @@ module SmoochApi
|
|
21
21
|
|
22
22
|
attr_accessor :businessSystemType
|
23
23
|
|
24
|
+
attr_accessor :clientStatus
|
25
|
+
|
24
26
|
attr_accessor :confirmationType
|
25
27
|
|
26
28
|
attr_accessor :conversationActivityType
|
27
29
|
|
30
|
+
attr_accessor :deploymentActivationMethod
|
31
|
+
|
32
|
+
attr_accessor :deploymentHosting
|
33
|
+
|
34
|
+
attr_accessor :deploymentStatus
|
35
|
+
|
28
36
|
attr_accessor :imageAspectRatio
|
29
37
|
|
30
38
|
attr_accessor :integrationStatus
|
@@ -41,12 +49,6 @@ module SmoochApi
|
|
41
49
|
|
42
50
|
attr_accessor :webhookTriggers
|
43
51
|
|
44
|
-
attr_accessor :deploymentHosting
|
45
|
-
|
46
|
-
attr_accessor :deploymentStatus
|
47
|
-
|
48
|
-
attr_accessor :deploymentActivationMethod
|
49
|
-
|
50
52
|
class EnumAttributeValidator
|
51
53
|
attr_reader :datatype
|
52
54
|
attr_reader :allowable_values
|
@@ -75,8 +77,12 @@ module SmoochApi
|
|
75
77
|
:'actionSize' => :'ActionSize',
|
76
78
|
:'actionType' => :'ActionType',
|
77
79
|
:'businessSystemType' => :'BusinessSystemType',
|
80
|
+
:'clientStatus' => :'ClientStatus',
|
78
81
|
:'confirmationType' => :'ConfirmationType',
|
79
82
|
:'conversationActivityType' => :'ConversationActivityType',
|
83
|
+
:'deploymentActivationMethod' => :'DeploymentActivationMethod',
|
84
|
+
:'deploymentHosting' => :'DeploymentHosting',
|
85
|
+
:'deploymentStatus' => :'DeploymentStatus',
|
80
86
|
:'imageAspectRatio' => :'ImageAspectRatio',
|
81
87
|
:'integrationStatus' => :'IntegrationStatus',
|
82
88
|
:'integrationType' => :'IntegrationType',
|
@@ -84,10 +90,7 @@ module SmoochApi
|
|
84
90
|
:'messageItemSize' => :'MessageItemSize',
|
85
91
|
:'messageType' => :'MessageType',
|
86
92
|
:'role' => :'Role',
|
87
|
-
:'webhookTriggers' => :'WebhookTriggers'
|
88
|
-
:'deploymentHosting' => :'DeploymentHosting',
|
89
|
-
:'deploymentStatus' => :'DeploymentStatus',
|
90
|
-
:'deploymentActivationMethod' => :'DeploymentActivationMethod'
|
93
|
+
:'webhookTriggers' => :'WebhookTriggers'
|
91
94
|
}
|
92
95
|
end
|
93
96
|
|
@@ -97,8 +100,12 @@ module SmoochApi
|
|
97
100
|
:'actionSize' => :'String',
|
98
101
|
:'actionType' => :'String',
|
99
102
|
:'businessSystemType' => :'String',
|
103
|
+
:'clientStatus' => :'String',
|
100
104
|
:'confirmationType' => :'String',
|
101
105
|
:'conversationActivityType' => :'String',
|
106
|
+
:'deploymentActivationMethod' => :'String',
|
107
|
+
:'deploymentHosting' => :'String',
|
108
|
+
:'deploymentStatus' => :'String',
|
102
109
|
:'imageAspectRatio' => :'String',
|
103
110
|
:'integrationStatus' => :'String',
|
104
111
|
:'integrationType' => :'String',
|
@@ -106,10 +113,7 @@ module SmoochApi
|
|
106
113
|
:'messageItemSize' => :'String',
|
107
114
|
:'messageType' => :'String',
|
108
115
|
:'role' => :'String',
|
109
|
-
:'webhookTriggers' => :'String'
|
110
|
-
:'deploymentHosting' => :'String',
|
111
|
-
:'deploymentStatus' => :'String',
|
112
|
-
:'deploymentActivationMethod' => :'String'
|
116
|
+
:'webhookTriggers' => :'String'
|
113
117
|
}
|
114
118
|
end
|
115
119
|
|
@@ -133,6 +137,10 @@ module SmoochApi
|
|
133
137
|
self.businessSystemType = attributes[:'BusinessSystemType']
|
134
138
|
end
|
135
139
|
|
140
|
+
if attributes.has_key?(:'ClientStatus')
|
141
|
+
self.clientStatus = attributes[:'ClientStatus']
|
142
|
+
end
|
143
|
+
|
136
144
|
if attributes.has_key?(:'ConfirmationType')
|
137
145
|
self.confirmationType = attributes[:'ConfirmationType']
|
138
146
|
end
|
@@ -141,6 +149,18 @@ module SmoochApi
|
|
141
149
|
self.conversationActivityType = attributes[:'ConversationActivityType']
|
142
150
|
end
|
143
151
|
|
152
|
+
if attributes.has_key?(:'DeploymentActivationMethod')
|
153
|
+
self.deploymentActivationMethod = attributes[:'DeploymentActivationMethod']
|
154
|
+
end
|
155
|
+
|
156
|
+
if attributes.has_key?(:'DeploymentHosting')
|
157
|
+
self.deploymentHosting = attributes[:'DeploymentHosting']
|
158
|
+
end
|
159
|
+
|
160
|
+
if attributes.has_key?(:'DeploymentStatus')
|
161
|
+
self.deploymentStatus = attributes[:'DeploymentStatus']
|
162
|
+
end
|
163
|
+
|
144
164
|
if attributes.has_key?(:'ImageAspectRatio')
|
145
165
|
self.imageAspectRatio = attributes[:'ImageAspectRatio']
|
146
166
|
end
|
@@ -173,18 +193,6 @@ module SmoochApi
|
|
173
193
|
self.webhookTriggers = attributes[:'WebhookTriggers']
|
174
194
|
end
|
175
195
|
|
176
|
-
if attributes.has_key?(:'DeploymentHosting')
|
177
|
-
self.deploymentHosting = attributes[:'DeploymentHosting']
|
178
|
-
end
|
179
|
-
|
180
|
-
if attributes.has_key?(:'DeploymentStatus')
|
181
|
-
self.deploymentStatus = attributes[:'DeploymentStatus']
|
182
|
-
end
|
183
|
-
|
184
|
-
if attributes.has_key?(:'DeploymentActivationMethod')
|
185
|
-
self.deploymentActivationMethod = attributes[:'DeploymentActivationMethod']
|
186
|
-
end
|
187
|
-
|
188
196
|
end
|
189
197
|
|
190
198
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -203,10 +211,18 @@ module SmoochApi
|
|
203
211
|
return false unless actionType_validator.valid?(@actionType)
|
204
212
|
businessSystemType_validator = EnumAttributeValidator.new('String', ["helpscout", "slack", "zendesk"])
|
205
213
|
return false unless businessSystemType_validator.valid?(@businessSystemType)
|
214
|
+
clientStatus_validator = EnumAttributeValidator.new('String', ["active", "blocked", "inactive", "pending"])
|
215
|
+
return false unless clientStatus_validator.valid?(@clientStatus)
|
206
216
|
confirmationType_validator = EnumAttributeValidator.new('String', ["immediate", "userActivity", "prompt"])
|
207
217
|
return false unless confirmationType_validator.valid?(@confirmationType)
|
208
218
|
conversationActivityType_validator = EnumAttributeValidator.new('String', ["conversation:read", "typing:start", "typing:stop"])
|
209
219
|
return false unless conversationActivityType_validator.valid?(@conversationActivityType)
|
220
|
+
deploymentActivationMethod_validator = EnumAttributeValidator.new('String', ["sms", "voice"])
|
221
|
+
return false unless deploymentActivationMethod_validator.valid?(@deploymentActivationMethod)
|
222
|
+
deploymentHosting_validator = EnumAttributeValidator.new('String', ["self", "smooch"])
|
223
|
+
return false unless deploymentHosting_validator.valid?(@deploymentHosting)
|
224
|
+
deploymentStatus_validator = EnumAttributeValidator.new('String', ["deleting", "error", "integrated", "pending", "registered", "starting", "unregistered"])
|
225
|
+
return false unless deploymentStatus_validator.valid?(@deploymentStatus)
|
210
226
|
imageAspectRatio_validator = EnumAttributeValidator.new('String', ["horizontal", "square"])
|
211
227
|
return false unless imageAspectRatio_validator.valid?(@imageAspectRatio)
|
212
228
|
integrationStatus_validator = EnumAttributeValidator.new('String', ["active", "inactive", "error"])
|
@@ -223,12 +239,6 @@ module SmoochApi
|
|
223
239
|
return false unless role_validator.valid?(@role)
|
224
240
|
webhookTriggers_validator = EnumAttributeValidator.new('String', ["appUser:delete", "client:add", "client:remove", "conversation:read", "conversation:referral", "link:failure", "link:match", "link:success", "merge:appUser", "message:appMaker", "message:appUser", "message:delivery:channel", "message:delivery:failure", "message:delivery:user", "payment:success", "postback", "typing:appUser"])
|
225
241
|
return false unless webhookTriggers_validator.valid?(@webhookTriggers)
|
226
|
-
deploymentHosting_validator = EnumAttributeValidator.new('String', ["self", "smooch"])
|
227
|
-
return false unless deploymentHosting_validator.valid?(@deploymentHosting)
|
228
|
-
deploymentStatus_validator = EnumAttributeValidator.new('String', ["starting", "unregistered", "registered", "integrated", "pending", "deleting", "error"])
|
229
|
-
return false unless deploymentStatus_validator.valid?(@deploymentStatus)
|
230
|
-
deploymentActivationMethod_validator = EnumAttributeValidator.new('String', ["voice", "sms"])
|
231
|
-
return false unless deploymentActivationMethod_validator.valid?(@deploymentActivationMethod)
|
232
242
|
return true
|
233
243
|
end
|
234
244
|
|
@@ -262,6 +272,16 @@ module SmoochApi
|
|
262
272
|
@businessSystemType = businessSystemType
|
263
273
|
end
|
264
274
|
|
275
|
+
# Custom attribute writer method checking allowed values (enum).
|
276
|
+
# @param [Object] clientStatus Object to be assigned
|
277
|
+
def clientStatus=(clientStatus)
|
278
|
+
validator = EnumAttributeValidator.new('String', ["active", "blocked", "inactive", "pending"])
|
279
|
+
unless validator.valid?(clientStatus)
|
280
|
+
fail ArgumentError, "invalid value for 'clientStatus', must be one of #{validator.allowable_values}."
|
281
|
+
end
|
282
|
+
@clientStatus = clientStatus
|
283
|
+
end
|
284
|
+
|
265
285
|
# Custom attribute writer method checking allowed values (enum).
|
266
286
|
# @param [Object] confirmationType Object to be assigned
|
267
287
|
def confirmationType=(confirmationType)
|
@@ -282,6 +302,36 @@ module SmoochApi
|
|
282
302
|
@conversationActivityType = conversationActivityType
|
283
303
|
end
|
284
304
|
|
305
|
+
# Custom attribute writer method checking allowed values (enum).
|
306
|
+
# @param [Object] deploymentActivationMethod Object to be assigned
|
307
|
+
def deploymentActivationMethod=(deploymentActivationMethod)
|
308
|
+
validator = EnumAttributeValidator.new('String', ["sms", "voice"])
|
309
|
+
unless validator.valid?(deploymentActivationMethod)
|
310
|
+
fail ArgumentError, "invalid value for 'deploymentActivationMethod', must be one of #{validator.allowable_values}."
|
311
|
+
end
|
312
|
+
@deploymentActivationMethod = deploymentActivationMethod
|
313
|
+
end
|
314
|
+
|
315
|
+
# Custom attribute writer method checking allowed values (enum).
|
316
|
+
# @param [Object] deploymentHosting Object to be assigned
|
317
|
+
def deploymentHosting=(deploymentHosting)
|
318
|
+
validator = EnumAttributeValidator.new('String', ["self", "smooch"])
|
319
|
+
unless validator.valid?(deploymentHosting)
|
320
|
+
fail ArgumentError, "invalid value for 'deploymentHosting', must be one of #{validator.allowable_values}."
|
321
|
+
end
|
322
|
+
@deploymentHosting = deploymentHosting
|
323
|
+
end
|
324
|
+
|
325
|
+
# Custom attribute writer method checking allowed values (enum).
|
326
|
+
# @param [Object] deploymentStatus Object to be assigned
|
327
|
+
def deploymentStatus=(deploymentStatus)
|
328
|
+
validator = EnumAttributeValidator.new('String', ["deleting", "error", "integrated", "pending", "registered", "starting", "unregistered"])
|
329
|
+
unless validator.valid?(deploymentStatus)
|
330
|
+
fail ArgumentError, "invalid value for 'deploymentStatus', must be one of #{validator.allowable_values}."
|
331
|
+
end
|
332
|
+
@deploymentStatus = deploymentStatus
|
333
|
+
end
|
334
|
+
|
285
335
|
# Custom attribute writer method checking allowed values (enum).
|
286
336
|
# @param [Object] imageAspectRatio Object to be assigned
|
287
337
|
def imageAspectRatio=(imageAspectRatio)
|
@@ -362,36 +412,6 @@ module SmoochApi
|
|
362
412
|
@webhookTriggers = webhookTriggers
|
363
413
|
end
|
364
414
|
|
365
|
-
# Custom attribute writer method checking allowed values (enum).
|
366
|
-
# @param [Object] deploymentHosting Object to be assigned
|
367
|
-
def deploymentHosting=(deploymentHosting)
|
368
|
-
validator = EnumAttributeValidator.new('String', ["self", "smooch"])
|
369
|
-
unless validator.valid?(deploymentHosting)
|
370
|
-
fail ArgumentError, "invalid value for 'deploymentHosting', must be one of #{validator.allowable_values}."
|
371
|
-
end
|
372
|
-
@deploymentHosting = deploymentHosting
|
373
|
-
end
|
374
|
-
|
375
|
-
# Custom attribute writer method checking allowed values (enum).
|
376
|
-
# @param [Object] deploymentStatus Object to be assigned
|
377
|
-
def deploymentStatus=(deploymentStatus)
|
378
|
-
validator = EnumAttributeValidator.new('String', ["starting", "unregistered", "registered", "integrated", "pending", "deleting", "error"])
|
379
|
-
unless validator.valid?(deploymentStatus)
|
380
|
-
fail ArgumentError, "invalid value for 'deploymentStatus', must be one of #{validator.allowable_values}."
|
381
|
-
end
|
382
|
-
@deploymentStatus = deploymentStatus
|
383
|
-
end
|
384
|
-
|
385
|
-
# Custom attribute writer method checking allowed values (enum).
|
386
|
-
# @param [Object] deploymentActivationMethod Object to be assigned
|
387
|
-
def deploymentActivationMethod=(deploymentActivationMethod)
|
388
|
-
validator = EnumAttributeValidator.new('String', ["voice", "sms"])
|
389
|
-
unless validator.valid?(deploymentActivationMethod)
|
390
|
-
fail ArgumentError, "invalid value for 'deploymentActivationMethod', must be one of #{validator.allowable_values}."
|
391
|
-
end
|
392
|
-
@deploymentActivationMethod = deploymentActivationMethod
|
393
|
-
end
|
394
|
-
|
395
415
|
# Checks equality by comparing each attribute.
|
396
416
|
# @param [Object] Object to be compared
|
397
417
|
def ==(o)
|
@@ -400,8 +420,12 @@ module SmoochApi
|
|
400
420
|
actionSize == o.actionSize &&
|
401
421
|
actionType == o.actionType &&
|
402
422
|
businessSystemType == o.businessSystemType &&
|
423
|
+
clientStatus == o.clientStatus &&
|
403
424
|
confirmationType == o.confirmationType &&
|
404
425
|
conversationActivityType == o.conversationActivityType &&
|
426
|
+
deploymentActivationMethod == o.deploymentActivationMethod &&
|
427
|
+
deploymentHosting == o.deploymentHosting &&
|
428
|
+
deploymentStatus == o.deploymentStatus &&
|
405
429
|
imageAspectRatio == o.imageAspectRatio &&
|
406
430
|
integrationStatus == o.integrationStatus &&
|
407
431
|
integrationType == o.integrationType &&
|
@@ -409,10 +433,7 @@ module SmoochApi
|
|
409
433
|
messageItemSize == o.messageItemSize &&
|
410
434
|
messageType == o.messageType &&
|
411
435
|
role == o.role &&
|
412
|
-
webhookTriggers == o.webhookTriggers
|
413
|
-
deploymentHosting == o.deploymentHosting &&
|
414
|
-
deploymentStatus == o.deploymentStatus &&
|
415
|
-
deploymentActivationMethod == o.deploymentActivationMethod
|
436
|
+
webhookTriggers == o.webhookTriggers
|
416
437
|
end
|
417
438
|
|
418
439
|
# @see the `==` method
|
@@ -424,7 +445,7 @@ module SmoochApi
|
|
424
445
|
# Calculates hash code according to all attributes.
|
425
446
|
# @return [Fixnum] Hash code
|
426
447
|
def hash
|
427
|
-
[actionSize, actionType, businessSystemType, confirmationType, conversationActivityType, imageAspectRatio, integrationStatus, integrationType, menuItemType, messageItemSize, messageType, role, webhookTriggers
|
448
|
+
[actionSize, actionType, businessSystemType, clientStatus, confirmationType, conversationActivityType, deploymentActivationMethod, deploymentHosting, deploymentStatus, imageAspectRatio, integrationStatus, integrationType, menuItemType, messageItemSize, messageType, role, webhookTriggers].hash
|
428
449
|
end
|
429
450
|
|
430
451
|
# Builds the object from hash
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
|
5
5
|
|
6
|
-
OpenAPI spec version: 5.
|
6
|
+
OpenAPI spec version: 5.9
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.2.3-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
|
5
5
|
|
6
|
-
OpenAPI spec version: 5.
|
6
|
+
OpenAPI spec version: 5.9
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.2.3-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
|
5
5
|
|
6
|
-
OpenAPI spec version: 5.
|
6
|
+
OpenAPI spec version: 5.9
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.2.3-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
|
5
5
|
|
6
|
-
OpenAPI spec version: 5.
|
6
|
+
OpenAPI spec version: 5.9
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.2.3-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
|
5
5
|
|
6
|
-
OpenAPI spec version: 5.
|
6
|
+
OpenAPI spec version: 5.9
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.2.3-SNAPSHOT
|