fastly 12.0.0 → 13.0.0

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 (76) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +28 -0
  3. data/Gemfile.lock +1 -1
  4. data/README.md +27 -14
  5. data/docs/Backend.md +1 -1
  6. data/docs/BackendApi.md +4 -4
  7. data/docs/BackendResponse.md +1 -1
  8. data/docs/Results.md +2 -2
  9. data/docs/ServiceApi.md +2 -0
  10. data/lib/fastly/api/backend_api.rb +4 -4
  11. data/lib/fastly/api/logging_azureblob_api.rb +2 -2
  12. data/lib/fastly/api/logging_bigquery_api.rb +2 -2
  13. data/lib/fastly/api/logging_cloudfiles_api.rb +2 -2
  14. data/lib/fastly/api/logging_datadog_api.rb +2 -2
  15. data/lib/fastly/api/logging_digitalocean_api.rb +2 -2
  16. data/lib/fastly/api/logging_elasticsearch_api.rb +2 -2
  17. data/lib/fastly/api/logging_ftp_api.rb +2 -2
  18. data/lib/fastly/api/logging_gcs_api.rb +2 -2
  19. data/lib/fastly/api/logging_grafanacloudlogs_api.rb +2 -2
  20. data/lib/fastly/api/logging_heroku_api.rb +2 -2
  21. data/lib/fastly/api/logging_honeycomb_api.rb +2 -2
  22. data/lib/fastly/api/logging_https_api.rb +2 -2
  23. data/lib/fastly/api/logging_kafka_api.rb +1 -1
  24. data/lib/fastly/api/logging_logentries_api.rb +2 -2
  25. data/lib/fastly/api/logging_loggly_api.rb +2 -2
  26. data/lib/fastly/api/logging_logshuttle_api.rb +2 -2
  27. data/lib/fastly/api/logging_newrelic_api.rb +2 -2
  28. data/lib/fastly/api/logging_newrelicotlp_api.rb +2 -2
  29. data/lib/fastly/api/logging_openstack_api.rb +2 -2
  30. data/lib/fastly/api/logging_papertrail_api.rb +2 -2
  31. data/lib/fastly/api/logging_pubsub_api.rb +2 -2
  32. data/lib/fastly/api/logging_s3_api.rb +2 -2
  33. data/lib/fastly/api/logging_scalyr_api.rb +2 -2
  34. data/lib/fastly/api/logging_sftp_api.rb +2 -2
  35. data/lib/fastly/api/logging_splunk_api.rb +2 -2
  36. data/lib/fastly/api/logging_sumologic_api.rb +2 -2
  37. data/lib/fastly/api/logging_syslog_api.rb +2 -2
  38. data/lib/fastly/api/service_api.rb +3 -0
  39. data/lib/fastly/models/backend.rb +2 -1
  40. data/lib/fastly/models/backend_response.rb +2 -1
  41. data/lib/fastly/models/logging_azureblob_response.rb +2 -2
  42. data/lib/fastly/models/logging_bigquery_response.rb +2 -2
  43. data/lib/fastly/models/logging_cloudfiles_response.rb +2 -2
  44. data/lib/fastly/models/logging_common.rb +2 -2
  45. data/lib/fastly/models/logging_common_response.rb +2 -2
  46. data/lib/fastly/models/logging_common_response_all_of.rb +2 -2
  47. data/lib/fastly/models/logging_datadog_response.rb +2 -2
  48. data/lib/fastly/models/logging_digitalocean_response.rb +2 -2
  49. data/lib/fastly/models/logging_elasticsearch_response.rb +2 -2
  50. data/lib/fastly/models/logging_ftp_response.rb +2 -2
  51. data/lib/fastly/models/logging_gcs_response.rb +2 -2
  52. data/lib/fastly/models/logging_google_pubsub_response.rb +2 -2
  53. data/lib/fastly/models/logging_grafanacloudlogs_response.rb +2 -2
  54. data/lib/fastly/models/logging_heroku_response.rb +2 -2
  55. data/lib/fastly/models/logging_honeycomb_response.rb +2 -2
  56. data/lib/fastly/models/logging_https_response.rb +2 -2
  57. data/lib/fastly/models/logging_kafka_response.rb +2 -2
  58. data/lib/fastly/models/logging_kafka_response_post.rb +2 -2
  59. data/lib/fastly/models/logging_logentries_response.rb +2 -2
  60. data/lib/fastly/models/logging_loggly_response.rb +2 -2
  61. data/lib/fastly/models/logging_logshuttle_response.rb +2 -2
  62. data/lib/fastly/models/logging_newrelic_response.rb +2 -2
  63. data/lib/fastly/models/logging_newrelicotlp_response.rb +2 -2
  64. data/lib/fastly/models/logging_openstack_response.rb +2 -2
  65. data/lib/fastly/models/logging_papertrail_response.rb +2 -2
  66. data/lib/fastly/models/logging_placement.rb +0 -1
  67. data/lib/fastly/models/logging_s3_response.rb +2 -2
  68. data/lib/fastly/models/logging_scalyr_response.rb +2 -2
  69. data/lib/fastly/models/logging_sftp_response.rb +2 -2
  70. data/lib/fastly/models/logging_splunk_response.rb +2 -2
  71. data/lib/fastly/models/logging_sumologic_response.rb +2 -2
  72. data/lib/fastly/models/logging_syslog_response.rb +2 -2
  73. data/lib/fastly/models/results.rb +2 -2
  74. data/lib/fastly/version.rb +1 -1
  75. data/sig.json +1 -1
  76. metadata +2 -2
