Class: Jamf::OAPISchemas::PatchPolicyLogV2

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

Overview

OAPI Object Model and Enums for: PatchPolicyLogV2

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::PatchPolicyLogs

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.

- '/v2/patch-policies/{id}/logs/{deviceId}:GET' needs permissions:
  - Read Patch Policies

Constant Summary collapse

STATUS_ENUM_OPTIONS =

Enums used by this class or others

[
  'UNKNOWN',
  'PENDING',
  'COMPLETED',
  'FAILED'
]
OAPI_PROPERTIES =
{

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

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

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

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

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

  # @!attribute statusEnum
  #   @return [String]
  statusEnum: {
    class: :string,
    enum: STATUS_ENUM_OPTIONS
  },

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

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

}

Instance Attribute Summary collapse

Constructor Details

This class inherits a constructor from Jamf::OAPIObject

Instance Attribute Details

#attemptNumberInteger

Returns:

  • (Integer)


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

#deviceIdString

Returns:



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

#deviceNameString

Returns:



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

#ignoredForPatchPolicyIdString

Returns:



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

#patchPolicyIdString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/patch_policy_log_v2.rb', line 77

#statusCodeInteger

Returns:

  • (Integer)


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

#statusDateJamf::Timestamp

Returns:



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

#statusEnumString

Returns:



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