Class: Jamf::PrestagePurchasingData
- Inherits:
-
JSONObject
- Object
- JSONObject
- Jamf::PrestagePurchasingData
- Includes:
- Lockable
- Defined in:
- lib/jamf/api/json_objects/prestage_purchasing_data.rb
Constant Summary collapse
- OBJECT_MODEL =
{ # @!attribute id # @return [Integer] id: { class: :j_id, identifier: :primary }, # @!attribute purchased # @param [Boolean] # @return [Boolean] purchased: { class: :boolean }, # @!attribute leased # @param [Boolean] # @return [Boolean] leased: { class: :boolean }, # @!attribute appleCareId # @param [String] # @return [String] appleCareId: { class: :string }, # @!attribute poNumber # @param [String] # @return [String] poNumber: { class: :string }, # @!attribute vendor # @param [String] # @return [String] vendor: { class: :string }, # @!attribute purchasePrice # @param [String] # @return [String] purchasePrice: { class: :string }, # @!attribute purchasingAccount # @param [String] # @return [String] purchasingAccount: { class: :string }, # @!attribute poDate # @param [String] # @return [String] poDate: { class: Jamf::Timestamp }, # @!attribute warrantyExpiresDate # @param [String] # @return [String] warrantyDate: { class: Jamf::Timestamp }, # @!attribute leaseExpiresDate # @param [String] # @return [String] leasesDate: { class: Jamf::Timestamp }, # @!attribute lifeExpectancy # @param [String] # @return [String] lifeExpectancy: { class: :integer }, # @!attribute purchasingContact # @param [String] # @return [String] purchasingContact: { class: :string } }.freeze
Instance Attribute Summary collapse
- #appleCareId ⇒ String
- #id ⇒ Integer
- #leased ⇒ Boolean
- #leaseExpiresDate ⇒ String
- #lifeExpectancy ⇒ String
- #poDate ⇒ String
- #poNumber ⇒ String
- #purchased ⇒ Boolean
- #purchasePrice ⇒ String
- #purchasingAccount ⇒ String
- #purchasingContact ⇒ String
- #vendor ⇒ String
-
#versionLock ⇒ Object
included
from Lockable
readonly
Returns the value of attribute versionLock.
- #warrantyExpiresDate ⇒ String
Instance Method Summary collapse
- #initialize(data, cnx: Jamf.cnx) ⇒ Object included from Lockable
- #to_jamf ⇒ Object included from Lockable
Instance Attribute Details
#id ⇒ Integer
|
# File 'lib/jamf/api/json_objects/prestage_purchasing_data.rb', line 36
|
#leased ⇒ Boolean
|
# File 'lib/jamf/api/json_objects/prestage_purchasing_data.rb', line 50
|
#purchased ⇒ Boolean
|
# File 'lib/jamf/api/json_objects/prestage_purchasing_data.rb', line 43
|
#purchasingContact ⇒ String
|
# File 'lib/jamf/api/json_objects/prestage_purchasing_data.rb', line 120
|
#versionLock ⇒ Object (readonly) Originally defined in module Lockable
Returns the value of attribute versionLock.
#warrantyExpiresDate ⇒ String
|
# File 'lib/jamf/api/json_objects/prestage_purchasing_data.rb', line 99
|