Method: AlfrescoAPI::Tag#list_invalid_properties

Defined in:
lib/alfresco_api/models/tag.rb

#list_invalid_propertiesObject

Show invalid properties with the reasons. Usually used together with valid?

Returns:

  • Array for valid properies with the reasons



59
60
61
62
63
64
65
66
67
68
69
70
# File 'lib/alfresco_api/models/tag.rb', line 59

def list_invalid_properties
  invalid_properties = Array.new
  if @id.nil?
    invalid_properties.push("invalid value for 'id', id cannot be nil.")
  end

  if @tag.nil?
    invalid_properties.push("invalid value for 'tag', tag cannot be nil.")
  end

  return invalid_properties
end