lib/fastly/models/logging_datadog_additional.rb in fastly-8.4.0 vs lib/fastly/models/logging_datadog_additional.rb in fastly-8.5.0
- old
+ new
@@ -113,18 +113,18 @@
end
# Check to see if the all the properties in the model are valid
# @return true if the model is valid
def valid?
- region_validator = EnumAttributeValidator.new('String', ["US", "EU"])
+ region_validator = EnumAttributeValidator.new('String', ["US", "US3", "US5", "EU (legacy, same as EU1)", "EU1", "AP1"])
return false unless region_validator.valid?(@region)
true
end
# Custom attribute writer method checking allowed values (enum).
# @param [Object] region Object to be assigned
def region=(region)
- validator = EnumAttributeValidator.new('String', ["US", "EU"])
+ validator = EnumAttributeValidator.new('String', ["US", "US3", "US5", "EU (legacy, same as EU1)", "EU1", "AP1"])
unless validator.valid?(region)
fail ArgumentError, "invalid value for \"region\", must be one of #{validator.allowable_values}."
end
@region = region
end