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
 
@@ -113,10 +113,6 @@ module DocSpring
113
113
  invalid_properties.push('invalid value for "id", id cannot be nil.')
114
114
  end
115
115
 
116
- if @integration_id.nil?
117
- invalid_properties.push('invalid value for "integration_id", integration_id cannot be nil.')
118
- end
119
-
120
116
  if @state.nil?
121
117
  invalid_properties.push('invalid value for "state", state cannot be nil.')
122
118
  end
@@ -140,7 +136,6 @@ module DocSpring
140
136
  # @return true if the model is valid
141
137
  def valid?
142
138
  return false if @id.nil?
143
- return false if @integration_id.nil?
144
139
  return false if @state.nil?
145
140
  state_validator = EnumAttributeValidator.new('String', ['pending', 'processed', 'failed', 'error'])
146
141
  return false unless state_validator.valid?(@state)
@@ -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 CombinedSubmissionData
17
- attr_accessor :test
18
-
19
- attr_accessor :submission_ids
17
+ attr_accessor :expires_in
20
18
 
21
19
  attr_accessor :metadata
22
20
 
23
- attr_accessor :expires_in
21
+ attr_accessor :submission_ids
22
+
23
+ attr_accessor :test
24
24
 
25
25
  # Attribute mapping from ruby-style variable name to JSON key.
26
26
  def self.attribute_map
27
27
  {
28
- :'test' => :'test',
29
- :'submission_ids' => :'submission_ids',
28
+ :'expires_in' => :'expires_in',
30
29
  :'metadata' => :'metadata',
31
- :'expires_in' => :'expires_in'
30
+ :'submission_ids' => :'submission_ids',
31
+ :'test' => :'test'
32
32
  }
33
33
  end
34
34
 
35
35
  # Attribute type mapping.
36
36
  def self.openapi_types
37
37
  {
38
- :'test' => :'BOOLEAN',
39
- :'submission_ids' => :'Array<String>',
38
+ :'expires_in' => :'Integer',
40
39
  :'metadata' => :'Object',
41
- :'expires_in' => :'Integer'
40
+ :'submission_ids' => :'Array<String>',
41
+ :'test' => :'BOOLEAN'
42
42
  }
43
43
  end
44
44
 
@@ -50,8 +50,12 @@ module DocSpring
50
50
  # convert string to symbol for hash key
51
51
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
52
52
 
53
- if attributes.has_key?(:'test')
54
- self.test = attributes[:'test']
53
+ if attributes.has_key?(:'expires_in')
54
+ self.expires_in = attributes[:'expires_in']
55
+ end
56
+
57
+ if attributes.has_key?(:'metadata')
58
+ self.metadata = attributes[:'metadata']
55
59
  end
56
60
 
57
61
  if attributes.has_key?(:'submission_ids')
@@ -60,12 +64,8 @@ module DocSpring
60
64
  end
61
65
  end
62
66
 
63
- if attributes.has_key?(:'metadata')
64
- self.metadata = attributes[:'metadata']
65
- end
66
-
67
- if attributes.has_key?(:'expires_in')
68
- self.expires_in = attributes[:'expires_in']
67
+ if attributes.has_key?(:'test')
68
+ self.test = attributes[:'test']
69
69
  end
70
70
  end
71
71
 
@@ -92,10 +92,10 @@ module DocSpring
92
92
  def ==(o)
93
93
  return true if self.equal?(o)
94
94
  self.class == o.class &&
95
- test == o.test &&
96
- submission_ids == o.submission_ids &&
95
+ expires_in == o.expires_in &&
97
96
  metadata == o.metadata &&
98
- expires_in == o.expires_in
97
+ submission_ids == o.submission_ids &&
98
+ test == o.test
99
99
  end
100
100
 
101
101
  # @see the `==` method
@@ -107,7 +107,7 @@ module DocSpring
107
107
  # Calculates hash code according to all attributes.
108
108
  # @return [Fixnum] Hash code
109
109
  def hash
110
- [test, submission_ids, metadata, expires_in].hash
110
+ [expires_in, metadata, submission_ids, test].hash
111
111
  end
112
112
 
113
113
  # 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
 
@@ -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
 
@@ -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,10 +14,10 @@ require 'date'
14
14
 
15
15
  module DocSpring
16
16
  class CreateSubmissionDataRequestData
17
- attr_accessor :metadata
18
-
19
17
  attr_accessor :auth_type
20
18
 
19
+ attr_accessor :metadata
20
+
21
21
  attr_accessor :auth_second_factor_type
22
22
 
23
23
  attr_accessor :auth_phone_number_hash
@@ -34,10 +34,10 @@ module DocSpring
34
34
 
