Class: Jamf::OAPISchemas::InventoryPreloadRecord

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

Overview

OAPI Object Model and Enums for: InventoryPreloadRecord

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

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

- Jamf::OAPISchemas::InventoryPreloadExtensionAttribute

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

- '/inventory-preload:POST' needs permissions:
  - Create Inventory Preload Records
- '/inventory-preload/{id}:GET' needs permissions:
  - Read Inventory Preload Records
- '/inventory-preload/{id}:PUT' needs permissions:
  - Update Inventory Preload Records
- '/v1/inventory-preload:POST' needs permissions:
  - Create Inventory Preload Records
- '/v1/inventory-preload/{id}:GET' needs permissions:
  - Read Inventory Preload Records
- '/v1/inventory-preload/{id}:PUT' needs permissions:
  - Update Inventory Preload Records

Constant Summary collapse

DEVICE_TYPE_OPTIONS =

Enums used by this class or others

[
  'Computer',
  'Mobile Device',
  'Unknown'
]
OAPI_PROPERTIES =
{

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

}

Instance Attribute Summary collapse

Constructor Details

This class inherits a constructor from Jamf::OAPIObject

Instance Attribute Details

#appleCareIdString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 175

#assetTagString

Returns:



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

#barCode1String

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 211

#barCode2String

Returns:



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

#buildingString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 145

#departmentString

Returns:



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

#deviceTypeString

Returns:



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

#emailAddressString

Returns:



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

#extensionAttributesArray<Jamf::OAPISchemas::InventoryPreloadExtensionAttribute>



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

#fullNameString

Returns:



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

#idInteger (readonly)

Returns:

  • (Integer)


# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 86

#leaseExpirationString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 205

#lifeExpectancyString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 181

#phoneNumberString

Returns:



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

#poDateString

Returns:



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

#poNumberString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 157

#positionString

Returns:



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

#purchasePriceString

Returns:



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

#purchasingAccountString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 199

#purchasingContactString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 193

#roomString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 151

#serialNumberString

Returns:



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

#usernameString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 109

#vendorString

Returns:



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

#warrantyExpirationString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 169