purecloud 0.40.1 → 0.41.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (123) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  3. data/config-ruby.json +1 -1
  4. data/doc_out/AdditionalInfo.html.md +12 -0
  5. data/doc_out/{Entity.html.md → AuthzPerm.html.md} +3 -5
  6. data/doc_out/AuthzPermissionContext.html.md +1 -1
  7. data/doc_out/CallableTimeSet.html.md +1 -1
  8. data/doc_out/Callback.html.md +1 -0
  9. data/doc_out/CallbackIdentifier.html.md +14 -0
  10. data/doc_out/CallbackMediaParticipant.html.md +1 -0
  11. data/doc_out/ContentManagementApi.html.md +51 -0
  12. data/doc_out/ConversationsApi.html.md +120 -0
  13. data/doc_out/CreateCallbackCommand.html.md +2 -0
  14. data/doc_out/CreateCallbackResponse.html.md +14 -0
  15. data/doc_out/Dependency.html.md +1 -0
  16. data/doc_out/DependencyObject.html.md +1 -0
  17. data/doc_out/DomainEdgeSoftwareVersionDto.html.md +1 -1
  18. data/doc_out/GroupSearchCriteria.html.md +20 -0
  19. data/doc_out/GroupSearchRequest.html.md +19 -0
  20. data/doc_out/GroupsApi.html.md +2 -2
  21. data/doc_out/GroupsSearchResponse.html.md +1 -0
  22. data/doc_out/Integration.html.md +20 -0
  23. data/doc_out/IntegrationConfiguration.html.md +20 -0
  24. data/doc_out/{DeletedResourceConsumerEntityListing.html.md → IntegrationEntityListing.html.md} +3 -3
  25. data/doc_out/IntegrationStatusInfo.html.md +16 -0
  26. data/doc_out/IntegrationType.html.md +5 -3
  27. data/doc_out/JsonNode.html.md +1 -1
  28. data/doc_out/JsonNodeSearchResponse.html.md +1 -0
  29. data/doc_out/LocationSearchCriteria.html.md +20 -0
  30. data/doc_out/LocationSearchRequest.html.md +19 -0
  31. data/doc_out/LocationsApi.html.md +6 -6
  32. data/doc_out/LocationsSearchResponse.html.md +22 -0
  33. data/doc_out/NumberOrder.html.md +27 -0
  34. data/doc_out/PortBillingAddress.html.md +17 -0
  35. data/doc_out/PortContact.html.md +14 -0
  36. data/doc_out/PresenceApi.html.md +1 -1
  37. data/doc_out/QualityAudit.html.md +1 -1
  38. data/doc_out/RecordingApi.html.md +4 -2
  39. data/doc_out/ResponseSet.html.md +1 -1
  40. data/doc_out/RoutingData.html.md +17 -0
  41. data/doc_out/RuleSet.html.md +1 -1
  42. data/doc_out/SearchAggregation.html.md +3 -0
  43. data/doc_out/SearchApi.html.md +12 -12
  44. data/doc_out/SearchCriteria.html.md +1 -1
  45. data/doc_out/SearchRequest.html.md +3 -3
  46. data/doc_out/SuggestApi.html.md +2 -2
  47. data/doc_out/SuggestSearchCriteria.html.md +19 -0
  48. data/doc_out/SuggestSearchRequest.html.md +14 -0
  49. data/doc_out/Usage.html.md +13 -0
  50. data/doc_out/UsageItem.html.md +15 -0
  51. data/doc_out/UserSearchCriteria.html.md +20 -0
  52. data/doc_out/UserSearchRequest.html.md +19 -0
  53. data/doc_out/UsersApi.html.md +2 -120
  54. data/doc_out/UsersSearchResponse.html.md +1 -0
  55. data/doc_out/VoicemailMessageEntityListing.html.md +0 -7
  56. data/doc_out/Workspace.html.md +1 -0
  57. data/doc_out/WorkspaceCreate.html.md +1 -0
  58. data/doc_out/WorkspaceSummary.html.md +1 -0
  59. data/doc_out/index.html.md +3 -3
  60. data/lib/purecloud/api/content_management_api.rb +55 -0
  61. data/lib/purecloud/api/conversations_api.rb +121 -0
  62. data/lib/purecloud/api/groups_api.rb +6 -6
  63. data/lib/purecloud/api/languages_api.rb +2 -2
  64. data/lib/purecloud/api/locations_api.rb +8 -8
  65. data/lib/purecloud/api/presence_api.rb +2 -2
  66. data/lib/purecloud/api/recording_api.rb +5 -2
  67. data/lib/purecloud/api/routing_api.rb +2 -2
  68. data/lib/purecloud/api/search_api.rb +14 -14
  69. data/lib/purecloud/api/suggest_api.rb +2 -2
  70. data/lib/purecloud/api/users_api.rb +6 -128
  71. data/lib/purecloud/api_client.rb +1 -1
  72. data/lib/purecloud/models/additional_info.rb +155 -0
  73. data/lib/purecloud/models/authz_perm.rb +177 -0
  74. data/lib/purecloud/models/authz_permission_context.rb +7 -7
  75. data/lib/purecloud/models/callback.rb +15 -4
  76. data/lib/purecloud/models/{entity.rb → callback_identifier.rb} +15 -24
  77. data/lib/purecloud/models/callback_media_participant.rb +15 -4
  78. data/lib/purecloud/models/contact.rb +1 -1
  79. data/lib/purecloud/models/create_callback_command.rb +24 -4
  80. data/lib/purecloud/models/create_callback_response.rb +179 -0
  81. data/lib/purecloud/models/dependency.rb +13 -1
  82. data/lib/purecloud/models/dependency_object.rb +13 -1
  83. data/lib/purecloud/models/domain_edge_software_version_dto.rb +13 -13
  84. data/lib/purecloud/models/group_search_criteria.rb +260 -0
  85. data/lib/purecloud/models/group_search_request.rb +240 -0
  86. data/lib/purecloud/models/groups_search_response.rb +16 -4
  87. data/lib/purecloud/models/integration.rb +252 -0
  88. data/lib/purecloud/models/integration_configuration.rb +243 -0
  89. data/lib/purecloud/models/{deleted_resource_consumer_entity_listing.rb → integration_entity_listing.rb} +2 -2
  90. data/lib/purecloud/models/integration_status_info.rb +209 -0
  91. data/lib/purecloud/models/integration_type.rb +27 -1
  92. data/lib/purecloud/models/json_node.rb +13 -13
  93. data/lib/purecloud/models/json_node_search_response.rb +14 -4
  94. data/lib/purecloud/models/location_search_criteria.rb +260 -0
  95. data/lib/purecloud/models/location_search_request.rb +240 -0
  96. data/lib/purecloud/models/locations_search_response.rb +261 -0
  97. data/lib/purecloud/models/number_order.rb +339 -0
  98. data/lib/purecloud/models/number_order_request.rb +1 -1
  99. data/lib/purecloud/models/port_billing_address.rb +205 -0
  100. data/lib/purecloud/models/port_contact.rb +175 -0
  101. data/lib/purecloud/models/quality_audit.rb +1 -1
  102. data/lib/purecloud/models/reservation.rb +1 -1
  103. data/lib/purecloud/models/routing_data.rb +209 -0
  104. data/lib/purecloud/models/search_aggregation.rb +37 -5
  105. data/lib/purecloud/models/search_criteria.rb +22 -22
  106. data/lib/purecloud/models/search_request.rb +40 -39
  107. data/lib/purecloud/models/suggest_search_criteria.rb +240 -0
  108. data/lib/purecloud/models/suggest_search_request.rb +180 -0
  109. data/lib/purecloud/models/usage.rb +167 -0
  110. data/lib/purecloud/models/usage_item.rb +194 -0
  111. data/lib/purecloud/models/user_search_criteria.rb +260 -0
  112. data/lib/purecloud/models/user_search_request.rb +240 -0
  113. data/lib/purecloud/models/users_search_response.rb +16 -4
  114. data/lib/purecloud/models/voicemail_message_entity_listing.rb +4 -74
  115. data/lib/purecloud/models/workspace.rb +11 -1
  116. data/lib/purecloud/models/workspace_create.rb +14 -4
  117. data/lib/purecloud/models/workspace_summary.rb +14 -4
  118. data/lib/purecloud/version.rb +1 -1
  119. data/lib/purecloud.rb +23 -2
  120. data/newVersion.md +1 -1
  121. data/swagger.json +1 -1
  122. data/version.json +1 -1
  123. metadata +48 -6
