Class: Jamf::OAPISchemas::ComputerInventory

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

Overview

OAPI Object Model and Enums for: ComputerInventory

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

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

- Jamf::OAPISchemas::ComputerGeneral
- Jamf::OAPISchemas::ComputerDiskEncryption
- Jamf::OAPISchemas::ComputerPurchase
- Jamf::OAPISchemas::ComputerApplication
- Jamf::OAPISchemas::ComputerStorage
- Jamf::OAPISchemas::ComputerUserAndLocation
- Jamf::OAPISchemas::ComputerConfigurationProfile
- Jamf::OAPISchemas::ComputerPrinter
- Jamf::OAPISchemas::ComputerService
- Jamf::OAPISchemas::ComputerHardware
- Jamf::OAPISchemas::ComputerLocalUserAccount
- Jamf::OAPISchemas::ComputerCertificate
- Jamf::OAPISchemas::ComputerAttachment
- Jamf::OAPISchemas::ComputerPlugin
- Jamf::OAPISchemas::ComputerPackageReceipts
- Jamf::OAPISchemas::ComputerFont
- Jamf::OAPISchemas::ComputerSecurity
- Jamf::OAPISchemas::ComputerOperatingSystem
- Jamf::OAPISchemas::ComputerLicensedSoftware
- Jamf::OAPISchemas::ComputerIbeacon
- Jamf::OAPISchemas::ComputerSoftwareUpdate
- Jamf::OAPISchemas::ComputerExtensionAttribute
- Jamf::OAPISchemas::ComputerContentCaching
- Jamf::OAPISchemas::GroupMembership

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

- '/v1/computers-inventory-detail/{id}:GET' needs permissions:
  - Read Computers
- '/v1/computers-inventory-detail/{id}:PATCH' needs permissions:
  - Update Computers
- '/v1/computers-inventory/{id}:GET' needs permissions:
  - Read Computers

Constant Summary collapse

OAPI_PROPERTIES =
{

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

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

  # @!attribute general
  #   @return [Jamf::OAPISchemas::ComputerGeneral]
  general: {
    class: Jamf::OAPISchemas::ComputerGeneral
  },

  # @!attribute diskEncryption
  #   @return [Jamf::OAPISchemas::ComputerDiskEncryption]
  diskEncryption: {
    class: Jamf::OAPISchemas::ComputerDiskEncryption
  },

  # @!attribute purchasing
  #   @return [Jamf::OAPISchemas::ComputerPurchase]
  purchasing: {
    class: Jamf::OAPISchemas::ComputerPurchase
  },

  # @!attribute applications
  #   @return [Array<Jamf::OAPISchemas::ComputerApplication>]
  applications: {
    class: Jamf::OAPISchemas::ComputerApplication,
    multi: true
  },

  # @!attribute storage
  #   @return [Jamf::OAPISchemas::ComputerStorage]
  storage: {
    class: Jamf::OAPISchemas::ComputerStorage
  },

  # @!attribute userAndLocation
  #   @return [Jamf::OAPISchemas::ComputerUserAndLocation]
  userAndLocation: {
    class: Jamf::OAPISchemas::ComputerUserAndLocation
  },

  # @!attribute configurationProfiles
  #   @return [Array<Jamf::OAPISchemas::ComputerConfigurationProfile>]
  configurationProfiles: {
    class: Jamf::OAPISchemas::ComputerConfigurationProfile,
    multi: true
  },

  # @!attribute printers
  #   @return [Array<Jamf::OAPISchemas::ComputerPrinter>]
  printers: {
    class: Jamf::OAPISchemas::ComputerPrinter,
    multi: true
  },

  # @!attribute services
  #   @return [Array<Jamf::OAPISchemas::ComputerService>]
  services: {
    class: Jamf::OAPISchemas::ComputerService,
    multi: true
  },

  # @!attribute hardware
  #   @return [Jamf::OAPISchemas::ComputerHardware]
  hardware: {
    class: Jamf::OAPISchemas::ComputerHardware
  },

  # @!attribute localUserAccounts
  #   @return [Array<Jamf::OAPISchemas::ComputerLocalUserAccount>]
  localUserAccounts: {
    class: Jamf::OAPISchemas::ComputerLocalUserAccount,
    multi: true
  },

  # @!attribute certificates
  #   @return [Array<Jamf::OAPISchemas::ComputerCertificate>]
  certificates: {
    class: Jamf::OAPISchemas::ComputerCertificate,
    multi: true
  },

  # @!attribute attachments
  #   @return [Array<Jamf::OAPISchemas::ComputerAttachment>]
  attachments: {
    class: Jamf::OAPISchemas::ComputerAttachment,
    multi: true
  },

  # @!attribute plugins
  #   @return [Array<Jamf::OAPISchemas::ComputerPlugin>]
  plugins: {
    class: Jamf::OAPISchemas::ComputerPlugin,
    multi: true
  },

  # @!attribute packageReceipts
  #   @return [Jamf::OAPISchemas::ComputerPackageReceipts]
  packageReceipts: {
    class: Jamf::OAPISchemas::ComputerPackageReceipts
  },

  # @!attribute fonts
  #   @return [Array<Jamf::OAPISchemas::ComputerFont>]
  fonts: {
    class: Jamf::OAPISchemas::ComputerFont,
    multi: true
  },

  # @!attribute security
  #   @return [Jamf::OAPISchemas::ComputerSecurity]
  security: {
    class: Jamf::OAPISchemas::ComputerSecurity
  },

  # @!attribute operatingSystem
  #   @return [Jamf::OAPISchemas::ComputerOperatingSystem]
  operatingSystem: {
    class: Jamf::OAPISchemas::ComputerOperatingSystem
  },

  # @!attribute licensedSoftware
  #   @return [Array<Jamf::OAPISchemas::ComputerLicensedSoftware>]
  licensedSoftware: {
    class: Jamf::OAPISchemas::ComputerLicensedSoftware,
    multi: true
  },

  # @!attribute ibeacons
  #   @return [Array<Jamf::OAPISchemas::ComputerIbeacon>]
  ibeacons: {
    class: Jamf::OAPISchemas::ComputerIbeacon,
    multi: true
  },

  # @!attribute softwareUpdates
  #   @return [Array<Jamf::OAPISchemas::ComputerSoftwareUpdate>]
  softwareUpdates: {
    class: Jamf::OAPISchemas::ComputerSoftwareUpdate,
    multi: true
  },

  # @!attribute extensionAttributes
  #   @return [Array<Jamf::OAPISchemas::ComputerExtensionAttribute>]
  extensionAttributes: {
    class: Jamf::OAPISchemas::ComputerExtensionAttribute,
    multi: true
  },

  # @!attribute contentCaching
  #   @return [Jamf::OAPISchemas::ComputerContentCaching]
  contentCaching: {
    class: Jamf::OAPISchemas::ComputerContentCaching
  },

  # @!attribute groupMemberships
  #   @return [Array<Jamf::OAPISchemas::GroupMembership>]
  groupMemberships: {
    class: Jamf::OAPISchemas::GroupMembership,
    multi: true
  }

}

