Method: OpenapiClient::AccessTokenRequest#list_invalid_properties

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

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properties with the reasons



75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# File 'lib/openapi_client/models/access_token_request.rb', line 75

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

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

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

  invalid_properties
end