purecloud 0.63.1 → 0.64.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (262) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  3. data/config-ruby.json +1 -1
  4. data/doc_out/ADFS.html.md +1 -1
  5. data/doc_out/AggregationQuery.html.md +1 -1
  6. data/doc_out/AnalyticsConversationSegment.html.md +3 -3
  7. data/doc_out/AnalyticsSession.html.md +2 -2
  8. data/doc_out/AttributesApi.html.md +29 -29
  9. data/doc_out/AuditMessage.html.md +1 -1
  10. data/doc_out/Call.html.md +4 -4
  11. data/doc_out/CallForwarding.html.md +1 -1
  12. data/doc_out/CallMediaParticipant.html.md +6 -6
  13. data/doc_out/Callback.html.md +2 -2
  14. data/doc_out/CallbackMediaParticipant.html.md +4 -4
  15. data/doc_out/Campaign.html.md +1 -1
  16. data/doc_out/CampaignInteraction.html.md +1 -1
  17. data/doc_out/CampaignRule.html.md +2 -2
  18. data/doc_out/CampaignRuleActionEntities.html.md +1 -1
  19. data/doc_out/CampaignSequence.html.md +1 -1
  20. data/doc_out/CertificateDetails.html.md +3 -3
  21. data/doc_out/ChatMediaParticipant.html.md +3 -3
  22. data/doc_out/CobrowseMediaParticipant.html.md +3 -3
  23. data/doc_out/Condition.html.md +1 -1
  24. data/doc_out/ContactSort.html.md +1 -1
  25. data/doc_out/ContentQueryRequest.html.md +1 -1
  26. data/doc_out/ContentSortItem.html.md +1 -1
  27. data/doc_out/ConversationChat.html.md +1 -1
  28. data/doc_out/ConversationsApi.html.md +58 -58
  29. data/doc_out/CustomerInteractionCenter.html.md +1 -1
  30. data/doc_out/DialerContact.html.md +1 -1
  31. data/doc_out/Document.html.md +1 -1
  32. data/doc_out/DocumentAudit.html.md +1 -1
  33. data/doc_out/DocumentUpdate.html.md +1 -1
  34. data/doc_out/DomainCapabilities.html.md +4 -4
  35. data/doc_out/DomainEdgeSoftwareUpdateDto.html.md +2 -2
  36. data/doc_out/DomainEdgeSoftwareVersionDto.html.md +2 -2
  37. data/doc_out/DomainLogicalInterface.html.md +3 -3
  38. data/doc_out/DomainNetworkAddress.html.md +1 -1
  39. data/doc_out/DomainNetworkCommandResponse.html.md +1 -1
  40. data/doc_out/DomainNetworkRoute.html.md +1 -1
  41. data/doc_out/DomainOrganizationRole.html.md +3 -3
  42. data/doc_out/DomainOrganizationRoleCreate.html.md +3 -3
  43. data/doc_out/DomainOrganizationRoleUpdate.html.md +3 -3
  44. data/doc_out/DomainPermission.html.md +1 -1
  45. data/doc_out/DomainPermissionPolicy.html.md +1 -1
  46. data/doc_out/DomainPhysicalCapabilities.html.md +2 -2
  47. data/doc_out/Edge.html.md +2 -2
  48. data/doc_out/EdgeAutoUpdateConfig.html.md +2 -2
  49. data/doc_out/EdgeGroup.html.md +1 -1
  50. data/doc_out/EdgeLogsJobRequest.html.md +1 -1
  51. data/doc_out/Email.html.md +1 -1
  52. data/doc_out/EmailMediaParticipant.html.md +3 -3
  53. data/doc_out/Endpoint.html.md +1 -1
  54. data/doc_out/Evaluation.html.md +4 -4
  55. data/doc_out/EvaluationForm.html.md +1 -1
  56. data/doc_out/EvaluationScoringSet.html.md +1 -1
  57. data/doc_out/FaxDocument.html.md +1 -1
  58. data/doc_out/FieldList.html.md +3 -3
  59. data/doc_out/Geolocation.html.md +1 -1
  60. data/doc_out/GeolocationSettings.html.md +1 -1
  61. data/doc_out/GreetingsApi.html.md +50 -50
  62. data/doc_out/Group.html.md +1 -1
  63. data/doc_out/GroupUpdate.html.md +1 -1
  64. data/doc_out/GroupsApi.html.md +68 -68
  65. data/doc_out/HeartBeatRule.html.md +2 -2
  66. data/doc_out/IdentityProviderApi.html.md +22 -22
  67. data/doc_out/InboundDomain.html.md +1 -1
  68. data/doc_out/InitiateScreenRecording.html.md +1 -1
  69. data/doc_out/InteractionStatsAlert.html.md +1 -1
  70. data/doc_out/InteractionStatsRule.html.md +2 -2
  71. data/doc_out/JsonNode.html.md +20 -20
  72. data/doc_out/LineStatus.html.md +1 -1
  73. data/doc_out/LocationDefinition.html.md +1 -1
  74. data/doc_out/MediaParticipantRequest.html.md +5 -5
  75. data/doc_out/MeteredEvaluationAssignment.html.md +1 -1
  76. data/doc_out/OAuthProvider.html.md +1 -1
  77. data/doc_out/Okta.html.md +1 -1
  78. data/doc_out/OneLogin.html.md +1 -1
  79. data/doc_out/OrgMediaUtilization.html.md +1 -1
  80. data/doc_out/Organization.html.md +1 -1
  81. data/doc_out/OrganizationPresence.html.md +2 -2
  82. data/doc_out/OutOfOffice.html.md +1 -1
  83. data/doc_out/OutboundRoute.html.md +2 -2
  84. data/doc_out/Parameter.html.md +1 -1
  85. data/doc_out/Participant.html.md +2 -2
  86. data/doc_out/PhoneCapabilities.html.md +5 -5
  87. data/doc_out/PhoneNumberStatus.html.md +1 -1
  88. data/doc_out/Policy.html.md +1 -1
  89. data/doc_out/PolicyActions.html.md +3 -3
  90. data/doc_out/PolicyCreate.html.md +1 -1
  91. data/doc_out/PresenceApi.html.md +33 -33
  92. data/doc_out/PureCloud.html.md +1 -1
  93. data/doc_out/QueryRequest.html.md +1 -1
  94. data/doc_out/QuestionGroup.html.md +4 -4
  95. data/doc_out/QuestionGroupScore.html.md +1 -1
  96. data/doc_out/QuestionScore.html.md +2 -2
  97. data/doc_out/QueueMember.html.md +1 -1
  98. data/doc_out/RecordingApi.html.md +70 -70
  99. data/doc_out/ReportSchedule.html.md +1 -1
  100. data/doc_out/ResourcePermissionPolicy.html.md +1 -1
  101. data/doc_out/RoutingStatusRule.html.md +2 -2
  102. data/doc_out/Salesforce.html.md +1 -1
  103. data/doc_out/Screenshare.html.md +1 -1
  104. data/doc_out/ScriptsApi.html.md +72 -72
  105. data/doc_out/Site.html.md +1 -1
  106. data/doc_out/SocialExpression.html.md +1 -1
  107. data/doc_out/SortItem.html.md +1 -1
  108. data/doc_out/TagValue.html.md +1 -1
  109. data/doc_out/TimeAllowed.html.md +1 -1
  110. data/doc_out/TimeOffRequest.html.md +2 -2
  111. data/doc_out/TimeOffRequestPatch.html.md +1 -1
  112. data/doc_out/TransferRequest.html.md +1 -1
  113. data/doc_out/Trunk.html.md +1 -1
  114. data/doc_out/TrunkBase.html.md +1 -1
  115. data/doc_out/UnreadStatus.html.md +1 -1
  116. data/doc_out/UserPresence.html.md +1 -1
  117. data/doc_out/UserPresenceRule.html.md +2 -2
  118. data/doc_out/UserQueue.html.md +1 -1
  119. data/doc_out/UserRecording.html.md +1 -1
  120. data/doc_out/UserRecordingsApi.html.md +47 -47
  121. data/doc_out/UserScheduleAdherence.html.md +1 -1
  122. data/doc_out/ValidateAddressResponse.html.md +1 -1
  123. data/doc_out/Video.html.md +3 -3
  124. data/doc_out/VoicemailGroupPolicy.html.md +2 -2
  125. data/doc_out/VoicemailMessage.html.md +2 -2
  126. data/doc_out/VoicemailOrganizationPolicy.html.md +4 -4
  127. data/doc_out/VoicemailUserPolicy.html.md +1 -1
  128. data/doc_out/Workspace.html.md +1 -1
  129. data/doc_out/Wrapup.html.md +1 -1
  130. data/doc_out/index.html.md +3 -3
  131. data/lib/purecloud/api/attributes_api.rb +39 -39
  132. data/lib/purecloud/api/conversations_api.rb +58 -58
  133. data/lib/purecloud/api/greetings_api.rb +67 -67
  134. data/lib/purecloud/api/groups_api.rb +104 -104
  135. data/lib/purecloud/api/identity_provider_api.rb +33 -33
  136. data/lib/purecloud/api/presence_api.rb +46 -46
  137. data/lib/purecloud/api/recording_api.rb +76 -76
  138. data/lib/purecloud/api/scripts_api.rb +87 -87
  139. data/lib/purecloud/api/user_recordings_api.rb +64 -64
  140. data/lib/purecloud/api_client.rb +1 -1
  141. data/lib/purecloud/models/adfs.rb +2 -0
  142. data/lib/purecloud/models/aggregation_query.rb +2 -0
  143. data/lib/purecloud/models/analytics_conversation_segment.rb +6 -0
  144. data/lib/purecloud/models/analytics_session.rb +4 -0
  145. data/lib/purecloud/models/audit_message.rb +2 -0
  146. data/lib/purecloud/models/call.rb +8 -0
  147. data/lib/purecloud/models/call_forwarding.rb +2 -0
  148. data/lib/purecloud/models/call_media_participant.rb +12 -0
  149. data/lib/purecloud/models/callback.rb +4 -0
  150. data/lib/purecloud/models/callback_media_participant.rb +8 -0
  151. data/lib/purecloud/models/campaign.rb +2 -0
  152. data/lib/purecloud/models/campaign_interaction.rb +2 -0
  153. data/lib/purecloud/models/campaign_rule.rb +4 -0
  154. data/lib/purecloud/models/campaign_rule_action_entities.rb +2 -0
  155. data/lib/purecloud/models/campaign_sequence.rb +2 -0
  156. data/lib/purecloud/models/certificate_details.rb +6 -0
  157. data/lib/purecloud/models/chat_media_participant.rb +6 -0
  158. data/lib/purecloud/models/cobrowse_media_participant.rb +6 -0
  159. data/lib/purecloud/models/condition.rb +2 -0
  160. data/lib/purecloud/models/contact_sort.rb +2 -0
  161. data/lib/purecloud/models/content_query_request.rb +2 -0
  162. data/lib/purecloud/models/content_sort_item.rb +2 -0
  163. data/lib/purecloud/models/conversation_chat.rb +2 -0
  164. data/lib/purecloud/models/customer_interaction_center.rb +2 -0
  165. data/lib/purecloud/models/dialer_contact.rb +2 -0
  166. data/lib/purecloud/models/document.rb +2 -0
  167. data/lib/purecloud/models/document_audit.rb +2 -0
  168. data/lib/purecloud/models/document_update.rb +2 -0
  169. data/lib/purecloud/models/domain_capabilities.rb +8 -0
  170. data/lib/purecloud/models/domain_edge_software_update_dto.rb +4 -0
  171. data/lib/purecloud/models/domain_edge_software_version_dto.rb +4 -0
  172. data/lib/purecloud/models/domain_logical_interface.rb +6 -0
  173. data/lib/purecloud/models/domain_network_address.rb +2 -0
  174. data/lib/purecloud/models/domain_network_command_response.rb +2 -0
  175. data/lib/purecloud/models/domain_network_route.rb +2 -0
  176. data/lib/purecloud/models/domain_organization_role.rb +17 -11
  177. data/lib/purecloud/models/domain_organization_role_create.rb +17 -11
  178. data/lib/purecloud/models/domain_organization_role_update.rb +17 -11
  179. data/lib/purecloud/models/domain_permission.rb +2 -0
  180. data/lib/purecloud/models/domain_permission_policy.rb +2 -0
  181. data/lib/purecloud/models/domain_physical_capabilities.rb +4 -0
  182. data/lib/purecloud/models/edge.rb +4 -0
  183. data/lib/purecloud/models/edge_auto_update_config.rb +4 -4
  184. data/lib/purecloud/models/edge_group.rb +2 -0
  185. data/lib/purecloud/models/edge_logs_job_request.rb +2 -0
  186. data/lib/purecloud/models/email.rb +2 -0
  187. data/lib/purecloud/models/email_media_participant.rb +6 -0
  188. data/lib/purecloud/models/endpoint.rb +2 -0
  189. data/lib/purecloud/models/evaluation.rb +8 -0
  190. data/lib/purecloud/models/evaluation_form.rb +2 -0
  191. data/lib/purecloud/models/evaluation_scoring_set.rb +2 -0
  192. data/lib/purecloud/models/fax_document.rb +2 -0
  193. data/lib/purecloud/models/field_list.rb +6 -0
  194. data/lib/purecloud/models/geolocation.rb +2 -0
  195. data/lib/purecloud/models/geolocation_settings.rb +2 -0
  196. data/lib/purecloud/models/group.rb +2 -0
  197. data/lib/purecloud/models/group_update.rb +2 -0
  198. data/lib/purecloud/models/heart_beat_rule.rb +4 -0
  199. data/lib/purecloud/models/inbound_domain.rb +2 -0
  200. data/lib/purecloud/models/initiate_screen_recording.rb +2 -0
  201. data/lib/purecloud/models/interaction_stats_alert.rb +2 -0
  202. data/lib/purecloud/models/interaction_stats_rule.rb +4 -0
  203. data/lib/purecloud/models/json_node.rb +64 -24
  204. data/lib/purecloud/models/line_status.rb +2 -0
  205. data/lib/purecloud/models/location_definition.rb +2 -0
  206. data/lib/purecloud/models/media_participant_request.rb +10 -0
  207. data/lib/purecloud/models/metered_evaluation_assignment.rb +2 -0
  208. data/lib/purecloud/models/o_auth_provider.rb +2 -0
  209. data/lib/purecloud/models/okta.rb +2 -0
  210. data/lib/purecloud/models/one_login.rb +2 -0
  211. data/lib/purecloud/models/org_media_utilization.rb +2 -0
  212. data/lib/purecloud/models/organization.rb +2 -0
  213. data/lib/purecloud/models/organization_presence.rb +4 -0
  214. data/lib/purecloud/models/out_of_office.rb +2 -0
  215. data/lib/purecloud/models/outbound_route.rb +4 -0
  216. data/lib/purecloud/models/parameter.rb +2 -0
  217. data/lib/purecloud/models/participant.rb +4 -0
  218. data/lib/purecloud/models/phone_capabilities.rb +10 -0
  219. data/lib/purecloud/models/phone_number_status.rb +2 -0
  220. data/lib/purecloud/models/policy.rb +2 -0
  221. data/lib/purecloud/models/policy_actions.rb +6 -0
  222. data/lib/purecloud/models/policy_create.rb +2 -0
  223. data/lib/purecloud/models/pure_cloud.rb +2 -0
  224. data/lib/purecloud/models/query_request.rb +2 -0
  225. data/lib/purecloud/models/question_group.rb +8 -0
  226. data/lib/purecloud/models/question_group_score.rb +2 -0
  227. data/lib/purecloud/models/question_score.rb +4 -0
  228. data/lib/purecloud/models/queue_member.rb +2 -0
  229. data/lib/purecloud/models/report_schedule.rb +2 -0
  230. data/lib/purecloud/models/resource_permission_policy.rb +2 -0
  231. data/lib/purecloud/models/routing_status_rule.rb +4 -0
  232. data/lib/purecloud/models/salesforce.rb +2 -0
  233. data/lib/purecloud/models/screenshare.rb +2 -0
  234. data/lib/purecloud/models/site.rb +2 -0
  235. data/lib/purecloud/models/social_expression.rb +2 -0
  236. data/lib/purecloud/models/sort_item.rb +2 -0
  237. data/lib/purecloud/models/tag_value.rb +2 -0
  238. data/lib/purecloud/models/time_allowed.rb +2 -0
  239. data/lib/purecloud/models/time_off_request.rb +4 -0
  240. data/lib/purecloud/models/time_off_request_patch.rb +2 -0
  241. data/lib/purecloud/models/transfer_request.rb +2 -0
  242. data/lib/purecloud/models/trunk.rb +2 -0
  243. data/lib/purecloud/models/trunk_base.rb +2 -0
  244. data/lib/purecloud/models/unread_status.rb +2 -0
  245. data/lib/purecloud/models/user_presence.rb +2 -0
  246. data/lib/purecloud/models/user_presence_rule.rb +4 -0
  247. data/lib/purecloud/models/user_queue.rb +2 -0
  248. data/lib/purecloud/models/user_recording.rb +2 -0
  249. data/lib/purecloud/models/user_schedule_adherence.rb +2 -0
  250. data/lib/purecloud/models/validate_address_response.rb +2 -0
  251. data/lib/purecloud/models/video.rb +6 -0
  252. data/lib/purecloud/models/voicemail_group_policy.rb +4 -0
  253. data/lib/purecloud/models/voicemail_message.rb +4 -0
  254. data/lib/purecloud/models/voicemail_organization_policy.rb +8 -0
  255. data/lib/purecloud/models/voicemail_user_policy.rb +2 -0
  256. data/lib/purecloud/models/workspace.rb +2 -0
  257. data/lib/purecloud/models/wrapup.rb +2 -0
  258. data/lib/purecloud/version.rb +1 -1
  259. data/newVersion.md +1 -1
  260. data/swagger.json +1 -1
  261. data/version.json +1 -1
  262. metadata +2 -2
