smooch-api 4.1.0 → 4.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (137) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -3
  3. data/docs/Action.md +2 -2
  4. data/docs/App.md +2 -2
  5. data/docs/AppApi.md +48 -48
  6. data/docs/AppSettings.md +2 -2
  7. data/docs/AppUser.md +6 -6
  8. data/docs/AppUserApi.md +78 -78
  9. data/docs/AppUserBusinessSystemsResponse.md +1 -1
  10. data/docs/AppUserLink.md +2 -2
  11. data/docs/AppUserPreCreate.md +3 -3
  12. data/docs/AppUserResponse.md +1 -1
  13. data/docs/AppUserUpdate.md +2 -2
  14. data/docs/AttachmentRemove.md +1 -1
  15. data/docs/AttachmentResponse.md +2 -2
  16. data/docs/AttachmentsApi.md +16 -16
  17. data/docs/AuthCodeResponse.md +1 -1
  18. data/docs/BusinessSystemItem.md +4 -4
  19. data/docs/ChannelEntityItem.md +3 -3
  20. data/docs/Client.md +4 -4
  21. data/docs/ClientInfo.md +8 -8
  22. data/docs/Conversation.md +2 -2
  23. data/docs/ConversationApi.md +42 -42
  24. data/docs/Destination.md +2 -2
  25. data/docs/DisplaySettings.md +1 -1
  26. data/docs/GetMessagesResponse.md +1 -1
  27. data/docs/Integration.md +44 -44
  28. data/docs/IntegrationApi.md +66 -66
  29. data/docs/IntegrationCreate.md +36 -36
  30. data/docs/IntegrationProfileUpdate.md +1 -1
  31. data/docs/IntegrationUpdate.md +16 -16
  32. data/docs/LinkRequestResponse.md +1 -1
  33. data/docs/LinkRequestResponseLinkRequests.md +1 -1
  34. data/docs/ListAppsResponse.md +1 -1
  35. data/docs/ListServiceAccountsResponse.md +2 -2
  36. data/docs/ListTemplatesResponse.md +1 -1
  37. data/docs/MenuApi.md +14 -14
  38. data/docs/Message.md +6 -6
  39. data/docs/MessageItem.md +2 -2
  40. data/docs/MessageOverride.md +8 -0
  41. data/docs/MessageOverrideWhatsapp.md +8 -0
  42. data/docs/MessagePost.md +4 -3
  43. data/docs/MessageResponse.md +1 -1
  44. data/docs/SecretKey.md +1 -1
  45. data/docs/ServiceAccount.md +1 -1
  46. data/docs/ServiceAccountApi.md +46 -46
  47. data/docs/ServiceAccountResponse.md +1 -1
  48. data/docs/Template.md +1 -1
  49. data/docs/TemplateApi.md +30 -30
  50. data/docs/TypingActivityTrigger.md +1 -1
  51. data/docs/Webhook.md +1 -1
  52. data/docs/WebhookApi.md +30 -30
  53. data/lib/smooch-api.rb +3 -1
  54. data/lib/smooch-api/api/app_api.rb +112 -112
  55. data/lib/smooch-api/api/app_user_api.rb +190 -190
  56. data/lib/smooch-api/api/attachments_api.rb +34 -34
  57. data/lib/smooch-api/api/conversation_api.rb +102 -102
  58. data/lib/smooch-api/api/integration_api.rb +161 -161
  59. data/lib/smooch-api/api/menu_api.rb +34 -34
  60. data/lib/smooch-api/api/service_account_api.rb +109 -109
  61. data/lib/smooch-api/api/template_api.rb +73 -73
  62. data/lib/smooch-api/api/webhook_api.rb +73 -73
  63. data/lib/smooch-api/api_client.rb +1 -1
  64. data/lib/smooch-api/api_error.rb +1 -1
  65. data/lib/smooch-api/configuration.rb +1 -1
  66. data/lib/smooch-api/models/action.rb +12 -12
  67. data/lib/smooch-api/models/app.rb +18 -18
  68. data/lib/smooch-api/models/app_create.rb +1 -1
  69. data/lib/smooch-api/models/app_response.rb +1 -1
  70. data/lib/smooch-api/models/app_settings.rb +12 -12
  71. data/lib/smooch-api/models/app_update.rb +1 -1
  72. data/lib/smooch-api/models/app_user.rb +38 -38
  73. data/lib/smooch-api/models/app_user_business_systems_response.rb +10 -10
  74. data/lib/smooch-api/models/app_user_channels_response.rb +1 -1
  75. data/lib/smooch-api/models/app_user_link.rb +12 -12
  76. data/lib/smooch-api/models/app_user_pre_create.rb +20 -20
  77. data/lib/smooch-api/models/app_user_response.rb +10 -10
  78. data/lib/smooch-api/models/app_user_update.rb +12 -12
  79. data/lib/smooch-api/models/attachment_remove.rb +10 -10
  80. data/lib/smooch-api/models/attachment_response.rb +18 -18
  81. data/lib/smooch-api/models/auth_code_response.rb +10 -10
  82. data/lib/smooch-api/models/business_system_item.rb +22 -22
  83. data/lib/smooch-api/models/channel_entity_item.rb +17 -17
  84. data/lib/smooch-api/models/client.rb +22 -22
  85. data/lib/smooch-api/models/client_info.rb +42 -42
  86. data/lib/smooch-api/models/confirmation.rb +1 -1
  87. data/lib/smooch-api/models/conversation.rb +18 -18
  88. data/lib/smooch-api/models/destination.rb +18 -18
  89. data/lib/smooch-api/models/display_settings.rb +7 -7
  90. data/lib/smooch-api/models/get_messages_response.rb +7 -7
  91. data/lib/smooch-api/models/integration.rb +225 -225
  92. data/lib/smooch-api/models/integration_create.rb +182 -182
  93. data/lib/smooch-api/models/integration_profile_update.rb +7 -7
  94. data/lib/smooch-api/models/integration_response.rb +1 -1
  95. data/lib/smooch-api/models/integration_update.rb +82 -82
  96. data/lib/smooch-api/models/jwt_response.rb +1 -1
  97. data/lib/smooch-api/models/link_request_response.rb +7 -7
  98. data/lib/smooch-api/models/link_request_response_link_requests.rb +10 -10
  99. data/lib/smooch-api/models/list_apps_response.rb +7 -7
  100. data/lib/smooch-api/models/list_integrations_response.rb +1 -1
  101. data/lib/smooch-api/models/list_secret_keys_response.rb +1 -1
  102. data/lib/smooch-api/models/list_service_accounts_response.rb +12 -12
  103. data/lib/smooch-api/models/list_templates_response.rb +7 -7
  104. data/lib/smooch-api/models/list_webhooks_response.rb +1 -1
  105. data/lib/smooch-api/models/menu.rb +1 -1
  106. data/lib/smooch-api/models/menu_item.rb +1 -1
  107. data/lib/smooch-api/models/menu_response.rb +1 -1
  108. data/lib/smooch-api/models/message.rb +41 -41
  109. data/lib/smooch-api/models/message_item.rb +12 -12
  110. data/lib/smooch-api/models/message_override.rb +188 -0
  111. data/lib/smooch-api/models/message_override_whatsapp.rb +189 -0
  112. data/lib/smooch-api/models/message_post.rb +30 -20
  113. data/lib/smooch-api/models/message_response.rb +7 -7
  114. data/lib/smooch-api/models/secret_key.rb +10 -10
  115. data/lib/smooch-api/models/secret_key_create.rb +1 -1
  116. data/lib/smooch-api/models/secret_key_response.rb +1 -1
  117. data/lib/smooch-api/models/service_account.rb +10 -10
  118. data/lib/smooch-api/models/service_account_create.rb +1 -1
  119. data/lib/smooch-api/models/service_account_response.rb +7 -7
  120. data/lib/smooch-api/models/service_account_update.rb +1 -1
  121. data/lib/smooch-api/models/source.rb +1 -1
  122. data/lib/smooch-api/models/sub_menu_item.rb +1 -1
  123. data/lib/smooch-api/models/template.rb +10 -10
  124. data/lib/smooch-api/models/template_create.rb +1 -1
  125. data/lib/smooch-api/models/template_response.rb +1 -1
  126. data/lib/smooch-api/models/template_update.rb +1 -1
  127. data/lib/smooch-api/models/typing_activity_trigger.rb +7 -7
  128. data/lib/smooch-api/models/webhook.rb +10 -10
  129. data/lib/smooch-api/models/webhook_create.rb +1 -1
  130. data/lib/smooch-api/models/webhook_response.rb +1 -1
  131. data/lib/smooch-api/models/webhook_update.rb +1 -1
  132. data/lib/smooch-api/version.rb +2 -2
  133. data/smooch-api.gemspec +1 -1
  134. data/spec/api_client_spec.rb +1 -1
  135. data/spec/configuration_spec.rb +1 -1
  136. data/spec/spec_helper.rb +1 -1
  137. metadata +6 -2
