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 genereated from the api/schema URL path on a Jamf Pro server version 10.36.1-t1645562643
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 176
|
#assetTag ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 224
|
#barCode1 ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 212
|
#barCode2 ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 218
|
#building ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 146
|
#department ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 140
|
#deviceType ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 102
|
#emailAddress ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 122
|
#extensionAttributes ⇒ Array<Jamf::OAPISchemas::InventoryPreloadExtensionAttribute>
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 236
|
#fullName ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 116
|
#id ⇒ Integer (readonly)
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 87
|
#leaseExpiration ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 206
|
#lifeExpectancy ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 182
|
#phoneNumber ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 128
|
#poNumber ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 158
|
#position ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 134
|
#purchasePrice ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 188
|
#purchasingAccount ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 200
|
#purchasingContact ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 194
|
#serialNumber ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 95
|
#username ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 110
|
#warrantyExpiration ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb', line 170
|