Class: Jamf::OAPISchemas::InventoryPreloadRecordV2

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

Overview

OAPI Object Model and Enums for: InventoryPreloadRecordV2

This class was automatically genereated from the api/schema URL path on a Jamf Pro server version 10.46.0-t1681398190

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

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.

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

Direct Known Subclasses

InventoryPreloadRecord

Constant Summary collapse

DEVICE_TYPE_OPTIONS =

Enums used by this class or others

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

  # @!attribute [r] id
  #   @return [String]
  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,
    nil_ok: true
  },

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  # @!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_v2.rb', line 180

#assetTagString

Returns:



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

#barCode1String

Returns:



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

#barCode2String

Returns:



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

#buildingString

Returns:



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

#departmentString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record_v2.rb', line 138

#deviceTypeString

Returns:



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

#emailAddressString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record_v2.rb', line 117

#extensionAttributesArray<Jamf::OAPISchemas::InventoryPreloadExtensionAttribute>



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

#fullNameString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record_v2.rb', line 110

#idString (readonly)

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record_v2.rb', line 80

#leaseExpirationString

Returns:



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

#lifeExpectancyString

Returns:



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

#phoneNumberString

Returns:



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

#poDateString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record_v2.rb', line 166

#poNumberString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record_v2.rb', line 159

#positionString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record_v2.rb', line 131

#purchasePriceString

Returns:



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

#purchasingAccountString

Returns:



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

#purchasingContactString

Returns:



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

#roomString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record_v2.rb', line 152

#serialNumberString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record_v2.rb', line 88

#usernameString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record_v2.rb', line 103

#vendorString

Returns:



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

#warrantyExpirationString

Returns:



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