@@ -79,7 +79,7 @@ module Fastly
79
79
  if @api_client.config.client_side_validation && version_id.nil?
80
80
  fail ArgumentError, "Missing the required parameter 'version_id' when calling LoggingOpenstackApi.create_log_openstack"
81
81
  end
82
- allowable_values = ["none", "waf_debug", "null"]
82
+ allowable_values = ["none", "null"]
83
83
  if @api_client.config.client_side_validation && opts[:'placement'] && !allowable_values.include?(opts[:'placement'])
84
84
  fail ArgumentError, "invalid value for \"placement\", must be one of #{allowable_values}"
85
85
  end
@@ -449,7 +449,7 @@ module Fastly
449
449
  if @api_client.config.client_side_validation && logging_openstack_name.nil?
450
450
  fail ArgumentError, "Missing the required parameter 'logging_openstack_name' when calling LoggingOpenstackApi.update_log_openstack"
451
451
  end
452
- allowable_values = ["none", "waf_debug", "null"]
452
+ allowable_values = ["none", "null"]
453
453
  if @api_client.config.client_side_validation && opts[:'placement'] && !allowable_values.include?(opts[:'placement'])
454
454
  fail ArgumentError, "invalid value for \"placement\", must be one of #{allowable_values}"
455
455
  end
@@ -61,7 +61,7 @@ module Fastly
61
61
  if @api_client.config.client_side_validation && version_id.nil?
62
62
  fail ArgumentError, "Missing the required parameter 'version_id' when calling LoggingPapertrailApi.create_log_papertrail"
63
63
  end
64
- allowable_values = ["none", "waf_debug", "null"]
64
+ allowable_values = ["none", "null"]
65
65
  if @api_client.config.client_side_validation && opts[:'placement'] && !allowable_values.include?(opts[:'placement'])
66
66
  fail ArgumentError, "invalid value for \"placement\", must be one of #{allowable_values}"
67
67
  end
@@ -396,7 +396,7 @@ module Fastly
396
396
  if @api_client.config.client_side_validation && logging_papertrail_name.nil?
397
397
  fail ArgumentError, "Missing the required parameter 'logging_papertrail_name' when calling LoggingPapertrailApi.update_log_papertrail"
398
398
  end
399
- allowable_values = ["none", "waf_debug", "null"]
399
+ allowable_values = ["none", "null"]
400
400
  if @api_client.config.client_side_validation && opts[:'placement'] && !allowable_values.include?(opts[:'placement'])
401
401
  fail ArgumentError, "invalid value for \"placement\", must be one of #{allowable_values}"
402
402
  end
@@ -67,7 +67,7 @@ module Fastly
67
67
  if @api_client.config.client_side_validation && version_id.nil?
68
68
  fail ArgumentError, "Missing the required parameter 'version_id' when calling LoggingPubsubApi.create_log_gcp_pubsub"
69
69
  end
70
- allowable_values = ["none", "waf_debug", "null"]
70
+ allowable_values = ["none", "null"]
71
71
  if @api_client.config.client_side_validation && opts[:'placement'] && !allowable_values.include?(opts[:'placement'])
72
72
  fail ArgumentError, "invalid value for \"placement\", must be one of #{allowable_values}"
73
73
  end
@@ -411,7 +411,7 @@ module Fastly
411
411
  if @api_client.config.client_side_validation && logging_google_pubsub_name.nil?
412
412
  fail ArgumentError, "Missing the required parameter 'logging_google_pubsub_name' when calling LoggingPubsubApi.update_log_gcp_pubsub"
413
413
  end
414
- allowable_values = ["none", "waf_debug", "null"]
414
+ allowable_values = ["none", "null"]
415
415
  if @api_client.config.client_side_validation && opts[:'placement'] && !allowable_values.include?(opts[:'placement'])
416
416
  fail ArgumentError, "invalid value for \"placement\", must be one of #{allowable_values}"
417
417
  end
@@ -91,7 +91,7 @@ module Fastly
91
91
  if @api_client.config.client_side_validation && version_id.nil?
92
92
  fail ArgumentError, "Missing the required parameter 'version_id' when calling LoggingS3Api.create_log_aws_s3"
93
93
  end