@@ -17,26 +17,20 @@ Terms of Service: https://developer.mypurecloud.com/tos
17
17
  require 'date'
18
18
 
19
19
  module PureCloud
20
- class Entity
20
+ class CallbackIdentifier
21
+ # The type of the associated callback participant
21
22
  attr_accessor :type
22
23
 
24
+ # The identifier of the callback
23
25
  attr_accessor :id
24
26
 
25
- attr_accessor :name
26
-
27
- attr_accessor :self_uri
28
-
29
27
  # Attribute mapping from ruby-style variable name to JSON key.
30
28
  def self.attribute_map
31
29
  {
32
30
 
33
31
  :'type' => :'type',
34
32
 
35
- :'id' => :'id',
36
-
37
- :'name' => :'name',
38
-
39
- :'self_uri' => :'selfUri'
33
+ :'id' => :'id'
40
34
 
41
35
  }
42
36
  end
@@ -45,9 +39,7 @@ module PureCloud
45
39
  def self.swagger_types
46
40
  {
47
41
  :'type' => :'String',
48
- :'id' => :'String',
49
- :'name' => :'String',
50
- :'self_uri' => :'String'
42
+ :'id' => :'String'
51
43
 
52
44
  }
53
45
  end
@@ -67,14 +59,15 @@ module PureCloud
67
59
  self.id = attributes[:'id']