@@ -132,6 +132,8 @@ module PureCloud
132
132
 
133
133
  if attributes[:'held']
134
134
  self.held = attributes[:'held']
135
+ else
136
+ self.held = false
135
137
  end
136
138
 
137
139
  if attributes[:'subject']
@@ -241,10 +241,14 @@ module PureCloud
241
241
 
242
242
  if attributes[:'held']
243
243
  self.held = attributes[:'held']
244
+ else
245
+ self.held = false
244
246
  end
245
247
 
246
248
  if attributes[:'wrapupRequired']
247
249
  self.wrapup_required = attributes[:'wrapupRequired']
250
+ else
251
+ self.wrapup_required = false
248
252
  end
249
253
 
250
254
  if attributes[:'wrapupPrompt']
@@ -279,6 +283,8 @@ module PureCloud
279
283
 
280
284
  if attributes[:'wrapupSkipped']
281
285
  self.wrapup_skipped = attributes[:'wrapupSkipped']
286
+ else
287
+ self.wrapup_skipped = false
282
288
  end
283
289
 
284
290
  if attributes[:'provider']
@@ -195,6 +195,8 @@ module PureCloud
195
195
 
196
196
  if attributes[:'enabled']
197
197
  self.enabled = attributes[:'enabled']
198
+ else
199
+ self.enabled = false
198
200
  end