94
- allowable_values = ["none", "waf_debug", "null"]
94
+ allowable_values = ["none", "null"]
95
95
  if @api_client.config.client_side_validation && opts[:'placement'] && !allowable_values.include?(opts[:'placement'])
96
96
  fail ArgumentError, "invalid value for \"placement\", must be one of #{allowable_values}"
97
97
  end
@@ -483,7 +483,7 @@ module Fastly
483
483
  if @api_client.config.client_side_validation && logging_s3_name.nil?
484
484
  fail ArgumentError, "Missing the required parameter 'logging_s3_name' when calling LoggingS3Api.update_log_aws_s3"
485
485
  end
486
- allowable_values = ["none", "waf_debug", "null"]
486
+ allowable_values = ["none", "null"]
487
487
  if @api_client.config.client_side_validation && opts[:'placement'] && !allowable_values.include?(opts[:'placement'])
488
488
  fail ArgumentError, "invalid value for \"placement\", must be one of #{allowable_values}"
489
489
  end
@@ -63,7 +63,7 @@ module Fastly
63
63
  if @api_client.config.client_side_validation && version_id.nil?
64
64
  fail ArgumentError, "Missing the required parameter 'version_id' when calling LoggingScalyrApi.create_log_scalyr"
65
65
  end
66
- allowable_values = ["none", "waf_debug", "null"]
66
+ allowable_values = ["none", "null"]
67
67
  if @api_client.config.client_side_validation && opts[:'placement'] && !allowable_values.include?(opts[:'placement'])
68
68
  fail ArgumentError, "invalid value for \"placement\", must be one of #{allowable_values}"
69
69
  end
@@ -405,7 +405,7 @@ module Fastly
405
405
  if @api_client.config.client_side_validation && logging_scalyr_name.nil?
406
406
  fail ArgumentError, "Missing the required parameter 'logging_scalyr_name' when calling LoggingScalyrApi.update_log_scalyr"
407
407
  end
408
- allowable_values = ["none", "waf_debug", "null"]
408
+ allowable_values = ["none", "null"]
409
409
  if @api_client.config.client_side_validation && opts[:'placement'] && !allowable_values.include?(opts[:'placement'])
410
410
  fail ArgumentError, "invalid value for \"placement\", must be one of #{allowable_values}"
411
411
  end
@@ -83,7 +83,7 @@ module Fastly
83
83
  if @api_client.config.client_side_validation && version_id.nil?
84
84
  fail ArgumentError, "Missing the required parameter 'version_id' when calling LoggingSftpApi.create_log_sftp"
85
85
  end
86
- allowable_values = ["none", "waf_debug", "null"]
86
+ allowable_values = ["none", "null"]
87
87
  if @api_client.config.client_side_validation && opts[:'placement'] && !allowable_values.include?(opts[:'placement'])
88
88
  fail ArgumentError, "invalid value for \"placement\", must be one of #{allowable_values}"
89
89
  end
@@ -459,7 +459,7 @@ module Fastly
459
459
  if @api_client.config.client_side_validation && logging_sftp_name.nil?
460
460
  fail ArgumentError, "Missing the required parameter 'logging_sftp_name' when calling LoggingSftpApi.update_log_sftp"
461
461
  end
462
- allowable_values = ["none", "waf_debug", "null"]
462
+ allowable_values = ["none", "null"]
463
463
  if @api_client.config.client_side_validation && opts[:'placement'] && !allowable_values.include?(opts[:'placement'])
464
464
  fail ArgumentError, "invalid value for \"placement\", must be one of #{allowable_values}"
465
465
  end
@@ -75,7 +75,7 @@ module Fastly
75
75
  if @api_client.config.client_side_validation && version_id.nil?
76
76
  fail ArgumentError, "Missing the required parameter 'version_id' when calling LoggingSplunkApi.create_log_splunk"
77
77
  end
78
- allowable_values = ["none", "waf_debug", "null"]
78
+ allowable_values = ["none", "null"]
79
79
  if @api_client.config.client_side_validation && opts[:'placement'] && !allowable_values.include?(opts[:'placement'])
80
80
  fail ArgumentError, "invalid value for \"placement\", must be one of #{allowable_values}"
81
81
  end
@@ -431,7 +431,7 @@ module Fastly
431
431
  if @api_client.config.client_side_validation && logging_splunk_name.nil?
432
432
  fail ArgumentError, "Missing the required parameter 'logging_splunk_name' when calling LoggingSplunkApi.update_log_splunk"
433
433
  end
434
- allowable_values = ["none", "waf_debug", "null"]
434
+ allowable_values = ["none", "null"]
435
435
  if @api_client.config.client_side_validation && opts[:'placement'] && !allowable_values.include?(opts[:'placement'])
436
436
  fail ArgumentError, "invalid value for \"placement\", must be one of #{allowable_values}"
437
437
  end
