templatefox 1.8.1 → 1.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/lib/templatefox/api/account_api.rb +1 -1
  3. data/lib/templatefox/api/integrations_api.rb +1 -1
  4. data/lib/templatefox/api/pdf_api.rb +1 -1
  5. data/lib/templatefox/api/pdf_async_api.rb +1 -1
  6. data/lib/templatefox/api/templates_api.rb +1 -138
  7. data/lib/templatefox/api_client.rb +1 -1
  8. data/lib/templatefox/api_error.rb +1 -1
  9. data/lib/templatefox/api_model_base.rb +1 -1
  10. data/lib/templatefox/configuration.rb +1 -1
  11. data/lib/templatefox/models/account_info_response.rb +1 -1
  12. data/lib/templatefox/models/app_routers_v1_pdf_async_export_type.rb +1 -1
  13. data/lib/templatefox/models/app_routers_v1_pdf_export_type.rb +1 -1
  14. data/lib/templatefox/models/create_async_pdf_request.rb +1 -1
  15. data/lib/templatefox/models/create_async_pdf_response.rb +1 -1
  16. data/lib/templatefox/models/create_pdf_request.rb +1 -1
  17. data/lib/templatefox/models/create_pdf_response.rb +1 -1
  18. data/lib/templatefox/models/create_version_request.rb +28 -8
  19. data/lib/templatefox/models/http_validation_error.rb +1 -1
  20. data/lib/templatefox/models/job_list_response.rb +1 -1
  21. data/lib/templatefox/models/job_status.rb +1 -1
  22. data/lib/templatefox/models/job_status_response.rb +1 -1
  23. data/lib/templatefox/models/location_inner.rb +1 -1
  24. data/lib/templatefox/models/pdf_variant.rb +1 -1
  25. data/lib/templatefox/models/s3_config_request.rb +1 -1
  26. data/lib/templatefox/models/s3_config_response.rb +1 -1
  27. data/lib/templatefox/models/s3_success_response.rb +1 -1
  28. data/lib/templatefox/models/s3_test_response.rb +1 -1
  29. data/lib/templatefox/models/template_field.rb +1 -1
  30. data/lib/templatefox/models/template_field_spec.rb +1 -1
  31. data/lib/templatefox/models/template_list_item.rb +1 -1
  32. data/lib/templatefox/models/templates_list_response.rb +1 -1
  33. data/lib/templatefox/models/transaction.rb +1 -1
  34. data/lib/templatefox/models/transactions_response.rb +1 -1
  35. data/lib/templatefox/models/update_version_request.rb +1 -1
  36. data/lib/templatefox/models/validation_error.rb +1 -1
  37. data/lib/templatefox/models/version_item.rb +2 -14
  38. data/lib/templatefox/models/versions_list_response.rb +1 -1
  39. data/lib/templatefox/version.rb +2 -2
  40. data/lib/templatefox.rb +1 -2
  41. data/spec/api/account_api_spec.rb +1 -1
  42. data/spec/api/integrations_api_spec.rb +1 -1
  43. data/spec/api/pdf_api_spec.rb +1 -1
  44. data/spec/api/pdf_async_api_spec.rb +1 -1
  45. data/spec/api/templates_api_spec.rb +1 -26
  46. data/spec/models/account_info_response_spec.rb +1 -1
  47. data/spec/models/app_routers_v1_pdf_async_export_type_spec.rb +1 -1
  48. data/spec/models/app_routers_v1_pdf_export_type_spec.rb +1 -1
  49. data/spec/models/create_async_pdf_request_spec.rb +1 -1
  50. data/spec/models/create_async_pdf_response_spec.rb +1 -1
  51. data/spec/models/create_pdf_request_spec.rb +1 -1
  52. data/spec/models/create_pdf_response_spec.rb +1 -1
  53. data/spec/models/create_version_request_spec.rb +1 -1
  54. data/spec/models/http_validation_error_spec.rb +1 -1
  55. data/spec/models/job_list_response_spec.rb +1 -1
  56. data/spec/models/job_status_response_spec.rb +1 -1
  57. data/spec/models/job_status_spec.rb +1 -1
  58. data/spec/models/location_inner_spec.rb +1 -1
  59. data/spec/models/pdf_variant_spec.rb +1 -1
  60. data/spec/models/s3_config_request_spec.rb +1 -1
  61. data/spec/models/s3_config_response_spec.rb +1 -1
  62. data/spec/models/s3_success_response_spec.rb +1 -1
  63. data/spec/models/s3_test_response_spec.rb +1 -1
  64. data/spec/models/template_field_spec.rb +1 -1
  65. data/spec/models/template_field_spec_spec.rb +1 -1
  66. data/spec/models/template_list_item_spec.rb +1 -1
  67. data/spec/models/templates_list_response_spec.rb +1 -1
  68. data/spec/models/transaction_spec.rb +1 -1
  69. data/spec/models/transactions_response_spec.rb +1 -1
  70. data/spec/models/update_version_request_spec.rb +1 -1
  71. data/spec/models/validation_error_spec.rb +1 -1
  72. data/spec/models/version_item_spec.rb +1 -7
  73. data/spec/models/versions_list_response_spec.rb +1 -1
  74. data/spec/spec_helper.rb +1 -1
  75. data/templatefox.gemspec +1 -1
  76. metadata +1 -4
  77. data/lib/templatefox/models/set_default_version_request.rb +0 -166
  78. data/spec/models/set_default_version_request_spec.rb +0 -36
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ce4aebf9b3a1ad3443c71506fc3dc99cabea62c2f952d8c86d9561524a5827c2
4
- data.tar.gz: 6864e1ae79100df9cd5cedc50a62ec07b68052805bb639303fb208ea31efaeca
3
+ metadata.gz: 12a28546b0d5f0c441b1bebb2f43f41f9ad14fa74ae99bfc29505f6f1ef56dad
4
+ data.tar.gz: 9532e7854938de27b9165466eda8e3b732e3e8ca984a3067a4e9bae5ae7dd97b
5
5
  SHA512:
