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
@@ -0,0 +1,240 @@
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 UserSearchRequest
21
+ attr_accessor :sort_order
22
+
23
+ attr_accessor :sort_by
24
+
25
+ attr_accessor :page_size
26
+
27
+ attr_accessor :page_number
28
+
29
+ attr_accessor :return_fields
30
+
31
+ attr_accessor :expand
32
+
33
+ attr_accessor :query
34
+
35
+ # Attribute mapping from ruby-style variable name to JSON key.
36
+ def self.attribute_map
37
+ {
38
+
39
+ :'sort_order' => :'sortOrder',
40
+
41
+ :'sort_by' => :'sortBy',
42
+
43
+ :'page_size' => :'pageSize',
44
+
45
+ :'page_number' => :'pageNumber',
46
+
47
+ :'return_fields' => :'returnFields',
48
+
49
+ :'expand' => :'expand',
50
+
51
+ :'query' => :'query'
52
+
53
+ }
54
+ end
55
+
56
+ # Attribute type mapping.
57
+ def self.swagger_types
58
+ {
59
+ :'sort_order' => :'String',
60
+ :'sort_by' => :'String',
61
+ :'page_size' => :'Integer',
62
+ :'page_number' => :'Integer',
63
+ :'return_fields' => :'Array<String>',
64
+ :'expand' => :'Array<String>',
65
+ :'query' => :'Array<UserSearchCriteria>'
66
+
67
+ }
68
+ end
69
+
70
+ def initialize(attributes = {})
71
+ return unless attributes.is_a?(Hash)
72
+
73
+ # convert string to symbol for hash key
74
+ attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
75
+
76
+
77
+ if attributes[:'sortOrder']
78
+ self.sort_order = attributes[:'sortOrder']
79
+ end
80
+
81
+ if attributes[:'sortBy']
82
+ self.sort_by = attributes[:'sortBy']
83
+ end
84
+
85
+ if attributes[:'pageSize']
86
+ self.page_size = attributes[:'pageSize']
87
+ end
88
+
89
+ if attributes[:'pageNumber']
90
+ self.page_number = attributes[:'pageNumber']
91
+ end
92
+
93
+ if attributes[:'returnFields']
94
+ if (value = attributes[:'returnFields']).is_a?(Array)
95
+ self.return_fields = value
96
+ end
97
+ end
98
+
99
+ if attributes[:'expand']
100
+ if (value = attributes[:'expand']).is_a?(Array)
101
+ self.expand = value
102
+ end
103
+ end
104
+
105
+ if attributes[:'query']
106
+ if (value = attributes[:'query']).is_a?(Array)
107
+ self.query = value
108
+ end
109
+ end
110
+
111
+ end
112
+
113
+ # Custom attribute writer method checking allowed values (enum).
114
+ def sort_order=(sort_order)
115
+ allowed_values = ["ASC", "DESC", "SCORE"]
116
+ if sort_order && !allowed_values.include?(sort_order)
117
+ fail "invalid value for 'sort_order', must be one of #{allowed_values}"
118
+ end
119
+ @sort_order = sort_order
120
+ end
121
+
122
+ # Check equality by comparing each attribute.
123
+ def ==(o)
124
+ return true if self.equal?(o)
125
+ self.class == o.class &&
126
+ sort_order == o.sort_order &&
127
+ sort_by == o.sort_by &&
128
+ page_size == o.page_size &&
129
+ page_number == o.page_number &&
130
+ return_fields == o.return_fields &&
131
+ expand == o.expand &&
132
+ query == o.query
133
+ end
134
+
135
+ # @see the `==` method
136
+ def eql?(o)
137
+ self == o
138
+ end
139
+
140
+ # Calculate hash code according to all attributes.
141
+ def hash
142
+ [sort_order, sort_by, page_size, page_number, return_fields, expand, query].hash
143
+ end
144
+
145
+ # build the object from hash
146
+ def build_from_hash(attributes)
147
+ return nil unless attributes.is_a?(Hash)
148
+ self.class.swagger_types.each_pair do |key, type|
149
+ if type =~ /^Array<(.*)>/i
150
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
151
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
152
+ else
153
+ #TODO show warning in debug mode
154
+ end
155
+ elsif !attributes[self.class.attribute_map[key]].nil?
156
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
157
+ else
158
+ # data not found in attributes(hash), not an issue as the data can be optional
159
+ end
160
+ end
161
+
162
+ self
163
+ end
164
+
165
+ def _deserialize(type, value)
166
+ case type.to_sym
167
+ when :DateTime
168
+ DateTime.parse(value)
169
+ when :Date
170
+ Date.parse(value)
171
+ when :String
172
+ value.to_s
173
+ when :Integer
174
+ value.to_i
175
+ when :Float
176
+ value.to_f
177
+ when :BOOLEAN
178
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
179
+ true
180
+ else
181
+ false
182
+ end
183
+ when :Object
184
+ # generic object (usually a Hash), return directly
185
+ value
186
+ when /\AArray<(?<inner_type>.+)>\z/
187
+ inner_type = Regexp.last_match[:inner_type]
188
+ value.map { |v| _deserialize(inner_type, v) }
189
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
190
+ k_type = Regexp.last_match[:k_type]
191
+ v_type = Regexp.last_match[:v_type]
192
+ {}.tap do |hash|
193
+ value.each do |k, v|
194
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
195
+ end
196
+ end
197
+ else # model
198
+ _model = Object.const_get("PureCloud").const_get(type).new
199
+ _model.build_from_hash(value)
200
+ end
201
+ end
202
+
203
+ def to_s
204
+ to_hash.to_s
205
+ end
206
+
207
+ # to_body is an alias to to_body (backward compatibility))
208
+ def to_body
209
+ to_hash
210
+ end
211
+
212
+ # return the object in the form of hash
213
+ def to_hash
214
+ hash = {}
215
+ self.class.attribute_map.each_pair do |attr, param|
216
+ value = self.send(attr)
217
+ next if value.nil?
218
+ hash[param] = _to_hash(value)
219
+ end
220
+ hash
221
+ end
222
+
223
+ # Method to output non-array value in the form of hash
224
+ # For object, use to_hash. Otherwise, just return the value
225
+ def _to_hash(value)
226
+ if value.is_a?(Array)
227
+ value.compact.map{ |v| _to_hash(v) }
228
+ elsif value.is_a?(Hash)
229
+ {}.tap do |hash|
230
+ value.each { |k, v| hash[k] = _to_hash(v) }
231
+ end
232
+ elsif value.respond_to? :to_hash
233
+ value.to_hash
234
+ else
235
+ value
236
+ end
237
+ end
238
+
239
+ end
240
+ end
@@ -36,6 +36,8 @@ module PureCloud
36
36
 
