Skip to content

Latest commit

 

History

History
177 lines (94 loc) · 6.53 KB

TransactionRequestBroadcastedDataItem.md

File metadata and controls

177 lines (94 loc) · 6.53 KB

TransactionRequestBroadcastedDataItem

Properties

Name Type Description Notes
Blockchain string Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.
Network string Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - "mainnet" is the live network with actual data while networks like "testnet", "ropsten", "rinkeby" are test networks.
RequiredApprovals int32 The required number of approvals needed to approve the transaction.
RequiredRejections int32 The required number of rejections needed to reject the transaction.
CurrentApprovals int32 The current number of approvals given for the transaction.
CurrentRejections int32 The current number of rejections given for the transaction.
TransactionId string Defines the unique ID of the specific transaction, i.e. its identification number.

Methods

NewTransactionRequestBroadcastedDataItem

func NewTransactionRequestBroadcastedDataItem(blockchain string, network string, requiredApprovals int32, requiredRejections int32, currentApprovals int32, currentRejections int32, transactionId string, ) *TransactionRequestBroadcastedDataItem

NewTransactionRequestBroadcastedDataItem instantiates a new TransactionRequestBroadcastedDataItem 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

NewTransactionRequestBroadcastedDataItemWithDefaults

func NewTransactionRequestBroadcastedDataItemWithDefaults() *TransactionRequestBroadcastedDataItem

NewTransactionRequestBroadcastedDataItemWithDefaults instantiates a new TransactionRequestBroadcastedDataItem 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

GetBlockchain

func (o *TransactionRequestBroadcastedDataItem) GetBlockchain() string

GetBlockchain returns the Blockchain field if non-nil, zero value otherwise.

GetBlockchainOk

func (o *TransactionRequestBroadcastedDataItem) GetBlockchainOk() (*string, bool)

GetBlockchainOk returns a tuple with the Blockchain field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetBlockchain

func (o *TransactionRequestBroadcastedDataItem) SetBlockchain(v string)

SetBlockchain sets Blockchain field to given value.

GetNetwork

func (o *TransactionRequestBroadcastedDataItem) GetNetwork() string

GetNetwork returns the Network field if non-nil, zero value otherwise.

GetNetworkOk

func (o *TransactionRequestBroadcastedDataItem) GetNetworkOk() (*string, bool)

GetNetworkOk returns a tuple with the Network field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetNetwork

func (o *TransactionRequestBroadcastedDataItem) SetNetwork(v string)

SetNetwork sets Network field to given value.

GetRequiredApprovals

func (o *TransactionRequestBroadcastedDataItem) GetRequiredApprovals() int32

GetRequiredApprovals returns the RequiredApprovals field if non-nil, zero value otherwise.

GetRequiredApprovalsOk

func (o *TransactionRequestBroadcastedDataItem) GetRequiredApprovalsOk() (*int32, bool)

GetRequiredApprovalsOk returns a tuple with the RequiredApprovals field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRequiredApprovals

func (o *TransactionRequestBroadcastedDataItem) SetRequiredApprovals(v int32)

SetRequiredApprovals sets RequiredApprovals field to given value.

GetRequiredRejections

func (o *TransactionRequestBroadcastedDataItem) GetRequiredRejections() int32

GetRequiredRejections returns the RequiredRejections field if non-nil, zero value otherwise.

GetRequiredRejectionsOk

func (o *TransactionRequestBroadcastedDataItem) GetRequiredRejectionsOk() (*int32, bool)

GetRequiredRejectionsOk returns a tuple with the RequiredRejections field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRequiredRejections

func (o *TransactionRequestBroadcastedDataItem) SetRequiredRejections(v int32)

SetRequiredRejections sets RequiredRejections field to given value.

GetCurrentApprovals

func (o *TransactionRequestBroadcastedDataItem) GetCurrentApprovals() int32

GetCurrentApprovals returns the CurrentApprovals field if non-nil, zero value otherwise.

GetCurrentApprovalsOk

func (o *TransactionRequestBroadcastedDataItem) GetCurrentApprovalsOk() (*int32, bool)

GetCurrentApprovalsOk returns a tuple with the CurrentApprovals field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCurrentApprovals

func (o *TransactionRequestBroadcastedDataItem) SetCurrentApprovals(v int32)

SetCurrentApprovals sets CurrentApprovals field to given value.

GetCurrentRejections

func (o *TransactionRequestBroadcastedDataItem) GetCurrentRejections() int32

GetCurrentRejections returns the CurrentRejections field if non-nil, zero value otherwise.

GetCurrentRejectionsOk

func (o *TransactionRequestBroadcastedDataItem) GetCurrentRejectionsOk() (*int32, bool)

GetCurrentRejectionsOk returns a tuple with the CurrentRejections field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCurrentRejections

func (o *TransactionRequestBroadcastedDataItem) SetCurrentRejections(v int32)

SetCurrentRejections sets CurrentRejections field to given value.

GetTransactionId

func (o *TransactionRequestBroadcastedDataItem) GetTransactionId() string

GetTransactionId returns the TransactionId field if non-nil, zero value otherwise.

GetTransactionIdOk

func (o *TransactionRequestBroadcastedDataItem) GetTransactionIdOk() (*string, bool)

GetTransactionIdOk returns a tuple with the TransactionId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTransactionId

func (o *TransactionRequestBroadcastedDataItem) SetTransactionId(v string)

SetTransactionId sets TransactionId field to given value.

[Back to Model list] [Back to API list] [Back to README]