@@ -61,7 +61,7 @@ module Fastly
61
61
  if @api_client.config.client_side_validation && version_id.nil?
62
62
  fail ArgumentError, "Missing the required parameter 'version_id' when calling LoggingSumologicApi.create_log_sumologic"
63
63
  end
64
- allowable_values = ["none", "waf_debug", "null"]
64
+ allowable_values = ["none", "null"]
65
65
  if @api_client.config.client_side_validation && opts[:'placement'] && !allowable_values.include?(opts[:'placement'])
66
66
  fail ArgumentError, "invalid value for \"placement\", must be one of #{allowable_values}"
67
67
  end
@@ -396,7 +396,7 @@ module Fastly
396
396
  if @api_client.config.client_side_validation && logging_sumologic_name.nil?
397
397
  fail ArgumentError, "Missing the required parameter 'logging_sumologic_name' when calling LoggingSumologicApi.update_log_sumologic"
398
398
  end
399
- allowable_values = ["none", "waf_debug", "null"]
399
+ allowable_values = ["none", "null"]
400
400
  if @api_client.config.client_side_validation && opts[:'placement'] && !allowable_values.include?(opts[:'placement'])
401
401
  fail ArgumentError, "invalid value for \"placement\", must be one of #{allowable_values}"
402
402
  end
@@ -79,7 +79,7 @@ module Fastly
79
79
  if @api_client.config.client_side_validation && version_id.nil?
80
80
  fail ArgumentError, "Missing the required parameter 'version_id' when calling LoggingSyslogApi.create_log_syslog"
81
81
  end
82
- allowable_values = ["none", "waf_debug", "null"]
82
+ allowable_values = ["none", "null"]
83
83
  if @api_client.config.client_side_validation && opts[:'placement'] && !allowable_values.include?(opts[:'placement'])
84
84
  fail ArgumentError, "invalid value for \"placement\", must be one of #{allowable_values}"
85
85
  end
@@ -441,7 +441,7 @@ module Fastly
441
441
  if @api_client.config.client_side_validation && logging_syslog_name.nil?
442
442
  fail ArgumentError, "Missing the required parameter 'logging_syslog_name' when calling LoggingSyslogApi.update_log_syslog"
443
443
  end
444
- allowable_values = ["none", "waf_debug", "null"]
444
+ allowable_values = ["none", "null"]
445
445
  if @api_client.config.client_side_validation && opts[:'placement'] && !allowable_values.include?(opts[:'placement'])
446
446
  fail ArgumentError, "invalid value for \"placement\", must be one of #{allowable_values}"
447
447
  end
@@ -224,6 +224,7 @@ module Fastly
224
224
  # List detailed information on a specified service.
225
225
  # @option opts [String] :service_id Alphanumeric string identifying the service. (required)
226
226
  # @option opts [Integer] :version Number identifying a version of the service.
227
+ # @option opts [Boolean] :filter_versions_active Limits the versions array to the active versions. Accepts `true` or `false` (defaults to false).
227
228
  # @return [ServiceDetail]
228
229
  def get_service_detail(opts = {})
229
230
  data, _status_code, _headers = get_service_detail_with_http_info(opts)
@@ -234,6 +235,7 @@ module Fastly
234
235
  # List detailed information on a specified service.
235
236
  # @option opts [String] :service_id Alphanumeric string identifying the service. (required)
236
237
  # @option opts [Integer] :version Number identifying a version of the service.
238
+ # @option opts [Boolean] :filter_versions_active Limits the versions array to the active versions. Accepts `true` or `false` (defaults to false).
237
239
  # @return [Array<(ServiceDetail, Integer, Hash)>] ServiceDetail data, response status code and response headers
238
240
  def get_service_detail_with_http_info(opts = {})
239
241
  if @api_client.config.debugging
@@ -255,6 +257,7 @@ module Fastly
255
257
  # query parameters
256
258
  query_params = opts[:query_params] || {}
257
259
  query_params[:'version'] = opts[:'version'] if !opts[:'version'].nil?
260
+ query_params[:'filter[versions.active]'] = opts[:'filter_versions_active'] if !opts[:'filter_versions_active'].nil?
258
261
 
259
262
  # header parameters
260
263
  header_params = opts[:header_params] || {}
@@ -67,7 +67,7 @@ module Fastly
67
67
  # Port on which the backend server is listening for connections from Fastly. Setting `port` to 80 or 443 will also set `use_ssl` automatically (to false and true respectively), unless explicitly overridden by setting `use_ssl` in the same request.
68
68
  attr_accessor :port
69
69
 
70
- # Prefer IPv6 connections for DNS hostname lookups.
70
+ # Prefer IPv6 connections to origins for hostname backends.
71
71
  attr_accessor :prefer_ipv6
72
72
 
73
73
  # Name of a Condition, which if satisfied, will select this backend during a request. If set, will override any `auto_loadbalance` setting. By default, the first backend added to a service is selected for all requests.
