docusign_rooms 1.0.0 → 1.1.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docusign_rooms-1.0.0.gem +0 -0
- data/lib/docusign_rooms.rb +13 -2
- data/lib/docusign_rooms/.DS_Store +0 -0
- data/lib/docusign_rooms/api/accounts_api.rb +1 -1
- data/lib/docusign_rooms/api/activity_types_api.rb +1 -1
- data/lib/docusign_rooms/api/closing_statuses_api.rb +1 -1
- data/lib/docusign_rooms/api/contact_sides_api.rb +1 -1
- data/lib/docusign_rooms/api/countries_api.rb +1 -1
- data/lib/docusign_rooms/api/currencies_api.rb +1 -1
- data/lib/docusign_rooms/api/documents_api.rb +10 -12
- data/lib/docusign_rooms/api/e_sign_permission_profiles_api.rb +1 -1
- data/lib/docusign_rooms/api/external_form_fill_sessions_api.rb +8 -10
- data/lib/docusign_rooms/api/fields_api.rb +2 -2
- data/lib/docusign_rooms/api/financing_types_api.rb +1 -1
- data/lib/docusign_rooms/api/form_details_api.rb +1 -1
- data/lib/docusign_rooms/api/form_groups_api.rb +441 -1
- data/lib/docusign_rooms/api/form_libraries_api.rb +2 -2
- data/lib/docusign_rooms/api/offices_api.rb +14 -16
- data/lib/docusign_rooms/api/origins_of_leads_api.rb +1 -1
- data/lib/docusign_rooms/api/property_types_api.rb +1 -1
- data/lib/docusign_rooms/api/regions_api.rb +14 -16
- data/lib/docusign_rooms/api/roles_api.rb +19 -23
- data/lib/docusign_rooms/api/room_contact_types_api.rb +1 -1
- data/lib/docusign_rooms/api/room_folders_api.rb +1 -1
- data/lib/docusign_rooms/api/room_templates_api.rb +6 -2
- data/lib/docusign_rooms/api/rooms_api.rb +85 -96
- data/lib/docusign_rooms/api/seller_decision_types_api.rb +1 -1
- data/lib/docusign_rooms/api/special_circumstance_types_api.rb +1 -1
- data/lib/docusign_rooms/api/states_api.rb +1 -1
- data/lib/docusign_rooms/api/task_date_types_api.rb +1 -1
- data/lib/docusign_rooms/api/task_list_templates_api.rb +1 -1
- data/lib/docusign_rooms/api/task_lists_api.rb +14 -16
- data/lib/docusign_rooms/api/task_responsibility_types_api.rb +1 -1
- data/lib/docusign_rooms/api/task_statuses_api.rb +1 -1
- data/lib/docusign_rooms/api/time_zones_api.rb +1 -1
- data/lib/docusign_rooms/api/transaction_sides_api.rb +1 -1
- data/lib/docusign_rooms/api/users_api.rb +87 -107
- data/lib/docusign_rooms/models/access_level.rb +32 -0
- data/lib/docusign_rooms/models/account_status.rb +29 -0
- data/lib/docusign_rooms/models/account_summary.rb +1 -35
- data/lib/docusign_rooms/models/assignable_roles.rb +13 -4
- data/lib/docusign_rooms/models/classic_agent_to_invite.rb +10 -1
- data/lib/docusign_rooms/models/classic_manager_to_invite.rb +1 -35
- data/lib/docusign_rooms/models/document.rb +10 -1
- data/lib/docusign_rooms/models/fields_custom_data_filter_type.rb +30 -0
- data/lib/docusign_rooms/models/form_group.rb +214 -0
- data/lib/docusign_rooms/models/form_group_for_create.rb +188 -0
- data/lib/docusign_rooms/models/form_group_for_update.rb +188 -0
- data/lib/docusign_rooms/models/form_group_form_to_assign.rb +197 -0
- data/lib/docusign_rooms/models/form_group_summary_list.rb +13 -4
- data/lib/docusign_rooms/models/form_library_summary_list.rb +13 -4
- data/lib/docusign_rooms/models/form_summary_list.rb +13 -4
- data/lib/docusign_rooms/models/group_form.rb +210 -0
- data/lib/docusign_rooms/models/member_sorting_option.rb +33 -0
- data/lib/docusign_rooms/models/office_summary_list.rb +13 -4
- data/lib/docusign_rooms/models/permissions.rb +70 -7
- data/lib/docusign_rooms/models/product_version.rb +29 -0
- data/lib/docusign_rooms/models/region_summary_list.rb +13 -4
- data/lib/docusign_rooms/models/role.rb +1 -1
- data/lib/docusign_rooms/models/role_summary_list.rb +13 -4
- data/lib/docusign_rooms/models/room.rb +1 -1
- data/lib/docusign_rooms/models/room_document.rb +31 -4
- data/lib/docusign_rooms/models/room_document_list.rb +10 -1
- data/lib/docusign_rooms/models/room_document_owner.rb +219 -0
- data/lib/docusign_rooms/models/room_folder_list.rb +13 -4
- data/lib/docusign_rooms/models/room_status.rb +31 -0
- data/lib/docusign_rooms/models/room_summary_list.rb +13 -4
- data/lib/docusign_rooms/models/room_templates_summary_list.rb +13 -4
- data/lib/docusign_rooms/models/room_user_sorting_option.rb +33 -0
- data/lib/docusign_rooms/models/room_user_summary.rb +22 -4
- data/lib/docusign_rooms/models/room_users_result.rb +13 -4
- data/lib/docusign_rooms/models/task_list_template_list.rb +13 -4
- data/lib/docusign_rooms/models/user.rb +1 -35
- data/lib/docusign_rooms/models/user_summary.rb +1 -35
- data/lib/docusign_rooms/models/user_summary_list.rb +13 -4
- data/lib/docusign_rooms/models/user_to_invite.rb +1 -35
- data/lib/docusign_rooms/version.rb +1 -1
- data/tests/Gemfile.lock +2 -2
- metadata +18 -4
@@ -27,6 +27,10 @@ module DocuSign_Rooms
|
|
27
27
|
|
28
28
|
attr_accessor :title_id
|
29
29
|
|
30
|
+
attr_accessor :company_name
|
31
|
+
|
32
|
+
attr_accessor :role_name
|
33
|
+
|
30
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
31
35
|
def self.attribute_map
|
32
36
|
{
|
@@ -36,7 +40,9 @@ module DocuSign_Rooms
|
|
36
40
|
:'last_name' => :'lastName',
|
37
41
|
:'transaction_side_id' => :'transactionSideId',
|
38
42
|
:'role_id' => :'roleId',
|
39
|
-
:'title_id' => :'titleId'
|
43
|
+
:'title_id' => :'titleId',
|
44
|
+
:'company_name' => :'companyName',
|
45
|
+
:'role_name' => :'roleName'
|
40
46
|
}
|
41
47
|
end
|
42
48
|
|
@@ -49,7 +55,9 @@ module DocuSign_Rooms
|
|
49
55
|
:'last_name' => :'String',
|
50
56
|
:'transaction_side_id' => :'String',
|
51
57
|
:'role_id' => :'Integer',
|
52
|
-
:'title_id' => :'Integer'
|
58
|
+
:'title_id' => :'Integer',
|
59
|
+
:'company_name' => :'String',
|
60
|
+
:'role_name' => :'String'
|
53
61
|
}
|
54
62
|
end
|
55
63
|
|
@@ -88,6 +96,14 @@ module DocuSign_Rooms
|
|
88
96
|
if attributes.has_key?(:'titleId')
|
89
97
|
self.title_id = attributes[:'titleId']
|
90
98
|
end
|
99
|
+
|
100
|
+
if attributes.has_key?(:'companyName')
|
101
|
+
self.company_name = attributes[:'companyName']
|
102
|
+
end
|
103
|
+
|
104
|
+
if attributes.has_key?(:'roleName')
|
105
|
+
self.role_name = attributes[:'roleName']
|
106
|
+
end
|
91
107
|
end
|
92
108
|
|
93
109
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -114,7 +130,9 @@ module DocuSign_Rooms
|
|
114
130
|
last_name == o.last_name &&
|
115
131
|
transaction_side_id == o.transaction_side_id &&
|
116
132
|
role_id == o.role_id &&
|
117
|
-
title_id == o.title_id
|
133
|
+
title_id == o.title_id &&
|
134
|
+
company_name == o.company_name &&
|
135
|
+
role_name == o.role_name
|
118
136
|
end
|
119
137
|
|
120
138
|
# @see the `==` method
|
@@ -126,7 +144,7 @@ module DocuSign_Rooms
|
|
126
144
|
# Calculates hash code according to all attributes.
|
127
145
|
# @return [Fixnum] Hash code
|
128
146
|
def hash
|
129
|
-
[user_id, email, first_name, last_name, transaction_side_id, role_id, title_id].hash
|
147
|
+
[user_id, email, first_name, last_name, transaction_side_id, role_id, title_id, company_name, role_name].hash
|
130
148
|
end
|
131
149
|
|
132
150
|
# Builds the object from hash
|
@@ -25,6 +25,8 @@ module DocuSign_Rooms
|
|
25
25
|
|
26
26
|
attr_accessor :prior_uri
|
27
27
|
|
28
|
+
attr_accessor :total_row_count
|
29
|
+
|
28
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
29
31
|
def self.attribute_map
|
30
32
|
{
|
@@ -33,7 +35,8 @@ module DocuSign_Rooms
|
|
33
35
|
:'start_position' => :'startPosition',
|
34
36
|
:'end_position' => :'endPosition',
|
35
37
|
:'next_uri' => :'nextUri',
|
36
|
-
:'prior_uri' => :'priorUri'
|
38
|
+
:'prior_uri' => :'priorUri',
|
39
|
+
:'total_row_count' => :'totalRowCount'
|
37
40
|
}
|
38
41
|
end
|
39
42
|
|
@@ -45,7 +48,8 @@ module DocuSign_Rooms
|
|
45
48
|
:'start_position' => :'Integer',
|
46
49
|
:'end_position' => :'Integer',
|
47
50
|
:'next_uri' => :'String',
|
48
|
-
:'prior_uri' => :'String'
|
51
|
+
:'prior_uri' => :'String',
|
52
|
+
:'total_row_count' => :'Integer'
|
49
53
|
}
|
50
54
|
end
|
51
55
|
|
@@ -82,6 +86,10 @@ module DocuSign_Rooms
|
|
82
86
|
if attributes.has_key?(:'priorUri')
|
83
87
|
self.prior_uri = attributes[:'priorUri']
|
84
88
|
end
|
89
|
+
|
90
|
+
if attributes.has_key?(:'totalRowCount')
|
91
|
+
self.total_row_count = attributes[:'totalRowCount']
|
92
|
+
end
|
85
93
|
end
|
86
94
|
|
87
95
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -107,7 +115,8 @@ module DocuSign_Rooms
|
|
107
115
|
start_position == o.start_position &&
|
108
116
|
end_position == o.end_position &&
|
109
117
|
next_uri == o.next_uri &&
|
110
|
-
prior_uri == o.prior_uri
|
118
|
+
prior_uri == o.prior_uri &&
|
119
|
+
total_row_count == o.total_row_count
|
111
120
|
end
|
112
121
|
|
113
122
|
# @see the `==` method
|
@@ -119,7 +128,7 @@ module DocuSign_Rooms
|
|
119
128
|
# Calculates hash code according to all attributes.
|
120
129
|
# @return [Fixnum] Hash code
|
121
130
|
def hash
|
122
|
-
[users, result_set_size, start_position, end_position, next_uri, prior_uri].hash
|
131
|
+
[users, result_set_size, start_position, end_position, next_uri, prior_uri, total_row_count].hash
|
123
132
|
end
|
124
133
|
|
125
134
|
# Builds the object from hash
|
@@ -25,6 +25,8 @@ module DocuSign_Rooms
|
|
25
25
|
|
26
26
|
attr_accessor :prior_uri
|
27
27
|
|
28
|
+
attr_accessor :total_row_count
|
29
|
+
|
28
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
29
31
|
def self.attribute_map
|
30
32
|
{
|
@@ -33,7 +35,8 @@ module DocuSign_Rooms
|
|
33
35
|
:'start_position' => :'startPosition',
|
34
36
|
:'end_position' => :'endPosition',
|
35
37
|
:'next_uri' => :'nextUri',
|
36
|
-
:'prior_uri' => :'priorUri'
|
38
|
+
:'prior_uri' => :'priorUri',
|
39
|
+
:'total_row_count' => :'totalRowCount'
|
37
40
|
}
|
38
41
|
end
|
39
42
|
|
@@ -45,7 +48,8 @@ module DocuSign_Rooms
|
|
45
48
|
:'start_position' => :'Integer',
|
46
49
|
:'end_position' => :'Integer',
|
47
50
|
:'next_uri' => :'String',
|
48
|
-
:'prior_uri' => :'String'
|
51
|
+
:'prior_uri' => :'String',
|
52
|
+
:'total_row_count' => :'Integer'
|
49
53
|
}
|
50
54
|
end
|
51
55
|
|
@@ -82,6 +86,10 @@ module DocuSign_Rooms
|
|
82
86
|
if attributes.has_key?(:'priorUri')
|
83
87
|
self.prior_uri = attributes[:'priorUri']
|
84
88
|
end
|
89
|
+
|
90
|
+
if attributes.has_key?(:'totalRowCount')
|
91
|
+
self.total_row_count = attributes[:'totalRowCount']
|
92
|
+
end
|
85
93
|
end
|
86
94
|
|
87
95
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -107,7 +115,8 @@ module DocuSign_Rooms
|
|
107
115
|
start_position == o.start_position &&
|
108
116
|
end_position == o.end_position &&
|
109
117
|
next_uri == o.next_uri &&
|
110
|
-
prior_uri == o.prior_uri
|
118
|
+
prior_uri == o.prior_uri &&
|
119
|
+
total_row_count == o.total_row_count
|
111
120
|
end
|
112
121
|
|
113
122
|
# @see the `==` method
|
@@ -119,7 +128,7 @@ module DocuSign_Rooms
|
|
119
128
|
# Calculates hash code according to all attributes.
|
120
129
|
# @return [Fixnum] Hash code
|
121
130
|
def hash
|
122
|
-
[task_list_templates, result_set_size, start_position, end_position, next_uri, prior_uri].hash
|
131
|
+
[task_list_templates, result_set_size, start_position, end_position, next_uri, prior_uri, total_row_count].hash
|
123
132
|
end
|
124
133
|
|
125
134
|
# Builds the object from hash
|
@@ -41,28 +41,6 @@ module DocuSign_Rooms
|
|
41
41
|
|
42
42
|
attr_accessor :permissions
|
43
43
|
|
44
|
-
class EnumAttributeValidator
|
45
|
-
attr_reader :datatype
|
46
|
-
attr_reader :allowable_values
|
47
|
-
|
48
|
-
def initialize(datatype, allowable_values)
|
49
|
-
@allowable_values = allowable_values.map do |value|
|
50
|
-
case datatype.to_s
|
51
|
-
when /Integer/i
|
52
|
-
value.to_i
|
53
|
-
when /Float/i
|
54
|
-
value.to_f
|
55
|
-
else
|
56
|
-
value
|
57
|
-
end
|
58
|
-
end
|
59
|
-
end
|
60
|
-
|
61
|
-
def valid?(value)
|
62
|
-
!value || allowable_values.include?(value)
|
63
|
-
end
|
64
|
-
end
|
65
|
-
|
66
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
67
45
|
def self.attribute_map
|
68
46
|
{
|
@@ -92,7 +70,7 @@ module DocuSign_Rooms
|
|
92
70
|
:'last_name' => :'String',
|
93
71
|
:'is_locked_out' => :'BOOLEAN',
|
94
72
|
:'status' => :'String',
|
95
|
-
:'access_level' => :'
|
73
|
+
:'access_level' => :'AccessLevel',
|
96
74
|
:'default_office_id' => :'Integer',
|
97
75
|
:'title_id' => :'Integer',
|
98
76
|
:'role_id' => :'Integer',
|
@@ -182,21 +160,9 @@ module DocuSign_Rooms
|
|
182
160
|
# Check to see if the all the properties in the model are valid
|
183
161
|
# @return true if the model is valid
|
184
162
|
def valid?
|
185
|
-
access_level_validator = EnumAttributeValidator.new('String', ['Contributor', 'Office', 'Region', 'Company', 'Admin'])
|
186
|
-
return false unless access_level_validator.valid?(@access_level)
|
187
163
|
true
|
188
164
|
end
|
189
165
|
|
190
|
-
# Custom attribute writer method checking allowed values (enum).
|
191
|
-
# @param [Object] access_level Object to be assigned
|
192
|
-
def access_level=(access_level)
|
193
|
-
validator = EnumAttributeValidator.new('String', ['Contributor', 'Office', 'Region', 'Company', 'Admin'])
|
194
|
-
unless validator.valid?(access_level)
|
195
|
-
fail ArgumentError, 'invalid value for "access_level", must be one of #{validator.allowable_values}.'
|
196
|
-
end
|
197
|
-
@access_level = access_level
|
198
|
-
end
|
199
|
-
|
200
166
|
# Checks equality by comparing each attribute.
|
201
167
|
# @param [Object] Object to be compared
|
202
168
|
def ==(o)
|
@@ -35,28 +35,6 @@ module DocuSign_Rooms
|
|
35
35
|
|
36
36
|
attr_accessor :profile_image_url
|
37
37
|
|
38
|
-
class EnumAttributeValidator
|
39
|
-
attr_reader :datatype
|
40
|
-
attr_reader :allowable_values
|
41
|
-
|
42
|
-
def initialize(datatype, allowable_values)
|
43
|
-
@allowable_values = allowable_values.map do |value|
|
44
|
-
case datatype.to_s
|
45
|
-
when /Integer/i
|
46
|
-
value.to_i
|
47
|
-
when /Float/i
|
48
|
-
value.to_f
|
49
|
-
else
|
50
|
-
value
|
51
|
-
end
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
|
-
def valid?(value)
|
56
|
-
!value || allowable_values.include?(value)
|
57
|
-
end
|
58
|
-
end
|
59
|
-
|
60
38
|
# Attribute mapping from ruby-style variable name to JSON key.
|
61
39
|
def self.attribute_map
|
62
40
|
{
|
@@ -83,7 +61,7 @@ module DocuSign_Rooms
|
|
83
61
|
:'last_name' => :'String',
|
84
62
|
:'is_locked_out' => :'BOOLEAN',
|
85
63
|
:'status' => :'String',
|
86
|
-
:'access_level' => :'
|
64
|
+
:'access_level' => :'AccessLevel',
|
87
65
|
:'default_office_id' => :'Integer',
|
88
66
|
:'title_id' => :'Integer',
|
89
67
|
:'role_id' => :'Integer',
|
@@ -154,21 +132,9 @@ module DocuSign_Rooms
|
|
154
132
|
# Check to see if the all the properties in the model are valid
|
155
133
|
# @return true if the model is valid
|
156
134
|
def valid?
|
157
|
-
access_level_validator = EnumAttributeValidator.new('String', ['Contributor', 'Office', 'Region', 'Company', 'Admin'])
|
158
|
-
return false unless access_level_validator.valid?(@access_level)
|
159
135
|
true
|
160
136
|
end
|
161
137
|
|
162
|
-
# Custom attribute writer method checking allowed values (enum).
|
163
|
-
# @param [Object] access_level Object to be assigned
|
164
|
-
def access_level=(access_level)
|
165
|
-
validator = EnumAttributeValidator.new('String', ['Contributor', 'Office', 'Region', 'Company', 'Admin'])
|
166
|
-
unless validator.valid?(access_level)
|
167
|
-
fail ArgumentError, 'invalid value for "access_level", must be one of #{validator.allowable_values}.'
|
168
|
-
end
|
169
|
-
@access_level = access_level
|
170
|
-
end
|
171
|
-
|
172
138
|
# Checks equality by comparing each attribute.
|
173
139
|
# @param [Object] Object to be compared
|
174
140
|
def ==(o)
|
@@ -25,6 +25,8 @@ module DocuSign_Rooms
|
|
25
25
|
|
26
26
|
attr_accessor :prior_uri
|
27
27
|
|
28
|
+
attr_accessor :total_row_count
|
29
|
+
|
28
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
29
31
|
def self.attribute_map
|
30
32
|
{
|
@@ -33,7 +35,8 @@ module DocuSign_Rooms
|
|
33
35
|
:'start_position' => :'startPosition',
|
34
36
|
:'end_position' => :'endPosition',
|
35
37
|
:'next_uri' => :'nextUri',
|
36
|
-
:'prior_uri' => :'priorUri'
|
38
|
+
:'prior_uri' => :'priorUri',
|
39
|
+
:'total_row_count' => :'totalRowCount'
|
37
40
|
}
|
38
41
|
end
|
39
42
|
|
@@ -45,7 +48,8 @@ module DocuSign_Rooms
|
|
45
48
|
:'start_position' => :'Integer',
|
46
49
|
:'end_position' => :'Integer',
|
47
50
|
:'next_uri' => :'String',
|
48
|
-
:'prior_uri' => :'String'
|
51
|
+
:'prior_uri' => :'String',
|
52
|
+
:'total_row_count' => :'Integer'
|
49
53
|
}
|
50
54
|
end
|
51
55
|
|
@@ -82,6 +86,10 @@ module DocuSign_Rooms
|
|
82
86
|
if attributes.has_key?(:'priorUri')
|
83
87
|
self.prior_uri = attributes[:'priorUri']
|
84
88
|
end
|
89
|
+
|
90
|
+
if attributes.has_key?(:'totalRowCount')
|
91
|
+
self.total_row_count = attributes[:'totalRowCount']
|
92
|
+
end
|
85
93
|
end
|
86
94
|
|
87
95
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -107,7 +115,8 @@ module DocuSign_Rooms
|
|
107
115
|
start_position == o.start_position &&
|
108
116
|
end_position == o.end_position &&
|
109
117
|
next_uri == o.next_uri &&
|
110
|
-
prior_uri == o.prior_uri
|
118
|
+
prior_uri == o.prior_uri &&
|
119
|
+
total_row_count == o.total_row_count
|
111
120
|
end
|
112
121
|
|
113
122
|
# @see the `==` method
|
@@ -119,7 +128,7 @@ module DocuSign_Rooms
|
|
119
128
|
# Calculates hash code according to all attributes.
|
120
129
|
# @return [Fixnum] Hash code
|
121
130
|
def hash
|
122
|
-
[user_summaries, result_set_size, start_position, end_position, next_uri, prior_uri].hash
|
131
|
+
[user_summaries, result_set_size, start_position, end_position, next_uri, prior_uri, total_row_count].hash
|
123
132
|
end
|
124
133
|
|
125
134
|
# Builds the object from hash
|
@@ -33,28 +33,6 @@ module DocuSign_Rooms
|
|
33
33
|
|
34
34
|
attr_accessor :redirect_url
|
35
35
|
|
36
|
-
class EnumAttributeValidator
|
37
|
-
attr_reader :datatype
|
38
|
-
attr_reader :allowable_values
|
39
|
-
|
40
|
-
def initialize(datatype, allowable_values)
|
41
|
-
@allowable_values = allowable_values.map do |value|
|
42
|
-
case datatype.to_s
|
43
|
-
when /Integer/i
|
44
|
-
value.to_i
|
45
|
-
when /Float/i
|
46
|
-
value.to_f
|
47
|
-
else
|
48
|
-
value
|
49
|
-
end
|
50
|
-
end
|
51
|
-
end
|
52
|
-
|
53
|
-
def valid?(value)
|
54
|
-
!value || allowable_values.include?(value)
|
55
|
-
end
|
56
|
-
end
|
57
|
-
|
58
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
59
37
|
def self.attribute_map
|
60
38
|
{
|
@@ -78,7 +56,7 @@ module DocuSign_Rooms
|
|
78
56
|
:'last_name' => :'String',
|
79
57
|
:'email' => :'String',
|
80
58
|
:'role_id' => :'Integer',
|
81
|
-
:'access_level' => :'
|
59
|
+
:'access_level' => :'AccessLevel',
|
82
60
|
:'default_office_id' => :'Integer',
|
83
61
|
:'regions' => :'Array<Integer>',
|
84
62
|
:'offices' => :'Array<Integer>',
|
@@ -183,23 +161,11 @@ module DocuSign_Rooms
|
|
183
161
|
return false if @email.nil?
|
184
162
|
return false if @role_id.nil?
|
185
163
|
return false if @access_level.nil?
|
186
|
-
access_level_validator = EnumAttributeValidator.new('String', ['Contributor', 'Office', 'Region', 'Company', 'Admin'])
|
187
|
-
return false unless access_level_validator.valid?(@access_level)
|
188
164
|
return false if @default_office_id.nil?
|
189
165
|
return false if @e_sign_permission_profile_id.nil?
|
190
166
|
true
|
191
167
|
end
|
192
168
|
|
193
|
-
# Custom attribute writer method checking allowed values (enum).
|
194
|
-
# @param [Object] access_level Object to be assigned
|
195
|
-
def access_level=(access_level)
|
196
|
-
validator = EnumAttributeValidator.new('String', ['Contributor', 'Office', 'Region', 'Company', 'Admin'])
|
197
|
-
unless validator.valid?(access_level)
|
198
|
-
fail ArgumentError, 'invalid value for "access_level", must be one of #{validator.allowable_values}.'
|
199
|
-
end
|
200
|
-
@access_level = access_level
|
201
|
-
end
|
202
|
-
|
203
169
|
# Checks equality by comparing each attribute.
|
204
170
|
# @param [Object] Object to be compared
|
205
171
|
def ==(o)
|
data/tests/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
docusign_rooms (1.
|
4
|
+
docusign_rooms (1.1.0.rc1)
|
5
5
|
json (~> 2.1, >= 2.1.0)
|
6
6
|
jwt (~> 2.2, >= 2.2.1)
|
7
7
|
typhoeus (~> 1.0, >= 1.0.1)
|
@@ -14,7 +14,7 @@ GEM
|
|
14
14
|
ffi (>= 1.3.0)
|
15
15
|
ffi (1.13.1)
|
16
16
|
json (2.3.1)
|
17
|
-
jwt (2.2.
|
17
|
+
jwt (2.2.2)
|
18
18
|
rspec (3.9.0)
|
19
19
|
rspec-core (~> 3.9.0)
|
20
20
|
rspec-expectations (~> 3.9.0)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: docusign_rooms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.1.0.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DocuSign
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwt
|
@@ -225,6 +225,7 @@ files:
|
|
225
225
|
- LICENSE
|
226
226
|
- README.md
|
227
227
|
- Rakefile
|
228
|
+
- docusign_rooms-1.0.0.gem
|
228
229
|
- docusign_rooms.gemspec
|
229
230
|
- git_push.sh
|
230
231
|
- lib/.DS_Store
|
@@ -269,6 +270,8 @@ files:
|
|
269
270
|
- lib/docusign_rooms/client/api_error.rb
|
270
271
|
- lib/docusign_rooms/client/auth/oauth.rb
|
271
272
|
- lib/docusign_rooms/configuration.rb
|
273
|
+
- lib/docusign_rooms/models/access_level.rb
|
274
|
+
- lib/docusign_rooms/models/account_status.rb
|
272
275
|
- lib/docusign_rooms/models/account_summary.rb
|
273
276
|
- lib/docusign_rooms/models/activity_type.rb
|
274
277
|
- lib/docusign_rooms/models/api_error.rb
|
@@ -299,9 +302,14 @@ files:
|
|
299
302
|
- lib/docusign_rooms/models/field_data_for_create.rb
|
300
303
|
- lib/docusign_rooms/models/field_data_for_update.rb
|
301
304
|
- lib/docusign_rooms/models/field_set.rb
|
305
|
+
- lib/docusign_rooms/models/fields_custom_data_filter_type.rb
|
302
306
|
- lib/docusign_rooms/models/financing_type.rb
|
303
307
|
- lib/docusign_rooms/models/form_details.rb
|
304
308
|
- lib/docusign_rooms/models/form_for_add.rb
|
309
|
+
- lib/docusign_rooms/models/form_group.rb
|
310
|
+
- lib/docusign_rooms/models/form_group_for_create.rb
|
311
|
+
- lib/docusign_rooms/models/form_group_for_update.rb
|
312
|
+
- lib/docusign_rooms/models/form_group_form_to_assign.rb
|
305
313
|
- lib/docusign_rooms/models/form_group_summary.rb
|
306
314
|
- lib/docusign_rooms/models/form_group_summary_list.rb
|
307
315
|
- lib/docusign_rooms/models/form_library_summary.rb
|
@@ -325,7 +333,9 @@ files:
|
|
325
333
|
- lib/docusign_rooms/models/global_task_statuses.rb
|
326
334
|
- lib/docusign_rooms/models/global_time_zones.rb
|
327
335
|
- lib/docusign_rooms/models/global_transaction_sides.rb
|
336
|
+
- lib/docusign_rooms/models/group_form.rb
|
328
337
|
- lib/docusign_rooms/models/locked_out_details.rb
|
338
|
+
- lib/docusign_rooms/models/member_sorting_option.rb
|
329
339
|
- lib/docusign_rooms/models/nullable_field_data.rb
|
330
340
|
- lib/docusign_rooms/models/nullable_permissions.rb
|
331
341
|
- lib/docusign_rooms/models/office.rb
|
@@ -336,6 +346,7 @@ files:
|
|
336
346
|
- lib/docusign_rooms/models/office_summary_list.rb
|
337
347
|
- lib/docusign_rooms/models/origin_of_lead.rb
|
338
348
|
- lib/docusign_rooms/models/permissions.rb
|
349
|
+
- lib/docusign_rooms/models/product_version.rb
|
339
350
|
- lib/docusign_rooms/models/property_type.rb
|
340
351
|
- lib/docusign_rooms/models/region.rb
|
341
352
|
- lib/docusign_rooms/models/region_reference_count.rb
|
@@ -351,12 +362,14 @@ files:
|
|
351
362
|
- lib/docusign_rooms/models/room_contact_type.rb
|
352
363
|
- lib/docusign_rooms/models/room_document.rb
|
353
364
|
- lib/docusign_rooms/models/room_document_list.rb
|
365
|
+
- lib/docusign_rooms/models/room_document_owner.rb
|
354
366
|
- lib/docusign_rooms/models/room_folder.rb
|
355
367
|
- lib/docusign_rooms/models/room_folder_list.rb
|
356
368
|
- lib/docusign_rooms/models/room_for_create.rb
|
357
369
|
- lib/docusign_rooms/models/room_invite.rb
|
358
370
|
- lib/docusign_rooms/models/room_invite_response.rb
|
359
371
|
- lib/docusign_rooms/models/room_picture.rb
|
372
|
+
- lib/docusign_rooms/models/room_status.rb
|
360
373
|
- lib/docusign_rooms/models/room_summary.rb
|
361
374
|
- lib/docusign_rooms/models/room_summary_list.rb
|
362
375
|
- lib/docusign_rooms/models/room_template.rb
|
@@ -364,6 +377,7 @@ files:
|
|
364
377
|
- lib/docusign_rooms/models/room_user.rb
|
365
378
|
- lib/docusign_rooms/models/room_user_for_update.rb
|
366
379
|
- lib/docusign_rooms/models/room_user_removal_detail.rb
|
380
|
+
- lib/docusign_rooms/models/room_user_sorting_option.rb
|
367
381
|
- lib/docusign_rooms/models/room_user_summary.rb
|
368
382
|
- lib/docusign_rooms/models/room_users_result.rb
|
369
383
|
- lib/docusign_rooms/models/select_list_field_option.rb
|
@@ -408,9 +422,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
408
422
|
version: '1.9'
|
409
423
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
410
424
|
requirements:
|
411
|
-
- - "
|
425
|
+
- - ">"
|
412
426
|
- !ruby/object:Gem::Version
|
413
|
-
version:
|
427
|
+
version: 1.3.1
|
414
428
|
requirements: []
|
415
429
|
rubygems_version: 3.0.3
|
416
430
|
signing_key:
|