spacetraders/docs/TradeGood.md

94 lines
2.4 KiB
Markdown

# TradeGood
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Symbol** | [**TradeSymbol**](TradeSymbol.md) | |
**Name** | **string** | |
**Description** | **string** | |
## Methods
### NewTradeGood
`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
### NewTradeGoodWithDefaults
`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
### GetSymbol
`func (o *TradeGood) GetSymbol() TradeSymbol`
GetSymbol returns the Symbol field if non-nil, zero value otherwise.
### GetSymbolOk
`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.
### SetSymbol
`func (o *TradeGood) SetSymbol(v TradeSymbol)`
SetSymbol sets Symbol field to given value.
### GetName
`func (o *TradeGood) GetName() string`
GetName returns the Name field if non-nil, zero value otherwise.
### GetNameOk
`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.
### SetName
`func (o *TradeGood) SetName(v string)`
SetName sets Name field to given value.
### GetDescription
`func (o *TradeGood) GetDescription() string`
GetDescription returns the Description field if non-nil, zero value otherwise.
### GetDescriptionOk
`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.
### SetDescription
`func (o *TradeGood) SetDescription(v string)`
SetDescription sets Description field to given value.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)