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 ¶
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
Click to show internal directories.
Click to hide internal directories.