docspring 1.2.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. checksums.yaml +4 -4
  2. data/.openapi-generator/VERSION +1 -1
  3. data/CHANGELOG.md +20 -0
  4. data/Gemfile.lock +2 -7
  5. data/LICENSE +1 -1
  6. data/README.md +6 -4
  7. data/docs/CombinePdfsData.md +4 -4
  8. data/docs/CombinedSubmissionData.md +3 -3
  9. data/docs/CopyTemplateData.md +9 -0
  10. data/docs/CreateSubmissionDataRequestData.md +2 -2
  11. data/docs/HtmlTemplateData.md +2 -2
  12. data/docs/MoveTemplateData.md +1 -1
  13. data/docs/PDFApi.md +53 -1
  14. data/docs/Submission.md +3 -0
  15. data/docs/SubmissionBatchData.md +2 -2
  16. data/docs/SubmissionData.md +4 -4
  17. data/docs/SubmissionDataBatchRequest.md +2 -2
  18. data/docs/SubmissionDataRequest.md +1 -0
  19. data/docs/TemplateData.md +2 -2
  20. data/docs/TemplatestemplateIdaddFieldsFields.md +9 -9
  21. data/docs/UpdateSubmissionDataRequestData.md +9 -9
  22. data/docs/UploadTemplateData.md +2 -2
  23. data/docspring.gemspec +2 -3
  24. data/lib/docspring.rb +2 -1
  25. data/lib/docspring/api/pdf_api.rb +60 -1
  26. data/lib/docspring/api_client.rb +2 -2
  27. data/lib/docspring/api_error.rb +1 -1
  28. data/lib/docspring/configuration.rb +2 -3
  29. data/lib/docspring/models/add_fields_data.rb +1 -1
  30. data/lib/docspring/models/add_fields_template_response.rb +1 -1
  31. data/lib/docspring/models/authentication_error.rb +1 -1
  32. data/lib/docspring/models/authentication_success_response.rb +1 -1
  33. data/lib/docspring/models/combine_pdfs_data.rb +28 -28
  34. data/lib/docspring/models/combined_submission.rb +1 -1
  35. data/lib/docspring/models/combined_submission_action.rb +1 -6
  36. data/lib/docspring/models/combined_submission_data.rb +23 -23
  37. data/lib/docspring/models/copy_template_data.rb +197 -0
  38. data/lib/docspring/models/create_combined_submission_response.rb +1 -1
  39. data/lib/docspring/models/create_custom_file_data.rb +1 -1
  40. data/lib/docspring/models/create_custom_file_response.rb +1 -1
  41. data/lib/docspring/models/create_folder_data.rb +1 -1
  42. data/lib/docspring/models/create_html_template_data.rb +1 -1
  43. data/lib/docspring/models/create_submission_batch_response.rb +1 -1
  44. data/lib/docspring/models/create_submission_batch_submissions_response.rb +1 -1
  45. data/lib/docspring/models/create_submission_data_request_data.rb +20 -20
  46. data/lib/docspring/models/create_submission_data_request_token_response.rb +1 -1
  47. data/lib/docspring/models/create_submission_data_request_token_response_token.rb +1 -1
  48. data/lib/docspring/models/create_submission_response.rb +1 -1
  49. data/lib/docspring/models/create_template_from_upload_data.rb +1 -1
  50. data/lib/docspring/models/custom_file.rb +1 -1
  51. data/lib/docspring/models/error.rb +1 -1
  52. data/lib/docspring/models/folder.rb +1 -1
  53. data/lib/docspring/models/folders_folder.rb +1 -1
  54. data/lib/docspring/models/html_template_data.rb +20 -20
  55. data/lib/docspring/models/invalid_request.rb +1 -1
  56. data/lib/docspring/models/move_folder_data.rb +1 -1
  57. data/lib/docspring/models/move_template_data.rb +6 -1
  58. data/lib/docspring/models/pending_template.rb +1 -1
  59. data/lib/docspring/models/rename_folder_data.rb +1 -1
  60. data/lib/docspring/models/submission.rb +32 -5
  61. data/lib/docspring/models/submission_action.rb +1 -6
  62. data/lib/docspring/models/submission_batch.rb +1 -1
  63. data/lib/docspring/models/submission_batch_data.rb +16 -16
  64. data/lib/docspring/models/submission_data.rb +34 -34
  65. data/lib/docspring/models/submission_data_batch_request.rb +20 -20
  66. data/lib/docspring/models/submission_data_request.rb +14 -15
  67. data/lib/docspring/models/template.rb +1 -1
  68. data/lib/docspring/models/template_data.rb +20 -20
  69. data/lib/docspring/models/templatestemplate_idadd_fields_fields.rb +107 -107
  70. data/lib/docspring/models/update_data_request_response.rb +1 -1
  71. data/lib/docspring/models/update_submission_data_request_data.rb +79 -79
  72. data/lib/docspring/models/update_template_data.rb +1 -1
  73. data/lib/docspring/models/update_template_response.rb +1 -1
  74. data/lib/docspring/models/upload_template_data.rb +20 -20
  75. data/lib/docspring/models/upload_template_data_document.rb +1 -1
  76. data/lib/docspring/models/upload_template_data_document_metadata.rb +1 -1
  77. data/lib/docspring/version.rb +2 -2
  78. data/spec/api/pdf_api_spec_original.skipped.rb +16 -2
  79. data/spec/api_client_spec.rb +1 -1
  80. data/spec/configuration_spec.rb +1 -1
  81. data/spec/models/add_fields_data_spec.rb +1 -1
  82. data/spec/models/add_fields_template_response_spec.rb +1 -1
  83. data/spec/models/authentication_error_spec.rb +1 -1
  84. data/spec/models/authentication_success_response_spec.rb +1 -1
  85. data/spec/models/combine_pdfs_data_spec.rb +5 -5
  86. data/spec/models/combined_submission_action_spec.rb +1 -1
  87. data/spec/models/combined_submission_data_spec.rb +5 -5
  88. data/spec/models/combined_submission_spec.rb +1 -1
  89. data/spec/models/copy_template_data_spec.rb +47 -0
  90. data/spec/models/create_combined_submission_response_spec.rb +1 -1
  91. data/spec/models/create_custom_file_data_spec.rb +1 -1
  92. data/spec/models/create_custom_file_response_spec.rb +1 -1
  93. data/spec/models/create_folder_data_spec.rb +1 -1
  94. data/spec/models/create_html_template_data_spec.rb +1 -1
  95. data/spec/models/create_submission_batch_response_spec.rb +1 -1
  96. data/spec/models/create_submission_batch_submissions_response_spec.rb +1 -1
  97. data/spec/models/create_submission_data_request_data_spec.rb +9 -9
  98. data/spec/models/create_submission_data_request_token_response_spec.rb +1 -1
  99. data/spec/models/create_submission_data_request_token_response_token_spec.rb +1 -1
  100. data/spec/models/create_submission_response_spec.rb +1 -1
  101. data/spec/models/create_template_from_upload_data_spec.rb +1 -1
  102. data/spec/models/custom_file_spec.rb +1 -1
  103. data/spec/models/error_spec.rb +1 -1
  104. data/spec/models/folder_spec.rb +1 -1
  105. data/spec/models/folders_folder_spec.rb +1 -1
  106. data/spec/models/html_template_data_spec.rb +5 -5
  107. data/spec/models/invalid_request_spec.rb +1 -1
  108. data/spec/models/move_folder_data_spec.rb +1 -1
  109. data/spec/models/move_template_data_spec.rb +1 -1
  110. data/spec/models/pending_template_spec.rb +1 -1
  111. data/spec/models/rename_folder_data_spec.rb +1 -1
  112. data/spec/models/submission_action_spec.rb +1 -1
  113. data/spec/models/submission_batch_data_spec.rb +3 -3
  114. data/spec/models/submission_batch_spec.rb +1 -1
  115. data/spec/models/submission_data_batch_request_spec.rb +5 -5
  116. data/spec/models/submission_data_request_spec.rb +7 -1
  117. data/spec/models/submission_data_spec.rb +7 -7
  118. data/spec/models/submission_spec.rb +19 -1
  119. data/spec/models/template_data_spec.rb +5 -5
  120. data/spec/models/template_spec.rb +1 -1
  121. data/spec/models/templatestemplate_idadd_fields_fields_spec.rb +27 -27
  122. data/spec/models/update_data_request_response_spec.rb +1 -1
  123. data/spec/models/update_submission_data_request_data_spec.rb +17 -17
  124. data/spec/models/update_template_data_spec.rb +1 -1
  125. data/spec/models/update_template_response_spec.rb +1 -1
  126. data/spec/models/upload_template_data_document_metadata_spec.rb +1 -1
  127. data/spec/models/upload_template_data_document_spec.rb +1 -1
  128. data/spec/models/upload_template_data_spec.rb +6 -6
  129. data/spec/spec_helper.rb +1 -1
  130. metadata +11 -27
