lib/ionoscloud/models/kubernetes_nodes.rb in ionoscloud-5.0.0 vs lib/ionoscloud/models/kubernetes_nodes.rb in ionoscloud-5.0.1

- old
+ new

@@ -122,18 +122,18 @@ end # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? - type_validator = EnumAttributeValidator.new('String', ["nodepool"]) + type_validator = EnumAttributeValidator.new('String', ["collection"]) return false unless type_validator.valid?(@type) true end # Custom attribute writer method checking allowed values (enum). # @param [Object] type Object to be assigned def type=(type) - validator = EnumAttributeValidator.new('String', ["nodepool"]) + validator = EnumAttributeValidator.new('String', ["collection"]) unless validator.valid?(type) fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}." end @type = type end