Method: UpBankingClient::CreateWebhookResponseData#list_invalid_properties
- Defined in:
- lib/up_banking/models/create_webhook_response_data.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 |
# File 'lib/up_banking/models/create_webhook_response_data.rb', line 109 def list_invalid_properties invalid_properties = Array.new if @type.nil? invalid_properties.push('invalid value for "type", type cannot be nil.') end if @id.nil? invalid_properties.push('invalid value for "id", id cannot be nil.') end if @attributes.nil? invalid_properties.push('invalid value for "attributes", attributes cannot be nil.') end if @relationships.nil? invalid_properties.push('invalid value for "relationships", relationships cannot be nil.') end invalid_properties end |