TargetBlockTime
July 14, 2024 ยท View on GitHub
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| TargetBlockTime | int32 |
Methods
NewTargetBlockTime
func NewTargetBlockTime(targetBlockTime int32, ) *TargetBlockTime
NewTargetBlockTime instantiates a new TargetBlockTime 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
NewTargetBlockTimeWithDefaults
func NewTargetBlockTimeWithDefaults() *TargetBlockTime
NewTargetBlockTimeWithDefaults instantiates a new TargetBlockTime 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
GetTargetBlockTime
func (o *TargetBlockTime) GetTargetBlockTime() int32
GetTargetBlockTime returns the TargetBlockTime field if non-nil, zero value otherwise.
GetTargetBlockTimeOk
func (o *TargetBlockTime) GetTargetBlockTimeOk() (*int32, bool)
GetTargetBlockTimeOk returns a tuple with the TargetBlockTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTargetBlockTime
func (o *TargetBlockTime) SetTargetBlockTime(v int32)
SetTargetBlockTime sets TargetBlockTime field to given value.