199
201
 
200
202
  if attributes[:'site']
@@ -187,6 +187,8 @@ module PureCloud
187
187
 
188
188
  if attributes[:'agentHasRead']
189
189
  self.agent_has_read = attributes[:'agentHasRead']
190
+ else
191
+ self.agent_has_read = false
190
192
  end
191
193
 
192
194
  if attributes[:'releaseDate']
@@ -207,6 +209,8 @@ module PureCloud
207
209
 
208
210
  if attributes[:'neverRelease']
209
211
  self.never_release = attributes[:'neverRelease']
212
+ else
213
+ self.never_release = false
210
214
  end
211
215
 
212
216
  if attributes[:'resourceId']
@@ -219,10 +223,14 @@ module PureCloud
219
223
 
220
224
  if attributes[:'redacted']
221
225
  self.redacted = attributes[:'redacted']
226
+ else
227
+ self.redacted = false
222
228
  end
223
229
 
224
230
  if attributes[:'isScoringIndex']
225
231
  self.is_scoring_index = attributes[:'isScoringIndex']
232
+ else
233
+ self.is_scoring_index = false
226
234
  end
227
235
 
228
236
  if attributes[:'selfUri']
@@ -108,6 +108,8 @@ module PureCloud
108
108
 
109
109
  if attributes[:'published']
