def valid?
      return false if !@name.nil? && @name.to_s.length > 500
      return false if @quantity.nil?
      return false if @quantity.to_s.length > 5
      return false if @quantity.to_s.length < 1
      return false if !@note.nil? && @note.to_s.length > 500
      return false if !@catalog_object_id.nil? && @catalog_object_id.to_s.length > 192
      return false if !@variation_name.nil? && @variation_name.to_s.length > 255
      return true
    end
def valid?
      return false if !@name.nil? && @name.to_s.length > 500
      return false if @quantity.nil?
      return false if @quantity.to_s.length > 5
      return false if @quantity.to_s.length < 1
      return false if !@note.nil? && @note.to_s.length > 500
      return false if !@catalog_object_id.nil? && @catalog_object_id.to_s.length > 192
      return false if !@variation_name.nil? && @variation_name.to_s.length > 255
      return true
    end
Check to see if the all the properties in the model are valid
 @return true if the model is valid