@@ -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,43 +14,43 @@ require 'date'
14
14
 
15
15
  module DocSpring
16
16
  class SubmissionData
17
- attr_accessor :test
17
+ attr_accessor :css
18
18
 
19
19
  attr_accessor :data
20
20
 
21
- attr_accessor :html
21
+ attr_accessor :data_requests
22
22
 
23
- attr_accessor :css
23
+ attr_accessor :field_overrides
24
24
 
25
- attr_accessor :metadata
25
+ attr_accessor :html
26
26
 
27
- attr_accessor :field_overrides
27
+ attr_accessor :metadata
28
28
 
29
- attr_accessor :data_requests
29
+ attr_accessor :test
30
30
 
31
31
  # Attribute mapping from ruby-style variable name to JSON key.
32
32
  def self.attribute_map
33
33
  {
34
- :'test' => :'test',
34
+ :'css' => :'css',
35
35
  :'data' => :'data',
36
+ :'data_requests' => :'data_requests',
37
+ :'field_overrides' => :'field_overrides',
36
38
  :'html' => :'html',
37
- :'css' => :'css',
38
39
  :'metadata' => :'metadata',
39
- :'field_overrides' => :'field_overrides',
40
- :'data_requests' => :'data_requests'
40
+ :'test' => :'test'
41
41
  }