@@ -223,6 +223,7 @@ module Fastly
223
223
  :'max_tls_version',
224
224
  :'min_tls_version',
225
225
  :'override_host',
226
+ :'prefer_ipv6',
226
227
  :'share_key',
227
228
  :'shield',
228
229
  :'ssl_ca_cert',
@@ -67,7 +67,7 @@ module Fastly
67
67
  # Port on which the backend server is listening for connections from Fastly. Setting `port` to 80 or 443 will also set `use_ssl` automatically (to false and true respectively), unless explicitly overridden by setting `use_ssl` in the same request.
68
68
  attr_accessor :port
69
69
 
70
- # Prefer IPv6 connections for DNS hostname lookups.
70
+ # Prefer IPv6 connections to origins for hostname backends.
71
71
  attr_accessor :prefer_ipv6
72
72
 
73
73
  # Name of a Condition, which if satisfied, will select this backend during a request. If set, will override any `auto_loadbalance` setting. By default, the first backend added to a service is selected for all requests.
@@ -251,6 +251,7 @@ module Fastly
251
251
  :'max_tls_version',
252
252
  :'min_tls_version',
253
253
  :'override_host',
254
+ :'prefer_ipv6',
254
255
  :'share_key',
255
256
  :'shield',
256
257
  :'ssl_ca_cert',
@@ -308,7 +308,7 @@ module Fastly
308
308
  # Check to see if the all the properties in the model are valid
309
309
  # @return true if the model is valid
310
310
  def valid?
311
- placement_validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
311
+ placement_validator = EnumAttributeValidator.new('String', ["none", "null"])
312
312
  return false unless placement_validator.valid?(@placement)
313
313
  format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
314
314
  return false unless format_version_validator.valid?(@format_version)
@@ -323,7 +323,7 @@ module Fastly
323
323
  # Custom attribute writer method checking allowed values (enum).
324
324
  # @param [Object] placement Object to be assigned
325
325
  def placement=(placement)
326
- validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
326
+ validator = EnumAttributeValidator.new('String', ["none", "null"])
327
327
  unless validator.valid?(placement)
328
328
  fail ArgumentError, "invalid value for \"placement\", must be one of #{validator.allowable_values}."
329
329
  end
@@ -254,7 +254,7 @@ module Fastly
254
254
  # Check to see if the all the properties in the model are valid
255
255
  # @return true if the model is valid
256
256
  def valid?
257
- placement_validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
257
+ placement_validator = EnumAttributeValidator.new('String', ["none", "null"])
258
258
  return false unless placement_validator.valid?(@placement)
259
259
  format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
260
260
  return false unless format_version_validator.valid?(@format_version)
@@ -264,7 +264,7 @@ module Fastly
264
264
  # Custom attribute writer method checking allowed values (enum).
265
265
  # @param [Object] placement Object to be assigned
266
266
  def placement=(placement)
267
- validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
267
+ validator = EnumAttributeValidator.new('String', ["none", "null"])
268
268
  unless validator.valid?(placement)
269
269
  fail ArgumentError, "invalid value for \"placement\", must be one of #{validator.allowable_values}."
270
270
  end
@@ -305,7 +305,7 @@ module Fastly
305
305
  # Check to see if the all the properties in the model are valid
306
306
  # @return true if the model is valid
307
307
  def valid?
308
- placement_validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
308
+ placement_validator = EnumAttributeValidator.new('String', ["none", "null"])
309
309
  return false unless placement_validator.valid?(@placement)
310
310
  format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
311
311
  return false unless format_version_validator.valid?(@format_version)
@@ -321,7 +321,7 @@ module Fastly
321
321
  # Custom attribute writer method checking allowed values (enum).
322
322
  # @param [Object] placement Object to be assigned
323
323
  def placement=(placement)
324
- validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
324
+ validator = EnumAttributeValidator.new('String', ["none", "null"])
325
325
  unless validator.valid?(placement)
326
326
  fail ArgumentError, "invalid value for \"placement\", must be one of #{validator.allowable_values}."
327
327
  end
@@ -124,7 +124,7 @@ module Fastly
124
124
  # Check to see if the all the properties in the model are valid
125
125
  # @return true if the model is valid
126
126
  def valid?
127
- placement_validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
127
+ placement_validator = EnumAttributeValidator.new('String', ["none", "null"])
128
128
  return false unless placement_validator.valid?(@placement)
129
129
  true
130
130
  end
@@ -132,7 +132,7 @@ module Fastly
132
132
  # Custom attribute writer method checking allowed values (enum).
133
133
  # @param [Object] placement Object to be assigned
134
134
  def placement=(placement)
135
- validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
135
+ validator = EnumAttributeValidator.new('String', ["none", "null"])
136
136
  unless validator.valid?(placement)
137
137
  fail ArgumentError, "invalid value for \"placement\", must be one of #{validator.allowable_values}."
