RosettaAccountIdentifier
July 14, 2024 ยท View on GitHub
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Address | string | The address may be a cryptographic public key (or some encoding of it) or a provided username. | |
| SubAccount | Pointer to RosettaSubAccount | [optional] | |
| Metadata | Pointer to map[string]interface{} | Blockchains that utilize a username model (where the address is not a derivative of a cryptographic public key) should specify the public key(s) owned by the address in metadata. | [optional] |
Methods
NewRosettaAccountIdentifier
func NewRosettaAccountIdentifier(address string, ) *RosettaAccountIdentifier
NewRosettaAccountIdentifier instantiates a new RosettaAccountIdentifier 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
NewRosettaAccountIdentifierWithDefaults
func NewRosettaAccountIdentifierWithDefaults() *RosettaAccountIdentifier
NewRosettaAccountIdentifierWithDefaults instantiates a new RosettaAccountIdentifier 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 *RosettaAccountIdentifier) GetAddress() string
GetAddress returns the Address field if non-nil, zero value otherwise.
GetAddressOk
func (o *RosettaAccountIdentifier) 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 *RosettaAccountIdentifier) SetAddress(v string)
SetAddress sets Address field to given value.
GetSubAccount
func (o *RosettaAccountIdentifier) GetSubAccount() RosettaSubAccount
GetSubAccount returns the SubAccount field if non-nil, zero value otherwise.
GetSubAccountOk
func (o *RosettaAccountIdentifier) GetSubAccountOk() (*RosettaSubAccount, bool)
GetSubAccountOk returns a tuple with the SubAccount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetSubAccount
func (o *RosettaAccountIdentifier) SetSubAccount(v RosettaSubAccount)
SetSubAccount sets SubAccount field to given value.
HasSubAccount
func (o *RosettaAccountIdentifier) HasSubAccount() bool
HasSubAccount returns a boolean if a field has been set.
GetMetadata
func (o *RosettaAccountIdentifier) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
GetMetadataOk
func (o *RosettaAccountIdentifier) GetMetadataOk() (*map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMetadata
func (o *RosettaAccountIdentifier) SetMetadata(v map[string]interface{})
SetMetadata sets Metadata field to given value.
HasMetadata
func (o *RosettaAccountIdentifier) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.