68
60
  end
69
61
 
70
- if attributes[:'name']
71
- self.name = attributes[:'name']
72
- end
73
-
74
- if attributes[:'selfUri']
75
- self.self_uri = attributes[:'selfUri']
62
+ end
63
+
64
+ # Custom attribute writer method checking allowed values (enum).
65
+ def type=(type)
66
+ allowed_values = ["ACD", "EXTERNAL"]
67
+ if type && !allowed_values.include?(type)
68
+ fail "invalid value for 'type', must be one of #{allowed_values}"
76
69
  end
77
-
70
+ @type = type
78
71
  end
79
72
 
80
73
  # Check equality by comparing each attribute.
@@ -82,9 +75,7 @@ module PureCloud
82
75
  return true if self.equal?(o)
83
76
  self.class == o.class &&
84
77
  type == o.type &&
85
- id == o.id &&
86
- name == o.name &&
87
- self_uri == o.self_uri
78
+ id == o.id
88
79
  end
89
80
 
90
81
  # @see the `==` method
@@ -94,7 +85,7 @@ module PureCloud
94
85
 
95
86
  # Calculate hash code according to all attributes.
96
87
  def hash
97
- [type, id, name, self_uri].hash
88
+ [type, id].hash
98
89
  end
99
90
 
100
91
  # build the object from hash
@@ -91,6 +91,9 @@ module PureCloud
91
91
 
92
92
  attr_accessor :timeout_seconds
93
93
 
94
+ # Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
95
+ attr_accessor :callback_scheduled_time
96
+
94
97
  # Attribute mapping from ruby-style variable name to JSON key.
95
98
  def self.attribute_map