138
138
  end
@@ -143,7 +143,7 @@ module Fastly
143
143
  # Check to see if the all the properties in the model are valid
144
144
  # @return true if the model is valid
145
145
  def valid?
146
- placement_validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
146
+ placement_validator = EnumAttributeValidator.new('String', ["none", "null"])
147
147
  return false unless placement_validator.valid?(@placement)
148
148
  format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
149
149
  return false unless format_version_validator.valid?(@format_version)
@@ -153,7 +153,7 @@ module Fastly
153
153
  # Custom attribute writer method checking allowed values (enum).
154
154
  # @param [Object] placement Object to be assigned
155
155
  def placement=(placement)
156
- validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
156
+ validator = EnumAttributeValidator.new('String', ["none", "null"])
157
157
  unless validator.valid?(placement)
158
158
  fail ArgumentError, "invalid value for \"placement\", must be one of #{validator.allowable_values}."
159
159
  end
@@ -124,7 +124,7 @@ module Fastly
124
124
  # Check to see if the all the properties in the model are valid
125
125
  # @return true if the model is valid
126
126
  def valid?
127
- placement_validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
127
+ placement_validator = EnumAttributeValidator.new('String', ["none", "null"])
128
128
  return false unless placement_validator.valid?(@placement)
129
129
  true
130
130
  end
@@ -132,7 +132,7 @@ module Fastly
132
132
  # Custom attribute writer method checking allowed values (enum).
133
133
  # @param [Object] placement Object to be assigned
134
134
  def placement=(placement)
135
- validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
135
+ validator = EnumAttributeValidator.new('String', ["none", "null"])
136
136
  unless validator.valid?(placement)
137
137
  fail ArgumentError, "invalid value for \"placement\", must be one of #{validator.allowable_values}."
138
138
  end
@@ -211,7 +211,7 @@ module Fastly
211
211
  # Check to see if the all the properties in the model are valid
212
212
  # @return true if the model is valid
213
213
  def valid?
214
- placement_validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
214
+ placement_validator = EnumAttributeValidator.new('String', ["none", "null"])
215
215
  return false unless placement_validator.valid?(@placement)
216
216
  format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
217
217
  return false unless format_version_validator.valid?(@format_version)
@@ -223,7 +223,7 @@ module Fastly
223
223
  # Custom attribute writer method checking allowed values (enum).
224
224
  # @param [Object] placement Object to be assigned
225
225
  def placement=(placement)
226
- validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
226
+ validator = EnumAttributeValidator.new('String', ["none", "null"])
227
227
  unless validator.valid?(placement)
228
228
  fail ArgumentError, "invalid value for \"placement\", must be one of #{validator.allowable_values}."
229
229
  end
@@ -306,7 +306,7 @@ module Fastly
306
306
  # Check to see if the all the properties in the model are valid
307
307
  # @return true if the model is valid
308
308
  def valid?
309
- placement_validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
309
+ placement_validator = EnumAttributeValidator.new('String', ["none", "null"])
310
310
  return false unless placement_validator.valid?(@placement)
311
311
  format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
312
312
  return false unless format_version_validator.valid?(@format_version)
@@ -320,7 +320,7 @@ module Fastly
320
320
  # Custom attribute writer method checking allowed values (enum).
321
321
  # @param [Object] placement Object to be assigned
322
322
  def placement=(placement)
323
- validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
323
+ validator = EnumAttributeValidator.new('String', ["none", "null"])
324
324
  unless validator.valid?(placement)
325
325
  fail ArgumentError, "invalid value for \"placement\", must be one of #{validator.allowable_values}."
326
326
  end
@@ -309,7 +309,7 @@ module Fastly
309
309
  # Check to see if the all the properties in the model are valid
310
310
  # @return true if the model is valid
311
311
  def valid?
312
- placement_validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
312
+ placement_validator = EnumAttributeValidator.new('String', ["none", "null"])
313
313
  return false unless placement_validator.valid?(@placement)
314
314
  format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
315
315
  return false unless format_version_validator.valid?(@format_version)
@@ -319,7 +319,7 @@ module Fastly
319
319
  # Custom attribute writer method checking allowed values (enum).
320
320
  # @param [Object] placement Object to be assigned
321
321
  def placement=(placement)
322
- validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
322
+ validator = EnumAttributeValidator.new('String', ["none", "null"])
323
323
  unless validator.valid?(placement)
324
324
  fail ArgumentError, "invalid value for \"placement\", must be one of #{validator.allowable_values}."
325
325
  end
@@ -322,7 +322,7 @@ module Fastly
322
322
  # Check to see if the all the properties in the model are valid
323
323
  # @return true if the model is valid
324
324
  def valid?
325
- placement_validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
325
+ placement_validator = EnumAttributeValidator.new('String', ["none", "null"])
326
326
  return false unless placement_validator.valid?(@placement)
