Name | Type | Description | Notes |
---|---|---|---|
Symbol | TradeSymbol | ||
Type | string | The type of trade good (export, import, or exchange). | |
TradeVolume | int32 | This is the maximum number of units that can be purchased or sold at this market in a single trade for this good. Trade volume also gives an indication of price volatility. A market with a low trade volume will have large price swings, while high trade volume will be more resilient to price changes. | |
Supply | SupplyLevel | ||
Activity | Pointer to ActivityLevel | [optional] | |
PurchasePrice | int32 | The price at which this good can be purchased from the market. | |
SellPrice | int32 | The price at which this good can be sold to the market. |
func NewMarketTradeGood(symbol TradeSymbol, type_ string, tradeVolume int32, supply SupplyLevel, purchasePrice int32, sellPrice int32, ) *MarketTradeGood
NewMarketTradeGood instantiates a new MarketTradeGood 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 NewMarketTradeGoodWithDefaults() *MarketTradeGood
NewMarketTradeGoodWithDefaults instantiates a new MarketTradeGood 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 *MarketTradeGood) GetSymbol() TradeSymbol
GetSymbol returns the Symbol field if non-nil, zero value otherwise.
func (o *MarketTradeGood) 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 *MarketTradeGood) SetSymbol(v TradeSymbol)
SetSymbol sets Symbol field to given value.
func (o *MarketTradeGood) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *MarketTradeGood) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MarketTradeGood) SetType(v string)
SetType sets Type field to given value.
func (o *MarketTradeGood) GetTradeVolume() int32
GetTradeVolume returns the TradeVolume field if non-nil, zero value otherwise.
func (o *MarketTradeGood) GetTradeVolumeOk() (*int32, bool)
GetTradeVolumeOk returns a tuple with the TradeVolume field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MarketTradeGood) SetTradeVolume(v int32)
SetTradeVolume sets TradeVolume field to given value.
func (o *MarketTradeGood) GetSupply() SupplyLevel
GetSupply returns the Supply field if non-nil, zero value otherwise.
func (o *MarketTradeGood) GetSupplyOk() (*SupplyLevel, bool)
GetSupplyOk returns a tuple with the Supply field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MarketTradeGood) SetSupply(v SupplyLevel)
SetSupply sets Supply field to given value.
func (o *MarketTradeGood) GetActivity() ActivityLevel
GetActivity returns the Activity field if non-nil, zero value otherwise.
func (o *MarketTradeGood) GetActivityOk() (*ActivityLevel, bool)
GetActivityOk returns a tuple with the Activity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MarketTradeGood) SetActivity(v ActivityLevel)
SetActivity sets Activity field to given value.
func (o *MarketTradeGood) HasActivity() bool
HasActivity returns a boolean if a field has been set.
func (o *MarketTradeGood) GetPurchasePrice() int32
GetPurchasePrice returns the PurchasePrice field if non-nil, zero value otherwise.
func (o *MarketTradeGood) GetPurchasePriceOk() (*int32, bool)
GetPurchasePriceOk returns a tuple with the PurchasePrice field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MarketTradeGood) SetPurchasePrice(v int32)
SetPurchasePrice sets PurchasePrice field to given value.
func (o *MarketTradeGood) GetSellPrice() int32
GetSellPrice returns the SellPrice field if non-nil, zero value otherwise.
func (o *MarketTradeGood) GetSellPriceOk() (*int32, bool)
GetSellPriceOk returns a tuple with the SellPrice field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MarketTradeGood) SetSellPrice(v int32)
SetSellPrice sets SellPrice field to given value.