6
- metadata.gz: 52f741ac5a7bb7bad902f9eef06b6a9fc6ad917d5372dda797afffb17646b062ffbc884cc7f9b88ae588344cb196866782a89e726b17ef30e37f87d639864ebd
7
- data.tar.gz: edb48930b42dd7f6a65aa5c7e1e0951c8f7b60cee255f7e4c739f81cd4fafa8c1db071548c9c084926cec04b79749925beaa35d64f80047606dcd8ec2fe219c9
6
+ metadata.gz: 0b649debdcc3fc9ff5a63c5cb8116f8752cd7268c3ccf41d884a2f986afab722e125e10e0b1c308ab0543484be069070aa2a6bfd74845992acb9e3f0c5805296
7
+ data.tar.gz: 788bd07a69f388b16b30168f96afe34e6bc47c9f2a79a611fdd4883a5c435160927499c6f9a7100e43b7c01ca1ba9e3495f803fc6bf40a226c682253fa931f31
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
5
5
 
6
- The version of the OpenAPI document: 1.8.1
6
+ The version of the OpenAPI document: 1.9.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.21.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
5
5
 
6
- The version of the OpenAPI document: 1.8.1
6
+ The version of the OpenAPI document: 1.9.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.21.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
5
5
 
6
- The version of the OpenAPI document: 1.8.1
6
+ The version of the OpenAPI document: 1.9.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.21.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
5
5
 
6
- The version of the OpenAPI document: 1.8.1
6
+ The version of the OpenAPI document: 1.9.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.21.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
5
5
 
6
- The version of the OpenAPI document: 1.8.1
6
+ The version of the OpenAPI document: 1.9.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.21.0
@@ -345,143 +345,6 @@ module TemplateFox
345
345
  return data, status_code, headers
