Method: PulpcoreClient::AccessPolicy#list_invalid_properties

Defined in:
lib/pulpcore_client/models/access_policy.rb

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properties with the reasons



96
97
98
99
100
101
102
103
# File 'lib/pulpcore_client/models/access_policy.rb', line 96

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

  invalid_properties
end