Name | Type | Description | Notes |
---|---|---|---|
WaypointSymbol | string | The symbol of the waypoint where the transaction took place. | |
ShipSymbol | string | The symbol of the ship that made the transaction. | |
TradeSymbol | string | The symbol of the trade good. | |
TotalPrice | int32 | The total price of the transaction. | |
Timestamp | time.Time | The timestamp of the transaction. |
func NewShipModificationTransaction(waypointSymbol string, shipSymbol string, tradeSymbol string, totalPrice int32, timestamp time.Time, ) *ShipModificationTransaction
NewShipModificationTransaction instantiates a new ShipModificationTransaction 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 NewShipModificationTransactionWithDefaults() *ShipModificationTransaction
NewShipModificationTransactionWithDefaults instantiates a new ShipModificationTransaction 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 *ShipModificationTransaction) GetWaypointSymbol() string
GetWaypointSymbol returns the WaypointSymbol field if non-nil, zero value otherwise.
func (o *ShipModificationTransaction) GetWaypointSymbolOk() (*string, bool)
GetWaypointSymbolOk returns a tuple with the WaypointSymbol field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ShipModificationTransaction) SetWaypointSymbol(v string)
SetWaypointSymbol sets WaypointSymbol field to given value.
func (o *ShipModificationTransaction) GetShipSymbol() string
GetShipSymbol returns the ShipSymbol field if non-nil, zero value otherwise.
func (o *ShipModificationTransaction) GetShipSymbolOk() (*string, bool)
GetShipSymbolOk returns a tuple with the ShipSymbol field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ShipModificationTransaction) SetShipSymbol(v string)
SetShipSymbol sets ShipSymbol field to given value.
func (o *ShipModificationTransaction) GetTradeSymbol() string
GetTradeSymbol returns the TradeSymbol field if non-nil, zero value otherwise.
func (o *ShipModificationTransaction) GetTradeSymbolOk() (*string, bool)
GetTradeSymbolOk returns a tuple with the TradeSymbol field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ShipModificationTransaction) SetTradeSymbol(v string)
SetTradeSymbol sets TradeSymbol field to given value.
func (o *ShipModificationTransaction) GetTotalPrice() int32
GetTotalPrice returns the TotalPrice field if non-nil, zero value otherwise.
func (o *ShipModificationTransaction) GetTotalPriceOk() (*int32, bool)
GetTotalPriceOk returns a tuple with the TotalPrice field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ShipModificationTransaction) SetTotalPrice(v int32)
SetTotalPrice sets TotalPrice field to given value.
func (o *ShipModificationTransaction) GetTimestamp() time.Time
GetTimestamp returns the Timestamp field if non-nil, zero value otherwise.
func (o *ShipModificationTransaction) GetTimestampOk() (*time.Time, bool)
GetTimestampOk returns a tuple with the Timestamp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ShipModificationTransaction) SetTimestamp(v time.Time)
SetTimestamp sets Timestamp field to given value.