MicroblockListResponse
July 14, 2024 ยท View on GitHub
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Limit | int32 | The number of microblocks to return | |
| Offset | int32 | The number to microblocks to skip (starting at `0`) | [default to 0] |
| Total | int32 | The number of microblocks available | |
| Results | []Microblock |
Methods
NewMicroblockListResponse
func NewMicroblockListResponse(limit int32, offset int32, total int32, results []Microblock, ) *MicroblockListResponse
NewMicroblockListResponse instantiates a new MicroblockListResponse 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
NewMicroblockListResponseWithDefaults
func NewMicroblockListResponseWithDefaults() *MicroblockListResponse
NewMicroblockListResponseWithDefaults instantiates a new MicroblockListResponse 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
GetLimit
func (o *MicroblockListResponse) GetLimit() int32
GetLimit returns the Limit field if non-nil, zero value otherwise.
GetLimitOk
func (o *MicroblockListResponse) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetLimit
func (o *MicroblockListResponse) SetLimit(v int32)
SetLimit sets Limit field to given value.
GetOffset
func (o *MicroblockListResponse) GetOffset() int32
GetOffset returns the Offset field if non-nil, zero value otherwise.
GetOffsetOk
func (o *MicroblockListResponse) GetOffsetOk() (*int32, bool)
GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetOffset
func (o *MicroblockListResponse) SetOffset(v int32)
SetOffset sets Offset field to given value.
GetTotal
func (o *MicroblockListResponse) GetTotal() int32
GetTotal returns the Total field if non-nil, zero value otherwise.
GetTotalOk
func (o *MicroblockListResponse) GetTotalOk() (*int32, bool)
GetTotalOk returns a tuple with the Total field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTotal
func (o *MicroblockListResponse) SetTotal(v int32)
SetTotal sets Total field to given value.
GetResults
func (o *MicroblockListResponse) GetResults() []Microblock
GetResults returns the Results field if non-nil, zero value otherwise.
GetResultsOk
func (o *MicroblockListResponse) GetResultsOk() (*[]Microblock, bool)
GetResultsOk returns a tuple with the Results field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetResults
func (o *MicroblockListResponse) SetResults(v []Microblock)
SetResults sets Results field to given value.