Name | Type | Description | Notes |
---|---|---|---|
ChainID | string | The unique identifier of a blockchain in CAIP-2 notation. | |
Address | string | The address of an account. | |
Name | string | The CAIP-2 identifier for a blockchain. | |
Symbol | string | The symbol of the token | |
Decimals | int32 | How many decimals the token supports | |
LogoURI | string | The URI for the logo or icon of a token, chain, or DeFi project. | |
Tags | Tags | ||
PriceUSD | Pointer to float64 | The price of the asset or token in US Dollars. | [optional] |
Extensions | Extensions |
func NewToken(chainID string, address string, name string, symbol string, decimals int32, logoURI string, tags Tags, extensions Extensions, ) *Token
NewToken instantiates a new Token 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 NewTokenWithDefaults() *Token
NewTokenWithDefaults instantiates a new Token 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 *Token) GetChainID() string
GetChainID returns the ChainID field if non-nil, zero value otherwise.
func (o *Token) GetChainIDOk() (*string, bool)
GetChainIDOk returns a tuple with the ChainID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Token) SetChainID(v string)
SetChainID sets ChainID field to given value.
func (o *Token) GetAddress() string
GetAddress returns the Address field if non-nil, zero value otherwise.
func (o *Token) 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.
func (o *Token) SetAddress(v string)
SetAddress sets Address field to given value.
func (o *Token) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Token) 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 *Token) SetName(v string)
SetName sets Name field to given value.
func (o *Token) GetSymbol() string
GetSymbol returns the Symbol field if non-nil, zero value otherwise.
func (o *Token) 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.
func (o *Token) SetSymbol(v string)
SetSymbol sets Symbol field to given value.
func (o *Token) GetDecimals() int32
GetDecimals returns the Decimals field if non-nil, zero value otherwise.
func (o *Token) 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.
func (o *Token) SetDecimals(v int32)
SetDecimals sets Decimals field to given value.
func (o *Token) GetLogoURI() string
GetLogoURI returns the LogoURI field if non-nil, zero value otherwise.
func (o *Token) GetLogoURIOk() (*string, bool)
GetLogoURIOk returns a tuple with the LogoURI field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Token) SetLogoURI(v string)
SetLogoURI sets LogoURI field to given value.
func (o *Token) GetTags() Tags
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *Token) GetTagsOk() (*Tags, bool)
GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Token) SetTags(v Tags)
SetTags sets Tags field to given value.
func (o *Token) GetPriceUSD() float64
GetPriceUSD returns the PriceUSD field if non-nil, zero value otherwise.
func (o *Token) GetPriceUSDOk() (*float64, 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.
func (o *Token) SetPriceUSD(v float64)
SetPriceUSD sets PriceUSD field to given value.
func (o *Token) HasPriceUSD() bool
HasPriceUSD returns a boolean if a field has been set.
func (o *Token) GetExtensions() Extensions
GetExtensions returns the Extensions field if non-nil, zero value otherwise.
func (o *Token) GetExtensionsOk() (*Extensions, bool)
GetExtensionsOk returns a tuple with the Extensions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Token) SetExtensions(v Extensions)
SetExtensions sets Extensions field to given value.