Method: OpenapiClient::TagShipmentResponseBody#valid?

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

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



87
88
89
90
91
# File 'lib/openapi_client/models/tag_shipment_response_body.rb', line 87

def valid?
  return false if @shipment_id.nil?
  return false if @tag.nil?
  true
end