110
110
  self.published = attributes[:'published']
111
+ else
112
+ self.published = false
111
113
  end
112
114
 
113
115
  if attributes[:'contextId']
@@ -85,6 +85,8 @@ module PureCloud
85
85
 
86
86
  if attributes[:'anyFailedKillQuestions']
87
87
  self.any_failed_kill_questions = attributes[:'anyFailedKillQuestions']
88
+ else
89
+ self.any_failed_kill_questions = false
88
90
  end
89
91
 
90
92
  if attributes[:'comments']
@@ -175,6 +175,8 @@ module PureCloud
175
175
 
176
176
  if attributes[:'read']
177
177
  self.read = attributes[:'read']
178
+ else
179
+ self.read = false
178
180
  end
179
181
 
180
182
  if attributes[:'pageCount']
@@ -86,6 +86,8 @@ module PureCloud
86
86
 
87
87
  if attributes[:'customLabels']
88
88
  self.custom_labels = attributes[:'customLabels']
89
+ else
90
+ self.custom_labels = false
89
91
  end
90
92
 
91
93
  if attributes[:'instructionText']
@@ -110,6 +112,8 @@ module PureCloud
110
112
 
111
113
  if attributes[:'repeatable']
112
114
  self.repeatable = attributes[:'repeatable']