35
35
  attr_accessor :fields
36
36
 
37
- attr_accessor :email
38
-
39
37
  attr_accessor :auth_provider
40
38
 
39
+ attr_accessor :email
40
+
41
41
  attr_accessor :order
42
42
 
43
43
  class EnumAttributeValidator
@@ -65,8 +65,8 @@ module DocSpring
65
65
  # Attribute mapping from ruby-style variable name to JSON key.
66
66
  def self.attribute_map
67
67
  {
68
- :'metadata' => :'metadata',
69
68
  :'auth_type' => :'auth_type',
69
+ :'metadata' => :'metadata',
70
70
  :'auth_second_factor_type' => :'auth_second_factor_type',
71
71
  :'auth_phone_number_hash' => :'auth_phone_number_hash',
72
72
  :'auth_session_started_at' => :'auth_session_started_at',
@@ -75,8 +75,8 @@ module DocSpring
75
75
  :'auth_username_hash' => :'auth_username_hash',
76
76
  :'name' => :'name',
77
77
  :'fields' => :'fields',
78
- :'email' => :'email',
79
78
  :'auth_provider' => :'auth_provider',
79
+ :'email' => :'email',
80
80
  :'order' => :'order'
81
81
  }
82
82
  end
@@ -84,8 +84,8 @@ module DocSpring
84
84
  # Attribute type mapping.
85
85
  def self.openapi_types
86
86
  {
87
- :'metadata' => :'Object',
88
87
  :'auth_type' => :'String',
88
+ :'metadata' => :'Object',
89
89
  :'auth_second_factor_type' => :'String',
90
90
  :'auth_phone_number_hash' => :'String',
91
91
  :'auth_session_started_at' => :'String',
@@ -94,8 +94,8 @@ module DocSpring
94
94
  :'auth_username_hash' => :'String',
95
95
  :'name' => :'String',
96
96
  :'fields' => :'Array<String>',
97
- :'email' => :'String',
98
97
  :'auth_provider' => :'String',
98
+ :'email' => :'String',
99
99
  :'order' => :'Integer'
100
100
  }
101
101
  end
@@ -108,14 +108,14 @@ 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?(:'metadata')
112
- self.metadata = attributes[:'metadata']
113
- end
114
-
115
111
  if attributes.has_key?(:'auth_type')
116
112
  self.auth_type = attributes[:'auth_type']
117
113
  end
118
114
 
115
+ if attributes.has_key?(:'metadata')
116
+ self.metadata = attributes[:'metadata']
117
+ end
118
+
119
119
  if attributes.has_key?(:'auth_second_factor_type')
120
120
  self.auth_second_factor_type = attributes[:'auth_second_factor_type']
121
121
  end
@@ -150,14 +150,14 @@ module DocSpring
150
150
  end
151
151
  end
152
152
 
153
- if attributes.has_key?(:'email')
154
- self.email = attributes[:'email']
155
- end
156
-
157
153
  if attributes.has_key?(:'auth_provider')
158
154
  self.auth_provider = attributes[:'auth_provider']
159
155
  end
160
156
 
157
+ if attributes.has_key?(:'email')
158
+ self.email = attributes[:'email']
159
+ end
160
+
161
161
  if attributes.has_key?(:'order')
162
162
  self.order = attributes[:'order']
163
163
  end
@@ -205,8 +205,8 @@ module DocSpring
205
205
  def ==(o)
206
206
  return true if self.equal?(o)
207
207
  self.class == o.class &&
208
- metadata == o.metadata &&
209
208
  auth_type == o.auth_type &&
209
+ metadata == o.metadata &&
210
210
  auth_second_factor_type == o.auth_second_factor_type &&
211
211
  auth_phone_number_hash == o.auth_phone_number_hash &&
212
212
  auth_session_started_at == o.auth_session_started_at &&
@@ -215,8 +215,8 @@ module DocSpring
215
215
  auth_username_hash == o.auth_username_hash &&
216
216
  name == o.name &&
217
217
  fields == o.fields &&
218
- email == o.email &&
219
218
  auth_provider == o.auth_provider &&
219
+ email == o.email &&
220
220
  order == o.order
221
221
  end
222
222
 
