Class: Jamf::OAPISchemas::Package

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

Overview

OAPI Object Model and Enums for: Package

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

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.

- '/v1/packages:POST' needs permissions:
  - Create Packages
- '/v1/packages/{id}:GET' needs permissions:
  - Read Packages
- '/v1/packages/{id}:PUT' needs permissions:
  - Update Packages
- '/v1/packages/{id}/manifest:POST' needs permissions:
  - Update Packages
  - Read Packages

Constant Summary collapse

OAPI_PROPERTIES =
{

  # @!attribute [r] id
  #   @return [String]
  id: {
    class: :j_id,
    identifier: :primary,
    readonly: true
  },

  # @!attribute packageName
  #   @return [String]
  packageName: {
    class: :string,
    required: true
  },

  # @!attribute fileName
  #   @return [String]
  fileName: {
    class: :string,
    required: true
  },

  # @!attribute categoryId
  #   @return [String]
  categoryId: {
    class: :string,
    required: true
  },

  # @!attribute info
  #   @return [String]
  info: {
    class: :string,
    nil_ok: true
  },

  # @!attribute notes
  #   @return [String]
  notes: {
    class: :string,
    nil_ok: true
  },

  # @!attribute priority
  #   @return [Integer]
  priority: {
    class: :integer,
    required: true
  },

  # @!attribute osRequirements
  #   @return [String]
  osRequirements: {
    class: :string,
    nil_ok: true
  },

  # @!attribute fillUserTemplate
  #   @return [Boolean]
  fillUserTemplate: {
    class: :boolean,
    required: true
  },

  # @!attribute [r] indexed
  #   @return [Boolean]
  indexed: {
    class: :boolean,
    readonly: true
  },

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

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

  # @!attribute rebootRequired
  #   @return [Boolean]
  rebootRequired: {
    class: :boolean,
    required: true
  },

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

  # @!attribute selfHealingAction
  #   @return [String]
  selfHealingAction: {
    class: :string,
    nil_ok: true
  },

  # @!attribute osInstall
  #   @return [Boolean]
  osInstall: {
    class: :boolean,
    required: true
  },

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

  # @!attribute parentPackageId
  #   @return [String]
  parentPackageId: {
    class: :string,
    nil_ok: true
  },

  # @!attribute basePath
  #   @return [String]
  basePath: {
    class: :string,
    nil_ok: true
  },

  # @!attribute suppressUpdates
  #   @return [Boolean]
  suppressUpdates: {
    class: :boolean,
    required: true
  },

  # @!attribute [r] cloudTransferStatus
  #   @return [String]
  cloudTransferStatus: {
    class: :string,
    readonly: true
  },

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

  # @!attribute suppressFromDock
  #   @return [Boolean]
  suppressFromDock: {
    class: :boolean,
    required: true
  },

  # @!attribute suppressEula
  #   @return [Boolean]
  suppressEula: {
    class: :boolean,
    required: true
  },

  # @!attribute suppressRegistration
  #   @return [Boolean]
  suppressRegistration: {
    class: :boolean,
    required: true
  },

  # @!attribute installLanguage
  #   @return [String]
  installLanguage: {
    class: :string,
    nil_ok: true
  },

  # @!attribute md5
  #   @return [String]
  md5: {
    class: :string,
    nil_ok: true
  },

  # @!attribute sha256
  #   @return [String]
  sha256: {
    class: :string,
    nil_ok: true
  },

  # @!attribute hashType
  #   @return [String]
  hashType: {
    class: :string,
    nil_ok: true
  },

  # @!attribute hashValue
  #   @return [String]
  hashValue: {
    class: :string,
    nil_ok: true
  },

  # @!attribute [r] size
  #   @return [String]
  size: {
    class: :string,
    nil_ok: true,
    readonly: true
  },

  # @!attribute osInstallerVersion
  #   @return [String]
  osInstallerVersion: {
    class: :string,
    nil_ok: true
  },

  # @!attribute manifest
  #   @return [String]
  manifest: {
    class: :string,
    nil_ok: true
  },

  # @!attribute manifestFileName
  #   @return [String]
  manifestFileName: {
    class: :string,
    nil_ok: true
  },

  # @!attribute format
  #   @return [String]
  format: {
    class: :string,
    nil_ok: true
  }

}

Instance Attribute Summary collapse

Constructor Details

This class inherits a constructor from Jamf::OAPIObject

Instance Attribute Details

#basePathString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/package.rb', line 201

#categoryIdString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/package.rb', line 99

#cloudTransferStatusString (readonly)

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/package.rb', line 215

#fileNameString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/package.rb', line 92

#fillExistingUsersBoolean

Returns:

  • (Boolean)


# File 'lib/jamf/api/jamf_pro/oapi_schemas/package.rb', line 148

#fillUserTemplateBoolean

Returns:

  • (Boolean)


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

#formatString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/package.rb', line 313

#hashTypeString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/package.rb', line 270

#hashValueString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/package.rb', line 277

#idString (readonly)

Returns:



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

#ignoreConflictsBoolean

Returns:

  • (Boolean)


# File 'lib/jamf/api/jamf_pro/oapi_schemas/package.rb', line 222

#indexedBoolean (readonly)

Returns:

  • (Boolean)


# File 'lib/jamf/api/jamf_pro/oapi_schemas/package.rb', line 141

#infoString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/package.rb', line 106

#installLanguageString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/package.rb', line 249

#manifestString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/package.rb', line 299

#manifestFileNameString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/package.rb', line 306

#md5String

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/package.rb', line 256

#notesString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/package.rb', line 113

#osInstallBoolean

Returns:

  • (Boolean)


# File 'lib/jamf/api/jamf_pro/oapi_schemas/package.rb', line 180

#osInstallerVersionString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/package.rb', line 292

#osRequirementsString

Returns:



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

#packageNameString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/package.rb', line 85

#parentPackageIdString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/package.rb', line 194

#priorityInteger

Returns:

  • (Integer)


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

#rebootRequiredBoolean

Returns:

  • (Boolean)


# File 'lib/jamf/api/jamf_pro/oapi_schemas/package.rb', line 160

#selfHealingActionString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/package.rb', line 173

#selfHealNotifyBoolean

Returns:

  • (Boolean)


# File 'lib/jamf/api/jamf_pro/oapi_schemas/package.rb', line 167

#serialNumberString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/package.rb', line 187

#sha256String

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/package.rb', line 263

#sizeString (readonly)

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/package.rb', line 284

#suppressEulaBoolean

Returns:

  • (Boolean)


# File 'lib/jamf/api/jamf_pro/oapi_schemas/package.rb', line 235

#suppressFromDockBoolean

Returns:

  • (Boolean)


# File 'lib/jamf/api/jamf_pro/oapi_schemas/package.rb', line 228

#suppressRegistrationBoolean

Returns:

  • (Boolean)


# File 'lib/jamf/api/jamf_pro/oapi_schemas/package.rb', line 242

#suppressUpdatesBoolean

Returns:

  • (Boolean)


# File 'lib/jamf/api/jamf_pro/oapi_schemas/package.rb', line 208

#swuBoolean

Returns:

  • (Boolean)


# File 'lib/jamf/api/jamf_pro/oapi_schemas/package.rb', line 154