115
+ else
116
+ self.repeatable = false
113
117
  end
114
118
 
115
119
  if attributes[:'state']
@@ -122,6 +126,8 @@ module PureCloud
122
126
 
123
127
  if attributes[:'required']
124
128
  self.required = attributes[:'required']
129
+ else
130
+ self.required = false
125
131
  end
126
132
 
127
133
  end
@@ -107,6 +107,8 @@ module PureCloud
107
107
 
108
108
  if attributes[:'primary']
109
109
  self.primary = attributes[:'primary']
110
+ else
111
+ self.primary = false
110
112
  end
111
113
 
112
114
  if attributes[:'latitude']
@@ -76,6 +76,8 @@ module PureCloud
76
76
 
77
77
  if attributes[:'enabled']
78
78
  self.enabled = attributes[:'enabled']
79
+ else
80
+ self.enabled = false
79
81
  end
80
82
 
81
83
  if attributes[:'mapboxKey']
@@ -160,6 +160,8 @@ module PureCloud
160
160
 
161
161
  if attributes[:'rulesVisible']
162
162
  self.rules_visible = attributes[:'rulesVisible']
163
+ else
164
+ self.rules_visible = false
163
165
  end
164
166
 
165
167
  if attributes[:'visibility']
@@ -130,6 +130,8 @@ module PureCloud
130
130
 
