openapi

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
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

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time 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

type APIKey struct {
	Key    string
	Prefix string
}

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

type ApiGetSystemInfoRequest

type ApiGetSystemInfoRequest struct {
	ApiService *SystemAPIService
	// contains filtered or unexported fields
}

func (ApiGetSystemInfoRequest) Execute

type ApiGetSystemStatisticsRequest

type ApiGetSystemStatisticsRequest struct {
	ApiService *SystemAPIService
	// contains filtered or unexported fields
}

func (ApiGetSystemStatisticsRequest) Columns

List of labels for which data should be retrieved

func (ApiGetSystemStatisticsRequest) Execute

type ApiIdentifySystemRequest

type ApiIdentifySystemRequest struct {
	ApiService *SystemAPIService
	// contains filtered or unexported fields
}

func (ApiIdentifySystemRequest) Execute

func (r ApiIdentifySystemRequest) Execute() (*http.Response, error)

type ApiRestartSystemRequest

type ApiRestartSystemRequest struct {
	ApiService *SystemAPIService
	// contains filtered or unexported fields
}

func (ApiRestartSystemRequest) Execute

func (r ApiRestartSystemRequest) Execute() (*http.Response, error)

type ApiScanWifiNetworksRequest

type ApiScanWifiNetworksRequest struct {
	ApiService *WifiAPIService
	// contains filtered or unexported fields
}

func (ApiScanWifiNetworksRequest) Execute

type ApiUpdateFirmwareRequest

type ApiUpdateFirmwareRequest struct {
	ApiService *SystemAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateFirmwareRequest) Body

func (ApiUpdateFirmwareRequest) Execute

func (r ApiUpdateFirmwareRequest) Execute() (*http.Response, error)

type ApiUpdateSystemSettingsRequest

type ApiUpdateSystemSettingsRequest struct {
	ApiService *SystemAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateSystemSettingsRequest) Execute

func (ApiUpdateSystemSettingsRequest) Settings

type ApiUpdateWebInterfaceRequest

type ApiUpdateWebInterfaceRequest struct {
	ApiService *SystemAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateWebInterfaceRequest) Body

func (ApiUpdateWebInterfaceRequest) Execute

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) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

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 MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

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 (NullableHashrateMonitorAsic) IsSet

func (NullableHashrateMonitorAsic) MarshalJSON

func (v NullableHashrateMonitorAsic) MarshalJSON() ([]byte, error)

func (*NullableHashrateMonitorAsic) Set

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 (NullableScanWifiNetworks200Response) Get

func (NullableScanWifiNetworks200Response) IsSet

func (NullableScanWifiNetworks200Response) MarshalJSON

func (v NullableScanWifiNetworks200Response) MarshalJSON() ([]byte, error)

func (*NullableScanWifiNetworks200Response) Set

func (*NullableScanWifiNetworks200Response) UnmarshalJSON

func (v *NullableScanWifiNetworks200Response) UnmarshalJSON(src []byte) error

