docspring 1.2.1 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (122) hide show
  1. checksums.yaml +4 -4
  2. data/.openapi-generator/VERSION +1 -1
  3. data/CHANGELOG.md +4 -0
  4. data/Gemfile.lock +1 -1
  5. data/README.md +4 -4
  6. data/docs/CombinePdfsData.md +4 -4
  7. data/docs/CombinedSubmissionData.md +3 -3
  8. data/docs/CreateSubmissionDataRequestData.md +2 -2
  9. data/docs/HtmlTemplateData.md +2 -2
  10. data/docs/SubmissionBatchData.md +2 -2
  11. data/docs/SubmissionData.md +4 -4
  12. data/docs/SubmissionDataBatchRequest.md +2 -2
  13. data/docs/TemplateData.md +2 -2
  14. data/docs/TemplatestemplateIdaddFieldsFields.md +9 -9
  15. data/docs/UpdateSubmissionDataRequestData.md +9 -9
  16. data/docs/UploadTemplateData.md +2 -2
  17. data/docspring.gemspec +1 -1
  18. data/lib/docspring.rb +1 -1
  19. data/lib/docspring/api/pdf_api.rb +1 -1
  20. data/lib/docspring/api_client.rb +1 -1
  21. data/lib/docspring/api_error.rb +1 -1
  22. data/lib/docspring/configuration.rb +1 -1
  23. data/lib/docspring/models/add_fields_data.rb +1 -1
  24. data/lib/docspring/models/add_fields_template_response.rb +1 -1
  25. data/lib/docspring/models/authentication_error.rb +1 -1
  26. data/lib/docspring/models/authentication_success_response.rb +1 -1
  27. data/lib/docspring/models/combine_pdfs_data.rb +28 -28
  28. data/lib/docspring/models/combined_submission.rb +1 -1
  29. data/lib/docspring/models/combined_submission_action.rb +1 -6
  30. data/lib/docspring/models/combined_submission_data.rb +23 -23
  31. data/lib/docspring/models/create_combined_submission_response.rb +1 -1
  32. data/lib/docspring/models/create_custom_file_data.rb +1 -1
  33. data/lib/docspring/models/create_custom_file_response.rb +1 -1
  34. data/lib/docspring/models/create_folder_data.rb +1 -1
  35. data/lib/docspring/models/create_html_template_data.rb +1 -1
  36. data/lib/docspring/models/create_submission_batch_response.rb +1 -1
  37. data/lib/docspring/models/create_submission_batch_submissions_response.rb +1 -1
  38. data/lib/docspring/models/create_submission_data_request_data.rb +20 -20
  39. data/lib/docspring/models/create_submission_data_request_token_response.rb +1 -1
  40. data/lib/docspring/models/create_submission_data_request_token_response_token.rb +1 -1
  41. data/lib/docspring/models/create_submission_response.rb +1 -1
  42. data/lib/docspring/models/create_template_from_upload_data.rb +1 -1
  43. data/lib/docspring/models/custom_file.rb +1 -1
  44. data/lib/docspring/models/error.rb +1 -1
  45. data/lib/docspring/models/folder.rb +1 -1
  46. data/lib/docspring/models/folders_folder.rb +1 -1
  47. data/lib/docspring/models/html_template_data.rb +20 -20
  48. data/lib/docspring/models/invalid_request.rb +1 -1
  49. data/lib/docspring/models/move_folder_data.rb +1 -1
  50. data/lib/docspring/models/move_template_data.rb +1 -1
  51. data/lib/docspring/models/pending_template.rb +1 -1
  52. data/lib/docspring/models/rename_folder_data.rb +1 -1
  53. data/lib/docspring/models/submission.rb +1 -1
  54. data/lib/docspring/models/submission_action.rb +1 -6
  55. data/lib/docspring/models/submission_batch.rb +1 -1
  56. data/lib/docspring/models/submission_batch_data.rb +16 -16
  57. data/lib/docspring/models/submission_data.rb +34 -34
  58. data/lib/docspring/models/submission_data_batch_request.rb +20 -20
  59. data/lib/docspring/models/submission_data_request.rb +1 -16
  60. data/lib/docspring/models/template.rb +1 -1
  61. data/lib/docspring/models/template_data.rb +20 -20
  62. data/lib/docspring/models/templatestemplate_idadd_fields_fields.rb +107 -107
  63. data/lib/docspring/models/update_data_request_response.rb +1 -1
  64. data/lib/docspring/models/update_submission_data_request_data.rb +79 -79
  65. data/lib/docspring/models/update_template_data.rb +1 -1
  66. data/lib/docspring/models/update_template_response.rb +1 -1
  67. data/lib/docspring/models/upload_template_data.rb +20 -20
  68. data/lib/docspring/models/upload_template_data_document.rb +1 -1
  69. data/lib/docspring/models/upload_template_data_document_metadata.rb +1 -1
  70. data/lib/docspring/version.rb +2 -2
  71. data/spec/api/pdf_api_spec_original.skipped.rb +1 -1
  72. data/spec/api_client_spec.rb +1 -1
  73. data/spec/configuration_spec.rb +1 -1
  74. data/spec/models/add_fields_data_spec.rb +1 -1
  75. data/spec/models/add_fields_template_response_spec.rb +1 -1
  76. data/spec/models/authentication_error_spec.rb +1 -1
  77. data/spec/models/authentication_success_response_spec.rb +1 -1
  78. data/spec/models/combine_pdfs_data_spec.rb +5 -5
  79. data/spec/models/combined_submission_action_spec.rb +1 -1
  80. data/spec/models/combined_submission_data_spec.rb +5 -5
  81. data/spec/models/combined_submission_spec.rb +1 -1
  82. data/spec/models/create_combined_submission_response_spec.rb +1 -1
  83. data/spec/models/create_custom_file_data_spec.rb +1 -1
  84. data/spec/models/create_custom_file_response_spec.rb +1 -1
  85. data/spec/models/create_folder_data_spec.rb +1 -1
  86. data/spec/models/create_html_template_data_spec.rb +1 -1
  87. data/spec/models/create_submission_batch_response_spec.rb +1 -1
  88. data/spec/models/create_submission_batch_submissions_response_spec.rb +1 -1
  89. data/spec/models/create_submission_data_request_data_spec.rb +9 -9
  90. data/spec/models/create_submission_data_request_token_response_spec.rb +1 -1
  91. data/spec/models/create_submission_data_request_token_response_token_spec.rb +1 -1
  92. data/spec/models/create_submission_response_spec.rb +1 -1
  93. data/spec/models/create_template_from_upload_data_spec.rb +1 -1
  94. data/spec/models/custom_file_spec.rb +1 -1
  95. data/spec/models/error_spec.rb +1 -1
  96. data/spec/models/folder_spec.rb +1 -1
  97. data/spec/models/folders_folder_spec.rb +1 -1
  98. data/spec/models/html_template_data_spec.rb +5 -5
  99. data/spec/models/invalid_request_spec.rb +1 -1
  100. data/spec/models/move_folder_data_spec.rb +1 -1
  101. data/spec/models/move_template_data_spec.rb +1 -1
  102. data/spec/models/pending_template_spec.rb +1 -1
  103. data/spec/models/rename_folder_data_spec.rb +1 -1
  104. data/spec/models/submission_action_spec.rb +1 -1
  105. data/spec/models/submission_batch_data_spec.rb +3 -3
  106. data/spec/models/submission_batch_spec.rb +1 -1
  107. data/spec/models/submission_data_batch_request_spec.rb +5 -5
  108. data/spec/models/submission_data_request_spec.rb +1 -1
  109. data/spec/models/submission_data_spec.rb +7 -7
  110. data/spec/models/submission_spec.rb +1 -1
  111. data/spec/models/template_data_spec.rb +5 -5
  112. data/spec/models/template_spec.rb +1 -1
  113. data/spec/models/templatestemplate_idadd_fields_fields_spec.rb +27 -27
  114. data/spec/models/update_data_request_response_spec.rb +1 -1
  115. data/spec/models/update_submission_data_request_data_spec.rb +17 -17
  116. data/spec/models/update_template_data_spec.rb +1 -1
  117. data/spec/models/update_template_response_spec.rb +1 -1
  118. data/spec/models/upload_template_data_document_metadata_spec.rb +1 -1
  119. data/spec/models/upload_template_data_document_spec.rb +1 -1
  120. data/spec/models/upload_template_data_spec.rb +6 -6
  121. data/spec/spec_helper.rb +1 -1
  122. metadata +2 -2
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 3.3.0-SNAPSHOT
9
+ OpenAPI Generator version: 3.3.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 3.3.0-SNAPSHOT
9
+ OpenAPI Generator version: 3.3.0
10
10
 