131
131
  if attributes[:'rulesVisible']
132
132
  self.rules_visible = attributes[:'rulesVisible']
133
+ else
134
+ self.rules_visible = false
133
135
  end
134
136
 
135
137
  if attributes[:'visibility']
@@ -117,10 +117,14 @@ module PureCloud
117
117
 
118
118
  if attributes[:'enabled']
119
119
  self.enabled = attributes[:'enabled']
120
+ else
121
+ self.enabled = false
120
122
  end
121
123
 
122
124
  if attributes[:'inAlarm']
123
125
  self.in_alarm = attributes[:'inAlarm']
126
+ else
127
+ self.in_alarm = false
124
128
  end
125
129
 
126
130
  if attributes[:'notificationUsers']
@@ -82,6 +82,8 @@ module PureCloud
82
82
 
83
83
  if attributes[:'subDomain']
84
84
  self.sub_domain = attributes[:'subDomain']
85
+ else
86
+ self.sub_domain = false
85
87
  end
86
88
 
87
89
  if attributes[:'selfUri']
@@ -56,6 +56,8 @@ module PureCloud
56
56
 
57
57
  if attributes[:'recordACW']
58
58
  self.record_acw = attributes[:'recordACW']
59
+ else
60
+ self.record_acw = false
59
61
  end