@@ -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: 4.1
6
+ OpenAPI spec version: 4.2
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3-SNAPSHOT
@@ -16,20 +16,20 @@ module SmoochApi
16
16
 
17
17
  class AppUserBusinessSystemsResponse
18
18
  # An array of objects containing the business system type and the id.
19
- attr_accessor :business_systems
19
+ attr_accessor :businessSystems
20
20
 
21
21
 
22
22
  # Attribute mapping from ruby-style variable name to JSON key.
23
23
  def self.attribute_map
24
24
  {
25
- :'business_systems' => :'businessSystems'
25
+ :'businessSystems' => :'businessSystems'
26
26
  }
27
27
  end
28
28
 
29
29
  # Attribute type mapping.
30
30
  def self.swagger_types
31
31
  {
32
- :'business_systems' => :'Array<BusinessSystemItem>'
32
+ :'businessSystems' => :'Array<BusinessSystemItem>'
33
33
  }
34
34
  end
35
35
 
@@ -43,7 +43,7 @@ module SmoochApi
43
43
 
44
44
  if attributes.has_key?(:'businessSystems')
45
45
  if (value = attributes[:'businessSystems']).is_a?(Array)
46
- self.business_systems = value
46
+ self.businessSystems = value
47
47
  end
48
48
  end