Instance Attribute Summary collapse

Constructor Details

This class inherits a constructor from Jamf::OAPIObject

Instance Attribute Details

#applicationsArray<Jamf::OAPISchemas::ComputerApplication>



# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory.rb', line 130

#attachmentsArray<Jamf::OAPISchemas::ComputerAttachment>



# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory.rb', line 190

#certificatesArray<Jamf::OAPISchemas::ComputerCertificate>



# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory.rb', line 183

#configurationProfilesArray<Jamf::OAPISchemas::ComputerConfigurationProfile>



# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory.rb', line 149

#contentCachingJamf::OAPISchemas::ComputerContentCaching



# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory.rb', line 257

#diskEncryptionJamf::OAPISchemas::ComputerDiskEncryption



# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory.rb', line 118

#extensionAttributesArray<Jamf::OAPISchemas::ComputerExtensionAttribute>



# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory.rb', line 250

#fontsArray<Jamf::OAPISchemas::ComputerFont>



# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory.rb', line 210

#generalJamf::OAPISchemas::ComputerGeneral



# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory.rb', line 112

#groupMembershipsArray<Jamf::OAPISchemas::GroupMembership>



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

#hardwareJamf::OAPISchemas::ComputerHardware



# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory.rb', line 170

#ibeaconsArray<Jamf::OAPISchemas::ComputerIbeacon>



# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory.rb', line 236

#idString (readonly)

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory.rb', line 97

#licensedSoftwareArray<Jamf::OAPISchemas::ComputerLicensedSoftware>



# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory.rb', line 229

#localUserAccountsArray<Jamf::OAPISchemas::ComputerLocalUserAccount>



# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory.rb', line 176

#operatingSystemJamf::OAPISchemas::ComputerOperatingSystem



# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory.rb', line 223

#packageReceiptsJamf::OAPISchemas::ComputerPackageReceipts



# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory.rb', line 204

#pluginsArray<Jamf::OAPISchemas::ComputerPlugin>



# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory.rb', line 197

#printersArray<Jamf::OAPISchemas::ComputerPrinter>



# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory.rb', line 156

#purchasingJamf::OAPISchemas::ComputerPurchase



# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory.rb', line 124

#securityJamf::OAPISchemas::ComputerSecurity



# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory.rb', line 217

#servicesArray<Jamf::OAPISchemas::ComputerService>



# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory.rb', line 163

#softwareUpdatesArray<Jamf::OAPISchemas::ComputerSoftwareUpdate>



# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory.rb', line 243

#storageJamf::OAPISchemas::ComputerStorage



# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory.rb', line 137

#udidString

Returns:



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

#userAndLocationJamf::OAPISchemas::ComputerUserAndLocation



# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory.rb', line 143