Name | Type | Description | Notes |
---|---|---|---|
Symbol | TradeSymbol | ||
Name | string | The name of the good. | |
Description | string | The description of the good. |
func NewTradeGood(symbol TradeSymbol, name string, description string, ) *TradeGood
NewTradeGood instantiates a new TradeGood 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 NewTradeGoodWithDefaults() *TradeGood
NewTradeGoodWithDefaults instantiates a new TradeGood 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 *TradeGood) GetSymbol() TradeSymbol
GetSymbol returns the Symbol field if non-nil, zero value otherwise.
func (o *TradeGood) GetSymbolOk() (*TradeSymbol, 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.
func (o *TradeGood) SetSymbol(v TradeSymbol)
SetSymbol sets Symbol field to given value.
func (o *TradeGood) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *TradeGood) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TradeGood) SetName(v string)
SetName sets Name field to given value.
func (o *TradeGood) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *TradeGood) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TradeGood) SetDescription(v string)
SetDescription sets Description field to given value.