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.
1.7 KiB
Generated
SubmitBlockResponseModel
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Status | Pointer to string | [optional] |
Methods
NewSubmitBlockResponseModel
func NewSubmitBlockResponseModel() *SubmitBlockResponseModel
NewSubmitBlockResponseModel instantiates a new SubmitBlockResponseModel 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
NewSubmitBlockResponseModelWithDefaults
func NewSubmitBlockResponseModelWithDefaults() *SubmitBlockResponseModel
NewSubmitBlockResponseModelWithDefaults instantiates a new SubmitBlockResponseModel 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
GetStatus
func (o *SubmitBlockResponseModel) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
GetStatusOk
func (o *SubmitBlockResponseModel) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetStatus
func (o *SubmitBlockResponseModel) SetStatus(v string)
SetStatus sets Status field to given value.
HasStatus
func (o *SubmitBlockResponseModel) HasStatus() bool
HasStatus returns a boolean if a field has been set.