11
11
  =end
12
12
 
@@ -14,31 +14,31 @@ require 'date'
14
14
 
15
15
  module DocSpring
16
16
  class UpdateSubmissionDataRequestData
17
- attr_accessor :name
17
+ attr_accessor :auth_phone_number_hash
18
18
 
19
- attr_accessor :email
19
+ attr_accessor :auth_provider
20
20
 
21
- attr_accessor :order
21
+ attr_accessor :auth_second_factor_type
22
22
 
23
- attr_accessor :fields
23
+ attr_accessor :auth_session_id_hash
24
24
 
25
- attr_accessor :metadata
25
+ attr_accessor :auth_session_started_at
26
26
 
27
27
  attr_accessor :auth_type
28
28
 
29
- attr_accessor :auth_second_factor_type
29
+ attr_accessor :auth_user_id_hash
30
30
 
31
- attr_accessor :auth_provider
31
+ attr_accessor :auth_username_hash
32
32
 
33
- attr_accessor :auth_session_started_at
33
+ attr_accessor :email
34
34
 
35
- attr_accessor :auth_session_id_hash
35
+ attr_accessor :fields
36
36
 
37
- attr_accessor :auth_user_id_hash
37
+ attr_accessor :metadata
38
38
 
39
- attr_accessor :auth_username_hash
39
+ attr_accessor :name
40
40
 
