Class: Jamf::OAPISchemas::ComputerPurchase
- Inherits:
-
Jamf::OAPIObject
- Object
- Jamf::OAPIObject
- Jamf::OAPISchemas::ComputerPurchase
- Defined in:
- lib/jamf/api/jamf_pro/oapi_schemas/computer_purchase.rb
Overview
OAPI Object Model and Enums for: ComputerPurchase
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::ComputerInventory
- Jamf::OAPISchemas::ComputerInventoryUpdateRequest
Sub Objects: Other object models used by this model’s attributes.
- Jamf::OAPISchemas::ComputerExtensionAttribute
Endpoints and Privileges: API endpoints and HTTP operations that use this object model, and the Jamf Pro privileges needed to access them.
Constant Summary collapse
- OAPI_PROPERTIES =
{ # @!attribute leased # @return [Boolean] leased: { class: :boolean }, # @!attribute purchased # @return [Boolean] purchased: { class: :boolean }, # @!attribute poNumber # @return [String] poNumber: { class: :string }, # @!attribute poDate # @return [String] poDate: { class: :string, format: 'date' }, # @!attribute vendor # @return [String] vendor: { class: :string }, # @!attribute warrantyDate # @return [String] warrantyDate: { class: :string, format: 'date' }, # @!attribute appleCareId # @return [String] appleCareId: { class: :string }, # @!attribute leaseDate # @return [String] leaseDate: { class: :string, format: 'date' }, # @!attribute purchasePrice # @return [String] purchasePrice: { class: :string }, # @!attribute lifeExpectancy # @return [Integer] lifeExpectancy: { class: :integer }, # @!attribute purchasingAccount # @return [String] purchasingAccount: { class: :string }, # @!attribute purchasingContact # @return [String] purchasingContact: { class: :string }, # @!attribute extensionAttributes # @return [Array<Jamf::OAPISchemas::ComputerExtensionAttribute>] extensionAttributes: { class: Jamf::OAPISchemas::ComputerExtensionAttribute, multi: true } }
Instance Attribute Summary collapse
- #appleCareId ⇒ String
- #extensionAttributes ⇒ Array<Jamf::OAPISchemas::ComputerExtensionAttribute>
- #leased ⇒ Boolean
- #leaseDate ⇒ String
- #lifeExpectancy ⇒ Integer
- #poDate ⇒ String
- #poNumber ⇒ String
- #purchased ⇒ Boolean
- #purchasePrice ⇒ String
- #purchasingAccount ⇒ String
- #purchasingContact ⇒ String
- #vendor ⇒ String
- #warrantyDate ⇒ String
Constructor Details
This class inherits a constructor from Jamf::OAPIObject
Instance Attribute Details
#extensionAttributes ⇒ Array<Jamf::OAPISchemas::ComputerExtensionAttribute>
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_purchase.rb', line 145
|
#leased ⇒ Boolean
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_purchase.rb', line 70
|
#lifeExpectancy ⇒ Integer
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_purchase.rb', line 127
|
#purchased ⇒ Boolean
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_purchase.rb', line 76
|
#purchasingAccount ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_purchase.rb', line 133
|
#purchasingContact ⇒ String
|
# File 'lib/jamf/api/jamf_pro/oapi_schemas/computer_purchase.rb', line 139
|