96
99
  {
@@ -145,7 +148,9 @@ module PureCloud
145
148
 
146
149
  :'skip_enabled' => :'skipEnabled',
147
150
 
148
- :'timeout_seconds' => :'timeoutSeconds'
151
+ :'timeout_seconds' => :'timeoutSeconds',
152
+
153
+ :'callback_scheduled_time' => :'callbackScheduledTime'
149
154
 
150
155
  }
151
156
  end
@@ -178,7 +183,8 @@ module PureCloud
178
183
  :'callback_numbers' => :'Array<String>',
179
184
  :'callback_user_name' => :'String',
180
185
  :'skip_enabled' => :'BOOLEAN',
181
- :'timeout_seconds' => :'Integer'
186
+ :'timeout_seconds' => :'Integer',
187
+ :'callback_scheduled_time' => :'DateTime'
182
188
 
183
189
  }
184
190
  end
@@ -306,6 +312,10 @@ module PureCloud
306
312
  self.timeout_seconds = attributes[:'timeoutSeconds']
307
313
  end
308
314
 
315
+ if attributes[:'callbackScheduledTime']
316
+ self.callback_scheduled_time = attributes[:'callbackScheduledTime']
317
+ end
318
+
309
319
  end
310
320
 
311
321
  # Custom attribute writer method checking allowed values (enum).
@@ -364,7 +374,8 @@ module PureCloud
364
374
  callback_numbers == o.callback_numbers &&
365
375
  callback_user_name == o.callback_user_name &&
366
376
  skip_enabled == o.skip_enabled &&
367
- timeout_seconds == o.timeout_seconds
377
+ timeout_seconds == o.timeout_seconds &&
378
+ callback_scheduled_time == o.callback_scheduled_time
368
379
  end
369
380
 
370
381
  # @see the `==` method
@@ -374,7 +385,7 @@ module PureCloud
374
385
 
375
386
  # Calculate hash code according to all attributes.
376
387
  def hash
377
- [id, name, address, start_time, connected_time, end_time, start_hold_time, purpose, state, direction, disconnect_type, held, wrapup_required, wrapup_prompt, user, queue, attributes, error_info, script, wrapup_timeout_ms, wrapup_skipped, outbound_preview, callback_numbers, callback_user_name, skip_enabled, timeout_seconds].hash
388
+ [id, name, address, start_time, connected_time, end_time, start_hold_time, purpose, state, direction, disconnect_type, held, wrapup_required, wrapup_prompt, user, queue, attributes, error_info, script, wrapup_timeout_ms, wrapup_skipped, outbound_preview, callback_numbers, callback_user_name, skip_enabled, timeout_seconds, callback_scheduled_time].hash
378
389
  end
379
390
 
380
391
  # build the object from hash
@@ -90,7 +90,7 @@ module PureCloud
90
90
 
91
91
  # Custom attribute writer method checking allowed values (enum).
92
92
  def type=(type)
93
- allowed_values = ["PRIMARY", "WORK", "HOME", "MOBILE", "MAIN"]
93
+ allowed_values = ["PRIMARY", "WORK", "WORK2", "WORK3", "WORK4", "HOME", "MOBILE", "MAIN"]
94
94
  if type && !allowed_values.include?(type)
95
95
  fail "invalid value for 'type', must be one of #{allowed_values}"
96
96
  end
@@ -22,6 +22,8 @@ module PureCloud
22
22
 
23
23
  attr_accessor :queue_id
24
24
 
25
+ attr_accessor :routing_data
26
+
25
27
  attr_accessor :callback_user_name
26
28
 
27
29
  attr_accessor :callback_numbers
@@ -33,6 +35,8 @@ module PureCloud
33
35
 
34
36
  attr_accessor :skip_enabled
35
37
 
38
+ attr_accessor :additional_info
39
+
36
40
  # Attribute mapping from ruby-style variable name to JSON key.
37
41
  def self.attribute_map