41
- attr_accessor :auth_phone_number_hash
41
+ attr_accessor :order
42
42
 
43
43
  class EnumAttributeValidator
44
44
  attr_reader :datatype
@@ -65,38 +65,38 @@ module DocSpring
65
65
  # Attribute mapping from ruby-style variable name to JSON key.
66
66
  def self.attribute_map
67
67
  {
68
- :'name' => :'name',
69
- :'email' => :'email',
70
- :'order' => :'order',
71
- :'fields' => :'fields',
72
- :'metadata' => :'metadata',
73
- :'auth_type' => :'auth_type',
74
- :'auth_second_factor_type' => :'auth_second_factor_type',
68
+ :'auth_phone_number_hash' => :'auth_phone_number_hash',
75
69
  :'auth_provider' => :'auth_provider',
76
- :'auth_session_started_at' => :'auth_session_started_at',
70
+ :'auth_second_factor_type' => :'auth_second_factor_type',
77
71
  :'auth_session_id_hash' => :'auth_session_id_hash',
72
+ :'auth_session_started_at' => :'auth_session_started_at',
73
+ :'auth_type' => :'auth_type',
78
74
  :'auth_user_id_hash' => :'auth_user_id_hash',
79
75
  :'auth_username_hash' => :'auth_username_hash',
80
- :'auth_phone_number_hash' => :'auth_phone_number_hash'
76
+ :'email' => :'email',
77
+ :'fields' => :'fields',
78
+ :'metadata' => :'metadata',
79
+ :'name' => :'name',
80
+ :'order' => :'order'
81
81
  }
82
82
  end
83
83
 
84
84
  # Attribute type mapping.
85
85
  def self.openapi_types