37
37
  attr_accessor :results
38
38
 
39
+ attr_accessor :aggregations
40
+
39
41
  # Attribute mapping from ruby-style variable name to JSON key.
40
42
  def self.attribute_map
41
43
  {
@@ -56,7 +58,9 @@ module PureCloud
56
58
 
57
59
  :'types' => :'types',
58
60
 
59
- :'results' => :'results'
61
+ :'results' => :'results',
62
+
63
+ :'aggregations' => :'aggregations'
60
64
 
61
65
  }
62
66
  end
@@ -72,7 +76,8 @@ module PureCloud
72
76
  :'current_page' => :'String',
73
77
  :'next_page' => :'String',
74
78
  :'types' => :'Array<String>',
75
- :'results' => :'Array<User>'
79
+ :'results' => :'Array<User>',
80
+ :'aggregations' => :'Array<User>'
76
81
 
77
82
  }
78
83
  end
@@ -124,6 +129,12 @@ module PureCloud
124
129
  end
125
130
  end
126
131
 
132
+ if attributes[:'aggregations']
133
+ if (value = attributes[:'aggregations']).is_a?(Array)
134
+ self.aggregations = value
135
+ end
136
+ end
137
+
127
138
  end
128
139
 
129
140
  # Check equality by comparing each attribute.
@@ -138,7 +149,8 @@ module PureCloud
138
149
  current_page == o.current_page &&
139
150
  next_page == o.next_page &&
140
151
  types == o.types &&
141
- results == o.results
152
+ results == o.results &&
153
+ aggregations == o.aggregations
142
154
  end
143
155
 
144
156
  # @see the `==` method
@@ -148,7 +160,7 @@ module PureCloud
148
160
 
149
161
  # Calculate hash code according to all attributes.
150
162
  def hash
151
- [total, page_count, page_size, page_number, previous_page, current_page, next_page, types, results].hash
163
+ [total, page_count, page_size, page_number, previous_page, current_page, next_page, types, results, aggregations].hash
152
164
  end
153
165
 
154
166
  # build the object from hash
@@ -18,49 +18,21 @@ require 'date'
18
18
 
19
19
  module PureCloud
20
20
  class VoicemailMessageEntityListing
21
- attr_accessor :page_size
22
-
23
- attr_accessor :page_number
24
-
25
21
  attr_accessor :total
26
22
 
27
23
  attr_accessor :entities
28
24
 
29
25
  attr_accessor :self_uri
30
26
 
31
- attr_accessor :first_uri
32
-
33
- attr_accessor :previous_uri
34
-
35
- attr_accessor :next_uri
36
-
37
- attr_accessor :last_uri
38
-
39
- attr_accessor :page_count
40
-
41
27
  # Attribute mapping from ruby-style variable name to JSON key.
42
28
  def self.attribute_map
