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 genereated from the api/schema URL path on a Jamf Pro server version 10.50.0-t1693149930

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::IosDetailsV2
- Jamf::OAPISchemas::TvOsDetails

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 126

#commonNameString

Returns:



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

#expirationDateEpochJamf::Timestamp

Returns:



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

#identityBoolean

Returns:

  • (Boolean)


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

#issuedDateEpochString

Returns:



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

#lifecycleStatusString

Returns:



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

#serialNumberString

Returns:



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

#sha1FingerprintString

Returns:



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

#subjectNameString

Returns:



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