func (*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 (NullableSharesRejectedReason) IsSet

func (NullableSharesRejectedReason) MarshalJSON

func (v NullableSharesRejectedReason) MarshalJSON() ([]byte, error)

func (*NullableSharesRejectedReason) Set

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 (NullableSystemInfoHashrateMonitor) Get

func (NullableSystemInfoHashrateMonitor) IsSet

func (NullableSystemInfoHashrateMonitor) MarshalJSON

func (v NullableSystemInfoHashrateMonitor) MarshalJSON() ([]byte, error)

func (*NullableSystemInfoHashrateMonitor) Set

func (*NullableSystemInfoHashrateMonitor) UnmarshalJSON

func (v *NullableSystemInfoHashrateMonitor) UnmarshalJSON(src []byte) error

func (*NullableSystemInfoHashrateMonitor) Unset

type NullableSystemStatistics

type NullableSystemStatistics struct {
	// contains filtered or unexported fields
}

func NewNullableSystemStatistics

func NewNullableSystemStatistics(val *SystemStatistics) *NullableSystemStatistics

func (NullableSystemStatistics) Get

func (NullableSystemStatistics) IsSet

func (v NullableSystemStatistics) IsSet() bool

func (NullableSystemStatistics) MarshalJSON

func (v NullableSystemStatistics) MarshalJSON() ([]byte, error)

func (*NullableSystemStatistics) Set

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 (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

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

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

func (o *Settings) GetAutofanspeed() int32

GetAutofanspeed returns the Autofanspeed field value if set, zero value otherwise.

func (*Settings) GetAutofanspeedOk

func (o *Settings) GetAutofanspeedOk() (*int32, bool)

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

func (o *Settings) GetCoreVoltage() int32

GetCoreVoltage returns the CoreVoltage field value if set, zero value otherwise.

func (*Settings) GetCoreVoltageOk

func (o *Settings) GetCoreVoltageOk() (*int32, bool)

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

func (o *Settings) GetDisplayTimeout() int32

GetDisplayTimeout returns the DisplayTimeout field value if set, zero value otherwise.

func (*Settings) GetDisplayTimeoutOk

func (o *Settings) GetDisplayTimeoutOk() (*int32, bool)

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

func (o *Settings) GetFallbackStratumPassword() string

GetFallbackStratumPassword returns the FallbackStratumPassword field value if set, zero value otherwise.

func (*Settings) GetFallbackStratumPasswordOk

func (o *Settings) GetFallbackStratumPasswordOk() (*string, bool)

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

func (o *Settings) GetFallbackStratumPort() int32

GetFallbackStratumPort returns the FallbackStratumPort field value if set, zero value otherwise.

func (*Settings) GetFallbackStratumPortOk

func (o *Settings) GetFallbackStratumPortOk() (*int32, bool)

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

func (o *Settings) GetFallbackStratumURL() string

GetFallbackStratumURL returns the FallbackStratumURL field value if set, zero value otherwise.

func (*Settings) GetFallbackStratumURLOk

func (o *Settings) GetFallbackStratumURLOk() (*string, bool)

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

func (o *Settings) GetFallbackStratumUser() string

GetFallbackStratumUser returns the FallbackStratumUser field value if set, zero value otherwise.

func (*Settings) GetFallbackStratumUserOk

func (o *Settings) GetFallbackStratumUserOk() (*string, bool)

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

func (o *Settings) GetFanspeed() int32

GetFanspeed returns the Fanspeed field value if set, zero value otherwise.

func (*Settings) GetFanspeedOk

func (o *Settings) GetFanspeedOk() (*int32, bool)

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

func (o *Settings) GetFrequency() int32

GetFrequency returns the Frequency field value if set, zero value otherwise.

func (*Settings) GetFrequencyOk

func (o *Settings) GetFrequencyOk() (*int32, bool)

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

func (o *Settings) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*Settings) GetHostnameOk

func (o *Settings) GetHostnameOk() (*string, bool)

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

func (o *Settings) GetInvertscreen() int32

GetInvertscreen returns the Invertscreen field value if set, zero value otherwise.

func (*Settings) GetInvertscreenOk

func (o *Settings) GetInvertscreenOk() (*int32, bool)

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

func (o *Settings) GetOverclockEnabled() int32

GetOverclockEnabled returns the OverclockEnabled field value if set, zero value otherwise.

func (*Settings) GetOverclockEnabledOk

func (o *Settings) GetOverclockEnabledOk() (*int32, bool)

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

func (o *Settings) GetOverheatMode() int32

GetOverheatMode returns the OverheatMode field value if set, zero value otherwise.

func (*Settings) GetOverheatModeOk

func (o *Settings) GetOverheatModeOk() (*int32, bool)

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

func (o *Settings) GetRotation() int32

GetRotation returns the Rotation field value if set, zero value otherwise.

func (*Settings) GetRotationOk

func (o *Settings) GetRotationOk() (*int32, bool)

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) GetSsid

func (o *Settings) GetSsid() string

GetSsid returns the Ssid field value if set, zero value otherwise.

func (*Settings) GetSsidOk

func (o *Settings) GetSsidOk() (*string, bool)

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

func (o *Settings) GetStatsFrequency() int32

GetStatsFrequency returns the StatsFrequency field value if set, zero value otherwise.

func (*Settings) GetStatsFrequencyOk

func (o *Settings) GetStatsFrequencyOk() (*int32, bool)

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

func (o *Settings) GetStratumPassword() string

GetStratumPassword returns the StratumPassword field value if set, zero value otherwise.

func (*Settings) GetStratumPasswordOk

func (o *Settings) GetStratumPasswordOk() (*string, bool)

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

func (o *Settings) GetStratumPort() int32

GetStratumPort returns the StratumPort field value if set, zero value otherwise.

func (*Settings) GetStratumPortOk

func (o *Settings) GetStratumPortOk() (*int32, bool)

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

func (o *Settings) GetStratumURL() string

GetStratumURL returns the StratumURL field value if set, zero value otherwise.

func (*Settings) GetStratumURLOk

func (o *Settings) GetStratumURLOk() (*string, bool)

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

func (o *Settings) GetStratumUser() string

GetStratumUser returns the StratumUser field value if set, zero value otherwise.

func (*Settings) GetStratumUserOk

func (o *Settings) GetStratumUserOk() (*string, bool)

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

func (o *Settings) GetTemptarget() int32

GetTemptarget returns the Temptarget field value if set, zero value otherwise.

func (*Settings) GetTemptargetOk

func (o *Settings) GetTemptargetOk() (*int32, bool)

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

func (o *Settings) GetUseFallbackStratum() float32