38
42
  {
@@ -41,6 +45,8 @@ module PureCloud
41
45
 
42
46
  :'queue_id' => :'queueId',
43
47
 
48
+ :'routing_data' => :'routingData',
49
+
44
50
  :'callback_user_name' => :'callbackUserName',
45
51
 
46
52
  :'callback_numbers' => :'callbackNumbers',
@@ -49,7 +55,9 @@ module PureCloud
49
55
 
50
56
  :'country_code' => :'countryCode',
51
57
 
52
- :'skip_enabled' => :'skipEnabled'
58
+ :'skip_enabled' => :'skipEnabled',
59
+
60
+ :'additional_info' => :'additionalInfo'
53
61
 
54
62
  }
55
63
  end
@@ -59,11 +67,13 @@ module PureCloud
59
67
  {
60
68
  :'script_id' => :'String',
61
69
  :'queue_id' => :'String',
70
+ :'routing_data' => :'RoutingData',
62
71
  :'callback_user_name' => :'String',
63
72
  :'callback_numbers' => :'Array<String>',
64
73
  :'callback_scheduled_time' => :'DateTime',
65
74
  :'country_code' => :'String',
66
- :'skip_enabled' => :'BOOLEAN'
75
+ :'skip_enabled' => :'BOOLEAN',
76
+ :'additional_info' => :'AdditionalInfo'
67
77
 
68
78
  }
69
79
  end
@@ -83,6 +93,10 @@ module PureCloud
83
93
  self.queue_id = attributes[:'queueId']
84
94
  end
85
95
 
96
+ if attributes[:'routingData']
97
+ self.routing_data = attributes[:'routingData']
98
+ end
99
+
86
100
  if attributes[:'callbackUserName']
87
101
  self.callback_user_name = attributes[:'callbackUserName']
88
102
  end
@@ -107,6 +121,10 @@ module PureCloud
107
121
  self.skip_enabled = false
108
122
  end
109
123
 
124
+ if attributes[:'additionalInfo']
125
+ self.additional_info = attributes[:'additionalInfo']
126
+ end
127
+
110
128
  end
111
129
 
112
130
  # Check equality by comparing each attribute.
@@ -115,11 +133,13 @@ module PureCloud
115
133
  self.class == o.class &&
116
134
  script_id == o.script_id &&
117
135
  queue_id == o.queue_id &&
136
+ routing_data == o.routing_data &&
118
137
  callback_user_name == o.callback_user_name &&
119
138
  callback_numbers == o.callback_numbers &&
120
139
  callback_scheduled_time == o.callback_scheduled_time &&
121
140
  country_code == o.country_code &&
122
- skip_enabled == o.skip_enabled
141
+ skip_enabled == o.skip_enabled &&
142
+ additional_info == o.additional_info
123
143
  end
124
144
 
125
145
  # @see the `==` method
@@ -129,7 +149,7 @@ module PureCloud
129
149
 
130
150
  # Calculate hash code according to all attributes.
131
151
  def hash
132
- [script_id, queue_id, callback_user_name, callback_numbers, callback_scheduled_time, country_code, skip_enabled].hash
152
+ [script_id, queue_id, routing_data, callback_user_name, callback_numbers, callback_scheduled_time, country_code, skip_enabled, additional_info].hash
133
153
  end
134
154
 
135
155
  # build the object from hash
