management

package
v0.0.0-...-59d4d0b Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const DeviceManagementGenerateHash = "b838baacf2e790db729b6ca3f52724adc8bfb96d"

Variables

View Source
var DeclarationMap = map[string]any{
	"com.apple.management.organization-info":   ManagementOrganizationInformation{},
	"com.apple.management.properties":          ManagementProperties{},
	"com.apple.management.server-capabilities": ManagementServerCapabilities{},
}

Functions

This section is empty.

Types

type ManagementOrganizationInformation

type ManagementOrganizationInformation struct {
	// The name of the organization.
	Name string `json:"Name" required:"true"`
	// The email address of the contact person for the organization.
	Email *string `json:"Email,omitempty"`
	// The website of the organization to contact for support.
	URL *string `json:"URL,omitempty"`
	// The additional properties that verify the identity and authenticity of the organization.
	Proof *Proof `json:"Proof,omitempty"`
}

Use this declaration to tell the client about the server's organization information.

func (*ManagementOrganizationInformation) DeclarationType

func (p *ManagementOrganizationInformation) DeclarationType() string

type ManagementProperties

type ManagementProperties map[string]any

Use this declaration to set properties on the device. Each entry represents a property key/value.

func (ManagementProperties) DeclarationType

func (p ManagementProperties) DeclarationType() string

type ManagementServerCapabilities

type ManagementServerCapabilities struct {
	// The server's protocol version.
	Version string `json:"Version" required:"true"`
	// A dictionary that contains the server's optional protocol features.
	// Each dictionary item uses the key name to represent a feature, and the value to hold the feature's associated parameters. This protocol reserves keys with a prefix of “'com.apple.'”, which appear as subkeys in this dictionary.
	SupportedFeatures map[string]any `json:"SupportedFeatures" required:"true"`
}

Use this declaration to tell the client about the server's capabilities.

func (*ManagementServerCapabilities) DeclarationType

func (p *ManagementServerCapabilities) DeclarationType() string

type Proof

type Proof struct {
	// A token that verifies the identity of the organization when using this service.
	IdentityToken *string `json:"IdentityToken,omitempty"`
}

The additional properties that verify the identity and authenticity of the organization.

Jump to

Keyboard shortcuts

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