42
42
  end
43
43
 
44
44
  # Attribute type mapping.
45
45
  def self.openapi_types
46
46
  {
47
- :'test' => :'BOOLEAN',
47
+ :'css' => :'String',
48
48
  :'data' => :'Object',
49
+ :'data_requests' => :'Array<CreateSubmissionDataRequestData>',
50
+ :'field_overrides' => :'Object',
49
51
  :'html' => :'String',
50
- :'css' => :'String',
51
52
  :'metadata' => :'Object',
52
- :'field_overrides' => :'Object',
53
- :'data_requests' => :'Array<CreateSubmissionDataRequestData>'
53
+ :'test' => :'BOOLEAN'
54
54
  }
55
55
  end
56
56
 
@@ -62,34 +62,34 @@ module DocSpring
62
62
  # convert string to symbol for hash key
63
63
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
64
64
 
65
- if attributes.has_key?(:'test')
66
- self.test = attributes[:'test']
65
+ if attributes.has_key?(:'css')
66
+ self.css = attributes[:'css']
67
67
  end
68
68
 
69
69
  if attributes.has_key?(:'data')
70
70
  self.data = attributes[:'data']
71
71
  end
72
72
 
73
- if attributes.has_key?(:'html')
74
- self.html = attributes[:'html']
73
+ if attributes.has_key?(:'data_requests')
74
+ if (value = attributes[:'data_requests']).is_a?(Array)
75
+ self.data_requests = value
76
+ end
75
77
  end
76
78
 
77
- if attributes.has_key?(:'css')
78
- self.css = attributes[:'css']
79
+ if attributes.has_key?(:'field_overrides')
80
+ self.field_overrides = attributes[:'field_overrides']
79
81
  end
80
82
 
81
- if attributes.has_key?(:'metadata')
82
- self.metadata = attributes[:'metadata']
83
+ if attributes.has_key?(:'html')
84
+ self.html = attributes[:'html']
83
85
  end
84
86
 
85
- if attributes.has_key?(:'field_overrides')
86
- self.field_overrides = attributes[:'field_overrides']
87
+ if attributes.has_key?(:'metadata')
88
+ self.metadata = attributes[:'metadata']
87
89
  end
88
90
 
89
- if attributes.has_key?(:'data_requests')
90
- if (value = attributes[:'data_requests']).is_a?(Array)
91
- self.data_requests = value
92
- end
91
+ if attributes.has_key?(:'test')
92
+ self.test = attributes[:'test']
93
93
  end
94
94
  end
95
95
 
@@ -116,13 +116,13 @@ module DocSpring
116
116
  def ==(o)
117
117
  return true if self.equal?(o)
118
118
  self.class == o.class &&