346
346
  end
347
347
 
348
- # Remove default version
349
- # Remove the default version setting. API will use the working draft.
350
- # @param template_id [String] Template short ID
351
- # @param [Hash] opts the optional parameters
352
- # @return [Object]
353
- def remove_default_version(template_id, opts = {})
354
- data, _status_code, _headers = remove_default_version_with_http_info(template_id, opts)
355
- data
356
- end
357
-
358
- # Remove default version
359
- # Remove the default version setting. API will use the working draft.
360
- # @param template_id [String] Template short ID
361
- # @param [Hash] opts the optional parameters
362
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
363
- def remove_default_version_with_http_info(template_id, opts = {})
364
- if @api_client.config.debugging
365
- @api_client.config.logger.debug 'Calling API: TemplatesApi.remove_default_version ...'
366
- end
367
- # verify the required parameter 'template_id' is set
368
- if @api_client.config.client_side_validation && template_id.nil?
369
- fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.remove_default_version"
370
- end
371
- # resource path
372
- local_var_path = '/v1/templates/{template_id}/default-version'.sub('{' + 'template_id' + '}', CGI.escape(template_id.to_s))
373
-
374
- # query parameters
375
- query_params = opts[:query_params] || {}
376
-
377
- # header parameters
378
- header_params = opts[:header_params] || {}
379
- # HTTP header 'Accept' (if needed)
380
- header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
381
-
382
- # form parameters
383
- form_params = opts[:form_params] || {}
384
-
385
- # http body (model)
386
- post_body = opts[:debug_body]
387
-
388
- # return_type
389
- return_type = opts[:debug_return_type] || 'Object'
390
-
391
- # auth_names
392
- auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
393
-
394
- new_options = opts.merge(
395
- :operation => :"TemplatesApi.remove_default_version",
396
- :header_params => header_params,
397
- :query_params => query_params,
398
- :form_params => form_params,
399
- :body => post_body,
400
- :auth_names => auth_names,
401
- :return_type => return_type
402
- )
403
-
404
- data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
405
- if @api_client.config.debugging
406
- @api_client.config.logger.debug "API called: TemplatesApi#remove_default_version\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
407
- end
408
- return data, status_code, headers
409
- end
410
-
411
- # Set default version
412
- # Set which version the API uses by default when no version param is provided.
413
- # @param template_id [String] Template short ID
414
- # @param set_default_version_request [SetDefaultVersionRequest]
415
- # @param [Hash] opts the optional parameters
416
- # @return [Object]
417
- def set_default_version(template_id, set_default_version_request, opts = {})
418
- data, _status_code, _headers = set_default_version_with_http_info(template_id, set_default_version_request, opts)
419
- data
420
- end
421
-
422
- # Set default version
423
- # Set which version the API uses by default when no version param is provided.
424
- # @param template_id [String] Template short ID
425
- # @param set_default_version_request [SetDefaultVersionRequest]
426
- # @param [Hash] opts the optional parameters
427
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
428
- def set_default_version_with_http_info(template_id, set_default_version_request, opts = {})
429
- if @api_client.config.debugging
430
- @api_client.config.logger.debug 'Calling API: TemplatesApi.set_default_version ...'
431
- end
432
- # verify the required parameter 'template_id' is set
433
- if @api_client.config.client_side_validation && template_id.nil?
434
- fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.set_default_version"
435
- end
436
- # verify the required parameter 'set_default_version_request' is set
437
- if @api_client.config.client_side_validation && set_default_version_request.nil?
438
- fail ArgumentError, "Missing the required parameter 'set_default_version_request' when calling TemplatesApi.set_default_version"
439
- end
440
- # resource path
441
- local_var_path = '/v1/templates/{template_id}/default-version'.sub('{' + 'template_id' + '}', CGI.escape(template_id.to_s))
442
-
443
- # query parameters
444
- query_params = opts[:query_params] || {}
445
-
446
- # header parameters
447
- header_params = opts[:header_params] || {}
448
- # HTTP header 'Accept' (if needed)
449
- header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
450
- # HTTP header 'Content-Type'
451
- content_type = @api_client.select_header_content_type(['application/json'])
452
- if !content_type.nil?
453
- header_params['Content-Type'] = content_type
454
- end
455
-
456
- # form parameters
457
- form_params = opts[:form_params] || {}
458
-
459
- # http body (model)
460
- post_body = opts[:debug_body] || @api_client.object_to_http_body(set_default_version_request)
461
-
462
- # return_type
463
- return_type = opts[:debug_return_type] || 'Object'
464
-
465
- # auth_names
466
- auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
467
-
468
- new_options = opts.merge(
469
- :operation => :"TemplatesApi.set_default_version",
470
- :header_params => header_params,
471
- :query_params => query_params,
472
- :form_params => form_params,
473
- :body => post_body,
474
- :auth_names => auth_names,
475
- :return_type => return_type
476
- )
477
-
478
- data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
479
- if @api_client.config.debugging
480
- @api_client.config.logger.debug "API called: TemplatesApi#set_default_version\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
481
- end
482
- return data, status_code, headers
483
- end
484
-
485
348
  # Update a version
