1.7 KiB
PurchaseCargo201Response
Properties
Name | Type | Description | Notes |
---|---|---|---|
Data | SellCargo201ResponseData |
Methods
NewPurchaseCargo201Response
func NewPurchaseCargo201Response(data SellCargo201ResponseData, ) *PurchaseCargo201Response
NewPurchaseCargo201Response instantiates a new PurchaseCargo201Response 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
NewPurchaseCargo201ResponseWithDefaults
func NewPurchaseCargo201ResponseWithDefaults() *PurchaseCargo201Response
NewPurchaseCargo201ResponseWithDefaults instantiates a new PurchaseCargo201Response 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 *PurchaseCargo201Response) GetData() SellCargo201ResponseData
GetData returns the Data field if non-nil, zero value otherwise.
GetDataOk
func (o *PurchaseCargo201Response) GetDataOk() (*SellCargo201ResponseData, 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 *PurchaseCargo201Response) SetData(v SellCargo201ResponseData)
SetData sets Data field to given value.