@@ -0,0 +1,179 @@
1
+ =begin
2
+ PureCloud Platform API
3
+
4
+ With the PureCloud Platform API, you can control all aspects of your PureCloud environment. With the APIs you can access the system configuration, manage conversations and more.
5
+
6
+ OpenAPI spec version: v2
7
+ Contact: DeveloperEvangelists@inin.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ License: ININ
11
+ http://www.inin.com
12
+
13
+ Terms of Service: https://developer.mypurecloud.com/tos
14
+
15
+ =end
16
+
17
+ require 'date'
18
+
19
+ module PureCloud
20
+ class CreateCallbackResponse
21
+ # The conversation associated with the callback
22
+ attr_accessor :conversation
23
+
24
+ # The list of communication identifiers for the callback participants
25
+ attr_accessor :callback_identifiers
26
+
27
+ # Attribute mapping from ruby-style variable name to JSON key.
28
+ def self.attribute_map
29
+ {
30
+
31
+ :'conversation' => :'conversation',
32
+
33
+ :'callback_identifiers' => :'callbackIdentifiers'
34
+
35
+ }
36
+ end
37
+
38
+ # Attribute type mapping.
39
+ def self.swagger_types
40
+ {
41
+ :'conversation' => :'UriReference',
42
+ :'callback_identifiers' => :'Array<CallbackIdentifier>'
43
+
44
+ }
45
+ end
46
+
47
+ def initialize(attributes = {})
48
+ return unless attributes.is_a?(Hash)
49
+
50
+ # convert string to symbol for hash key
51
+ attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
52
+
53
+
54
+ if attributes[:'conversation']
55
+ self.conversation = attributes[:'conversation']
56
+ end
57
+
58
+ if attributes[:'callbackIdentifiers']
59
+ if (value = attributes[:'callbackIdentifiers']).is_a?(Array)
60
+ self.callback_identifiers = value
61
+ end
62
+ end
63
+
64
+ end
65
+
66
+ # Check equality by comparing each attribute.
67
+ def ==(o)
68
+ return true if self.equal?(o)
69
+ self.class == o.class &&
70
+ conversation == o.conversation &&
71
+ callback_identifiers == o.callback_identifiers
72
+ end
73
+
74
+ # @see the `==` method
75
+ def eql?(o)
76
+ self == o
77
+ end
78
+
79
+ # Calculate hash code according to all attributes.
80
+ def hash
81
+ [conversation, callback_identifiers].hash
82
+ end
83
+
84
+ # build the object from hash
85
+ def build_from_hash(attributes)
86
+ return nil unless attributes.is_a?(Hash)
87
+ self.class.swagger_types.each_pair do |key, type|
88
+ if type =~ /^Array<(.*)>/i
89
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
90
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
91
+ else
92
+ #TODO show warning in debug mode
93
+ end
94
+ elsif !attributes[self.class.attribute_map[key]].nil?
95
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
96
+ else
97
+ # data not found in attributes(hash), not an issue as the data can be optional
98
+ end
99
+ end
100
+
101
+ self
102
+ end
103
+
104
+ def _deserialize(type, value)
105
+ case type.to_sym
106
+ when :DateTime
107
+ DateTime.parse(value)
108
+ when :Date
109
+ Date.parse(value)
110
+ when :String
111
+ value.to_s
112
+ when :Integer
113
+ value.to_i
114
+ when :Float
115
+ value.to_f
116
+ when :BOOLEAN
117
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
118
+ true
119
+ else
120
+ false
121
+ end
122
+ when :Object
123
+ # generic object (usually a Hash), return directly
124
+ value
125
+ when /\AArray<(?<inner_type>.+)>\z/
126
+ inner_type = Regexp.last_match[:inner_type]
127
+ value.map { |v| _deserialize(inner_type, v) }
128
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
129
+ k_type = Regexp.last_match[:k_type]
130
+ v_type = Regexp.last_match[:v_type]
131
+ {}.tap do |hash|
132
+ value.each do |k, v|
133
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
134
+ end
135
+ end
136
+ else # model
137
+ _model = Object.const_get("PureCloud").const_get(type).new
138
+ _model.build_from_hash(value)
139
+ end
140
+ end
141
+
142
+ def to_s
143
+ to_hash.to_s
144
+ end
145
+
146
+ # to_body is an alias to to_body (backward compatibility))
147
+ def to_body
148
+ to_hash
149
+ end
150
+
151
+ # return the object in the form of hash
152
+ def to_hash
153
+ hash = {}
154
+ self.class.attribute_map.each_pair do |attr, param|
155
+ value = self.send(attr)
156
+ next if value.nil?
157
+ hash[param] = _to_hash(value)
158
+ end
159
+ hash
160
+ end
161
+
162
+ # Method to output non-array value in the form of hash
163
+ # For object, use to_hash. Otherwise, just return the value
164
+ def _to_hash(value)
165
+ if value.is_a?(Array)
166
+ value.compact.map{ |v| _to_hash(v) }
167
+ elsif value.is_a?(Hash)
168
+ {}.tap do |hash|
169
+ value.each { |k, v| hash[k] = _to_hash(v) }
170
+ end
171
+ elsif value.respond_to? :to_hash
172
+ value.to_hash
173
+ else
174
+ value
175
+ end
176
+ end
177
+
178
+ end
179
+ end
@@ -29,6 +29,8 @@ module PureCloud
29
29
 