119
- test == o.test &&
119
+ css == o.css &&
120
120
  data == o.data &&
121
+ data_requests == o.data_requests &&
122
+ field_overrides == o.field_overrides &&
121
123
  html == o.html &&
122
- css == o.css &&
123
124
  metadata == o.metadata &&
124
- field_overrides == o.field_overrides &&
125
- data_requests == o.data_requests
125
+ test == o.test
126
126
  end
127
127
 
128
128
  # @see the `==` method
@@ -134,7 +134,7 @@ module DocSpring
134
134
  # Calculates hash code according to all attributes.
135
135
  # @return [Fixnum] Hash code
136
136
  def hash
137
- [test, data, html, css, metadata, field_overrides, data_requests].hash
137
+ [css, data, data_requests, field_overrides, html, metadata, test].hash
138
138
  end
139
139
 
140
140
  # 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
 
@@ -18,23 +18,23 @@ module DocSpring
18
18
 
19
19
  attr_accessor :metadata
20
20
 
21
- attr_accessor :test
22
-
23
21
  attr_accessor :data
24
22
 
25
- attr_accessor :template_id
23
+ attr_accessor :test
26
24
 
27
25
  attr_accessor :html
28
26
 
27
+ attr_accessor :template_id
28
+
29
29
  # Attribute mapping from ruby-style variable name to JSON key.
30
30
  def self.attribute_map
31
31
  {
32
32
  :'css' => :'css',
33
33
  :'metadata' => :'metadata',
34
- :'test' => :'test',
35
34
  :'data' => :'data',
36
- :'template_id' => :'template_id',
37
- :'html' => :'html'
35
+ :'test' => :'test',
36
+ :'html' => :'html',
37
+ :'template_id' => :'template_id'
38
38
  }
39
39
  end
40
40
 
@@ -43,10 +43,10 @@ module DocSpring
43
43
  {
44
44
  :'css' => :'String',
45
45
  :'metadata' => :'Object',
46
- :'test' => :'BOOLEAN',
47
46
  :'data' => :'Object',
48
- :'template_id' => :'String',
49
- :'html' => :'String'
47
+ :'test' => :'BOOLEAN',
48
+ :'html' => :'String',
49
+ :'template_id' => :'String'
50
50
  }
51
51
  end
52
52
 
@@ -66,21 +66,21 @@ module DocSpring
66
66
  self.metadata = attributes[:'metadata']
67
67
  end
68
68
 
69
- if attributes.has_key?(:'test')
70
- self.test = attributes[:'test']
71
- end
72
-
73
69
  if attributes.has_key?(:'data')
74
70
  self.data = attributes[:'data']
75
71
  end
76
72
 
77
- if attributes.has_key?(:'template_id')
78
- self.template_id = attributes[:'template_id']
73
+ if attributes.has_key?(:'test')
74
+ self.test = attributes[:'test']
79
75
  end
80
76
 
81
77
  if attributes.has_key?(:'html')
82
78
  self.html = attributes[:'html']
83
79
  end
80
+
81
+ if attributes.has_key?(:'template_id')
82
+ self.template_id = attributes[:'template_id']
83
+ end
84
84
  end
85
85
 
86
86
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -103,10 +103,10 @@ module DocSpring
103
103
  self.class == o.class &&
104
104
  css == o.css &&
105
105
  metadata == o.metadata &&
106
- test == o.test &&
107
106
  data == o.data &&
108
- template_id == o.template_id &&
109
- html == o.html
107
+ test == o.test &&
108
+ html == o.html &&
109
+ template_id == o.template_id
110
110
  end
111
111
 
112
112
  # @see the `==` method
@@ -118,7 +118,7 @@ module DocSpring
118
118
  # Calculates hash code according to all attributes.
119
119
  # @return [Fixnum] Hash code
120
120
  def hash
121
- [css, metadata, test, data, template_id, html].hash
121
+ [css, metadata, data, test, html, template_id].hash
122
122
  end
123
123
 
124
124
  # 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
 
@@ -22,6 +22,8 @@ module DocSpring
22
22
 
23
23
  attr_accessor :order
24
24
 
25
+ attr_accessor :sort_order
26
+
25
27
  attr_accessor :fields
26
28
 
27
29
  attr_accessor :metadata
@@ -81,6 +83,7 @@ module DocSpring
81
83
  :'name' => :'name',
82
84
  :'email' => :'email',
