lib/fastly/models/cache_setting_response.rb in fastly-4.0.0.alpha4 vs lib/fastly/models/cache_setting_response.rb in fastly-4.0.0
- old
+ new
@@ -103,12 +103,10 @@
# List of attributes with nullable: true
def self.fastly_nullable
Set.new([
:'action',
:'cache_condition',
- :'service_id',
- :'version',
:'created_at',
:'deleted_at',
:'updated_at'
])
end
@@ -186,18 +184,18 @@
end
# Check to see if the all the properties in the model are valid
# @return true if the model is valid
def valid?
- action_validator = EnumAttributeValidator.new('String', ["pass", "deliver", "restart"])
+ action_validator = EnumAttributeValidator.new('String', ["pass", "cache", "restart"])
return false unless action_validator.valid?(@action)
true
end
# Custom attribute writer method checking allowed values (enum).
# @param [Object] action Object to be assigned
def action=(action)
- validator = EnumAttributeValidator.new('String', ["pass", "deliver", "restart"])
+ validator = EnumAttributeValidator.new('String', ["pass", "cache", "restart"])
unless validator.valid?(action)
fail ArgumentError, "invalid value for \"action\", must be one of #{validator.allowable_values}."
end
@action = action
end