486
349
  # Update a version's tag or description.
487
350
  # @param template_id [String] Template short ID
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
5
5
 
6
- The version of the OpenAPI document: 1.8.1
6
+ The version of the OpenAPI document: 1.9.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.21.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
5
5
 
6
- The version of the OpenAPI document: 1.8.1
6
+ The version of the OpenAPI document: 1.9.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.21.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
5
5
 
6
- The version of the OpenAPI document: 1.8.1
6
+ The version of the OpenAPI document: 1.9.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.21.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
5
5
 
6
- The version of the OpenAPI document: 1.8.1
6
+ The version of the OpenAPI document: 1.9.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.21.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
5
5
 
6
- The version of the OpenAPI document: 1.8.1
6
+ The version of the OpenAPI document: 1.9.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.21.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
5
5
 
6
- The version of the OpenAPI document: 1.8.1
6
+ The version of the OpenAPI document: 1.9.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.21.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
5
5
 
6
- The version of the OpenAPI document: 1.8.1
6
+ The version of the OpenAPI document: 1.9.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.21.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
5
5
 
6
- The version of the OpenAPI document: 1.8.1
6
+ The version of the OpenAPI document: 1.9.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.21.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
5
5
 
6
- The version of the OpenAPI document: 1.8.1
6
+ The version of the OpenAPI document: 1.9.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.21.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
5
5
 
6
- The version of the OpenAPI document: 1.8.1
6
+ The version of the OpenAPI document: 1.9.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.21.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
5
5
 
6
- The version of the OpenAPI document: 1.8.1
6
+ The version of the OpenAPI document: 1.9.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.21.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
5
5
 
6
- The version of the OpenAPI document: 1.8.1
6
+ The version of the OpenAPI document: 1.9.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.21.0
@@ -16,6 +16,7 @@ require 'time'
16
16
  module TemplateFox
17
17
  # Request to create a version snapshot
18
18
  class CreateVersionRequest < ApiModelBase
19
+ # Version tag (e.g. 'prod', 'staging', 'v1'). Lowercase alphanumeric with hyphens/underscores, 2-50 chars.
19
20
  attr_accessor :tag
20
21
 
21
22
  attr_accessor :description
@@ -49,7 +50,6 @@ module TemplateFox
49
50
  # List of attributes with nullable: true
50
51
  def self.openapi_nullable
51
52
  Set.new([
52
- :'tag',
53
53
  :'description'
54
54
  ])
55
55
  end
@@ -72,6 +72,8 @@ module TemplateFox
72
72
 
73
73
  if attributes.key?(:'tag')
