Class: Jamf::PrestageLocation
- Inherits:
-
JSONObject
- Object
- JSONObject
- Jamf::PrestageLocation
- Includes:
- Lockable
- Defined in:
- lib/jamf/api/json_objects/prestage_location.rb
Overview
A 'location' for a computer prestage in Jamf Pro
Constant Summary collapse
- OBJECT_MODEL =
{ # @!attribute id # @return [Integer] id: { class: :j_id, identifier: :primary }, # @!attribute username # @param [String] # @return [String] username: { class: :string }, # @!attribute realName # @param [String] # @return [String] realname: { class: :string }, # @!attribute emailAddress # @param [String] # @return [String] email: { class: :string }, # @!attribute position # @param [String] # @return [String] position: { class: :string }, # @!attribute phoneNumber # @param [String] # @return [String] phone: { class: :string }, # @!attribute department # @param [integer] # @return [integer] departmentId: { class: :j_id }, # @!attribute building # @param [integer] # @return [integer] buildingId: { class: :j_id }, # @!attribute room # @param [String] # @return [String] room: { class: :string } }.freeze
Instance Attribute Summary collapse
- #building ⇒ integer
- #department ⇒ integer
- #emailAddress ⇒ String
- #id ⇒ Integer
- #phoneNumber ⇒ String
- #position ⇒ String
- #realName ⇒ String
- #room ⇒ String
- #username ⇒ String
-
#versionLock ⇒ Object
included
from Lockable
readonly
Returns the value of attribute versionLock.
Instance Method Summary collapse
- #initialize(data, cnx: Jamf.cnx) ⇒ Object included from Lockable
- #to_jamf ⇒ Object included from Lockable
Instance Attribute Details
#building ⇒ integer
|
# File 'lib/jamf/api/json_objects/prestage_location.rb', line 85
|
#department ⇒ integer
|
# File 'lib/jamf/api/json_objects/prestage_location.rb', line 78
|
#id ⇒ Integer
|
# File 'lib/jamf/api/json_objects/prestage_location.rb', line 36
|