Name | Type | Description | Notes |
---|---|---|---|
Error | string | ||
Type | string | ||
Returns | []Val | ||
GasUsed | int32 | ||
Contracts | []ContractState | ||
TxInputs | []string | ||
TxOutputs | []Output | ||
Events | []ContractEventByTxId |
func NewCallContractResult(error_ string, type_ string, returns []Val, gasUsed int32, contracts []ContractState, txInputs []string, txOutputs []Output, events []ContractEventByTxId, ) *CallContractResult
NewCallContractResult instantiates a new CallContractResult 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 NewCallContractResultWithDefaults() *CallContractResult
NewCallContractResultWithDefaults instantiates a new CallContractResult 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 *CallContractResult) GetError() string
GetError returns the Error field if non-nil, zero value otherwise.
func (o *CallContractResult) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CallContractResult) SetError(v string)
SetError sets Error field to given value.
func (o *CallContractResult) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *CallContractResult) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CallContractResult) SetType(v string)
SetType sets Type field to given value.
func (o *CallContractResult) GetReturns() []Val
GetReturns returns the Returns field if non-nil, zero value otherwise.
func (o *CallContractResult) GetReturnsOk() (*[]Val, bool)
GetReturnsOk returns a tuple with the Returns field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CallContractResult) SetReturns(v []Val)
SetReturns sets Returns field to given value.
func (o *CallContractResult) GetGasUsed() int32
GetGasUsed returns the GasUsed field if non-nil, zero value otherwise.
func (o *CallContractResult) GetGasUsedOk() (*int32, bool)
GetGasUsedOk returns a tuple with the GasUsed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CallContractResult) SetGasUsed(v int32)
SetGasUsed sets GasUsed field to given value.
func (o *CallContractResult) GetContracts() []ContractState
GetContracts returns the Contracts field if non-nil, zero value otherwise.
func (o *CallContractResult) GetContractsOk() (*[]ContractState, bool)
GetContractsOk returns a tuple with the Contracts field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CallContractResult) SetContracts(v []ContractState)
SetContracts sets Contracts field to given value.
func (o *CallContractResult) GetTxInputs() []string
GetTxInputs returns the TxInputs field if non-nil, zero value otherwise.
func (o *CallContractResult) GetTxInputsOk() (*[]string, bool)
GetTxInputsOk returns a tuple with the TxInputs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CallContractResult) SetTxInputs(v []string)
SetTxInputs sets TxInputs field to given value.
func (o *CallContractResult) GetTxOutputs() []Output
GetTxOutputs returns the TxOutputs field if non-nil, zero value otherwise.
func (o *CallContractResult) GetTxOutputsOk() (*[]Output, bool)
GetTxOutputsOk returns a tuple with the TxOutputs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CallContractResult) SetTxOutputs(v []Output)
SetTxOutputs sets TxOutputs field to given value.
func (o *CallContractResult) GetEvents() []ContractEventByTxId
GetEvents returns the Events field if non-nil, zero value otherwise.
func (o *CallContractResult) GetEventsOk() (*[]ContractEventByTxId, bool)
GetEventsOk returns a tuple with the Events field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CallContractResult) SetEvents(v []ContractEventByTxId)
SetEvents sets Events field to given value.