lib/fastly/models/rate_limiter_response.rb in fastly-7.0.0 vs lib/fastly/models/rate_limiter_response.rb in fastly-7.1.0

- old
+ new

@@ -333,11 +333,11 @@ action_validator = EnumAttributeValidator.new('String', ["response", "response_object", "log_only"]) return false unless action_validator.valid?(@action) return false if !@action.nil? && @action.to_s.length < 1 return false if !@response_object_name.nil? && @response_object_name.to_s.length > 255 return false if !@response_object_name.nil? && @response_object_name.to_s.length < 1 - logger_type_validator = EnumAttributeValidator.new('String', ["azureblob", "bigquery", "cloudfiles", "datadog", "digitalocean", "elasticsearch", "ftp", "gcs", "googleanalytics", "heroku", "honeycomb", "http", "https", "kafka", "kinesis", "logentries", "loggly", "logshuttle", "newrelic", "openstack", "papertrail", "pubsub", "s3", "scalyr", "sftp", "splunk", "stackdriver", "sumologic", "syslog"]) + logger_type_validator = EnumAttributeValidator.new('String', ["azureblob", "bigquery", "cloudfiles", "datadog", "digitalocean", "elasticsearch", "ftp", "gcs", "googleanalytics", "heroku", "honeycomb", "http", "https", "kafka", "kinesis", "logentries", "loggly", "logshuttle", "newrelic", "newrelicotlp", "openstack", "papertrail", "pubsub", "s3", "scalyr", "sftp", "splunk", "stackdriver", "sumologic", "syslog"]) return false unless logger_type_validator.valid?(@logger_type) true end # Custom attribute writer method with validation @@ -441,10 +441,10 @@ end # Custom attribute writer method checking allowed values (enum). # @param [Object] logger_type Object to be assigned def logger_type=(logger_type) - validator = EnumAttributeValidator.new('String', ["azureblob", "bigquery", "cloudfiles", "datadog", "digitalocean", "elasticsearch", "ftp", "gcs", "googleanalytics", "heroku", "honeycomb", "http", "https", "kafka", "kinesis", "logentries", "loggly", "logshuttle", "newrelic", "openstack", "papertrail", "pubsub", "s3", "scalyr", "sftp", "splunk", "stackdriver", "sumologic", "syslog"]) + validator = EnumAttributeValidator.new('String', ["azureblob", "bigquery", "cloudfiles", "datadog", "digitalocean", "elasticsearch", "ftp", "gcs", "googleanalytics", "heroku", "honeycomb", "http", "https", "kafka", "kinesis", "logentries", "loggly", "logshuttle", "newrelic", "newrelicotlp", "openstack", "papertrail", "pubsub", "s3", "scalyr", "sftp", "splunk", "stackdriver", "sumologic", "syslog"]) unless validator.valid?(logger_type) fail ArgumentError, "invalid value for \"logger_type\", must be one of #{validator.allowable_values}." end @logger_type = logger_type end