Name | Type | Description | Notes |
---|---|---|---|
Bech32Hrp | string | The human readable network prefix | |
BelowMaxDepth | uint32 | The networks max depth | |
MinPowScore | uint32 | The minimal PoW score | |
NetworkName | string | The network name | |
RentStructure | RentStructure | ||
TokenSupply | string | The token supply | |
Version | int32 | The protocol version |
func NewProtocolParameters(bech32Hrp string, belowMaxDepth uint32, minPowScore uint32, networkName string, rentStructure RentStructure, tokenSupply string, version int32, ) *ProtocolParameters
NewProtocolParameters instantiates a new ProtocolParameters 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
func NewProtocolParametersWithDefaults() *ProtocolParameters
NewProtocolParametersWithDefaults instantiates a new ProtocolParameters 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
func (o *ProtocolParameters) GetBech32Hrp() string
GetBech32Hrp returns the Bech32Hrp field if non-nil, zero value otherwise.
func (o *ProtocolParameters) GetBech32HrpOk() (*string, bool)
GetBech32HrpOk returns a tuple with the Bech32Hrp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProtocolParameters) SetBech32Hrp(v string)
SetBech32Hrp sets Bech32Hrp field to given value.
func (o *ProtocolParameters) GetBelowMaxDepth() uint32
GetBelowMaxDepth returns the BelowMaxDepth field if non-nil, zero value otherwise.
func (o *ProtocolParameters) GetBelowMaxDepthOk() (*uint32, bool)
GetBelowMaxDepthOk returns a tuple with the BelowMaxDepth field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProtocolParameters) SetBelowMaxDepth(v uint32)
SetBelowMaxDepth sets BelowMaxDepth field to given value.
func (o *ProtocolParameters) GetMinPowScore() uint32
GetMinPowScore returns the MinPowScore field if non-nil, zero value otherwise.
func (o *ProtocolParameters) GetMinPowScoreOk() (*uint32, bool)
GetMinPowScoreOk returns a tuple with the MinPowScore field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProtocolParameters) SetMinPowScore(v uint32)
SetMinPowScore sets MinPowScore field to given value.
func (o *ProtocolParameters) GetNetworkName() string
GetNetworkName returns the NetworkName field if non-nil, zero value otherwise.
func (o *ProtocolParameters) GetNetworkNameOk() (*string, bool)
GetNetworkNameOk returns a tuple with the NetworkName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProtocolParameters) SetNetworkName(v string)
SetNetworkName sets NetworkName field to given value.
func (o *ProtocolParameters) GetRentStructure() RentStructure
GetRentStructure returns the RentStructure field if non-nil, zero value otherwise.
func (o *ProtocolParameters) GetRentStructureOk() (*RentStructure, bool)
GetRentStructureOk returns a tuple with the RentStructure field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProtocolParameters) SetRentStructure(v RentStructure)
SetRentStructure sets RentStructure field to given value.
func (o *ProtocolParameters) GetTokenSupply() string
GetTokenSupply returns the TokenSupply field if non-nil, zero value otherwise.
func (o *ProtocolParameters) GetTokenSupplyOk() (*string, bool)
GetTokenSupplyOk returns a tuple with the TokenSupply field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProtocolParameters) SetTokenSupply(v string)
SetTokenSupply sets TokenSupply field to given value.
func (o *ProtocolParameters) GetVersion() int32
GetVersion returns the Version field if non-nil, zero value otherwise.
func (o *ProtocolParameters) GetVersionOk() (*int32, bool)
GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProtocolParameters) SetVersion(v int32)
SetVersion sets Version field to given value.