@@ -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
- [metadata, auth_type, auth_second_factor_type, auth_phone_number_hash, auth_session_started_at, auth_user_id_hash, auth_session_id_hash, auth_username_hash, name, fields, email, auth_provider, order].hash
232
+ [auth_type, metadata, auth_second_factor_type, auth_phone_number_hash, auth_session_started_at, auth_user_id_hash, auth_session_id_hash, auth_username_hash, name, fields, auth_provider, email, 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
 
@@ -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
 
@@ -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,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 :template_type
48
48
 
49
49
  attr_accessor :redirect_url
@@ -76,8 +76,8 @@ module DocSpring
76
76
  :'expiration_interval' => :'expiration_interval',
77
77
  :'webhook_url' => :'webhook_url',
78
78
  :'scss' => :'scss',
79
- :'expire_after' => :'expire_after',
80
79
  :'allow_additional_properties' => :'allow_additional_properties',
80
+ :'expire_after' => :'expire_after',
81
81
  :'description' => :'description',
82
82
  :'public_submissions' => :'public_submissions',
83
83
  :'slack_webhook_url' => :'slack_webhook_url',
@@ -86,8 +86,8 @@ module DocSpring
86
86
  :'editable_submissions' => :'editable_submissions',
87
87
  :'expire_submissions' => :'expire_submissions',
88
88
  :'name' => :'name',
89
- :'html' => :'html',
90
89
  :'footer_html' => :'footer_html',
90
+ :'html' => :'html',
91
91
  :'template_type' => :'template_type',
92
92
  :'redirect_url' => :'redirect_url'
93
93
  }
@@ -99,8 +99,8 @@ module DocSpring
99
99
  :'expiration_interval' => :'String',
100
100
  :'webhook_url' => :'String',
101
101
  :'scss' => :'String',
102
- :'expire_after' => :'Float',
103
102
  :'allow_additional_properties' => :'BOOLEAN',
103
+ :'expire_after' => :'Float',
104
104
  :'description' => :'String',
105
105
  :'public_submissions' => :'BOOLEAN',
106
106
  :'slack_webhook_url' => :'String',
@@ -109,8 +109,8 @@ module DocSpring
109
109
  :'editable_submissions' => :'BOOLEAN',
110
110
  :'expire_submissions' => :'BOOLEAN',
111
111
  :'name' => :'String',
112
- :'html' => :'String',
113
112
  :'footer_html' => :'String',
113
+ :'html' => :'String',
114
114
  :'template_type' => :'String',
115
115
  :'redirect_url' => :'String'
116
116
  }
@@ -136,14 +136,14 @@ module DocSpring
136
136
  self.scss = attributes[:'scss']
137
137
  end
138
138
 
139
- if attributes.has_key?(:'expire_after')
140
- self.expire_after = attributes[:'expire_after']
141
- end
142
-
143
139
  if attributes.has_key?(:'allow_additional_properties')
144
140
  self.allow_additional_properties = attributes[:'allow_additional_properties']
145
141
  end
146
142
 
143
+ if attributes.has_key?(:'expire_after')
144
+ self.expire_after = attributes[:'expire_after']
145
+ end
146
+
147
147
  if attributes.has_key?(:'description')
148
148
  self.description = attributes[:'description']
149
149
  end
@@ -176,14 +176,14 @@ module DocSpring
176
176
  self.name = attributes[:'name']
177
177
  end
178
178
 
179
- if attributes.has_key?(:'html')
180
- self.html = attributes[:'html']
181
- end
182
-
183
179
  if attributes.has_key?(:'footer_html')
184
180
  self.footer_html = attributes[:'footer_html']
185
181
  end
186
182
 
183
+ if attributes.has_key?(:'html')
184
+ self.html = attributes[:'html']
185
+ end
186
+
187
187
  if attributes.has_key?(:'template_type')
188
188
  self.template_type = attributes[:'template_type']
189
189
  end
@@ -238,8 +238,8 @@ module DocSpring
238
238
  expiration_interval == o.expiration_interval &&
239
239
  webhook_url == o.webhook_url &&
240
240
  scss == o.scss &&
241
- expire_after == o.expire_after &&
242
241
  allow_additional_properties == o.allow_additional_properties &&
242
+ expire_after == o.expire_after &&
243
243
  description == o.description &&
244
244
  public_submissions == o.public_submissions &&
245
245
  slack_webhook_url == o.slack_webhook_url &&
@@ -248,8 +248,8 @@ module DocSpring
248
248
  editable_submissions == o.editable_submissions &&
249
249
  expire_submissions == o.expire_submissions &&
250
250
  name == o.name &&
251
- html == o.html &&
252
251
  footer_html == o.footer_html &&
252
+ html == o.html &&
253
253
  template_type == o.template_type &&
254
254
  redirect_url == o.redirect_url
255
255
  end
@@ -263,7 +263,7 @@ module DocSpring
263
263
  # Calculates hash code according to all attributes.
264
264
  # @return [Fixnum] Hash code
265
265
  def hash
266
- [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, template_type, redirect_url].hash
266
+ [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, template_type, redirect_url].hash
267
267
  end
268
268
 
269
269
  # Builds the object from hash