43
29
  {
44
30
 
45
- :'page_size' => :'pageSize',
46
-
47
- :'page_number' => :'pageNumber',
48
-
49
31
  :'total' => :'total',
50
32
 
51
33
  :'entities' => :'entities',
52
34
 
53
- :'self_uri' => :'selfUri',
54
-
55
- :'first_uri' => :'firstUri',
56
-
57
- :'previous_uri' => :'previousUri',
58
-
59
- :'next_uri' => :'nextUri',
60
-
61
- :'last_uri' => :'lastUri',
62
-
63
- :'page_count' => :'pageCount'
35
+ :'self_uri' => :'selfUri'
64
36
 
65
37
  }
66
38
  end
@@ -68,16 +40,9 @@ module PureCloud
68
40
  # Attribute type mapping.
69
41
  def self.swagger_types
70
42
  {
71
- :'page_size' => :'Integer',
72
- :'page_number' => :'Integer',
73
43
  :'total' => :'Integer',
74
44
  :'entities' => :'Array<VoicemailMessage>',
75
- :'self_uri' => :'String',
76
- :'first_uri' => :'String',
77
- :'previous_uri' => :'String',
78
- :'next_uri' => :'String',
79
- :'last_uri' => :'String',
80
- :'page_count' => :'Integer'
45
+ :'self_uri' => :'String'
81
46
 
82
47
  }
83
48
  end
@@ -89,14 +54,6 @@ module PureCloud
89
54
  attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
90
55
 
91
56
 
92
- if attributes[:'pageSize']
93
- self.page_size = attributes[:'pageSize']
94
- end
95
-
96
- if attributes[:'pageNumber']
97
- self.page_number = attributes[:'pageNumber']
98
- end
99
-
100
57
  if attributes[:'total']
101
58
  self.total = attributes[:'total']
102
59
  end
@@ -111,42 +68,15 @@ module PureCloud
111
68
  self.self_uri = attributes[:'selfUri']
112
69
  end
113
70
 
114
- if attributes[:'firstUri']
115
- self.first_uri = attributes[:'firstUri']
116
- end
117
-
118
- if attributes[:'previousUri']
119
- self.previous_uri = attributes[:'previousUri']
120
- end
121
-
122
- if attributes[:'nextUri']
123
- self.next_uri = attributes[:'nextUri']
124
- end
125
-
126
- if attributes[:'lastUri']
127
- self.last_uri = attributes[:'lastUri']
128
- end
129
-
130
- if attributes[:'pageCount']
131
- self.page_count = attributes[:'pageCount']
132
- end
133
-
134
71
  end
135
72
 
136
73
  # Check equality by comparing each attribute.
137
74
  def ==(o)
138
75
  return true if self.equal?(o)
139
76
  self.class == o.class &&
140
- page_size == o.page_size &&
141
- page_number == o.page_number &&
142
77
  total == o.total &&
143
78
  entities == o.entities &&
144
- self_uri == o.self_uri &&
145
- first_uri == o.first_uri &&
146
- previous_uri == o.previous_uri &&
147
- next_uri == o.next_uri &&
148
- last_uri == o.last_uri &&
149
- page_count == o.page_count
79
+ self_uri == o.self_uri
150
80
  end
151
81
 
152
82
  # @see the `==` method
@@ -156,7 +86,7 @@ module PureCloud
156
86
 
157
87
  # Calculate hash code according to all attributes.
158
88
  def hash
159
- [page_size, page_number, total, entities, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
89
+ [total, entities, self_uri].hash
160
90
  end
161
91
 
162
92
  # build the object from hash
@@ -41,6 +41,8 @@ module PureCloud
41
41
 
42
42
  attr_accessor :acl
43
43
 
44
+ attr_accessor :description
45
+
44
46
  # The URI for this object
45
47
  attr_accessor :self_uri
46
48
 
@@ -68,6 +70,8 @@ module PureCloud
68
70
 
69
71
  :'acl' => :'acl',
70
72
 
73
+ :'description' => :'description',
74
+
71
75
  :'self_uri' => :'selfUri'
72
76
 
73
77
  }
@@ -86,6 +90,7 @@ module PureCloud
86
90
  :'date_modified' => :'DateTime',
87
91
  :'summary' => :'WorkspaceSummary',
88
92
  :'acl' => :'Array<String>',
93
+ :'description' => :'String',
89
94
  :'self_uri' => :'String'
90
95
 
91
96
  }
@@ -142,6 +147,10 @@ module PureCloud
142
147
  end
143
148
  end
144
149
 
150
+ if attributes[:'description']
151
+ self.description = attributes[:'description']
152
+ end
153
+
145
154
  if attributes[:'selfUri']
146
155
  self.self_uri = attributes[:'selfUri']
147
156
  end
@@ -171,6 +180,7 @@ module PureCloud
171
180
  date_modified == o.date_modified &&
