Method: LinodeOpenapiClient::PostProfilePhoneNumberVerifyRequest#list_invalid_properties

Defined in:
lib/linode_openapi_client/models/post_profile_phone_number_verify_request.rb

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properties with the reasons



70
71
72
73
74
75
76
77
78
# File 'lib/linode_openapi_client/models/post_profile_phone_number_verify_request.rb', line 70

def list_invalid_properties
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
  invalid_properties = Array.new
  if @otp_code.nil?
    invalid_properties.push('invalid value for "otp_code", otp_code cannot be nil.')
  end

  invalid_properties
end