Name | Type | Description | Notes |
---|---|---|---|
BlockHeight | Pointer to int32 | [optional] | |
BlockTimestamp | Pointer to int32 | [optional] | |
Hashrate | Pointer to float32 | [optional] | |
Difficulty | Pointer to float32 | [optional] | |
CoinSupply | Pointer to float32 | [optional] | |
CoinPriceUSD | Pointer to float32 | [optional] | |
MarketCapUSD | Pointer to float32 | [optional] | |
UsedStorageTB | Pointer to float32 | [optional] | |
NetworkCapacityTB | Pointer to float32 | [optional] | |
OnlineHosts | Pointer to int32 | [optional] | |
CountriesWithHosts | Pointer to int32 | [optional] | |
ActiveContracts | Pointer to int32 | [optional] | |
StorageProofCount | Pointer to int32 | [optional] | |
SkynetFiles | Pointer to int32 | [optional] | |
SkynetSize | Pointer to float32 | [optional] | |
SkynetPortalsNumber | Pointer to int32 | [optional] | |
PricePerTbSc | Pointer to float32 | [optional] | |
PricePerTbUsd | Pointer to float32 | [optional] |
func NewNetworkStatus() *NetworkStatus
NewNetworkStatus instantiates a new NetworkStatus 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 NewNetworkStatusWithDefaults() *NetworkStatus
NewNetworkStatusWithDefaults instantiates a new NetworkStatus 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 *NetworkStatus) GetBlockHeight() int32
GetBlockHeight returns the BlockHeight field if non-nil, zero value otherwise.
func (o *NetworkStatus) GetBlockHeightOk() (*int32, bool)
GetBlockHeightOk returns a tuple with the BlockHeight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkStatus) SetBlockHeight(v int32)
SetBlockHeight sets BlockHeight field to given value.
func (o *NetworkStatus) HasBlockHeight() bool
HasBlockHeight returns a boolean if a field has been set.
func (o *NetworkStatus) GetBlockTimestamp() int32
GetBlockTimestamp returns the BlockTimestamp field if non-nil, zero value otherwise.
func (o *NetworkStatus) GetBlockTimestampOk() (*int32, bool)
GetBlockTimestampOk returns a tuple with the BlockTimestamp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkStatus) SetBlockTimestamp(v int32)
SetBlockTimestamp sets BlockTimestamp field to given value.
func (o *NetworkStatus) HasBlockTimestamp() bool
HasBlockTimestamp returns a boolean if a field has been set.
func (o *NetworkStatus) GetHashrate() float32
GetHashrate returns the Hashrate field if non-nil, zero value otherwise.
func (o *NetworkStatus) GetHashrateOk() (*float32, bool)
GetHashrateOk returns a tuple with the Hashrate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkStatus) SetHashrate(v float32)
SetHashrate sets Hashrate field to given value.
func (o *NetworkStatus) HasHashrate() bool
HasHashrate returns a boolean if a field has been set.
func (o *NetworkStatus) GetDifficulty() float32
GetDifficulty returns the Difficulty field if non-nil, zero value otherwise.
func (o *NetworkStatus) GetDifficultyOk() (*float32, bool)
GetDifficultyOk returns a tuple with the Difficulty field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkStatus) SetDifficulty(v float32)
SetDifficulty sets Difficulty field to given value.
func (o *NetworkStatus) HasDifficulty() bool
HasDifficulty returns a boolean if a field has been set.
func (o *NetworkStatus) GetCoinSupply() float32
GetCoinSupply returns the CoinSupply field if non-nil, zero value otherwise.
func (o *NetworkStatus) GetCoinSupplyOk() (*float32, bool)
GetCoinSupplyOk returns a tuple with the CoinSupply field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkStatus) SetCoinSupply(v float32)
SetCoinSupply sets CoinSupply field to given value.
func (o *NetworkStatus) HasCoinSupply() bool
HasCoinSupply returns a boolean if a field has been set.
func (o *NetworkStatus) GetCoinPriceUSD() float32
GetCoinPriceUSD returns the CoinPriceUSD field if non-nil, zero value otherwise.
func (o *NetworkStatus) GetCoinPriceUSDOk() (*float32, bool)
GetCoinPriceUSDOk returns a tuple with the CoinPriceUSD field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkStatus) SetCoinPriceUSD(v float32)
SetCoinPriceUSD sets CoinPriceUSD field to given value.
func (o *NetworkStatus) HasCoinPriceUSD() bool
HasCoinPriceUSD returns a boolean if a field has been set.
func (o *NetworkStatus) GetMarketCapUSD() float32
GetMarketCapUSD returns the MarketCapUSD field if non-nil, zero value otherwise.
func (o *NetworkStatus) GetMarketCapUSDOk() (*float32, bool)
GetMarketCapUSDOk returns a tuple with the MarketCapUSD field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkStatus) SetMarketCapUSD(v float32)
SetMarketCapUSD sets MarketCapUSD field to given value.
func (o *NetworkStatus) HasMarketCapUSD() bool
HasMarketCapUSD returns a boolean if a field has been set.
func (o *NetworkStatus) GetUsedStorageTB() float32
GetUsedStorageTB returns the UsedStorageTB field if non-nil, zero value otherwise.
func (o *NetworkStatus) GetUsedStorageTBOk() (*float32, bool)
GetUsedStorageTBOk returns a tuple with the UsedStorageTB field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkStatus) SetUsedStorageTB(v float32)
SetUsedStorageTB sets UsedStorageTB field to given value.
func (o *NetworkStatus) HasUsedStorageTB() bool
HasUsedStorageTB returns a boolean if a field has been set.
func (o *NetworkStatus) GetNetworkCapacityTB() float32
GetNetworkCapacityTB returns the NetworkCapacityTB field if non-nil, zero value otherwise.
func (o *NetworkStatus) GetNetworkCapacityTBOk() (*float32, bool)
GetNetworkCapacityTBOk returns a tuple with the NetworkCapacityTB field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkStatus) SetNetworkCapacityTB(v float32)
SetNetworkCapacityTB sets NetworkCapacityTB field to given value.
func (o *NetworkStatus) HasNetworkCapacityTB() bool
HasNetworkCapacityTB returns a boolean if a field has been set.
func (o *NetworkStatus) GetOnlineHosts() int32
GetOnlineHosts returns the OnlineHosts field if non-nil, zero value otherwise.
func (o *NetworkStatus) GetOnlineHostsOk() (*int32, bool)
GetOnlineHostsOk returns a tuple with the OnlineHosts field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkStatus) SetOnlineHosts(v int32)
SetOnlineHosts sets OnlineHosts field to given value.
func (o *NetworkStatus) HasOnlineHosts() bool
HasOnlineHosts returns a boolean if a field has been set.
func (o *NetworkStatus) GetCountriesWithHosts() int32
GetCountriesWithHosts returns the CountriesWithHosts field if non-nil, zero value otherwise.
func (o *NetworkStatus) GetCountriesWithHostsOk() (*int32, bool)
GetCountriesWithHostsOk returns a tuple with the CountriesWithHosts field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkStatus) SetCountriesWithHosts(v int32)
SetCountriesWithHosts sets CountriesWithHosts field to given value.
func (o *NetworkStatus) HasCountriesWithHosts() bool
HasCountriesWithHosts returns a boolean if a field has been set.
func (o *NetworkStatus) GetActiveContracts() int32
GetActiveContracts returns the ActiveContracts field if non-nil, zero value otherwise.
func (o *NetworkStatus) GetActiveContractsOk() (*int32, bool)
GetActiveContractsOk returns a tuple with the ActiveContracts field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkStatus) SetActiveContracts(v int32)
SetActiveContracts sets ActiveContracts field to given value.
func (o *NetworkStatus) HasActiveContracts() bool
HasActiveContracts returns a boolean if a field has been set.
func (o *NetworkStatus) GetStorageProofCount() int32
GetStorageProofCount returns the StorageProofCount field if non-nil, zero value otherwise.
func (o *NetworkStatus) GetStorageProofCountOk() (*int32, bool)
GetStorageProofCountOk returns a tuple with the StorageProofCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkStatus) SetStorageProofCount(v int32)
SetStorageProofCount sets StorageProofCount field to given value.
func (o *NetworkStatus) HasStorageProofCount() bool
HasStorageProofCount returns a boolean if a field has been set.
func (o *NetworkStatus) GetSkynetFiles() int32
GetSkynetFiles returns the SkynetFiles field if non-nil, zero value otherwise.
func (o *NetworkStatus) GetSkynetFilesOk() (*int32, bool)
GetSkynetFilesOk returns a tuple with the SkynetFiles field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkStatus) SetSkynetFiles(v int32)
SetSkynetFiles sets SkynetFiles field to given value.
func (o *NetworkStatus) HasSkynetFiles() bool
HasSkynetFiles returns a boolean if a field has been set.
func (o *NetworkStatus) GetSkynetSize() float32
GetSkynetSize returns the SkynetSize field if non-nil, zero value otherwise.
func (o *NetworkStatus) GetSkynetSizeOk() (*float32, bool)
GetSkynetSizeOk returns a tuple with the SkynetSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkStatus) SetSkynetSize(v float32)
SetSkynetSize sets SkynetSize field to given value.
func (o *NetworkStatus) HasSkynetSize() bool
HasSkynetSize returns a boolean if a field has been set.
func (o *NetworkStatus) GetSkynetPortalsNumber() int32
GetSkynetPortalsNumber returns the SkynetPortalsNumber field if non-nil, zero value otherwise.
func (o *NetworkStatus) GetSkynetPortalsNumberOk() (*int32, bool)
GetSkynetPortalsNumberOk returns a tuple with the SkynetPortalsNumber field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkStatus) SetSkynetPortalsNumber(v int32)
SetSkynetPortalsNumber sets SkynetPortalsNumber field to given value.
func (o *NetworkStatus) HasSkynetPortalsNumber() bool
HasSkynetPortalsNumber returns a boolean if a field has been set.
func (o *NetworkStatus) GetPricePerTbSc() float32
GetPricePerTbSc returns the PricePerTbSc field if non-nil, zero value otherwise.
func (o *NetworkStatus) GetPricePerTbScOk() (*float32, bool)
GetPricePerTbScOk returns a tuple with the PricePerTbSc field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkStatus) SetPricePerTbSc(v float32)
SetPricePerTbSc sets PricePerTbSc field to given value.
func (o *NetworkStatus) HasPricePerTbSc() bool
HasPricePerTbSc returns a boolean if a field has been set.
func (o *NetworkStatus) GetPricePerTbUsd() float32
GetPricePerTbUsd returns the PricePerTbUsd field if non-nil, zero value otherwise.
func (o *NetworkStatus) GetPricePerTbUsdOk() (*float32, bool)
GetPricePerTbUsdOk returns a tuple with the PricePerTbUsd field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkStatus) SetPricePerTbUsd(v float32)
SetPricePerTbUsd sets PricePerTbUsd field to given value.
func (o *NetworkStatus) HasPricePerTbUsd() bool
HasPricePerTbUsd returns a boolean if a field has been set.