Name | Type | Description | Notes |
---|---|---|---|
RequestId | string | The request ID that is used to track a transaction request. The request ID is provided by you and must be unique within your organization. | |
ChainId | string | The chain ID, which is the unique identifier of a blockchain. You can retrieve the IDs of all the chains you can use by calling List enabled chains. | |
Source | MessageSignSource | ||
Destination | MessageSignDestination | ||
Description | Pointer to string | The description of the message signing transaction. | [optional] |
CategoryNames | Pointer to []string | The custom category for you to identify your transactions. | [optional] |
func NewMessageSignParams(requestId string, chainId string, source MessageSignSource, destination MessageSignDestination, ) *MessageSignParams
NewMessageSignParams instantiates a new MessageSignParams 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 NewMessageSignParamsWithDefaults() *MessageSignParams
NewMessageSignParamsWithDefaults instantiates a new MessageSignParams 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 *MessageSignParams) GetRequestId() string
GetRequestId returns the RequestId field if non-nil, zero value otherwise.
func (o *MessageSignParams) GetRequestIdOk() (*string, bool)
GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MessageSignParams) SetRequestId(v string)
SetRequestId sets RequestId field to given value.
func (o *MessageSignParams) GetChainId() string
GetChainId returns the ChainId field if non-nil, zero value otherwise.
func (o *MessageSignParams) 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 *MessageSignParams) SetChainId(v string)
SetChainId sets ChainId field to given value.
func (o *MessageSignParams) GetSource() MessageSignSource
GetSource returns the Source field if non-nil, zero value otherwise.
func (o *MessageSignParams) GetSourceOk() (*MessageSignSource, bool)
GetSourceOk returns a tuple with the Source field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MessageSignParams) SetSource(v MessageSignSource)
SetSource sets Source field to given value.
func (o *MessageSignParams) GetDestination() MessageSignDestination
GetDestination returns the Destination field if non-nil, zero value otherwise.
func (o *MessageSignParams) GetDestinationOk() (*MessageSignDestination, bool)
GetDestinationOk returns a tuple with the Destination field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MessageSignParams) SetDestination(v MessageSignDestination)
SetDestination sets Destination field to given value.
func (o *MessageSignParams) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *MessageSignParams) 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.
func (o *MessageSignParams) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *MessageSignParams) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *MessageSignParams) GetCategoryNames() []string
GetCategoryNames returns the CategoryNames field if non-nil, zero value otherwise.
func (o *MessageSignParams) GetCategoryNamesOk() (*[]string, bool)
GetCategoryNamesOk returns a tuple with the CategoryNames field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MessageSignParams) SetCategoryNames(v []string)
SetCategoryNames sets CategoryNames field to given value.
func (o *MessageSignParams) HasCategoryNames() bool
HasCategoryNames returns a boolean if a field has been set.