60
62
 
61
63
  if attributes[:'archiveRetention']
@@ -182,6 +182,8 @@ module PureCloud
182
182
 
183
183
  if attributes[:'unread']
184
184
  self.unread = attributes[:'unread']
185
+ else
186
+ self.unread = false
185
187
  end
186
188
 
187
189
  if attributes[:'startDate']
@@ -161,10 +161,14 @@ module PureCloud
161
161
 
162
162
  if attributes[:'enabled']
163
163
  self.enabled = attributes[:'enabled']
164
+ else
165
+ self.enabled = false
164
166
  end
165
167
 
166
168
  if attributes[:'inAlarm']
167
169
  self.in_alarm = attributes[:'inAlarm']
170
+ else
171
+ self.in_alarm = false
168
172
  end
169
173
 
170
174
  if attributes[:'notificationUsers']
@@ -18,10 +18,6 @@ require 'date'
18
18
 
19
19
  module PureCloud
20
20
  class JsonNode
21
- attr_accessor :array
22
-
23
- attr_accessor :null
24
-
25
21
  attr_accessor :node_type
26
22
 
27
23
  attr_accessor :object
@@ -60,14 +56,14 @@ module PureCloud
60
56
 
61
57
  attr_accessor :binary
62
58
 
59
+ attr_accessor :array
60
+
61
+ attr_accessor :null
62
+
63
63
  # Attribute mapping from ruby-style variable name to JSON key.
64
64
  def self.attribute_map
65
65
  {
66
66
 
67
- :'array' => :'array',
68
-
69
- :'null' => :'null',
70
-
71
67
  :'node_type' => :'nodeType',
72
68
 
73
69
  :'object' => :'object',
@@ -104,7 +100,11 @@ module PureCloud
104
100
 
105
101
  :'textual' => :'textual',
106
102
 
107
- :'binary' => :'binary'
103
+ :'binary' => :'binary',
104
+
105
+ :'array' => :'array',
106
+
107
+ :'null' => :'null'
108
108
 
109
109
  }
110
110
  end
@@ -112,8 +112,6 @@ module PureCloud
112
112
  # Attribute type mapping.
113
113
  def self.swagger_types
114
114
  {
115
- :'array' => :'BOOLEAN',
116
- :'null' => :'BOOLEAN',
117
115
  :'node_type' => :'String',
118
116
  :'object' => :'BOOLEAN',
119
117
  :'boolean' => :'BOOLEAN',
@@ -132,7 +130,9 @@ module PureCloud
132
130
  :'big_decimal' => :'BOOLEAN',
133
131
  :'big_integer' => :'BOOLEAN',
134
132
  :'textual' => :'BOOLEAN',
135
- :'binary' => :'BOOLEAN'
133
+ :'binary' => :'BOOLEAN',
134
+ :'array' => :'BOOLEAN',
135
+ :'null' => :'BOOLEAN'
136
136
 
137
137
  }
138
138
  end
@@ -144,88 +144,128 @@ module PureCloud
144
144
  attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
145
145
 
146
146
 
147
- if attributes[:'array']
148
- self.array = attributes[:'array']
149
- end
150
-
151
- if attributes[:'null']
152
- self.null = attributes[:'null']
153
- end
154
-
155
147
  if attributes[:'nodeType']
156
148
  self.node_type = attributes[:'nodeType']
157
149
  end
158
150
 
159
151
  if attributes[:'object']
160
152
  self.object = attributes[:'object']
153
+ else
154
+ self.object = false
161
155
  end
162
156
 
163
157
  if attributes[:'boolean']
164
158
  self.boolean = attributes[:'boolean']
159
+ else
160
+ self.boolean = false
165
161
  end
166
162
 
167
163
  if attributes[:'number']
168
164
  self.number = attributes[:'number']
165
+ else
166
+ self.number = false
169
167
  end
170
168
 
171
169
  if attributes[:'float']
172
170
  self.float = attributes[:'float']
171
+ else
172
+ self.float = false
173
173
  end