30
30
  attr_accessor :deleted
31
31
 
32
+ attr_accessor :updated
33
+
32
34
  # The URI for this object
33
35
  attr_accessor :self_uri
34
36
 
@@ -46,6 +48,8 @@ module PureCloud
46
48
 
47
49
  :'deleted' => :'deleted',
48
50
 
51
+ :'updated' => :'updated',
52
+
49
53
  :'self_uri' => :'selfUri'
50
54
 
51
55
  }
@@ -59,6 +63,7 @@ module PureCloud
59
63
  :'version' => :'String',
60
64
  :'type' => :'String',
61
65
  :'deleted' => :'BOOLEAN',
66
+ :'updated' => :'BOOLEAN',
62
67
  :'self_uri' => :'String'
63
68
 
64
69
  }
@@ -93,6 +98,12 @@ module PureCloud
93
98
  self.deleted = false
94
99
  end
95
100
 
101
+ if attributes[:'updated']
102
+ self.updated = attributes[:'updated']
103
+ else
104
+ self.updated = false
105
+ end
106
+
96
107
  if attributes[:'selfUri']
97
108
  self.self_uri = attributes[:'selfUri']
98
109
  end
@@ -117,6 +128,7 @@ module PureCloud
117
128
  version == o.version &&
118
129
  type == o.type &&
119
130
  deleted == o.deleted &&
131
+ updated == o.updated &&
120
132
  self_uri == o.self_uri
121
133
  end
122
134
 
@@ -127,7 +139,7 @@ module PureCloud
127
139
 
128
140
  # Calculate hash code according to all attributes.
129
141
  def hash
130
- [id, name, version, type, deleted, self_uri].hash
142
+ [id, name, version, type, deleted, updated, self_uri].hash
131
143
  end
132
144
 
133
145
  # build the object from hash
@@ -29,6 +29,8 @@ module PureCloud
29
29
 
30
30
  attr_accessor :deleted
31
31
 
32
+ attr_accessor :updated
33
+
32
34
  attr_accessor :consumed_resources
33
35
 
34
36
  attr_accessor :consuming_resources
@@ -50,6 +52,8 @@ module PureCloud
50
52
 
51
53
  :'deleted' => :'deleted',
52
54
 
55
+ :'updated' => :'updated',
56
+
53
57
  :'consumed_resources' => :'consumedResources',
54
58
 
55
59
  :'consuming_resources' => :'consumingResources',
@@ -67,6 +71,7 @@ module PureCloud
67
71
  :'version' => :'String',
68
72
  :'type' => :'String',
69
73
  :'deleted' => :'BOOLEAN',
74
+ :'updated' => :'BOOLEAN',
70
75
  :'consumed_resources' => :'Array<Dependency>',
71
76
  :'consuming_resources' => :'Array<Dependency>',
72
77
  :'self_uri' => :'String'
@@ -103,6 +108,12 @@ module PureCloud
103
108
  self.deleted = false
