2.8 KiB
PurchaseShip201ResponseData
Properties
Name | Type | Description | Notes |
---|---|---|---|
Agent | Agent | ||
Ship | Ship | ||
Transaction | ShipyardTransaction |
Methods
NewPurchaseShip201ResponseData
func NewPurchaseShip201ResponseData(agent Agent, ship Ship, transaction ShipyardTransaction, ) *PurchaseShip201ResponseData
NewPurchaseShip201ResponseData instantiates a new PurchaseShip201ResponseData 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
NewPurchaseShip201ResponseDataWithDefaults
func NewPurchaseShip201ResponseDataWithDefaults() *PurchaseShip201ResponseData
NewPurchaseShip201ResponseDataWithDefaults instantiates a new PurchaseShip201ResponseData 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
GetAgent
func (o *PurchaseShip201ResponseData) GetAgent() Agent
GetAgent returns the Agent field if non-nil, zero value otherwise.
GetAgentOk
func (o *PurchaseShip201ResponseData) GetAgentOk() (*Agent, bool)
GetAgentOk returns a tuple with the Agent field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetAgent
func (o *PurchaseShip201ResponseData) SetAgent(v Agent)
SetAgent sets Agent field to given value.
GetShip
func (o *PurchaseShip201ResponseData) GetShip() Ship
GetShip returns the Ship field if non-nil, zero value otherwise.
GetShipOk
func (o *PurchaseShip201ResponseData) GetShipOk() (*Ship, bool)
GetShipOk returns a tuple with the Ship field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetShip
func (o *PurchaseShip201ResponseData) SetShip(v Ship)
SetShip sets Ship field to given value.
GetTransaction
func (o *PurchaseShip201ResponseData) GetTransaction() ShipyardTransaction
GetTransaction returns the Transaction field if non-nil, zero value otherwise.
GetTransactionOk
func (o *PurchaseShip201ResponseData) GetTransactionOk() (*ShipyardTransaction, bool)
GetTransactionOk returns a tuple with the Transaction field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTransaction
func (o *PurchaseShip201ResponseData) SetTransaction(v ShipyardTransaction)
SetTransaction sets Transaction field to given value.