spacetraders/docs/GetMyShipCargo200Response.md

1.6 KiB

GetMyShipCargo200Response

Properties

Name Type Description Notes
Data ShipCargo

Methods

NewGetMyShipCargo200Response

func NewGetMyShipCargo200Response(data ShipCargo, ) *GetMyShipCargo200Response

NewGetMyShipCargo200Response instantiates a new GetMyShipCargo200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewGetMyShipCargo200ResponseWithDefaults

func NewGetMyShipCargo200ResponseWithDefaults() *GetMyShipCargo200Response

NewGetMyShipCargo200ResponseWithDefaults instantiates a new GetMyShipCargo200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetData

func (o *GetMyShipCargo200Response) GetData() ShipCargo

GetData returns the Data field if non-nil, zero value otherwise.

GetDataOk

func (o *GetMyShipCargo200Response) GetDataOk() (*ShipCargo, bool)

GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetData

func (o *GetMyShipCargo200Response) SetData(v ShipCargo)

SetData sets Data field to given value.

[Back to Model list] [Back to API list] [Back to README]