Name | Type | Description | Notes |
---|---|---|---|
ContractHName | string | The contract hname (Hex) | |
ErrorCode | string | ||
ErrorId | uint32 | ||
Message | string | ||
MessageFormat | string | ||
Parameters | Pointer to []ErrorParameter | [optional] |
func NewReceiptError(contractHName string, errorCode string, errorId uint32, message string, messageFormat string, ) *ReceiptError
NewReceiptError instantiates a new ReceiptError 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 NewReceiptErrorWithDefaults() *ReceiptError
NewReceiptErrorWithDefaults instantiates a new ReceiptError 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 *ReceiptError) GetContractHName() string
GetContractHName returns the ContractHName field if non-nil, zero value otherwise.
func (o *ReceiptError) GetContractHNameOk() (*string, bool)
GetContractHNameOk returns a tuple with the ContractHName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ReceiptError) SetContractHName(v string)
SetContractHName sets ContractHName field to given value.
func (o *ReceiptError) GetErrorCode() string
GetErrorCode returns the ErrorCode field if non-nil, zero value otherwise.
func (o *ReceiptError) GetErrorCodeOk() (*string, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ReceiptError) SetErrorCode(v string)
SetErrorCode sets ErrorCode field to given value.
func (o *ReceiptError) GetErrorId() uint32
GetErrorId returns the ErrorId field if non-nil, zero value otherwise.
func (o *ReceiptError) GetErrorIdOk() (*uint32, bool)
GetErrorIdOk returns a tuple with the ErrorId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ReceiptError) SetErrorId(v uint32)
SetErrorId sets ErrorId field to given value.
func (o *ReceiptError) GetMessage() string
GetMessage returns the Message field if non-nil, zero value otherwise.
func (o *ReceiptError) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ReceiptError) SetMessage(v string)
SetMessage sets Message field to given value.
func (o *ReceiptError) GetMessageFormat() string
GetMessageFormat returns the MessageFormat field if non-nil, zero value otherwise.
func (o *ReceiptError) GetMessageFormatOk() (*string, bool)
GetMessageFormatOk returns a tuple with the MessageFormat field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ReceiptError) SetMessageFormat(v string)
SetMessageFormat sets MessageFormat field to given value.
func (o *ReceiptError) GetParameters() []ErrorParameter
GetParameters returns the Parameters field if non-nil, zero value otherwise.
func (o *ReceiptError) GetParametersOk() (*[]ErrorParameter, bool)
GetParametersOk returns a tuple with the Parameters field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ReceiptError) SetParameters(v []ErrorParameter)
SetParameters sets Parameters field to given value.
func (o *ReceiptError) HasParameters() bool
HasParameters returns a boolean if a field has been set.