Class: Jamf::PrestageLocation

Inherits:
JSONObject show all
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

Instance Method Summary collapse

Instance Attribute Details

#buildinginteger

Parameters:

  • (integer)

Returns:

  • (integer)


# File 'lib/jamf/api/json_objects/prestage_location.rb', line 85

#departmentinteger

Parameters:

  • (integer)

Returns:

  • (integer)


# File 'lib/jamf/api/json_objects/prestage_location.rb', line 78

#emailAddressString

Parameters:

Returns:



# File 'lib/jamf/api/json_objects/prestage_location.rb', line 57

#idInteger

Returns:

  • (Integer)


# File 'lib/jamf/api/json_objects/prestage_location.rb', line 36

#phoneNumberString

Parameters:

Returns:



# File 'lib/jamf/api/json_objects/prestage_location.rb', line 71

#positionString

Parameters:

Returns:



# File 'lib/jamf/api/json_objects/prestage_location.rb', line 64

#realNameString

Parameters:

Returns:



# File 'lib/jamf/api/json_objects/prestage_location.rb', line 50

#roomString

Parameters:

Returns:



# File 'lib/jamf/api/json_objects/prestage_location.rb', line 92

#usernameString

Parameters:

Returns:



# File 'lib/jamf/api/json_objects/prestage_location.rb', line 43

#versionLockObject (readonly) Originally defined in module Lockable

Returns the value of attribute versionLock.

Instance Method Details

#initialize(data, cnx: Jamf.cnx) ⇒ Object Originally defined in module Lockable

#to_jamfObject Originally defined in module Lockable