172
181
  summary == o.summary &&
173
182
  acl == o.acl &&
183
+ description == o.description &&
174
184
  self_uri == o.self_uri
175
185
  end
176
186
 
@@ -181,7 +191,7 @@ module PureCloud
181
191
 
182
192
  # Calculate hash code according to all attributes.
183
193
  def hash
184
- [id, name, type, is_current_user_workspace, user, bucket, date_created, date_modified, summary, acl, self_uri].hash
194
+ [id, name, type, is_current_user_workspace, user, bucket, date_created, date_modified, summary, acl, description, self_uri].hash
185
195
  end
186
196
 
187
197
  # build the object from hash
@@ -22,13 +22,17 @@ module PureCloud
22
22
 
23
23
  attr_accessor :bucket
24
24
 
25
+ attr_accessor :description
26
+
25
27
  # Attribute mapping from ruby-style variable name to JSON key.
26
28
  def self.attribute_map
27
29
  {
28
30
 
29
31
  :'name' => :'name',
30
32
 
31
- :'bucket' => :'bucket'
33
+ :'bucket' => :'bucket',
34
+
35
+ :'description' => :'description'
32
36
 
33
37
  }
34
38
  end
@@ -37,7 +41,8 @@ module PureCloud
37
41
  def self.swagger_types
38
42
  {
39
43
  :'name' => :'String',
40
- :'bucket' => :'String'
44
+ :'bucket' => :'String',
45
+ :'description' => :'String'
41
46
 
42
47
  }
43
48
  end
@@ -57,6 +62,10 @@ module PureCloud
57
62
  self.bucket = attributes[:'bucket']
58
63
  end
59
64
 
65
+ if attributes[:'description']
66
+ self.description = attributes[:'description']
67
+ end
68
+
60
69
  end
61
70
 
62
71
  # Check equality by comparing each attribute.
@@ -64,7 +73,8 @@ module PureCloud
64
73
  return true if self.equal?(o)
65
74
  self.class == o.class &&
66
75
  name == o.name &&
67
- bucket == o.bucket
76
+ bucket == o.bucket &&
77
+ description == o.description
68
78
  end
69
79
 
70
80
  # @see the `==` method
@@ -74,7 +84,7 @@ module PureCloud
74
84
 
75
85
  # Calculate hash code according to all attributes.
76
86
  def hash
77
- [name, bucket].hash
87
+ [name, bucket, description].hash
78
88
  end
79
89
 
80
90
  # build the object from hash
@@ -20,11 +20,15 @@ module PureCloud
20
20
  class WorkspaceSummary
21
21
  attr_accessor :total_document_count
22
22
 
23
+ attr_accessor :total_document_byte_count
24
+
23
25
  # Attribute mapping from ruby-style variable name to JSON key.
24
26
  def self.attribute_map
25
27
  {
26
28
 
27
- :'total_document_count' => :'totalDocumentCount'
29
+ :'total_document_count' => :'totalDocumentCount',
30
+
31
+ :'total_document_byte_count' => :'totalDocumentByteCount'
28
32
 
29
33
  }
30
34
  end
@@ -32,7 +36,8 @@ module PureCloud
32
36
  # Attribute type mapping.
33
37
  def self.swagger_types
34
38
  {
35
- :'total_document_count' => :'Integer'
39
+ :'total_document_count' => :'Integer',
40
+ :'total_document_byte_count' => :'Integer'
36
41
 
37
42
  }
38
43
  end
@@ -48,13 +53,18 @@ module PureCloud
48
53
  self.total_document_count = attributes[:'totalDocumentCount']
49
54
  end
50
55
 
56
+ if attributes[:'totalDocumentByteCount']
57
+ self.total_document_byte_count = attributes[:'totalDocumentByteCount']
58
+ end
59
+
51
60
  end
52
61
 
53
62
  # Check equality by comparing each attribute.
54
63
  def ==(o)
55
64
  return true if self.equal?(o)
56
65
  self.class == o.class &&
57
- total_document_count == o.total_document_count
66
+ total_document_count == o.total_document_count &&
67
+ total_document_byte_count == o.total_document_byte_count
58
68
  end
59
69
 
60
70
  # @see the `==` method
@@ -64,7 +74,7 @@ module PureCloud
64
74
 
65
75
  # Calculate hash code according to all attributes.
66
76
  def hash
67
- [total_document_count].hash
77
+ [total_document_count, total_document_byte_count].hash
68
78
  end
69
79
 
70
80
  # build the object from hash
@@ -15,5 +15,5 @@ Terms of Service: https://developer.mypurecloud.com/tos
15
15
  =end
16
16
 
17
17
  module PureCloud
18
- VERSION = "0.40.1"
18
+ VERSION = "0.41.1"
19
19
  end