74
74
  self.tag = attributes[:'tag']
75
+ else
76
+ self.tag = nil
75
77
  end
76
78
 
77
79
  if attributes.key?(:'description')
@@ -84,12 +86,20 @@ module TemplateFox
84
86
  def list_invalid_properties
85
87
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
86
88
  invalid_properties = Array.new
87
- if !@tag.nil? && @tag.to_s.length > 50
89
+ if @tag.nil?
90
+ invalid_properties.push('invalid value for "tag", tag cannot be nil.')
91
+ end
92
+
93
+ if @tag.to_s.length > 50
88
94
  invalid_properties.push('invalid value for "tag", the character length must be smaller than or equal to 50.')
89
95
  end
90
96
 
97
+ if @tag.to_s.length < 2
98
+ invalid_properties.push('invalid value for "tag", the character length must be greater than or equal to 2.')
99
+ end
100
+
91
101
  pattern = Regexp.new(/^[a-z0-9][a-z0-9_-]{0,48}[a-z0-9]$/)
92
- if !@tag.nil? && @tag !~ pattern
102
+ if @tag !~ pattern
93
103
  invalid_properties.push("invalid value for \"tag\", must conform to the pattern #{pattern}.")
94
104
  end
95
105
 
@@ -104,8 +114,10 @@ module TemplateFox
104
114
  # @return true if the model is valid
105
115
  def valid?
106
116
  warn '[DEPRECATED] the `valid?` method is obsolete'
107
- return false if !@tag.nil? && @tag.to_s.length > 50
108
- return false if !@tag.nil? && @tag !~ Regexp.new(/^[a-z0-9][a-z0-9_-]{0,48}[a-z0-9]$/)
117
+ return false if @tag.nil?
118
+ return false if @tag.to_s.length > 50
119
+ return false if @tag.to_s.length < 2
120
+ return false if @tag !~ Regexp.new(/^[a-z0-9][a-z0-9_-]{0,48}[a-z0-9]$/)
109
121
  return false if !@description.nil? && @description.to_s.length > 500
110
122
  true
111
123
  end
@@ -113,12 +125,20 @@ module TemplateFox
113
125
  # Custom attribute writer method with validation
114
126
  # @param [Object] tag Value to be assigned
115
127
  def tag=(tag)
116
- if !tag.nil? && tag.to_s.length > 50
128
+ if tag.nil?
129
+ fail ArgumentError, 'tag cannot be nil'
130
+ end
131
+
132
+ if tag.to_s.length > 50
117
133
  fail ArgumentError, 'invalid value for "tag", the character length must be smaller than or equal to 50.'
118
134
  end
119
135
 
136
+ if tag.to_s.length < 2
137
+ fail ArgumentError, 'invalid value for "tag", the character length must be greater than or equal to 2.'
138
+ end
139
+
120
140
  pattern = Regexp.new(/^[a-z0-9][a-z0-9_-]{0,48}[a-z0-9]$/)
121
- if !tag.nil? && tag !~ pattern
141
+ if tag !~ pattern
122
142
  fail ArgumentError, "invalid value for \"tag\", must conform to the pattern #{pattern}."
123
143
  end
124
144
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
5
5
 
6
- The version of the OpenAPI document: 1.8.1
6
+ The version of the OpenAPI document: 1.9.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.21.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
5
5
 
6
- The version of the OpenAPI document: 1.8.1
6
+ The version of the OpenAPI document: 1.9.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.21.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
5
5
 
6
- The version of the OpenAPI document: 1.8.1
6
+ The version of the OpenAPI document: 1.9.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.21.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
5
5
 
6
- The version of the OpenAPI document: 1.8.1
6
+ The version of the OpenAPI document: 1.9.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.21.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
5
5
 
6
- The version of the OpenAPI document: 1.8.1
6
+ The version of the OpenAPI document: 1.9.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.21.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
5
5
 
