Class: Jamf::OAPISchemas::CertificateRecord

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

Overview

OAPI Object Model and Enums for: CertificateRecord

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.

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

- Jamf::OAPISchemas::Signature

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

- '/v1/pki/certificate-authority/active:GET' needs permissions:
  - Unknown
- '/v1/pki/certificate-authority/{id}:GET' needs permissions:
  - Read PKI

Constant Summary collapse

OAPI_PROPERTIES =
{

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

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

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

  # @!attribute version
  #   @return [Integer]
  version: {
    class: :integer
  },

  # @!attribute notAfter
  #   @return [Integer]
  notAfter: {
    class: :integer
  },

  # @!attribute notBefore
  #   @return [Integer]
  notBefore: {
    class: :integer
  },

  # @!attribute signature
  #   @return [Jamf::OAPISchemas::Signature]
  signature: {
    class: Jamf::OAPISchemas::Signature
  },

  # @!attribute keyUsage
  #   @return [Array<String>]
  keyUsage: {
    class: :string,
    multi: true
  },

  # @!attribute keyUsageExtended
  #   @return [Array<String>]
  keyUsageExtended: {
    class: :string,
    multi: true
  },

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

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

}

Instance Attribute Summary collapse

Constructor Details

This class inherits a constructor from Jamf::OAPIObject

Instance Attribute Details

#issuerX500PrincipalString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/certificate_record.rb', line 78

#keyUsageArray<String>

Returns:



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

#keyUsageExtendedArray<String>

Returns:



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

#notAfterInteger

Returns:

  • (Integer)


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

#notBeforeInteger

Returns:

  • (Integer)


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

#serialNumberString

Returns:



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

#sha1FingerprintString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/certificate_record.rb', line 128

#sha256FingerprintString

Returns:



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

#signatureJamf::OAPISchemas::Signature



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

#subjectX500PrincipalString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/certificate_record.rb', line 72

#versionInteger

Returns:

  • (Integer)


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