Class: Jamf::OAPISchemas::ComputerCertificate

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

Overview

OAPI Object Model and Enums for: ComputerCertificate

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.

- Jamf::OAPISchemas::ComputerInventory

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

LIFECYCLE_STATUS_OPTIONS =

Enums used by this class or others

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

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

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

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

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

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

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

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

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

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

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

}

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/computer_certificate.rb', line 114

#commonNameString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_certificate.rb', line 82

#expirationDateJamf::Timestamp

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_certificate.rb', line 94

#identityBoolean

Returns:

  • (Boolean)


# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_certificate.rb', line 88

#issuedDateString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_certificate.rb', line 139

#lifecycleStatusString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_certificate.rb', line 107

#serialNumberString

Returns:



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

#sha1FingerprintString

Returns:



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

#subjectNameString

Returns:



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

#usernameString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_certificate.rb', line 101