Introduces a generated Go SDK client for the Lethean Blockchain API, including OpenAPI spec, models, API interfaces, documentation, and tests. This enables Go applications to interact with Lethean blockchain endpoints for block, info, and transaction operations.
6.1 KiB
Generated
PosEntryModel
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Amount | Pointer to int32 | [optional] | |
| GIndex | Pointer to int32 | [optional] | |
| Keyimage | Pointer to string | [optional] | |
| BlockTimestamp | Pointer to int32 | [optional] | |
| StakeUnlockTime | Pointer to int32 | [optional] | |
| TxId | Pointer to string | [optional] | |
| TxOutIndex | Pointer to int32 | [optional] | |
| WalletIndex | Pointer to int32 | [optional] |
Methods
NewPosEntryModel
func NewPosEntryModel() *PosEntryModel
NewPosEntryModel instantiates a new PosEntryModel 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
NewPosEntryModelWithDefaults
func NewPosEntryModelWithDefaults() *PosEntryModel
NewPosEntryModelWithDefaults instantiates a new PosEntryModel 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
GetAmount
func (o *PosEntryModel) GetAmount() int32
GetAmount returns the Amount field if non-nil, zero value otherwise.
GetAmountOk
func (o *PosEntryModel) GetAmountOk() (*int32, bool)
GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetAmount
func (o *PosEntryModel) SetAmount(v int32)
SetAmount sets Amount field to given value.
HasAmount
func (o *PosEntryModel) HasAmount() bool
HasAmount returns a boolean if a field has been set.
GetGIndex
func (o *PosEntryModel) GetGIndex() int32
GetGIndex returns the GIndex field if non-nil, zero value otherwise.
GetGIndexOk
func (o *PosEntryModel) GetGIndexOk() (*int32, bool)
GetGIndexOk returns a tuple with the GIndex field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetGIndex
func (o *PosEntryModel) SetGIndex(v int32)
SetGIndex sets GIndex field to given value.
HasGIndex
func (o *PosEntryModel) HasGIndex() bool
HasGIndex returns a boolean if a field has been set.
GetKeyimage
func (o *PosEntryModel) GetKeyimage() string
GetKeyimage returns the Keyimage field if non-nil, zero value otherwise.
GetKeyimageOk
func (o *PosEntryModel) GetKeyimageOk() (*string, bool)
GetKeyimageOk returns a tuple with the Keyimage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetKeyimage
func (o *PosEntryModel) SetKeyimage(v string)
SetKeyimage sets Keyimage field to given value.
HasKeyimage
func (o *PosEntryModel) HasKeyimage() bool
HasKeyimage returns a boolean if a field has been set.
GetBlockTimestamp
func (o *PosEntryModel) GetBlockTimestamp() int32
GetBlockTimestamp returns the BlockTimestamp field if non-nil, zero value otherwise.
GetBlockTimestampOk
func (o *PosEntryModel) GetBlockTimestampOk() (*int32, bool)
GetBlockTimestampOk returns a tuple with the BlockTimestamp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetBlockTimestamp
func (o *PosEntryModel) SetBlockTimestamp(v int32)
SetBlockTimestamp sets BlockTimestamp field to given value.
HasBlockTimestamp
func (o *PosEntryModel) HasBlockTimestamp() bool
HasBlockTimestamp returns a boolean if a field has been set.
GetStakeUnlockTime
func (o *PosEntryModel) GetStakeUnlockTime() int32
GetStakeUnlockTime returns the StakeUnlockTime field if non-nil, zero value otherwise.
GetStakeUnlockTimeOk
func (o *PosEntryModel) GetStakeUnlockTimeOk() (*int32, bool)
GetStakeUnlockTimeOk returns a tuple with the StakeUnlockTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetStakeUnlockTime
func (o *PosEntryModel) SetStakeUnlockTime(v int32)
SetStakeUnlockTime sets StakeUnlockTime field to given value.
HasStakeUnlockTime
func (o *PosEntryModel) HasStakeUnlockTime() bool
HasStakeUnlockTime returns a boolean if a field has been set.
GetTxId
func (o *PosEntryModel) GetTxId() string
GetTxId returns the TxId field if non-nil, zero value otherwise.
GetTxIdOk
func (o *PosEntryModel) GetTxIdOk() (*string, bool)
GetTxIdOk returns a tuple with the TxId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTxId
func (o *PosEntryModel) SetTxId(v string)
SetTxId sets TxId field to given value.
HasTxId
func (o *PosEntryModel) HasTxId() bool
HasTxId returns a boolean if a field has been set.
GetTxOutIndex
func (o *PosEntryModel) GetTxOutIndex() int32
GetTxOutIndex returns the TxOutIndex field if non-nil, zero value otherwise.
GetTxOutIndexOk
func (o *PosEntryModel) GetTxOutIndexOk() (*int32, bool)
GetTxOutIndexOk returns a tuple with the TxOutIndex field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTxOutIndex
func (o *PosEntryModel) SetTxOutIndex(v int32)
SetTxOutIndex sets TxOutIndex field to given value.
HasTxOutIndex
func (o *PosEntryModel) HasTxOutIndex() bool
HasTxOutIndex returns a boolean if a field has been set.
GetWalletIndex
func (o *PosEntryModel) GetWalletIndex() int32
GetWalletIndex returns the WalletIndex field if non-nil, zero value otherwise.
GetWalletIndexOk
func (o *PosEntryModel) GetWalletIndexOk() (*int32, bool)
GetWalletIndexOk returns a tuple with the WalletIndex field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetWalletIndex
func (o *PosEntryModel) SetWalletIndex(v int32)
SetWalletIndex sets WalletIndex field to given value.
HasWalletIndex
func (o *PosEntryModel) HasWalletIndex() bool
HasWalletIndex returns a boolean if a field has been set.