remove_devices

package
v2.5.23 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RemoveDevicesRequest

type RemoveDevicesRequest struct {
	ClientConnectorVersion []string `json:"clientConnectorVersion,omitempty"`
	OsType                 int      `json:"osType,omitempty"`
	Udids                  []string `json:"udids,omitempty"`
	UserName               string   `json:"userName,omitempty"`
}

type RemoveDevicesResponse

type RemoveDevicesResponse struct {
	DevicesRemoved int    `json:"devicesRemoved,omitempty"`
	ErrorMsg       string `json:"errorMsg,omitempty"`
}

type Service

type Service struct {
	Client *zcc.Client
}

func New

func New(c *zcc.Client) *Service

func (*Service) ForceRemoveDevices

func (service *Service) ForceRemoveDevices(request RemoveDevicesRequest, pageSize int) (*RemoveDevicesResponse, error)

ForceRemoveDevices force removes the enrolled devices from the portal

func (*Service) SoftRemoveDevices

func (service *Service) SoftRemoveDevices(request RemoveDevicesRequest, pageSize int) (*RemoveDevicesResponse, error)

SoftRemoveDevices soft removes the enrolled devices from the portal

Jump to

Keyboard shortcuts

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