83
85
  :'order' => :'order',
86
+ :'sort_order' => :'sort_order',
84
87
  :'fields' => :'fields',
85
88
  :'metadata' => :'metadata',
86
89
  :'state' => :'state',
@@ -106,6 +109,7 @@ module DocSpring
106
109
  :'name' => :'String',
107
110
  :'email' => :'String',
108
111
  :'order' => :'Integer',
112
+ :'sort_order' => :'Integer',
109
113
  :'fields' => :'Array<String>',
110
114
  :'metadata' => :'Object',
111
115
  :'state' => :'String',
@@ -148,6 +152,10 @@ module DocSpring
148
152
  self.order = attributes[:'order']
149
153
  end
150
154
 
155
+ if attributes.has_key?(:'sort_order')
156
+ self.sort_order = attributes[:'sort_order']
157
+ end
158
+
151
159
  if attributes.has_key?(:'fields')
152
160
  if (value = attributes[:'fields']).is_a?(Array)
153
161
  self.fields = value
@@ -219,20 +227,12 @@ module DocSpring
219
227
  invalid_properties.push('invalid value for "id", id cannot be nil.')
220
228
  end
221
229
 
222
- if @name.nil?
223
- invalid_properties.push('invalid value for "name", name cannot be nil.')
224
- end
225
-
226
- if @email.nil?
227
- invalid_properties.push('invalid value for "email", email cannot be nil.')
228
- end
229
-
230
230
  if @order.nil?
231
231
  invalid_properties.push('invalid value for "order", order cannot be nil.')
232
232
  end
233
233
 
234
- if @fields.nil?
235
- invalid_properties.push('invalid value for "fields", fields cannot be nil.')
234
+ if @sort_order.nil?
235
+ invalid_properties.push('invalid value for "sort_order", sort_order cannot be nil.')
236
236
  end
237
237
 
238
238
  if @metadata.nil?
@@ -250,10 +250,8 @@ module DocSpring
250
250
  # @return true if the model is valid
251
251
  def valid?
252
252
  return false if @id.nil?
253
- return false if @name.nil?
254
- return false if @email.nil?
255
253
  return false if @order.nil?
256
- return false if @fields.nil?
254
+ return false if @sort_order.nil?
257
255
  return false if @metadata.nil?
258
256
  return false if @state.nil?
259
257
  state_validator = EnumAttributeValidator.new('String', ['pending', 'completed'])
@@ -304,6 +302,7 @@ module DocSpring
304
302
  name == o.name &&
305
303
  email == o.email &&
306
304
  order == o.order &&
305
+ sort_order == o.sort_order &&
307
306
  fields == o.fields &&
308
307
  metadata == o.metadata &&
309
308
  state == o.state &&
@@ -330,7 +329,7 @@ module DocSpring
330
329
  # Calculates hash code according to all attributes.
331
330
  # @return [Fixnum] Hash code
332
331
  def hash
333
- [id, name, email, order, fields, metadata, state, viewed_at, completed_at, 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, ip_address, user_agent].hash
332
+ [id, name, email, order, sort_order, fields, metadata, state, viewed_at, completed_at, 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, ip_address, user_agent].hash
334
333
  end
335
334
 
336
335
  # 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
 
@@ -20,10 +20,10 @@ 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
 
25
+ attr_accessor :expire_after
26
+
27
27
  attr_accessor :description
28
28
 
29
29
  attr_accessor :public_submissions
@@ -40,10 +40,10 @@ module DocSpring
40
40
 
41
41
  attr_accessor :name
42
42
 
43
- attr_accessor :html
44
-
45
43
  attr_accessor :footer_html
46
44
 
45
+ attr_accessor :html
46
+
47
47
  attr_accessor :redirect_url
48
48
 
49
49
  class EnumAttributeValidator
@@ -74,8 +74,8 @@ module DocSpring
74
74
  :'expiration_interval' => :'expiration_interval',
75
75
  :'webhook_url' => :'webhook_url',
76
76
  :'scss' => :'scss',
77
- :'expire_after' => :'expire_after',
78
77
  :'allow_additional_properties' => :'allow_additional_properties',
78
+ :'expire_after' => :'expire_after',
79
79
  :'description' => :'description',
80
80
  :'public_submissions' => :'public_submissions',
81
81
  :'slack_webhook_url' => :'slack_webhook_url',