6
- The version of the OpenAPI document: 1.8.1
6
+ The version of the OpenAPI document: 1.9.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.21.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
5
5
 
6
- The version of the OpenAPI document: 1.8.1
6
+ The version of the OpenAPI document: 1.9.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.21.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
5
5
 
6
- The version of the OpenAPI document: 1.8.1
6
+ The version of the OpenAPI document: 1.9.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.21.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
5
5
 
6
- The version of the OpenAPI document: 1.8.1
6
+ The version of the OpenAPI document: 1.9.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.21.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
5
5
 
6
- The version of the OpenAPI document: 1.8.1
6
+ The version of the OpenAPI document: 1.9.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.21.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
5
5
 
6
- The version of the OpenAPI document: 1.8.1
6
+ The version of the OpenAPI document: 1.9.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.21.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
5
5
 
6
- The version of the OpenAPI document: 1.8.1
6
+ The version of the OpenAPI document: 1.9.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.21.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
5
5
 
6
- The version of the OpenAPI document: 1.8.1
6
+ The version of the OpenAPI document: 1.9.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.21.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
5
5
 
6
- The version of the OpenAPI document: 1.8.1
6
+ The version of the OpenAPI document: 1.9.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.21.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
5
5
 
6
- The version of the OpenAPI document: 1.8.1
6
+ The version of the OpenAPI document: 1.9.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.21.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
5
5
 
6
- The version of the OpenAPI document: 1.8.1
6
+ The version of the OpenAPI document: 1.9.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.21.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
5
5
 
6
- The version of the OpenAPI document: 1.8.1
6
+ The version of the OpenAPI document: 1.9.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.21.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
5
5
 
6
- The version of the OpenAPI document: 1.8.1
6
+ The version of the OpenAPI document: 1.9.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.21.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
5
5
 
6
- The version of the OpenAPI document: 1.8.1
6
+ The version of the OpenAPI document: 1.9.1
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.21.0
@@ -23,9 +23,6 @@ module TemplateFox
23
23
 
24
24
  attr_accessor :description
25
25
 
26
- # Whether this is the default version used by the API
27
- attr_accessor :is_default
28
-
29
26
  # ISO 8601 timestamp
30
27
  attr_accessor :created_at
31
28
 
@@ -35,7 +32,6 @@ module TemplateFox
35
32
  :'version_number' => :'version_number',
36
33
  :'tag' => :'tag',
37
34
  :'description' => :'description',
38
- :'is_default' => :'is_default',
39
35
  :'created_at' => :'created_at'
40
36
  }
41
37
  end
@@ -56,7 +52,6 @@ module TemplateFox
56
52
  :'version_number' => :'Integer',
57
53
  :'tag' => :'String',
58
54
  :'description' => :'String',
59
- :'is_default' => :'Boolean',
60
55
  :'created_at' => :'String'
61
56
  }
62
57
  end
@@ -99,12 +94,6 @@ module TemplateFox
99
94
  self.description = attributes[:'description']
100
95
  end
101
96
 
102
- if attributes.key?(:'is_default')
103
- self.is_default = attributes[:'is_default']
104
- else
105
- self.is_default = false
106
- end
107
-
108
97
  if attributes.key?(:'created_at')
109
98
  self.created_at = attributes[:'created_at']
110
99
  else
@@ -165,7 +154,6 @@ module TemplateFox
165
154
  version_number == o.version_number &&
166
155
  tag == o.tag &&
167
156
  description == o.description &&
168
- is_default == o.is_default &&
169
157
  created_at == o.created_at
170
158
  end
171
159
 
@@ -178,7 +166,7 @@ module TemplateFox
178
166
  # Calculates hash code according to all attributes.
179
167
  # @return [Integer] Hash code
180
168
  def hash
181
- [version_number, tag, description, is_default, created_at].hash
169
+ [version_number, tag, description, created_at].hash
182
170
  end
183
171
 
184
172
  # Builds the object from hash