Name | Type | Description | Notes |
---|---|---|---|
Agent | Agent | ||
Ship | Ship | ||
Transaction | ShipyardTransaction |
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
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
func (o *PurchaseShip201ResponseData) GetAgent() Agent
GetAgent returns the Agent field if non-nil, zero value otherwise.
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.
func (o *PurchaseShip201ResponseData) SetAgent(v Agent)
SetAgent sets Agent field to given value.
func (o *PurchaseShip201ResponseData) GetShip() Ship
GetShip returns the Ship field if non-nil, zero value otherwise.
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.
func (o *PurchaseShip201ResponseData) SetShip(v Ship)
SetShip sets Ship field to given value.
func (o *PurchaseShip201ResponseData) GetTransaction() ShipyardTransaction
GetTransaction returns the Transaction field if non-nil, zero value otherwise.
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.
func (o *PurchaseShip201ResponseData) SetTransaction(v ShipyardTransaction)
SetTransaction sets Transaction field to given value.