Class: Jamf::OAPISchemas::DeviceEnrollmentToken

Inherits:
Jamf::OAPIObject show all
Defined in:
lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_token.rb

Overview

OAPI Object Model and Enums for: DeviceEnrollmentToken

This class was automatically genereated from the api/schema URL path on a Jamf Pro server version 10.46.0-t1681398190

This class may be used directly, e.g instances of other classes may use instances of this class as one of their own properties/attributes.

It may also be used as a superclass when implementing Jamf Pro API Resources in ruby-jss. The subclasses include appropriate mixins, and should expand on the basic functionality provided here.

Container Objects: Other object models that use this model as the value in one of their attributes.

Sub Objects: Other object models used by this model’s attributes.

Endpoints and Privileges: API endpoints and HTTP operations that use this object model, and the Jamf Pro privileges needed to access them.

- '/v1/device-enrollments/upload-token:POST' needs permissions:
  - Create Device Enrollment Program Instances
- '/v1/device-enrollments/{id}/upload-token:PUT' needs permissions:
  - Update Device Enrollment Program Instances

Constant Summary collapse

OAPI_PROPERTIES =
{

  # Optional name of the token to be saved, if no name is provided one will be auto-generated
  # @!attribute tokenFileName
  #   @return [String]
  tokenFileName: {
    class: :string
  },

  # The base 64 encoded token
  # @!attribute encodedToken
  #   @return [String]
  encodedToken: {
    class: :string,
    format: 'byte',
    pattern: Regexp.new('^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$')
  }

}

Constructor Details

This class inherits a constructor from Jamf::OAPIObject