maintenance

package
v0.0.0-...-f6a1651 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const MaintenanceResourceType = "oic.wk.mnt"

Maintenance. https://github.com/openconnectivityfoundation/core-extensions/blob/master/swagger2.0/oic.wk.mnt.swagger.json

Variables

This section is empty.

Functions

This section is empty.

Types

type Maintenance

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

type MaintenanceUpdateRequest

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

Jump to

Keyboard shortcuts

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