327
327
  format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
328
328
  return false unless format_version_validator.valid?(@format_version)
@@ -336,7 +336,7 @@ module Fastly
336
336
  # Custom attribute writer method checking allowed values (enum).
337
337
  # @param [Object] placement Object to be assigned
338
338
  def placement=(placement)
339
- validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
339
+ validator = EnumAttributeValidator.new('String', ["none", "null"])
340
340
  unless validator.valid?(placement)
341
341
  fail ArgumentError, "invalid value for \"placement\", must be one of #{validator.allowable_values}."
342
342
  end
@@ -312,7 +312,7 @@ module Fastly
312
312
  # Check to see if the all the properties in the model are valid
313
313
  # @return true if the model is valid
314
314
  def valid?
315
- placement_validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
315
+ placement_validator = EnumAttributeValidator.new('String', ["none", "null"])
316
316
  return false unless placement_validator.valid?(@placement)
317
317
  format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
318
318
  return false unless format_version_validator.valid?(@format_version)
@@ -326,7 +326,7 @@ module Fastly
326
326
  # Custom attribute writer method checking allowed values (enum).
327
327
  # @param [Object] placement Object to be assigned
328
328
  def placement=(placement)
329
- validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
329
+ validator = EnumAttributeValidator.new('String', ["none", "null"])
330
330
  unless validator.valid?(placement)
331
331
  fail ArgumentError, "invalid value for \"placement\", must be one of #{validator.allowable_values}."
332
332
  end
@@ -237,7 +237,7 @@ module Fastly
237
237
  # Check to see if the all the properties in the model are valid
238
238
  # @return true if the model is valid
239
239
  def valid?
240
- placement_validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
240
+ placement_validator = EnumAttributeValidator.new('String', ["none", "null"])
241
241
  return false unless placement_validator.valid?(@placement)
242
242
  format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
243
243
  return false unless format_version_validator.valid?(@format_version)
@@ -247,7 +247,7 @@ module Fastly
247
247
  # Custom attribute writer method checking allowed values (enum).
248
248
  # @param [Object] placement Object to be assigned
249
249
  def placement=(placement)
250
- validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
250
+ validator = EnumAttributeValidator.new('String', ["none", "null"])
251
251
  unless validator.valid?(placement)
252
252
  fail ArgumentError, "invalid value for \"placement\", must be one of #{validator.allowable_values}."
253
253
  end
@@ -225,7 +225,7 @@ module Fastly
225
225
  # Check to see if the all the properties in the model are valid
226
226
  # @return true if the model is valid
227
227
  def valid?
228
- placement_validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
228
+ placement_validator = EnumAttributeValidator.new('String', ["none", "null"])
229
229
  return false unless placement_validator.valid?(@placement)
230
230
  format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
231
231
  return false unless format_version_validator.valid?(@format_version)
@@ -235,7 +235,7 @@ module Fastly
235
235
  # Custom attribute writer method checking allowed values (enum).
236
236
  # @param [Object] placement Object to be assigned
237
237
  def placement=(placement)
238
- validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
238
+ validator = EnumAttributeValidator.new('String', ["none", "null"])
239
239
  unless validator.valid?(placement)
240
240
  fail ArgumentError, "invalid value for \"placement\", must be one of #{validator.allowable_values}."
241
241
  end
@@ -209,7 +209,7 @@ module Fastly
209
209
  # Check to see if the all the properties in the model are valid
210
210
  # @return true if the model is valid
211
211
  def valid?
212
- placement_validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
212
+ placement_validator = EnumAttributeValidator.new('String', ["none", "null"])
213
213
  return false unless placement_validator.valid?(@placement)
214
214
  format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
215
215
  return false unless format_version_validator.valid?(@format_version)
@@ -219,7 +219,7 @@ module Fastly
219
219
  # Custom attribute writer method checking allowed values (enum).
220
220
  # @param [Object] placement Object to be assigned
221
221
  def placement=(placement)
222
- validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
222
+ validator = EnumAttributeValidator.new('String', ["none", "null"])
223
223
  unless validator.valid?(placement)
224
224
  fail ArgumentError, "invalid value for \"placement\", must be one of #{validator.allowable_values}."
225
225
  end
@@ -207,7 +207,7 @@ module Fastly
207
207
  # Check to see if the all the properties in the model are valid
208
208
  # @return true if the model is valid
209
209
  def valid?
210
- placement_validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
210
+ placement_validator = EnumAttributeValidator.new('String', ["none", "null"])
211
211
  return false unless placement_validator.valid?(@placement)
212
212
  format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
213
213
  return false unless format_version_validator.valid?(@format_version)
@@ -217,7 +217,7 @@ module Fastly
217
217
  # Custom attribute writer method checking allowed values (enum).
218
218
  # @param [Object] placement Object to be assigned
219
219
  def placement=(placement)
