Skip to content

Latest commit

 

History

History
203 lines (108 loc) · 5.5 KB

UserBinPositionTokenWrapper.md

File metadata and controls

203 lines (108 loc) · 5.5 KB

UserBinPositionTokenWrapper

Properties

Name Type Description Notes
Address string
Name string
Symbol string
Decimals int32
Amount float32
AmountRaw string
Price float32
PriceUsd Pointer to float32 [optional]

Methods

NewUserBinPositionTokenWrapper

func NewUserBinPositionTokenWrapper(address string, name string, symbol string, decimals int32, amount float32, amountRaw string, price float32, ) *UserBinPositionTokenWrapper

NewUserBinPositionTokenWrapper instantiates a new UserBinPositionTokenWrapper 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

NewUserBinPositionTokenWrapperWithDefaults

func NewUserBinPositionTokenWrapperWithDefaults() *UserBinPositionTokenWrapper

NewUserBinPositionTokenWrapperWithDefaults instantiates a new UserBinPositionTokenWrapper 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

GetAddress

func (o *UserBinPositionTokenWrapper) GetAddress() string

GetAddress returns the Address field if non-nil, zero value otherwise.

GetAddressOk

func (o *UserBinPositionTokenWrapper) GetAddressOk() (*string, bool)

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

SetAddress

func (o *UserBinPositionTokenWrapper) SetAddress(v string)

SetAddress sets Address field to given value.

GetName

func (o *UserBinPositionTokenWrapper) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *UserBinPositionTokenWrapper) 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 *UserBinPositionTokenWrapper) SetName(v string)

SetName sets Name field to given value.

GetSymbol

func (o *UserBinPositionTokenWrapper) GetSymbol() string

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

GetSymbolOk

func (o *UserBinPositionTokenWrapper) 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 *UserBinPositionTokenWrapper) SetSymbol(v string)

SetSymbol sets Symbol field to given value.

GetDecimals

func (o *UserBinPositionTokenWrapper) GetDecimals() int32

GetDecimals returns the Decimals field if non-nil, zero value otherwise.

GetDecimalsOk

func (o *UserBinPositionTokenWrapper) GetDecimalsOk() (*int32, bool)

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

SetDecimals

func (o *UserBinPositionTokenWrapper) SetDecimals(v int32)

SetDecimals sets Decimals field to given value.

GetAmount

func (o *UserBinPositionTokenWrapper) GetAmount() float32

GetAmount returns the Amount field if non-nil, zero value otherwise.

GetAmountOk

func (o *UserBinPositionTokenWrapper) GetAmountOk() (*float32, bool)

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

SetAmount

func (o *UserBinPositionTokenWrapper) SetAmount(v float32)

SetAmount sets Amount field to given value.

GetAmountRaw

func (o *UserBinPositionTokenWrapper) GetAmountRaw() string

GetAmountRaw returns the AmountRaw field if non-nil, zero value otherwise.

GetAmountRawOk

func (o *UserBinPositionTokenWrapper) GetAmountRawOk() (*string, bool)

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

SetAmountRaw

func (o *UserBinPositionTokenWrapper) SetAmountRaw(v string)

SetAmountRaw sets AmountRaw field to given value.

GetPrice

func (o *UserBinPositionTokenWrapper) GetPrice() float32

GetPrice returns the Price field if non-nil, zero value otherwise.

GetPriceOk

func (o *UserBinPositionTokenWrapper) GetPriceOk() (*float32, bool)

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

SetPrice

func (o *UserBinPositionTokenWrapper) SetPrice(v float32)

SetPrice sets Price field to given value.

GetPriceUsd

func (o *UserBinPositionTokenWrapper) GetPriceUsd() float32

GetPriceUsd returns the PriceUsd field if non-nil, zero value otherwise.

GetPriceUsdOk

func (o *UserBinPositionTokenWrapper) GetPriceUsdOk() (*float32, bool)

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

SetPriceUsd

func (o *UserBinPositionTokenWrapper) SetPriceUsd(v float32)

SetPriceUsd sets PriceUsd field to given value.

HasPriceUsd

func (o *UserBinPositionTokenWrapper) HasPriceUsd() bool

HasPriceUsd returns a boolean if a field has been set.

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