lib/purecloudplatformclientv2/models/scim_metadata.rb in purecloudplatformclientv2-75.1.0 vs lib/purecloudplatformclientv2/models/scim_metadata.rb in purecloudplatformclientv2-76.0.0

- old
+ new

@@ -121,11 +121,11 @@ # @return true if the model is valid def valid? - allowed_values = ["User", "Group", "ServiceProviderConfig", "ResourceType"] + allowed_values = ["User", "Group", "ServiceProviderConfig", "ResourceType", "Schema"] if @resource_type && !allowed_values.include?(@resource_type) return false end @@ -147,10 +147,10 @@ # Custom attribute writer method checking allowed values (enum). # @param [Object] resource_type Object to be assigned def resource_type=(resource_type) - allowed_values = ["User", "Group", "ServiceProviderConfig", "ResourceType"] + allowed_values = ["User", "Group", "ServiceProviderConfig", "ResourceType", "Schema"] if resource_type && !allowed_values.include?(resource_type) fail ArgumentError, "invalid value for 'resource_type', must be one of #{allowed_values}." end @resource_type = resource_type end