220
- validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
220
+ validator = EnumAttributeValidator.new('String', ["none", "null"])
221
221
  unless validator.valid?(placement)
222
222
  fail ArgumentError, "invalid value for \"placement\", must be one of #{validator.allowable_values}."
223
223
  end
@@ -338,7 +338,7 @@ module Fastly
338
338
  # Check to see if the all the properties in the model are valid
339
339
  # @return true if the model is valid
340
340
  def valid?
341
- placement_validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
341
+ placement_validator = EnumAttributeValidator.new('String', ["none", "null"])
342
342
  return false unless placement_validator.valid?(@placement)
343
343
  format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
344
344
  return false unless format_version_validator.valid?(@format_version)
@@ -352,7 +352,7 @@ module Fastly
352
352
  # Custom attribute writer method checking allowed values (enum).
353
353
  # @param [Object] placement Object to be assigned
354
354
  def placement=(placement)
355
- validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
355
+ validator = EnumAttributeValidator.new('String', ["none", "null"])
356
356
  unless validator.valid?(placement)
357
357
  fail ArgumentError, "invalid value for \"placement\", must be one of #{validator.allowable_values}."
358
358
  end
@@ -336,7 +336,7 @@ module Fastly
336
336
  # Check to see if the all the properties in the model are valid
337
337
  # @return true if the model is valid
338
338
  def valid?
339
- placement_validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
339
+ placement_validator = EnumAttributeValidator.new('String', ["none", "null"])
340
340
  return false unless placement_validator.valid?(@placement)
341
341
  format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
342
342
  return false unless format_version_validator.valid?(@format_version)
@@ -352,7 +352,7 @@ module Fastly
352
352
  # Custom attribute writer method checking allowed values (enum).
353
353
  # @param [Object] placement Object to be assigned
354
354
  def placement=(placement)
355
- validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
355
+ validator = EnumAttributeValidator.new('String', ["none", "null"])
356
356
  unless validator.valid?(placement)
357
357
  fail ArgumentError, "invalid value for \"placement\", must be one of #{validator.allowable_values}."
358
358
  end
@@ -337,7 +337,7 @@ module Fastly
337
337
  # Check to see if the all the properties in the model are valid
338
338
  # @return true if the model is valid
339
339
  def valid?
340
- placement_validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
340
+ placement_validator = EnumAttributeValidator.new('String', ["none", "null"])
341
341
  return false unless placement_validator.valid?(@placement)
342
342
  format_version_validator = EnumAttributeValidator.new('Integer', [1, 2])
343
343
  return false unless format_version_validator.valid?(@format_version)
@@ -353,7 +353,7 @@ module Fastly
353
353
  # Custom attribute writer method checking allowed values (enum).
354
354
  # @param [Object] placement Object to be assigned
355
355
  def placement=(placement)
356
- validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
356
+ validator = EnumAttributeValidator.new('String', ["none", "null"])
357
357
  unless validator.valid?(placement)
358
358
  fail ArgumentError, "invalid value for \"placement\", must be one of #{validator.allowable_values}."
359
359
  end
@@ -230,7 +230,7 @@ module Fastly
230
230
  # Check to see if the all the properties in the model are valid
231
231
  # @return true if the model is valid
232
232
  def valid?
233
- placement_validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
233
+ placement_validator = EnumAttributeValidator.new('String', ["none", "null"])
234
234
  return false unless placement_validator.valid?(@placement)
235
235
  format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
236
236
  return false unless format_version_validator.valid?(@format_version)
@@ -242,7 +242,7 @@ module Fastly
242
242
  # Custom attribute writer method checking allowed values (enum).
243
243
  # @param [Object] placement Object to be assigned
244
244
  def placement=(placement)
245
- validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
245
+ validator = EnumAttributeValidator.new('String', ["none", "null"])
246
246
  unless validator.valid?(placement)
247
247
  fail ArgumentError, "invalid value for \"placement\", must be one of #{validator.allowable_values}."
248
248
  end
@@ -200,7 +200,7 @@ module Fastly
200
200
  # Check to see if the all the properties in the model are valid
201
201
  # @return true if the model is valid
202
202
  def valid?
203
- placement_validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
203
+ placement_validator = EnumAttributeValidator.new('String', ["none", "null"])
204
204
  return false unless placement_validator.valid?(@placement)
205
205
  format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
206
206
  return false unless format_version_validator.valid?(@format_version)
@@ -210,7 +210,7 @@ module Fastly
210
210
  # Custom attribute writer method checking allowed values (enum).
211
211
  # @param [Object] placement Object to be assigned
212
212
  def placement=(placement)
213
- validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
213
+ validator = EnumAttributeValidator.new('String', ["none", "null"])
214
214
  unless validator.valid?(placement)
215
215
  fail ArgumentError, "invalid value for \"placement\", must be one of #{validator.allowable_values}."
216
216
  end