49
49
 
@@ -53,8 +53,8 @@ module SmoochApi
53
53
  # @return Array for valid properies with the reasons
54
54
  def list_invalid_properties
55
55
  invalid_properties = Array.new
56
- if @business_systems.nil?
57
- invalid_properties.push("invalid value for 'business_systems', business_systems cannot be nil.")
56
+ if @businessSystems.nil?
57
+ invalid_properties.push("invalid value for 'businessSystems', businessSystems cannot be nil.")
58
58
  end
59
59
 
60
60
  return invalid_properties
@@ -63,7 +63,7 @@ module SmoochApi
63
63
  # Check to see if the all the properties in the model are valid
64
64
  # @return true if the model is valid
65
65
  def valid?
66
- return false if @business_systems.nil?
66
+ return false if @businessSystems.nil?
67
67
  return true
68
68
  end
69
69
 
@@ -72,7 +72,7 @@ module SmoochApi
72
72
  def ==(o)
73
73
  return true if self.equal?(o)
74
74
  self.class == o.class &&
75
- business_systems == o.business_systems
75
+ businessSystems == o.businessSystems
76
76
  end
77
77
 
78
78
  # @see the `==` method
@@ -84,7 +84,7 @@ module SmoochApi
84
84
  # Calculates hash code according to all attributes.
85
85
  # @return [Fixnum] Hash code
86
86
  def hash
87
- [business_systems].hash
87
+ [businessSystems].hash
88
88
  end
89
89
 
90
90
  # 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: 4.1
6
+ OpenAPI spec version: 4.2
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: 4.1
6
+ OpenAPI spec version: 4.2
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3-SNAPSHOT
@@ -19,13 +19,13 @@ module SmoochApi
19
19
  attr_accessor :type
20
20
 
21
21
  # A String of the appUser’s phone number. It must contain the + prefix and the country code. Required for *messenger*, *twilio* and *messagebird* linking.
22
- attr_accessor :phone_number
22
+ attr_accessor :phoneNumber
23
23
 
24
24
  # A String of the appUser’s email address. Required for *mailgun* linking.
25
25
  attr_accessor :address
26
26
 
27
27
  # A String of the appUser’s given name. Used as additional criteria to increase the likelihood of a match. (Optional) Used for *messenger* linking.
28
- attr_accessor :given_name
28
+ attr_accessor :givenName
29
29
 
30
30
  # A String of the appUser’s surname. Used as additional criteria to increase the likelihood of a match. (Optional) Used for *messenger* linking.
31
31
  attr_accessor :surname
@@ -41,9 +41,9 @@ module SmoochApi
41
41
  def self.attribute_map