@@ -84,8 +84,8 @@ module DocSpring
84
84
  :'editable_submissions' => :'editable_submissions',
85
85
  :'expire_submissions' => :'expire_submissions',
86
86
  :'name' => :'name',
87
- :'html' => :'html',
88
87
  :'footer_html' => :'footer_html',
88
+ :'html' => :'html',
89
89
  :'redirect_url' => :'redirect_url'
90
90
  }
91
91
  end
@@ -96,8 +96,8 @@ module DocSpring
96
96
  :'expiration_interval' => :'String',
97
97
  :'webhook_url' => :'String',
98
98
  :'scss' => :'String',
99
- :'expire_after' => :'Float',
100
99
  :'allow_additional_properties' => :'BOOLEAN',
100
+ :'expire_after' => :'Float',
101
101
  :'description' => :'String',
102
102
  :'public_submissions' => :'BOOLEAN',
103
103
  :'slack_webhook_url' => :'String',
@@ -106,8 +106,8 @@ module DocSpring
106
106
  :'editable_submissions' => :'BOOLEAN',
107
107
  :'expire_submissions' => :'BOOLEAN',
108
108
  :'name' => :'String',
109
- :'html' => :'String',
110
109
  :'footer_html' => :'String',
110
+ :'html' => :'String',
111
111
  :'redirect_url' => :'String'
112
112
  }
113
113
  end
@@ -132,14 +132,14 @@ module DocSpring
132
132
  self.scss = attributes[:'scss']
133
133
  end
134
134
 
135
- if attributes.has_key?(:'expire_after')
136
- self.expire_after = attributes[:'expire_after']
137
- end
138
-
139
135
  if attributes.has_key?(:'allow_additional_properties')
140
136
  self.allow_additional_properties = attributes[:'allow_additional_properties']
141
137
  end
142
138
 
139
+ if attributes.has_key?(:'expire_after')
140
+ self.expire_after = attributes[:'expire_after']
141
+ end
142
+
143
143
  if attributes.has_key?(:'description')
144
144
  self.description = attributes[:'description']
145
145
  end
@@ -172,14 +172,14 @@ module DocSpring
172
172
  self.name = attributes[:'name']
173
173
  end
174
174
 
175
- if attributes.has_key?(:'html')
176
- self.html = attributes[:'html']
177
- end
178
-
179
175
  if attributes.has_key?(:'footer_html')
180
176
  self.footer_html = attributes[:'footer_html']
181
177
  end
182
178
 
179
+ if attributes.has_key?(:'html')
180
+ self.html = attributes[:'html']
181
+ end
182
+
183
183
  if attributes.has_key?(:'redirect_url')
184
184
  self.redirect_url = attributes[:'redirect_url']
185
185
  end
@@ -218,8 +218,8 @@ module DocSpring
218
218
  expiration_interval == o.expiration_interval &&
219
219
  webhook_url == o.webhook_url &&
220
220
  scss == o.scss &&
221
- expire_after == o.expire_after &&
222
221
  allow_additional_properties == o.allow_additional_properties &&
222
+ expire_after == o.expire_after &&
223
223
  description == o.description &&
224
224
  public_submissions == o.public_submissions &&
225
225
  slack_webhook_url == o.slack_webhook_url &&
@@ -228,8 +228,8 @@ module DocSpring
228
228
  editable_submissions == o.editable_submissions &&
229
229
  expire_submissions == o.expire_submissions &&
230
230
  name == o.name &&
231
- html == o.html &&
232
231
  footer_html == o.footer_html &&
232
+ html == o.html &&
233
233
  redirect_url == o.redirect_url
234
234
  end
235
235
 
@@ -242,7 +242,7 @@ module DocSpring
242
242
  # Calculates hash code according to all attributes.
243
243
  # @return [Fixnum] Hash code
244
244
  def hash
245
- [expiration_interval, webhook_url, scss, expire_after, allow_additional_properties, description, public_submissions, slack_webhook_url, header_html, public_web_form, editable_submissions, expire_submissions, name, html, footer_html, redirect_url].hash
245
+ [expiration_interval, webhook_url, scss, allow_additional_properties, expire_after, description, public_submissions, slack_webhook_url, header_html, public_web_form, editable_submissions, expire_submissions, name, footer_html, html, redirect_url].hash
246
246
  end
247
247
 
248
248
  # Builds the object from hash