Method: OpenapiClient::BatchResponseError#list_invalid_properties

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

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properties with the reasons



72
73
74
75
76
77
78
79
# File 'lib/openapi_client/models/batch_response_error.rb', line 72

def list_invalid_properties
  invalid_properties = Array.new
  if !@error.nil? && @error.to_s.length < 1
    invalid_properties.push('invalid value for "error", the character length must be great than or equal to 1.')
  end

  invalid_properties
end