Versions in this module Expand all Collapse all v1 v1.1.0 Sep 15, 2026 Changes in this version + var Privileges = map[string]jamfplatform.MethodPrivileges + func PrivilegesFor(method string) (jamfplatform.MethodPrivileges, bool) + type ApiErrorCauseRepresentation struct + Code string + Description string + Field string + ID string + type ApiErrorRepresentation struct + Errors []ApiErrorCauseRepresentation + HttpStatus int + TraceID string + type Client struct + func New(base *jamfplatform.Client) *Client + func (c *Client) CreateDeviceGroup(ctx context.Context, request *DeviceGroupCreateRepresentationV1) (*HrefRepresentation, error) + func (c *Client) DeleteDeviceGroup(ctx context.Context, id string) error + func (c *Client) GetDeviceGroup(ctx context.Context, id string) (*DeviceGroupReadRepresentationV1, error) + func (c *Client) ListDeviceGroupMembers(ctx context.Context, id string) ([]string, error) + func (c *Client) ListDeviceGroups(ctx context.Context, sort []string, filter string) ([]DeviceGroupListReadRepresentationV1, error) + func (c *Client) ListDeviceGroupsForDevice(ctx context.Context, deviceID string) ([]DeviceGroupMemberOfRepresentationV1, error) + func (c *Client) ResolveDeviceGroupByName(ctx context.Context, name string) (*DeviceGroupListReadRepresentationV1, error) + func (c *Client) ResolveDeviceGroupIDByName(ctx context.Context, name string) (string, error) + func (c *Client) UpdateDeviceGroup(ctx context.Context, id string, request *DeviceGroupUpdateRepresentationV1) error + func (c *Client) UpdateDeviceGroupMembers(ctx context.Context, id string, ...) error + type DeviceGroupCreateRepresentationV1 struct + Criteria *[]DeviceGroupCriteriaRepresentationV1 + Description *string + DeviceType DeviceTypeV1 + GroupType GroupTypeV1 + Members *[]string + Name string + type DeviceGroupCriteriaRepresentationV1 struct + AttributeName string + AttributeValue string + HasClosingParenthesis *bool + HasOpeningParenthesis *bool + JoinType JoinTypeV1 + Operator string + Order int + type DeviceGroupListReadRepresentationV1 struct + Description string + DeviceType DeviceTypeV1 + GroupType GroupTypeV1 + ID string + MemberCount int + Name string + type DeviceGroupMemberOfRepresentationV1 struct + GroupID string + GroupName string + type DeviceGroupMemberPatchRepresentationV1 struct + Added *[]string + Removed *[]string + type DeviceGroupReadRepresentationV1 struct + Criteria *[]DeviceGroupCriteriaRepresentationV1 + Description string + DeviceType DeviceTypeV1 + GroupType GroupTypeV1 + ID string + MemberCount int + Name string + type DeviceGroupUpdateRepresentationV1 struct + Criteria *[]DeviceGroupCriteriaRepresentationV1 + Description *string + Name *string + type DeviceTypeV1 = string + const DeviceTypeV1Computer + const DeviceTypeV1Mobile + func DeviceTypeV1Values() []DeviceTypeV1 + type GroupTypeV1 = string + const GroupTypeV1Smart + const GroupTypeV1Static + func GroupTypeV1Values() []GroupTypeV1 + type HrefRepresentation struct + Href string + ID string + type JoinTypeV1 = string + const JoinTypeV1And + const JoinTypeV1Or + func JoinTypeV1Values() []JoinTypeV1 + type ListDeviceGroupMemberOfResponseRepresentation struct + Results []DeviceGroupMemberOfRepresentationV1 + TotalCount int + type ListDeviceGroupMemberReadRepresentation struct + Results []string + TotalCount int + type ListResponseRepresentation struct + TotalCount int + type PaginatedDeviceGroupResponseRepresentation struct + HasNext bool + HasPrevious bool + Page int + PageSize int + Results []DeviceGroupListReadRepresentationV1 + TotalCount int + TotalPages int + type PaginatedResponseRepresentation struct + HasNext bool + HasPrevious bool + Page int + PageSize int + TotalCount int + TotalPages int