Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ApiGetAsicSettingsRequest
- type ApiGetSystemInfoRequest
- type ApiGetSystemStatisticsRequest
- type ApiIdentifySystemRequest
- type ApiRestartSystemRequest
- type ApiScanWifiNetworksRequest
- type ApiUpdateFirmwareRequest
- type ApiUpdateSystemSettingsRequest
- type ApiUpdateWebInterfaceRequest
- type BasicAuth
- type Configuration
- type GenericOpenAPIError
- type HashrateMonitorAsic
- func (o *HashrateMonitorAsic) GetDomains() []float32
- func (o *HashrateMonitorAsic) GetDomainsOk() ([]float32, bool)
- func (o *HashrateMonitorAsic) GetErrorCount() float32
- func (o *HashrateMonitorAsic) GetErrorCountOk() (*float32, bool)
- func (o *HashrateMonitorAsic) GetTotal() float32
- func (o *HashrateMonitorAsic) GetTotalOk() (*float32, bool)
- func (o HashrateMonitorAsic) MarshalJSON() ([]byte, error)
- func (o *HashrateMonitorAsic) SetDomains(v []float32)
- func (o *HashrateMonitorAsic) SetErrorCount(v float32)
- func (o *HashrateMonitorAsic) SetTotal(v float32)
- func (o HashrateMonitorAsic) ToMap() (map[string]interface{}, error)
- func (o *HashrateMonitorAsic) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- type NullableBool
- type NullableFloat32
- type NullableFloat64
- type NullableHashrateMonitorAsic
- func (v NullableHashrateMonitorAsic) Get() *HashrateMonitorAsic
- func (v NullableHashrateMonitorAsic) IsSet() bool
- func (v NullableHashrateMonitorAsic) MarshalJSON() ([]byte, error)
- func (v *NullableHashrateMonitorAsic) Set(val *HashrateMonitorAsic)
- func (v *NullableHashrateMonitorAsic) UnmarshalJSON(src []byte) error
- func (v *NullableHashrateMonitorAsic) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableScanWifiNetworks200Response
- func (v NullableScanWifiNetworks200Response) Get() *ScanWifiNetworks200Response
- func (v NullableScanWifiNetworks200Response) IsSet() bool
- func (v NullableScanWifiNetworks200Response) MarshalJSON() ([]byte, error)
- func (v *NullableScanWifiNetworks200Response) Set(val *ScanWifiNetworks200Response)
- func (v *NullableScanWifiNetworks200Response) UnmarshalJSON(src []byte) error
- func (v *NullableScanWifiNetworks200Response) Unset()
- type NullableSettings
- type NullableSharesRejectedReason
- func (v NullableSharesRejectedReason) Get() *SharesRejectedReason
- func (v NullableSharesRejectedReason) IsSet() bool
- func (v NullableSharesRejectedReason) MarshalJSON() ([]byte, error)
- func (v *NullableSharesRejectedReason) Set(val *SharesRejectedReason)
- func (v *NullableSharesRejectedReason) UnmarshalJSON(src []byte) error
- func (v *NullableSharesRejectedReason) Unset()
- type NullableString
- type NullableSystemASIC
- type NullableSystemInfo
- type NullableSystemInfoHashrateMonitor
- func (v NullableSystemInfoHashrateMonitor) Get() *SystemInfoHashrateMonitor
- func (v NullableSystemInfoHashrateMonitor) IsSet() bool
- func (v NullableSystemInfoHashrateMonitor) MarshalJSON() ([]byte, error)
- func (v *NullableSystemInfoHashrateMonitor) Set(val *SystemInfoHashrateMonitor)
- func (v *NullableSystemInfoHashrateMonitor) UnmarshalJSON(src []byte) error
- func (v *NullableSystemInfoHashrateMonitor) Unset()
- type NullableSystemStatistics
- func (v NullableSystemStatistics) Get() *SystemStatistics
- func (v NullableSystemStatistics) IsSet() bool
- func (v NullableSystemStatistics) MarshalJSON() ([]byte, error)
- func (v *NullableSystemStatistics) Set(val *SystemStatistics)
- func (v *NullableSystemStatistics) UnmarshalJSON(src []byte) error
- func (v *NullableSystemStatistics) Unset()
- type NullableTime
- type NullableWifiNetwork
- func (v NullableWifiNetwork) Get() *WifiNetwork
- func (v NullableWifiNetwork) IsSet() bool
- func (v NullableWifiNetwork) MarshalJSON() ([]byte, error)
- func (v *NullableWifiNetwork) Set(val *WifiNetwork)
- func (v *NullableWifiNetwork) UnmarshalJSON(src []byte) error
- func (v *NullableWifiNetwork) Unset()
- type ScanWifiNetworks200Response
- func (o *ScanWifiNetworks200Response) GetNetworks() []WifiNetwork
- func (o *ScanWifiNetworks200Response) GetNetworksOk() ([]WifiNetwork, bool)
- func (o ScanWifiNetworks200Response) MarshalJSON() ([]byte, error)
- func (o *ScanWifiNetworks200Response) SetNetworks(v []WifiNetwork)
- func (o ScanWifiNetworks200Response) ToMap() (map[string]interface{}, error)
- func (o *ScanWifiNetworks200Response) UnmarshalJSON(data []byte) (err error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type Settings
- func (o *Settings) GetAutofanspeed() int32
- func (o *Settings) GetAutofanspeedOk() (*int32, bool)
- func (o *Settings) GetCoreVoltage() int32
- func (o *Settings) GetCoreVoltageOk() (*int32, bool)
- func (o *Settings) GetDisplayTimeout() int32
- func (o *Settings) GetDisplayTimeoutOk() (*int32, bool)
- func (o *Settings) GetFallbackStratumPassword() string
- func (o *Settings) GetFallbackStratumPasswordOk() (*string, bool)
- func (o *Settings) GetFallbackStratumPort() int32
- func (o *Settings) GetFallbackStratumPortOk() (*int32, bool)
- func (o *Settings) GetFallbackStratumURL() string
- func (o *Settings) GetFallbackStratumURLOk() (*string, bool)
- func (o *Settings) GetFallbackStratumUser() string
- func (o *Settings) GetFallbackStratumUserOk() (*string, bool)
- func (o *Settings) GetFanspeed() int32
- func (o *Settings) GetFanspeedOk() (*int32, bool)
- func (o *Settings) GetFrequency() int32
- func (o *Settings) GetFrequencyOk() (*int32, bool)
- func (o *Settings) GetHostname() string
- func (o *Settings) GetHostnameOk() (*string, bool)
- func (o *Settings) GetInvertscreen() int32
- func (o *Settings) GetInvertscreenOk() (*int32, bool)
- func (o *Settings) GetOverclockEnabled() int32
- func (o *Settings) GetOverclockEnabledOk() (*int32, bool)
- func (o *Settings) GetOverheatMode() int32
- func (o *Settings) GetOverheatModeOk() (*int32, bool)
- func (o *Settings) GetRotation() int32
- func (o *Settings) GetRotationOk() (*int32, bool)
- func (o *Settings) GetSsid() string
- func (o *Settings) GetSsidOk() (*string, bool)
- func (o *Settings) GetStatsFrequency() int32
- func (o *Settings) GetStatsFrequencyOk() (*int32, bool)
- func (o *Settings) GetStratumPassword() string
- func (o *Settings) GetStratumPasswordOk() (*string, bool)
- func (o *Settings) GetStratumPort() int32
- func (o *Settings) GetStratumPortOk() (*int32, bool)
- func (o *Settings) GetStratumURL() string
- func (o *Settings) GetStratumURLOk() (*string, bool)
- func (o *Settings) GetStratumUser() string
- func (o *Settings) GetStratumUserOk() (*string, bool)
- func (o *Settings) GetTemptarget() int32
- func (o *Settings) GetTemptargetOk() (*int32, bool)
- func (o *Settings) GetUseFallbackStratum() float32
- func (o *Settings) GetUseFallbackStratumOk() (*float32, bool)
- func (o *Settings) GetWifiPass() string
- func (o *Settings) GetWifiPassOk() (*string, bool)
- func (o *Settings) HasAutofanspeed() bool
- func (o *Settings) HasCoreVoltage() bool
- func (o *Settings) HasDisplayTimeout() bool
- func (o *Settings) HasFallbackStratumPassword() bool
- func (o *Settings) HasFallbackStratumPort() bool
- func (o *Settings) HasFallbackStratumURL() bool
- func (o *Settings) HasFallbackStratumUser() bool
- func (o *Settings) HasFanspeed() bool
- func (o *Settings) HasFrequency() bool
- func (o *Settings) HasHostname() bool
- func (o *Settings) HasInvertscreen() bool
- func (o *Settings) HasOverclockEnabled() bool
- func (o *Settings) HasOverheatMode() bool
- func (o *Settings) HasRotation() bool
- func (o *Settings) HasSsid() bool
- func (o *Settings) HasStatsFrequency() bool
- func (o *Settings) HasStratumPassword() bool
- func (o *Settings) HasStratumPort() bool
- func (o *Settings) HasStratumURL() bool
- func (o *Settings) HasStratumUser() bool
- func (o *Settings) HasTemptarget() bool
- func (o *Settings) HasUseFallbackStratum() bool
- func (o *Settings) HasWifiPass() bool
- func (o Settings) MarshalJSON() ([]byte, error)
- func (o *Settings) SetAutofanspeed(v int32)
- func (o *Settings) SetCoreVoltage(v int32)
- func (o *Settings) SetDisplayTimeout(v int32)
- func (o *Settings) SetFallbackStratumPassword(v string)
- func (o *Settings) SetFallbackStratumPort(v int32)
- func (o *Settings) SetFallbackStratumURL(v string)
- func (o *Settings) SetFallbackStratumUser(v string)
- func (o *Settings) SetFanspeed(v int32)
- func (o *Settings) SetFrequency(v int32)
- func (o *Settings) SetHostname(v string)
- func (o *Settings) SetInvertscreen(v int32)
- func (o *Settings) SetOverclockEnabled(v int32)
- func (o *Settings) SetOverheatMode(v int32)
- func (o *Settings) SetRotation(v int32)
- func (o *Settings) SetSsid(v string)
- func (o *Settings) SetStatsFrequency(v int32)
- func (o *Settings) SetStratumPassword(v string)
- func (o *Settings) SetStratumPort(v int32)
- func (o *Settings) SetStratumURL(v string)
- func (o *Settings) SetStratumUser(v string)
- func (o *Settings) SetTemptarget(v int32)
- func (o *Settings) SetUseFallbackStratum(v float32)
- func (o *Settings) SetWifiPass(v string)
- func (o Settings) ToMap() (map[string]interface{}, error)
- func (o *Settings) UnmarshalJSON(data []byte) (err error)
- type SharesRejectedReason
- func (o *SharesRejectedReason) GetCount() int32
- func (o *SharesRejectedReason) GetCountOk() (*int32, bool)
- func (o *SharesRejectedReason) GetMessage() string
- func (o *SharesRejectedReason) GetMessageOk() (*string, bool)
- func (o SharesRejectedReason) MarshalJSON() ([]byte, error)
- func (o *SharesRejectedReason) SetCount(v int32)
- func (o *SharesRejectedReason) SetMessage(v string)
- func (o SharesRejectedReason) ToMap() (map[string]interface{}, error)
- func (o *SharesRejectedReason) UnmarshalJSON(data []byte) (err error)
- type SystemAPIService
- func (a *SystemAPIService) GetAsicSettings(ctx context.Context) ApiGetAsicSettingsRequest
- func (a *SystemAPIService) GetAsicSettingsExecute(r ApiGetAsicSettingsRequest) (*SystemASIC, *http.Response, error)
- func (a *SystemAPIService) GetSystemInfo(ctx context.Context) ApiGetSystemInfoRequest
- func (a *SystemAPIService) GetSystemInfoExecute(r ApiGetSystemInfoRequest) (*SystemInfo, *http.Response, error)
- func (a *SystemAPIService) GetSystemStatistics(ctx context.Context) ApiGetSystemStatisticsRequest
- func (a *SystemAPIService) GetSystemStatisticsExecute(r ApiGetSystemStatisticsRequest) (*SystemStatistics, *http.Response, error)
- func (a *SystemAPIService) IdentifySystem(ctx context.Context) ApiIdentifySystemRequest
- func (a *SystemAPIService) IdentifySystemExecute(r ApiIdentifySystemRequest) (*http.Response, error)
- func (a *SystemAPIService) RestartSystem(ctx context.Context) ApiRestartSystemRequest
- func (a *SystemAPIService) RestartSystemExecute(r ApiRestartSystemRequest) (*http.Response, error)
- func (a *SystemAPIService) UpdateFirmware(ctx context.Context) ApiUpdateFirmwareRequest
- func (a *SystemAPIService) UpdateFirmwareExecute(r ApiUpdateFirmwareRequest) (*http.Response, error)
- func (a *SystemAPIService) UpdateSystemSettings(ctx context.Context) ApiUpdateSystemSettingsRequest
- func (a *SystemAPIService) UpdateSystemSettingsExecute(r ApiUpdateSystemSettingsRequest) (*http.Response, error)
- func (a *SystemAPIService) UpdateWebInterface(ctx context.Context) ApiUpdateWebInterfaceRequest
- func (a *SystemAPIService) UpdateWebInterfaceExecute(r ApiUpdateWebInterfaceRequest) (*http.Response, error)
- type SystemASIC
- func (o *SystemASIC) GetASICModel() string
- func (o *SystemASIC) GetASICModelOk() (*string, bool)
- func (o *SystemASIC) GetAsicCount() float32
- func (o *SystemASIC) GetAsicCountOk() (*float32, bool)
- func (o *SystemASIC) GetDefaultFrequency() float32
- func (o *SystemASIC) GetDefaultFrequencyOk() (*float32, bool)
- func (o *SystemASIC) GetDefaultVoltage() float32
- func (o *SystemASIC) GetDefaultVoltageOk() (*float32, bool)
- func (o *SystemASIC) GetDeviceModel() string
- func (o *SystemASIC) GetDeviceModelOk() (*string, bool)
- func (o *SystemASIC) GetFrequencyOptions() []float32
- func (o *SystemASIC) GetFrequencyOptionsOk() ([]float32, bool)
- func (o *SystemASIC) GetSwarmColor() string
- func (o *SystemASIC) GetSwarmColorOk() (*string, bool)
- func (o *SystemASIC) GetVoltageOptions() []float32
- func (o *SystemASIC) GetVoltageOptionsOk() ([]float32, bool)
- func (o SystemASIC) MarshalJSON() ([]byte, error)
- func (o *SystemASIC) SetASICModel(v string)
- func (o *SystemASIC) SetAsicCount(v float32)
- func (o *SystemASIC) SetDefaultFrequency(v float32)
- func (o *SystemASIC) SetDefaultVoltage(v float32)
- func (o *SystemASIC) SetDeviceModel(v string)
- func (o *SystemASIC) SetFrequencyOptions(v []float32)
- func (o *SystemASIC) SetSwarmColor(v string)
- func (o *SystemASIC) SetVoltageOptions(v []float32)
- func (o SystemASIC) ToMap() (map[string]interface{}, error)
- func (o *SystemASIC) UnmarshalJSON(data []byte) (err error)
- type SystemInfo
- func (o *SystemInfo) GetASICModel() string
- func (o *SystemInfo) GetASICModelOk() (*string, bool)
- func (o *SystemInfo) GetApEnabled() float32
- func (o *SystemInfo) GetApEnabledOk() (*float32, bool)
- func (o *SystemInfo) GetAutofanspeed() float32
- func (o *SystemInfo) GetAutofanspeedOk() (*float32, bool)
- func (o *SystemInfo) GetAxeOSVersion() string
- func (o *SystemInfo) GetAxeOSVersionOk() (*string, bool)
- func (o *SystemInfo) GetBestDiff() float32
- func (o *SystemInfo) GetBestDiffOk() (*float32, bool)
- func (o *SystemInfo) GetBestSessionDiff() float32
- func (o *SystemInfo) GetBestSessionDiffOk() (*float32, bool)
- func (o *SystemInfo) GetBlockFound() float32
- func (o *SystemInfo) GetBlockFoundOk() (*float32, bool)
- func (o *SystemInfo) GetBlockHeight() int32
- func (o *SystemInfo) GetBlockHeightOk() (*int32, bool)
- func (o *SystemInfo) GetBoardVersion() string
- func (o *SystemInfo) GetBoardVersionOk() (*string, bool)
- func (o *SystemInfo) GetCoreVoltage() float32
- func (o *SystemInfo) GetCoreVoltageActual() float32
- func (o *SystemInfo) GetCoreVoltageActualOk() (*float32, bool)
- func (o *SystemInfo) GetCoreVoltageOk() (*float32, bool)
- func (o *SystemInfo) GetCurrent() float32
- func (o *SystemInfo) GetCurrentOk() (*float32, bool)
- func (o *SystemInfo) GetDisplay() string
- func (o *SystemInfo) GetDisplayOk() (*string, bool)
- func (o *SystemInfo) GetDisplayTimeout() float32
- func (o *SystemInfo) GetDisplayTimeoutOk() (*float32, bool)
- func (o *SystemInfo) GetErrorPercentage() float32
- func (o *SystemInfo) GetErrorPercentageOk() (*float32, bool)
- func (o *SystemInfo) GetExpectedHashrate() float32
- func (o *SystemInfo) GetExpectedHashrateOk() (*float32, bool)
- func (o *SystemInfo) GetFallbackStratumCert() string
- func (o *SystemInfo) GetFallbackStratumCertOk() (*string, bool)
- func (o *SystemInfo) GetFallbackStratumExtranonceSubscribe() bool
- func (o *SystemInfo) GetFallbackStratumExtranonceSubscribeOk() (*bool, bool)
- func (o *SystemInfo) GetFallbackStratumPort() float32
- func (o *SystemInfo) GetFallbackStratumPortOk() (*float32, bool)
- func (o *SystemInfo) GetFallbackStratumSuggestedDifficulty() float32
- func (o *SystemInfo) GetFallbackStratumSuggestedDifficultyOk() (*float32, bool)
- func (o *SystemInfo) GetFallbackStratumTLS() bool
- func (o *SystemInfo) GetFallbackStratumTLSOk() (*bool, bool)
- func (o *SystemInfo) GetFallbackStratumURL() string
- func (o *SystemInfo) GetFallbackStratumURLOk() (*string, bool)
- func (o *SystemInfo) GetFallbackStratumUser() string
- func (o *SystemInfo) GetFallbackStratumUserOk() (*string, bool)
- func (o *SystemInfo) GetFan2rpm() float32
- func (o *SystemInfo) GetFan2rpmOk() (*float32, bool)
- func (o *SystemInfo) GetFanrpm() float32
- func (o *SystemInfo) GetFanrpmOk() (*float32, bool)
- func (o *SystemInfo) GetFanspeed() float32
- func (o *SystemInfo) GetFanspeedOk() (*float32, bool)
- func (o *SystemInfo) GetFreeHeap() float32
- func (o *SystemInfo) GetFreeHeapInternal() float32
- func (o *SystemInfo) GetFreeHeapInternalOk() (*float32, bool)
- func (o *SystemInfo) GetFreeHeapOk() (*float32, bool)
- func (o *SystemInfo) GetFreeHeapSpiram() float32
- func (o *SystemInfo) GetFreeHeapSpiramOk() (*float32, bool)
- func (o *SystemInfo) GetFrequency() float32
- func (o *SystemInfo) GetFrequencyOk() (*float32, bool)
- func (o *SystemInfo) GetHashRate() float32
- func (o *SystemInfo) GetHashRate10m() float32
- func (o *SystemInfo) GetHashRate10mOk() (*float32, bool)
- func (o *SystemInfo) GetHashRate1h() float32
- func (o *SystemInfo) GetHashRate1hOk() (*float32, bool)
- func (o *SystemInfo) GetHashRate1m() float32
- func (o *SystemInfo) GetHashRate1mOk() (*float32, bool)
- func (o *SystemInfo) GetHashRateOk() (*float32, bool)
- func (o *SystemInfo) GetHashrateMonitor() SystemInfoHashrateMonitor
- func (o *SystemInfo) GetHashrateMonitorOk() (*SystemInfoHashrateMonitor, bool)
- func (o *SystemInfo) GetHostname() string
- func (o *SystemInfo) GetHostnameOk() (*string, bool)
- func (o *SystemInfo) GetIdfVersion() string
- func (o *SystemInfo) GetIdfVersionOk() (*string, bool)
- func (o *SystemInfo) GetInvertscreen() float32
- func (o *SystemInfo) GetInvertscreenOk() (*float32, bool)
- func (o *SystemInfo) GetIpv4() string
- func (o *SystemInfo) GetIpv4Ok() (*string, bool)
- func (o *SystemInfo) GetIpv6() string
- func (o *SystemInfo) GetIpv6Ok() (*string, bool)
- func (o *SystemInfo) GetIsPSRAMAvailable() float32
- func (o *SystemInfo) GetIsPSRAMAvailableOk() (*float32, bool)
- func (o *SystemInfo) GetIsUsingFallbackStratum() float32
- func (o *SystemInfo) GetIsUsingFallbackStratumOk() (*float32, bool)
- func (o *SystemInfo) GetMacAddr() string
- func (o *SystemInfo) GetMacAddrOk() (*string, bool)
- func (o *SystemInfo) GetManualFanSpeed() int32
- func (o *SystemInfo) GetManualFanSpeedOk() (*int32, bool)
- func (o *SystemInfo) GetMaxPower() int32
- func (o *SystemInfo) GetMaxPowerOk() (*int32, bool)
- func (o *SystemInfo) GetMinFanSpeed() int32
- func (o *SystemInfo) GetMinFanSpeedOk() (*int32, bool)
- func (o *SystemInfo) GetNetworkDifficulty() float32
- func (o *SystemInfo) GetNetworkDifficultyOk() (*float32, bool)
- func (o *SystemInfo) GetNominalVoltage() int32
- func (o *SystemInfo) GetNominalVoltageOk() (*int32, bool)
- func (o *SystemInfo) GetOverclockEnabled() int32
- func (o *SystemInfo) GetOverclockEnabledOk() (*int32, bool)
- func (o *SystemInfo) GetOverheatMode() float32
- func (o *SystemInfo) GetOverheatModeOk() (*float32, bool)
- func (o *SystemInfo) GetPoolConnectionInfo() string
- func (o *SystemInfo) GetPoolConnectionInfoOk() (*string, bool)
- func (o *SystemInfo) GetPoolDifficulty() float32
- func (o *SystemInfo) GetPoolDifficultyOk() (*float32, bool)
- func (o *SystemInfo) GetPower() float32
- func (o *SystemInfo) GetPowerFault() string
- func (o *SystemInfo) GetPowerFaultOk() (*string, bool)
- func (o *SystemInfo) GetPowerOk() (*float32, bool)
- func (o *SystemInfo) GetResetReason() string
- func (o *SystemInfo) GetResetReasonOk() (*string, bool)
- func (o *SystemInfo) GetResponseTime() float32
- func (o *SystemInfo) GetResponseTimeOk() (*float32, bool)
- func (o *SystemInfo) GetRotation() float32
- func (o *SystemInfo) GetRotationOk() (*float32, bool)
- func (o *SystemInfo) GetRunningPartition() string
- func (o *SystemInfo) GetRunningPartitionOk() (*string, bool)
- func (o *SystemInfo) GetScriptsig() string
- func (o *SystemInfo) GetScriptsigOk() (*string, bool)
- func (o *SystemInfo) GetSharesAccepted() float32
- func (o *SystemInfo) GetSharesAcceptedOk() (*float32, bool)
- func (o *SystemInfo) GetSharesRejected() float32
- func (o *SystemInfo) GetSharesRejectedOk() (*float32, bool)
- func (o *SystemInfo) GetSharesRejectedReasons() []SharesRejectedReason
- func (o *SystemInfo) GetSharesRejectedReasonsOk() ([]SharesRejectedReason, bool)
- func (o *SystemInfo) GetSmallCoreCount() float32
- func (o *SystemInfo) GetSmallCoreCountOk() (*float32, bool)
- func (o *SystemInfo) GetSsid() string
- func (o *SystemInfo) GetSsidOk() (*string, bool)
- func (o *SystemInfo) GetStatsFrequency() float32
- func (o *SystemInfo) GetStatsFrequencyOk() (*float32, bool)
- func (o *SystemInfo) GetStratumCert() string
- func (o *SystemInfo) GetStratumCertOk() (*string, bool)
- func (o *SystemInfo) GetStratumExtranonceSubscribe() bool
- func (o *SystemInfo) GetStratumExtranonceSubscribeOk() (*bool, bool)
- func (o *SystemInfo) GetStratumPort() float32
- func (o *SystemInfo) GetStratumPortOk() (*float32, bool)
- func (o *SystemInfo) GetStratumSuggestedDifficulty() float32
- func (o *SystemInfo) GetStratumSuggestedDifficultyOk() (*float32, bool)
- func (o *SystemInfo) GetStratumTLS() bool
- func (o *SystemInfo) GetStratumTLSOk() (*bool, bool)
- func (o *SystemInfo) GetStratumURL() string
- func (o *SystemInfo) GetStratumURLOk() (*string, bool)
- func (o *SystemInfo) GetStratumUser() string
- func (o *SystemInfo) GetStratumUserOk() (*string, bool)
- func (o *SystemInfo) GetTemp() float32
- func (o *SystemInfo) GetTemp2() float32
- func (o *SystemInfo) GetTemp2Ok() (*float32, bool)
- func (o *SystemInfo) GetTempOk() (*float32, bool)
- func (o *SystemInfo) GetTemptarget() float32
- func (o *SystemInfo) GetTemptargetOk() (*float32, bool)
- func (o *SystemInfo) GetUptimeSeconds() float32
- func (o *SystemInfo) GetUptimeSecondsOk() (*float32, bool)
- func (o *SystemInfo) GetVersion() string
- func (o *SystemInfo) GetVersionOk() (*string, bool)
- func (o *SystemInfo) GetVoltage() float32
- func (o *SystemInfo) GetVoltageOk() (*float32, bool)
- func (o *SystemInfo) GetVrTemp() float32
- func (o *SystemInfo) GetVrTempOk() (*float32, bool)
- func (o *SystemInfo) GetWifiRSSI() float32
- func (o *SystemInfo) GetWifiRSSIOk() (*float32, bool)
- func (o *SystemInfo) GetWifiStatus() string
- func (o *SystemInfo) GetWifiStatusOk() (*string, bool)
- func (o *SystemInfo) HasPowerFault() bool
- func (o SystemInfo) MarshalJSON() ([]byte, error)
- func (o *SystemInfo) SetASICModel(v string)
- func (o *SystemInfo) SetApEnabled(v float32)
- func (o *SystemInfo) SetAutofanspeed(v float32)
- func (o *SystemInfo) SetAxeOSVersion(v string)
- func (o *SystemInfo) SetBestDiff(v float32)
- func (o *SystemInfo) SetBestSessionDiff(v float32)
- func (o *SystemInfo) SetBlockFound(v float32)
- func (o *SystemInfo) SetBlockHeight(v int32)
- func (o *SystemInfo) SetBoardVersion(v string)
- func (o *SystemInfo) SetCoreVoltage(v float32)
- func (o *SystemInfo) SetCoreVoltageActual(v float32)
- func (o *SystemInfo) SetCurrent(v float32)
- func (o *SystemInfo) SetDisplay(v string)
- func (o *SystemInfo) SetDisplayTimeout(v float32)
- func (o *SystemInfo) SetErrorPercentage(v float32)
- func (o *SystemInfo) SetExpectedHashrate(v float32)
- func (o *SystemInfo) SetFallbackStratumCert(v string)
- func (o *SystemInfo) SetFallbackStratumExtranonceSubscribe(v bool)
- func (o *SystemInfo) SetFallbackStratumPort(v float32)
- func (o *SystemInfo) SetFallbackStratumSuggestedDifficulty(v float32)
- func (o *SystemInfo) SetFallbackStratumTLS(v bool)
- func (o *SystemInfo) SetFallbackStratumURL(v string)
- func (o *SystemInfo) SetFallbackStratumUser(v string)
- func (o *SystemInfo) SetFan2rpm(v float32)
- func (o *SystemInfo) SetFanrpm(v float32)
- func (o *SystemInfo) SetFanspeed(v float32)
- func (o *SystemInfo) SetFreeHeap(v float32)
- func (o *SystemInfo) SetFreeHeapInternal(v float32)
- func (o *SystemInfo) SetFreeHeapSpiram(v float32)
- func (o *SystemInfo) SetFrequency(v float32)
- func (o *SystemInfo) SetHashRate(v float32)
- func (o *SystemInfo) SetHashRate10m(v float32)
- func (o *SystemInfo) SetHashRate1h(v float32)
- func (o *SystemInfo) SetHashRate1m(v float32)
- func (o *SystemInfo) SetHashrateMonitor(v SystemInfoHashrateMonitor)
- func (o *SystemInfo) SetHostname(v string)
- func (o *SystemInfo) SetIdfVersion(v string)
- func (o *SystemInfo) SetInvertscreen(v float32)
- func (o *SystemInfo) SetIpv4(v string)
- func (o *SystemInfo) SetIpv6(v string)
- func (o *SystemInfo) SetIsPSRAMAvailable(v float32)
- func (o *SystemInfo) SetIsUsingFallbackStratum(v float32)
- func (o *SystemInfo) SetMacAddr(v string)
- func (o *SystemInfo) SetManualFanSpeed(v int32)
- func (o *SystemInfo) SetMaxPower(v int32)
- func (o *SystemInfo) SetMinFanSpeed(v int32)
- func (o *SystemInfo) SetNetworkDifficulty(v float32)
- func (o *SystemInfo) SetNominalVoltage(v int32)
- func (o *SystemInfo) SetOverclockEnabled(v int32)
- func (o *SystemInfo) SetOverheatMode(v float32)
- func (o *SystemInfo) SetPoolConnectionInfo(v string)
- func (o *SystemInfo) SetPoolDifficulty(v float32)
- func (o *SystemInfo) SetPower(v float32)
- func (o *SystemInfo) SetPowerFault(v string)
- func (o *SystemInfo) SetResetReason(v string)
- func (o *SystemInfo) SetResponseTime(v float32)
- func (o *SystemInfo) SetRotation(v float32)
- func (o *SystemInfo) SetRunningPartition(v string)
- func (o *SystemInfo) SetScriptsig(v string)
- func (o *SystemInfo) SetSharesAccepted(v float32)
- func (o *SystemInfo) SetSharesRejected(v float32)
- func (o *SystemInfo) SetSharesRejectedReasons(v []SharesRejectedReason)
- func (o *SystemInfo) SetSmallCoreCount(v float32)
- func (o *SystemInfo) SetSsid(v string)
- func (o *SystemInfo) SetStatsFrequency(v float32)
- func (o *SystemInfo) SetStratumCert(v string)
- func (o *SystemInfo) SetStratumExtranonceSubscribe(v bool)
- func (o *SystemInfo) SetStratumPort(v float32)
- func (o *SystemInfo) SetStratumSuggestedDifficulty(v float32)
- func (o *SystemInfo) SetStratumTLS(v bool)
- func (o *SystemInfo) SetStratumURL(v string)
- func (o *SystemInfo) SetStratumUser(v string)
- func (o *SystemInfo) SetTemp(v float32)
- func (o *SystemInfo) SetTemp2(v float32)
- func (o *SystemInfo) SetTemptarget(v float32)
- func (o *SystemInfo) SetUptimeSeconds(v float32)
- func (o *SystemInfo) SetVersion(v string)
- func (o *SystemInfo) SetVoltage(v float32)
- func (o *SystemInfo) SetVrTemp(v float32)
- func (o *SystemInfo) SetWifiRSSI(v float32)
- func (o *SystemInfo) SetWifiStatus(v string)
- func (o SystemInfo) ToMap() (map[string]interface{}, error)
- func (o *SystemInfo) UnmarshalJSON(data []byte) (err error)
- type SystemInfoHashrateMonitor
- func (o *SystemInfoHashrateMonitor) GetAsics() []HashrateMonitorAsic
- func (o *SystemInfoHashrateMonitor) GetAsicsOk() ([]HashrateMonitorAsic, bool)
- func (o SystemInfoHashrateMonitor) MarshalJSON() ([]byte, error)
- func (o *SystemInfoHashrateMonitor) SetAsics(v []HashrateMonitorAsic)
- func (o SystemInfoHashrateMonitor) ToMap() (map[string]interface{}, error)
- func (o *SystemInfoHashrateMonitor) UnmarshalJSON(data []byte) (err error)
- type SystemStatistics
- func (o *SystemStatistics) GetCurrentTimestamp() float32
- func (o *SystemStatistics) GetCurrentTimestampOk() (*float32, bool)
- func (o *SystemStatistics) GetLabels() []string
- func (o *SystemStatistics) GetLabelsOk() ([]string, bool)
- func (o *SystemStatistics) GetStatistics() [][]float32
- func (o *SystemStatistics) GetStatisticsOk() ([][]float32, bool)
- func (o SystemStatistics) MarshalJSON() ([]byte, error)
- func (o *SystemStatistics) SetCurrentTimestamp(v float32)
- func (o *SystemStatistics) SetLabels(v []string)
- func (o *SystemStatistics) SetStatistics(v [][]float32)
- func (o SystemStatistics) ToMap() (map[string]interface{}, error)
- func (o *SystemStatistics) UnmarshalJSON(data []byte) (err error)
- type WifiAPIService
- type WifiNetwork
- func (o *WifiNetwork) GetAuthmode() int32
- func (o *WifiNetwork) GetAuthmodeOk() (*int32, bool)
- func (o *WifiNetwork) GetRssi() int32
- func (o *WifiNetwork) GetRssiOk() (*int32, bool)
- func (o *WifiNetwork) GetSsid() string
- func (o *WifiNetwork) GetSsidOk() (*string, bool)
- func (o WifiNetwork) MarshalJSON() ([]byte, error)
- func (o *WifiNetwork) SetAuthmode(v int32)
- func (o *WifiNetwork) SetRssi(v int32)
- func (o *WifiNetwork) SetSsid(v string)
- func (o WifiNetwork) ToMap() (map[string]interface{}, error)
- func (o *WifiNetwork) UnmarshalJSON(data []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var ( // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct {
SystemAPI *SystemAPIService
WifiAPI *WifiAPIService
// contains filtered or unexported fields
}
APIClient manages communication with the ESP-Miner API API v1.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct {
*http.Response `json:"-"`
Message string `json:"message,omitempty"`
// Operation is the name of the OpenAPI operation.
Operation string `json:"operation,omitempty"`
// RequestURL is the request URL. This value is always available, even if the
// embedded *http.Response is nil.
RequestURL string `json:"url,omitempty"`
// Method is the HTTP method used for the request. This value is always
// available, even if the embedded *http.Response is nil.
Method string `json:"method,omitempty"`
// Payload holds the contents of the response body (which may be nil or empty).
// This is provided here as the raw response.Body() reader will have already
// been drained.
Payload []byte `json:"-"`
}
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiGetAsicSettingsRequest ¶
type ApiGetAsicSettingsRequest struct {
ApiService *SystemAPIService
// contains filtered or unexported fields
}
func (ApiGetAsicSettingsRequest) Execute ¶
func (r ApiGetAsicSettingsRequest) Execute() (*SystemASIC, *http.Response, error)
type ApiGetSystemInfoRequest ¶
type ApiGetSystemInfoRequest struct {
ApiService *SystemAPIService
// contains filtered or unexported fields
}
func (ApiGetSystemInfoRequest) Execute ¶
func (r ApiGetSystemInfoRequest) Execute() (*SystemInfo, *http.Response, error)
type ApiGetSystemStatisticsRequest ¶
type ApiGetSystemStatisticsRequest struct {
ApiService *SystemAPIService
// contains filtered or unexported fields
}
func (ApiGetSystemStatisticsRequest) Columns ¶
func (r ApiGetSystemStatisticsRequest) Columns(columns []string) ApiGetSystemStatisticsRequest
List of labels for which data should be retrieved
func (ApiGetSystemStatisticsRequest) Execute ¶
func (r ApiGetSystemStatisticsRequest) Execute() (*SystemStatistics, *http.Response, error)
type ApiIdentifySystemRequest ¶
type ApiIdentifySystemRequest struct {
ApiService *SystemAPIService
// contains filtered or unexported fields
}
type ApiRestartSystemRequest ¶
type ApiRestartSystemRequest struct {
ApiService *SystemAPIService
// contains filtered or unexported fields
}
type ApiScanWifiNetworksRequest ¶
type ApiScanWifiNetworksRequest struct {
ApiService *WifiAPIService
// contains filtered or unexported fields
}
func (ApiScanWifiNetworksRequest) Execute ¶
func (r ApiScanWifiNetworksRequest) Execute() (*ScanWifiNetworks200Response, *http.Response, error)
type ApiUpdateFirmwareRequest ¶
type ApiUpdateFirmwareRequest struct {
ApiService *SystemAPIService
// contains filtered or unexported fields
}
func (ApiUpdateFirmwareRequest) Body ¶
func (r ApiUpdateFirmwareRequest) Body(body *os.File) ApiUpdateFirmwareRequest
type ApiUpdateSystemSettingsRequest ¶
type ApiUpdateSystemSettingsRequest struct {
ApiService *SystemAPIService
// contains filtered or unexported fields
}
func (ApiUpdateSystemSettingsRequest) Execute ¶
func (r ApiUpdateSystemSettingsRequest) Execute() (*http.Response, error)
func (ApiUpdateSystemSettingsRequest) Settings ¶
func (r ApiUpdateSystemSettingsRequest) Settings(settings Settings) ApiUpdateSystemSettingsRequest
type ApiUpdateWebInterfaceRequest ¶
type ApiUpdateWebInterfaceRequest struct {
ApiService *SystemAPIService
// contains filtered or unexported fields
}
func (ApiUpdateWebInterfaceRequest) Body ¶
func (r ApiUpdateWebInterfaceRequest) Body(body *os.File) ApiUpdateWebInterfaceRequest
type BasicAuth ¶
type BasicAuth struct {
UserName string `json:"userName,omitempty"`
Password string `json:"password,omitempty"`
}
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Configuration ¶
type Configuration struct {
Host string `json:"host,omitempty"`
Scheme string `json:"scheme,omitempty"`
DefaultHeader map[string]string `json:"defaultHeader,omitempty"`
UserAgent string `json:"userAgent,omitempty"`
Debug bool `json:"debug,omitempty"`
Servers ServerConfigurations
OperationServers map[string]ServerConfigurations
HTTPClient *http.Client
}
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type HashrateMonitorAsic ¶
type HashrateMonitorAsic struct {
// Hashrate
Total float32 `json:"total"`
// Hashrate per domain
Domains []float32 `json:"domains"`
// Number of errors
ErrorCount float32 `json:"errorCount"`
}
HashrateMonitorAsic struct for HashrateMonitorAsic
func NewHashrateMonitorAsic ¶
func NewHashrateMonitorAsic(total float32, domains []float32, errorCount float32) *HashrateMonitorAsic
NewHashrateMonitorAsic instantiates a new HashrateMonitorAsic 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 NewHashrateMonitorAsicWithDefaults ¶
func NewHashrateMonitorAsicWithDefaults() *HashrateMonitorAsic
NewHashrateMonitorAsicWithDefaults instantiates a new HashrateMonitorAsic 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 (*HashrateMonitorAsic) GetDomains ¶
func (o *HashrateMonitorAsic) GetDomains() []float32
GetDomains returns the Domains field value
func (*HashrateMonitorAsic) GetDomainsOk ¶
func (o *HashrateMonitorAsic) GetDomainsOk() ([]float32, bool)
GetDomainsOk returns a tuple with the Domains field value and a boolean to check if the value has been set.
func (*HashrateMonitorAsic) GetErrorCount ¶
func (o *HashrateMonitorAsic) GetErrorCount() float32
GetErrorCount returns the ErrorCount field value
func (*HashrateMonitorAsic) GetErrorCountOk ¶
func (o *HashrateMonitorAsic) GetErrorCountOk() (*float32, bool)
GetErrorCountOk returns a tuple with the ErrorCount field value and a boolean to check if the value has been set.
func (*HashrateMonitorAsic) GetTotal ¶
func (o *HashrateMonitorAsic) GetTotal() float32
GetTotal returns the Total field value
func (*HashrateMonitorAsic) GetTotalOk ¶
func (o *HashrateMonitorAsic) GetTotalOk() (*float32, bool)
GetTotalOk returns a tuple with the Total field value and a boolean to check if the value has been set.
func (HashrateMonitorAsic) MarshalJSON ¶
func (o HashrateMonitorAsic) MarshalJSON() ([]byte, error)
func (*HashrateMonitorAsic) SetDomains ¶
func (o *HashrateMonitorAsic) SetDomains(v []float32)
SetDomains sets field value
func (*HashrateMonitorAsic) SetErrorCount ¶
func (o *HashrateMonitorAsic) SetErrorCount(v float32)
SetErrorCount sets field value
func (*HashrateMonitorAsic) SetTotal ¶
func (o *HashrateMonitorAsic) SetTotal(v float32)
SetTotal sets field value
func (HashrateMonitorAsic) ToMap ¶
func (o HashrateMonitorAsic) ToMap() (map[string]interface{}, error)
func (*HashrateMonitorAsic) UnmarshalJSON ¶
func (o *HashrateMonitorAsic) UnmarshalJSON(data []byte) (err error)
type MappedNullable ¶
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableHashrateMonitorAsic ¶
type NullableHashrateMonitorAsic struct {
// contains filtered or unexported fields
}
func NewNullableHashrateMonitorAsic ¶
func NewNullableHashrateMonitorAsic(val *HashrateMonitorAsic) *NullableHashrateMonitorAsic
func (NullableHashrateMonitorAsic) Get ¶
func (v NullableHashrateMonitorAsic) Get() *HashrateMonitorAsic
func (NullableHashrateMonitorAsic) IsSet ¶
func (v NullableHashrateMonitorAsic) IsSet() bool
func (NullableHashrateMonitorAsic) MarshalJSON ¶
func (v NullableHashrateMonitorAsic) MarshalJSON() ([]byte, error)
func (*NullableHashrateMonitorAsic) Set ¶
func (v *NullableHashrateMonitorAsic) Set(val *HashrateMonitorAsic)
func (*NullableHashrateMonitorAsic) UnmarshalJSON ¶
func (v *NullableHashrateMonitorAsic) UnmarshalJSON(src []byte) error
func (*NullableHashrateMonitorAsic) Unset ¶
func (v *NullableHashrateMonitorAsic) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableScanWifiNetworks200Response ¶
type NullableScanWifiNetworks200Response struct {
// contains filtered or unexported fields
}
func NewNullableScanWifiNetworks200Response ¶
func NewNullableScanWifiNetworks200Response(val *ScanWifiNetworks200Response) *NullableScanWifiNetworks200Response
func (NullableScanWifiNetworks200Response) Get ¶
func (v NullableScanWifiNetworks200Response) Get() *ScanWifiNetworks200Response
func (NullableScanWifiNetworks200Response) IsSet ¶
func (v NullableScanWifiNetworks200Response) IsSet() bool
func (NullableScanWifiNetworks200Response) MarshalJSON ¶
func (v NullableScanWifiNetworks200Response) MarshalJSON() ([]byte, error)
func (*NullableScanWifiNetworks200Response) Set ¶
func (v *NullableScanWifiNetworks200Response) Set(val *ScanWifiNetworks200Response)
func (*NullableScanWifiNetworks200Response) UnmarshalJSON ¶
func (v *NullableScanWifiNetworks200Response) UnmarshalJSON(src []byte) error
func (*NullableScanWifiNetworks200Response) Unset ¶
func (v *NullableScanWifiNetworks200Response) Unset()
type NullableSettings ¶
type NullableSettings struct {
// contains filtered or unexported fields
}
func NewNullableSettings ¶
func NewNullableSettings(val *Settings) *NullableSettings
func (NullableSettings) Get ¶
func (v NullableSettings) Get() *Settings
func (NullableSettings) IsSet ¶
func (v NullableSettings) IsSet() bool
func (NullableSettings) MarshalJSON ¶
func (v NullableSettings) MarshalJSON() ([]byte, error)
func (*NullableSettings) Set ¶
func (v *NullableSettings) Set(val *Settings)
func (*NullableSettings) UnmarshalJSON ¶
func (v *NullableSettings) UnmarshalJSON(src []byte) error
func (*NullableSettings) Unset ¶
func (v *NullableSettings) Unset()
type NullableSharesRejectedReason ¶
type NullableSharesRejectedReason struct {
// contains filtered or unexported fields
}
func NewNullableSharesRejectedReason ¶
func NewNullableSharesRejectedReason(val *SharesRejectedReason) *NullableSharesRejectedReason
func (NullableSharesRejectedReason) Get ¶
func (v NullableSharesRejectedReason) Get() *SharesRejectedReason
func (NullableSharesRejectedReason) IsSet ¶
func (v NullableSharesRejectedReason) IsSet() bool
func (NullableSharesRejectedReason) MarshalJSON ¶
func (v NullableSharesRejectedReason) MarshalJSON() ([]byte, error)
func (*NullableSharesRejectedReason) Set ¶
func (v *NullableSharesRejectedReason) Set(val *SharesRejectedReason)
func (*NullableSharesRejectedReason) UnmarshalJSON ¶
func (v *NullableSharesRejectedReason) UnmarshalJSON(src []byte) error
func (*NullableSharesRejectedReason) Unset ¶
func (v *NullableSharesRejectedReason) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableSystemASIC ¶
type NullableSystemASIC struct {
// contains filtered or unexported fields
}
func NewNullableSystemASIC ¶
func NewNullableSystemASIC(val *SystemASIC) *NullableSystemASIC
func (NullableSystemASIC) Get ¶
func (v NullableSystemASIC) Get() *SystemASIC
func (NullableSystemASIC) IsSet ¶
func (v NullableSystemASIC) IsSet() bool
func (NullableSystemASIC) MarshalJSON ¶
func (v NullableSystemASIC) MarshalJSON() ([]byte, error)
func (*NullableSystemASIC) Set ¶
func (v *NullableSystemASIC) Set(val *SystemASIC)
func (*NullableSystemASIC) UnmarshalJSON ¶
func (v *NullableSystemASIC) UnmarshalJSON(src []byte) error
func (*NullableSystemASIC) Unset ¶
func (v *NullableSystemASIC) Unset()
type NullableSystemInfo ¶
type NullableSystemInfo struct {
// contains filtered or unexported fields
}
func NewNullableSystemInfo ¶
func NewNullableSystemInfo(val *SystemInfo) *NullableSystemInfo
func (NullableSystemInfo) Get ¶
func (v NullableSystemInfo) Get() *SystemInfo
func (NullableSystemInfo) IsSet ¶
func (v NullableSystemInfo) IsSet() bool
func (NullableSystemInfo) MarshalJSON ¶
func (v NullableSystemInfo) MarshalJSON() ([]byte, error)
func (*NullableSystemInfo) Set ¶
func (v *NullableSystemInfo) Set(val *SystemInfo)
func (*NullableSystemInfo) UnmarshalJSON ¶
func (v *NullableSystemInfo) UnmarshalJSON(src []byte) error
func (*NullableSystemInfo) Unset ¶
func (v *NullableSystemInfo) Unset()
type NullableSystemInfoHashrateMonitor ¶
type NullableSystemInfoHashrateMonitor struct {
// contains filtered or unexported fields
}
func NewNullableSystemInfoHashrateMonitor ¶
func NewNullableSystemInfoHashrateMonitor(val *SystemInfoHashrateMonitor) *NullableSystemInfoHashrateMonitor
func (NullableSystemInfoHashrateMonitor) Get ¶
func (v NullableSystemInfoHashrateMonitor) Get() *SystemInfoHashrateMonitor
func (NullableSystemInfoHashrateMonitor) IsSet ¶
func (v NullableSystemInfoHashrateMonitor) IsSet() bool
func (NullableSystemInfoHashrateMonitor) MarshalJSON ¶
func (v NullableSystemInfoHashrateMonitor) MarshalJSON() ([]byte, error)
func (*NullableSystemInfoHashrateMonitor) Set ¶
func (v *NullableSystemInfoHashrateMonitor) Set(val *SystemInfoHashrateMonitor)
func (*NullableSystemInfoHashrateMonitor) UnmarshalJSON ¶
func (v *NullableSystemInfoHashrateMonitor) UnmarshalJSON(src []byte) error
func (*NullableSystemInfoHashrateMonitor) Unset ¶
func (v *NullableSystemInfoHashrateMonitor) Unset()
type NullableSystemStatistics ¶
type NullableSystemStatistics struct {
// contains filtered or unexported fields
}
func NewNullableSystemStatistics ¶
func NewNullableSystemStatistics(val *SystemStatistics) *NullableSystemStatistics
func (NullableSystemStatistics) Get ¶
func (v NullableSystemStatistics) Get() *SystemStatistics
func (NullableSystemStatistics) IsSet ¶
func (v NullableSystemStatistics) IsSet() bool
func (NullableSystemStatistics) MarshalJSON ¶
func (v NullableSystemStatistics) MarshalJSON() ([]byte, error)
func (*NullableSystemStatistics) Set ¶
func (v *NullableSystemStatistics) Set(val *SystemStatistics)
func (*NullableSystemStatistics) UnmarshalJSON ¶
func (v *NullableSystemStatistics) UnmarshalJSON(src []byte) error
func (*NullableSystemStatistics) Unset ¶
func (v *NullableSystemStatistics) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableWifiNetwork ¶
type NullableWifiNetwork struct {
// contains filtered or unexported fields
}
func NewNullableWifiNetwork ¶
func NewNullableWifiNetwork(val *WifiNetwork) *NullableWifiNetwork
func (NullableWifiNetwork) Get ¶
func (v NullableWifiNetwork) Get() *WifiNetwork
func (NullableWifiNetwork) IsSet ¶
func (v NullableWifiNetwork) IsSet() bool
func (NullableWifiNetwork) MarshalJSON ¶
func (v NullableWifiNetwork) MarshalJSON() ([]byte, error)
func (*NullableWifiNetwork) Set ¶
func (v *NullableWifiNetwork) Set(val *WifiNetwork)
func (*NullableWifiNetwork) UnmarshalJSON ¶
func (v *NullableWifiNetwork) UnmarshalJSON(src []byte) error
func (*NullableWifiNetwork) Unset ¶
func (v *NullableWifiNetwork) Unset()
type ScanWifiNetworks200Response ¶
type ScanWifiNetworks200Response struct {
Networks []WifiNetwork `json:"networks"`
}
ScanWifiNetworks200Response struct for ScanWifiNetworks200Response
func NewScanWifiNetworks200Response ¶
func NewScanWifiNetworks200Response(networks []WifiNetwork) *ScanWifiNetworks200Response
NewScanWifiNetworks200Response instantiates a new ScanWifiNetworks200Response 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 NewScanWifiNetworks200ResponseWithDefaults ¶
func NewScanWifiNetworks200ResponseWithDefaults() *ScanWifiNetworks200Response
NewScanWifiNetworks200ResponseWithDefaults instantiates a new ScanWifiNetworks200Response 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 (*ScanWifiNetworks200Response) GetNetworks ¶
func (o *ScanWifiNetworks200Response) GetNetworks() []WifiNetwork
GetNetworks returns the Networks field value
func (*ScanWifiNetworks200Response) GetNetworksOk ¶
func (o *ScanWifiNetworks200Response) GetNetworksOk() ([]WifiNetwork, bool)
GetNetworksOk returns a tuple with the Networks field value and a boolean to check if the value has been set.
func (ScanWifiNetworks200Response) MarshalJSON ¶
func (o ScanWifiNetworks200Response) MarshalJSON() ([]byte, error)
func (*ScanWifiNetworks200Response) SetNetworks ¶
func (o *ScanWifiNetworks200Response) SetNetworks(v []WifiNetwork)
SetNetworks sets field value
func (ScanWifiNetworks200Response) ToMap ¶
func (o ScanWifiNetworks200Response) ToMap() (map[string]interface{}, error)
func (*ScanWifiNetworks200Response) UnmarshalJSON ¶
func (o *ScanWifiNetworks200Response) UnmarshalJSON(data []byte) (err error)
type ServerConfiguration ¶
type ServerConfiguration struct {
URL string
Description string
Variables map[string]ServerVariable
}
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type Settings ¶
type Settings struct {
// Forces the use the fallback stratum pool
UseFallbackStratum *float32 `json:"useFallbackStratum,omitempty"`
// Primary stratum server URL
StratumURL *string `json:"stratumURL,omitempty"`
// Fallback stratum server URL used when primary is unavailable
FallbackStratumURL *string `json:"fallbackStratumURL,omitempty"`
// Username for primary stratum server
StratumUser *string `json:"stratumUser,omitempty"`
// Password for primary stratum server
StratumPassword *string `json:"stratumPassword,omitempty"`
// Username for fallback stratum server
FallbackStratumUser *string `json:"fallbackStratumUser,omitempty"`
// Password for fallback stratum server
FallbackStratumPassword *string `json:"fallbackStratumPassword,omitempty"`
// Port number for primary stratum server
StratumPort *int32 `json:"stratumPort,omitempty"`
// Port number for fallback stratum server
FallbackStratumPort *int32 `json:"fallbackStratumPort,omitempty"`
// WiFi network SSID
Ssid *string `json:"ssid,omitempty"`
// WiFi network password
WifiPass *string `json:"wifiPass,omitempty"`
// Device hostname
Hostname *string `json:"hostname,omitempty" validate:"regexp=^[a-zA-Z0-9-]+$"`
// ASIC core voltage in millivolts
CoreVoltage *int32 `json:"coreVoltage,omitempty"`
// ASIC frequency in MHz
Frequency *int32 `json:"frequency,omitempty"`
// Whether to rotate the screen orientation (0, 90, 180, 270 degrees)
Rotation *int32 `json:"rotation,omitempty"`
// Overheat protection mode (0=disabled)
OverheatMode *int32 `json:"overheat_mode,omitempty"`
// Set custom voltage/frequency in AxeOS (0=disabled, 1=enabled)
OverclockEnabled *int32 `json:"overclockEnabled,omitempty"`
// Whether to invert screen colors (0=normal, 1=inverted)
Invertscreen *int32 `json:"invertscreen,omitempty"`
// Whether to enable automatic fan speed control (0=manual, 1=auto)
Autofanspeed *int32 `json:"autofanspeed,omitempty"`
// Manual fan speed percentage when autofanspeed is disabled
Fanspeed *int32 `json:"fanspeed,omitempty"`
// Manual Temperature Target in °C when autofanspeed is enabled
Temptarget *int32 `json:"temptarget,omitempty"`
// Set display timeout time in minutes (-1=display on, 0=display off)
DisplayTimeout *int32 `json:"displayTimeout,omitempty"`
// Set statistics frequency in seconds (0=disabled)
StatsFrequency *int32 `json:"statsFrequency,omitempty"`
AdditionalProperties map[string]interface{}
}
Settings struct for Settings
func NewSettings ¶
func NewSettings() *Settings
NewSettings instantiates a new Settings 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 NewSettingsWithDefaults ¶
func NewSettingsWithDefaults() *Settings
NewSettingsWithDefaults instantiates a new Settings 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 (*Settings) GetAutofanspeed ¶
GetAutofanspeed returns the Autofanspeed field value if set, zero value otherwise.
func (*Settings) GetAutofanspeedOk ¶
GetAutofanspeedOk returns a tuple with the Autofanspeed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Settings) GetCoreVoltage ¶
GetCoreVoltage returns the CoreVoltage field value if set, zero value otherwise.
func (*Settings) GetCoreVoltageOk ¶
GetCoreVoltageOk returns a tuple with the CoreVoltage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Settings) GetDisplayTimeout ¶
GetDisplayTimeout returns the DisplayTimeout field value if set, zero value otherwise.
func (*Settings) GetDisplayTimeoutOk ¶
GetDisplayTimeoutOk returns a tuple with the DisplayTimeout field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Settings) GetFallbackStratumPassword ¶
GetFallbackStratumPassword returns the FallbackStratumPassword field value if set, zero value otherwise.
func (*Settings) GetFallbackStratumPasswordOk ¶
GetFallbackStratumPasswordOk returns a tuple with the FallbackStratumPassword field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Settings) GetFallbackStratumPort ¶
GetFallbackStratumPort returns the FallbackStratumPort field value if set, zero value otherwise.
func (*Settings) GetFallbackStratumPortOk ¶
GetFallbackStratumPortOk returns a tuple with the FallbackStratumPort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Settings) GetFallbackStratumURL ¶
GetFallbackStratumURL returns the FallbackStratumURL field value if set, zero value otherwise.
func (*Settings) GetFallbackStratumURLOk ¶
GetFallbackStratumURLOk returns a tuple with the FallbackStratumURL field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Settings) GetFallbackStratumUser ¶
GetFallbackStratumUser returns the FallbackStratumUser field value if set, zero value otherwise.
func (*Settings) GetFallbackStratumUserOk ¶
GetFallbackStratumUserOk returns a tuple with the FallbackStratumUser field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Settings) GetFanspeed ¶
GetFanspeed returns the Fanspeed field value if set, zero value otherwise.
func (*Settings) GetFanspeedOk ¶
GetFanspeedOk returns a tuple with the Fanspeed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Settings) GetFrequency ¶
GetFrequency returns the Frequency field value if set, zero value otherwise.
func (*Settings) GetFrequencyOk ¶
GetFrequencyOk returns a tuple with the Frequency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Settings) GetHostname ¶
GetHostname returns the Hostname field value if set, zero value otherwise.
func (*Settings) GetHostnameOk ¶
GetHostnameOk returns a tuple with the Hostname field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Settings) GetInvertscreen ¶
GetInvertscreen returns the Invertscreen field value if set, zero value otherwise.
func (*Settings) GetInvertscreenOk ¶
GetInvertscreenOk returns a tuple with the Invertscreen field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Settings) GetOverclockEnabled ¶
GetOverclockEnabled returns the OverclockEnabled field value if set, zero value otherwise.
func (*Settings) GetOverclockEnabledOk ¶
GetOverclockEnabledOk returns a tuple with the OverclockEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Settings) GetOverheatMode ¶
GetOverheatMode returns the OverheatMode field value if set, zero value otherwise.
func (*Settings) GetOverheatModeOk ¶
GetOverheatModeOk returns a tuple with the OverheatMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Settings) GetRotation ¶
GetRotation returns the Rotation field value if set, zero value otherwise.
func (*Settings) GetRotationOk ¶
GetRotationOk returns a tuple with the Rotation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Settings) GetSsidOk ¶
GetSsidOk returns a tuple with the Ssid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Settings) GetStatsFrequency ¶
GetStatsFrequency returns the StatsFrequency field value if set, zero value otherwise.
func (*Settings) GetStatsFrequencyOk ¶
GetStatsFrequencyOk returns a tuple with the StatsFrequency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Settings) GetStratumPassword ¶
GetStratumPassword returns the StratumPassword field value if set, zero value otherwise.
func (*Settings) GetStratumPasswordOk ¶
GetStratumPasswordOk returns a tuple with the StratumPassword field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Settings) GetStratumPort ¶
GetStratumPort returns the StratumPort field value if set, zero value otherwise.
func (*Settings) GetStratumPortOk ¶
GetStratumPortOk returns a tuple with the StratumPort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Settings) GetStratumURL ¶
GetStratumURL returns the StratumURL field value if set, zero value otherwise.
func (*Settings) GetStratumURLOk ¶
GetStratumURLOk returns a tuple with the StratumURL field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Settings) GetStratumUser ¶
GetStratumUser returns the StratumUser field value if set, zero value otherwise.
func (*Settings) GetStratumUserOk ¶
GetStratumUserOk returns a tuple with the StratumUser field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Settings) GetTemptarget ¶
GetTemptarget returns the Temptarget field value if set, zero value otherwise.
func (*Settings) GetTemptargetOk ¶
GetTemptargetOk returns a tuple with the Temptarget field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Settings) GetUseFallbackStratum ¶
GetUseFallbackStratum returns the UseFallbackStratum field value if set, zero value otherwise.
func (*Settings) GetUseFallbackStratumOk ¶
GetUseFallbackStratumOk returns a tuple with the UseFallbackStratum field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Settings) GetWifiPass ¶
GetWifiPass returns the WifiPass field value if set, zero value otherwise.
func (*Settings) GetWifiPassOk ¶
GetWifiPassOk returns a tuple with the WifiPass field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Settings) HasAutofanspeed ¶
HasAutofanspeed returns a boolean if a field has been set.
func (*Settings) HasCoreVoltage ¶
HasCoreVoltage returns a boolean if a field has been set.
func (*Settings) HasDisplayTimeout ¶
HasDisplayTimeout returns a boolean if a field has been set.
func (*Settings) HasFallbackStratumPassword ¶
HasFallbackStratumPassword returns a boolean if a field has been set.
func (*Settings) HasFallbackStratumPort ¶
HasFallbackStratumPort returns a boolean if a field has been set.
func (*Settings) HasFallbackStratumURL ¶
HasFallbackStratumURL returns a boolean if a field has been set.
func (*Settings) HasFallbackStratumUser ¶
HasFallbackStratumUser returns a boolean if a field has been set.
func (*Settings) HasFanspeed ¶
HasFanspeed returns a boolean if a field has been set.
func (*Settings) HasFrequency ¶
HasFrequency returns a boolean if a field has been set.
func (*Settings) HasHostname ¶
HasHostname returns a boolean if a field has been set.
func (*Settings) HasInvertscreen ¶
HasInvertscreen returns a boolean if a field has been set.
func (*Settings) HasOverclockEnabled ¶
HasOverclockEnabled returns a boolean if a field has been set.
func (*Settings) HasOverheatMode ¶
HasOverheatMode returns a boolean if a field has been set.
func (*Settings) HasRotation ¶
HasRotation returns a boolean if a field has been set.
func (*Settings) HasStatsFrequency ¶
HasStatsFrequency returns a boolean if a field has been set.
func (*Settings) HasStratumPassword ¶
HasStratumPassword returns a boolean if a field has been set.
func (*Settings) HasStratumPort ¶
HasStratumPort returns a boolean if a field has been set.
func (*Settings) HasStratumURL ¶
HasStratumURL returns a boolean if a field has been set.
func (*Settings) HasStratumUser ¶
HasStratumUser returns a boolean if a field has been set.
func (*Settings) HasTemptarget ¶
HasTemptarget returns a boolean if a field has been set.
func (*Settings) HasUseFallbackStratum ¶
HasUseFallbackStratum returns a boolean if a field has been set.
func (*Settings) HasWifiPass ¶
HasWifiPass returns a boolean if a field has been set.
func (Settings) MarshalJSON ¶
func (*Settings) SetAutofanspeed ¶
SetAutofanspeed gets a reference to the given int32 and assigns it to the Autofanspeed field.
func (*Settings) SetCoreVoltage ¶
SetCoreVoltage gets a reference to the given int32 and assigns it to the CoreVoltage field.
func (*Settings) SetDisplayTimeout ¶
SetDisplayTimeout gets a reference to the given int32 and assigns it to the DisplayTimeout field.
func (*Settings) SetFallbackStratumPassword ¶
SetFallbackStratumPassword gets a reference to the given string and assigns it to the FallbackStratumPassword field.
func (*Settings) SetFallbackStratumPort ¶
SetFallbackStratumPort gets a reference to the given int32 and assigns it to the FallbackStratumPort field.
func (*Settings) SetFallbackStratumURL ¶
SetFallbackStratumURL gets a reference to the given string and assigns it to the FallbackStratumURL field.
func (*Settings) SetFallbackStratumUser ¶
SetFallbackStratumUser gets a reference to the given string and assigns it to the FallbackStratumUser field.
func (*Settings) SetFanspeed ¶
SetFanspeed gets a reference to the given int32 and assigns it to the Fanspeed field.
func (*Settings) SetFrequency ¶
SetFrequency gets a reference to the given int32 and assigns it to the Frequency field.
func (*Settings) SetHostname ¶
SetHostname gets a reference to the given string and assigns it to the Hostname field.
func (*Settings) SetInvertscreen ¶
SetInvertscreen gets a reference to the given int32 and assigns it to the Invertscreen field.
func (*Settings) SetOverclockEnabled ¶
SetOverclockEnabled gets a reference to the given int32 and assigns it to the OverclockEnabled field.
func (*Settings) SetOverheatMode ¶
SetOverheatMode gets a reference to the given int32 and assigns it to the OverheatMode field.
func (*Settings) SetRotation ¶
SetRotation gets a reference to the given int32 and assigns it to the Rotation field.
func (*Settings) SetSsid ¶
SetSsid gets a reference to the given string and assigns it to the Ssid field.
func (*Settings) SetStatsFrequency ¶
SetStatsFrequency gets a reference to the given int32 and assigns it to the StatsFrequency field.
func (*Settings) SetStratumPassword ¶
SetStratumPassword gets a reference to the given string and assigns it to the StratumPassword field.
func (*Settings) SetStratumPort ¶
SetStratumPort gets a reference to the given int32 and assigns it to the StratumPort field.
func (*Settings) SetStratumURL ¶
SetStratumURL gets a reference to the given string and assigns it to the StratumURL field.
func (*Settings) SetStratumUser ¶
SetStratumUser gets a reference to the given string and assigns it to the StratumUser field.
func (*Settings) SetTemptarget ¶
SetTemptarget gets a reference to the given int32 and assigns it to the Temptarget field.
func (*Settings) SetUseFallbackStratum ¶
SetUseFallbackStratum gets a reference to the given float32 and assigns it to the UseFallbackStratum field.
func (*Settings) SetWifiPass ¶
SetWifiPass gets a reference to the given string and assigns it to the WifiPass field.
func (*Settings) UnmarshalJSON ¶
type SharesRejectedReason ¶
SharesRejectedReason struct for SharesRejectedReason
func NewSharesRejectedReason ¶
func NewSharesRejectedReason(message string, count int32) *SharesRejectedReason
NewSharesRejectedReason instantiates a new SharesRejectedReason 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 NewSharesRejectedReasonWithDefaults ¶
func NewSharesRejectedReasonWithDefaults() *SharesRejectedReason
NewSharesRejectedReasonWithDefaults instantiates a new SharesRejectedReason 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 (*SharesRejectedReason) GetCount ¶
func (o *SharesRejectedReason) GetCount() int32
GetCount returns the Count field value
func (*SharesRejectedReason) GetCountOk ¶
func (o *SharesRejectedReason) GetCountOk() (*int32, bool)
GetCountOk returns a tuple with the Count field value and a boolean to check if the value has been set.
func (*SharesRejectedReason) GetMessage ¶
func (o *SharesRejectedReason) GetMessage() string
GetMessage returns the Message field value
func (*SharesRejectedReason) GetMessageOk ¶
func (o *SharesRejectedReason) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (SharesRejectedReason) MarshalJSON ¶
func (o SharesRejectedReason) MarshalJSON() ([]byte, error)
func (*SharesRejectedReason) SetCount ¶
func (o *SharesRejectedReason) SetCount(v int32)
SetCount sets field value
func (*SharesRejectedReason) SetMessage ¶
func (o *SharesRejectedReason) SetMessage(v string)
SetMessage sets field value
func (SharesRejectedReason) ToMap ¶
func (o SharesRejectedReason) ToMap() (map[string]interface{}, error)
func (*SharesRejectedReason) UnmarshalJSON ¶
func (o *SharesRejectedReason) UnmarshalJSON(data []byte) (err error)
type SystemAPIService ¶
type SystemAPIService service
SystemAPIService SystemAPI service
func (*SystemAPIService) GetAsicSettings ¶
func (a *SystemAPIService) GetAsicSettings(ctx context.Context) ApiGetAsicSettingsRequest
GetAsicSettings Get ASIC settings information
Returns current ASIC model and corresponding available frequency and voltage options
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetAsicSettingsRequest
func (*SystemAPIService) GetAsicSettingsExecute ¶
func (a *SystemAPIService) GetAsicSettingsExecute(r ApiGetAsicSettingsRequest) (*SystemASIC, *http.Response, error)
Execute executes the request
@return SystemASIC
func (*SystemAPIService) GetSystemInfo ¶
func (a *SystemAPIService) GetSystemInfo(ctx context.Context) ApiGetSystemInfoRequest
GetSystemInfo Get system information
Returns current system status and information
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetSystemInfoRequest
func (*SystemAPIService) GetSystemInfoExecute ¶
func (a *SystemAPIService) GetSystemInfoExecute(r ApiGetSystemInfoRequest) (*SystemInfo, *http.Response, error)
Execute executes the request
@return SystemInfo
func (*SystemAPIService) GetSystemStatistics ¶
func (a *SystemAPIService) GetSystemStatistics(ctx context.Context) ApiGetSystemStatisticsRequest
GetSystemStatistics Get system statistics
Returns system statistics
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetSystemStatisticsRequest
func (*SystemAPIService) GetSystemStatisticsExecute ¶
func (a *SystemAPIService) GetSystemStatisticsExecute(r ApiGetSystemStatisticsRequest) (*SystemStatistics, *http.Response, error)
Execute executes the request
@return SystemStatistics
func (*SystemAPIService) IdentifySystem ¶
func (a *SystemAPIService) IdentifySystem(ctx context.Context) ApiIdentifySystemRequest
IdentifySystem Identify the device
Let the device say Hi!
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiIdentifySystemRequest
func (*SystemAPIService) IdentifySystemExecute ¶
func (a *SystemAPIService) IdentifySystemExecute(r ApiIdentifySystemRequest) (*http.Response, error)
Execute executes the request
func (*SystemAPIService) RestartSystem ¶
func (a *SystemAPIService) RestartSystem(ctx context.Context) ApiRestartSystemRequest
RestartSystem Restart the system
Triggers a system restart
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiRestartSystemRequest
func (*SystemAPIService) RestartSystemExecute ¶
func (a *SystemAPIService) RestartSystemExecute(r ApiRestartSystemRequest) (*http.Response, error)
Execute executes the request
func (*SystemAPIService) UpdateFirmware ¶
func (a *SystemAPIService) UpdateFirmware(ctx context.Context) ApiUpdateFirmwareRequest
UpdateFirmware Update system firmware
Upload and apply new firmware via OTA update
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiUpdateFirmwareRequest
func (*SystemAPIService) UpdateFirmwareExecute ¶
func (a *SystemAPIService) UpdateFirmwareExecute(r ApiUpdateFirmwareRequest) (*http.Response, error)
Execute executes the request
func (*SystemAPIService) UpdateSystemSettings ¶
func (a *SystemAPIService) UpdateSystemSettings(ctx context.Context) ApiUpdateSystemSettingsRequest
UpdateSystemSettings Update system settings
Updates system configuration settings
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiUpdateSystemSettingsRequest
func (*SystemAPIService) UpdateSystemSettingsExecute ¶
func (a *SystemAPIService) UpdateSystemSettingsExecute(r ApiUpdateSystemSettingsRequest) (*http.Response, error)
Execute executes the request
func (*SystemAPIService) UpdateWebInterface ¶
func (a *SystemAPIService) UpdateWebInterface(ctx context.Context) ApiUpdateWebInterfaceRequest
UpdateWebInterface Update web interface
Upload and apply new web interface files
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiUpdateWebInterfaceRequest
func (*SystemAPIService) UpdateWebInterfaceExecute ¶
func (a *SystemAPIService) UpdateWebInterfaceExecute(r ApiUpdateWebInterfaceRequest) (*http.Response, error)
Execute executes the request
type SystemASIC ¶
type SystemASIC struct {
// ASIC model identifier
ASICModel string `json:"ASICModel"`
// Device model name
DeviceModel string `json:"deviceModel"`
// Swarm color
SwarmColor string `json:"swarmColor"`
// Number of ASICs detected
AsicCount float32 `json:"asicCount"`
// Default frequency for the ASIC model in MHz
DefaultFrequency float32 `json:"defaultFrequency"`
// Available frequency options for the ASIC model in MHz
FrequencyOptions []float32 `json:"frequencyOptions"`
// Default voltage for the ASIC model in millivolts
DefaultVoltage float32 `json:"defaultVoltage"`
// Available voltage options for the ASIC model in millivolts
VoltageOptions []float32 `json:"voltageOptions"`
}
SystemASIC struct for SystemASIC
func NewSystemASIC ¶
func NewSystemASIC(aSICModel string, deviceModel string, swarmColor string, asicCount float32, defaultFrequency float32, frequencyOptions []float32, defaultVoltage float32, voltageOptions []float32) *SystemASIC
NewSystemASIC instantiates a new SystemASIC 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 NewSystemASICWithDefaults ¶
func NewSystemASICWithDefaults() *SystemASIC
NewSystemASICWithDefaults instantiates a new SystemASIC 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 (*SystemASIC) GetASICModel ¶
func (o *SystemASIC) GetASICModel() string
GetASICModel returns the ASICModel field value
func (*SystemASIC) GetASICModelOk ¶
func (o *SystemASIC) GetASICModelOk() (*string, bool)
GetASICModelOk returns a tuple with the ASICModel field value and a boolean to check if the value has been set.
func (*SystemASIC) GetAsicCount ¶
func (o *SystemASIC) GetAsicCount() float32
GetAsicCount returns the AsicCount field value
func (*SystemASIC) GetAsicCountOk ¶
func (o *SystemASIC) GetAsicCountOk() (*float32, bool)
GetAsicCountOk returns a tuple with the AsicCount field value and a boolean to check if the value has been set.
func (*SystemASIC) GetDefaultFrequency ¶
func (o *SystemASIC) GetDefaultFrequency() float32
GetDefaultFrequency returns the DefaultFrequency field value
func (*SystemASIC) GetDefaultFrequencyOk ¶
func (o *SystemASIC) GetDefaultFrequencyOk() (*float32, bool)
GetDefaultFrequencyOk returns a tuple with the DefaultFrequency field value and a boolean to check if the value has been set.
func (*SystemASIC) GetDefaultVoltage ¶
func (o *SystemASIC) GetDefaultVoltage() float32
GetDefaultVoltage returns the DefaultVoltage field value
func (*SystemASIC) GetDefaultVoltageOk ¶
func (o *SystemASIC) GetDefaultVoltageOk() (*float32, bool)
GetDefaultVoltageOk returns a tuple with the DefaultVoltage field value and a boolean to check if the value has been set.
func (*SystemASIC) GetDeviceModel ¶
func (o *SystemASIC) GetDeviceModel() string
GetDeviceModel returns the DeviceModel field value
func (*SystemASIC) GetDeviceModelOk ¶
func (o *SystemASIC) GetDeviceModelOk() (*string, bool)
GetDeviceModelOk returns a tuple with the DeviceModel field value and a boolean to check if the value has been set.
func (*SystemASIC) GetFrequencyOptions ¶
func (o *SystemASIC) GetFrequencyOptions() []float32
GetFrequencyOptions returns the FrequencyOptions field value
func (*SystemASIC) GetFrequencyOptionsOk ¶
func (o *SystemASIC) GetFrequencyOptionsOk() ([]float32, bool)
GetFrequencyOptionsOk returns a tuple with the FrequencyOptions field value and a boolean to check if the value has been set.
func (*SystemASIC) GetSwarmColor ¶
func (o *SystemASIC) GetSwarmColor() string
GetSwarmColor returns the SwarmColor field value
func (*SystemASIC) GetSwarmColorOk ¶
func (o *SystemASIC) GetSwarmColorOk() (*string, bool)
GetSwarmColorOk returns a tuple with the SwarmColor field value and a boolean to check if the value has been set.
func (*SystemASIC) GetVoltageOptions ¶
func (o *SystemASIC) GetVoltageOptions() []float32
GetVoltageOptions returns the VoltageOptions field value
func (*SystemASIC) GetVoltageOptionsOk ¶
func (o *SystemASIC) GetVoltageOptionsOk() ([]float32, bool)
GetVoltageOptionsOk returns a tuple with the VoltageOptions field value and a boolean to check if the value has been set.
func (SystemASIC) MarshalJSON ¶
func (o SystemASIC) MarshalJSON() ([]byte, error)
func (*SystemASIC) SetASICModel ¶
func (o *SystemASIC) SetASICModel(v string)
SetASICModel sets field value
func (*SystemASIC) SetAsicCount ¶
func (o *SystemASIC) SetAsicCount(v float32)
SetAsicCount sets field value
func (*SystemASIC) SetDefaultFrequency ¶
func (o *SystemASIC) SetDefaultFrequency(v float32)
SetDefaultFrequency sets field value
func (*SystemASIC) SetDefaultVoltage ¶
func (o *SystemASIC) SetDefaultVoltage(v float32)
SetDefaultVoltage sets field value
func (*SystemASIC) SetDeviceModel ¶
func (o *SystemASIC) SetDeviceModel(v string)
SetDeviceModel sets field value
func (*SystemASIC) SetFrequencyOptions ¶
func (o *SystemASIC) SetFrequencyOptions(v []float32)
SetFrequencyOptions sets field value
func (*SystemASIC) SetSwarmColor ¶
func (o *SystemASIC) SetSwarmColor(v string)
SetSwarmColor sets field value
func (*SystemASIC) SetVoltageOptions ¶
func (o *SystemASIC) SetVoltageOptions(v []float32)
SetVoltageOptions sets field value
func (SystemASIC) ToMap ¶
func (o SystemASIC) ToMap() (map[string]interface{}, error)
func (*SystemASIC) UnmarshalJSON ¶
func (o *SystemASIC) UnmarshalJSON(data []byte) (err error)
type SystemInfo ¶
type SystemInfo struct {
// ASIC model identifier
ASICModel string `json:"ASICModel"`
// Whether AP mode is enabled (0=no, 1=yes)
ApEnabled float32 `json:"apEnabled"`
// Automatic fan speed control (0=manual, 1=auto)
Autofanspeed float32 `json:"autofanspeed"`
// Best difficulty achieved
BestDiff float32 `json:"bestDiff"`
// Best difficulty achieved in current session
BestSessionDiff float32 `json:"bestSessionDiff"`
// Hardware board version
BoardVersion string `json:"boardVersion"`
// Configured ASIC core voltage
CoreVoltage float32 `json:"coreVoltage"`
// Actual measured ASIC core voltage
CoreVoltageActual float32 `json:"coreVoltageActual"`
// Current draw in milliamps
Current float32 `json:"current"`
// The configured display
Display string `json:"display"`
// Enable fallback pool extranonce subscription
FallbackStratumExtranonceSubscribe bool `json:"fallbackStratumExtranonceSubscribe"`
// Fallback stratum server port
FallbackStratumPort float32 `json:"fallbackStratumPort"`
// Fallback pool suggested difficulty
FallbackStratumSuggestedDifficulty float32 `json:"fallbackStratumSuggestedDifficulty"`
// Fallback stratum server URL
FallbackStratumURL string `json:"fallbackStratumURL"`
// Fallback stratum username
FallbackStratumUser string `json:"fallbackStratumUser"`
// Enable fallback stratum TLS
FallbackStratumTLS bool `json:"fallbackStratumTLS"`
// Fallback stratum TLS cert
FallbackStratumCert string `json:"fallbackStratumCert"`
// Current fan speed in RPM
Fanrpm float32 `json:"fanrpm"`
// Current secondary fan speed in RPM
Fan2rpm float32 `json:"fan2rpm"`
// Current fan speed percentage
Fanspeed float32 `json:"fanspeed"`
// Target Temperature for the PID Controller
Temptarget float32 `json:"temptarget"`
// Pool response time in ms
ResponseTime float32 `json:"responseTime"`
// Screen rotation setting (0, 90, 180, 270)
Rotation float32 `json:"rotation"`
// Available heap memory in bytes
FreeHeap float32 `json:"freeHeap"`
// Available internal heap memory in bytes
FreeHeapInternal float32 `json:"freeHeapInternal"`
// Available Spiram heap memory in bytes
FreeHeapSpiram float32 `json:"freeHeapSpiram"`
// ASIC frequency in MHz
Frequency float32 `json:"frequency"`
// Current hashrate in Gh/s
HashRate float32 `json:"hashRate"`
// Current hashrate 1m average
HashRate1m float32 `json:"hashRate_1m"`
// Current hashrate 10m average
HashRate10m float32 `json:"hashRate_10m"`
// Current hashrate 1h average
HashRate1h float32 `json:"hashRate_1h"`
// Expected hashrate at current voltage/frequency settings, in Gh/s
ExpectedHashrate float32 `json:"expectedHashrate"`
// Hash error percentage
ErrorPercentage float32 `json:"errorPercentage"`
// Device hostname
Hostname string `json:"hostname"`
// ESP-IDF version
IdfVersion string `json:"idfVersion"`
// Screen invert setting (0=normal, 1=inverted)
Invertscreen float32 `json:"invertscreen"`
// Whether PSRAM is available (0=no, 1=yes)
IsPSRAMAvailable float32 `json:"isPSRAMAvailable"`
// Whether using fallback stratum (0=no, 1=yes)
IsUsingFallbackStratum float32 `json:"isUsingFallbackStratum"`
// Device MAC address
MacAddr string `json:"macAddr"`
// Fan speed when auto fan speed is disabled
ManualFanSpeed int32 `json:"manualFanSpeed"`
// Maxmium power draw of the board in watts
MaxPower int32 `json:"maxPower"`
// Minimum fan speed percentage when using auto fan control
MinFanSpeed int32 `json:"minFanSpeed"`
// Nominal board voltage
NominalVoltage int32 `json:"nominalVoltage"`
// Overheat protection mode
OverheatMode float32 `json:"overheat_mode"`
// Set custom voltage/frequency in AxeOS
OverclockEnabled int32 `json:"overclockEnabled"`
// Current pool address family
PoolConnectionInfo string `json:"poolConnectionInfo"`
// Current pool difficulty
PoolDifficulty float32 `json:"poolDifficulty"`
// Power consumption in watts
Power float32 `json:"power"`
// Voltage regulator fault reason, if any
PowerFault *string `json:"power_fault,omitempty"`
// Reason for the last system reset
ResetReason string `json:"resetReason"`
// Currently active OTA partition
RunningPartition string `json:"runningPartition"`
SharesAccepted float32 `json:"sharesAccepted"`
SharesRejected float32 `json:"sharesRejected"`
SharesRejectedReasons []SharesRejectedReason `json:"sharesRejectedReasons"`
// Number of small cores
SmallCoreCount float32 `json:"smallCoreCount"`
// Connected WiFi network SSID
Ssid string `json:"ssid"`
// IPv4 address
Ipv4 string `json:"ipv4"`
// IPv6 address
Ipv6 string `json:"ipv6"`
// Enable pool extranonce subscription
StratumExtranonceSubscribe bool `json:"stratumExtranonceSubscribe"`
// Primary stratum server port
StratumPort float32 `json:"stratumPort"`
// Pool suggested difficulty
StratumSuggestedDifficulty float32 `json:"stratumSuggestedDifficulty"`
// Primary stratum server URL
StratumURL string `json:"stratumURL"`
// Primary stratum username
StratumUser string `json:"stratumUser"`
// Enable primary pool TLS
StratumTLS bool `json:"stratumTLS"`
// Primary stratum TLS cert
StratumCert string `json:"stratumCert"`
// Average chip temperature
Temp float32 `json:"temp"`
// Average chip temperature from second sensor
Temp2 float32 `json:"temp2"`
// System uptime in seconds
UptimeSeconds float32 `json:"uptimeSeconds"`
// Firmware version
Version string `json:"version"`
// AxeOS version
AxeOSVersion string `json:"axeOSVersion"`
// Input voltage
Voltage float32 `json:"voltage"`
// Voltage regulator temperature
VrTemp float32 `json:"vrTemp"`
// WiFi connection status
WifiStatus string `json:"wifiStatus"`
// WiFi signal strength
WifiRSSI float32 `json:"wifiRSSI"`
// Turn off display after timeout
DisplayTimeout float32 `json:"displayTimeout"`
// Statistics frequency in seconds
StatsFrequency float32 `json:"statsFrequency"`
// Current block height
BlockHeight int32 `json:"blockHeight"`
// Scriptsig extracted from coinbase transaction
Scriptsig string `json:"scriptsig"`
// Current network difficulty
NetworkDifficulty float32 `json:"networkDifficulty"`
// Whether a block was found (0=no, 1=yes)
BlockFound float32 `json:"blockFound"`
HashrateMonitor SystemInfoHashrateMonitor `json:"hashrateMonitor"`
}
SystemInfo struct for SystemInfo
func NewSystemInfo ¶
func NewSystemInfo(aSICModel string, apEnabled float32, autofanspeed float32, bestDiff float32, bestSessionDiff float32, boardVersion string, coreVoltage float32, coreVoltageActual float32, current float32, display string, fallbackStratumExtranonceSubscribe bool, fallbackStratumPort float32, fallbackStratumSuggestedDifficulty float32, fallbackStratumURL string, fallbackStratumUser string, fallbackStratumTLS bool, fallbackStratumCert string, fanrpm float32, fan2rpm float32, fanspeed float32, temptarget float32, responseTime float32, rotation float32, freeHeap float32, freeHeapInternal float32, freeHeapSpiram float32, frequency float32, hashRate float32, hashRate1m float32, hashRate10m float32, hashRate1h float32, expectedHashrate float32, errorPercentage float32, hostname string, idfVersion string, invertscreen float32, isPSRAMAvailable float32, isUsingFallbackStratum float32, macAddr string, manualFanSpeed int32, maxPower int32, minFanSpeed int32, nominalVoltage int32, overheatMode float32, overclockEnabled int32, poolConnectionInfo string, poolDifficulty float32, power float32, resetReason string, runningPartition string, sharesAccepted float32, sharesRejected float32, sharesRejectedReasons []SharesRejectedReason, smallCoreCount float32, ssid string, ipv4 string, ipv6 string, stratumExtranonceSubscribe bool, stratumPort float32, stratumSuggestedDifficulty float32, stratumURL string, stratumUser string, stratumTLS bool, stratumCert string, temp float32, temp2 float32, uptimeSeconds float32, version string, axeOSVersion string, voltage float32, vrTemp float32, wifiStatus string, wifiRSSI float32, displayTimeout float32, statsFrequency float32, blockHeight int32, scriptsig string, networkDifficulty float32, blockFound float32, hashrateMonitor SystemInfoHashrateMonitor) *SystemInfo
NewSystemInfo instantiates a new SystemInfo 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 NewSystemInfoWithDefaults ¶
func NewSystemInfoWithDefaults() *SystemInfo
NewSystemInfoWithDefaults instantiates a new SystemInfo 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 (*SystemInfo) GetASICModel ¶
func (o *SystemInfo) GetASICModel() string
GetASICModel returns the ASICModel field value
func (*SystemInfo) GetASICModelOk ¶
func (o *SystemInfo) GetASICModelOk() (*string, bool)
GetASICModelOk returns a tuple with the ASICModel field value and a boolean to check if the value has been set.
func (*SystemInfo) GetApEnabled ¶
func (o *SystemInfo) GetApEnabled() float32
GetApEnabled returns the ApEnabled field value
func (*SystemInfo) GetApEnabledOk ¶
func (o *SystemInfo) GetApEnabledOk() (*float32, bool)
GetApEnabledOk returns a tuple with the ApEnabled field value and a boolean to check if the value has been set.
func (*SystemInfo) GetAutofanspeed ¶
func (o *SystemInfo) GetAutofanspeed() float32
GetAutofanspeed returns the Autofanspeed field value
func (*SystemInfo) GetAutofanspeedOk ¶
func (o *SystemInfo) GetAutofanspeedOk() (*float32, bool)
GetAutofanspeedOk returns a tuple with the Autofanspeed field value and a boolean to check if the value has been set.
func (*SystemInfo) GetAxeOSVersion ¶
func (o *SystemInfo) GetAxeOSVersion() string
GetAxeOSVersion returns the AxeOSVersion field value
func (*SystemInfo) GetAxeOSVersionOk ¶
func (o *SystemInfo) GetAxeOSVersionOk() (*string, bool)
GetAxeOSVersionOk returns a tuple with the AxeOSVersion field value and a boolean to check if the value has been set.
func (*SystemInfo) GetBestDiff ¶
func (o *SystemInfo) GetBestDiff() float32
GetBestDiff returns the BestDiff field value
func (*SystemInfo) GetBestDiffOk ¶
func (o *SystemInfo) GetBestDiffOk() (*float32, bool)
GetBestDiffOk returns a tuple with the BestDiff field value and a boolean to check if the value has been set.
func (*SystemInfo) GetBestSessionDiff ¶
func (o *SystemInfo) GetBestSessionDiff() float32
GetBestSessionDiff returns the BestSessionDiff field value
func (*SystemInfo) GetBestSessionDiffOk ¶
func (o *SystemInfo) GetBestSessionDiffOk() (*float32, bool)
GetBestSessionDiffOk returns a tuple with the BestSessionDiff field value and a boolean to check if the value has been set.
func (*SystemInfo) GetBlockFound ¶
func (o *SystemInfo) GetBlockFound() float32
GetBlockFound returns the BlockFound field value
func (*SystemInfo) GetBlockFoundOk ¶
func (o *SystemInfo) GetBlockFoundOk() (*float32, bool)
GetBlockFoundOk returns a tuple with the BlockFound field value and a boolean to check if the value has been set.
func (*SystemInfo) GetBlockHeight ¶
func (o *SystemInfo) GetBlockHeight() int32
GetBlockHeight returns the BlockHeight field value
func (*SystemInfo) GetBlockHeightOk ¶
func (o *SystemInfo) GetBlockHeightOk() (*int32, bool)
GetBlockHeightOk returns a tuple with the BlockHeight field value and a boolean to check if the value has been set.
func (*SystemInfo) GetBoardVersion ¶
func (o *SystemInfo) GetBoardVersion() string
GetBoardVersion returns the BoardVersion field value
func (*SystemInfo) GetBoardVersionOk ¶
func (o *SystemInfo) GetBoardVersionOk() (*string, bool)
GetBoardVersionOk returns a tuple with the BoardVersion field value and a boolean to check if the value has been set.
func (*SystemInfo) GetCoreVoltage ¶
func (o *SystemInfo) GetCoreVoltage() float32
GetCoreVoltage returns the CoreVoltage field value
func (*SystemInfo) GetCoreVoltageActual ¶
func (o *SystemInfo) GetCoreVoltageActual() float32
GetCoreVoltageActual returns the CoreVoltageActual field value
func (*SystemInfo) GetCoreVoltageActualOk ¶
func (o *SystemInfo) GetCoreVoltageActualOk() (*float32, bool)
GetCoreVoltageActualOk returns a tuple with the CoreVoltageActual field value and a boolean to check if the value has been set.
func (*SystemInfo) GetCoreVoltageOk ¶
func (o *SystemInfo) GetCoreVoltageOk() (*float32, bool)
GetCoreVoltageOk returns a tuple with the CoreVoltage field value and a boolean to check if the value has been set.
func (*SystemInfo) GetCurrent ¶
func (o *SystemInfo) GetCurrent() float32
GetCurrent returns the Current field value
func (*SystemInfo) GetCurrentOk ¶
func (o *SystemInfo) GetCurrentOk() (*float32, bool)
GetCurrentOk returns a tuple with the Current field value and a boolean to check if the value has been set.
func (*SystemInfo) GetDisplay ¶
func (o *SystemInfo) GetDisplay() string
GetDisplay returns the Display field value
func (*SystemInfo) GetDisplayOk ¶
func (o *SystemInfo) GetDisplayOk() (*string, bool)
GetDisplayOk returns a tuple with the Display field value and a boolean to check if the value has been set.
func (*SystemInfo) GetDisplayTimeout ¶
func (o *SystemInfo) GetDisplayTimeout() float32
GetDisplayTimeout returns the DisplayTimeout field value
func (*SystemInfo) GetDisplayTimeoutOk ¶
func (o *SystemInfo) GetDisplayTimeoutOk() (*float32, bool)
GetDisplayTimeoutOk returns a tuple with the DisplayTimeout field value and a boolean to check if the value has been set.
func (*SystemInfo) GetErrorPercentage ¶
func (o *SystemInfo) GetErrorPercentage() float32
GetErrorPercentage returns the ErrorPercentage field value
func (*SystemInfo) GetErrorPercentageOk ¶
func (o *SystemInfo) GetErrorPercentageOk() (*float32, bool)
GetErrorPercentageOk returns a tuple with the ErrorPercentage field value and a boolean to check if the value has been set.
func (*SystemInfo) GetExpectedHashrate ¶
func (o *SystemInfo) GetExpectedHashrate() float32
GetExpectedHashrate returns the ExpectedHashrate field value
func (*SystemInfo) GetExpectedHashrateOk ¶
func (o *SystemInfo) GetExpectedHashrateOk() (*float32, bool)
GetExpectedHashrateOk returns a tuple with the ExpectedHashrate field value and a boolean to check if the value has been set.
func (*SystemInfo) GetFallbackStratumCert ¶
func (o *SystemInfo) GetFallbackStratumCert() string
GetFallbackStratumCert returns the FallbackStratumCert field value
func (*SystemInfo) GetFallbackStratumCertOk ¶
func (o *SystemInfo) GetFallbackStratumCertOk() (*string, bool)
GetFallbackStratumCertOk returns a tuple with the FallbackStratumCert field value and a boolean to check if the value has been set.
func (*SystemInfo) GetFallbackStratumExtranonceSubscribe ¶
func (o *SystemInfo) GetFallbackStratumExtranonceSubscribe() bool
GetFallbackStratumExtranonceSubscribe returns the FallbackStratumExtranonceSubscribe field value
func (*SystemInfo) GetFallbackStratumExtranonceSubscribeOk ¶
func (o *SystemInfo) GetFallbackStratumExtranonceSubscribeOk() (*bool, bool)
GetFallbackStratumExtranonceSubscribeOk returns a tuple with the FallbackStratumExtranonceSubscribe field value and a boolean to check if the value has been set.
func (*SystemInfo) GetFallbackStratumPort ¶
func (o *SystemInfo) GetFallbackStratumPort() float32
GetFallbackStratumPort returns the FallbackStratumPort field value
func (*SystemInfo) GetFallbackStratumPortOk ¶
func (o *SystemInfo) GetFallbackStratumPortOk() (*float32, bool)
GetFallbackStratumPortOk returns a tuple with the FallbackStratumPort field value and a boolean to check if the value has been set.
func (*SystemInfo) GetFallbackStratumSuggestedDifficulty ¶
func (o *SystemInfo) GetFallbackStratumSuggestedDifficulty() float32
GetFallbackStratumSuggestedDifficulty returns the FallbackStratumSuggestedDifficulty field value
func (*SystemInfo) GetFallbackStratumSuggestedDifficultyOk ¶
func (o *SystemInfo) GetFallbackStratumSuggestedDifficultyOk() (*float32, bool)
GetFallbackStratumSuggestedDifficultyOk returns a tuple with the FallbackStratumSuggestedDifficulty field value and a boolean to check if the value has been set.
func (*SystemInfo) GetFallbackStratumTLS ¶
func (o *SystemInfo) GetFallbackStratumTLS() bool
GetFallbackStratumTLS returns the FallbackStratumTLS field value
func (*SystemInfo) GetFallbackStratumTLSOk ¶
func (o *SystemInfo) GetFallbackStratumTLSOk() (*bool, bool)
GetFallbackStratumTLSOk returns a tuple with the FallbackStratumTLS field value and a boolean to check if the value has been set.
func (*SystemInfo) GetFallbackStratumURL ¶
func (o *SystemInfo) GetFallbackStratumURL() string
GetFallbackStratumURL returns the FallbackStratumURL field value
func (*SystemInfo) GetFallbackStratumURLOk ¶
func (o *SystemInfo) GetFallbackStratumURLOk() (*string, bool)
GetFallbackStratumURLOk returns a tuple with the FallbackStratumURL field value and a boolean to check if the value has been set.
func (*SystemInfo) GetFallbackStratumUser ¶
func (o *SystemInfo) GetFallbackStratumUser() string
GetFallbackStratumUser returns the FallbackStratumUser field value
func (*SystemInfo) GetFallbackStratumUserOk ¶
func (o *SystemInfo) GetFallbackStratumUserOk() (*string, bool)
GetFallbackStratumUserOk returns a tuple with the FallbackStratumUser field value and a boolean to check if the value has been set.
func (*SystemInfo) GetFan2rpm ¶
func (o *SystemInfo) GetFan2rpm() float32
GetFan2rpm returns the Fan2rpm field value
func (*SystemInfo) GetFan2rpmOk ¶
func (o *SystemInfo) GetFan2rpmOk() (*float32, bool)
GetFan2rpmOk returns a tuple with the Fan2rpm field value and a boolean to check if the value has been set.
func (*SystemInfo) GetFanrpm ¶
func (o *SystemInfo) GetFanrpm() float32
GetFanrpm returns the Fanrpm field value
func (*SystemInfo) GetFanrpmOk ¶
func (o *SystemInfo) GetFanrpmOk() (*float32, bool)
GetFanrpmOk returns a tuple with the Fanrpm field value and a boolean to check if the value has been set.
func (*SystemInfo) GetFanspeed ¶
func (o *SystemInfo) GetFanspeed() float32
GetFanspeed returns the Fanspeed field value
func (*SystemInfo) GetFanspeedOk ¶
func (o *SystemInfo) GetFanspeedOk() (*float32, bool)
GetFanspeedOk returns a tuple with the Fanspeed field value and a boolean to check if the value has been set.
func (*SystemInfo) GetFreeHeap ¶
func (o *SystemInfo) GetFreeHeap() float32
GetFreeHeap returns the FreeHeap field value
func (*SystemInfo) GetFreeHeapInternal ¶
func (o *SystemInfo) GetFreeHeapInternal() float32
GetFreeHeapInternal returns the FreeHeapInternal field value
func (*SystemInfo) GetFreeHeapInternalOk ¶
func (o *SystemInfo) GetFreeHeapInternalOk() (*float32, bool)
GetFreeHeapInternalOk returns a tuple with the FreeHeapInternal field value and a boolean to check if the value has been set.
func (*SystemInfo) GetFreeHeapOk ¶
func (o *SystemInfo) GetFreeHeapOk() (*float32, bool)
GetFreeHeapOk returns a tuple with the FreeHeap field value and a boolean to check if the value has been set.
func (*SystemInfo) GetFreeHeapSpiram ¶
func (o *SystemInfo) GetFreeHeapSpiram() float32
GetFreeHeapSpiram returns the FreeHeapSpiram field value
func (*SystemInfo) GetFreeHeapSpiramOk ¶
func (o *SystemInfo) GetFreeHeapSpiramOk() (*float32, bool)
GetFreeHeapSpiramOk returns a tuple with the FreeHeapSpiram field value and a boolean to check if the value has been set.
func (*SystemInfo) GetFrequency ¶
func (o *SystemInfo) GetFrequency() float32
GetFrequency returns the Frequency field value
func (*SystemInfo) GetFrequencyOk ¶
func (o *SystemInfo) GetFrequencyOk() (*float32, bool)
GetFrequencyOk returns a tuple with the Frequency field value and a boolean to check if the value has been set.
func (*SystemInfo) GetHashRate ¶
func (o *SystemInfo) GetHashRate() float32
GetHashRate returns the HashRate field value
func (*SystemInfo) GetHashRate10m ¶
func (o *SystemInfo) GetHashRate10m() float32
GetHashRate10m returns the HashRate10m field value
func (*SystemInfo) GetHashRate10mOk ¶
func (o *SystemInfo) GetHashRate10mOk() (*float32, bool)
GetHashRate10mOk returns a tuple with the HashRate10m field value and a boolean to check if the value has been set.
func (*SystemInfo) GetHashRate1h ¶
func (o *SystemInfo) GetHashRate1h() float32
GetHashRate1h returns the HashRate1h field value
func (*SystemInfo) GetHashRate1hOk ¶
func (o *SystemInfo) GetHashRate1hOk() (*float32, bool)
GetHashRate1hOk returns a tuple with the HashRate1h field value and a boolean to check if the value has been set.
func (*SystemInfo) GetHashRate1m ¶
func (o *SystemInfo) GetHashRate1m() float32
GetHashRate1m returns the HashRate1m field value
func (*SystemInfo) GetHashRate1mOk ¶
func (o *SystemInfo) GetHashRate1mOk() (*float32, bool)
GetHashRate1mOk returns a tuple with the HashRate1m field value and a boolean to check if the value has been set.
func (*SystemInfo) GetHashRateOk ¶
func (o *SystemInfo) GetHashRateOk() (*float32, bool)
GetHashRateOk returns a tuple with the HashRate field value and a boolean to check if the value has been set.
func (*SystemInfo) GetHashrateMonitor ¶
func (o *SystemInfo) GetHashrateMonitor() SystemInfoHashrateMonitor
GetHashrateMonitor returns the HashrateMonitor field value
func (*SystemInfo) GetHashrateMonitorOk ¶
func (o *SystemInfo) GetHashrateMonitorOk() (*SystemInfoHashrateMonitor, bool)
GetHashrateMonitorOk returns a tuple with the HashrateMonitor field value and a boolean to check if the value has been set.
func (*SystemInfo) GetHostname ¶
func (o *SystemInfo) GetHostname() string
GetHostname returns the Hostname field value
func (*SystemInfo) GetHostnameOk ¶
func (o *SystemInfo) GetHostnameOk() (*string, bool)
GetHostnameOk returns a tuple with the Hostname field value and a boolean to check if the value has been set.
func (*SystemInfo) GetIdfVersion ¶
func (o *SystemInfo) GetIdfVersion() string
GetIdfVersion returns the IdfVersion field value
func (*SystemInfo) GetIdfVersionOk ¶
func (o *SystemInfo) GetIdfVersionOk() (*string, bool)
GetIdfVersionOk returns a tuple with the IdfVersion field value and a boolean to check if the value has been set.
func (*SystemInfo) GetInvertscreen ¶
func (o *SystemInfo) GetInvertscreen() float32
GetInvertscreen returns the Invertscreen field value
func (*SystemInfo) GetInvertscreenOk ¶
func (o *SystemInfo) GetInvertscreenOk() (*float32, bool)
GetInvertscreenOk returns a tuple with the Invertscreen field value and a boolean to check if the value has been set.
func (*SystemInfo) GetIpv4 ¶
func (o *SystemInfo) GetIpv4() string
GetIpv4 returns the Ipv4 field value
func (*SystemInfo) GetIpv4Ok ¶
func (o *SystemInfo) GetIpv4Ok() (*string, bool)
GetIpv4Ok returns a tuple with the Ipv4 field value and a boolean to check if the value has been set.
func (*SystemInfo) GetIpv6 ¶
func (o *SystemInfo) GetIpv6() string
GetIpv6 returns the Ipv6 field value
func (*SystemInfo) GetIpv6Ok ¶
func (o *SystemInfo) GetIpv6Ok() (*string, bool)
GetIpv6Ok returns a tuple with the Ipv6 field value and a boolean to check if the value has been set.
func (*SystemInfo) GetIsPSRAMAvailable ¶
func (o *SystemInfo) GetIsPSRAMAvailable() float32
GetIsPSRAMAvailable returns the IsPSRAMAvailable field value
func (*SystemInfo) GetIsPSRAMAvailableOk ¶
func (o *SystemInfo) GetIsPSRAMAvailableOk() (*float32, bool)
GetIsPSRAMAvailableOk returns a tuple with the IsPSRAMAvailable field value and a boolean to check if the value has been set.
func (*SystemInfo) GetIsUsingFallbackStratum ¶
func (o *SystemInfo) GetIsUsingFallbackStratum() float32
GetIsUsingFallbackStratum returns the IsUsingFallbackStratum field value
func (*SystemInfo) GetIsUsingFallbackStratumOk ¶
func (o *SystemInfo) GetIsUsingFallbackStratumOk() (*float32, bool)
GetIsUsingFallbackStratumOk returns a tuple with the IsUsingFallbackStratum field value and a boolean to check if the value has been set.
func (*SystemInfo) GetMacAddr ¶
func (o *SystemInfo) GetMacAddr() string
GetMacAddr returns the MacAddr field value
func (*SystemInfo) GetMacAddrOk ¶
func (o *SystemInfo) GetMacAddrOk() (*string, bool)
GetMacAddrOk returns a tuple with the MacAddr field value and a boolean to check if the value has been set.
func (*SystemInfo) GetManualFanSpeed ¶
func (o *SystemInfo) GetManualFanSpeed() int32
GetManualFanSpeed returns the ManualFanSpeed field value
func (*SystemInfo) GetManualFanSpeedOk ¶
func (o *SystemInfo) GetManualFanSpeedOk() (*int32, bool)
GetManualFanSpeedOk returns a tuple with the ManualFanSpeed field value and a boolean to check if the value has been set.
func (*SystemInfo) GetMaxPower ¶
func (o *SystemInfo) GetMaxPower() int32
GetMaxPower returns the MaxPower field value
func (*SystemInfo) GetMaxPowerOk ¶
func (o *SystemInfo) GetMaxPowerOk() (*int32, bool)
GetMaxPowerOk returns a tuple with the MaxPower field value and a boolean to check if the value has been set.
func (*SystemInfo) GetMinFanSpeed ¶
func (o *SystemInfo) GetMinFanSpeed() int32
GetMinFanSpeed returns the MinFanSpeed field value
func (*SystemInfo) GetMinFanSpeedOk ¶
func (o *SystemInfo) GetMinFanSpeedOk() (*int32, bool)
GetMinFanSpeedOk returns a tuple with the MinFanSpeed field value and a boolean to check if the value has been set.
func (*SystemInfo) GetNetworkDifficulty ¶
func (o *SystemInfo) GetNetworkDifficulty() float32
GetNetworkDifficulty returns the NetworkDifficulty field value
func (*SystemInfo) GetNetworkDifficultyOk ¶
func (o *SystemInfo) GetNetworkDifficultyOk() (*float32, bool)
GetNetworkDifficultyOk returns a tuple with the NetworkDifficulty field value and a boolean to check if the value has been set.
func (*SystemInfo) GetNominalVoltage ¶
func (o *SystemInfo) GetNominalVoltage() int32
GetNominalVoltage returns the NominalVoltage field value
func (*SystemInfo) GetNominalVoltageOk ¶
func (o *SystemInfo) GetNominalVoltageOk() (*int32, bool)
GetNominalVoltageOk returns a tuple with the NominalVoltage field value and a boolean to check if the value has been set.
func (*SystemInfo) GetOverclockEnabled ¶
func (o *SystemInfo) GetOverclockEnabled() int32
GetOverclockEnabled returns the OverclockEnabled field value
func (*SystemInfo) GetOverclockEnabledOk ¶
func (o *SystemInfo) GetOverclockEnabledOk() (*int32, bool)
GetOverclockEnabledOk returns a tuple with the OverclockEnabled field value and a boolean to check if the value has been set.
func (*SystemInfo) GetOverheatMode ¶
func (o *SystemInfo) GetOverheatMode() float32
GetOverheatMode returns the OverheatMode field value
func (*SystemInfo) GetOverheatModeOk ¶
func (o *SystemInfo) GetOverheatModeOk() (*float32, bool)
GetOverheatModeOk returns a tuple with the OverheatMode field value and a boolean to check if the value has been set.
func (*SystemInfo) GetPoolConnectionInfo ¶
func (o *SystemInfo) GetPoolConnectionInfo() string
GetPoolConnectionInfo returns the PoolConnectionInfo field value
func (*SystemInfo) GetPoolConnectionInfoOk ¶
func (o *SystemInfo) GetPoolConnectionInfoOk() (*string, bool)
GetPoolConnectionInfoOk returns a tuple with the PoolConnectionInfo field value and a boolean to check if the value has been set.
func (*SystemInfo) GetPoolDifficulty ¶
func (o *SystemInfo) GetPoolDifficulty() float32
GetPoolDifficulty returns the PoolDifficulty field value
func (*SystemInfo) GetPoolDifficultyOk ¶
func (o *SystemInfo) GetPoolDifficultyOk() (*float32, bool)
GetPoolDifficultyOk returns a tuple with the PoolDifficulty field value and a boolean to check if the value has been set.
func (*SystemInfo) GetPower ¶
func (o *SystemInfo) GetPower() float32
GetPower returns the Power field value
func (*SystemInfo) GetPowerFault ¶
func (o *SystemInfo) GetPowerFault() string
GetPowerFault returns the PowerFault field value if set, zero value otherwise.
func (*SystemInfo) GetPowerFaultOk ¶
func (o *SystemInfo) GetPowerFaultOk() (*string, bool)
GetPowerFaultOk returns a tuple with the PowerFault field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SystemInfo) GetPowerOk ¶
func (o *SystemInfo) GetPowerOk() (*float32, bool)
GetPowerOk returns a tuple with the Power field value and a boolean to check if the value has been set.
func (*SystemInfo) GetResetReason ¶
func (o *SystemInfo) GetResetReason() string
GetResetReason returns the ResetReason field value
func (*SystemInfo) GetResetReasonOk ¶
func (o *SystemInfo) GetResetReasonOk() (*string, bool)
GetResetReasonOk returns a tuple with the ResetReason field value and a boolean to check if the value has been set.
func (*SystemInfo) GetResponseTime ¶
func (o *SystemInfo) GetResponseTime() float32
GetResponseTime returns the ResponseTime field value
func (*SystemInfo) GetResponseTimeOk ¶
func (o *SystemInfo) GetResponseTimeOk() (*float32, bool)
GetResponseTimeOk returns a tuple with the ResponseTime field value and a boolean to check if the value has been set.
func (*SystemInfo) GetRotation ¶
func (o *SystemInfo) GetRotation() float32
GetRotation returns the Rotation field value
func (*SystemInfo) GetRotationOk ¶
func (o *SystemInfo) GetRotationOk() (*float32, bool)
GetRotationOk returns a tuple with the Rotation field value and a boolean to check if the value has been set.
func (*SystemInfo) GetRunningPartition ¶
func (o *SystemInfo) GetRunningPartition() string
GetRunningPartition returns the RunningPartition field value
func (*SystemInfo) GetRunningPartitionOk ¶
func (o *SystemInfo) GetRunningPartitionOk() (*string, bool)
GetRunningPartitionOk returns a tuple with the RunningPartition field value and a boolean to check if the value has been set.
func (*SystemInfo) GetScriptsig ¶
func (o *SystemInfo) GetScriptsig() string
GetScriptsig returns the Scriptsig field value
func (*SystemInfo) GetScriptsigOk ¶
func (o *SystemInfo) GetScriptsigOk() (*string, bool)
GetScriptsigOk returns a tuple with the Scriptsig field value and a boolean to check if the value has been set.
func (*SystemInfo) GetSharesAccepted ¶
func (o *SystemInfo) GetSharesAccepted() float32
GetSharesAccepted returns the SharesAccepted field value
func (*SystemInfo) GetSharesAcceptedOk ¶
func (o *SystemInfo) GetSharesAcceptedOk() (*float32, bool)
GetSharesAcceptedOk returns a tuple with the SharesAccepted field value and a boolean to check if the value has been set.
func (*SystemInfo) GetSharesRejected ¶
func (o *SystemInfo) GetSharesRejected() float32
GetSharesRejected returns the SharesRejected field value
func (*SystemInfo) GetSharesRejectedOk ¶
func (o *SystemInfo) GetSharesRejectedOk() (*float32, bool)
GetSharesRejectedOk returns a tuple with the SharesRejected field value and a boolean to check if the value has been set.
func (*SystemInfo) GetSharesRejectedReasons ¶
func (o *SystemInfo) GetSharesRejectedReasons() []SharesRejectedReason
GetSharesRejectedReasons returns the SharesRejectedReasons field value
func (*SystemInfo) GetSharesRejectedReasonsOk ¶
func (o *SystemInfo) GetSharesRejectedReasonsOk() ([]SharesRejectedReason, bool)
GetSharesRejectedReasonsOk returns a tuple with the SharesRejectedReasons field value and a boolean to check if the value has been set.
func (*SystemInfo) GetSmallCoreCount ¶
func (o *SystemInfo) GetSmallCoreCount() float32
GetSmallCoreCount returns the SmallCoreCount field value
func (*SystemInfo) GetSmallCoreCountOk ¶
func (o *SystemInfo) GetSmallCoreCountOk() (*float32, bool)
GetSmallCoreCountOk returns a tuple with the SmallCoreCount field value and a boolean to check if the value has been set.
func (*SystemInfo) GetSsid ¶
func (o *SystemInfo) GetSsid() string
GetSsid returns the Ssid field value
func (*SystemInfo) GetSsidOk ¶
func (o *SystemInfo) GetSsidOk() (*string, bool)
GetSsidOk returns a tuple with the Ssid field value and a boolean to check if the value has been set.
func (*SystemInfo) GetStatsFrequency ¶
func (o *SystemInfo) GetStatsFrequency() float32
GetStatsFrequency returns the StatsFrequency field value
func (*SystemInfo) GetStatsFrequencyOk ¶
func (o *SystemInfo) GetStatsFrequencyOk() (*float32, bool)
GetStatsFrequencyOk returns a tuple with the StatsFrequency field value and a boolean to check if the value has been set.
func (*SystemInfo) GetStratumCert ¶
func (o *SystemInfo) GetStratumCert() string
GetStratumCert returns the StratumCert field value
func (*SystemInfo) GetStratumCertOk ¶
func (o *SystemInfo) GetStratumCertOk() (*string, bool)
GetStratumCertOk returns a tuple with the StratumCert field value and a boolean to check if the value has been set.
func (*SystemInfo) GetStratumExtranonceSubscribe ¶
func (o *SystemInfo) GetStratumExtranonceSubscribe() bool
GetStratumExtranonceSubscribe returns the StratumExtranonceSubscribe field value
func (*SystemInfo) GetStratumExtranonceSubscribeOk ¶
func (o *SystemInfo) GetStratumExtranonceSubscribeOk() (*bool, bool)
GetStratumExtranonceSubscribeOk returns a tuple with the StratumExtranonceSubscribe field value and a boolean to check if the value has been set.
func (*SystemInfo) GetStratumPort ¶
func (o *SystemInfo) GetStratumPort() float32
GetStratumPort returns the StratumPort field value
func (*SystemInfo) GetStratumPortOk ¶
func (o *SystemInfo) GetStratumPortOk() (*float32, bool)
GetStratumPortOk returns a tuple with the StratumPort field value and a boolean to check if the value has been set.
func (*SystemInfo) GetStratumSuggestedDifficulty ¶
func (o *SystemInfo) GetStratumSuggestedDifficulty() float32
GetStratumSuggestedDifficulty returns the StratumSuggestedDifficulty field value
func (*SystemInfo) GetStratumSuggestedDifficultyOk ¶
func (o *SystemInfo) GetStratumSuggestedDifficultyOk() (*float32, bool)
GetStratumSuggestedDifficultyOk returns a tuple with the StratumSuggestedDifficulty field value and a boolean to check if the value has been set.
func (*SystemInfo) GetStratumTLS ¶
func (o *SystemInfo) GetStratumTLS() bool
GetStratumTLS returns the StratumTLS field value
func (*SystemInfo) GetStratumTLSOk ¶
func (o *SystemInfo) GetStratumTLSOk() (*bool, bool)
GetStratumTLSOk returns a tuple with the StratumTLS field value and a boolean to check if the value has been set.
func (*SystemInfo) GetStratumURL ¶
func (o *SystemInfo) GetStratumURL() string
GetStratumURL returns the StratumURL field value
func (*SystemInfo) GetStratumURLOk ¶
func (o *SystemInfo) GetStratumURLOk() (*string, bool)
GetStratumURLOk returns a tuple with the StratumURL field value and a boolean to check if the value has been set.
func (*SystemInfo) GetStratumUser ¶
func (o *SystemInfo) GetStratumUser() string
GetStratumUser returns the StratumUser field value
func (*SystemInfo) GetStratumUserOk ¶
func (o *SystemInfo) GetStratumUserOk() (*string, bool)
GetStratumUserOk returns a tuple with the StratumUser field value and a boolean to check if the value has been set.
func (*SystemInfo) GetTemp ¶
func (o *SystemInfo) GetTemp() float32
GetTemp returns the Temp field value
func (*SystemInfo) GetTemp2 ¶
func (o *SystemInfo) GetTemp2() float32
GetTemp2 returns the Temp2 field value
func (*SystemInfo) GetTemp2Ok ¶
func (o *SystemInfo) GetTemp2Ok() (*float32, bool)
GetTemp2Ok returns a tuple with the Temp2 field value and a boolean to check if the value has been set.
func (*SystemInfo) GetTempOk ¶
func (o *SystemInfo) GetTempOk() (*float32, bool)
GetTempOk returns a tuple with the Temp field value and a boolean to check if the value has been set.
func (*SystemInfo) GetTemptarget ¶
func (o *SystemInfo) GetTemptarget() float32
GetTemptarget returns the Temptarget field value
func (*SystemInfo) GetTemptargetOk ¶
func (o *SystemInfo) GetTemptargetOk() (*float32, bool)
GetTemptargetOk returns a tuple with the Temptarget field value and a boolean to check if the value has been set.
func (*SystemInfo) GetUptimeSeconds ¶
func (o *SystemInfo) GetUptimeSeconds() float32
GetUptimeSeconds returns the UptimeSeconds field value
func (*SystemInfo) GetUptimeSecondsOk ¶
func (o *SystemInfo) GetUptimeSecondsOk() (*float32, bool)
GetUptimeSecondsOk returns a tuple with the UptimeSeconds field value and a boolean to check if the value has been set.
func (*SystemInfo) GetVersion ¶
func (o *SystemInfo) GetVersion() string
GetVersion returns the Version field value
func (*SystemInfo) GetVersionOk ¶
func (o *SystemInfo) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (*SystemInfo) GetVoltage ¶
func (o *SystemInfo) GetVoltage() float32
GetVoltage returns the Voltage field value
func (*SystemInfo) GetVoltageOk ¶
func (o *SystemInfo) GetVoltageOk() (*float32, bool)
GetVoltageOk returns a tuple with the Voltage field value and a boolean to check if the value has been set.
func (*SystemInfo) GetVrTemp ¶
func (o *SystemInfo) GetVrTemp() float32
GetVrTemp returns the VrTemp field value
func (*SystemInfo) GetVrTempOk ¶
func (o *SystemInfo) GetVrTempOk() (*float32, bool)
GetVrTempOk returns a tuple with the VrTemp field value and a boolean to check if the value has been set.
func (*SystemInfo) GetWifiRSSI ¶
func (o *SystemInfo) GetWifiRSSI() float32
GetWifiRSSI returns the WifiRSSI field value
func (*SystemInfo) GetWifiRSSIOk ¶
func (o *SystemInfo) GetWifiRSSIOk() (*float32, bool)
GetWifiRSSIOk returns a tuple with the WifiRSSI field value and a boolean to check if the value has been set.
func (*SystemInfo) GetWifiStatus ¶
func (o *SystemInfo) GetWifiStatus() string
GetWifiStatus returns the WifiStatus field value
func (*SystemInfo) GetWifiStatusOk ¶
func (o *SystemInfo) GetWifiStatusOk() (*string, bool)
GetWifiStatusOk returns a tuple with the WifiStatus field value and a boolean to check if the value has been set.
func (*SystemInfo) HasPowerFault ¶
func (o *SystemInfo) HasPowerFault() bool
HasPowerFault returns a boolean if a field has been set.
func (SystemInfo) MarshalJSON ¶
func (o SystemInfo) MarshalJSON() ([]byte, error)
func (*SystemInfo) SetASICModel ¶
func (o *SystemInfo) SetASICModel(v string)
SetASICModel sets field value
func (*SystemInfo) SetApEnabled ¶
func (o *SystemInfo) SetApEnabled(v float32)
SetApEnabled sets field value
func (*SystemInfo) SetAutofanspeed ¶
func (o *SystemInfo) SetAutofanspeed(v float32)
SetAutofanspeed sets field value
func (*SystemInfo) SetAxeOSVersion ¶
func (o *SystemInfo) SetAxeOSVersion(v string)
SetAxeOSVersion sets field value
func (*SystemInfo) SetBestDiff ¶
func (o *SystemInfo) SetBestDiff(v float32)
SetBestDiff sets field value
func (*SystemInfo) SetBestSessionDiff ¶
func (o *SystemInfo) SetBestSessionDiff(v float32)
SetBestSessionDiff sets field value
func (*SystemInfo) SetBlockFound ¶
func (o *SystemInfo) SetBlockFound(v float32)
SetBlockFound sets field value
func (*SystemInfo) SetBlockHeight ¶
func (o *SystemInfo) SetBlockHeight(v int32)
SetBlockHeight sets field value
func (*SystemInfo) SetBoardVersion ¶
func (o *SystemInfo) SetBoardVersion(v string)
SetBoardVersion sets field value
func (*SystemInfo) SetCoreVoltage ¶
func (o *SystemInfo) SetCoreVoltage(v float32)
SetCoreVoltage sets field value
func (*SystemInfo) SetCoreVoltageActual ¶
func (o *SystemInfo) SetCoreVoltageActual(v float32)
SetCoreVoltageActual sets field value
func (*SystemInfo) SetCurrent ¶
func (o *SystemInfo) SetCurrent(v float32)
SetCurrent sets field value
func (*SystemInfo) SetDisplay ¶
func (o *SystemInfo) SetDisplay(v string)
SetDisplay sets field value
func (*SystemInfo) SetDisplayTimeout ¶
func (o *SystemInfo) SetDisplayTimeout(v float32)
SetDisplayTimeout sets field value
func (*SystemInfo) SetErrorPercentage ¶
func (o *SystemInfo) SetErrorPercentage(v float32)
SetErrorPercentage sets field value
func (*SystemInfo) SetExpectedHashrate ¶
func (o *SystemInfo) SetExpectedHashrate(v float32)
SetExpectedHashrate sets field value
func (*SystemInfo) SetFallbackStratumCert ¶
func (o *SystemInfo) SetFallbackStratumCert(v string)
SetFallbackStratumCert sets field value
func (*SystemInfo) SetFallbackStratumExtranonceSubscribe ¶
func (o *SystemInfo) SetFallbackStratumExtranonceSubscribe(v bool)
SetFallbackStratumExtranonceSubscribe sets field value
func (*SystemInfo) SetFallbackStratumPort ¶
func (o *SystemInfo) SetFallbackStratumPort(v float32)
SetFallbackStratumPort sets field value
func (*SystemInfo) SetFallbackStratumSuggestedDifficulty ¶
func (o *SystemInfo) SetFallbackStratumSuggestedDifficulty(v float32)
SetFallbackStratumSuggestedDifficulty sets field value
func (*SystemInfo) SetFallbackStratumTLS ¶
func (o *SystemInfo) SetFallbackStratumTLS(v bool)
SetFallbackStratumTLS sets field value
func (*SystemInfo) SetFallbackStratumURL ¶
func (o *SystemInfo) SetFallbackStratumURL(v string)
SetFallbackStratumURL sets field value
func (*SystemInfo) SetFallbackStratumUser ¶
func (o *SystemInfo) SetFallbackStratumUser(v string)
SetFallbackStratumUser sets field value
func (*SystemInfo) SetFan2rpm ¶
func (o *SystemInfo) SetFan2rpm(v float32)
SetFan2rpm sets field value
func (*SystemInfo) SetFanspeed ¶
func (o *SystemInfo) SetFanspeed(v float32)
SetFanspeed sets field value
func (*SystemInfo) SetFreeHeap ¶
func (o *SystemInfo) SetFreeHeap(v float32)
SetFreeHeap sets field value
func (*SystemInfo) SetFreeHeapInternal ¶
func (o *SystemInfo) SetFreeHeapInternal(v float32)
SetFreeHeapInternal sets field value
func (*SystemInfo) SetFreeHeapSpiram ¶
func (o *SystemInfo) SetFreeHeapSpiram(v float32)
SetFreeHeapSpiram sets field value
func (*SystemInfo) SetFrequency ¶
func (o *SystemInfo) SetFrequency(v float32)
SetFrequency sets field value
func (*SystemInfo) SetHashRate ¶
func (o *SystemInfo) SetHashRate(v float32)
SetHashRate sets field value
func (*SystemInfo) SetHashRate10m ¶
func (o *SystemInfo) SetHashRate10m(v float32)
SetHashRate10m sets field value
func (*SystemInfo) SetHashRate1h ¶
func (o *SystemInfo) SetHashRate1h(v float32)
SetHashRate1h sets field value
func (*SystemInfo) SetHashRate1m ¶
func (o *SystemInfo) SetHashRate1m(v float32)
SetHashRate1m sets field value
func (*SystemInfo) SetHashrateMonitor ¶
func (o *SystemInfo) SetHashrateMonitor(v SystemInfoHashrateMonitor)
SetHashrateMonitor sets field value
func (*SystemInfo) SetHostname ¶
func (o *SystemInfo) SetHostname(v string)
SetHostname sets field value
func (*SystemInfo) SetIdfVersion ¶
func (o *SystemInfo) SetIdfVersion(v string)
SetIdfVersion sets field value
func (*SystemInfo) SetInvertscreen ¶
func (o *SystemInfo) SetInvertscreen(v float32)
SetInvertscreen sets field value
func (*SystemInfo) SetIsPSRAMAvailable ¶
func (o *SystemInfo) SetIsPSRAMAvailable(v float32)
SetIsPSRAMAvailable sets field value
func (*SystemInfo) SetIsUsingFallbackStratum ¶
func (o *SystemInfo) SetIsUsingFallbackStratum(v float32)
SetIsUsingFallbackStratum sets field value
func (*SystemInfo) SetMacAddr ¶
func (o *SystemInfo) SetMacAddr(v string)
SetMacAddr sets field value
func (*SystemInfo) SetManualFanSpeed ¶
func (o *SystemInfo) SetManualFanSpeed(v int32)
SetManualFanSpeed sets field value
func (*SystemInfo) SetMaxPower ¶
func (o *SystemInfo) SetMaxPower(v int32)
SetMaxPower sets field value
func (*SystemInfo) SetMinFanSpeed ¶
func (o *SystemInfo) SetMinFanSpeed(v int32)
SetMinFanSpeed sets field value
func (*SystemInfo) SetNetworkDifficulty ¶
func (o *SystemInfo) SetNetworkDifficulty(v float32)
SetNetworkDifficulty sets field value
func (*SystemInfo) SetNominalVoltage ¶
func (o *SystemInfo) SetNominalVoltage(v int32)
SetNominalVoltage sets field value
func (*SystemInfo) SetOverclockEnabled ¶
func (o *SystemInfo) SetOverclockEnabled(v int32)
SetOverclockEnabled sets field value
func (*SystemInfo) SetOverheatMode ¶
func (o *SystemInfo) SetOverheatMode(v float32)
SetOverheatMode sets field value
func (*SystemInfo) SetPoolConnectionInfo ¶
func (o *SystemInfo) SetPoolConnectionInfo(v string)
SetPoolConnectionInfo sets field value
func (*SystemInfo) SetPoolDifficulty ¶
func (o *SystemInfo) SetPoolDifficulty(v float32)
SetPoolDifficulty sets field value
func (*SystemInfo) SetPowerFault ¶
func (o *SystemInfo) SetPowerFault(v string)
SetPowerFault gets a reference to the given string and assigns it to the PowerFault field.
func (*SystemInfo) SetResetReason ¶
func (o *SystemInfo) SetResetReason(v string)
SetResetReason sets field value
func (*SystemInfo) SetResponseTime ¶
func (o *SystemInfo) SetResponseTime(v float32)
SetResponseTime sets field value
func (*SystemInfo) SetRotation ¶
func (o *SystemInfo) SetRotation(v float32)
SetRotation sets field value
func (*SystemInfo) SetRunningPartition ¶
func (o *SystemInfo) SetRunningPartition(v string)
SetRunningPartition sets field value
func (*SystemInfo) SetScriptsig ¶
func (o *SystemInfo) SetScriptsig(v string)
SetScriptsig sets field value
func (*SystemInfo) SetSharesAccepted ¶
func (o *SystemInfo) SetSharesAccepted(v float32)
SetSharesAccepted sets field value
func (*SystemInfo) SetSharesRejected ¶
func (o *SystemInfo) SetSharesRejected(v float32)
SetSharesRejected sets field value
func (*SystemInfo) SetSharesRejectedReasons ¶
func (o *SystemInfo) SetSharesRejectedReasons(v []SharesRejectedReason)
SetSharesRejectedReasons sets field value
func (*SystemInfo) SetSmallCoreCount ¶
func (o *SystemInfo) SetSmallCoreCount(v float32)
SetSmallCoreCount sets field value
func (*SystemInfo) SetStatsFrequency ¶
func (o *SystemInfo) SetStatsFrequency(v float32)
SetStatsFrequency sets field value
func (*SystemInfo) SetStratumCert ¶
func (o *SystemInfo) SetStratumCert(v string)
SetStratumCert sets field value
func (*SystemInfo) SetStratumExtranonceSubscribe ¶
func (o *SystemInfo) SetStratumExtranonceSubscribe(v bool)
SetStratumExtranonceSubscribe sets field value
func (*SystemInfo) SetStratumPort ¶
func (o *SystemInfo) SetStratumPort(v float32)
SetStratumPort sets field value
func (*SystemInfo) SetStratumSuggestedDifficulty ¶
func (o *SystemInfo) SetStratumSuggestedDifficulty(v float32)
SetStratumSuggestedDifficulty sets field value
func (*SystemInfo) SetStratumTLS ¶
func (o *SystemInfo) SetStratumTLS(v bool)
SetStratumTLS sets field value
func (*SystemInfo) SetStratumURL ¶
func (o *SystemInfo) SetStratumURL(v string)
SetStratumURL sets field value
func (*SystemInfo) SetStratumUser ¶
func (o *SystemInfo) SetStratumUser(v string)
SetStratumUser sets field value
func (*SystemInfo) SetTemptarget ¶
func (o *SystemInfo) SetTemptarget(v float32)
SetTemptarget sets field value
func (*SystemInfo) SetUptimeSeconds ¶
func (o *SystemInfo) SetUptimeSeconds(v float32)
SetUptimeSeconds sets field value
func (*SystemInfo) SetVersion ¶
func (o *SystemInfo) SetVersion(v string)
SetVersion sets field value
func (*SystemInfo) SetVoltage ¶
func (o *SystemInfo) SetVoltage(v float32)
SetVoltage sets field value
func (*SystemInfo) SetWifiRSSI ¶
func (o *SystemInfo) SetWifiRSSI(v float32)
SetWifiRSSI sets field value
func (*SystemInfo) SetWifiStatus ¶
func (o *SystemInfo) SetWifiStatus(v string)
SetWifiStatus sets field value
func (SystemInfo) ToMap ¶
func (o SystemInfo) ToMap() (map[string]interface{}, error)
func (*SystemInfo) UnmarshalJSON ¶
func (o *SystemInfo) UnmarshalJSON(data []byte) (err error)
type SystemInfoHashrateMonitor ¶
type SystemInfoHashrateMonitor struct {
// Hashrate register value per ASIC
Asics []HashrateMonitorAsic `json:"asics"`
}
SystemInfoHashrateMonitor struct for SystemInfoHashrateMonitor
func NewSystemInfoHashrateMonitor ¶
func NewSystemInfoHashrateMonitor(asics []HashrateMonitorAsic) *SystemInfoHashrateMonitor
NewSystemInfoHashrateMonitor instantiates a new SystemInfoHashrateMonitor 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 NewSystemInfoHashrateMonitorWithDefaults ¶
func NewSystemInfoHashrateMonitorWithDefaults() *SystemInfoHashrateMonitor
NewSystemInfoHashrateMonitorWithDefaults instantiates a new SystemInfoHashrateMonitor 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 (*SystemInfoHashrateMonitor) GetAsics ¶
func (o *SystemInfoHashrateMonitor) GetAsics() []HashrateMonitorAsic
GetAsics returns the Asics field value
func (*SystemInfoHashrateMonitor) GetAsicsOk ¶
func (o *SystemInfoHashrateMonitor) GetAsicsOk() ([]HashrateMonitorAsic, bool)
GetAsicsOk returns a tuple with the Asics field value and a boolean to check if the value has been set.
func (SystemInfoHashrateMonitor) MarshalJSON ¶
func (o SystemInfoHashrateMonitor) MarshalJSON() ([]byte, error)
func (*SystemInfoHashrateMonitor) SetAsics ¶
func (o *SystemInfoHashrateMonitor) SetAsics(v []HashrateMonitorAsic)
SetAsics sets field value
func (SystemInfoHashrateMonitor) ToMap ¶
func (o SystemInfoHashrateMonitor) ToMap() (map[string]interface{}, error)
func (*SystemInfoHashrateMonitor) UnmarshalJSON ¶
func (o *SystemInfoHashrateMonitor) UnmarshalJSON(data []byte) (err error)
type SystemStatistics ¶
type SystemStatistics struct {
// Current timestamp as a reference
CurrentTimestamp float32 `json:"currentTimestamp"`
// Labels for statistics data value index
Labels []string `json:"labels"`
// Statistics data point(s)
Statistics [][]float32 `json:"statistics"`
}
SystemStatistics struct for SystemStatistics
func NewSystemStatistics ¶
func NewSystemStatistics(currentTimestamp float32, labels []string, statistics [][]float32) *SystemStatistics
NewSystemStatistics instantiates a new SystemStatistics 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 NewSystemStatisticsWithDefaults ¶
func NewSystemStatisticsWithDefaults() *SystemStatistics
NewSystemStatisticsWithDefaults instantiates a new SystemStatistics 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 (*SystemStatistics) GetCurrentTimestamp ¶
func (o *SystemStatistics) GetCurrentTimestamp() float32
GetCurrentTimestamp returns the CurrentTimestamp field value
func (*SystemStatistics) GetCurrentTimestampOk ¶
func (o *SystemStatistics) GetCurrentTimestampOk() (*float32, bool)
GetCurrentTimestampOk returns a tuple with the CurrentTimestamp field value and a boolean to check if the value has been set.
func (*SystemStatistics) GetLabels ¶
func (o *SystemStatistics) GetLabels() []string
GetLabels returns the Labels field value
func (*SystemStatistics) GetLabelsOk ¶
func (o *SystemStatistics) GetLabelsOk() ([]string, bool)
GetLabelsOk returns a tuple with the Labels field value and a boolean to check if the value has been set.
func (*SystemStatistics) GetStatistics ¶
func (o *SystemStatistics) GetStatistics() [][]float32
GetStatistics returns the Statistics field value
func (*SystemStatistics) GetStatisticsOk ¶
func (o *SystemStatistics) GetStatisticsOk() ([][]float32, bool)
GetStatisticsOk returns a tuple with the Statistics field value and a boolean to check if the value has been set.
func (SystemStatistics) MarshalJSON ¶
func (o SystemStatistics) MarshalJSON() ([]byte, error)
func (*SystemStatistics) SetCurrentTimestamp ¶
func (o *SystemStatistics) SetCurrentTimestamp(v float32)
SetCurrentTimestamp sets field value
func (*SystemStatistics) SetLabels ¶
func (o *SystemStatistics) SetLabels(v []string)
SetLabels sets field value
func (*SystemStatistics) SetStatistics ¶
func (o *SystemStatistics) SetStatistics(v [][]float32)
SetStatistics sets field value
func (SystemStatistics) ToMap ¶
func (o SystemStatistics) ToMap() (map[string]interface{}, error)
func (*SystemStatistics) UnmarshalJSON ¶
func (o *SystemStatistics) UnmarshalJSON(data []byte) (err error)
type WifiAPIService ¶
type WifiAPIService service
WifiAPIService WifiAPI service
func (*WifiAPIService) ScanWifiNetworks ¶
func (a *WifiAPIService) ScanWifiNetworks(ctx context.Context) ApiScanWifiNetworksRequest
ScanWifiNetworks Scan for available WiFi networks
Returns a list of available WiFi networks in range
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiScanWifiNetworksRequest
func (*WifiAPIService) ScanWifiNetworksExecute ¶
func (a *WifiAPIService) ScanWifiNetworksExecute(r ApiScanWifiNetworksRequest) (*ScanWifiNetworks200Response, *http.Response, error)
Execute executes the request
@return ScanWifiNetworks200Response
type WifiNetwork ¶
type WifiNetwork struct {
// Network SSID
Ssid string `json:"ssid"`
// Signal strength in dBm
Rssi int32 `json:"rssi"`
// Authentication mode: * 0 - OPEN * 1 - WEP * 2 - WPA_PSK * 3 - WPA2_PSK * 4 - WPA_WPA2_PSK * 5 - WPA2_ENTERPRISE * 6 - WPA3_PSK * 7 - WPA2_WPA3_PSK * 8 - WAPI_PSK * 9 - OWE (Opportunistic Wireless Encryption) * 10 - WPA3_ENT_192 (Enterprise Suite-B) * 11 - WPA3_PSK_192 (deprecated, use WPA3_PSK) * 12 - WPA3_EXT_PSK (deprecated, use WPA3_PSK)
Authmode int32 `json:"authmode"`
}
WifiNetwork struct for WifiNetwork
func NewWifiNetwork ¶
func NewWifiNetwork(ssid string, rssi int32, authmode int32) *WifiNetwork
NewWifiNetwork instantiates a new WifiNetwork 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 NewWifiNetworkWithDefaults ¶
func NewWifiNetworkWithDefaults() *WifiNetwork
NewWifiNetworkWithDefaults instantiates a new WifiNetwork 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 (*WifiNetwork) GetAuthmode ¶
func (o *WifiNetwork) GetAuthmode() int32
GetAuthmode returns the Authmode field value
func (*WifiNetwork) GetAuthmodeOk ¶
func (o *WifiNetwork) GetAuthmodeOk() (*int32, bool)
GetAuthmodeOk returns a tuple with the Authmode field value and a boolean to check if the value has been set.
func (*WifiNetwork) GetRssi ¶
func (o *WifiNetwork) GetRssi() int32
GetRssi returns the Rssi field value
func (*WifiNetwork) GetRssiOk ¶
func (o *WifiNetwork) GetRssiOk() (*int32, bool)
GetRssiOk returns a tuple with the Rssi field value and a boolean to check if the value has been set.
func (*WifiNetwork) GetSsid ¶
func (o *WifiNetwork) GetSsid() string
GetSsid returns the Ssid field value
func (*WifiNetwork) GetSsidOk ¶
func (o *WifiNetwork) GetSsidOk() (*string, bool)
GetSsidOk returns a tuple with the Ssid field value and a boolean to check if the value has been set.
func (WifiNetwork) MarshalJSON ¶
func (o WifiNetwork) MarshalJSON() ([]byte, error)
func (*WifiNetwork) SetAuthmode ¶
func (o *WifiNetwork) SetAuthmode(v int32)
SetAuthmode sets field value
func (WifiNetwork) ToMap ¶
func (o WifiNetwork) ToMap() (map[string]interface{}, error)
func (*WifiNetwork) UnmarshalJSON ¶
func (o *WifiNetwork) UnmarshalJSON(data []byte) (err error)
Source Files
¶
- api_system.go
- api_wifi.go
- client.go
- configuration.go
- model_hashrate_monitor_asic.go
- model_scan_wifi_networks_200_response.go
- model_settings.go
- model_shares_rejected_reason.go
- model_system_asic.go
- model_system_info.go
- model_system_info_hashrate_monitor.go
- model_system_statistics.go
- model_wifi_network.go
- response.go
- utils.go