GetUseFallbackStratum returns the UseFallbackStratum field value if set, zero value otherwise.

func (*Settings) GetUseFallbackStratumOk

func (o *Settings) GetUseFallbackStratumOk() (*float32, bool)

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

func (o *Settings) GetWifiPass() string

GetWifiPass returns the WifiPass field value if set, zero value otherwise.

func (*Settings) GetWifiPassOk

func (o *Settings) GetWifiPassOk() (*string, bool)

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

func (o *Settings) HasAutofanspeed() bool

HasAutofanspeed returns a boolean if a field has been set.

func (*Settings) HasCoreVoltage

func (o *Settings) HasCoreVoltage() bool

HasCoreVoltage returns a boolean if a field has been set.

func (*Settings) HasDisplayTimeout

func (o *Settings) HasDisplayTimeout() bool

HasDisplayTimeout returns a boolean if a field has been set.

func (*Settings) HasFallbackStratumPassword

func (o *Settings) HasFallbackStratumPassword() bool

HasFallbackStratumPassword returns a boolean if a field has been set.

func (*Settings) HasFallbackStratumPort

func (o *Settings) HasFallbackStratumPort() bool

HasFallbackStratumPort returns a boolean if a field has been set.

func (*Settings) HasFallbackStratumURL

func (o *Settings) HasFallbackStratumURL() bool

HasFallbackStratumURL returns a boolean if a field has been set.

func (*Settings) HasFallbackStratumUser

func (o *Settings) HasFallbackStratumUser() bool

HasFallbackStratumUser returns a boolean if a field has been set.

func (*Settings) HasFanspeed

func (o *Settings) HasFanspeed() bool

HasFanspeed returns a boolean if a field has been set.

func (*Settings) HasFrequency

func (o *Settings) HasFrequency() bool

HasFrequency returns a boolean if a field has been set.

func (*Settings) HasHostname

func (o *Settings) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*Settings) HasInvertscreen

func (o *Settings) HasInvertscreen() bool

HasInvertscreen returns a boolean if a field has been set.

func (*Settings) HasOverclockEnabled

func (o *Settings) HasOverclockEnabled() bool

HasOverclockEnabled returns a boolean if a field has been set.

func (*Settings) HasOverheatMode

func (o *Settings) HasOverheatMode() bool

HasOverheatMode returns a boolean if a field has been set.

func (*Settings) HasRotation

func (o *Settings) HasRotation() bool

HasRotation returns a boolean if a field has been set.

func (*Settings) HasSsid

func (o *Settings) HasSsid() bool

HasSsid returns a boolean if a field has been set.

func (*Settings) HasStatsFrequency

func (o *Settings) HasStatsFrequency() bool

HasStatsFrequency returns a boolean if a field has been set.

func (*Settings) HasStratumPassword

func (o *Settings) HasStratumPassword() bool

HasStratumPassword returns a boolean if a field has been set.

func (*Settings) HasStratumPort

func (o *Settings) HasStratumPort() bool

HasStratumPort returns a boolean if a field has been set.

func (*Settings) HasStratumURL

func (o *Settings) HasStratumURL() bool

HasStratumURL returns a boolean if a field has been set.

func (*Settings) HasStratumUser

func (o *Settings) HasStratumUser() bool

HasStratumUser returns a boolean if a field has been set.

func (*Settings) HasTemptarget

func (o *Settings) HasTemptarget() bool

HasTemptarget returns a boolean if a field has been set.

func (*Settings) HasUseFallbackStratum

func (o *Settings) HasUseFallbackStratum() bool

HasUseFallbackStratum returns a boolean if a field has been set.

func (*Settings) HasWifiPass

func (o *Settings) HasWifiPass() bool

HasWifiPass returns a boolean if a field has been set.

func (Settings) MarshalJSON

func (o Settings) MarshalJSON() ([]byte, error)

func (*Settings) SetAutofanspeed

func (o *Settings) SetAutofanspeed(v int32)

SetAutofanspeed gets a reference to the given int32 and assigns it to the Autofanspeed field.

func (*Settings) SetCoreVoltage

func (o *Settings) SetCoreVoltage(v int32)

SetCoreVoltage gets a reference to the given int32 and assigns it to the CoreVoltage field.

func (*Settings) SetDisplayTimeout

func (o *Settings) SetDisplayTimeout(v int32)

SetDisplayTimeout gets a reference to the given int32 and assigns it to the DisplayTimeout field.

func (*Settings) SetFallbackStratumPassword

func (o *Settings) SetFallbackStratumPassword(v string)

SetFallbackStratumPassword gets a reference to the given string and assigns it to the FallbackStratumPassword field.

func (*Settings) SetFallbackStratumPort

func (o *Settings) SetFallbackStratumPort(v int32)

SetFallbackStratumPort gets a reference to the given int32 and assigns it to the FallbackStratumPort field.