174
174
 
175
175
  if attributes[:'valueNode']
176
176
  self.value_node = attributes[:'valueNode']
177
+ else
178
+ self.value_node = false
177
179
  end
178
180
 
179
181
  if attributes[:'containerNode']
180
182
  self.container_node = attributes[:'containerNode']
183
+ else
184
+ self.container_node = false
181
185
  end
182
186
 
183
187
  if attributes[:'missingNode']
184
188
  self.missing_node = attributes[:'missingNode']
189
+ else
190
+ self.missing_node = false
185
191
  end
186
192
 
187
193
  if attributes[:'pojo']
188
194
  self.pojo = attributes[:'pojo']
195
+ else
196
+ self.pojo = false
189
197
  end
190
198
 
191
199
  if attributes[:'integralNumber']
192
200
  self.integral_number = attributes[:'integralNumber']
201
+ else
202
+ self.integral_number = false
193
203
  end
194
204
 
195
205
  if attributes[:'floatingPointNumber']
196
206
  self.floating_point_number = attributes[:'floatingPointNumber']
207
+ else
208
+ self.floating_point_number = false
197
209
  end
198
210
 
199
211
  if attributes[:'short']
200
212
  self.short = attributes[:'short']
213
+ else
214
+ self.short = false
201
215
  end
202
216
 
203
217
  if attributes[:'int']
204
218
  self.int = attributes[:'int']
219
+ else
220
+ self.int = false
205
221
  end
206
222
 
207
223
  if attributes[:'long']
208
224
  self.long = attributes[:'long']
225
+ else
226
+ self.long = false
209
227
  end
210
228
 
211
229
  if attributes[:'double']
212
230
  self.double = attributes[:'double']
231
+ else
232
+ self.double = false
213
233
  end
214
234
 
215
235
  if attributes[:'bigDecimal']
216
236
  self.big_decimal = attributes[:'bigDecimal']
237
+ else
238
+ self.big_decimal = false
217
239
  end
218
240
 
219
241
  if attributes[:'bigInteger']
220
242
  self.big_integer = attributes[:'bigInteger']
243
+ else
244
+ self.big_integer = false
221
245
  end
222
246
 
223
247
  if attributes[:'textual']
224
248
  self.textual = attributes[:'textual']
249
+ else
250
+ self.textual = false
225
251
  end
226
252
 
227
253
  if attributes[:'binary']
228
254
  self.binary = attributes[:'binary']
255
+ else
256
+ self.binary = false
257
+ end
258
+
259
+ if attributes[:'array']
260
+ self.array = attributes[:'array']
261
+ else
262
+ self.array = false
263
+ end
264
+
265
+ if attributes[:'null']
266
+ self.null = attributes[:'null']
267
+ else
268
+ self.null = false
229
269
  end
230
270
 
231
271
  end
@@ -243,8 +283,6 @@ module PureCloud
243
283
  def ==(o)
244
284
  return true if self.equal?(o)
245
285
  self.class == o.class &&
246
- array == o.array &&
247
- null == o.null &&
248
286
  node_type == o.node_type &&
249
287
  object == o.object &&
250
288
  boolean == o.boolean &&
@@ -263,7 +301,9 @@ module PureCloud
263
301
  big_decimal == o.big_decimal &&
264
302
  big_integer == o.big_integer &&
265
303
  textual == o.textual &&
266
- binary == o.binary
304
+ binary == o.binary &&
305
+ array == o.array &&
306
+ null == o.null
267
307
  end
268
308
 
269
309
  # @see the `==` method
@@ -273,7 +313,7 @@ module PureCloud
273
313
 
274
314
  # Calculate hash code according to all attributes.
275
315
  def hash
276
- [array, null, node_type, object, boolean, number, float, value_node, container_node, missing_node, pojo, integral_number, floating_point_number, short, int, long, double, big_decimal, big_integer, textual, binary].hash
316
+ [node_type, object, boolean, number, float, value_node, container_node, missing_node, pojo, integral_number, floating_point_number, short, int, long, double, big_decimal, big_integer, textual, binary, array, null].hash
277
317
  end
278
318
 
279
319
  # build the object from hash