Class: Jamf::OAPISchemas::MobileDeviceCertificateV2

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

Overview

OAPI Object Model and Enums for: MobileDeviceCertificateV2

This class was automatically generated from the api/schema URL path on a Jamf Pro server version 11.6.1-t1718634702

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.

- Jamf::OAPISchemas::DetailsV2
- Jamf::OAPISchemas::TvOsDetails
- Jamf::OAPISchemas::WatchOsDetailsV2

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.

Constant Summary collapse

CERTIFICATE_STATUS_OPTIONS =

Enums used by this class or others

[
  'EXPIRING',
  'EXPIRED',
  'REVOKED',
  'PENDING_REVOKE',
  'ISSUED'
]
LIFECYCLE_STATUS_OPTIONS =
[
  'ACTIVE',
  'INACTIVE'
]
OAPI_PROPERTIES =
{

  # @!attribute commonName
  #   @return [String]
  commonName: {
    class: :string
  },

  # @!attribute identity
  #   @return [Boolean]
  identity: {
    class: :boolean
  },

  # @!attribute expirationDateEpoch
  #   @return [Jamf::Timestamp]
  expirationDateEpoch: {
    class: Jamf::Timestamp,
    format: 'date-time'
  },

  # @!attribute subjectName
  #   @return [String]
  subjectName: {
    class: :string
  },

  # @!attribute serialNumber
  #   @return [String]
  serialNumber: {
    class: :string
  },

  # @!attribute sha1Fingerprint
  #   @return [String]
  sha1Fingerprint: {
    class: :string
  },

  # @!attribute issuedDateEpoch
  #   @return [String]
  issuedDateEpoch: {
    class: Jamf::Timestamp
  },

  # @!attribute certificateStatus
  #   @return [String]
  certificateStatus: {
    class: :string,
    enum: CERTIFICATE_STATUS_OPTIONS
  },

  # @!attribute lifecycleStatus
  #   @return [String]
  lifecycleStatus: {
    class: :string,
    enum: LIFECYCLE_STATUS_OPTIONS
  }

}

Instance Attribute Summary collapse

Constructor Details

This class inherits a constructor from Jamf::OAPIObject

Instance Attribute Details

#certificateStatusString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_certificate_v2.rb', line 127

#commonNameString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_certificate_v2.rb', line 84

#expirationDateEpochJamf::Timestamp

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_certificate_v2.rb', line 96

#identityBoolean

Returns:

  • (Boolean)


# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_certificate_v2.rb', line 90

#issuedDateEpochString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_certificate_v2.rb', line 121

#lifecycleStatusString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_certificate_v2.rb', line 134

#serialNumberString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_certificate_v2.rb', line 109

#sha1FingerprintString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_certificate_v2.rb', line 115

#subjectNameString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_certificate_v2.rb', line 103