purecloudplatformclientv2 2.0.33 → 2.0.35
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/docs/CertificateDetails.md +1 -1
- data/docs/DomainOrganizationRole.md +1 -1
- data/docs/DomainOrganizationRoleCreate.md +1 -1
- data/docs/DomainOrganizationRoleUpdate.md +1 -1
- data/docs/JsonNode.md +4 -4
- data/lib/purecloudplatformclientv2/models/certificate_details.rb +13 -13
- data/lib/purecloudplatformclientv2/models/domain_organization_role.rb +10 -10
- data/lib/purecloudplatformclientv2/models/domain_organization_role_create.rb +10 -10
- data/lib/purecloudplatformclientv2/models/domain_organization_role_update.rb +10 -10
- data/lib/purecloudplatformclientv2/models/json_node.rb +31 -31
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 438efec52ed57c6d67b01d7d49d6ae2195cb9be9
|
4
|
+
data.tar.gz: 22817be4a68d0a3883199b363b4c848a1bd1867b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: caa768f4458cd070ab5341550f26f3f1de0ce736fc92146c961e2148429c9f019785690e2927a717e6893e7453ecdcf683a1c544d7f1444fc7a112af3ebe790f
|
7
|
+
data.tar.gz: bcddcd0a77c0594595896a0179f0228781f0569ba11374a4b0e26311bff4dac785ae8d2c56f1d1f8e9393c0b927033e7b938e2cd45647b7c2e542d7c8cca5622
|
data/README.md
CHANGED
@@ -9,8 +9,8 @@ With the PureCloud Platform API, you can control all aspects of your PureCloud e
|
|
9
9
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
10
10
|
|
11
11
|
- API version: v2
|
12
|
-
- Package version: 2.0.
|
13
|
-
- Build date: 2017-04-04T18:
|
12
|
+
- Package version: 2.0.35
|
13
|
+
- Build date: 2017-04-04T18:14:16.521Z
|
14
14
|
|
15
15
|
For more information, please visit [https://developer.mypurecloud.com](https://developer.mypurecloud.com)
|
16
16
|
|
@@ -18,7 +18,7 @@ For more information, please visit [https://developer.mypurecloud.com](https://d
|
|
18
18
|
|
19
19
|
### from rubygems.org
|
20
20
|
|
21
|
-
gem 'purecloudplatformclientv2', '~> 2.0.
|
21
|
+
gem 'purecloudplatformclientv2', '~> 2.0.35'
|
22
22
|
|
23
23
|
### Install from Git
|
24
24
|
|
data/docs/CertificateDetails.md
CHANGED
@@ -12,8 +12,8 @@ title: CertificateDetails
|
|
12
12
|
| **expiration_date** | **DateTime** | The expiration date of the certificate. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
13
13
|
| **issue_date** | **DateTime** | The issue date of the certificate. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
14
14
|
| **expired** | **BOOLEAN** | True if the certificate is expired, false otherwise. | [optional] |
|
15
|
-
| **signature_valid** | **BOOLEAN** | | [optional] |
|
16
15
|
| **valid** | **BOOLEAN** | | [optional] |
|
16
|
+
| **signature_valid** | **BOOLEAN** | | [optional] |
|
17
17
|
{: class="table table-striped"}
|
18
18
|
|
19
19
|
|
@@ -15,8 +15,8 @@ title: DomainOrganizationRole
|
|
15
15
|
| **permission_policies** | [**Array<DomainPermissionPolicy>**](DomainPermissionPolicy.html) | | [optional] |
|
16
16
|
| **user_count** | **Integer** | | [optional] |
|
17
17
|
| **role_needs_update** | **BOOLEAN** | Optional unless patch operation. | [optional] |
|
18
|
-
| **default** | **BOOLEAN** | | [optional] |
|
19
18
|
| **base** | **BOOLEAN** | | [optional] |
|
19
|
+
| **default** | **BOOLEAN** | | [optional] |
|
20
20
|
| **self_uri** | **String** | The URI for this object | [optional] |
|
21
21
|
{: class="table table-striped"}
|
22
22
|
|
@@ -15,8 +15,8 @@ title: DomainOrganizationRoleCreate
|
|
15
15
|
| **permission_policies** | [**Array<DomainPermissionPolicy>**](DomainPermissionPolicy.html) | | [optional] |
|
16
16
|
| **user_count** | **Integer** | | [optional] |
|
17
17
|
| **role_needs_update** | **BOOLEAN** | Optional unless patch operation. | [optional] |
|
18
|
-
| **default** | **BOOLEAN** | | [optional] |
|
19
18
|
| **base** | **BOOLEAN** | | [optional] |
|
19
|
+
| **default** | **BOOLEAN** | | [optional] |
|
20
20
|
| **self_uri** | **String** | The URI for this object | [optional] |
|
21
21
|
{: class="table table-striped"}
|
22
22
|
|
@@ -15,8 +15,8 @@ title: DomainOrganizationRoleUpdate
|
|
15
15
|
| **permission_policies** | [**Array<DomainPermissionPolicy>**](DomainPermissionPolicy.html) | | [optional] |
|
16
16
|
| **user_count** | **Integer** | | [optional] |
|
17
17
|
| **role_needs_update** | **BOOLEAN** | Optional unless patch operation. | [optional] |
|
18
|
-
| **default** | **BOOLEAN** | | [optional] |
|
19
18
|
| **base** | **BOOLEAN** | | [optional] |
|
19
|
+
| **default** | **BOOLEAN** | | [optional] |
|
20
20
|
| **self_uri** | **String** | The URI for this object | [optional] |
|
21
21
|
{: class="table table-striped"}
|
22
22
|
|
data/docs/JsonNode.md
CHANGED
@@ -7,13 +7,12 @@ title: JsonNode
|
|
7
7
|
|
8
8
|
|Name | Type | Description | Notes|
|
9
9
|
|------------ | ------------- | ------------- | -------------|
|
10
|
-
| **array** | **BOOLEAN** | | [optional] |
|
11
|
-
| **null** | **BOOLEAN** | | [optional] |
|
12
10
|
| **node_type** | **String** | | [optional] |
|
13
11
|
| **float** | **BOOLEAN** | | [optional] |
|
12
|
+
| **object** | **BOOLEAN** | | [optional] |
|
14
13
|
| **boolean** | **BOOLEAN** | | [optional] |
|
15
14
|
| **number** | **BOOLEAN** | | [optional] |
|
16
|
-
| **
|
15
|
+
| **value_node** | **BOOLEAN** | | [optional] |
|
17
16
|
| **container_node** | **BOOLEAN** | | [optional] |
|
18
17
|
| **missing_node** | **BOOLEAN** | | [optional] |
|
19
18
|
| **pojo** | **BOOLEAN** | | [optional] |
|
@@ -27,7 +26,8 @@ title: JsonNode
|
|
27
26
|
| **big_integer** | **BOOLEAN** | | [optional] |
|
28
27
|
| **textual** | **BOOLEAN** | | [optional] |
|
29
28
|
| **binary** | **BOOLEAN** | | [optional] |
|
30
|
-
| **
|
29
|
+
| **array** | **BOOLEAN** | | [optional] |
|
30
|
+
| **null** | **BOOLEAN** | | [optional] |
|
31
31
|
{: class="table table-striped"}
|
32
32
|
|
33
33
|
|
@@ -34,10 +34,10 @@ module PureCloud
|
|
34
34
|
# True if the certificate is expired, false otherwise.
|
35
35
|
attr_accessor :expired
|
36
36
|
|
37
|
-
attr_accessor :signature_valid
|
38
|
-
|
39
37
|
attr_accessor :valid
|
40
38
|
|
39
|
+
attr_accessor :signature_valid
|
40
|
+
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
42
|
def self.attribute_map
|
43
43
|
{
|
@@ -46,8 +46,8 @@ module PureCloud
|
|
46
46
|
:'expiration_date' => :'expirationDate',
|
47
47
|
:'issue_date' => :'issueDate',
|
48
48
|
:'expired' => :'expired',
|
49
|
-
:'
|
50
|
-
:'
|
49
|
+
:'valid' => :'valid',
|
50
|
+
:'signature_valid' => :'signatureValid'
|
51
51
|
}
|
52
52
|
end
|
53
53
|
|
@@ -59,8 +59,8 @@ module PureCloud
|
|
59
59
|
:'expiration_date' => :'DateTime',
|
60
60
|
:'issue_date' => :'DateTime',
|
61
61
|
:'expired' => :'BOOLEAN',
|
62
|
-
:'
|
63
|
-
:'
|
62
|
+
:'valid' => :'BOOLEAN',
|
63
|
+
:'signature_valid' => :'BOOLEAN'
|
64
64
|
}
|
65
65
|
end
|
66
66
|
|
@@ -92,14 +92,14 @@ module PureCloud
|
|
92
92
|
self.expired = attributes[:'expired']
|
93
93
|
end
|
94
94
|
|
95
|
-
if attributes.has_key?(:'signatureValid')
|
96
|
-
self.signature_valid = attributes[:'signatureValid']
|
97
|
-
end
|
98
|
-
|
99
95
|
if attributes.has_key?(:'valid')
|
100
96
|
self.valid = attributes[:'valid']
|
101
97
|
end
|
102
98
|
|
99
|
+
if attributes.has_key?(:'signatureValid')
|
100
|
+
self.signature_valid = attributes[:'signatureValid']
|
101
|
+
end
|
102
|
+
|
103
103
|
end
|
104
104
|
|
105
105
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -124,8 +124,8 @@ module PureCloud
|
|
124
124
|
expiration_date == o.expiration_date &&
|
125
125
|
issue_date == o.issue_date &&
|
126
126
|
expired == o.expired &&
|
127
|
-
|
128
|
-
|
127
|
+
valid == o.valid &&
|
128
|
+
signature_valid == o.signature_valid
|
129
129
|
end
|
130
130
|
|
131
131
|
# @see the `==` method
|
@@ -137,7 +137,7 @@ module PureCloud
|
|
137
137
|
# Calculates hash code according to all attributes.
|
138
138
|
# @return [Fixnum] Hash code
|
139
139
|
def hash
|
140
|
-
[issuer, subject, expiration_date, issue_date, expired,
|
140
|
+
[issuer, subject, expiration_date, issue_date, expired, valid, signature_valid].hash
|
141
141
|
end
|
142
142
|
|
143
143
|
# build the object from hash
|
@@ -36,10 +36,10 @@ module PureCloud
|
|
36
36
|
# Optional unless patch operation.
|
37
37
|
attr_accessor :role_needs_update
|
38
38
|
|
39
|
-
attr_accessor :default
|
40
|
-
|
41
39
|
attr_accessor :base
|
42
40
|
|
41
|
+
attr_accessor :default
|
42
|
+
|
43
43
|
# The URI for this object
|
44
44
|
attr_accessor :self_uri
|
45
45
|
|
@@ -54,8 +54,8 @@ module PureCloud
|
|
54
54
|
:'permission_policies' => :'permissionPolicies',
|
55
55
|
:'user_count' => :'userCount',
|
56
56
|
:'role_needs_update' => :'roleNeedsUpdate',
|
57
|
-
:'default' => :'default',
|
58
57
|
:'base' => :'base',
|
58
|
+
:'default' => :'default',
|
59
59
|
:'self_uri' => :'selfUri'
|
60
60
|
}
|
61
61
|
end
|
@@ -71,8 +71,8 @@ module PureCloud
|
|
71
71
|
:'permission_policies' => :'Array<DomainPermissionPolicy>',
|
72
72
|
:'user_count' => :'Integer',
|
73
73
|
:'role_needs_update' => :'BOOLEAN',
|
74
|
-
:'default' => :'BOOLEAN',
|
75
74
|
:'base' => :'BOOLEAN',
|
75
|
+
:'default' => :'BOOLEAN',
|
76
76
|
:'self_uri' => :'String'
|
77
77
|
}
|
78
78
|
end
|
@@ -121,14 +121,14 @@ module PureCloud
|
|
121
121
|
self.role_needs_update = attributes[:'roleNeedsUpdate']
|
122
122
|
end
|
123
123
|
|
124
|
-
if attributes.has_key?(:'default')
|
125
|
-
self.default = attributes[:'default']
|
126
|
-
end
|
127
|
-
|
128
124
|
if attributes.has_key?(:'base')
|
129
125
|
self.base = attributes[:'base']
|
130
126
|
end
|
131
127
|
|
128
|
+
if attributes.has_key?(:'default')
|
129
|
+
self.default = attributes[:'default']
|
130
|
+
end
|
131
|
+
|
132
132
|
if attributes.has_key?(:'selfUri')
|
133
133
|
self.self_uri = attributes[:'selfUri']
|
134
134
|
end
|
@@ -160,8 +160,8 @@ module PureCloud
|
|
160
160
|
permission_policies == o.permission_policies &&
|
161
161
|
user_count == o.user_count &&
|
162
162
|
role_needs_update == o.role_needs_update &&
|
163
|
-
default == o.default &&
|
164
163
|
base == o.base &&
|
164
|
+
default == o.default &&
|
165
165
|
self_uri == o.self_uri
|
166
166
|
end
|
167
167
|
|
@@ -174,7 +174,7 @@ module PureCloud
|
|
174
174
|
# Calculates hash code according to all attributes.
|
175
175
|
# @return [Fixnum] Hash code
|
176
176
|
def hash
|
177
|
-
[id, name, description, default_role_id, permissions, permission_policies, user_count, role_needs_update,
|
177
|
+
[id, name, description, default_role_id, permissions, permission_policies, user_count, role_needs_update, base, default, self_uri].hash
|
178
178
|
end
|
179
179
|
|
180
180
|
# build the object from hash
|
@@ -37,10 +37,10 @@ module PureCloud
|
|
37
37
|
# Optional unless patch operation.
|
38
38
|
attr_accessor :role_needs_update
|
39
39
|
|
40
|
-
attr_accessor :default
|
41
|
-
|
42
40
|
attr_accessor :base
|
43
41
|
|
42
|
+
attr_accessor :default
|
43
|
+
|
44
44
|
# The URI for this object
|
45
45
|
attr_accessor :self_uri
|
46
46
|
|
@@ -55,8 +55,8 @@ module PureCloud
|
|
55
55
|
:'permission_policies' => :'permissionPolicies',
|
56
56
|
:'user_count' => :'userCount',
|
57
57
|
:'role_needs_update' => :'roleNeedsUpdate',
|
58
|
-
:'default' => :'default',
|
59
58
|
:'base' => :'base',
|
59
|
+
:'default' => :'default',
|
60
60
|
:'self_uri' => :'selfUri'
|
61
61
|
}
|
62
62
|
end
|
@@ -72,8 +72,8 @@ module PureCloud
|
|
72
72
|
:'permission_policies' => :'Array<DomainPermissionPolicy>',
|
73
73
|
:'user_count' => :'Integer',
|
74
74
|
:'role_needs_update' => :'BOOLEAN',
|
75
|
-
:'default' => :'BOOLEAN',
|
76
75
|
:'base' => :'BOOLEAN',
|
76
|
+
:'default' => :'BOOLEAN',
|
77
77
|
:'self_uri' => :'String'
|
78
78
|
}
|
79
79
|
end
|
@@ -122,14 +122,14 @@ module PureCloud
|
|
122
122
|
self.role_needs_update = attributes[:'roleNeedsUpdate']
|
123
123
|
end
|
124
124
|
|
125
|
-
if attributes.has_key?(:'default')
|
126
|
-
self.default = attributes[:'default']
|
127
|
-
end
|
128
|
-
|
129
125
|
if attributes.has_key?(:'base')
|
130
126
|
self.base = attributes[:'base']
|
131
127
|
end
|
132
128
|
|
129
|
+
if attributes.has_key?(:'default')
|
130
|
+
self.default = attributes[:'default']
|
131
|
+
end
|
132
|
+
|
133
133
|
if attributes.has_key?(:'selfUri')
|
134
134
|
self.self_uri = attributes[:'selfUri']
|
135
135
|
end
|
@@ -165,8 +165,8 @@ module PureCloud
|
|
165
165
|
permission_policies == o.permission_policies &&
|
166
166
|
user_count == o.user_count &&
|
167
167
|
role_needs_update == o.role_needs_update &&
|
168
|
-
default == o.default &&
|
169
168
|
base == o.base &&
|
169
|
+
default == o.default &&
|
170
170
|
self_uri == o.self_uri
|
171
171
|
end
|
172
172
|
|
@@ -179,7 +179,7 @@ module PureCloud
|
|
179
179
|
# Calculates hash code according to all attributes.
|
180
180
|
# @return [Fixnum] Hash code
|
181
181
|
def hash
|
182
|
-
[id, name, description, default_role_id, permissions, permission_policies, user_count, role_needs_update,
|
182
|
+
[id, name, description, default_role_id, permissions, permission_policies, user_count, role_needs_update, base, default, self_uri].hash
|
183
183
|
end
|
184
184
|
|
185
185
|
# build the object from hash
|
@@ -37,10 +37,10 @@ module PureCloud
|
|
37
37
|
# Optional unless patch operation.
|
38
38
|
attr_accessor :role_needs_update
|
39
39
|
|
40
|
-
attr_accessor :default
|
41
|
-
|
42
40
|
attr_accessor :base
|
43
41
|
|
42
|
+
attr_accessor :default
|
43
|
+
|
44
44
|
# The URI for this object
|
45
45
|
attr_accessor :self_uri
|
46
46
|
|
@@ -55,8 +55,8 @@ module PureCloud
|
|
55
55
|
:'permission_policies' => :'permissionPolicies',
|
56
56
|
:'user_count' => :'userCount',
|
57
57
|
:'role_needs_update' => :'roleNeedsUpdate',
|
58
|
-
:'default' => :'default',
|
59
58
|
:'base' => :'base',
|
59
|
+
:'default' => :'default',
|
60
60
|
:'self_uri' => :'selfUri'
|
61
61
|
}
|
62
62
|
end
|
@@ -72,8 +72,8 @@ module PureCloud
|
|
72
72
|
:'permission_policies' => :'Array<DomainPermissionPolicy>',
|
73
73
|
:'user_count' => :'Integer',
|
74
74
|
:'role_needs_update' => :'BOOLEAN',
|
75
|
-
:'default' => :'BOOLEAN',
|
76
75
|
:'base' => :'BOOLEAN',
|
76
|
+
:'default' => :'BOOLEAN',
|
77
77
|
:'self_uri' => :'String'
|
78
78
|
}
|
79
79
|
end
|
@@ -122,14 +122,14 @@ module PureCloud
|
|
122
122
|
self.role_needs_update = attributes[:'roleNeedsUpdate']
|
123
123
|
end
|
124
124
|
|
125
|
-
if attributes.has_key?(:'default')
|
126
|
-
self.default = attributes[:'default']
|
127
|
-
end
|
128
|
-
|
129
125
|
if attributes.has_key?(:'base')
|
130
126
|
self.base = attributes[:'base']
|
131
127
|
end
|
132
128
|
|
129
|
+
if attributes.has_key?(:'default')
|
130
|
+
self.default = attributes[:'default']
|
131
|
+
end
|
132
|
+
|
133
133
|
if attributes.has_key?(:'selfUri')
|
134
134
|
self.self_uri = attributes[:'selfUri']
|
135
135
|
end
|
@@ -165,8 +165,8 @@ module PureCloud
|
|
165
165
|
permission_policies == o.permission_policies &&
|
166
166
|
user_count == o.user_count &&
|
167
167
|
role_needs_update == o.role_needs_update &&
|
168
|
-
default == o.default &&
|
169
168
|
base == o.base &&
|
169
|
+
default == o.default &&
|
170
170
|
self_uri == o.self_uri
|
171
171
|
end
|
172
172
|
|
@@ -179,7 +179,7 @@ module PureCloud
|
|
179
179
|
# Calculates hash code according to all attributes.
|
180
180
|
# @return [Fixnum] Hash code
|
181
181
|
def hash
|
182
|
-
[id, name, description, default_role_id, permissions, permission_policies, user_count, role_needs_update,
|
182
|
+
[id, name, description, default_role_id, permissions, permission_policies, user_count, role_needs_update, base, default, self_uri].hash
|
183
183
|
end
|
184
184
|
|
185
185
|
# build the object from hash
|
@@ -18,19 +18,17 @@ 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 :float
|
28
24
|
|
25
|
+
attr_accessor :object
|
26
|
+
|
29
27
|
attr_accessor :boolean
|
30
28
|
|
31
29
|
attr_accessor :number
|
32
30
|
|
33
|
-
attr_accessor :
|
31
|
+
attr_accessor :value_node
|
34
32
|
|
35
33
|
attr_accessor :container_node
|
36
34
|
|
@@ -58,18 +56,19 @@ module PureCloud
|
|
58
56
|
|
59
57
|
attr_accessor :binary
|
60
58
|
|
61
|
-
attr_accessor :
|
59
|
+
attr_accessor :array
|
60
|
+
|
61
|
+
attr_accessor :null
|
62
62
|
|
63
63
|
# Attribute mapping from ruby-style variable name to JSON key.
|
64
64
|
def self.attribute_map
|
65
65
|
{
|
66
|
-
:'array' => :'array',
|
67
|
-
:'null' => :'null',
|
68
66
|
:'node_type' => :'nodeType',
|
69
67
|
:'float' => :'float',
|
68
|
+
:'object' => :'object',
|
70
69
|
:'boolean' => :'boolean',
|
71
70
|
:'number' => :'number',
|
72
|
-
:'
|
71
|
+
:'value_node' => :'valueNode',
|
73
72
|
:'container_node' => :'containerNode',
|
74
73
|
:'missing_node' => :'missingNode',
|
75
74
|
:'pojo' => :'pojo',
|
@@ -83,20 +82,20 @@ module PureCloud
|
|
83
82
|
:'big_integer' => :'bigInteger',
|
84
83
|
:'textual' => :'textual',
|
85
84
|
:'binary' => :'binary',
|
86
|
-
:'
|
85
|
+
:'array' => :'array',
|
86
|
+
:'null' => :'null'
|
87
87
|
}
|
88
88
|
end
|
89
89
|
|
90
90
|
# Attribute type mapping.
|
91
91
|
def self.swagger_types
|
92
92
|
{
|
93
|
-
:'array' => :'BOOLEAN',
|
94
|
-
:'null' => :'BOOLEAN',
|
95
93
|
:'node_type' => :'String',
|
96
94
|
:'float' => :'BOOLEAN',
|
95
|
+
:'object' => :'BOOLEAN',
|
97
96
|
:'boolean' => :'BOOLEAN',
|
98
97
|
:'number' => :'BOOLEAN',
|
99
|
-
:'
|
98
|
+
:'value_node' => :'BOOLEAN',
|
100
99
|
:'container_node' => :'BOOLEAN',
|
101
100
|
:'missing_node' => :'BOOLEAN',
|
102
101
|
:'pojo' => :'BOOLEAN',
|
@@ -110,7 +109,8 @@ module PureCloud
|
|
110
109
|
:'big_integer' => :'BOOLEAN',
|
111
110
|
:'textual' => :'BOOLEAN',
|
112
111
|
:'binary' => :'BOOLEAN',
|
113
|
-
:'
|
112
|
+
:'array' => :'BOOLEAN',
|
113
|
+
:'null' => :'BOOLEAN'
|
114
114
|
}
|
115
115
|
end
|
116
116
|
|
@@ -122,14 +122,6 @@ module PureCloud
|
|
122
122
|
# convert string to symbol for hash key
|
123
123
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
124
124
|
|
125
|
-
if attributes.has_key?(:'array')
|
126
|
-
self.array = attributes[:'array']
|
127
|
-
end
|
128
|
-
|
129
|
-
if attributes.has_key?(:'null')
|
130
|
-
self.null = attributes[:'null']
|
131
|
-
end
|
132
|
-
|
133
125
|
if attributes.has_key?(:'nodeType')
|
134
126
|
self.node_type = attributes[:'nodeType']
|
135
127
|
end
|
@@ -138,6 +130,10 @@ module PureCloud
|
|
138
130
|
self.float = attributes[:'float']
|
139
131
|
end
|
140
132
|
|
133
|
+
if attributes.has_key?(:'object')
|
134
|
+
self.object = attributes[:'object']
|
135
|
+
end
|
136
|
+
|
141
137
|
if attributes.has_key?(:'boolean')
|
142
138
|
self.boolean = attributes[:'boolean']
|
143
139
|
end
|
@@ -146,8 +142,8 @@ module PureCloud
|
|
146
142
|
self.number = attributes[:'number']
|
147
143
|
end
|
148
144
|
|
149
|
-
if attributes.has_key?(:'
|
150
|
-
self.
|
145
|
+
if attributes.has_key?(:'valueNode')
|
146
|
+
self.value_node = attributes[:'valueNode']
|
151
147
|
end
|
152
148
|
|
153
149
|
if attributes.has_key?(:'containerNode')
|
@@ -202,8 +198,12 @@ module PureCloud
|
|
202
198
|
self.binary = attributes[:'binary']
|
203
199
|
end
|
204
200
|
|
205
|
-
if attributes.has_key?(:'
|
206
|
-
self.
|
201
|
+
if attributes.has_key?(:'array')
|
202
|
+
self.array = attributes[:'array']
|
203
|
+
end
|
204
|
+
|
205
|
+
if attributes.has_key?(:'null')
|
206
|
+
self.null = attributes[:'null']
|
207
207
|
end
|
208
208
|
|
209
209
|
end
|
@@ -239,13 +239,12 @@ module PureCloud
|
|
239
239
|
def ==(o)
|
240
240
|
return true if self.equal?(o)
|
241
241
|
self.class == o.class &&
|
242
|
-
array == o.array &&
|
243
|
-
null == o.null &&
|
244
242
|
node_type == o.node_type &&
|
245
243
|
float == o.float &&
|
244
|
+
object == o.object &&
|
246
245
|
boolean == o.boolean &&
|
247
246
|
number == o.number &&
|
248
|
-
|
247
|
+
value_node == o.value_node &&
|
249
248
|
container_node == o.container_node &&
|
250
249
|
missing_node == o.missing_node &&
|
251
250
|
pojo == o.pojo &&
|
@@ -259,7 +258,8 @@ module PureCloud
|
|
259
258
|
big_integer == o.big_integer &&
|
260
259
|
textual == o.textual &&
|
261
260
|
binary == o.binary &&
|
262
|
-
|
261
|
+
array == o.array &&
|
262
|
+
null == o.null
|
263
263
|
end
|
264
264
|
|
265
265
|
# @see the `==` method
|
@@ -271,7 +271,7 @@ module PureCloud
|
|
271
271
|
# Calculates hash code according to all attributes.
|
272
272
|
# @return [Fixnum] Hash code
|
273
273
|
def hash
|
274
|
-
[
|
274
|
+
[node_type, float, object, boolean, number, 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
|
275
275
|
end
|
276
276
|
|
277
277
|
# build the object from hash
|