Method: OpenapiClient::AuthnMeAPIKeyRead#list_invalid_properties

Defined in:
lib/openapi_client/models/authn_me_api_key_read.rb

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properties with the reasons



139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
# File 'lib/openapi_client/models/authn_me_api_key_read.rb', line 139

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

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

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

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

  invalid_properties
end