Method: OpenapiClient::Order#list_invalid_properties

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

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properties with the reasons



113
114
115
116
117
118
119
120
# File 'lib/openapi_client/models/order.rb', line 113

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

  invalid_properties
end