Method: OpenapiClient::Order#valid?

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

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



124
125
126
127
# File 'lib/openapi_client/models/order.rb', line 124

def valid?
  return false if !@order_id.nil? && @order_id.to_s.length > 100
  true
end