86
86
  {
87
- :'name' => :'String',
88
- :'email' => :'String',
89
- :'order' => :'Integer',
90
- :'fields' => :'Array<String>',
91
- :'metadata' => :'Object',
92
- :'auth_type' => :'String',
93
- :'auth_second_factor_type' => :'String',
87
+ :'auth_phone_number_hash' => :'String',
94
88
  :'auth_provider' => :'String',
95
- :'auth_session_started_at' => :'String',
89
+ :'auth_second_factor_type' => :'String',
96
90
  :'auth_session_id_hash' => :'String',
91
+ :'auth_session_started_at' => :'String',
92
+ :'auth_type' => :'String',
97
93
  :'auth_user_id_hash' => :'String',
98
94
  :'auth_username_hash' => :'String',
99
- :'auth_phone_number_hash' => :'String'
95
+ :'email' => :'String',
96
+ :'fields' => :'Array<String>',
97
+ :'metadata' => :'Object',
98
+ :'name' => :'String',
99
+ :'order' => :'Integer'
100
100
  }
101
101
  end
102
102
 
@@ -108,58 +108,58 @@ module DocSpring
108
108
  # convert string to symbol for hash key
109
109
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
110
110
 
111
- if attributes.has_key?(:'name')
112
- self.name = attributes[:'name']
111
+ if attributes.has_key?(:'auth_phone_number_hash')
112
+ self.auth_phone_number_hash = attributes[:'auth_phone_number_hash']
113
113
  end
114
114
 
115
- if attributes.has_key?(:'email')
116
- self.email = attributes[:'email']
115
+ if attributes.has_key?(:'auth_provider')
116
+ self.auth_provider = attributes[:'auth_provider']
117
117
  end
118
118
 
119
- if attributes.has_key?(:'order')
120
- self.order = attributes[:'order']
119
+ if attributes.has_key?(:'auth_second_factor_type')
120
+ self.auth_second_factor_type = attributes[:'auth_second_factor_type']
121
121
  end
122
122
 
123
- if attributes.has_key?(:'fields')
124
- if (value = attributes[:'fields']).is_a?(Array)
125
- self.fields = value
126
- end
123
+ if attributes.has_key?(:'auth_session_id_hash')
124
+ self.auth_session_id_hash = attributes[:'auth_session_id_hash']
127
125
  end
128
126
 
129
- if attributes.has_key?(:'metadata')
130
- self.metadata = attributes[:'metadata']
127
+ if attributes.has_key?(:'auth_session_started_at')
128
+ self.auth_session_started_at = attributes[:'auth_session_started_at']
131
129
  end
132
130
 
133
131
  if attributes.has_key?(:'auth_type')
134
132
  self.auth_type = attributes[:'auth_type']
135
133
  end
136
134
 
137
- if attributes.has_key?(:'auth_second_factor_type')
138
- self.auth_second_factor_type = attributes[:'auth_second_factor_type']
135
+ if attributes.has_key?(:'auth_user_id_hash')
136
+ self.auth_user_id_hash = attributes[:'auth_user_id_hash']
139
137
  end
140
138
 
141
- if attributes.has_key?(:'auth_provider')
142
- self.auth_provider = attributes[:'auth_provider']
139
+ if attributes.has_key?(:'auth_username_hash')
140
+ self.auth_username_hash = attributes[:'auth_username_hash']
143
141
  end
144
142
 
145
- if attributes.has_key?(:'auth_session_started_at')
146
- self.auth_session_started_at = attributes[:'auth_session_started_at']
143
+ if attributes.has_key?(:'email')
144
+ self.email = attributes[:'email']
147
145
  end
148
146
 
149
- if attributes.has_key?(:'auth_session_id_hash')
150
- self.auth_session_id_hash = attributes[:'auth_session_id_hash']
147
+ if attributes.has_key?(:'fields')
148
+ if (value = attributes[:'fields']).is_a?(Array)
149
+ self.fields = value
150
+ end
151
151
  end
