dependencymodels

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package dependencymodels provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.1 DO NOT EDIT.

Package dependencymodels provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.1 DO NOT EDIT.

Code generated by tools/generate from schema x-known-values; DO NOT EDIT.

Package dependencymodels provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.1 DO NOT EDIT.

Package dependencymodels provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.1 DO NOT EDIT.

Package dependencymodels provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.1 DO NOT EDIT.

Code generated by tools/generate from schema x-known-values; DO NOT EDIT.

Package dependencymodels provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.1 DO NOT EDIT.

Package dependencymodels provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.1 DO NOT EDIT.

Package dependencymodels provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.1 DO NOT EDIT.

Package dependencymodels provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.1 DO NOT EDIT.

Code generated by tools/generate from schema x-known-values; DO NOT EDIT.

Index

Constants

View Source
const (
	HomeDeviceShareTypeUnlimitedTime HomeDeviceShareType = "UNLIMITED_TIME"
	ProductCategoryMower             ProductCategory     = "roborock.mower"
	ProductCategoryUnknown           ProductCategory     = "UNKNOWN"
	ProductCategoryVacuum            ProductCategory     = "robot.vacuum.cleaner"
	ProductCategoryWashingMachine    ProductCategory     = "roborock.wm"
	ProductCategoryWetDryVacuum      ProductCategory     = "roborock.wetdryvac"
	ProductPropertyModeReadOnly      ProductPropertyMode = "ro"
	ProductPropertyModeReadWrite     ProductPropertyMode = "rw"
	ProductPropertyTypeBoolean       ProductPropertyType = "BOOL"
	ProductPropertyTypeEnum          ProductPropertyType = "ENUM"
	ProductPropertyTypeRaw           ProductPropertyType = "RAW"
	ProductPropertyTypeString        ProductPropertyType = "STRING"
	ProductPropertyTypeValue         ProductPropertyType = "VALUE"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type A01QueryDatapoints

type A01QueryDatapoints struct {
	// PropertyIDs JSON-encoded property ID array, for example "[201,209]". The value is a string, not an array.
	PropertyIDs string `json:"10000"`
}

A01QueryDatapoints A01 ID_QUERY payload. The numeric-key value is a JSON string containing the ordered property ID array, matching pinned Python behavior.

type A01QueryRequest

type A01QueryRequest struct {
	// Dps A01 ID_QUERY payload. The numeric-key value is a JSON string containing the ordered property ID array, matching pinned Python behavior.
	Dps A01QueryDatapoints `json:"dps"`

	// T Unix timestamp, in seconds.
	T int64 `json:"t"`
}

A01QueryRequest Encrypted MQTT request payload before frame padding.

type A01QueryResponse

type A01QueryResponse struct {
	// Dps Known typed appliance datapoints. Additional future properties are tolerated; the public query projects only selected supported properties.
	Dps A01QueryResponse_Dps `json:"dps"`

	// T Optional appliance timestamp, in Unix seconds.
	T *int64 `json:"t,omitempty"`
}

A01QueryResponse Appliance MQTT datapoint update. Replies may be split across multiple frames; the session merges selected datapoints until every requested ID arrives.

type A01QueryResponse_Dps

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

A01QueryResponse_Dps Known typed appliance datapoints. Additional future properties are tolerated; the public query projects only selected supported properties.

func (A01QueryResponse_Dps) AsDyadStateWire

func (t A01QueryResponse_Dps) AsDyadStateWire() (DyadStateWire, error)

AsDyadStateWire returns the union data inside the A01QueryResponse_Dps as a DyadStateWire

func (A01QueryResponse_Dps) AsZeoStateWire

func (t A01QueryResponse_Dps) AsZeoStateWire() (ZeoStateWire, error)

AsZeoStateWire returns the union data inside the A01QueryResponse_Dps as a ZeoStateWire

func (*A01QueryResponse_Dps) FromDyadStateWire

func (t *A01QueryResponse_Dps) FromDyadStateWire(v DyadStateWire) error

FromDyadStateWire overwrites any union data inside the A01QueryResponse_Dps as the provided DyadStateWire

func (*A01QueryResponse_Dps) FromZeoStateWire

func (t *A01QueryResponse_Dps) FromZeoStateWire(v ZeoStateWire) error

FromZeoStateWire overwrites any union data inside the A01QueryResponse_Dps as the provided ZeoStateWire

func (A01QueryResponse_Dps) MarshalJSON

func (t A01QueryResponse_Dps) MarshalJSON() ([]byte, error)

func (*A01QueryResponse_Dps) MergeDyadStateWire

func (t *A01QueryResponse_Dps) MergeDyadStateWire(v DyadStateWire) error

MergeDyadStateWire performs a merge with any union data inside the A01QueryResponse_Dps, using the provided DyadStateWire

func (*A01QueryResponse_Dps) MergeZeoStateWire

func (t *A01QueryResponse_Dps) MergeZeoStateWire(v ZeoStateWire) error

MergeZeoStateWire performs a merge with any union data inside the A01QueryResponse_Dps, using the provided ZeoStateWire

func (*A01QueryResponse_Dps) UnmarshalJSON

func (t *A01QueryResponse_Dps) UnmarshalJSON(b []byte) error

type A01SetRequest

type A01SetRequest struct {
	// Dps Only supplied settings are published; a Zeo cycle start includes the start signal, mode, and program together.
	Dps A01SetRequest_Dps `json:"dps"`

	// T Unix timestamp, in seconds.
	T int64 `json:"t"`
}

A01SetRequest Sparse MQTT setting publication or bundled washer start payload before encryption.

type A01SetRequest_Dps

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

A01SetRequest_Dps Only supplied settings are published; a Zeo cycle start includes the start signal, mode, and program together.

func (A01SetRequest_Dps) AsSetDyadSettingsWire

func (t A01SetRequest_Dps) AsSetDyadSettingsWire() (SetDyadSettingsWire, error)

AsSetDyadSettingsWire returns the union data inside the A01SetRequest_Dps as a SetDyadSettingsWire

func (A01SetRequest_Dps) AsSetZeoSettingsWire

func (t A01SetRequest_Dps) AsSetZeoSettingsWire() (SetZeoSettingsWire, error)

AsSetZeoSettingsWire returns the union data inside the A01SetRequest_Dps as a SetZeoSettingsWire

func (A01SetRequest_Dps) AsStartZeoWire

func (t A01SetRequest_Dps) AsStartZeoWire() (StartZeoWire, error)

AsStartZeoWire returns the union data inside the A01SetRequest_Dps as a StartZeoWire

func (*A01SetRequest_Dps) FromSetDyadSettingsWire

func (t *A01SetRequest_Dps) FromSetDyadSettingsWire(v SetDyadSettingsWire) error

FromSetDyadSettingsWire overwrites any union data inside the A01SetRequest_Dps as the provided SetDyadSettingsWire

func (*A01SetRequest_Dps) FromSetZeoSettingsWire

func (t *A01SetRequest_Dps) FromSetZeoSettingsWire(v SetZeoSettingsWire) error

FromSetZeoSettingsWire overwrites any union data inside the A01SetRequest_Dps as the provided SetZeoSettingsWire

func (*A01SetRequest_Dps) FromStartZeoWire

func (t *A01SetRequest_Dps) FromStartZeoWire(v StartZeoWire) error

FromStartZeoWire overwrites any union data inside the A01SetRequest_Dps as the provided StartZeoWire

func (A01SetRequest_Dps) MarshalJSON

func (t A01SetRequest_Dps) MarshalJSON() ([]byte, error)

func (*A01SetRequest_Dps) MergeSetDyadSettingsWire

func (t *A01SetRequest_Dps) MergeSetDyadSettingsWire(v SetDyadSettingsWire) error

MergeSetDyadSettingsWire performs a merge with any union data inside the A01SetRequest_Dps, using the provided SetDyadSettingsWire

func (*A01SetRequest_Dps) MergeSetZeoSettingsWire

func (t *A01SetRequest_Dps) MergeSetZeoSettingsWire(v SetZeoSettingsWire) error

MergeSetZeoSettingsWire performs a merge with any union data inside the A01SetRequest_Dps, using the provided SetZeoSettingsWire

func (*A01SetRequest_Dps) MergeStartZeoWire

func (t *A01SetRequest_Dps) MergeStartZeoWire(v StartZeoWire) error

MergeStartZeoWire performs a merge with any union data inside the A01SetRequest_Dps, using the provided StartZeoWire

func (*A01SetRequest_Dps) UnmarshalJSON

func (t *A01SetRequest_Dps) UnmarshalJSON(b []byte) error

type Acknowledgement

type Acknowledgement = []CommandAcceptance

Acknowledgement Expected command acceptance is ["ok"].

type Agreement

type Agreement struct {
	MajorVersion         int64                      `json:"majorVersion"`
	MinorVersion         int64                      `json:"minorVersion"`
	AdditionalProperties map[string]json.RawMessage `json:"-"`
}

Agreement defines model for Agreement.

func (Agreement) Get

func (a Agreement) Get(fieldName string) (value json.RawMessage, found bool)

Getter for additional properties for Agreement. Returns the specified element and whether it was found

func (Agreement) MarshalJSON

func (a Agreement) MarshalJSON() ([]byte, error)

Override default JSON handling for Agreement to handle AdditionalProperties

func (*Agreement) Set

func (a *Agreement) Set(fieldName string, value json.RawMessage)

Setter for additional properties for Agreement

func (*Agreement) UnmarshalJSON

func (a *Agreement) UnmarshalJSON(b []byte) error

Override default JSON handling for Agreement to handle AdditionalProperties

type AgreementResponse

type AgreementResponse struct {
	Code                 int                        `json:"code"`
	Data                 *Agreement                 `json:"data"`
	Msg                  *string                    `json:"msg"`
	AdditionalProperties map[string]json.RawMessage `json:"-"`
}

AgreementResponse defines model for AgreementResponse.

func (AgreementResponse) Get

func (a AgreementResponse) Get(fieldName string) (value json.RawMessage, found bool)

Getter for additional properties for AgreementResponse. Returns the specified element and whether it was found

func (AgreementResponse) MarshalJSON

func (a AgreementResponse) MarshalJSON() ([]byte, error)

Override default JSON handling for AgreementResponse to handle AdditionalProperties

func (*AgreementResponse) Set

func (a *AgreementResponse) Set(fieldName string, value json.RawMessage)

Setter for additional properties for AgreementResponse

func (*AgreementResponse) UnmarshalJSON

func (a *AgreementResponse) UnmarshalJSON(b []byte) error

Override default JSON handling for AgreementResponse to handle AdditionalProperties

type AppVersion

type AppVersion string

AppVersion defines model for AppVersion.

const (
	AppVersionIOS AppVersion = "4.54.02"
)

Defines values for AppVersion.

type B01Envelope added in v0.2.0

type B01Envelope struct {
	Dps map[string]json.RawMessage `json:"dps"`
}

B01Envelope Open carrier for future datapoints; use the named operations for verified payload variants.

type B01KnownEmptyObject added in v0.2.0

type B01KnownEmptyObject = map[string]interface{}

B01KnownEmptyObject defines model for B01KnownEmptyObject.

type B01Method added in v0.2.0

type B01Method string

B01Method defines model for B01Method.

const (
	ServiceGetMapList    B01Method = "service.get_map_list"
	ServiceSetRoomClean  B01Method = "service.set_room_clean"
	ServiceUploadByMapid B01Method = "service.upload_by_mapid"
)

Defines values for B01Method.

type B01Q7CommandReply added in v0.2.0

type B01Q7CommandReply struct {
	Code *int `json:"code,omitempty"`

	// Data Device acknowledgement data has no verified stable shape.
	Data  *json.RawMessage `json:"data,omitempty"`
	MsgId string           `json:"msgId"`
}

B01Q7CommandReply defines model for B01Q7CommandReply.

type B01Q7RoomCleanEnvelope added in v0.2.0

type B01Q7RoomCleanEnvelope struct {
	Dps B01Q7RoomCleanEnvelopeDatapoints `json:"dps"`
}

B01Q7RoomCleanEnvelope defines model for B01Q7RoomCleanEnvelope.

type B01Q7RoomCleanEnvelopeDatapoints added in v0.2.0

type B01Q7RoomCleanEnvelopeDatapoints struct {
	N10000 B01Q7RoomCleanRPC `json:"10000"`
}

B01Q7RoomCleanEnvelopeDatapoints defines model for B01Q7RoomCleanEnvelopeDatapoints.

type B01Q7RoomCleanRPC added in v0.2.0

type B01Q7RoomCleanRPC struct {
	Method B01Q7RoomCleanRPCMethod `json:"method"`
	MsgId  string                  `json:"msgId"`
	Params Q7RoomCleanRequest      `json:"params"`
}

B01Q7RoomCleanRPC defines model for B01Q7RoomCleanRPC.

type B01Q7RoomCleanRPCMethod added in v0.2.0

type B01Q7RoomCleanRPCMethod string

B01Q7RoomCleanRPCMethod defines model for B01Q7RoomCleanRPC.Method.

const (
	B01Q7RoomCleanRPCPropertiesMethod0Value B01Q7RoomCleanRPCMethod = "service.set_room_clean"
)

Defines values for B01Q7RoomCleanRPCMethod.

type B01Q10RoomCleanCommand added in v0.2.0

type B01Q10RoomCleanCommand struct {
	// CleanParamters Room IDs from the selected Q10 map, represented as unsigned 16-bit integers; individual firmware acceptance is not established.
	CleanParamters B01Q10RoomIDs             `json:"clean_paramters"`
	Cmd            B01Q10RoomCleanCommandCmd `json:"cmd"`
}

B01Q10RoomCleanCommand defines model for B01Q10RoomCleanCommand.

type B01Q10RoomCleanCommandCmd added in v0.2.0

type B01Q10RoomCleanCommandCmd int

B01Q10RoomCleanCommandCmd defines model for B01Q10RoomCleanCommand.Cmd.

const (
	B01Q10RoomCleanCommandPropertiesCmd0Value B01Q10RoomCleanCommandCmd = 2
)

Defines values for B01Q10RoomCleanCommandCmd.

type B01Q10RoomCleanEnvelope added in v0.2.0

type B01Q10RoomCleanEnvelope struct {
	Dps B01Q10RoomCleanEnvelopeDatapoints `json:"dps"`
}

B01Q10RoomCleanEnvelope defines model for B01Q10RoomCleanEnvelope.

type B01Q10RoomCleanEnvelopeDatapoints added in v0.2.0

type B01Q10RoomCleanEnvelopeDatapoints struct {
	N201 B01Q10RoomCleanCommand `json:"201"`
}

B01Q10RoomCleanEnvelopeDatapoints defines model for B01Q10RoomCleanEnvelopeDatapoints.

type B01Q10RoomIDs added in v0.2.0

type B01Q10RoomIDs = []int64

B01Q10RoomIDs Room IDs from the selected Q10 map, represented as unsigned 16-bit integers; individual firmware acceptance is not established.

type B01Q10ZoneCleanCommand added in v0.2.0

type B01Q10ZoneCleanCommand struct {
	// CleanParamters Base64 of the 40-byte zone vector: version 1, repeat 1 through 3, one four-vertex polygon, eight signed big-endian 16-bit coordinates in 5 mm units relative to (25500,25500), zero name length, and 19 zero bytes.
	CleanParamters B01Q10ZonePayload         `json:"clean_paramters"`
	Cmd            B01Q10ZoneCleanCommandCmd `json:"cmd"`
}

B01Q10ZoneCleanCommand defines model for B01Q10ZoneCleanCommand.

type B01Q10ZoneCleanCommandCmd added in v0.2.0

type B01Q10ZoneCleanCommandCmd int

B01Q10ZoneCleanCommandCmd defines model for B01Q10ZoneCleanCommand.Cmd.

const (
	B01Q10ZoneCleanCommandPropertiesCmd0Value B01Q10ZoneCleanCommandCmd = 3
)

Defines values for B01Q10ZoneCleanCommandCmd.

type B01Q10ZoneCleanEnvelope added in v0.2.0

type B01Q10ZoneCleanEnvelope struct {
	Dps B01Q10ZoneCleanEnvelopeDatapoints `json:"dps"`
}

B01Q10ZoneCleanEnvelope defines model for B01Q10ZoneCleanEnvelope.

type B01Q10ZoneCleanEnvelopeDatapoints added in v0.2.0

type B01Q10ZoneCleanEnvelopeDatapoints struct {
	N201 B01Q10ZoneCleanCommand `json:"201"`
}

B01Q10ZoneCleanEnvelopeDatapoints defines model for B01Q10ZoneCleanEnvelopeDatapoints.

type B01Q10ZonePayload added in v0.2.0

type B01Q10ZonePayload = []byte

B01Q10ZonePayload Base64 of the 40-byte zone vector: version 1, repeat 1 through 3, one four-vertex polygon, eight signed big-endian 16-bit coordinates in 5 mm units relative to (25500,25500), zero name length, and 19 zero bytes.

type B01RPCRequest added in v0.2.0

type B01RPCRequest struct {
	Method B01Method       `json:"method"`
	MsgId  string          `json:"msgId"`
	Params json.RawMessage `json:"params"`
}

B01RPCRequest Open parameter carrier used by the transport; known method messages constrain parameters.

type B01RPCResponse added in v0.2.0

type B01RPCResponse struct {
	Code  *int             `json:"code,omitempty"`
	Data  *json.RawMessage `json:"data,omitempty"`
	MsgId string           `json:"msgId"`
}

B01RPCResponse defines model for B01RPCResponse.

type CameraAcknowledgement

type CameraAcknowledgement = []string

CameraAcknowledgement defines model for CameraAcknowledgement.

type CameraCheckPasswordRPCJSONRequestBody

type CameraCheckPasswordRPCJSONRequestBody = CameraPasswordParameters

CameraCheckPasswordRPCJSONRequestBody defines model for CameraCheckPasswordRPCJSONRequestBody.

type CameraDeviceICE

type CameraDeviceICE struct {
	DevIce *string `json:"dev_ice,omitempty"`
	Ice    *string `json:"ice,omitempty"`
}

CameraDeviceICE defines model for CameraDeviceICE.

type CameraDeviceSDP

type CameraDeviceSDP struct {
	// DevSdp Base64 encoded answer envelope, or the retry token.
	DevSdp *string `json:"dev_sdp,omitempty"`
	Sdp    *string `json:"sdp,omitempty"`
}

CameraDeviceSDP defines model for CameraDeviceSDP.

type CameraEmptyParameters

type CameraEmptyParameters = struct{}

CameraEmptyParameters defines model for CameraEmptyParameters.

type CameraGetICERPCJSONRequestBody

type CameraGetICERPCJSONRequestBody = CameraEmptyParameters

CameraGetICERPCJSONRequestBody defines model for CameraGetICERPCJSONRequestBody.

type CameraGetSDPRPCJSONRequestBody

type CameraGetSDPRPCJSONRequestBody = CameraEmptyParameters

CameraGetSDPRPCJSONRequestBody defines model for CameraGetSDPRPCJSONRequestBody.

type CameraGetTURNRPCJSONRequestBody

type CameraGetTURNRPCJSONRequestBody = CameraEmptyParameters

CameraGetTURNRPCJSONRequestBody defines model for CameraGetTURNRPCJSONRequestBody.

type CameraICEParameters

type CameraICEParameters struct {
	Ice string `json:"ice"`
}

CameraICEParameters defines model for CameraICEParameters.

type CameraPasswordParameters

type CameraPasswordParameters struct {
	Password string `json:"password"`
}

CameraPasswordParameters defines model for CameraPasswordParameters.

type CameraPreviewParameters

type CameraPreviewParameters struct {
	Password string `json:"password"`
	Quality  string `json:"quality"`
}

CameraPreviewParameters defines model for CameraPreviewParameters.

type CameraRPCMethod

type CameraRPCMethod string

CameraRPCMethod defines model for CameraRPCMethod.

const (
	RPCCameraCheckPassword CameraRPCMethod = "check_homesec_password"
	RPCCameraGetICE        CameraRPCMethod = "get_device_ice"
	RPCCameraGetSDP        CameraRPCMethod = "get_device_sdp"
	RPCCameraGetTURN       CameraRPCMethod = "get_turn_server"
	RPCCameraSendICE       CameraRPCMethod = "send_ice_to_robot"
	RPCCameraSendSDP       CameraRPCMethod = "send_sdp_to_robot"
	RPCCameraStartPreview  CameraRPCMethod = "start_camera_preview"
	RPCCameraStopPreview   CameraRPCMethod = "stop_camera_preview"
)

Defines values for CameraRPCMethod.

type CameraSDPEnvelope

type CameraSDPEnvelope struct {
	Sdp string `json:"sdp"`

	// Type SDP negotiation direction.
	Type CameraSDPType `json:"type"`
}

CameraSDPEnvelope defines model for CameraSDPEnvelope.

type CameraSDPParameters

type CameraSDPParameters struct {
	AppSdp string `json:"app_sdp"`
}

CameraSDPParameters defines model for CameraSDPParameters.

type CameraSDPRetry

type CameraSDPRetry string

CameraSDPRetry Device requests bounded polling while answer is not ready.

const (
	CameraSDPRetryPending CameraSDPRetry = "retry"
)

Defines values for CameraSDPRetry.

type CameraSDPType

type CameraSDPType string

CameraSDPType SDP negotiation direction.

const (
	CameraSDPTypeAnswer CameraSDPType = "answer"
	CameraSDPTypeOffer  CameraSDPType = "offer"
)

Defines values for CameraSDPType.

type CameraSendICERPCJSONRequestBody

type CameraSendICERPCJSONRequestBody = CameraICEParameters

CameraSendICERPCJSONRequestBody defines model for CameraSendICERPCJSONRequestBody.

type CameraSendSDPRPCJSONRequestBody

type CameraSendSDPRPCJSONRequestBody = CameraSDPParameters

CameraSendSDPRPCJSONRequestBody defines model for CameraSendSDPRPCJSONRequestBody.

type CameraStartPreviewRPCJSONRequestBody

type CameraStartPreviewRPCJSONRequestBody = CameraPreviewParameters

CameraStartPreviewRPCJSONRequestBody defines model for CameraStartPreviewRPCJSONRequestBody.

type CameraStopPreviewRPCJSONRequestBody

type CameraStopPreviewRPCJSONRequestBody = CameraEmptyParameters

CameraStopPreviewRPCJSONRequestBody defines model for CameraStopPreviewRPCJSONRequestBody.

type CameraTURN

type CameraTURN struct {
	Credential *string `json:"credential,omitempty"`
	Pwd        *string `json:"pwd,omitempty"`
	Url        *string `json:"url,omitempty"`
	User       *string `json:"user,omitempty"`
	Username   *string `json:"username,omitempty"`
}

CameraTURN defines model for CameraTURN.

type ChargeStatus

type ChargeStatus int64

ChargeStatus Open numeric enum from pinned Python V1 mappings; unknown firmware values are preserved. This named inventory lists known constants; field contracts explicitly accept future values.

const (
	ChargeStatusChargeWaiting ChargeStatus = 0
	ChargeStatusCharging      ChargeStatus = 1
	ChargeStatusUnknown       ChargeStatus = -1
)

Defines values for ChargeStatus.

type CleanFinishReason

type CleanFinishReason int64

CleanFinishReason Open numeric enum from pinned Python V1 mappings; unknown firmware values are preserved. This named inventory lists known constants; field contracts explicitly accept future values.

const (
	CleanFinishReasonAreaUnreachable      CleanFinishReason = 61
	CleanFinishReasonAreaUnreachable2     CleanFinishReason = 62
	CleanFinishReasonBackToWashFailure    CleanFinishReason = 68
	CleanFinishReasonBreakpoint           CleanFinishReason = 32
	CleanFinishReasonBreakpoint2          CleanFinishReason = 33
	CleanFinishReasonBreakpoint4          CleanFinishReason = 102
	CleanFinishReasonCleanupInterrupted   CleanFinishReason = 24
	CleanFinishReasonCleanupInterrupted10 CleanFinishReason = 109
	CleanFinishReasonCleanupInterrupted11 CleanFinishReason = 110
	CleanFinishReasonCleanupInterrupted2  CleanFinishReason = 34
	CleanFinishReasonCleanupInterrupted3  CleanFinishReason = 64
	CleanFinishReasonCleanupInterrupted4  CleanFinishReason = 51
	CleanFinishReasonCleanupInterrupted5  CleanFinishReason = 101
	CleanFinishReasonCleanupInterrupted6  CleanFinishReason = 104
	CleanFinishReasonCleanupInterrupted7  CleanFinishReason = 105
	CleanFinishReasonCleanupInterrupted8  CleanFinishReason = 106
	CleanFinishReasonCleanupInterrupted9  CleanFinishReason = 107
	CleanFinishReasonFinishedCleaning     CleanFinishReason = 52
	CleanFinishReasonFinishedCleaning2    CleanFinishReason = 54
	CleanFinishReasonFinishedCleaning3    CleanFinishReason = 55
	CleanFinishReasonFinishedCleaning4    CleanFinishReason = 56
	CleanFinishReasonFinishedClenaing5    CleanFinishReason = 57
	CleanFinishReasonLocateFail           CleanFinishReason = 45
	CleanFinishReasonLocateFail2          CleanFinishReason = 65
	CleanFinishReasonManualInterrupt      CleanFinishReason = 21
	CleanFinishReasonManualInterrupt10    CleanFinishReason = 60
	CleanFinishReasonManualInterrupt11    CleanFinishReason = 103
	CleanFinishReasonManualInterrupt12    CleanFinishReason = 29
	CleanFinishReasonManualInterrupt3     CleanFinishReason = 35
	CleanFinishReasonManualInterrupt4     CleanFinishReason = 36
	CleanFinishReasonManualInterrupt5     CleanFinishReason = 37
	CleanFinishReasonManualInterrupt6     CleanFinishReason = 43
	CleanFinishReasonManualInterrupt7     CleanFinishReason = 48
	CleanFinishReasonManualInterrupt8     CleanFinishReason = 49
	CleanFinishReasonManualInterrupt9     CleanFinishReason = 50
	CleanFinishReasonPatrolFail           CleanFinishReason = 115
	CleanFinishReasonPatrolSuccess        CleanFinishReason = 114
	CleanFinishReasonPetPatrolFail        CleanFinishReason = 117
	CleanFinishReasonPetPatrolSuccess     CleanFinishReason = 116
	CleanFinishReasonWashingError         CleanFinishReason = 67
)

Defines values for CleanFinishReason.

const (
	CleanFinishReasonManualInterrupt2 CleanFinishReason = 21
)

type CleanMotorMode added in v0.3.0

type CleanMotorMode struct {
	FanPower     int64  `json:"fan_power"`
	MopMode      *int64 `json:"mop_mode,omitempty"`
	WaterBoxMode int64  `json:"water_box_mode"`
}

CleanMotorMode defines model for CleanMotorMode.

type CleanMotorModeParameters added in v0.3.0

type CleanMotorModeParameters = []CleanMotorMode

CleanMotorModeParameters defines model for CleanMotorModeParameters.

type CleanRecord

type CleanRecord struct {
	Area       *int64 `json:"area,omitempty"`
	AvoidCount *int64 `json:"avoid_count,omitempty"`
	Begin      *int64 `json:"begin,omitempty"`

	// CleanType Open CleanType value; future firmware values are accepted.
	CleanType            *CleanType `json:"clean_type,omitempty"`
	Complete             *int64     `json:"complete,omitempty"`
	Duration             *int64     `json:"duration,omitempty"`
	DustCollectionStatus *int64     `json:"dust_collection_status,omitempty"`
	End                  *int64     `json:"end,omitempty"`
	Error                *int64     `json:"error,omitempty"`

	// FinishReason Open CleanFinishReason value; future firmware values are accepted.
	FinishReason *CleanFinishReason `json:"finish_reason,omitempty"`
	MapFlag      *int64             `json:"map_flag,omitempty"`

	// StartType Open CleanStartType value; future firmware values are accepted.
	StartType            *CleanStartType            `json:"start_type,omitempty"`
	WashCount            *int64                     `json:"wash_count,omitempty"`
	AdditionalProperties map[string]json.RawMessage `json:"-"`
}

CleanRecord Presence-aware CleanRecord inventory from pinned Python V1 containers; absent fields stay absent. Cleaning area is square millimeters and durations are seconds.

func (CleanRecord) Get

func (a CleanRecord) Get(fieldName string) (value json.RawMessage, found bool)

Getter for additional properties for CleanRecord. Returns the specified element and whether it was found

func (CleanRecord) MarshalJSON

func (a CleanRecord) MarshalJSON() ([]byte, error)

Override default JSON handling for CleanRecord to handle AdditionalProperties

func (*CleanRecord) Set

func (a *CleanRecord) Set(fieldName string, value json.RawMessage)

Setter for additional properties for CleanRecord

func (*CleanRecord) UnmarshalJSON

func (a *CleanRecord) UnmarshalJSON(b []byte) error

Override default JSON handling for CleanRecord to handle AdditionalProperties

type CleanRecordLegacy

type CleanRecordLegacy = []int64

CleanRecordLegacy Legacy numeric record tuple: begin Unix time, end Unix time, duration seconds, area square millimeters. Additional numeric columns have unknown meaning and are not projected.

type CleanRecordParts

type CleanRecordParts = []CleanRecordParts_Item

CleanRecordParts Ordered multipart record response. Each part is an object or a legacy numeric tuple; deeper arbitrary array recursion is unsupported.

type CleanRecordParts_Item

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

CleanRecordParts_Item defines model for CleanRecordParts.Item.

func (CleanRecordParts_Item) AsCleanRecord

func (t CleanRecordParts_Item) AsCleanRecord() (CleanRecord, error)

AsCleanRecord returns the union data inside the CleanRecordParts_Item as a CleanRecord

func (CleanRecordParts_Item) AsCleanRecordLegacy

func (t CleanRecordParts_Item) AsCleanRecordLegacy() (CleanRecordLegacy, error)

AsCleanRecordLegacy returns the union data inside the CleanRecordParts_Item as a CleanRecordLegacy

func (*CleanRecordParts_Item) FromCleanRecord

func (t *CleanRecordParts_Item) FromCleanRecord(v CleanRecord) error

FromCleanRecord overwrites any union data inside the CleanRecordParts_Item as the provided CleanRecord

func (*CleanRecordParts_Item) FromCleanRecordLegacy

func (t *CleanRecordParts_Item) FromCleanRecordLegacy(v CleanRecordLegacy) error

FromCleanRecordLegacy overwrites any union data inside the CleanRecordParts_Item as the provided CleanRecordLegacy

func (CleanRecordParts_Item) MarshalJSON

func (t CleanRecordParts_Item) MarshalJSON() ([]byte, error)

func (*CleanRecordParts_Item) MergeCleanRecord

func (t *CleanRecordParts_Item) MergeCleanRecord(v CleanRecord) error

MergeCleanRecord performs a merge with any union data inside the CleanRecordParts_Item, using the provided CleanRecord

func (*CleanRecordParts_Item) MergeCleanRecordLegacy

func (t *CleanRecordParts_Item) MergeCleanRecordLegacy(v CleanRecordLegacy) error

MergeCleanRecordLegacy performs a merge with any union data inside the CleanRecordParts_Item, using the provided CleanRecordLegacy

func (*CleanRecordParts_Item) UnmarshalJSON

func (t *CleanRecordParts_Item) UnmarshalJSON(b []byte) error

type CleanRecordRPCResult

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

CleanRecordRPCResult One record object, a legacy numeric tuple, or ordered multipart record objects and nested legacy tuples.

func (CleanRecordRPCResult) AsCleanRecord

func (t CleanRecordRPCResult) AsCleanRecord() (CleanRecord, error)

AsCleanRecord returns the union data inside the CleanRecordRPCResult as a CleanRecord

func (CleanRecordRPCResult) AsCleanRecordLegacy

func (t CleanRecordRPCResult) AsCleanRecordLegacy() (CleanRecordLegacy, error)

AsCleanRecordLegacy returns the union data inside the CleanRecordRPCResult as a CleanRecordLegacy

func (CleanRecordRPCResult) AsCleanRecordParts

func (t CleanRecordRPCResult) AsCleanRecordParts() (CleanRecordParts, error)

AsCleanRecordParts returns the union data inside the CleanRecordRPCResult as a CleanRecordParts

func (*CleanRecordRPCResult) FromCleanRecord

func (t *CleanRecordRPCResult) FromCleanRecord(v CleanRecord) error

FromCleanRecord overwrites any union data inside the CleanRecordRPCResult as the provided CleanRecord

func (*CleanRecordRPCResult) FromCleanRecordLegacy

func (t *CleanRecordRPCResult) FromCleanRecordLegacy(v CleanRecordLegacy) error

FromCleanRecordLegacy overwrites any union data inside the CleanRecordRPCResult as the provided CleanRecordLegacy

func (*CleanRecordRPCResult) FromCleanRecordParts

func (t *CleanRecordRPCResult) FromCleanRecordParts(v CleanRecordParts) error

FromCleanRecordParts overwrites any union data inside the CleanRecordRPCResult as the provided CleanRecordParts

func (CleanRecordRPCResult) MarshalJSON

func (t CleanRecordRPCResult) MarshalJSON() ([]byte, error)

func (*CleanRecordRPCResult) MergeCleanRecord

func (t *CleanRecordRPCResult) MergeCleanRecord(v CleanRecord) error

MergeCleanRecord performs a merge with any union data inside the CleanRecordRPCResult, using the provided CleanRecord

func (*CleanRecordRPCResult) MergeCleanRecordLegacy

func (t *CleanRecordRPCResult) MergeCleanRecordLegacy(v CleanRecordLegacy) error

MergeCleanRecordLegacy performs a merge with any union data inside the CleanRecordRPCResult, using the provided CleanRecordLegacy

func (*CleanRecordRPCResult) MergeCleanRecordParts

func (t *CleanRecordRPCResult) MergeCleanRecordParts(v CleanRecordParts) error

MergeCleanRecordParts performs a merge with any union data inside the CleanRecordRPCResult, using the provided CleanRecordParts

func (*CleanRecordRPCResult) UnmarshalJSON

func (t *CleanRecordRPCResult) UnmarshalJSON(b []byte) error

type CleanSegmentsRPCJSONRequestBody

type CleanSegmentsRPCJSONRequestBody = SegmentParameters

CleanSegmentsRPCJSONRequestBody defines model for CleanSegmentsRPCJSONRequestBody.

type CleanStartType

type CleanStartType int64

CleanStartType Open numeric enum from pinned Python V1 mappings; unknown firmware values are preserved. This named inventory lists known constants; field contracts explicitly accept future values.

const (
	CleanStartTypeAlexa        CleanStartType = 801
	CleanStartTypeAlipay       CleanStartType = 902
	CleanStartTypeApp          CleanStartType = 2
	CleanStartTypeAqara        CleanStartType = 903
	CleanStartTypeButton       CleanStartType = 1
	CleanStartTypeClova        CleanStartType = 811
	CleanStartTypeDingdong     CleanStartType = 809
	CleanStartTypeDuer         CleanStartType = 808
	CleanStartTypeGoogle       CleanStartType = 802
	CleanStartTypeHisense      CleanStartType = 904
	CleanStartTypeHomekit      CleanStartType = 805
	CleanStartTypeHuawei       CleanStartType = 905
	CleanStartTypeIfttt        CleanStartType = 803
	CleanStartTypeMiHome       CleanStartType = 4
	CleanStartTypeQuickStart   CleanStartType = 5
	CleanStartTypeRoutines     CleanStartType = 101
	CleanStartTypeSchedule     CleanStartType = 3
	CleanStartTypeSiri         CleanStartType = 810
	CleanStartTypeSmartWatch   CleanStartType = 821
	CleanStartTypeTmallGenie   CleanStartType = 807
	CleanStartTypeVoiceControl CleanStartType = 13
	CleanStartTypeWechat       CleanStartType = 901
	CleanStartTypeWidgetLaunch CleanStartType = 820
	CleanStartTypeXiaoai       CleanStartType = 806
	CleanStartTypeYandex       CleanStartType = 804
)

Defines values for CleanStartType.

type CleanType

type CleanType int64

CleanType Open numeric enum from pinned Python V1 mappings; unknown firmware values are preserved. This named inventory lists known constants; field contracts explicitly accept future values.

const (
	CleanTypeAllZone     CleanType = 1
	CleanTypeDrawZone    CleanType = 2
	CleanTypePetPatrol   CleanType = 6
	CleanTypeQuickBuild  CleanType = 4
	CleanTypeSelectZone  CleanType = 3
	CleanTypeVideoPatrol CleanType = 5
)

Defines values for CleanType.

type CleanZonesRPCJSONRequestBody

type CleanZonesRPCJSONRequestBody = ZoneParameters

CleanZonesRPCJSONRequestBody defines model for CleanZonesRPCJSONRequestBody.

type CleaningState

type CleaningState int64

CleaningState Open numeric enum from pinned Python V1 mappings; unknown firmware values are preserved. This named inventory lists known constants; field contracts explicitly accept future values.

const (
	CleaningStateComplete                CleaningState = 0
	CleaningStateGlobalCleanNotComplete  CleaningState = 1
	CleaningStateSegmentCleanNotComplete CleaningState = 3
	CleaningStateZoneCleanNotComplete    CleaningState = 2
)

Defines values for CleaningState.

type CleaningSummary

type CleaningSummary struct {
	CleanArea            *int64                     `json:"clean_area,omitempty"`
	CleanCount           *int64                     `json:"clean_count,omitempty"`
	CleanTime            *int64                     `json:"clean_time,omitempty"`
	DustCollectionCount  *int64                     `json:"dust_collection_count,omitempty"`
	LastCleanT           *int64                     `json:"last_clean_t,omitempty"`
	Records              *[]int64                   `json:"records,omitempty"`
	AdditionalProperties map[string]json.RawMessage `json:"-"`
}

CleaningSummary Presence-aware CleaningSummary inventory from pinned Python V1 containers; absent fields stay absent. Cleaning area is square millimeters and durations are seconds.

func (CleaningSummary) Get

func (a CleaningSummary) Get(fieldName string) (value json.RawMessage, found bool)

Getter for additional properties for CleaningSummary. Returns the specified element and whether it was found

func (CleaningSummary) MarshalJSON

func (a CleaningSummary) MarshalJSON() ([]byte, error)

Override default JSON handling for CleaningSummary to handle AdditionalProperties

func (*CleaningSummary) Set

func (a *CleaningSummary) Set(fieldName string, value json.RawMessage)

Setter for additional properties for CleaningSummary

func (*CleaningSummary) UnmarshalJSON

func (a *CleaningSummary) UnmarshalJSON(b []byte) error

Override default JSON handling for CleaningSummary to handle AdditionalProperties

type CleaningSummaryCounter

type CleaningSummaryCounter = int64

CleaningSummaryCounter Legacy tuple counter; null means unavailable.

type CleaningSummaryDuration

type CleaningSummaryDuration = int64

CleaningSummaryDuration Total cleaning time in seconds when the device returns only a scalar duration.

type CleaningSummaryLegacy

type CleaningSummaryLegacy = []json.RawMessage

CleaningSummaryLegacy Ordered clean_time, clean_area, clean_count, records; fourth entry is an array of record IDs. OpenAPI 3.0 represents the heterogeneous array elements; the SDK additionally enforces numeric counters in the first three positions and record IDs in the fourth.

type CleaningSummaryRPCResult

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

CleaningSummaryRPCResult Object, single duration, ordered legacy tuple, or singleton object array as supported by the pinned Python V1 converter.

func (CleaningSummaryRPCResult) AsCleaningSummary

func (t CleaningSummaryRPCResult) AsCleaningSummary() (CleaningSummary, error)

AsCleaningSummary returns the union data inside the CleaningSummaryRPCResult as a CleaningSummary

func (CleaningSummaryRPCResult) AsCleaningSummaryDuration

func (t CleaningSummaryRPCResult) AsCleaningSummaryDuration() (CleaningSummaryDuration, error)

AsCleaningSummaryDuration returns the union data inside the CleaningSummaryRPCResult as a CleaningSummaryDuration

func (CleaningSummaryRPCResult) AsCleaningSummaryLegacy

func (t CleaningSummaryRPCResult) AsCleaningSummaryLegacy() (CleaningSummaryLegacy, error)

AsCleaningSummaryLegacy returns the union data inside the CleaningSummaryRPCResult as a CleaningSummaryLegacy

func (CleaningSummaryRPCResult) AsCleaningSummarySingletonResult

func (t CleaningSummaryRPCResult) AsCleaningSummarySingletonResult() (CleaningSummarySingletonResult, error)

AsCleaningSummarySingletonResult returns the union data inside the CleaningSummaryRPCResult as a CleaningSummarySingletonResult

func (*CleaningSummaryRPCResult) FromCleaningSummary

func (t *CleaningSummaryRPCResult) FromCleaningSummary(v CleaningSummary) error

FromCleaningSummary overwrites any union data inside the CleaningSummaryRPCResult as the provided CleaningSummary

func (*CleaningSummaryRPCResult) FromCleaningSummaryDuration

func (t *CleaningSummaryRPCResult) FromCleaningSummaryDuration(v CleaningSummaryDuration) error

FromCleaningSummaryDuration overwrites any union data inside the CleaningSummaryRPCResult as the provided CleaningSummaryDuration

func (*CleaningSummaryRPCResult) FromCleaningSummaryLegacy

func (t *CleaningSummaryRPCResult) FromCleaningSummaryLegacy(v CleaningSummaryLegacy) error

FromCleaningSummaryLegacy overwrites any union data inside the CleaningSummaryRPCResult as the provided CleaningSummaryLegacy

func (*CleaningSummaryRPCResult) FromCleaningSummarySingletonResult

func (t *CleaningSummaryRPCResult) FromCleaningSummarySingletonResult(v CleaningSummarySingletonResult) error

FromCleaningSummarySingletonResult overwrites any union data inside the CleaningSummaryRPCResult as the provided CleaningSummarySingletonResult

func (CleaningSummaryRPCResult) MarshalJSON

func (t CleaningSummaryRPCResult) MarshalJSON() ([]byte, error)

func (*CleaningSummaryRPCResult) MergeCleaningSummary

func (t *CleaningSummaryRPCResult) MergeCleaningSummary(v CleaningSummary) error

MergeCleaningSummary performs a merge with any union data inside the CleaningSummaryRPCResult, using the provided CleaningSummary

func (*CleaningSummaryRPCResult) MergeCleaningSummaryDuration

func (t *CleaningSummaryRPCResult) MergeCleaningSummaryDuration(v CleaningSummaryDuration) error

MergeCleaningSummaryDuration performs a merge with any union data inside the CleaningSummaryRPCResult, using the provided CleaningSummaryDuration

func (*CleaningSummaryRPCResult) MergeCleaningSummaryLegacy

func (t *CleaningSummaryRPCResult) MergeCleaningSummaryLegacy(v CleaningSummaryLegacy) error

MergeCleaningSummaryLegacy performs a merge with any union data inside the CleaningSummaryRPCResult, using the provided CleaningSummaryLegacy

func (*CleaningSummaryRPCResult) MergeCleaningSummarySingletonResult

func (t *CleaningSummaryRPCResult) MergeCleaningSummarySingletonResult(v CleaningSummarySingletonResult) error

MergeCleaningSummarySingletonResult performs a merge with any union data inside the CleaningSummaryRPCResult, using the provided CleaningSummarySingletonResult

func (*CleaningSummaryRPCResult) UnmarshalJSON

func (t *CleaningSummaryRPCResult) UnmarshalJSON(b []byte) error

type CleaningSummaryRecordIDs

type CleaningSummaryRecordIDs = []int64

CleaningSummaryRecordIDs Legacy tuple fourth position contains cleaning record IDs.

type CleaningSummarySingletonResult

type CleaningSummarySingletonResult = []CleaningSummary

CleaningSummarySingletonResult defines model for CleaningSummarySingletonResult.

type ClientLanguage

type ClientLanguage string

ClientLanguage defines model for ClientLanguage.

const (
	ClientLanguageEnglish ClientLanguage = "en"
)

Defines values for ClientLanguage.

type CodeLoginForm

type CodeLoginForm struct {
	Code                 string                     `json:"code"`
	Country              string                     `json:"country"`
	CountryCode          string                     `json:"countryCode"`
	Email                string                     `json:"email"`
	MajorVersion         int64                      `json:"majorVersion"`
	MinorVersion         int64                      `json:"minorVersion"`
	AdditionalProperties map[string]json.RawMessage `json:"-"`
}

CodeLoginForm defines model for CodeLoginForm.

func (CodeLoginForm) Get

func (a CodeLoginForm) Get(fieldName string) (value json.RawMessage, found bool)

Getter for additional properties for CodeLoginForm. Returns the specified element and whether it was found

func (CodeLoginForm) MarshalJSON

func (a CodeLoginForm) MarshalJSON() ([]byte, error)

Override default JSON handling for CodeLoginForm to handle AdditionalProperties

func (*CodeLoginForm) Set

func (a *CodeLoginForm) Set(fieldName string, value json.RawMessage)

Setter for additional properties for CodeLoginForm

func (*CodeLoginForm) UnmarshalJSON

func (a *CodeLoginForm) UnmarshalJSON(b []byte) error

Override default JSON handling for CodeLoginForm to handle AdditionalProperties

type CodeRequest

type CodeRequest struct {
	Email                string                     `json:"email"`
	Platform             string                     `json:"platform"`
	Type                 CodeRequestType            `json:"type"`
	AdditionalProperties map[string]json.RawMessage `json:"-"`
}

CodeRequest defines model for CodeRequest.

func (CodeRequest) Get

func (a CodeRequest) Get(fieldName string) (value json.RawMessage, found bool)

Getter for additional properties for CodeRequest. Returns the specified element and whether it was found

func (CodeRequest) MarshalJSON

func (a CodeRequest) MarshalJSON() ([]byte, error)

Override default JSON handling for CodeRequest to handle AdditionalProperties

func (*CodeRequest) Set

func (a *CodeRequest) Set(fieldName string, value json.RawMessage)

Setter for additional properties for CodeRequest

func (*CodeRequest) UnmarshalJSON

func (a *CodeRequest) UnmarshalJSON(b []byte) error

Override default JSON handling for CodeRequest to handle AdditionalProperties

type CodeRequestType

type CodeRequestType string

CodeRequestType defines model for CodeRequest.Type.

const (
	Login CodeRequestType = "login"
)

Defines values for CodeRequestType.

type CodeResponse

type CodeResponse struct {
	Code                 int                        `json:"code"`
	Msg                  *string                    `json:"msg"`
	AdditionalProperties map[string]json.RawMessage `json:"-"`
}

CodeResponse defines model for CodeResponse.

func (CodeResponse) Get

func (a CodeResponse) Get(fieldName string) (value json.RawMessage, found bool)

Getter for additional properties for CodeResponse. Returns the specified element and whether it was found

func (CodeResponse) MarshalJSON

func (a CodeResponse) MarshalJSON() ([]byte, error)

Override default JSON handling for CodeResponse to handle AdditionalProperties

func (*CodeResponse) Set

func (a *CodeResponse) Set(fieldName string, value json.RawMessage)

Setter for additional properties for CodeResponse

func (*CodeResponse) UnmarshalJSON

func (a *CodeResponse) UnmarshalJSON(b []byte) error

Override default JSON handling for CodeResponse to handle AdditionalProperties

type CommandAcceptance

type CommandAcceptance string

CommandAcceptance Device command acceptance token. Unknown tokens are rejected by the public operation.

const (
	CommandAcceptanceOK CommandAcceptance = "ok"
)

Defines values for CommandAcceptance.

type Consumables

type Consumables struct {
	CleaningBrushWorkTimes  *int64                     `json:"cleaning_brush_work_times,omitempty"`
	DustCollectionWorkTimes *int64                     `json:"dust_collection_work_times,omitempty"`
	FilterElementWorkTime   *int64                     `json:"filter_element_work_time,omitempty"`
	FilterWorkTime          *int64                     `json:"filter_work_time,omitempty"`
	MainBrushWorkTime       *int64                     `json:"main_brush_work_time,omitempty"`
	MoprollerWorkTime       *int64                     `json:"moproller_work_time,omitempty"`
	SensorDirtyTime         *int64                     `json:"sensor_dirty_time,omitempty"`
	SideBrushWorkTime       *int64                     `json:"side_brush_work_time,omitempty"`
	StrainerWorkTimes       *int64                     `json:"strainer_work_times,omitempty"`
	AdditionalProperties    map[string]json.RawMessage `json:"-"`
}

Consumables Presence-aware Consumables inventory from pinned Python V1 containers; absent fields stay absent. Cleaning area is square millimeters and durations are seconds.

func (Consumables) Get

func (a Consumables) Get(fieldName string) (value json.RawMessage, found bool)

Getter for additional properties for Consumables. Returns the specified element and whether it was found

func (Consumables) MarshalJSON

func (a Consumables) MarshalJSON() ([]byte, error)

Override default JSON handling for Consumables to handle AdditionalProperties

func (*Consumables) Set

func (a *Consumables) Set(fieldName string, value json.RawMessage)

Setter for additional properties for Consumables

func (*Consumables) UnmarshalJSON

func (a *Consumables) UnmarshalJSON(b []byte) error

Override default JSON handling for Consumables to handle AdditionalProperties

type ConsumablesRPCResult

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

ConsumablesRPCResult Device returns an object or an array containing exactly one object. Unknown firmware fields remain available as raw JSON properties.

func (ConsumablesRPCResult) AsConsumables

func (t ConsumablesRPCResult) AsConsumables() (Consumables, error)

AsConsumables returns the union data inside the ConsumablesRPCResult as a Consumables

func (ConsumablesRPCResult) AsConsumablesSingletonResult

func (t ConsumablesRPCResult) AsConsumablesSingletonResult() (ConsumablesSingletonResult, error)

AsConsumablesSingletonResult returns the union data inside the ConsumablesRPCResult as a ConsumablesSingletonResult

func (*ConsumablesRPCResult) FromConsumables

func (t *ConsumablesRPCResult) FromConsumables(v Consumables) error

FromConsumables overwrites any union data inside the ConsumablesRPCResult as the provided Consumables

func (*ConsumablesRPCResult) FromConsumablesSingletonResult

func (t *ConsumablesRPCResult) FromConsumablesSingletonResult(v ConsumablesSingletonResult) error

FromConsumablesSingletonResult overwrites any union data inside the ConsumablesRPCResult as the provided ConsumablesSingletonResult

func (ConsumablesRPCResult) MarshalJSON

func (t ConsumablesRPCResult) MarshalJSON() ([]byte, error)

func (*ConsumablesRPCResult) MergeConsumables

func (t *ConsumablesRPCResult) MergeConsumables(v Consumables) error

MergeConsumables performs a merge with any union data inside the ConsumablesRPCResult, using the provided Consumables

func (*ConsumablesRPCResult) MergeConsumablesSingletonResult

func (t *ConsumablesRPCResult) MergeConsumablesSingletonResult(v ConsumablesSingletonResult) error

MergeConsumablesSingletonResult performs a merge with any union data inside the ConsumablesRPCResult, using the provided ConsumablesSingletonResult

func (*ConsumablesRPCResult) UnmarshalJSON

func (t *ConsumablesRPCResult) UnmarshalJSON(b []byte) error

type ConsumablesSingletonResult

type ConsumablesSingletonResult = []Consumables

ConsumablesSingletonResult defines model for ConsumablesSingletonResult.

type DND

type DND struct {
	Enabled              *int64                     `json:"enabled,omitempty"`
	EndHour              *int64                     `json:"end_hour,omitempty"`
	EndMinute            *int64                     `json:"end_minute,omitempty"`
	StartHour            *int64                     `json:"start_hour,omitempty"`
	StartMinute          *int64                     `json:"start_minute,omitempty"`
	AdditionalProperties map[string]json.RawMessage `json:"-"`
}

DND defines model for DND.

func (DND) Get

func (a DND) Get(fieldName string) (value json.RawMessage, found bool)

Getter for additional properties for DND. Returns the specified element and whether it was found

func (DND) MarshalJSON

func (a DND) MarshalJSON() ([]byte, error)

Override default JSON handling for DND to handle AdditionalProperties

func (*DND) Set

func (a *DND) Set(fieldName string, value json.RawMessage)

Setter for additional properties for DND

func (*DND) UnmarshalJSON

func (a *DND) UnmarshalJSON(b []byte) error

Override default JSON handling for DND to handle AdditionalProperties

type DNDRPCResult

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

DNDRPCResult Device returns an object or an array containing exactly one object. Unknown firmware fields remain available as raw JSON properties.

func (DNDRPCResult) AsDND

func (t DNDRPCResult) AsDND() (DND, error)

AsDND returns the union data inside the DNDRPCResult as a DND

func (DNDRPCResult) AsDNDSingletonResult

func (t DNDRPCResult) AsDNDSingletonResult() (DNDSingletonResult, error)

AsDNDSingletonResult returns the union data inside the DNDRPCResult as a DNDSingletonResult

func (*DNDRPCResult) FromDND

func (t *DNDRPCResult) FromDND(v DND) error

FromDND overwrites any union data inside the DNDRPCResult as the provided DND

func (*DNDRPCResult) FromDNDSingletonResult

func (t *DNDRPCResult) FromDNDSingletonResult(v DNDSingletonResult) error

FromDNDSingletonResult overwrites any union data inside the DNDRPCResult as the provided DNDSingletonResult

func (DNDRPCResult) MarshalJSON

func (t DNDRPCResult) MarshalJSON() ([]byte, error)

func (*DNDRPCResult) MergeDND

func (t *DNDRPCResult) MergeDND(v DND) error

MergeDND performs a merge with any union data inside the DNDRPCResult, using the provided DND

func (*DNDRPCResult) MergeDNDSingletonResult

func (t *DNDRPCResult) MergeDNDSingletonResult(v DNDSingletonResult) error

MergeDNDSingletonResult performs a merge with any union data inside the DNDRPCResult, using the provided DNDSingletonResult

func (*DNDRPCResult) UnmarshalJSON

func (t *DNDRPCResult) UnmarshalJSON(b []byte) error

type DNDSingletonResult

type DNDSingletonResult = []DND

DNDSingletonResult defines model for DNDSingletonResult.

type DeviceErrorCode

type DeviceErrorCode int64

DeviceErrorCode Open numeric enum from pinned Python V1 mappings; unknown firmware values are preserved. This named inventory lists known constants; field contracts explicitly accept future values.

const (
	DeviceErrorCodeAudioError             DeviceErrorCode = 56
	DeviceErrorCodeBatteryError           DeviceErrorCode = 14
	DeviceErrorCodeBumperStuck            DeviceErrorCode = 2
	DeviceErrorCodeCannotCrossCarpet      DeviceErrorCode = 31
	DeviceErrorCodeChargingError          DeviceErrorCode = 13
	DeviceErrorCodeCheckCleanCarouse      DeviceErrorCode = 55
	DeviceErrorCodeCleanCarouselException DeviceErrorCode = 52
	DeviceErrorCodeCleanCarouselWaterFull DeviceErrorCode = 53
	DeviceErrorCodeClearBrushException    DeviceErrorCode = 42
	DeviceErrorCodeClearBrushException2   DeviceErrorCode = 43
	DeviceErrorCodeClearWaterBoxException DeviceErrorCode = 41
	DeviceErrorCodeClearWaterBoxHoare     DeviceErrorCode = 38
	DeviceErrorCodeCliffSensorError       DeviceErrorCode = 4
	DeviceErrorCodeCollectDustError3      DeviceErrorCode = 34
	DeviceErrorCodeCollectDustError4      DeviceErrorCode = 35
	DeviceErrorCodeCompassError           DeviceErrorCode = 11
	DeviceErrorCodeDirtyWaterBoxHoare     DeviceErrorCode = 39
	DeviceErrorCodeDock                   DeviceErrorCode = 19
	DeviceErrorCodeDockLocatorError       DeviceErrorCode = 22
	DeviceErrorCodeDrainWaterException    DeviceErrorCode = 49
	DeviceErrorCodeFanError               DeviceErrorCode = 18
	DeviceErrorCodeFilterBlocked          DeviceErrorCode = 29
	DeviceErrorCodeFilterScreenException  DeviceErrorCode = 44
	DeviceErrorCodeInternalError          DeviceErrorCode = 32
	DeviceErrorCodeInvisibleWallDetected  DeviceErrorCode = 30
	DeviceErrorCodeLidarBlocked           DeviceErrorCode = 1
	DeviceErrorCodeLightTouch             DeviceErrorCode = 26
	DeviceErrorCodeLowBattery             DeviceErrorCode = 12
	DeviceErrorCodeMainBrushJammed        DeviceErrorCode = 5
	DeviceErrorCodeMoppingRoller1         DeviceErrorCode = 36
	DeviceErrorCodeMoppingRoller2         DeviceErrorCode = 45
	DeviceErrorCodeMoppingRollerError2    DeviceErrorCode = 37
	DeviceErrorCodeNoDustbin              DeviceErrorCode = 9
	DeviceErrorCodeNogoZoneDetected       DeviceErrorCode = 24
	DeviceErrorCodeNone                   DeviceErrorCode = 0
	DeviceErrorCodeOpticalFlowSensorDirt  DeviceErrorCode = 20
	DeviceErrorCodeReturnToDockFail       DeviceErrorCode = 23
	DeviceErrorCodeRobotOnCarpet          DeviceErrorCode = 28
	DeviceErrorCodeRobotTilted            DeviceErrorCode = 16
	DeviceErrorCodeRobotTrapped           DeviceErrorCode = 8
	DeviceErrorCodeSideBrushError         DeviceErrorCode = 17
	DeviceErrorCodeSideBrushJammed        DeviceErrorCode = 6
	DeviceErrorCodeSinkStrainerHoare      DeviceErrorCode = 40
	DeviceErrorCodeStrainerError          DeviceErrorCode = 10
	DeviceErrorCodeTemperatureProtection  DeviceErrorCode = 51
	DeviceErrorCodeUpWaterException       DeviceErrorCode = 48
	DeviceErrorCodeVerticalBumperPressed  DeviceErrorCode = 21
	DeviceErrorCodeVibrariseJammed        DeviceErrorCode = 27
	DeviceErrorCodeVisualSensor           DeviceErrorCode = 25
	DeviceErrorCodeWallSensorDirty        DeviceErrorCode = 15
	DeviceErrorCodeWaterCarriageDrop      DeviceErrorCode = 54
	DeviceErrorCodeWheelsJammed           DeviceErrorCode = 7
	DeviceErrorCodeWheelsSuspended        DeviceErrorCode = 3
)

Defines values for DeviceErrorCode.

type DeviceState

type DeviceState int64

DeviceState Open numeric enum from pinned Python V1 mappings; unknown firmware values are preserved. This named inventory lists known constants; field contracts explicitly accept future values.

const (
	DeviceStateAirDryingStopping       DeviceState = 202
	DeviceStateAttachingTheMop         DeviceState = 33
	DeviceStateBackToDockWashingDuster DeviceState = 6310
	DeviceStateChargerDisconnected     DeviceState = 2
	DeviceStateCharging                DeviceState = 8
	DeviceStateChargingComplete        DeviceState = 100
	DeviceStateChargingProblem         DeviceState = 9
	DeviceStateCleanMopCleaning        DeviceState = 6302
	DeviceStateCleanMopMopping         DeviceState = 6303
	DeviceStateCleaning                DeviceState = 5
	DeviceStateDetachingTheMop         DeviceState = 34
	DeviceStateDeviceOffline           DeviceState = 101
	DeviceStateDocking                 DeviceState = 15
	DeviceStateEggAttack               DeviceState = 30
	DeviceStateEmptyingTheBin          DeviceState = 22
	DeviceStateError                   DeviceState = 12
	DeviceStateGoingToTarget           DeviceState = 16
	DeviceStateGoingToWashTheMop       DeviceState = 26
	DeviceStateIdle                    DeviceState = 3
	DeviceStateInCall                  DeviceState = 28
	DeviceStateLocked                  DeviceState = 103
	DeviceStateManualMode              DeviceState = 7
	DeviceStateMapping                 DeviceState = 29
	DeviceStatePatrol                  DeviceState = 32
	DeviceStatePaused                  DeviceState = 10
	DeviceStateRemoteControlActive     DeviceState = 4
	DeviceStateReturningHome           DeviceState = 6
	DeviceStateRobotStatusMopping      DeviceState = 6301
	DeviceStateSegmentCleanMopCleaning DeviceState = 6305
	DeviceStateSegmentCleanMopMopping  DeviceState = 6306
	DeviceStateSegmentCleaning         DeviceState = 18
	DeviceStateSegmentMopping          DeviceState = 6304
	DeviceStateShuttingDown            DeviceState = 13
	DeviceStateSpotCleaning            DeviceState = 11
	DeviceStateStarting                DeviceState = 1
	DeviceStateUnknown                 DeviceState = 0
	DeviceStateUpdating                DeviceState = 14
	DeviceStateWashingTheMop           DeviceState = 23
	DeviceStateWashingTheMop2          DeviceState = 25
	DeviceStateZonedCleanMopCleaning   DeviceState = 6308
	DeviceStateZonedCleanMopMopping    DeviceState = 6309
	DeviceStateZonedCleaning           DeviceState = 17
	DeviceStateZonedMopping            DeviceState = 6307
)

Defines values for DeviceState.

type DisableDNDRPCJSONRequestBody

type DisableDNDRPCJSONRequestBody = NoParameters

DisableDNDRPCJSONRequestBody defines model for DisableDNDRPCJSONRequestBody.

type DockErrorCode

type DockErrorCode int64

DockErrorCode Open numeric enum from pinned Python V1 mappings; unknown firmware values are preserved. This named inventory lists known constants; field contracts explicitly accept future values.

const (
	DockErrorCodeAutoEmptyDockFanError     DockErrorCode = 33
	DockErrorCodeAutoEmptyDockVoltageError DockErrorCode = 35
	DockErrorCodeCleaningTankFullOrBlocked DockErrorCode = 53
	DockErrorCodeDirtyTankLatchOpen        DockErrorCode = 44
	DockErrorCodeDuctBlockage              DockErrorCode = 34
	DockErrorCodeMaintenanceBrushJammed    DockErrorCode = 42
	DockErrorCodeNoDustbin                 DockErrorCode = 46
	DockErrorCodeNoDustbinOrFilter         DockErrorCode = 32
	DockErrorCodeOk                        DockErrorCode = 0
	DockErrorCodeWasteWaterTankFull        DockErrorCode = 39
	DockErrorCodeWaterEmpty                DockErrorCode = 38
)

Defines values for DockErrorCode.

type DockType

type DockType int64

DockType Open numeric enum from pinned Python V1 mappings; unknown firmware values are preserved. This named inventory lists known constants; field contracts explicitly accept future values.

const (
	DockTypeCoupleDock      DockType = 13
	DockTypeF1CDock         DockType = 46
	DockTypeF1Dock          DockType = 41
	DockTypeF1RDock         DockType = 42
	DockTypeF1SDock         DockType = 44
	DockTypeF2RDock         DockType = 43
	DockTypeHeraDock        DockType = 24
	DockTypeK1CDock         DockType = 19
	DockTypeK1CLiteDock     DockType = 28
	DockTypeK1DDock         DockType = 37
	DockTypeK1Dock          DockType = 17
	DockTypeK1RDock         DockType = 29
	DockTypeK1SDock         DockType = 20
	DockTypeK1SProDock      DockType = 26
	DockTypeO0Dock          DockType = 0
	DockTypeO1Dock          DockType = 1
	DockTypeO2Dock          DockType = 2
	DockTypeO3Dock          DockType = 3
	DockTypeO3PlusDock      DockType = 6
	DockTypeO4Dock          DockType = 7
	DockTypeO5Dock          DockType = 10
	DockTypeO6Dock          DockType = 18
	DockTypeO7Dock          DockType = 35
	DockTypeO7HDock         DockType = 45
	DockTypeOcDock          DockType = 5
	DockTypePearlDock       DockType = 8
	DockTypePearlPlusDock   DockType = 9
	DockTypeShell2CDock     DockType = 15
	DockTypeShell2EDock     DockType = 22
	DockTypeShell2EHeatDock DockType = 40
	DockTypeShell2ELiteDock DockType = 30
	DockTypeShell2SDock     DockType = 11
	DockTypeShell3CDock     DockType = 23
	DockTypeShell3Dock      DockType = 14
	DockTypeShell3PDock     DockType = 38
	DockTypeShell3SDock     DockType = 16
	DockTypeShell4DDock     DockType = 39
	DockTypeShell4PDock     DockType = 33
	DockTypeShell4RDock     DockType = 32
	DockTypeShell4RcDock    DockType = 31
	DockTypeShell4SDock     DockType = 34
	DockTypeShellEDock      DockType = 21
	DockTypeType27Dock      DockType = 27
	DockTypeUnknown         DockType = -9999
)

Defines values for DockType.

type DyadStateWire

type DyadStateWire struct {
	// Status Status appliance datapoint.
	Status *int `json:"201,omitempty"`

	// SelfCleanMode SelfCleanMode appliance datapoint.
	SelfCleanMode *int `json:"202,omitempty"`

	// SelfCleanLevel SelfCleanLevel appliance datapoint.
	SelfCleanLevel *int `json:"203,omitempty"`

	// WarmLevel WarmLevel appliance datapoint.
	WarmLevel *int `json:"204,omitempty"`

	// CleanMode CleanMode appliance datapoint.
	CleanMode *int `json:"205,omitempty"`

	// Suction Suction appliance datapoint.
	Suction *int `json:"206,omitempty"`

	// WaterLevel WaterLevel appliance datapoint.
	WaterLevel *int `json:"207,omitempty"`

	// BrushSpeed BrushSpeed appliance datapoint.
	BrushSpeed *int `json:"208,omitempty"`

	// Power Power appliance datapoint.
	Power *int `json:"209,omitempty"`

	// CountdownTime CountdownTime appliance datapoint.
	CountdownTime *int `json:"210,omitempty"`

	// AutoSelfCleanSet AutoSelfCleanSet appliance datapoint.
	AutoSelfCleanSet *int `json:"212,omitempty"`

	// AutoDry AutoDry appliance datapoint.
	AutoDry *int `json:"213,omitempty"`

	// MeshLeft MeshLeft appliance datapoint.
	MeshLeft *int `json:"214,omitempty"`

	// BrushLeft BrushLeft appliance datapoint.
	BrushLeft *int `json:"215,omitempty"`

	// Error Error appliance datapoint.
	Error *int `json:"216,omitempty"`

	// Volume Speaker volume percent, from 0 through 100.
	Volume *int `json:"221,omitempty"`

	// StandLockAutoRun StandLockAutoRun appliance datapoint.
	StandLockAutoRun *int `json:"222,omitempty"`

	// AutoSelfCleanSetMode AutoSelfCleanSetMode appliance datapoint.
	AutoSelfCleanSetMode *int `json:"223,omitempty"`

	// AutoDryMode AutoDryMode appliance datapoint.
	AutoDryMode *int `json:"224,omitempty"`

	// SilentDryDuration SilentDryDuration appliance datapoint.
	SilentDryDuration *int `json:"225,omitempty"`

	// SilentMode SilentMode appliance datapoint.
	SilentMode *int `json:"226,omitempty"`

	// SilentModeStartTime Minute of day, from 0 through 1439.
	SilentModeStartTime *int `json:"227,omitempty"`

	// SilentModeEndTime Minute of day, from 0 through 1439.
	SilentModeEndTime *int `json:"228,omitempty"`

	// RecentRunTime Comma-delimited daily cleaning durations, in minutes.
	RecentRunTime *string `json:"229,omitempty"`

	// TotalRunTime TotalRunTime appliance datapoint.
	TotalRunTime *int `json:"230,omitempty"`

	// DryCountdown DryCountdown appliance datapoint.
	DryCountdown *int `json:"237,omitempty"`
}

DyadStateWire Numeric-key A01 appliance datapoints.

type FanSpeed

type FanSpeed int

FanSpeed Open device-dependent numeric enum; future values are preserved. This named inventory lists known constants; field contracts explicitly accept future values.

const (
	FanSpeedBalanced FanSpeed = 102
	FanSpeedMax      FanSpeed = 104
	FanSpeedMaxPlus  FanSpeed = 108
	FanSpeedOff      FanSpeed = 105
	FanSpeedQuiet    FanSpeed = 101
	FanSpeedTurbo    FanSpeed = 103
)

Defines values for FanSpeed.

type GetAgreementParams

type GetAgreementParams struct {
	Country          string         `form:"country" json:"country"`
	HeaderClientlang ClientLanguage `json:"header_clientlang"`
}

GetAgreementParams defines parameters for GetAgreement.

type GetCleanRecordRPCJSONRequestBody

type GetCleanRecordRPCJSONRequestBody = IntegerParameters

GetCleanRecordRPCJSONRequestBody defines model for GetCleanRecordRPCJSONRequestBody.

type GetCleaningSummaryRPCJSONRequestBody

type GetCleaningSummaryRPCJSONRequestBody = NoParameters

GetCleaningSummaryRPCJSONRequestBody defines model for GetCleaningSummaryRPCJSONRequestBody.

type GetConsumablesRPCJSONRequestBody

type GetConsumablesRPCJSONRequestBody = NoParameters

GetConsumablesRPCJSONRequestBody defines model for GetConsumablesRPCJSONRequestBody.

type GetDNDRPCJSONRequestBody

type GetDNDRPCJSONRequestBody = NoParameters

GetDNDRPCJSONRequestBody defines model for GetDNDRPCJSONRequestBody.

type GetHomeDatav1Params

type GetHomeDatav1Params struct {
	Authorization string `json:"Authorization"`
}

GetHomeDatav1Params defines parameters for GetHomeDatav1.

type GetHomeDatav2Params

type GetHomeDatav2Params struct {
	Authorization string `json:"Authorization"`
}

GetHomeDatav2Params defines parameters for GetHomeDatav2.

type GetHomeDatav3Params

type GetHomeDatav3Params struct {
	Authorization string `json:"Authorization"`
}

GetHomeDatav3Params defines parameters for GetHomeDatav3.

type GetHomeDetailParams

type GetHomeDetailParams struct {
	Authorization  string `json:"Authorization"`
	HeaderClientid string `json:"header_clientid"`
}

GetHomeDetailParams defines parameters for GetHomeDetail.

type GetHomeRoomsParams added in v0.2.0

type GetHomeRoomsParams struct {
	Authorization string `json:"Authorization"`
}

GetHomeRoomsParams defines parameters for GetHomeRooms.

type GetSharedDeviceRoomsParams added in v0.2.0

type GetSharedDeviceRoomsParams struct {
	Authorization string `json:"Authorization"`
}

GetSharedDeviceRoomsParams defines parameters for GetSharedDeviceRooms.

type GetStatusRPCJSONRequestBody

type GetStatusRPCJSONRequestBody = NoParameters

GetStatusRPCJSONRequestBody defines model for GetStatusRPCJSONRequestBody.

type HomeData

type HomeData struct {
	Devices              *[]HomeDevice              `json:"devices"`
	GeoName              *json.RawMessage           `json:"geoName"`
	Id                   int64                      `json:"id"`
	Lat                  *json.RawMessage           `json:"lat"`
	Lon                  *json.RawMessage           `json:"lon"`
	Name                 string                     `json:"name"`
	Products             *[]HomeProduct             `json:"products"`
	ReceivedDevices      *[]HomeDevice              `json:"receivedDevices"`
	Rooms                *[]HomeRoom                `json:"rooms"`
	AdditionalProperties map[string]json.RawMessage `json:"-"`
}

HomeData defines model for HomeData.

func (HomeData) Get

func (a HomeData) Get(fieldName string) (value json.RawMessage, found bool)

Getter for additional properties for HomeData. Returns the specified element and whether it was found

func (HomeData) MarshalJSON

func (a HomeData) MarshalJSON() ([]byte, error)

Override default JSON handling for HomeData to handle AdditionalProperties

func (*HomeData) Set

func (a *HomeData) Set(fieldName string, value json.RawMessage)

Setter for additional properties for HomeData

func (*HomeData) UnmarshalJSON

func (a *HomeData) UnmarshalJSON(b []byte) error

Override default JSON handling for HomeData to handle AdditionalProperties

type HomeDataResponse

type HomeDataResponse struct {
	Code                 *int                       `json:"code"`
	Msg                  *string                    `json:"msg"`
	Result               *HomeData                  `json:"result"`
	Success              bool                       `json:"success"`
	AdditionalProperties map[string]json.RawMessage `json:"-"`
}

HomeDataResponse defines model for HomeDataResponse.

func (HomeDataResponse) Get

func (a HomeDataResponse) Get(fieldName string) (value json.RawMessage, found bool)

Getter for additional properties for HomeDataResponse. Returns the specified element and whether it was found

func (HomeDataResponse) MarshalJSON

func (a HomeDataResponse) MarshalJSON() ([]byte, error)

Override default JSON handling for HomeDataResponse to handle AdditionalProperties

func (*HomeDataResponse) Set

func (a *HomeDataResponse) Set(fieldName string, value json.RawMessage)

Setter for additional properties for HomeDataResponse

func (*HomeDataResponse) UnmarshalJSON

func (a *HomeDataResponse) UnmarshalJSON(b []byte) error

Override default JSON handling for HomeDataResponse to handle AdditionalProperties

type HomeDataVersion

type HomeDataVersion int

HomeDataVersion defines model for HomeDataVersion.

const (
	HomeDataVersionV1 HomeDataVersion = 1
	HomeDataVersionV2 HomeDataVersion = 2
	HomeDataVersionV3 HomeDataVersion = 3
)

Defines values for HomeDataVersion.

type HomeDetail

type HomeDetail struct {
	Name                 *string                    `json:"name"`
	RrHomeId             int64                      `json:"rrHomeId"`
	AdditionalProperties map[string]json.RawMessage `json:"-"`
}

HomeDetail defines model for HomeDetail.

func (HomeDetail) Get

func (a HomeDetail) Get(fieldName string) (value json.RawMessage, found bool)

Getter for additional properties for HomeDetail. Returns the specified element and whether it was found

func (HomeDetail) MarshalJSON

func (a HomeDetail) MarshalJSON() ([]byte, error)

Override default JSON handling for HomeDetail to handle AdditionalProperties

func (*HomeDetail) Set

func (a *HomeDetail) Set(fieldName string, value json.RawMessage)

Setter for additional properties for HomeDetail

func (*HomeDetail) UnmarshalJSON

func (a *HomeDetail) UnmarshalJSON(b []byte) error

Override default JSON handling for HomeDetail to handle AdditionalProperties

type HomeDetailResponse

type HomeDetailResponse struct {
	Code                 int                        `json:"code"`
	Data                 *HomeDetail                `json:"data"`
	Msg                  *string                    `json:"msg"`
	AdditionalProperties map[string]json.RawMessage `json:"-"`
}

HomeDetailResponse defines model for HomeDetailResponse.

func (HomeDetailResponse) Get

func (a HomeDetailResponse) Get(fieldName string) (value json.RawMessage, found bool)

Getter for additional properties for HomeDetailResponse. Returns the specified element and whether it was found

func (HomeDetailResponse) MarshalJSON

func (a HomeDetailResponse) MarshalJSON() ([]byte, error)

Override default JSON handling for HomeDetailResponse to handle AdditionalProperties

func (*HomeDetailResponse) Set

func (a *HomeDetailResponse) Set(fieldName string, value json.RawMessage)

Setter for additional properties for HomeDetailResponse

func (*HomeDetailResponse) UnmarshalJSON

func (a *HomeDetailResponse) UnmarshalJSON(b []byte) error

Override default JSON handling for HomeDetailResponse to handle AdditionalProperties

type HomeDevice

type HomeDevice struct {
	ActiveTime   *int64            `json:"activeTime"`
	Attribute    *json.RawMessage  `json:"attribute"`
	Cid          *string           `json:"cid"`
	CreateTime   *int64            `json:"createTime"`
	DeviceStatus *HomeDeviceStatus `json:"deviceStatus"`
	Duid         string            `json:"duid"`

	// Extra JSON-encoded optional device metadata.
	Extra            *string          `json:"extra"`
	F                *bool            `json:"f"`
	FeatureSet       *string          `json:"featureSet"`
	Fv               *string          `json:"fv"`
	IconUrl          *string          `json:"iconUrl"`
	Lat              *json.RawMessage `json:"lat"`
	LocalKey         string           `json:"localKey"`
	Lon              *json.RawMessage `json:"lon"`
	Name             string           `json:"name"`
	NewFeatureSet    *string          `json:"newFeatureSet"`
	Online           *bool            `json:"online"`
	ProductId        string           `json:"productId"`
	Pv               *string          `json:"pv"`
	RoomId           *int64           `json:"roomId"`
	RuntimeEnv       *json.RawMessage `json:"runtimeEnv"`
	Setting          *json.RawMessage `json:"setting"`
	Share            *bool            `json:"share"`
	ShareExpiredTime *int64           `json:"shareExpiredTime"`
	ShareTime        *int64           `json:"shareTime"`

	// ShareType Open device sharing policy identifier.
	ShareType            *HomeDeviceShareType       `json:"shareType"`
	SilentOtaSwitch      *bool                      `json:"silentOtaSwitch"`
	Sn                   *string                    `json:"sn"`
	TimeZoneId           *string                    `json:"timeZoneId"`
	TuyaMigrated         *bool                      `json:"tuyaMigrated"`
	TuyaUuid             *string                    `json:"tuyaUuid"`
	AdditionalProperties map[string]json.RawMessage `json:"-"`
}

HomeDevice defines model for HomeDevice.

func (HomeDevice) Get

func (a HomeDevice) Get(fieldName string) (value json.RawMessage, found bool)

Getter for additional properties for HomeDevice. Returns the specified element and whether it was found

func (HomeDevice) MarshalJSON

func (a HomeDevice) MarshalJSON() ([]byte, error)

Override default JSON handling for HomeDevice to handle AdditionalProperties

func (*HomeDevice) Set

func (a *HomeDevice) Set(fieldName string, value json.RawMessage)

Setter for additional properties for HomeDevice

func (*HomeDevice) UnmarshalJSON

func (a *HomeDevice) UnmarshalJSON(b []byte) error

Override default JSON handling for HomeDevice to handle AdditionalProperties

type HomeDeviceShareType

type HomeDeviceShareType = string

HomeDeviceShareType Open device sharing policy identifier.

type HomeDeviceStatus

type HomeDeviceStatus struct {
	DPS10001             *string                    `json:"10001"`
	DPS10005             *string                    `json:"10005"`
	DPS10007             *string                    `json:"10007"`
	N10008               *InventoryBooleanOrInteger `json:"10008"`
	DPS101               *int64                     `json:"101"`
	DPS120               *int64                     `json:"120"`
	DPS121               *int64                     `json:"121"`
	DPS122               *int64                     `json:"122"`
	DPS123               *int64                     `json:"123"`
	DPS124               *int64                     `json:"124"`
	DPS125               *int64                     `json:"125"`
	DPS126               *int64                     `json:"126"`
	DPS127               *int64                     `json:"127"`
	DPS128               *int64                     `json:"128"`
	DPS133               *int64                     `json:"133"`
	DPS134               *int64                     `json:"134"`
	DPS135               *int64                     `json:"135"`
	DPS136               *int64                     `json:"136"`
	DPS137               *int64                     `json:"137"`
	DPS138               *int64                     `json:"138"`
	DPS139               *int64                     `json:"139"`
	DPS141               *int64                     `json:"141"`
	DPS142               *int64                     `json:"142"`
	N200                 *InventoryBooleanOrInteger `json:"200"`
	N201                 *InventoryBooleanOrInteger `json:"201"`
	N202                 *InventoryBooleanOrInteger `json:"202"`
	DPS203               *int64                     `json:"203"`
	DPS204               *int64                     `json:"204"`
	DPS205               *int64                     `json:"205"`
	N206                 *InventoryBooleanOrInteger `json:"206"`
	DPS207               *int64                     `json:"207"`
	DPS208               *int64                     `json:"208"`
	DPS209               *int64                     `json:"209"`
	DPS210               *int64                     `json:"210"`
	N211                 *InventoryBooleanOrInteger `json:"211"`
	N212                 *InventoryBooleanOrInteger `json:"212"`
	DPS213               *int64                     `json:"213"`
	DPS214               *int64                     `json:"214"`
	DPS217               *int64                     `json:"217"`
	DPS218               *int64                     `json:"218"`
	N219                 *InventoryBooleanOrInteger `json:"219"`
	DPS220               *int64                     `json:"220"`
	DPS221               *int64                     `json:"221"`
	DPS222               *int64                     `json:"222"`
	N223                 *InventoryBooleanOrInteger `json:"223"`
	DPS224               *int64                     `json:"224"`
	N225                 *InventoryBooleanOrInteger `json:"225"`
	N226                 *InventoryBooleanOrInteger `json:"226"`
	N227                 *InventoryBooleanOrInteger `json:"227"`
	N229                 *InventoryBooleanOrInteger `json:"229"`
	DPS232               *int64                     `json:"232"`
	AdditionalProperties map[string]json.RawMessage `json:"-"`
}

HomeDeviceStatus defines model for HomeDeviceStatus.

func (HomeDeviceStatus) Get

func (a HomeDeviceStatus) Get(fieldName string) (value json.RawMessage, found bool)

Getter for additional properties for HomeDeviceStatus. Returns the specified element and whether it was found

func (HomeDeviceStatus) MarshalJSON

func (a HomeDeviceStatus) MarshalJSON() ([]byte, error)

Override default JSON handling for HomeDeviceStatus to handle AdditionalProperties

func (*HomeDeviceStatus) Set

func (a *HomeDeviceStatus) Set(fieldName string, value json.RawMessage)

Setter for additional properties for HomeDeviceStatus

func (*HomeDeviceStatus) UnmarshalJSON

func (a *HomeDeviceStatus) UnmarshalJSON(b []byte) error

Override default JSON handling for HomeDeviceStatus to handle AdditionalProperties

type HomeProduct

type HomeProduct struct {
	Attribute  *json.RawMessage `json:"attribute"`
	Capability *int64           `json:"capability"`

	// Category Open device category. Known values are robot.vacuum.cleaner, roborock.wetdryvac, roborock.wm, roborock.mower and UNKNOWN; future strings remain valid.
	Category             ProductCategory            `json:"category"`
	Code                 *string                    `json:"code"`
	IconUrl              *string                    `json:"iconUrl"`
	Id                   string                     `json:"id"`
	Model                string                     `json:"model"`
	Name                 string                     `json:"name"`
	Schema               *[]ProductProperty         `json:"schema"`
	AdditionalProperties map[string]json.RawMessage `json:"-"`
}

HomeProduct defines model for HomeProduct.

func (HomeProduct) Get

func (a HomeProduct) Get(fieldName string) (value json.RawMessage, found bool)

Getter for additional properties for HomeProduct. Returns the specified element and whether it was found

func (HomeProduct) MarshalJSON

func (a HomeProduct) MarshalJSON() ([]byte, error)

Override default JSON handling for HomeProduct to handle AdditionalProperties

func (*HomeProduct) Set

func (a *HomeProduct) Set(fieldName string, value json.RawMessage)

Setter for additional properties for HomeProduct

func (*HomeProduct) UnmarshalJSON

func (a *HomeProduct) UnmarshalJSON(b []byte) error

Override default JSON handling for HomeProduct to handle AdditionalProperties

type HomeRoom

type HomeRoom struct {
	Id                   int64                      `json:"id"`
	Name                 string                     `json:"name"`
	AdditionalProperties map[string]json.RawMessage `json:"-"`
}

HomeRoom defines model for HomeRoom.

func (HomeRoom) Get

func (a HomeRoom) Get(fieldName string) (value json.RawMessage, found bool)

Getter for additional properties for HomeRoom. Returns the specified element and whether it was found

func (HomeRoom) MarshalJSON

func (a HomeRoom) MarshalJSON() ([]byte, error)

Override default JSON handling for HomeRoom to handle AdditionalProperties

func (*HomeRoom) Set

func (a *HomeRoom) Set(fieldName string, value json.RawMessage)

Setter for additional properties for HomeRoom

func (*HomeRoom) UnmarshalJSON

func (a *HomeRoom) UnmarshalJSON(b []byte) error

Override default JSON handling for HomeRoom to handle AdditionalProperties

type HomeRoomsResponse added in v0.2.0

type HomeRoomsResponse struct {
	Code                 *int                       `json:"code,omitempty"`
	Result               *[]RefreshedRoom           `json:"result,omitempty"`
	Success              bool                       `json:"success"`
	AdditionalProperties map[string]json.RawMessage `json:"-"`
}

HomeRoomsResponse defines model for HomeRoomsResponse.

func (HomeRoomsResponse) Get added in v0.2.0

func (a HomeRoomsResponse) Get(fieldName string) (value json.RawMessage, found bool)

Getter for additional properties for HomeRoomsResponse. Returns the specified element and whether it was found

func (HomeRoomsResponse) MarshalJSON added in v0.2.0

func (a HomeRoomsResponse) MarshalJSON() ([]byte, error)

Override default JSON handling for HomeRoomsResponse to handle AdditionalProperties

func (*HomeRoomsResponse) Set added in v0.2.0

func (a *HomeRoomsResponse) Set(fieldName string, value json.RawMessage)

Setter for additional properties for HomeRoomsResponse

func (*HomeRoomsResponse) UnmarshalJSON added in v0.2.0

func (a *HomeRoomsResponse) UnmarshalJSON(b []byte) error

Override default JSON handling for HomeRoomsResponse to handle AdditionalProperties

type IntegerParameters

type IntegerParameters = []int64

IntegerParameters defines model for IntegerParameters.

type InventoryBooleanOrInteger

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

InventoryBooleanOrInteger defines model for InventoryBooleanOrInteger.

func (InventoryBooleanOrInteger) AsInventoryBooleanOrInteger0

func (t InventoryBooleanOrInteger) AsInventoryBooleanOrInteger0() (InventoryBooleanOrInteger0, error)

AsInventoryBooleanOrInteger0 returns the union data inside the InventoryBooleanOrInteger as a InventoryBooleanOrInteger0

func (InventoryBooleanOrInteger) AsInventoryBooleanOrInteger1

func (t InventoryBooleanOrInteger) AsInventoryBooleanOrInteger1() (InventoryBooleanOrInteger1, error)

AsInventoryBooleanOrInteger1 returns the union data inside the InventoryBooleanOrInteger as a InventoryBooleanOrInteger1

func (*InventoryBooleanOrInteger) FromInventoryBooleanOrInteger0

func (t *InventoryBooleanOrInteger) FromInventoryBooleanOrInteger0(v InventoryBooleanOrInteger0) error

FromInventoryBooleanOrInteger0 overwrites any union data inside the InventoryBooleanOrInteger as the provided InventoryBooleanOrInteger0

func (*InventoryBooleanOrInteger) FromInventoryBooleanOrInteger1

func (t *InventoryBooleanOrInteger) FromInventoryBooleanOrInteger1(v InventoryBooleanOrInteger1) error

FromInventoryBooleanOrInteger1 overwrites any union data inside the InventoryBooleanOrInteger as the provided InventoryBooleanOrInteger1

func (InventoryBooleanOrInteger) MarshalJSON

func (t InventoryBooleanOrInteger) MarshalJSON() ([]byte, error)

func (*InventoryBooleanOrInteger) MergeInventoryBooleanOrInteger0

func (t *InventoryBooleanOrInteger) MergeInventoryBooleanOrInteger0(v InventoryBooleanOrInteger0) error

MergeInventoryBooleanOrInteger0 performs a merge with any union data inside the InventoryBooleanOrInteger, using the provided InventoryBooleanOrInteger0

func (*InventoryBooleanOrInteger) MergeInventoryBooleanOrInteger1

func (t *InventoryBooleanOrInteger) MergeInventoryBooleanOrInteger1(v InventoryBooleanOrInteger1) error

MergeInventoryBooleanOrInteger1 performs a merge with any union data inside the InventoryBooleanOrInteger, using the provided InventoryBooleanOrInteger1

func (*InventoryBooleanOrInteger) UnmarshalJSON

func (t *InventoryBooleanOrInteger) UnmarshalJSON(b []byte) error

type InventoryBooleanOrInteger0

type InventoryBooleanOrInteger0 = bool

InventoryBooleanOrInteger0 defines model for .

type InventoryBooleanOrInteger1

type InventoryBooleanOrInteger1 = int64

InventoryBooleanOrInteger1 defines model for .

type InventoryOTA

type InventoryOTA struct {
	MqttOtaData          *InventoryOTAData          `json:"mqttOtaData"`
	AdditionalProperties map[string]json.RawMessage `json:"-"`
}

InventoryOTA defines model for InventoryOTA.

func (InventoryOTA) Get

func (a InventoryOTA) Get(fieldName string) (value json.RawMessage, found bool)

Getter for additional properties for InventoryOTA. Returns the specified element and whether it was found

func (InventoryOTA) MarshalJSON

func (a InventoryOTA) MarshalJSON() ([]byte, error)

Override default JSON handling for InventoryOTA to handle AdditionalProperties

func (*InventoryOTA) Set

func (a *InventoryOTA) Set(fieldName string, value json.RawMessage)

Setter for additional properties for InventoryOTA

func (*InventoryOTA) UnmarshalJSON

func (a *InventoryOTA) UnmarshalJSON(b []byte) error

Override default JSON handling for InventoryOTA to handle AdditionalProperties

type InventoryOTAData

type InventoryOTAData struct {
	MqttOtaStatus        *InventoryOTAStatus        `json:"mqttOtaStatus"`
	AdditionalProperties map[string]json.RawMessage `json:"-"`
}

InventoryOTAData defines model for InventoryOTAData.

func (InventoryOTAData) Get

func (a InventoryOTAData) Get(fieldName string) (value json.RawMessage, found bool)

Getter for additional properties for InventoryOTAData. Returns the specified element and whether it was found

func (InventoryOTAData) MarshalJSON

func (a InventoryOTAData) MarshalJSON() ([]byte, error)

Override default JSON handling for InventoryOTAData to handle AdditionalProperties

func (*InventoryOTAData) Set

func (a *InventoryOTAData) Set(fieldName string, value json.RawMessage)

Setter for additional properties for InventoryOTAData

func (*InventoryOTAData) UnmarshalJSON

func (a *InventoryOTAData) UnmarshalJSON(b []byte) error

Override default JSON handling for InventoryOTAData to handle AdditionalProperties

type InventoryOTAStatus

type InventoryOTAStatus struct {
	// Status Open OTA status; IDLE is present in the pinned reference inventory.
	Status               *string                    `json:"status"`
	AdditionalProperties map[string]json.RawMessage `json:"-"`
}

InventoryOTAStatus defines model for InventoryOTAStatus.

func (InventoryOTAStatus) Get

func (a InventoryOTAStatus) Get(fieldName string) (value json.RawMessage, found bool)

Getter for additional properties for InventoryOTAStatus. Returns the specified element and whether it was found

func (InventoryOTAStatus) MarshalJSON

func (a InventoryOTAStatus) MarshalJSON() ([]byte, error)

Override default JSON handling for InventoryOTAStatus to handle AdditionalProperties

func (*InventoryOTAStatus) Set

func (a *InventoryOTAStatus) Set(fieldName string, value json.RawMessage)

Setter for additional properties for InventoryOTAStatus

func (*InventoryOTAStatus) UnmarshalJSON

func (a *InventoryOTAStatus) UnmarshalJSON(b []byte) error

Override default JSON handling for InventoryOTAStatus to handle AdditionalProperties

type InventoryProductInfo

type InventoryProductInfo struct {
	Ip                   *string                    `json:"ip"`
	Mac                  *string                    `json:"mac"`
	Oba                  *InventoryProductOBA       `json:"oba"`
	PosixTimezone        *string                    `json:"posix_timezone"`
	Rssi                 *int                       `json:"rssi"`
	Sn                   *string                    `json:"sn"`
	Ssid                 *string                    `json:"ssid"`
	Timezone             *string                    `json:"timezone"`
	AdditionalProperties map[string]json.RawMessage `json:"-"`
}

InventoryProductInfo defines model for InventoryProductInfo.

func (InventoryProductInfo) Get

func (a InventoryProductInfo) Get(fieldName string) (value json.RawMessage, found bool)

Getter for additional properties for InventoryProductInfo. Returns the specified element and whether it was found

func (InventoryProductInfo) MarshalJSON

func (a InventoryProductInfo) MarshalJSON() ([]byte, error)

Override default JSON handling for InventoryProductInfo to handle AdditionalProperties

func (*InventoryProductInfo) Set

func (a *InventoryProductInfo) Set(fieldName string, value json.RawMessage)

Setter for additional properties for InventoryProductInfo

func (*InventoryProductInfo) UnmarshalJSON

func (a *InventoryProductInfo) UnmarshalJSON(b []byte) error

Override default JSON handling for InventoryProductInfo to handle AdditionalProperties

type InventoryProductOBA

type InventoryProductOBA struct {
	Bom                  *string                    `json:"bom"`
	Featureset           *string                    `json:"featureset"`
	Language             *string                    `json:"language"`
	Location             *string                    `json:"location"`
	Loglevel             *string                    `json:"loglevel"`
	Logserver            *string                    `json:"logserver"`
	Name                 *string                    `json:"name"`
	Timezone             *string                    `json:"timezone"`
	Wifiplan             *string                    `json:"wifiplan"`
	AdditionalProperties map[string]json.RawMessage `json:"-"`
}

InventoryProductOBA defines model for InventoryProductOBA.

func (InventoryProductOBA) Get

func (a InventoryProductOBA) Get(fieldName string) (value json.RawMessage, found bool)

Getter for additional properties for InventoryProductOBA. Returns the specified element and whether it was found

func (InventoryProductOBA) MarshalJSON

func (a InventoryProductOBA) MarshalJSON() ([]byte, error)

Override default JSON handling for InventoryProductOBA to handle AdditionalProperties

func (*InventoryProductOBA) Set

func (a *InventoryProductOBA) Set(fieldName string, value json.RawMessage)

Setter for additional properties for InventoryProductOBA

func (*InventoryProductOBA) UnmarshalJSON

func (a *InventoryProductOBA) UnmarshalJSON(b []byte) error

Override default JSON handling for InventoryProductOBA to handle AdditionalProperties

type InventoryProgramState

type InventoryProgramState struct {
	F                    *string                    `json:"f"`
	AdditionalProperties map[string]json.RawMessage `json:"-"`
}

InventoryProgramState defines model for InventoryProgramState.

func (InventoryProgramState) Get

func (a InventoryProgramState) Get(fieldName string) (value json.RawMessage, found bool)

Getter for additional properties for InventoryProgramState. Returns the specified element and whether it was found

func (InventoryProgramState) MarshalJSON

func (a InventoryProgramState) MarshalJSON() ([]byte, error)

Override default JSON handling for InventoryProgramState to handle AdditionalProperties

func (*InventoryProgramState) Set

func (a *InventoryProgramState) Set(fieldName string, value json.RawMessage)

Setter for additional properties for InventoryProgramState

func (*InventoryProgramState) UnmarshalJSON

func (a *InventoryProgramState) UnmarshalJSON(b []byte) error

Override default JSON handling for InventoryProgramState to handle AdditionalProperties

type LoginCodeFormdataRequestBody

type LoginCodeFormdataRequestBody = CodeLoginForm

LoginCodeFormdataRequestBody defines body for LoginCode for application/x-www-form-urlencoded ContentType.

type LoginCodeParams

type LoginCodeParams struct {
	HeaderClientid    string         `json:"header_clientid"`
	HeaderClientlang  ClientLanguage `json:"header_clientlang"`
	XMercyKs          string         `json:"x-mercy-ks"`
	XMercyK           string         `json:"x-mercy-k"`
	HeaderAppversion  AppVersion     `json:"header_appversion"`
	HeaderPhonesystem PhoneSystem    `json:"header_phonesystem"`
	HeaderPhonemodel  PhoneModel     `json:"header_phonemodel"`
}

LoginCodeParams defines parameters for LoginCode.

type LoginLegacyCodeParams

type LoginLegacyCodeParams struct {
	Username       string                              `form:"username" json:"username"`
	Verifycode     string                              `form:"verifycode" json:"verifycode"`
	Verifycodetype LoginLegacyCodeParamsVerifycodetype `form:"verifycodetype" json:"verifycodetype"`
	HeaderClientid string                              `json:"header_clientid"`
}

LoginLegacyCodeParams defines parameters for LoginLegacyCode.

type LoginLegacyCodeParamsVerifycodetype

type LoginLegacyCodeParamsVerifycodetype string

LoginLegacyCodeParamsVerifycodetype defines parameters for LoginLegacyCode.

const (
	AUTHEMAILCODE LoginLegacyCodeParamsVerifycodetype = "AUTH_EMAIL_CODE"
)

Defines values for LoginLegacyCodeParamsVerifycodetype.

type LoginPasswordParams

type LoginPasswordParams struct {
	Username        string                             `form:"username" json:"username"`
	Password        string                             `form:"password" json:"password"`
	Needtwostepauth LoginPasswordParamsNeedtwostepauth `form:"needtwostepauth" json:"needtwostepauth"`
	HeaderClientid  string                             `json:"header_clientid"`
}

LoginPasswordParams defines parameters for LoginPassword.

type LoginPasswordParamsNeedtwostepauth

type LoginPasswordParamsNeedtwostepauth string

LoginPasswordParamsNeedtwostepauth defines parameters for LoginPassword.

const (
	LoginPasswordParamsNeedtwostepauthFalse LoginPasswordParamsNeedtwostepauth = "false"
)

Defines values for LoginPasswordParamsNeedtwostepauth.

type LoginResponse

type LoginResponse struct {
	Code                 int                        `json:"code"`
	Data                 *UserData                  `json:"data"`
	Msg                  *string                    `json:"msg"`
	AdditionalProperties map[string]json.RawMessage `json:"-"`
}

LoginResponse defines model for LoginResponse.

func (LoginResponse) Get

func (a LoginResponse) Get(fieldName string) (value json.RawMessage, found bool)

Getter for additional properties for LoginResponse. Returns the specified element and whether it was found

func (LoginResponse) MarshalJSON

func (a LoginResponse) MarshalJSON() ([]byte, error)

Override default JSON handling for LoginResponse to handle AdditionalProperties

func (*LoginResponse) Set

func (a *LoginResponse) Set(fieldName string, value json.RawMessage)

Setter for additional properties for LoginResponse

func (*LoginResponse) UnmarshalJSON

func (a *LoginResponse) UnmarshalJSON(b []byte) error

Override default JSON handling for LoginResponse to handle AdditionalProperties

type MQTTDeviceFrame

type MQTTDeviceFrame struct {
	// Payload Decrypted payload bytes, before encryption and PKCS7 padding.
	Payload  []byte `json:"payload"`
	Protocol uint16 `json:"protocol"`
	Random   uint32 `json:"random"`
	Sequence uint32 `json:"sequence"`

	// Timestamp Unix timestamp in seconds stored as an unsigned 32-bit integer.
	Timestamp uint32 `json:"timestamp"`

	// Version Three ASCII bytes identifying the binary protocol version.
	Version string `json:"version"`
}

MQTTDeviceFrame Decoded Roborock binary MQTT device frame. Fields are serialized in the documented binary header order, followed by encrypted payload and a CRC32 checksum; this is not a JSON wire envelope.

type MQTTEnvelope

type MQTTEnvelope struct {
	Dps map[string]json.RawMessage `json:"dps"`

	// T Unix timestamp in seconds.
	T int64 `json:"t"`
}

MQTTEnvelope defines model for MQTTEnvelope.

type MQTTRPCError

type MQTTRPCError struct {
	Code    *int    `json:"code,omitempty"`
	Message *string `json:"message,omitempty"`
}

MQTTRPCError defines model for MQTTRPCError.

type MQTTRPCRequest

type MQTTRPCRequest struct {
	Id       int64           `json:"id"`
	Method   string          `json:"method"`
	Params   json.RawMessage `json:"params"`
	Security MQTTRPCSecurity `json:"security"`
}

MQTTRPCRequest defines model for MQTTRPCRequest.

type MQTTRPCResponse

type MQTTRPCResponse struct {
	Error  *MQTTRPCError    `json:"error,omitempty"`
	Id     int64            `json:"id"`
	Result *json.RawMessage `json:"result,omitempty"`
}

MQTTRPCResponse defines model for MQTTRPCResponse.

type MQTTRPCSecurity

type MQTTRPCSecurity struct {
	// Endpoint Base64 encoding of bytes 8 through 13 of the account-key MD5.
	Endpoint string `json:"endpoint"`

	// Nonce Fresh session AES key for secured device blob responses, encoded as lowercase hex.
	Nonce string `json:"nonce"`
}

MQTTRPCSecurity defines model for MQTTRPCSecurity.

type MapBinaryPayload added in v0.2.0

type MapBinaryPayload = openapi_types.File

MapBinaryPayload Inflated V1 RRMap, inflated Q7 RobotMap protobuf, or Q10 custom LZ4 map/trace packet.

type MapsBinaryPayload added in v0.2.0

type MapsBinaryPayload = []byte

MapsBinaryPayload Decoded protocol-301 payload, before family-specific map decoding.

type MapsKnownEmptyObject added in v0.2.0

type MapsKnownEmptyObject = map[string]interface{}

MapsKnownEmptyObject defines model for MapsKnownEmptyObject.

type MapsQ7ListEntry added in v0.2.0

type MapsQ7ListEntry struct {
	Cur *bool  `json:"cur,omitempty"`
	Id  *int64 `json:"id,omitempty"`
}

MapsQ7ListEntry defines model for MapsQ7ListEntry.

type MapsQ7ListEnvelope added in v0.2.0

type MapsQ7ListEnvelope struct {
	Dps MapsQ7ListEnvelopeDatapoints `json:"dps"`
}

MapsQ7ListEnvelope defines model for MapsQ7ListEnvelope.

type MapsQ7ListEnvelopeDatapoints added in v0.2.0

type MapsQ7ListEnvelopeDatapoints struct {
	N10000 MapsQ7ListRPC `json:"10000"`
}

MapsQ7ListEnvelopeDatapoints defines model for MapsQ7ListEnvelopeDatapoints.

type MapsQ7ListRPC added in v0.2.0

type MapsQ7ListRPC struct {
	Method MapsQ7ListRPCMethod `json:"method"`
	MsgId  string              `json:"msgId"`
	Params MapsQ7ListRequest   `json:"params"`
}

MapsQ7ListRPC defines model for MapsQ7ListRPC.

type MapsQ7ListRPCMethod added in v0.2.0

type MapsQ7ListRPCMethod string

MapsQ7ListRPCMethod defines model for MapsQ7ListRPC.Method.

const (
	MapsQ7ListRPCPropertiesMethod0Value MapsQ7ListRPCMethod = "service.get_map_list"
)

Defines values for MapsQ7ListRPCMethod.

type MapsQ7ListReply added in v0.2.0

type MapsQ7ListReply struct {
	Code  *int              `json:"code,omitempty"`
	Data  *MapsQ7ListResult `json:"data,omitempty"`
	MsgId string            `json:"msgId"`
}

MapsQ7ListReply defines model for MapsQ7ListReply.

type MapsQ7ListRequest added in v0.2.0

type MapsQ7ListRequest = map[string]interface{}

MapsQ7ListRequest defines model for MapsQ7ListRequest.

type MapsQ7ListResult added in v0.2.0

type MapsQ7ListResult struct {
	MapList *[]MapsQ7ListEntry `json:"map_list,omitempty"`
}

MapsQ7ListResult defines model for MapsQ7ListResult.

type MapsQ7UploadEnvelope added in v0.2.0

type MapsQ7UploadEnvelope struct {
	Dps MapsQ7UploadEnvelopeDatapoints `json:"dps"`
}

MapsQ7UploadEnvelope defines model for MapsQ7UploadEnvelope.

type MapsQ7UploadEnvelopeDatapoints added in v0.2.0

type MapsQ7UploadEnvelopeDatapoints struct {
	N10000 MapsQ7UploadRPC `json:"10000"`
}

MapsQ7UploadEnvelopeDatapoints defines model for MapsQ7UploadEnvelopeDatapoints.

type MapsQ7UploadRPC added in v0.2.0

type MapsQ7UploadRPC struct {
	Method MapsQ7UploadRPCMethod `json:"method"`
	MsgId  string                `json:"msgId"`
	Params MapsQ7UploadRequest   `json:"params"`
}

MapsQ7UploadRPC defines model for MapsQ7UploadRPC.

type MapsQ7UploadRPCMethod added in v0.2.0

type MapsQ7UploadRPCMethod string

MapsQ7UploadRPCMethod defines model for MapsQ7UploadRPC.Method.

const (
	MapsQ7UploadRPCPropertiesMethod0Value MapsQ7UploadRPCMethod = "service.upload_by_mapid"
)

Defines values for MapsQ7UploadRPCMethod.

type MapsQ7UploadRequest added in v0.2.0

type MapsQ7UploadRequest struct {
	MapId int64 `json:"map_id"`
}

MapsQ7UploadRequest defines model for MapsQ7UploadRequest.

type MapsQ10ListCommonReply added in v0.2.0

type MapsQ10ListCommonReply struct {
	N61 MapsQ10ListSuccess `json:"61"`
}

MapsQ10ListCommonReply defines model for MapsQ10ListCommonReply.

type MapsQ10ListCommonRequest added in v0.2.0

type MapsQ10ListCommonRequest struct {
	N61 MapsQ10ListRequest `json:"61"`
}

MapsQ10ListCommonRequest defines model for MapsQ10ListCommonRequest.

type MapsQ10ListEntry added in v0.2.0

type MapsQ10ListEntry struct {
	Id        string  `json:"id"`
	Name      *string `json:"name,omitempty"`
	Timestamp *int64  `json:"timestamp,omitempty"`
}

MapsQ10ListEntry defines model for MapsQ10ListEntry.

type MapsQ10ListEnvelope added in v0.2.0

type MapsQ10ListEnvelope struct {
	Dps MapsQ10ListEnvelopeDatapoints `json:"dps"`
}

MapsQ10ListEnvelope defines model for MapsQ10ListEnvelope.

type MapsQ10ListEnvelopeDatapoints added in v0.2.0

type MapsQ10ListEnvelopeDatapoints struct {
	N101 MapsQ10ListCommonRequest `json:"101"`
}

MapsQ10ListEnvelopeDatapoints defines model for MapsQ10ListEnvelopeDatapoints.

type MapsQ10ListReply added in v0.2.0

type MapsQ10ListReply = json.RawMessage

MapsQ10ListReply Successful map-list update nested inside DP101 or carried directly in DP61; it has no request identifier.

type MapsQ10ListReplyEnvelope added in v0.2.0

type MapsQ10ListReplyEnvelope struct {
	Dps MapsQ10ListReplyEnvelopeDatapoints `json:"dps"`
}

MapsQ10ListReplyEnvelope defines model for MapsQ10ListReplyEnvelope.

type MapsQ10ListReplyEnvelopeDatapoints added in v0.2.0

type MapsQ10ListReplyEnvelopeDatapoints struct {
	N61 MapsQ10ListSuccess `json:"61"`
}

MapsQ10ListReplyEnvelopeDatapoints defines model for MapsQ10ListReplyEnvelopeDatapoints.

type MapsQ10ListRequest added in v0.2.0

type MapsQ10ListRequest struct {
	Op MapsQ10ListRequestOp `json:"op"`
}

MapsQ10ListRequest defines model for MapsQ10ListRequest.

type MapsQ10ListRequestOp added in v0.2.0

type MapsQ10ListRequestOp string

MapsQ10ListRequestOp defines model for MapsQ10ListRequest.Op.

const (
	List MapsQ10ListRequestOp = "list"
)

Defines values for MapsQ10ListRequestOp.

type MapsQ10ListResult added in v0.2.0

type MapsQ10ListResult struct {
	Data   *[]MapsQ10ListEntry `json:"data,omitempty"`
	Op     *string             `json:"op,omitempty"`
	Result *int                `json:"result,omitempty"`
}

MapsQ10ListResult defines model for MapsQ10ListResult.

type MapsQ10ListSuccess added in v0.2.0

type MapsQ10ListSuccess struct {
	Data   *[]MapsQ10ListEntry      `json:"data,omitempty"`
	Op     MapsQ10ListSuccessOp     `json:"op"`
	Result MapsQ10ListSuccessResult `json:"result"`
}

MapsQ10ListSuccess defines model for MapsQ10ListSuccess.

type MapsQ10ListSuccessOp added in v0.2.0

type MapsQ10ListSuccessOp string

MapsQ10ListSuccessOp defines model for MapsQ10ListSuccess.Op.

const (
	MapsQ10ListSuccessOpList MapsQ10ListSuccessOp = "list"
)

Defines values for MapsQ10ListSuccessOp.

type MapsQ10ListSuccessResult added in v0.2.0

type MapsQ10ListSuccessResult int

MapsQ10ListSuccessResult defines model for MapsQ10ListSuccess.Result.

const (
	MapsQ10ListSuccessResultAccepted MapsQ10ListSuccessResult = 1
)

Defines values for MapsQ10ListSuccessResult.

type MapsQ10NestedListReplyEnvelope added in v0.2.0

type MapsQ10NestedListReplyEnvelope struct {
	Dps MapsQ10NestedListReplyEnvelopeDatapoints `json:"dps"`
}

MapsQ10NestedListReplyEnvelope defines model for MapsQ10NestedListReplyEnvelope.

type MapsQ10NestedListReplyEnvelopeDatapoints added in v0.2.0

type MapsQ10NestedListReplyEnvelopeDatapoints struct {
	N101 MapsQ10ListCommonReply `json:"101"`
}

MapsQ10NestedListReplyEnvelopeDatapoints defines model for MapsQ10NestedListReplyEnvelopeDatapoints.

type MapsQ10ReadEnvelope added in v0.2.0

type MapsQ10ReadEnvelope struct {
	Dps MapsQ10ReadEnvelopeDatapoints `json:"dps"`
}

MapsQ10ReadEnvelope defines model for MapsQ10ReadEnvelope.

type MapsQ10ReadEnvelopeDatapoints added in v0.2.0

type MapsQ10ReadEnvelopeDatapoints struct {
	N102 MapsKnownEmptyObject `json:"102"`
}

MapsQ10ReadEnvelopeDatapoints defines model for MapsQ10ReadEnvelopeDatapoints.

type MapsV1Backup added in v0.2.0

type MapsV1Backup struct {
	AddTime *json.RawMessage `json:"add_time,omitempty"`
	MapFlag *json.RawMessage `json:"mapFlag,omitempty"`
}

MapsV1Backup defines model for MapsV1Backup.

type MapsV1Entry added in v0.2.0

type MapsV1Entry struct {
	AddTime *json.RawMessage `json:"add_time,omitempty"`
	BakMaps *[]MapsV1Backup  `json:"bak_maps,omitempty"`
	Length  *json.RawMessage `json:"length,omitempty"`
	MapFlag int64            `json:"mapFlag"`
	Name    string           `json:"name"`
	Rooms   *[]MapsV1Room    `json:"rooms,omitempty"`
}

MapsV1Entry defines model for MapsV1Entry.

type MapsV1List added in v0.2.0

type MapsV1List struct {
	MapInfo       *[]MapsV1Entry `json:"map_info,omitempty"`
	MaxBakMap     *int           `json:"max_bak_map,omitempty"`
	MaxMultiMap   *int           `json:"max_multi_map,omitempty"`
	MultiMapCount *int           `json:"multi_map_count,omitempty"`
}

MapsV1List defines model for MapsV1List.

type MapsV1ListResult added in v0.2.0

type MapsV1ListResult = []MapsV1List

MapsV1ListResult defines model for MapsV1ListResult.

type MapsV1LoadRequest added in v0.2.0

type MapsV1LoadRequest = []int64

MapsV1LoadRequest defines model for MapsV1LoadRequest.

type MapsV1Room added in v0.2.0

type MapsV1Room struct {
	Id        *int    `json:"id,omitempty"`
	IotName   *string `json:"iot_name,omitempty"`
	IotNameId *string `json:"iot_name_id,omitempty"`
	Tag       *int    `json:"tag,omitempty"`
}

MapsV1Room defines model for MapsV1Room.

type MapsV1RoomMappingPair added in v0.2.0

type MapsV1RoomMappingPair = []MapsV1RoomMappingValue

MapsV1RoomMappingPair Segment ID, then cloud room ID. Newer firmware appends a room type; extra values are ignored.

type MapsV1RoomMappingValue added in v0.2.0

type MapsV1RoomMappingValue = json.RawMessage

MapsV1RoomMappingValue defines model for MapsV1RoomMappingValue.

type MapsV1RoomMappings added in v0.2.0

type MapsV1RoomMappings = []MapsV1RoomMappingPair

MapsV1RoomMappings defines model for MapsV1RoomMappings.

type MapsV1RoomsResult added in v0.2.0

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

MapsV1RoomsResult A list of pairs or a single pair. A null result means the map has no rooms.

func (MapsV1RoomsResult) AsMapsV1RoomMappingPair added in v0.2.0

func (t MapsV1RoomsResult) AsMapsV1RoomMappingPair() (MapsV1RoomMappingPair, error)

AsMapsV1RoomMappingPair returns the union data inside the MapsV1RoomsResult as a MapsV1RoomMappingPair

func (MapsV1RoomsResult) AsMapsV1RoomMappings added in v0.2.0

func (t MapsV1RoomsResult) AsMapsV1RoomMappings() (MapsV1RoomMappings, error)

AsMapsV1RoomMappings returns the union data inside the MapsV1RoomsResult as a MapsV1RoomMappings

func (*MapsV1RoomsResult) FromMapsV1RoomMappingPair added in v0.2.0

func (t *MapsV1RoomsResult) FromMapsV1RoomMappingPair(v MapsV1RoomMappingPair) error

FromMapsV1RoomMappingPair overwrites any union data inside the MapsV1RoomsResult as the provided MapsV1RoomMappingPair

func (*MapsV1RoomsResult) FromMapsV1RoomMappings added in v0.2.0

func (t *MapsV1RoomsResult) FromMapsV1RoomMappings(v MapsV1RoomMappings) error

FromMapsV1RoomMappings overwrites any union data inside the MapsV1RoomsResult as the provided MapsV1RoomMappings

func (MapsV1RoomsResult) MarshalJSON added in v0.2.0

func (t MapsV1RoomsResult) MarshalJSON() ([]byte, error)

func (*MapsV1RoomsResult) MergeMapsV1RoomMappingPair added in v0.2.0

func (t *MapsV1RoomsResult) MergeMapsV1RoomMappingPair(v MapsV1RoomMappingPair) error

MergeMapsV1RoomMappingPair performs a merge with any union data inside the MapsV1RoomsResult, using the provided MapsV1RoomMappingPair

func (*MapsV1RoomsResult) MergeMapsV1RoomMappings added in v0.2.0

func (t *MapsV1RoomsResult) MergeMapsV1RoomMappings(v MapsV1RoomMappings) error

MergeMapsV1RoomMappings performs a merge with any union data inside the MapsV1RoomsResult, using the provided MapsV1RoomMappings

func (*MapsV1RoomsResult) UnmarshalJSON added in v0.2.0

func (t *MapsV1RoomsResult) UnmarshalJSON(b []byte) error

type MopMode

type MopMode int

MopMode Open device-dependent numeric enum; future values are preserved. This named inventory lists known constants; field contracts explicitly accept future values.

const (
	MopModeCustom   MopMode = 302
	MopModeDeep     MopMode = 301
	MopModeDeepPlus MopMode = 303
	MopModeStandard MopMode = 300
)

Defines values for MopMode.

type NoParameters

type NoParameters = []int64

NoParameters defines model for NoParameters.

type PauseCleaningRPCJSONRequestBody

type PauseCleaningRPCJSONRequestBody = NoParameters

PauseCleaningRPCJSONRequestBody defines model for PauseCleaningRPCJSONRequestBody.

type PhoneModel

type PhoneModel string

PhoneModel defines model for PhoneModel.

const (
	PhoneModelIPhone16 PhoneModel = "iPhone16,1"
)

Defines values for PhoneModel.

type PhoneSystem

type PhoneSystem string

PhoneSystem defines model for PhoneSystem.

const (
	PhoneSystemIOS PhoneSystem = "iOS"
)

Defines values for PhoneSystem.

type ProductCategory

type ProductCategory = string

ProductCategory Open device category. Known values are robot.vacuum.cleaner, roborock.wetdryvac, roborock.wm, roborock.mower and UNKNOWN; future strings remain valid.

type ProductProperty

type ProductProperty struct {
	Code *string `json:"code"`
	Desc *string `json:"desc"`

	// Id Property IDs are strings on V1 products and integers on Q10/A01 reference inventories.
	Id *ProductPropertyID `json:"id"`

	// Mode Open property access mode.
	Mode            *ProductPropertyMode `json:"mode"`
	Name            *string              `json:"name"`
	ProductProperty *json.RawMessage     `json:"productProperty"`

	// Property JSON-encoded ProductPropertyConstraints, or the string null. DecodeProperty exposes the typed contents.
	Property *string `json:"property"`

	// Type Open property value kind.
	Type                 *ProductPropertyType       `json:"type"`
	AdditionalProperties map[string]json.RawMessage `json:"-"`
}

ProductProperty defines model for ProductProperty.

func (ProductProperty) Get

func (a ProductProperty) Get(fieldName string) (value json.RawMessage, found bool)

Getter for additional properties for ProductProperty. Returns the specified element and whether it was found

func (ProductProperty) MarshalJSON

func (a ProductProperty) MarshalJSON() ([]byte, error)

Override default JSON handling for ProductProperty to handle AdditionalProperties

func (*ProductProperty) Set

func (a *ProductProperty) Set(fieldName string, value json.RawMessage)

Setter for additional properties for ProductProperty

func (*ProductProperty) UnmarshalJSON

func (a *ProductProperty) UnmarshalJSON(b []byte) error

Override default JSON handling for ProductProperty to handle AdditionalProperties

type ProductPropertyConstraints

type ProductPropertyConstraints struct {
	Max                  *float32                   `json:"max"`
	Min                  *float32                   `json:"min"`
	Range                *[]string                  `json:"range"`
	Scale                *float32                   `json:"scale"`
	Step                 *float32                   `json:"step"`
	Unit                 *string                    `json:"unit"`
	AdditionalProperties map[string]json.RawMessage `json:"-"`
}

ProductPropertyConstraints defines model for ProductPropertyConstraints.

func (ProductPropertyConstraints) Get

func (a ProductPropertyConstraints) Get(fieldName string) (value json.RawMessage, found bool)

Getter for additional properties for ProductPropertyConstraints. Returns the specified element and whether it was found

func (ProductPropertyConstraints) MarshalJSON

func (a ProductPropertyConstraints) MarshalJSON() ([]byte, error)

Override default JSON handling for ProductPropertyConstraints to handle AdditionalProperties

func (*ProductPropertyConstraints) Set

func (a *ProductPropertyConstraints) Set(fieldName string, value json.RawMessage)

Setter for additional properties for ProductPropertyConstraints

func (*ProductPropertyConstraints) UnmarshalJSON

func (a *ProductPropertyConstraints) UnmarshalJSON(b []byte) error

Override default JSON handling for ProductPropertyConstraints to handle AdditionalProperties

type ProductPropertyID

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

ProductPropertyID Property IDs are strings on V1 products and integers on Q10/A01 reference inventories.

func (ProductPropertyID) AsProductPropertyID0

func (t ProductPropertyID) AsProductPropertyID0() (ProductPropertyID0, error)

AsProductPropertyID0 returns the union data inside the ProductPropertyID as a ProductPropertyID0

func (ProductPropertyID) AsProductPropertyID1

func (t ProductPropertyID) AsProductPropertyID1() (ProductPropertyID1, error)

AsProductPropertyID1 returns the union data inside the ProductPropertyID as a ProductPropertyID1

func (*ProductPropertyID) FromProductPropertyID0

func (t *ProductPropertyID) FromProductPropertyID0(v ProductPropertyID0) error

FromProductPropertyID0 overwrites any union data inside the ProductPropertyID as the provided ProductPropertyID0

func (*ProductPropertyID) FromProductPropertyID1

func (t *ProductPropertyID) FromProductPropertyID1(v ProductPropertyID1) error

FromProductPropertyID1 overwrites any union data inside the ProductPropertyID as the provided ProductPropertyID1

func (ProductPropertyID) MarshalJSON

func (t ProductPropertyID) MarshalJSON() ([]byte, error)

func (*ProductPropertyID) MergeProductPropertyID0

func (t *ProductPropertyID) MergeProductPropertyID0(v ProductPropertyID0) error

MergeProductPropertyID0 performs a merge with any union data inside the ProductPropertyID, using the provided ProductPropertyID0

func (*ProductPropertyID) MergeProductPropertyID1

func (t *ProductPropertyID) MergeProductPropertyID1(v ProductPropertyID1) error

MergeProductPropertyID1 performs a merge with any union data inside the ProductPropertyID, using the provided ProductPropertyID1

func (*ProductPropertyID) UnmarshalJSON

func (t *ProductPropertyID) UnmarshalJSON(b []byte) error

type ProductPropertyID0

type ProductPropertyID0 = string

ProductPropertyID0 defines model for .

type ProductPropertyID1

type ProductPropertyID1 = int64

ProductPropertyID1 defines model for .

type ProductPropertyMode

type ProductPropertyMode = string

ProductPropertyMode Open property access mode.

type ProductPropertyType

type ProductPropertyType = string

ProductPropertyType Open property value kind.

type Q7RoomCleanRequest added in v0.2.0

type Q7RoomCleanRequest struct {
	CleanType Q7RoomCleanRequestCleanType `json:"clean_type"`
	CtrlValue Q7RoomCleanRequestCtrlValue `json:"ctrl_value"`

	// RoomIds Room IDs from the selected Q7 map, represented as unsigned 32-bit integers; individual firmware acceptance is not established.
	RoomIds []int64 `json:"room_ids"`
}

Q7RoomCleanRequest defines model for Q7RoomCleanRequest.

type Q7RoomCleanRequestCleanType added in v0.2.0

type Q7RoomCleanRequestCleanType int

Q7RoomCleanRequestCleanType defines model for Q7RoomCleanRequest.CleanType.

const (
	Q7RoomCleanRequestPropertiesCleanType0Value Q7RoomCleanRequestCleanType = 1
)

Defines values for Q7RoomCleanRequestCleanType.

type Q7RoomCleanRequestCtrlValue added in v0.2.0

type Q7RoomCleanRequestCtrlValue int

Q7RoomCleanRequestCtrlValue defines model for Q7RoomCleanRequest.CtrlValue.

const (
	Q7RoomCleanRequestPropertiesCtrlValue0Value Q7RoomCleanRequestCtrlValue = 1
)

Defines values for Q7RoomCleanRequestCtrlValue.

type Q10CleanCommand added in v0.2.0

type Q10CleanCommand struct {
	CleanParamters json.RawMessage    `json:"clean_paramters"`
	Cmd            Q10CleanCommandCmd `json:"cmd"`
}

Q10CleanCommand Transport carrier; room and zone messages constrain the command-specific parameter shape.

type Q10CleanCommandCmd added in v0.2.0

type Q10CleanCommandCmd int

Q10CleanCommandCmd defines model for Q10CleanCommand.Cmd.

const (
	N2 Q10CleanCommandCmd = 2
	N3 Q10CleanCommandCmd = 3
)

Defines values for Q10CleanCommandCmd.

type QueryA01ValuesJSONRequestBody

type QueryA01ValuesJSONRequestBody = A01QueryRequest

QueryA01ValuesJSONRequestBody Encrypted MQTT request payload before frame padding.

type RCCommand

type RCCommand struct {
	// Duration Movement duration in milliseconds, from 1 through 5000.
	Duration int `json:"duration"`

	// Omega Angular velocity in radians per second, from -0.8 through 0.8.
	Omega  float32 `json:"omega"`
	Seqnum int64   `json:"seqnum"`

	// Velocity Linear velocity in meters per second, from -0.3 through 0.3.
	Velocity float32 `json:"velocity"`
}

RCCommand defines model for RCCommand.

type RCEndRPCJSONRequestBody

type RCEndRPCJSONRequestBody = NoParameters

RCEndRPCJSONRequestBody defines model for RCEndRPCJSONRequestBody.

type RCMoveRPCJSONRequestBody

type RCMoveRPCJSONRequestBody = RCParameters

RCMoveRPCJSONRequestBody defines model for RCMoveRPCJSONRequestBody.

type RCParameters

type RCParameters = []RCCommand

RCParameters defines model for RCParameters.

type RCStartRPCJSONRequestBody

type RCStartRPCJSONRequestBody = NoParameters

RCStartRPCJSONRequestBody defines model for RCStartRPCJSONRequestBody.

type RCStopRPCJSONRequestBody

type RCStopRPCJSONRequestBody = NoParameters

RCStopRPCJSONRequestBody defines model for RCStopRPCJSONRequestBody.

type RPCMethod

type RPCMethod string

RPCMethod defines model for RPCMethod.

const (
	RPCCleanSegments       RPCMethod = "app_segment_clean"
	RPCCleanZones          RPCMethod = "app_zoned_clean"
	RPCDisableDND          RPCMethod = "close_dnd_timer"
	RPCGetCleanRecord      RPCMethod = "get_clean_record"
	RPCGetCleaningSummary  RPCMethod = "get_clean_summary"
	RPCGetConsumables      RPCMethod = "get_consumable"
	RPCGetDND              RPCMethod = "get_dnd_timer"
	RPCGetStatus           RPCMethod = "get_status"
	RPCPauseCleaning       RPCMethod = "app_pause"
	RPCRCEnd               RPCMethod = "app_rc_end"
	RPCRCMove              RPCMethod = "app_rc_move"
	RPCRCStart             RPCMethod = "app_rc_start"
	RPCRCStop              RPCMethod = "app_rc_stop"
	RPCReturnToDock        RPCMethod = "app_charge"
	RPCSetCleanMotorMode   RPCMethod = "set_clean_motor_mode"
	RPCSetDND              RPCMethod = "set_dnd_timer"
	RPCSetFanSpeed         RPCMethod = "set_custom_mode"
	RPCSetMopMode          RPCMethod = "set_mop_mode"
	RPCSetWaterMode        RPCMethod = "set_water_box_custom_mode"
	RPCSpotClean           RPCMethod = "app_spot"
	RPCStartCleaning       RPCMethod = "app_start"
	RPCStartDustCollection RPCMethod = "app_start_collect_dust"
	RPCStartMopWashing     RPCMethod = "app_start_wash"
	RPCStopCleaning        RPCMethod = "app_stop"
	RPCStopDustCollection  RPCMethod = "app_stop_collect_dust"
	RPCStopMopWashing      RPCMethod = "app_stop_wash"
)

Defines values for RPCMethod.

type RRiot

type RRiot struct {
	H                    string                     `json:"h"`
	K                    string                     `json:"k"`
	R                    RRiotReference             `json:"r"`
	S                    string                     `json:"s"`
	U                    string                     `json:"u"`
	AdditionalProperties map[string]json.RawMessage `json:"-"`
}

RRiot defines model for RRiot.

func (RRiot) Get

func (a RRiot) Get(fieldName string) (value json.RawMessage, found bool)

Getter for additional properties for RRiot. Returns the specified element and whether it was found

func (RRiot) MarshalJSON

func (a RRiot) MarshalJSON() ([]byte, error)

Override default JSON handling for RRiot to handle AdditionalProperties

func (*RRiot) Set

func (a *RRiot) Set(fieldName string, value json.RawMessage)

Setter for additional properties for RRiot

func (*RRiot) UnmarshalJSON

func (a *RRiot) UnmarshalJSON(b []byte) error

Override default JSON handling for RRiot to handle AdditionalProperties

type RRiotReference

type RRiotReference struct {
	A                    *string                    `json:"a"`
	L                    *string                    `json:"l"`
	M                    *string                    `json:"m"`
	R                    *string                    `json:"r"`
	AdditionalProperties map[string]json.RawMessage `json:"-"`
}

RRiotReference defines model for RRiotReference.

func (RRiotReference) Get

func (a RRiotReference) Get(fieldName string) (value json.RawMessage, found bool)

Getter for additional properties for RRiotReference. Returns the specified element and whether it was found

func (RRiotReference) MarshalJSON

func (a RRiotReference) MarshalJSON() ([]byte, error)

Override default JSON handling for RRiotReference to handle AdditionalProperties

func (*RRiotReference) Set

func (a *RRiotReference) Set(fieldName string, value json.RawMessage)

Setter for additional properties for RRiotReference

func (*RRiotReference) UnmarshalJSON

func (a *RRiotReference) UnmarshalJSON(b []byte) error

Override default JSON handling for RRiotReference to handle AdditionalProperties

type RefreshedRoom added in v0.2.0

type RefreshedRoom struct {
	Id                   int64                      `json:"id"`
	Name                 *string                    `json:"name,omitempty"`
	AdditionalProperties map[string]json.RawMessage `json:"-"`
}

RefreshedRoom defines model for RefreshedRoom.

func (RefreshedRoom) Get added in v0.2.0

func (a RefreshedRoom) Get(fieldName string) (value json.RawMessage, found bool)

Getter for additional properties for RefreshedRoom. Returns the specified element and whether it was found

func (RefreshedRoom) MarshalJSON added in v0.2.0

func (a RefreshedRoom) MarshalJSON() ([]byte, error)

Override default JSON handling for RefreshedRoom to handle AdditionalProperties

func (*RefreshedRoom) Set added in v0.2.0

func (a *RefreshedRoom) Set(fieldName string, value json.RawMessage)

Setter for additional properties for RefreshedRoom

func (*RefreshedRoom) UnmarshalJSON added in v0.2.0

func (a *RefreshedRoom) UnmarshalJSON(b []byte) error

Override default JSON handling for RefreshedRoom to handle AdditionalProperties

type RegionData

type RegionData struct {
	Country              *string                    `json:"country"`
	Countrycode          *RegionData_Countrycode    `json:"countrycode"`
	Url                  string                     `json:"url"`
	AdditionalProperties map[string]json.RawMessage `json:"-"`
}

RegionData defines model for RegionData.

func (RegionData) Get

func (a RegionData) Get(fieldName string) (value json.RawMessage, found bool)

Getter for additional properties for RegionData. Returns the specified element and whether it was found

func (RegionData) MarshalJSON

func (a RegionData) MarshalJSON() ([]byte, error)

Override default JSON handling for RegionData to handle AdditionalProperties

func (*RegionData) Set

func (a *RegionData) Set(fieldName string, value json.RawMessage)

Setter for additional properties for RegionData

func (*RegionData) UnmarshalJSON

func (a *RegionData) UnmarshalJSON(b []byte) error

Override default JSON handling for RegionData to handle AdditionalProperties

type RegionDataCountrycode0

type RegionDataCountrycode0 = string

RegionDataCountrycode0 defines model for .

type RegionDataCountrycode1

type RegionDataCountrycode1 = int64

RegionDataCountrycode1 defines model for .

type RegionData_Countrycode

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

RegionData_Countrycode defines model for RegionData.Countrycode.

func (RegionData_Countrycode) AsRegionDataCountrycode0

func (t RegionData_Countrycode) AsRegionDataCountrycode0() (RegionDataCountrycode0, error)

AsRegionDataCountrycode0 returns the union data inside the RegionData_Countrycode as a RegionDataCountrycode0

func (RegionData_Countrycode) AsRegionDataCountrycode1

func (t RegionData_Countrycode) AsRegionDataCountrycode1() (RegionDataCountrycode1, error)

AsRegionDataCountrycode1 returns the union data inside the RegionData_Countrycode as a RegionDataCountrycode1

func (*RegionData_Countrycode) FromRegionDataCountrycode0

func (t *RegionData_Countrycode) FromRegionDataCountrycode0(v RegionDataCountrycode0) error

FromRegionDataCountrycode0 overwrites any union data inside the RegionData_Countrycode as the provided RegionDataCountrycode0

func (*RegionData_Countrycode) FromRegionDataCountrycode1

func (t *RegionData_Countrycode) FromRegionDataCountrycode1(v RegionDataCountrycode1) error

FromRegionDataCountrycode1 overwrites any union data inside the RegionData_Countrycode as the provided RegionDataCountrycode1

func (RegionData_Countrycode) MarshalJSON

func (t RegionData_Countrycode) MarshalJSON() ([]byte, error)

func (*RegionData_Countrycode) MergeRegionDataCountrycode0

func (t *RegionData_Countrycode) MergeRegionDataCountrycode0(v RegionDataCountrycode0) error

MergeRegionDataCountrycode0 performs a merge with any union data inside the RegionData_Countrycode, using the provided RegionDataCountrycode0

func (*RegionData_Countrycode) MergeRegionDataCountrycode1

func (t *RegionData_Countrycode) MergeRegionDataCountrycode1(v RegionDataCountrycode1) error

MergeRegionDataCountrycode1 performs a merge with any union data inside the RegionData_Countrycode, using the provided RegionDataCountrycode1

func (*RegionData_Countrycode) UnmarshalJSON

func (t *RegionData_Countrycode) UnmarshalJSON(b []byte) error

type RegionResponse

type RegionResponse struct {
	Code                 int                        `json:"code"`
	Data                 *RegionData                `json:"data"`
	Msg                  *string                    `json:"msg"`
	AdditionalProperties map[string]json.RawMessage `json:"-"`
}

RegionResponse defines model for RegionResponse.

func (RegionResponse) Get

func (a RegionResponse) Get(fieldName string) (value json.RawMessage, found bool)

Getter for additional properties for RegionResponse. Returns the specified element and whether it was found

func (RegionResponse) MarshalJSON

func (a RegionResponse) MarshalJSON() ([]byte, error)

Override default JSON handling for RegionResponse to handle AdditionalProperties

func (*RegionResponse) Set

func (a *RegionResponse) Set(fieldName string, value json.RawMessage)

Setter for additional properties for RegionResponse

func (*RegionResponse) UnmarshalJSON

func (a *RegionResponse) UnmarshalJSON(b []byte) error

Override default JSON handling for RegionResponse to handle AdditionalProperties

type RequestCodeFormdataRequestBody

type RequestCodeFormdataRequestBody = CodeRequest

RequestCodeFormdataRequestBody defines body for RequestCode for application/x-www-form-urlencoded ContentType.

type RequestCodeParams

type RequestCodeParams struct {
	HeaderClientid   string         `json:"header_clientid"`
	HeaderClientlang ClientLanguage `json:"header_clientlang"`
}

RequestCodeParams defines parameters for RequestCode.

type ResolveRegionParams

type ResolveRegionParams struct {
	Email           string                             `form:"email" json:"email"`
	Needtwostepauth ResolveRegionParamsNeedtwostepauth `form:"needtwostepauth" json:"needtwostepauth"`
}

ResolveRegionParams defines parameters for ResolveRegion.

type ResolveRegionParamsNeedtwostepauth

type ResolveRegionParamsNeedtwostepauth string

ResolveRegionParamsNeedtwostepauth defines parameters for ResolveRegion.

const (
	ResolveRegionParamsNeedtwostepauthFalse ResolveRegionParamsNeedtwostepauth = "false"
)

Defines values for ResolveRegionParamsNeedtwostepauth.

type ReturnToDockRPCJSONRequestBody

type ReturnToDockRPCJSONRequestBody = NoParameters

ReturnToDockRPCJSONRequestBody defines model for ReturnToDockRPCJSONRequestBody.

type SegmentCommand

type SegmentCommand struct {
	Repeat   int64   `json:"repeat"`
	Segments []int64 `json:"segments"`
}

SegmentCommand defines model for SegmentCommand.

type SegmentParameters

type SegmentParameters = []SegmentCommand

SegmentParameters defines model for SegmentParameters.

type SetA01ValuesJSONRequestBody

type SetA01ValuesJSONRequestBody = A01SetRequest

SetA01ValuesJSONRequestBody Sparse MQTT setting publication or bundled washer start payload before encryption.

type SetCleanMotorModeRPCJSONRequestBody added in v0.3.0

type SetCleanMotorModeRPCJSONRequestBody = CleanMotorModeParameters

SetCleanMotorModeRPCJSONRequestBody defines model for SetCleanMotorModeRPCJSONRequestBody.

type SetDNDRPCJSONRequestBody

type SetDNDRPCJSONRequestBody = IntegerParameters

SetDNDRPCJSONRequestBody defines model for SetDNDRPCJSONRequestBody.

type SetDyadSettingsWire

type SetDyadSettingsWire struct {
	// SelfCleanMode SelfCleanMode appliance datapoint.
	SelfCleanMode *int `json:"202,omitempty"`

	// SelfCleanLevel SelfCleanLevel appliance datapoint.
	SelfCleanLevel *int `json:"203,omitempty"`

	// WarmLevel WarmLevel appliance datapoint.
	WarmLevel *int `json:"204,omitempty"`

	// CleanMode CleanMode appliance datapoint.
	CleanMode *int `json:"205,omitempty"`

	// Suction Suction appliance datapoint.
	Suction *int `json:"206,omitempty"`

	// WaterLevel WaterLevel appliance datapoint.
	WaterLevel *int `json:"207,omitempty"`

	// BrushSpeed BrushSpeed appliance datapoint.
	BrushSpeed *int `json:"208,omitempty"`

	// AutoSelfCleanSet AutoSelfCleanSet appliance datapoint.
	AutoSelfCleanSet *int `json:"212,omitempty"`

	// AutoDry AutoDry appliance datapoint.
	AutoDry *int `json:"213,omitempty"`

	// Volume Speaker volume percent, from 0 through 100.
	Volume *int `json:"221,omitempty"`

	// StandLockAutoRun StandLockAutoRun appliance datapoint.
	StandLockAutoRun *int `json:"222,omitempty"`

	// AutoSelfCleanSetMode AutoSelfCleanSetMode appliance datapoint.
	AutoSelfCleanSetMode *int `json:"223,omitempty"`

	// AutoDryMode AutoDryMode appliance datapoint.
	AutoDryMode *int `json:"224,omitempty"`

	// SilentDryDuration SilentDryDuration appliance datapoint.
	SilentDryDuration *int `json:"225,omitempty"`

	// SilentMode SilentMode appliance datapoint.
	SilentMode *int `json:"226,omitempty"`

	// SilentModeStartTime Minute of day, from 0 through 1439.
	SilentModeStartTime *int `json:"227,omitempty"`

	// SilentModeEndTime Minute of day, from 0 through 1439.
	SilentModeEndTime *int `json:"228,omitempty"`
}

SetDyadSettingsWire Sparse numeric-key A01 settings command.

type SetFanSpeedRPCJSONRequestBody

type SetFanSpeedRPCJSONRequestBody = IntegerParameters

SetFanSpeedRPCJSONRequestBody defines model for SetFanSpeedRPCJSONRequestBody.

type SetMopModeRPCJSONRequestBody

type SetMopModeRPCJSONRequestBody = IntegerParameters

SetMopModeRPCJSONRequestBody defines model for SetMopModeRPCJSONRequestBody.

type SetWaterModeRPCJSONRequestBody

type SetWaterModeRPCJSONRequestBody = IntegerParameters

SetWaterModeRPCJSONRequestBody defines model for SetWaterModeRPCJSONRequestBody.

type SetZeoSettingsWire

type SetZeoSettingsWire struct {
	// ChildLock Appliance boolean datapoint.
	ChildLock *bool `json:"206,omitempty"`

	// DetergentSet Appliance boolean datapoint.
	DetergentSet *bool `json:"211,omitempty"`

	// SoftenerSet Appliance boolean datapoint.
	SoftenerSet *bool `json:"212,omitempty"`

	// DetergentType DetergentType appliance datapoint.
	DetergentType *int `json:"213,omitempty"`

	// SoftenerType SoftenerType appliance datapoint.
	SoftenerType *int `json:"214,omitempty"`

	// Countdown Countdown appliance datapoint.
	Countdown *int `json:"217,omitempty"`

	// Sound Appliance boolean datapoint.
	Sound *bool `json:"223,omitempty"`

	// LightSetting Appliance boolean datapoint.
	LightSetting *bool `json:"229,omitempty"`

	// DetergentVolume DetergentVolume appliance datapoint.
	DetergentVolume *int `json:"230,omitempty"`

	// SoftenerVolume SoftenerVolume appliance datapoint.
	SoftenerVolume *int `json:"231,omitempty"`

	// SilentModeStartTime Minute of day, from 0 through 1439.
	SilentModeStartTime *int `json:"241,omitempty"`

	// SilentModeEndTime Minute of day, from 0 through 1439.
	SilentModeEndTime *int `json:"242,omitempty"`

	// SoftenerExpansionType SoftenerExpansionType appliance datapoint.
	SoftenerExpansionType *int `json:"245,omitempty"`

	// DetergentExpansionType DetergentExpansionType appliance datapoint.
	DetergentExpansionType *int `json:"248,omitempty"`
}

SetZeoSettingsWire Sparse numeric-key A01 settings command.

type SharedDeviceRoom added in v0.2.0

type SharedDeviceRoom struct {
	Id                   *int64                     `json:"id,omitempty"`
	Name                 *string                    `json:"name,omitempty"`
	RoomId               *int64                     `json:"roomId,omitempty"`
	AdditionalProperties map[string]json.RawMessage `json:"-"`
	// contains filtered or unexported fields
}

SharedDeviceRoom defines model for SharedDeviceRoom.

func (SharedDeviceRoom) AsSharedDeviceRoom0 added in v0.2.0

func (t SharedDeviceRoom) AsSharedDeviceRoom0() (SharedDeviceRoom0, error)

AsSharedDeviceRoom0 returns the union data inside the SharedDeviceRoom as a SharedDeviceRoom0

func (SharedDeviceRoom) AsSharedDeviceRoom1 added in v0.2.0

func (t SharedDeviceRoom) AsSharedDeviceRoom1() (SharedDeviceRoom1, error)

AsSharedDeviceRoom1 returns the union data inside the SharedDeviceRoom as a SharedDeviceRoom1

func (*SharedDeviceRoom) FromSharedDeviceRoom0 added in v0.2.0

func (t *SharedDeviceRoom) FromSharedDeviceRoom0(v SharedDeviceRoom0) error

FromSharedDeviceRoom0 overwrites any union data inside the SharedDeviceRoom as the provided SharedDeviceRoom0

func (*SharedDeviceRoom) FromSharedDeviceRoom1 added in v0.2.0

func (t *SharedDeviceRoom) FromSharedDeviceRoom1(v SharedDeviceRoom1) error

FromSharedDeviceRoom1 overwrites any union data inside the SharedDeviceRoom as the provided SharedDeviceRoom1

func (SharedDeviceRoom) Get added in v0.2.0

func (a SharedDeviceRoom) Get(fieldName string) (value json.RawMessage, found bool)

Getter for additional properties for SharedDeviceRoom. Returns the specified element and whether it was found

func (SharedDeviceRoom) MarshalJSON added in v0.2.0

func (a SharedDeviceRoom) MarshalJSON() ([]byte, error)

Override default JSON handling for SharedDeviceRoom to handle AdditionalProperties and union

func (*SharedDeviceRoom) MergeSharedDeviceRoom0 added in v0.2.0

func (t *SharedDeviceRoom) MergeSharedDeviceRoom0(v SharedDeviceRoom0) error

MergeSharedDeviceRoom0 performs a merge with any union data inside the SharedDeviceRoom, using the provided SharedDeviceRoom0

func (*SharedDeviceRoom) MergeSharedDeviceRoom1 added in v0.2.0

func (t *SharedDeviceRoom) MergeSharedDeviceRoom1(v SharedDeviceRoom1) error

MergeSharedDeviceRoom1 performs a merge with any union data inside the SharedDeviceRoom, using the provided SharedDeviceRoom1

func (*SharedDeviceRoom) Set added in v0.2.0

func (a *SharedDeviceRoom) Set(fieldName string, value json.RawMessage)

Setter for additional properties for SharedDeviceRoom

func (*SharedDeviceRoom) UnmarshalJSON added in v0.2.0

func (a *SharedDeviceRoom) UnmarshalJSON(b []byte) error

Override default JSON handling for SharedDeviceRoom to handle AdditionalProperties and union

type SharedDeviceRoom0 added in v0.2.0

type SharedDeviceRoom0 = interface{}

SharedDeviceRoom0 defines model for .

type SharedDeviceRoom1 added in v0.2.0

type SharedDeviceRoom1 = interface{}

SharedDeviceRoom1 defines model for .

type SharedDeviceRoomsResponse added in v0.2.0

type SharedDeviceRoomsResponse struct {
	Code                 *int                       `json:"code,omitempty"`
	Result               *[]SharedDeviceRoom        `json:"result,omitempty"`
	Success              bool                       `json:"success"`
	AdditionalProperties map[string]json.RawMessage `json:"-"`
}

SharedDeviceRoomsResponse defines model for SharedDeviceRoomsResponse.

func (SharedDeviceRoomsResponse) Get added in v0.2.0

func (a SharedDeviceRoomsResponse) Get(fieldName string) (value json.RawMessage, found bool)

Getter for additional properties for SharedDeviceRoomsResponse. Returns the specified element and whether it was found

func (SharedDeviceRoomsResponse) MarshalJSON added in v0.2.0

func (a SharedDeviceRoomsResponse) MarshalJSON() ([]byte, error)

Override default JSON handling for SharedDeviceRoomsResponse to handle AdditionalProperties

func (*SharedDeviceRoomsResponse) Set added in v0.2.0

func (a *SharedDeviceRoomsResponse) Set(fieldName string, value json.RawMessage)

Setter for additional properties for SharedDeviceRoomsResponse

func (*SharedDeviceRoomsResponse) UnmarshalJSON added in v0.2.0

func (a *SharedDeviceRoomsResponse) UnmarshalJSON(b []byte) error

Override default JSON handling for SharedDeviceRoomsResponse to handle AdditionalProperties

type SignKeyParams

type SignKeyParams struct {
	S              string `form:"s" json:"s"`
	HeaderClientid string `json:"header_clientid"`
}

SignKeyParams defines parameters for SignKey.

type SignResponse

type SignResponse struct {
	Code                 int                        `json:"code"`
	Data                 *SignedKey                 `json:"data"`
	Msg                  *string                    `json:"msg"`
	AdditionalProperties map[string]json.RawMessage `json:"-"`
}

SignResponse defines model for SignResponse.

func (SignResponse) Get

func (a SignResponse) Get(fieldName string) (value json.RawMessage, found bool)

Getter for additional properties for SignResponse. Returns the specified element and whether it was found

func (SignResponse) MarshalJSON

func (a SignResponse) MarshalJSON() ([]byte, error)

Override default JSON handling for SignResponse to handle AdditionalProperties

func (*SignResponse) Set

func (a *SignResponse) Set(fieldName string, value json.RawMessage)

Setter for additional properties for SignResponse

func (*SignResponse) UnmarshalJSON

func (a *SignResponse) UnmarshalJSON(b []byte) error

Override default JSON handling for SignResponse to handle AdditionalProperties

type SignedKey

type SignedKey struct {
	K                    string                     `json:"k"`
	AdditionalProperties map[string]json.RawMessage `json:"-"`
}

SignedKey defines model for SignedKey.

func (SignedKey) Get

func (a SignedKey) Get(fieldName string) (value json.RawMessage, found bool)

Getter for additional properties for SignedKey. Returns the specified element and whether it was found

func (SignedKey) MarshalJSON

func (a SignedKey) MarshalJSON() ([]byte, error)

Override default JSON handling for SignedKey to handle AdditionalProperties

func (*SignedKey) Set

func (a *SignedKey) Set(fieldName string, value json.RawMessage)

Setter for additional properties for SignedKey

func (*SignedKey) UnmarshalJSON

func (a *SignedKey) UnmarshalJSON(b []byte) error

Override default JSON handling for SignedKey to handle AdditionalProperties

type SpotCleanRPCJSONRequestBody

type SpotCleanRPCJSONRequestBody = NoParameters

SpotCleanRPCJSONRequestBody defines model for SpotCleanRPCJSONRequestBody.

type StartCleaningRPCJSONRequestBody

type StartCleaningRPCJSONRequestBody = NoParameters

StartCleaningRPCJSONRequestBody defines model for StartCleaningRPCJSONRequestBody.

type StartDustCollectionRPCJSONRequestBody

type StartDustCollectionRPCJSONRequestBody = NoParameters

StartDustCollectionRPCJSONRequestBody defines model for StartDustCollectionRPCJSONRequestBody.

type StartMopWashingRPCJSONRequestBody

type StartMopWashingRPCJSONRequestBody = NoParameters

StartMopWashingRPCJSONRequestBody defines model for StartMopWashingRPCJSONRequestBody.

type StartZeoWire

type StartZeoWire struct {
	// Start Schema-owned true start signal; bundled with nonzero mode and program.
	Start StartZeoWire200 `json:"200"`

	// Mode Mode appliance datapoint.
	Mode int `json:"204"`

	// Program Program appliance datapoint.
	Program int `json:"205"`

	// Temperature Temperature appliance datapoint.
	Temperature *int `json:"207,omitempty"`

	// Rinse Rinse appliance datapoint.
	Rinse *int `json:"208,omitempty"`

	// Spin Spin appliance datapoint.
	Spin *int `json:"209,omitempty"`

	// DryingMode DryingMode appliance datapoint.
	DryingMode *int `json:"210,omitempty"`

	// Soak Soak appliance datapoint.
	Soak *int `json:"233,omitempty"`

	// DryCareMode DryCareMode appliance datapoint.
	DryCareMode *int `json:"244,omitempty"`

	// DryingMethod DryingMethod appliance datapoint.
	DryingMethod *int `json:"256,omitempty"`

	// SteamVolume SteamVolume appliance datapoint.
	SteamVolume *int `json:"257,omitempty"`
}

StartZeoWire Bundled Zeo START command.

type StartZeoWire200

type StartZeoWire200 bool

StartZeoWire200 Schema-owned true start signal; bundled with nonzero mode and program.

const (
	True StartZeoWire200 = true
)

Defines values for StartZeoWire200.

type Status

type Status struct {
	AdbumperStatus     *[]int64 `json:"adbumper_status,omitempty"`
	AutoDustCollection *int64   `json:"auto_dust_collection,omitempty"`
	AvoidCount         *int64   `json:"avoid_count,omitempty"`
	BackType           *int64   `json:"back_type,omitempty"`
	Battery            *int64   `json:"battery,omitempty"`
	CameraStatus       *int64   `json:"camera_status,omitempty"`

	// ChargeStatus Open ChargeStatus value; future firmware values are accepted.
	ChargeStatus         *ChargeStatus `json:"charge_status,omitempty"`
	CleanArea            *int64        `json:"clean_area,omitempty"`
	CleanPercent         *int64        `json:"clean_percent,omitempty"`
	CleanTime            *int64        `json:"clean_time,omitempty"`
	CollisionAvoidStatus *int64        `json:"collision_avoid_status,omitempty"`
	CommonStatus         *int64        `json:"common_status,omitempty"`
	CornerCleanMode      *int64        `json:"corner_clean_mode,omitempty"`
	DebugMode            *int64        `json:"debug_mode,omitempty"`
	DistanceOff          *int64        `json:"distance_off,omitempty"`
	DndEnabled           *int64        `json:"dnd_enabled,omitempty"`

	// DockErrorStatus Open DockErrorCode value; future firmware values are accepted.
	DockErrorStatus *DockErrorCode `json:"dock_error_status,omitempty"`

	// DockType Open DockType value; future firmware values are accepted.
	DockType             *DockType `json:"dock_type,omitempty"`
	DryStatus            *int64    `json:"dry_status,omitempty"`
	Dss                  *int64    `json:"dss,omitempty"`
	DustCollectionStatus *int64    `json:"dust_collection_status,omitempty"`

	// ErrorCode Open DeviceErrorCode value; future firmware values are accepted.
	ErrorCode *DeviceErrorCode `json:"error_code,omitempty"`

	// FanPower Open FanSpeed value; future firmware values are accepted.
	FanPower              *FanSpeed `json:"fan_power,omitempty"`
	HomeSecEnablePassword *int64    `json:"home_sec_enable_password,omitempty"`
	HomeSecStatus         *int64    `json:"home_sec_status,omitempty"`

	// InCleaning Open CleaningState value; future firmware values are accepted.
	InCleaning         *CleaningState `json:"in_cleaning,omitempty"`
	InFreshState       *int64         `json:"in_fresh_state,omitempty"`
	InReturning        *int64         `json:"in_returning,omitempty"`
	InWarmup           *int64         `json:"in_warmup,omitempty"`
	IsExploring        *int64         `json:"is_exploring,omitempty"`
	IsLocating         *int64         `json:"is_locating,omitempty"`
	Kct                *int64         `json:"kct,omitempty"`
	LabStatus          *int64         `json:"lab_status,omitempty"`
	LastCleanT         *int64         `json:"last_clean_t,omitempty"`
	LockStatus         *int64         `json:"lock_status,omitempty"`
	MapPresent         *int64         `json:"map_present,omitempty"`
	MapStatus          *int64         `json:"map_status,omitempty"`
	MopForbiddenEnable *int64         `json:"mop_forbidden_enable,omitempty"`

	// MopMode Open MopMode value; future firmware values are accepted.
	MopMode       *MopMode `json:"mop_mode,omitempty"`
	MsgSeq        *int64   `json:"msg_seq,omitempty"`
	MsgVer        *int64   `json:"msg_ver,omitempty"`
	Rdt           *int64   `json:"rdt,omitempty"`
	Repeat        *int64   `json:"repeat,omitempty"`
	ReplenishMode *int64   `json:"replenish_mode,omitempty"`
	Rss           *int64   `json:"rss,omitempty"`

	// State Open DeviceState value; future firmware values are accepted.
	State                  *DeviceState `json:"state,omitempty"`
	SubdivisionSets        *int64       `json:"subdivision_sets,omitempty"`
	SwitchMapMode          *int64       `json:"switch_map_mode,omitempty"`
	UnsaveMapFlag          *int64       `json:"unsave_map_flag,omitempty"`
	UnsaveMapReason        *int64       `json:"unsave_map_reason,omitempty"`
	WashPhase              *int64       `json:"wash_phase,omitempty"`
	WashReady              *int64       `json:"wash_ready,omitempty"`
	WashStatus             *int64       `json:"wash_status,omitempty"`
	WaterBoxCarriageStatus *int64       `json:"water_box_carriage_status,omitempty"`

	// WaterBoxMode Open WaterMode value; future firmware values are accepted.
	WaterBoxMode         *WaterMode                 `json:"water_box_mode,omitempty"`
	WaterBoxStatus       *int64                     `json:"water_box_status,omitempty"`
	WaterShortageStatus  *int64                     `json:"water_shortage_status,omitempty"`
	AdditionalProperties map[string]json.RawMessage `json:"-"`
}

Status Presence-aware Status inventory from pinned Python V1 containers; absent fields stay absent. Cleaning area is square millimeters and durations are seconds.

func (Status) Get

func (a Status) Get(fieldName string) (value json.RawMessage, found bool)

Getter for additional properties for Status. Returns the specified element and whether it was found

func (Status) MarshalJSON

func (a Status) MarshalJSON() ([]byte, error)

Override default JSON handling for Status to handle AdditionalProperties

func (*Status) Set

func (a *Status) Set(fieldName string, value json.RawMessage)

Setter for additional properties for Status

func (*Status) UnmarshalJSON

func (a *Status) UnmarshalJSON(b []byte) error

Override default JSON handling for Status to handle AdditionalProperties

type StatusRPCResult

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

StatusRPCResult Device returns an object or an array containing exactly one object. Unknown firmware fields remain available as raw JSON properties.

func (StatusRPCResult) AsStatus

func (t StatusRPCResult) AsStatus() (Status, error)

AsStatus returns the union data inside the StatusRPCResult as a Status

func (StatusRPCResult) AsStatusSingletonResult

func (t StatusRPCResult) AsStatusSingletonResult() (StatusSingletonResult, error)

AsStatusSingletonResult returns the union data inside the StatusRPCResult as a StatusSingletonResult

func (*StatusRPCResult) FromStatus

func (t *StatusRPCResult) FromStatus(v Status) error

FromStatus overwrites any union data inside the StatusRPCResult as the provided Status

func (*StatusRPCResult) FromStatusSingletonResult

func (t *StatusRPCResult) FromStatusSingletonResult(v StatusSingletonResult) error

FromStatusSingletonResult overwrites any union data inside the StatusRPCResult as the provided StatusSingletonResult

func (StatusRPCResult) MarshalJSON

func (t StatusRPCResult) MarshalJSON() ([]byte, error)

func (*StatusRPCResult) MergeStatus

func (t *StatusRPCResult) MergeStatus(v Status) error

MergeStatus performs a merge with any union data inside the StatusRPCResult, using the provided Status

func (*StatusRPCResult) MergeStatusSingletonResult

func (t *StatusRPCResult) MergeStatusSingletonResult(v StatusSingletonResult) error

MergeStatusSingletonResult performs a merge with any union data inside the StatusRPCResult, using the provided StatusSingletonResult

func (*StatusRPCResult) UnmarshalJSON

func (t *StatusRPCResult) UnmarshalJSON(b []byte) error

type StatusSingletonResult

type StatusSingletonResult = []Status

StatusSingletonResult defines model for StatusSingletonResult.

type StopCleaningRPCJSONRequestBody

type StopCleaningRPCJSONRequestBody = NoParameters

StopCleaningRPCJSONRequestBody defines model for StopCleaningRPCJSONRequestBody.

type StopDustCollectionRPCJSONRequestBody

type StopDustCollectionRPCJSONRequestBody = NoParameters

StopDustCollectionRPCJSONRequestBody defines model for StopDustCollectionRPCJSONRequestBody.

type StopMopWashingRPCJSONRequestBody

type StopMopWashingRPCJSONRequestBody = NoParameters

StopMopWashingRPCJSONRequestBody defines model for StopMopWashingRPCJSONRequestBody.

type UserData

type UserData struct {
	Avatarurl            *string                    `json:"avatarurl"`
	Country              *string                    `json:"country"`
	Countrycode          *string                    `json:"countrycode"`
	Nickname             *string                    `json:"nickname"`
	Region               *string                    `json:"region"`
	Rriot                RRiot                      `json:"rriot"`
	Rruid                *string                    `json:"rruid"`
	Token                *string                    `json:"token"`
	Tokentype            *string                    `json:"tokentype"`
	TuyaDeviceState      *int64                     `json:"tuyaDeviceState"`
	Uid                  *int64                     `json:"uid"`
	AdditionalProperties map[string]json.RawMessage `json:"-"`
}

UserData defines model for UserData.

func (UserData) Get

func (a UserData) Get(fieldName string) (value json.RawMessage, found bool)

Getter for additional properties for UserData. Returns the specified element and whether it was found

func (UserData) MarshalJSON

func (a UserData) MarshalJSON() ([]byte, error)

Override default JSON handling for UserData to handle AdditionalProperties

func (*UserData) Set

func (a *UserData) Set(fieldName string, value json.RawMessage)

Setter for additional properties for UserData

func (*UserData) UnmarshalJSON

func (a *UserData) UnmarshalJSON(b []byte) error

Override default JSON handling for UserData to handle AdditionalProperties

type VendorCode

type VendorCode = int

VendorCode Open vendor result code. Known values are preserved without rejecting future result codes.

const (
	VendorCodeAccountMissing     VendorCode = 2008
	VendorCodeAgreementRequired  VendorCode = 3009
	VendorCodeDeletedAccount     VendorCode = 3030
	VendorCodeInvalidAgreement   VendorCode = 3006
	VendorCodeInvalidCode        VendorCode = 2018
	VendorCodeInvalidCredentials VendorCode = 2010
	VendorCodeInvalidEmail       VendorCode = 2003
	VendorCodeMissingParameters  VendorCode = 1001
	VendorCodeSuccess            VendorCode = 200
	VendorCodeTooFrequent        VendorCode = 9002
	VendorCodeWrongRegion        VendorCode = 3039
)

type WaterMode

type WaterMode int

WaterMode Open device-dependent numeric enum; future values are preserved. This named inventory lists known constants; field contracts explicitly accept future values.

const (
	WaterModeHigh   WaterMode = 203
	WaterModeLow    WaterMode = 201
	WaterModeMedium WaterMode = 202
	WaterModeOff    WaterMode = 200
)

Defines values for WaterMode.

type ZeoStateWire

type ZeoStateWire struct {
	// Start Appliance boolean datapoint.
	Start *bool `json:"200,omitempty"`

	// Pause Appliance boolean datapoint.
	Pause *bool `json:"201,omitempty"`

	// Shutdown Appliance boolean datapoint.
	Shutdown *bool `json:"202,omitempty"`

	// Status Status appliance datapoint.
	Status *int `json:"203,omitempty"`

	// Mode Mode appliance datapoint.
	Mode *int `json:"204,omitempty"`

	// Program Program appliance datapoint.
	Program *int `json:"205,omitempty"`

	// ChildLock Appliance boolean datapoint.
	ChildLock *bool `json:"206,omitempty"`

	// Temperature Temperature appliance datapoint.
	Temperature *int `json:"207,omitempty"`

	// Rinse Rinse appliance datapoint.
	Rinse *int `json:"208,omitempty"`

	// Spin Spin appliance datapoint.
	Spin *int `json:"209,omitempty"`

	// DryingMode DryingMode appliance datapoint.
	DryingMode *int `json:"210,omitempty"`

	// DetergentSet Appliance boolean datapoint.
	DetergentSet *bool `json:"211,omitempty"`

	// SoftenerSet Appliance boolean datapoint.
	SoftenerSet *bool `json:"212,omitempty"`

	// DetergentType DetergentType appliance datapoint.
	DetergentType *int `json:"213,omitempty"`

	// SoftenerType SoftenerType appliance datapoint.
	SoftenerType *int `json:"214,omitempty"`

	// DirtDetectionStatus DirtDetectionStatus appliance datapoint.
	DirtDetectionStatus *int `json:"216,omitempty"`

	// Countdown Countdown appliance datapoint.
	Countdown *int `json:"217,omitempty"`

	// WashingLeft WashingLeft appliance datapoint.
	WashingLeft *int `json:"218,omitempty"`

	// DoorLockState Appliance boolean datapoint.
	DoorLockState *bool `json:"219,omitempty"`

	// Error Error appliance datapoint.
	Error *int `json:"220,omitempty"`

	// CustomParamSave CustomParamSave appliance datapoint.
	CustomParamSave *int `json:"221,omitempty"`

	// CustomParamGet CustomParamGet appliance datapoint.
	CustomParamGet *int `json:"222,omitempty"`

	// Sound Appliance boolean datapoint.
	Sound *bool `json:"223,omitempty"`

	// TimesAfterClean TimesAfterClean appliance datapoint.
	TimesAfterClean *int `json:"224,omitempty"`

	// DefaultSetting Appliance boolean datapoint.
	DefaultSetting *bool `json:"225,omitempty"`

	// DetergentEmpty Appliance boolean datapoint.
	DetergentEmpty *bool `json:"226,omitempty"`

	// SoftenerEmpty Appliance boolean datapoint.
	SoftenerEmpty *bool `json:"227,omitempty"`

	// LightSetting Appliance boolean datapoint.
	LightSetting *bool `json:"229,omitempty"`

	// DetergentVolume DetergentVolume appliance datapoint.
	DetergentVolume *int `json:"230,omitempty"`

	// SoftenerVolume SoftenerVolume appliance datapoint.
	SoftenerVolume *int `json:"231,omitempty"`

	// AppAuthorization AppAuthorization appliance datapoint.
	AppAuthorization *int `json:"232,omitempty"`

	// Soak Soak appliance datapoint.
	Soak *int `json:"233,omitempty"`

	// TotalTime TotalTime appliance datapoint.
	TotalTime *int `json:"234,omitempty"`

	// FeatureBits FeatureBits appliance datapoint.
	FeatureBits *int `json:"237,omitempty"`

	// CustomProgramCleaningTime CustomProgramCleaningTime appliance datapoint.
	CustomProgramCleaningTime *int `json:"239,omitempty"`

	// SilentModeStartTime Minute of day, from 0 through 1439.
	SilentModeStartTime *int `json:"241,omitempty"`

	// SilentModeEndTime Minute of day, from 0 through 1439.
	SilentModeEndTime *int `json:"242,omitempty"`

	// DryCareMode DryCareMode appliance datapoint.
	DryCareMode *int `json:"244,omitempty"`

	// SoftenerExpansionType SoftenerExpansionType appliance datapoint.
	SoftenerExpansionType *int `json:"245,omitempty"`

	// DetergentExpansionType DetergentExpansionType appliance datapoint.
	DetergentExpansionType *int `json:"248,omitempty"`

	// DryingMethod DryingMethod appliance datapoint.
	DryingMethod *int `json:"256,omitempty"`

	// SteamVolume SteamVolume appliance datapoint.
	SteamVolume *int `json:"257,omitempty"`

	// SteamCareTime SteamCareTime appliance datapoint.
	SteamCareTime *int `json:"261,omitempty"`

	// StartDryerError StartDryerError appliance datapoint.
	StartDryerError *int `json:"265,omitempty"`
}

ZeoStateWire Numeric-key A01 appliance datapoints.

type ZoneParameters

type ZoneParameters = [][]int64

ZoneParameters defines model for ZoneParameters.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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