1
0
Fork 0
forked from lthn/blockchain
blockchain/utils/sdk/client/go/docs/HeightModel.md
Snider 884958b0c7 Add Go SDK client for Lethean Blockchain API
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.
2025-10-19 14:49:39 +01:00

1.5 KiB
Generated

HeightModel

Properties

Name Type Description Notes
Height Pointer to int32 [optional]

Methods

NewHeightModel

func NewHeightModel() *HeightModel

NewHeightModel instantiates a new HeightModel 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

NewHeightModelWithDefaults

func NewHeightModelWithDefaults() *HeightModel

NewHeightModelWithDefaults instantiates a new HeightModel 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

GetHeight

func (o *HeightModel) GetHeight() int32

GetHeight returns the Height field if non-nil, zero value otherwise.

GetHeightOk

func (o *HeightModel) GetHeightOk() (*int32, bool)

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

SetHeight

func (o *HeightModel) SetHeight(v int32)

SetHeight sets Height field to given value.

HasHeight

func (o *HeightModel) HasHeight() bool

HasHeight returns a boolean if a field has been set.

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