func (*Settings) SetFallbackStratumURL

func (o *Settings) SetFallbackStratumURL(v string)

SetFallbackStratumURL gets a reference to the given string and assigns it to the FallbackStratumURL field.

func (*Settings) SetFallbackStratumUser

func (o *Settings) SetFallbackStratumUser(v string)

SetFallbackStratumUser gets a reference to the given string and assigns it to the FallbackStratumUser field.

func (*Settings) SetFanspeed

func (o *Settings) SetFanspeed(v int32)

SetFanspeed gets a reference to the given int32 and assigns it to the Fanspeed field.

func (*Settings) SetFrequency

func (o *Settings) SetFrequency(v int32)

SetFrequency gets a reference to the given int32 and assigns it to the Frequency field.

func (*Settings) SetHostname

func (o *Settings) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*Settings) SetInvertscreen

func (o *Settings) SetInvertscreen(v int32)

SetInvertscreen gets a reference to the given int32 and assigns it to the Invertscreen field.

func (*Settings) SetOverclockEnabled

func (o *Settings) SetOverclockEnabled(v int32)

SetOverclockEnabled gets a reference to the given int32 and assigns it to the OverclockEnabled field.

func (*Settings) SetOverheatMode

func (o *Settings) SetOverheatMode(v int32)

SetOverheatMode gets a reference to the given int32 and assigns it to the OverheatMode field.

func (*Settings) SetRotation

func (o *Settings) SetRotation(v int32)

SetRotation gets a reference to the given int32 and assigns it to the Rotation field.

func (*Settings) SetSsid

func (o *Settings) SetSsid(v string)

SetSsid gets a reference to the given string and assigns it to the Ssid field.

func (*Settings) SetStatsFrequency

func (o *Settings) SetStatsFrequency(v int32)

SetStatsFrequency gets a reference to the given int32 and assigns it to the StatsFrequency field.

func (*Settings) SetStratumPassword

func (o *Settings) SetStratumPassword(v string)

SetStratumPassword gets a reference to the given string and assigns it to the StratumPassword field.

func (*Settings) SetStratumPort

func (o *Settings) SetStratumPort(v int32)

SetStratumPort gets a reference to the given int32 and assigns it to the StratumPort field.

func (*Settings) SetStratumURL

func (o *Settings) SetStratumURL(v string)

SetStratumURL gets a reference to the given string and assigns it to the StratumURL field.

func (*Settings) SetStratumUser

func (o *Settings) SetStratumUser(v string)

SetStratumUser gets a reference to the given string and assigns it to the StratumUser field.

func (*Settings) SetTemptarget

func (o *Settings) SetTemptarget(v int32)

SetTemptarget gets a reference to the given int32 and assigns it to the Temptarget field.

func (*Settings) SetUseFallbackStratum

func (o *Settings) SetUseFallbackStratum(v float32)

SetUseFallbackStratum gets a reference to the given float32 and assigns it to the UseFallbackStratum field.

func (*Settings) SetWifiPass

func (o *Settings) SetWifiPass(v string)

SetWifiPass gets a reference to the given string and assigns it to the WifiPass field.

func (Settings) ToMap

func (o Settings) ToMap() (map[string]interface{}, error)

func (*Settings) UnmarshalJSON

func (o *Settings) UnmarshalJSON(data []byte) (err error)

type SharesRejectedReason

type SharesRejectedReason struct {
	// Rejection reason from pool
	Message string `json:"message"`
	// Shares rejected for this reason
	Count int32 `json:"count"`
}

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

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

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

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

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

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"`
	// Number of accepted shares
	SharesAccepted float32 `json:"sharesAccepted"`
	// Number of rejected shares
	SharesRejected float32 `json:"sharesRejected"`
	// Reason(s) shares were rejected
	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) SetFanrpm

func (o *SystemInfo) SetFanrpm(v float32)

SetFanrpm 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) SetIpv4

func (o *SystemInfo) SetIpv4(v string)

SetIpv4 sets field value

func (*SystemInfo) SetIpv6

func (o *SystemInfo) SetIpv6(v string)

SetIpv6 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) SetPower

func (o *SystemInfo) SetPower(v float32)

SetPower 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) SetSsid

func (o *SystemInfo) SetSsid(v string)

SetSsid 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) SetTemp

func (o *SystemInfo) SetTemp(v float32)

SetTemp sets field value

func (*SystemInfo) SetTemp2

func (o *SystemInfo) SetTemp2(v float32)

SetTemp2 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) SetVrTemp

func (o *SystemInfo) SetVrTemp(v float32)

SetVrTemp 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

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

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

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) SetRssi

func (o *WifiNetwork) SetRssi(v int32)

SetRssi sets field value

func (*WifiNetwork) SetSsid

func (o *WifiNetwork) SetSsid(v string)

SetSsid 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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL