Class: Jamf::OAPISchemas::InventoryPreloadRecord
- Inherits:
-
Jamf::OAPIObject
- Object
- Jamf::OAPIObject
- Jamf::OAPISchemas::InventoryPreloadRecord
- 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
- #appleCareId ⇒ String
- #assetTag ⇒ String
- #barCode1 ⇒ String
- #barCode2 ⇒ String
- #building ⇒ String
- #department ⇒ String
- #deviceType ⇒ String
- #emailAddress ⇒ String
- #extensionAttributes ⇒ Array<Jamf::OAPISchemas::InventoryPreloadExtensionAttribute>
- #fullName ⇒ String
- #id ⇒ Integer readonly
- #leaseExpiration ⇒ String
- #lifeExpectancy ⇒ String
- #phoneNumber ⇒ String
- #poDate ⇒ String
- #poNumber ⇒ String
- #position ⇒ String
- #purchasePrice ⇒ String
- #purchasingAccount ⇒ String
- #purchasingContact ⇒ String
- #room ⇒ String
- #serialNumber ⇒ String
- #username ⇒ String
- #vendor ⇒ String
- #warrantyExpiration ⇒ String
Constructor Details
This class inherits a constructor from Jamf::OAPIObject
Instance Attribute Details
#appleCareId ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 175
|
#assetTag ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 223
|
#barCode1 ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 211
|
#barCode2 ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 217
|
#building ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 145
|
#department ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 139
|
#deviceType ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 101
|
#emailAddress ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 121
|
#extensionAttributes ⇒ Array<Jamf::OAPISchemas::InventoryPreloadExtensionAttribute>
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 235
|
#fullName ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 115
|
#id ⇒ Integer (readonly)
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 86
|
#leaseExpiration ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 205
|
#lifeExpectancy ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 181
|
#phoneNumber ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 127
|
#poNumber ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 157
|
#position ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 133
|
#purchasePrice ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 187
|
#purchasingAccount ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 199
|
#purchasingContact ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 193
|
#serialNumber ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 94
|
#username ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 109
|
#warrantyExpiration ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 169
|