152
152
 
153
- if attributes.has_key?(:'auth_user_id_hash')
154
- self.auth_user_id_hash = attributes[:'auth_user_id_hash']
153
+ if attributes.has_key?(:'metadata')
154
+ self.metadata = attributes[:'metadata']
155
155
  end
156
156
 
157
- if attributes.has_key?(:'auth_username_hash')
158
- self.auth_username_hash = attributes[:'auth_username_hash']
157
+ if attributes.has_key?(:'name')
158
+ self.name = attributes[:'name']
159
159
  end
160
160
 
161
- if attributes.has_key?(:'auth_phone_number_hash')
162
- self.auth_phone_number_hash = attributes[:'auth_phone_number_hash']
161
+ if attributes.has_key?(:'order')
162
+ self.order = attributes[:'order']
163
163
  end
164
164
  end
165
165
 
@@ -173,23 +173,13 @@ module DocSpring
173
173
  # Check to see if the all the properties in the model are valid
174
174
  # @return true if the model is valid
175
175
  def valid?
176
- auth_type_validator = EnumAttributeValidator.new('String', ['none', 'password', 'oauth', 'email_link', 'phone_number', 'ldap', 'saml'])
177
- return false unless auth_type_validator.valid?(@auth_type)
178
176
  auth_second_factor_type_validator = EnumAttributeValidator.new('String', ['none', 'phone_number', 'totp', 'mobile_push', 'security_key', 'fingerprint'])
179
177
  return false unless auth_second_factor_type_validator.valid?(@auth_second_factor_type)
178
+ auth_type_validator = EnumAttributeValidator.new('String', ['none', 'password', 'oauth', 'email_link', 'phone_number', 'ldap', 'saml'])
179
+ return false unless auth_type_validator.valid?(@auth_type)
180
180
  true
181
181
  end
182
182
 
183
- # Custom attribute writer method checking allowed values (enum).
184
- # @param [Object] auth_type Object to be assigned
185
- def auth_type=(auth_type)
186
- validator = EnumAttributeValidator.new('String', ['none', 'password', 'oauth', 'email_link', 'phone_number', 'ldap', 'saml'])
187
- unless validator.valid?(auth_type)
188
- fail ArgumentError, 'invalid value for "auth_type", must be one of #{validator.allowable_values}.'
189
- end
190
- @auth_type = auth_type
191
- end
192
-
193
183
  # Custom attribute writer method checking allowed values (enum).
194
184
  # @param [Object] auth_second_factor_type Object to be assigned
195
185
  def auth_second_factor_type=(auth_second_factor_type)
@@ -200,24 +190,34 @@ module DocSpring
200
190
  @auth_second_factor_type = auth_second_factor_type
201
191
  end
202
192
 
193
+ # Custom attribute writer method checking allowed values (enum).
194
+ # @param [Object] auth_type Object to be assigned
195
+ def auth_type=(auth_type)
196
+ validator = EnumAttributeValidator.new('String', ['none', 'password', 'oauth', 'email_link', 'phone_number', 'ldap', 'saml'])
197
+ unless validator.valid?(auth_type)
198
+ fail ArgumentError, 'invalid value for "auth_type", must be one of #{validator.allowable_values}.'
199
+ end
200
+ @auth_type = auth_type
201
+ end
202
+
203
203
  # Checks equality by comparing each attribute.
204
204
  # @param [Object] Object to be compared
205
205
  def ==(o)
206
206
  return true if self.equal?(o)
207
207
  self.class == o.class &&
208
- name == o.name &&
209
- email == o.email &&
210
- order == o.order &&
211
- fields == o.fields &&
212
- metadata == o.metadata &&
213
- auth_type == o.auth_type &&
214
- auth_second_factor_type == o.auth_second_factor_type &&
208
+ auth_phone_number_hash == o.auth_phone_number_hash &&
215
209
  auth_provider == o.auth_provider &&
