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.
3 KiB
Generated
TransactionExtraModel
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Type | Pointer to string | [optional] | |
| ShortView | Pointer to string | [optional] | |
| DetailsView | Pointer to string | [optional] |
Methods
NewTransactionExtraModel
func NewTransactionExtraModel() *TransactionExtraModel
NewTransactionExtraModel instantiates a new TransactionExtraModel 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
NewTransactionExtraModelWithDefaults
func NewTransactionExtraModelWithDefaults() *TransactionExtraModel
NewTransactionExtraModelWithDefaults instantiates a new TransactionExtraModel 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
GetType
func (o *TransactionExtraModel) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
GetTypeOk
func (o *TransactionExtraModel) 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.
SetType
func (o *TransactionExtraModel) SetType(v string)
SetType sets Type field to given value.
HasType
func (o *TransactionExtraModel) HasType() bool
HasType returns a boolean if a field has been set.
GetShortView
func (o *TransactionExtraModel) GetShortView() string
GetShortView returns the ShortView field if non-nil, zero value otherwise.
GetShortViewOk
func (o *TransactionExtraModel) GetShortViewOk() (*string, bool)
GetShortViewOk returns a tuple with the ShortView field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetShortView
func (o *TransactionExtraModel) SetShortView(v string)
SetShortView sets ShortView field to given value.
HasShortView
func (o *TransactionExtraModel) HasShortView() bool
HasShortView returns a boolean if a field has been set.
GetDetailsView
func (o *TransactionExtraModel) GetDetailsView() string
GetDetailsView returns the DetailsView field if non-nil, zero value otherwise.
GetDetailsViewOk
func (o *TransactionExtraModel) GetDetailsViewOk() (*string, bool)
GetDetailsViewOk returns a tuple with the DetailsView field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDetailsView
func (o *TransactionExtraModel) SetDetailsView(v string)
SetDetailsView sets DetailsView field to given value.
HasDetailsView
func (o *TransactionExtraModel) HasDetailsView() bool
HasDetailsView returns a boolean if a field has been set.