104
109
  end
105
110
 
111
+ if attributes[:'updated']
112
+ self.updated = attributes[:'updated']
113
+ else
114
+ self.updated = false
115
+ end
116
+
106
117
  if attributes[:'consumedResources']
107
118
  if (value = attributes[:'consumedResources']).is_a?(Array)
108
119
  self.consumed_resources = value
@@ -139,6 +150,7 @@ module PureCloud
139
150
  version == o.version &&
140
151
  type == o.type &&
141
152
  deleted == o.deleted &&
153
+ updated == o.updated &&
142
154
  consumed_resources == o.consumed_resources &&
143
155
  consuming_resources == o.consuming_resources &&
144
156
  self_uri == o.self_uri
@@ -151,7 +163,7 @@ module PureCloud
151
163
 
152
164
  # Calculate hash code according to all attributes.
153
165
  def hash
154
- [id, name, version, type, deleted, consumed_resources, consuming_resources, self_uri].hash
166
+ [id, name, version, type, deleted, updated, consumed_resources, consuming_resources, self_uri].hash
155
167
  end
156
168
 
157
169
  # build the object from hash
@@ -30,10 +30,10 @@ module PureCloud
30
30
 
31
31
  attr_accessor :edge_uri
32
32
 
33
- attr_accessor :current
34
-
35
33
  attr_accessor :latest_release
36
34
 
35
+ attr_accessor :current
36
+
37
37
  # The URI for this object
38
38
  attr_accessor :self_uri
39
39
 
@@ -51,10 +51,10 @@ module PureCloud
51
51
 
52
52
  :'edge_uri' => :'edgeUri',
53
53
 
54
- :'current' => :'current',
55
-
56
54
  :'latest_release' => :'latestRelease',
57
55
 
56
+ :'current' => :'current',
57
+
58
58
  :'self_uri' => :'selfUri'
59
59
 
60
60
  }
@@ -68,8 +68,8 @@ module PureCloud
68
68
  :'edge_version' => :'String',
69
69
  :'publish_date' => :'DateTime',
70
70
  :'edge_uri' => :'String',
71
- :'current' => :'BOOLEAN',
72
71
  :'latest_release' => :'BOOLEAN',
72
+ :'current' => :'BOOLEAN',
73
73
  :'self_uri' => :'String'
74
74
 
75
75
  }
@@ -102,18 +102,18 @@ module PureCloud
102
102
  self.edge_uri = attributes[:'edgeUri']
103
103
  end
104
104
 
105
- if attributes[:'current']
106
- self.current = attributes[:'current']
107
- else
108
- self.current = false
109
- end
110
-
111
105
  if attributes[:'latestRelease']
112
106
  self.latest_release = attributes[:'latestRelease']
113
107
  else
114
108
  self.latest_release = false
115
109
  end
116
110
 
111
+ if attributes[:'current']
112
+ self.current = attributes[:'current']
113
+ else
114
+ self.current = false
115
+ end
116
+
117
117
  if attributes[:'selfUri']
118
118
  self.self_uri = attributes[:'selfUri']
119
119
  end
@@ -129,8 +129,8 @@ module PureCloud
129
129
  edge_version == o.edge_version &&
130
130
  publish_date == o.publish_date &&
131
131
  edge_uri == o.edge_uri &&
132
- current == o.current &&
133
132
  latest_release == o.latest_release &&
133
+ current == o.current &&
134
134
  self_uri == o.self_uri
135
135
  end
136
136
 
@@ -141,7 +141,7 @@ module PureCloud
141
141
 
142
142
  # Calculate hash code according to all attributes.
143
143
  def hash
144
- [id, name, edge_version, publish_date, edge_uri, current, latest_release, self_uri].hash
144
+ [id, name, edge_version, publish_date, edge_uri, latest_release, current, self_uri].hash
145
145
  end
146
146
 
147
147
  # build the object from hash