216
- auth_session_started_at == o.auth_session_started_at &&
210
+ auth_second_factor_type == o.auth_second_factor_type &&
217
211
  auth_session_id_hash == o.auth_session_id_hash &&
212
+ auth_session_started_at == o.auth_session_started_at &&
213
+ auth_type == o.auth_type &&
218
214
  auth_user_id_hash == o.auth_user_id_hash &&
219
215
  auth_username_hash == o.auth_username_hash &&
220
- auth_phone_number_hash == o.auth_phone_number_hash
216
+ email == o.email &&
217
+ fields == o.fields &&
218
+ metadata == o.metadata &&
219
+ name == o.name &&
220
+ order == o.order
221
221
  end
222
222
 
223
223
  # @see the `==` method
@@ -229,7 +229,7 @@ module DocSpring
229
229
  # Calculates hash code according to all attributes.
230
230
  # @return [Fixnum] Hash code
231
231
  def hash
232
- [name, email, order, fields, metadata, auth_type, auth_second_factor_type, auth_provider, auth_session_started_at, auth_session_id_hash, auth_user_id_hash, auth_username_hash, auth_phone_number_hash].hash
232
+ [auth_phone_number_hash, auth_provider, auth_second_factor_type, auth_session_id_hash, auth_session_started_at, auth_type, auth_user_id_hash, auth_username_hash, email, fields, metadata, name, order].hash
233
233
  end
234
234
 
235
235
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 3.3.0-SNAPSHOT
9
+ OpenAPI Generator version: 3.3.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 3.3.0-SNAPSHOT
9
+ OpenAPI Generator version: 3.3.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 3.3.0-SNAPSHOT
9
+ OpenAPI Generator version: 3.3.0
10
10
 
11
11
  =end
12
12
 
@@ -20,12 +20,12 @@ module DocSpring
20
20
 
21
21
  attr_accessor :scss
22
22
 
23
- attr_accessor :expire_after
24
-
25
23
  attr_accessor :allow_additional_properties
26
24
 
27
25
  attr_accessor :document
28
26
 
27
+ attr_accessor :expire_after
28
+
29
29
  attr_accessor :description
30
30
 
31
31
  attr_accessor :public_submissions
@@ -42,10 +42,10 @@ module DocSpring
42
42
 
43
43
  attr_accessor :name
44
44
 
45
- attr_accessor :html
46
-
47
45
  attr_accessor :footer_html
48
46
 
47
+ attr_accessor :html
48
+
49
49
  attr_accessor :template_type
50
50
 
51
51
  attr_accessor :redirect_url
@@ -78,9 +78,9 @@ module DocSpring
78
78
  :'expiration_interval' => :'expiration_interval',
79
79
  :'webhook_url' => :'webhook_url',
80
80
  :'scss' => :'scss',
81
- :'expire_after' => :'expire_after',
82
81
  :'allow_additional_properties' => :'allow_additional_properties',
83
82
  :'document' => :'document',
83
+ :'expire_after' => :'expire_after',
84
84
  :'description' => :'description',
85
85
  :'public_submissions' => :'public_submissions',
86
86
  :'slack_webhook_url' => :'slack_webhook_url',
@@ -89,8 +89,8 @@ module DocSpring
89
89
  :'editable_submissions' => :'editable_submissions',
90
90
  :'expire_submissions' => :'expire_submissions',
91
91
  :'name' => :'name',
92
- :'html' => :'html',
93
92
  :'footer_html' => :'footer_html',
93
+ :'html' => :'html',
94
94
  :'template_type' => :'template_type',
95
95
  :'redirect_url' => :'redirect_url'
96
96
  }
@@ -102,9 +102,9 @@ module DocSpring
102
102
  :'expiration_interval' => :'String',
103
103
  :'webhook_url' => :'String',
104
104
  :'scss' => :'String',
105
- :'expire_after' => :'Float',
106
105
  :'allow_additional_properties' => :'BOOLEAN',
107
106
  :'document' => :'UploadTemplateDataDocument',
