spacetraders/docs/PurchaseCargoRequest.md

2.0 KiB

PurchaseCargoRequest

Properties

Name Type Description Notes
Symbol string
Units int32

Methods

NewPurchaseCargoRequest

func NewPurchaseCargoRequest(symbol string, units int32, ) *PurchaseCargoRequest

NewPurchaseCargoRequest instantiates a new PurchaseCargoRequest 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

NewPurchaseCargoRequestWithDefaults

func NewPurchaseCargoRequestWithDefaults() *PurchaseCargoRequest

NewPurchaseCargoRequestWithDefaults instantiates a new PurchaseCargoRequest 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

GetSymbol

func (o *PurchaseCargoRequest) GetSymbol() string

GetSymbol returns the Symbol field if non-nil, zero value otherwise.

GetSymbolOk

func (o *PurchaseCargoRequest) GetSymbolOk() (*string, bool)

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

SetSymbol

func (o *PurchaseCargoRequest) SetSymbol(v string)

SetSymbol sets Symbol field to given value.

GetUnits

func (o *PurchaseCargoRequest) GetUnits() int32

GetUnits returns the Units field if non-nil, zero value otherwise.

GetUnitsOk

func (o *PurchaseCargoRequest) GetUnitsOk() (*int32, bool)

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

SetUnits

func (o *PurchaseCargoRequest) SetUnits(v int32)

SetUnits sets Units field to given value.

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