42
42
  {
43
43
  :'type' => :'type',
44
- :'phone_number' => :'phoneNumber',
44
+ :'phoneNumber' => :'phoneNumber',
45
45
  :'address' => :'address',
46
- :'given_name' => :'givenName',
46
+ :'givenName' => :'givenName',
47
47
  :'surname' => :'surname',
48
48
  :'subject' => :'subject',
49
49
  :'confirmation' => :'confirmation'
@@ -54,9 +54,9 @@ module SmoochApi
54
54
  def self.swagger_types
55
55
  {
56
56
  :'type' => :'String',
57
- :'phone_number' => :'String',
57
+ :'phoneNumber' => :'String',
58
58
  :'address' => :'String',
59
- :'given_name' => :'String',
59
+ :'givenName' => :'String',
60
60
  :'surname' => :'String',
61
61
  :'subject' => :'String',
62
62
  :'confirmation' => :'Confirmation'
@@ -76,7 +76,7 @@ module SmoochApi
76
76
  end
77
77
 
78
78
  if attributes.has_key?(:'phoneNumber')
79
- self.phone_number = attributes[:'phoneNumber']
79
+ self.phoneNumber = attributes[:'phoneNumber']
80
80
  end
81
81
 
82
82
  if attributes.has_key?(:'address')
@@ -84,7 +84,7 @@ module SmoochApi
84
84
  end
85
85
 
86
86
  if attributes.has_key?(:'givenName')
87
- self.given_name = attributes[:'givenName']
87
+ self.givenName = attributes[:'givenName']
88
88
  end
89
89
 
90
90
  if attributes.has_key?(:'surname')
@@ -130,9 +130,9 @@ module SmoochApi
130
130
  return true if self.equal?(o)
131
131
  self.class == o.class &&
132
132
  type == o.type &&
133
- phone_number == o.phone_number &&
133
+ phoneNumber == o.phoneNumber &&
134
134
  address == o.address &&
135
- given_name == o.given_name &&
135
+ givenName == o.givenName &&
136
136
  surname == o.surname &&
137
137
  subject == o.subject &&
138
138
  confirmation == o.confirmation
@@ -147,7 +147,7 @@ module SmoochApi
147
147
  # Calculates hash code according to all attributes.
148
148
  # @return [Fixnum] Hash code
149
149
  def hash
150
- [type, phone_number, address, given_name, surname, subject, confirmation].hash
150
+ [type, phoneNumber, address, givenName, surname, subject, confirmation].hash
151
151
  end
152
152
 
153
153
  # 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: 4.1
6
+ OpenAPI spec version: 4.2
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3-SNAPSHOT
@@ -16,10 +16,10 @@ module SmoochApi
16
16
 
17
17
  class AppUserPreCreate
18
18
  # The app user's userId. This ID is specified by the appMaker.
19
- attr_accessor :user_id
19
+ attr_accessor :userId
20
20
 
21
21
  # The app user's given name.
22
- attr_accessor :given_name
22
+ attr_accessor :givenName
23
23
 
24
24
  # The app user's surname.
25
25
  attr_accessor :surname
@@ -28,7 +28,7 @@ module SmoochApi
28
28
  attr_accessor :email
29
29
 
30
30
  # A datetime string with the format *yyyy-mm-ddThh:mm:ssZ* representing the moment an appUser was created.
31
- attr_accessor :signed_up_at
31
+ attr_accessor :signedUpAt
32
32
 
33
33
  # Custom properties for the app user.
34
34
  attr_accessor :properties
@@ -37,11 +37,11 @@ module SmoochApi
37
37
  # Attribute mapping from ruby-style variable name to JSON key.
38
38
  def self.attribute_map
39
39
  {
40
- :'user_id' => :'userId',
41
- :'given_name' => :'givenName',
40
+ :'userId' => :'userId',
41
+ :'givenName' => :'givenName',
42
42
  :'surname' => :'surname',
43
43
  :'email' => :'email',
44
- :'signed_up_at' => :'signedUpAt',
44
+ :'signedUpAt' => :'signedUpAt',
45
45
  :'properties' => :'properties'
46
46
  }
47
47
  end
@@ -49,11 +49,11 @@ module SmoochApi
49
49
  # Attribute type mapping.
50
50
  def self.swagger_types
51
51
  {
52
- :'user_id' => :'String',
53
- :'given_name' => :'String',
52
+ :'userId' => :'String',
53
+ :'givenName' => :'String',
54
54
  :'surname' => :'String',
55
55
  :'email' => :'String',
56
- :'signed_up_at' => :'String',
56
+ :'signedUpAt' => :'String',
57
57
  :'properties' => :'Object'
58
58
  }
59
59
  end
@@ -67,11 +67,11 @@ module SmoochApi
67
67
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
68
68
 
69
69
  if attributes.has_key?(:'userId')
70
- self.user_id = attributes[:'userId']
70
+ self.userId = attributes[:'userId']
71
71
  end
72
72
 
73
73
  if attributes.has_key?(:'givenName')
74
- self.given_name = attributes[:'givenName']
74
+ self.givenName = attributes[:'givenName']
75
75
  end
76
76
 
77
77
  if attributes.has_key?(:'surname')
@@ -83,7 +83,7 @@ module SmoochApi
83
83
  end
84
84
 
85
85
  if attributes.has_key?(:'signedUpAt')
86
- self.signed_up_at = attributes[:'signedUpAt']
86
+ self.signedUpAt = attributes[:'signedUpAt']
87
87
  end
88
88
 
89
89
  if attributes.has_key?(:'properties')
@@ -96,8 +96,8 @@ module SmoochApi
96
96
  # @return Array for valid properies with the reasons
97
97
  def list_invalid_properties
98
98
  invalid_properties = Array.new
99
- if @user_id.nil?
100
- invalid_properties.push("invalid value for 'user_id', user_id cannot be nil.")
99
+ if @userId.nil?
100
+ invalid_properties.push("invalid value for 'userId', userId cannot be nil.")
101
101
  end
102
102
 
103
103
  return invalid_properties
@@ -106,7 +106,7 @@ module SmoochApi
106
106
  # Check to see if the all the properties in the model are valid
107
107
  # @return true if the model is valid
108
108
  def valid?
109
- return false if @user_id.nil?
109
+ return false if @userId.nil?
110
110
  return true
111
111
  end
112
112
 
@@ -115,11 +115,11 @@ module SmoochApi
115
115
  def ==(o)
116
116
  return true if self.equal?(o)
117
117
  self.class == o.class &&
118
- user_id == o.user_id &&
119
- given_name == o.given_name &&
118
+ userId == o.userId &&
119
+ givenName == o.givenName &&
120
120
  surname == o.surname &&
121
121
  email == o.email &&
122
- signed_up_at == o.signed_up_at &&
122
+ signedUpAt == o.signedUpAt &&
123
123
  properties == o.properties
124
124
  end
125
125
 
@@ -132,7 +132,7 @@ module SmoochApi
132
132
  # Calculates hash code according to all attributes.
133
133
  # @return [Fixnum] Hash code
134
134
  def hash
135
- [user_id, given_name, surname, email, signed_up_at, properties].hash
135
+ [userId, givenName, surname, email, signedUpAt, properties].hash
136
136
  end
137
137
 
138
138
  # 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: 4.1
6
+ OpenAPI spec version: 4.2
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3-SNAPSHOT
@@ -16,20 +16,20 @@ module SmoochApi
16
16
 
17
17
  class AppUserResponse
18
18
  # The app user.
19
- attr_accessor :app_user
19
+ attr_accessor :appUser
20
20
 
21
21
 
22
22
  # Attribute mapping from ruby-style variable name to JSON key.
23
23
  def self.attribute_map
24
24
  {
25
- :'app_user' => :'appUser'
25
+ :'appUser' => :'appUser'
26
26
  }
27
27
  end
28
28
 
29
29
  # Attribute type mapping.
30
30
  def self.swagger_types
31
31
  {
32
- :'app_user' => :'AppUser'
32
+ :'appUser' => :'AppUser'
33
33
  }
34
34
  end
35
35
 
@@ -42,7 +42,7 @@ module SmoochApi
42
42
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
43
43
 
44
44
  if attributes.has_key?(:'appUser')
45
- self.app_user = attributes[:'appUser']
45
+ self.appUser = attributes[:'appUser']
46
46
  end
47
47
 
48
48
  end
@@ -51,8 +51,8 @@ module SmoochApi
51
51
  # @return Array for valid properies with the reasons
52
52
  def list_invalid_properties
53
53
  invalid_properties = Array.new
54
- if @app_user.nil?
55
- invalid_properties.push("invalid value for 'app_user', app_user cannot be nil.")
54
+ if @appUser.nil?
55
+ invalid_properties.push("invalid value for 'appUser', appUser cannot be nil.")
56
56
  end
57
57
 
58
58
  return invalid_properties
@@ -61,7 +61,7 @@ module SmoochApi
61
61
  # Check to see if the all the properties in the model are valid
62
62
  # @return true if the model is valid
63
63
  def valid?
64
- return false if @app_user.nil?
64
+ return false if @appUser.nil?
65
65
  return true
66
66
  end
67
67
 
@@ -70,7 +70,7 @@ module SmoochApi
70
70
  def ==(o)
71
71
  return true if self.equal?(o)
72
72
  self.class == o.class &&
73
- app_user == o.app_user
73
+ appUser == o.appUser
74
74
  end
75
75
 
76
76
  # @see the `==` method
@@ -82,7 +82,7 @@ module SmoochApi
82
82
  # Calculates hash code according to all attributes.
83
83
  # @return [Fixnum] Hash code
84
84
  def hash
85
- [app_user].hash
85
+ [appUser].hash
86
86
  end
87
87
 
88
88
  # 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: 4.1
6
+ OpenAPI spec version: 4.2
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3-SNAPSHOT
@@ -16,7 +16,7 @@ module SmoochApi
16
16
 
17
17
  class AppUserUpdate
18
18
  # The app user's given name.
19
- attr_accessor :given_name
19
+ attr_accessor :givenName
20
20
 
21
21
  # The app user's surname.
22
22
  attr_accessor :surname
@@ -25,7 +25,7 @@ module SmoochApi
25
25
  attr_accessor :email
26
26
 
27
27
  # A datetime string with the format *yyyy-mm-ddThh:mm:ssZ* representing the moment an appUser was created.
28
- attr_accessor :signed_up_at
28
+ attr_accessor :signedUpAt
29
29
 
30
30
  # Custom properties for the app user.
31
31
  attr_accessor :properties
@@ -34,10 +34,10 @@ module SmoochApi
34
34
  # Attribute mapping from ruby-style variable name to JSON key.
35
35
  def self.attribute_map
36
36
  {
37
- :'given_name' => :'givenName',
37
+ :'givenName' => :'givenName',
38
38
  :'surname' => :'surname',
39
39
  :'email' => :'email',
40
- :'signed_up_at' => :'signedUpAt',
40
+ :'signedUpAt' => :'signedUpAt',
41
41
  :'properties' => :'properties'
42
42
  }
43
43
  end
@@ -45,10 +45,10 @@ module SmoochApi
45
45
  # Attribute type mapping.
46
46
  def self.swagger_types
47
47
  {
48
- :'given_name' => :'String',
48
+ :'givenName' => :'String',
49
49
  :'surname' => :'String',
50
50
  :'email' => :'String',
51
- :'signed_up_at' => :'String',
51
+ :'signedUpAt' => :'String',
52
52
  :'properties' => :'Object'
53
53
  }
54
54
  end
@@ -62,7 +62,7 @@ module SmoochApi
62
62
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
63
63
 
64
64
  if attributes.has_key?(:'givenName')
65
- self.given_name = attributes[:'givenName']
65
+ self.givenName = attributes[:'givenName']
66
66
  end
67
67
 
68
68
  if attributes.has_key?(:'surname')
@@ -74,7 +74,7 @@ module SmoochApi
74
74
  end
75
75
 
76
76
  if attributes.has_key?(:'signedUpAt')
77
- self.signed_up_at = attributes[:'signedUpAt']
77
+ self.signedUpAt = attributes[:'signedUpAt']
78
78
  end
79
79
 
80
80
  if attributes.has_key?(:'properties')
@@ -101,10 +101,10 @@ module SmoochApi
101
101
  def ==(o)
102
102
  return true if self.equal?(o)
103
103
  self.class == o.class &&
104
- given_name == o.given_name &&
104
+ givenName == o.givenName &&
105
105
  surname == o.surname &&
106
106
  email == o.email &&
107
- signed_up_at == o.signed_up_at &&
107
+ signedUpAt == o.signedUpAt &&
108
108
  properties == o.properties
109
109
  end
110
110
 
@@ -117,7 +117,7 @@ module SmoochApi
117
117
  # Calculates hash code according to all attributes.
118
118
  # @return [Fixnum] Hash code
119
119
  def hash
120
- [given_name, surname, email, signed_up_at, properties].hash
120
+ [givenName, surname, email, signedUpAt, properties].hash
121
121
  end
122
122
 
123
123
  # Builds the object from hash