diff --git a/lib/connectwise-ruby-sdk/models/catalog_item.rb b/lib/connectwise-ruby-sdk/models/catalog_item.rb index 581155d..d8009ec 100644 --- a/lib/connectwise-ruby-sdk/models/catalog_item.rb +++ b/lib/connectwise-ruby-sdk/models/catalog_item.rb @@ -284,8 +284,8 @@ def list_invalid_properties invalid_properties.push("invalid value for 'description', description cannot be nil.") end - if @description.to_s.length > 50 - invalid_properties.push("invalid value for 'description', the character length must be smaller than or equal to 50.") + if @description.to_s.length > 60 + invalid_properties.push("invalid value for 'description', the character length must be smaller than or equal to 60.") end if @subcategory.nil? @@ -325,7 +325,7 @@ def valid? return false if @identifier.nil? return false if @identifier.to_s.length > 60 return false if @description.nil? - return false if @description.to_s.length > 50 + return false if @description.to_s.length > 60 return false if @subcategory.nil? return false if @type.nil? product_class_validator = EnumAttributeValidator.new('String', ["Agreement", "Bundle", "Inventory", "NonInventory", "Service"]) @@ -361,8 +361,8 @@ def description=(description) fail ArgumentError, "description cannot be nil" end - if description.to_s.length > 50 - fail ArgumentError, "invalid value for 'description', the character length must be smaller than or equal to 50." + if description.to_s.length > 60 + fail ArgumentError, "invalid value for 'description', the character length must be smaller than or equal to 60." end @description = description