107
+ :'expire_after' => :'Float',
108
108
  :'description' => :'String',
109
109
  :'public_submissions' => :'BOOLEAN',
110
110
  :'slack_webhook_url' => :'String',
@@ -113,8 +113,8 @@ module DocSpring
113
113
  :'editable_submissions' => :'BOOLEAN',
114
114
  :'expire_submissions' => :'BOOLEAN',
115
115
  :'name' => :'String',
116
- :'html' => :'String',
117
116
  :'footer_html' => :'String',
117
+ :'html' => :'String',
118
118
  :'template_type' => :'String',
119
119
  :'redirect_url' => :'String'
120
120
  }
@@ -140,10 +140,6 @@ module DocSpring
140
140
  self.scss = attributes[:'scss']
141
141
  end
142
142
 
143
- if attributes.has_key?(:'expire_after')
144
- self.expire_after = attributes[:'expire_after']
145
- end
146
-
147
143
  if attributes.has_key?(:'allow_additional_properties')
148
144
  self.allow_additional_properties = attributes[:'allow_additional_properties']
149
145
  end
@@ -152,6 +148,10 @@ module DocSpring
152
148
  self.document = attributes[:'document']
153
149
  end
154
150
 
151
+ if attributes.has_key?(:'expire_after')
152
+ self.expire_after = attributes[:'expire_after']
153
+ end
154
+
155
155
  if attributes.has_key?(:'description')
156
156
  self.description = attributes[:'description']
157
157
  end
@@ -184,14 +184,14 @@ module DocSpring
184
184
  self.name = attributes[:'name']
185
185
  end
186
186
 
187
- if attributes.has_key?(:'html')
188
- self.html = attributes[:'html']
189
- end
190
-
191
187
  if attributes.has_key?(:'footer_html')
192
188
  self.footer_html = attributes[:'footer_html']
193
189
  end
194
190
 
191
+ if attributes.has_key?(:'html')
192
+ self.html = attributes[:'html']
193
+ end
194
+
195
195
  if attributes.has_key?(:'template_type')
196
196
  self.template_type = attributes[:'template_type']
197
197
  end
@@ -246,9 +246,9 @@ module DocSpring
246
246
  expiration_interval == o.expiration_interval &&
247
247
  webhook_url == o.webhook_url &&
248
248
  scss == o.scss &&
249
- expire_after == o.expire_after &&
250
249
  allow_additional_properties == o.allow_additional_properties &&
251
250
  document == o.document &&
251
+ expire_after == o.expire_after &&
252
252
  description == o.description &&
253
253
  public_submissions == o.public_submissions &&
254
254
  slack_webhook_url == o.slack_webhook_url &&
@@ -257,8 +257,8 @@ module DocSpring
257
257
  editable_submissions == o.editable_submissions &&
258
258
  expire_submissions == o.expire_submissions &&
259
259
  name == o.name &&
260
- html == o.html &&
261
260
  footer_html == o.footer_html &&
261
+ html == o.html &&
262
262
  template_type == o.template_type &&
263
263
  redirect_url == o.redirect_url
264
264
  end
@@ -272,7 +272,7 @@ module DocSpring
272
272
  # Calculates hash code according to all attributes.
273
273
  # @return [Fixnum] Hash code
274
274
  def hash
275
- [expiration_interval, webhook_url, scss, expire_after, allow_additional_properties, document, description, public_submissions, slack_webhook_url, header_html, public_web_form, editable_submissions, expire_submissions, name, html, footer_html, template_type, redirect_url].hash
275
+ [expiration_interval, webhook_url, scss, allow_additional_properties, document, expire_after, description, public_submissions, slack_webhook_url, header_html, public_web_form, editable_submissions, expire_submissions, name, footer_html, html, template_type, redirect_url].hash
276
276
  end
277
277
 
278
278
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 3.3.0-SNAPSHOT
9
+ OpenAPI Generator version: 3.3.0
10
10
 
11
11
  =end
12
12