maintenance

package
v2.5.3 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: Apache-2.0 Imports: 0 Imported by: 7

Documentation

Index

Constants

View Source
const (
	ResourceType = "oic.wk.mnt"
	ResourceURI  = "/oic/mnt"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Maintenance

type Maintenance struct {
	ResourceTypes []string `json:"rt,omitempty"`
	Interfaces    []string `json:"if,omitempty"`
	Name          string   `json:"n,omitempty"`
	FactoryReset  bool     `json:"fr,omitempty"`
	Reboot        bool     `json:"rb,omitempty"`
	LastHTTPError int      `json:"err,omitempty"`
}

type MaintenanceUpdateRequest

type MaintenanceUpdateRequest struct {
	FactoryReset bool `json:"fr,omitempty"`
	Reboot       bool `json:"rb,omitempty"`
}

type MaintenanceV1 added in v2.5.0

type MaintenanceV1 struct {
	ResourceTypes []string `json:"rt,omitempty"`
	Interfaces    []string `json:"if,omitempty"`
	Name          string   `json:"n,omitempty"`
	FactoryReset  *bool    `json:"fr,omitempty"`
	Reboot        *bool    `json:"rb,omitempty"`
	LastHTTPError *int     `json:"err,omitempty"`
}

Jump to

Keyboard shortcuts

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