Class: Jamf::OAPISchemas::LocationInformation

Inherits:
Jamf::OAPIObject show all
Defined in:
lib/jamf/api/jamf_pro/oapi_schemas/location_information.rb

Overview

OAPI Object Model and Enums for: LocationInformation

This class was automatically generated from the api/schema URL path on a Jamf Pro server version 11.6.1-t1718634702

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::DeviceEnrollmentPrestage

Sub Objects: Other object models used by this model’s attributes.

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 username
  #   @return [String]
  username: {
    class: :string,
    required: true
  },

  # @!attribute realname
  #   @return [String]
  realname: {
    class: :string,
    required: true
  },

  # @!attribute phone
  #   @return [String]
  phone: {
    class: :string,
    required: true
  },

  # @!attribute email
  #   @return [String]
  email: {
    class: :string,
    required: true
  },

  # @!attribute room
  #   @return [String]
  room: {
    class: :string,
    required: true
  },

  # @!attribute position
  #   @return [String]
  position: {
    class: :string,
    required: true
  },

  # @!attribute departmentId
  #   @return [Integer]
  departmentId: {
    class: :integer,
    required: true
  },

  # @!attribute buildingId
  #   @return [Integer]
  buildingId: {
    class: :integer,
    required: true
  },

  # @!attribute id
  #   @return [Integer]
  id: {
    class: :j_id,
    required: true,
    identifier: :primary
  },

  # @!attribute versionLock
  #   @return [Integer]
  versionLock: {
    class: :integer,
    required: true
  }

}

Instance Attribute Summary collapse

Constructor Details

This class inherits a constructor from Jamf::OAPIObject

Instance Attribute Details

#buildingIdInteger

Returns:

  • (Integer)


# File 'lib/jamf/api/jamf_pro/oapi_schemas/location_information.rb', line 118

#departmentIdInteger

Returns:

  • (Integer)


# File 'lib/jamf/api/jamf_pro/oapi_schemas/location_information.rb', line 111

#emailString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/location_information.rb', line 90

#idInteger

Returns:

  • (Integer)


# File 'lib/jamf/api/jamf_pro/oapi_schemas/location_information.rb', line 125

#phoneString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/location_information.rb', line 83

#positionString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/location_information.rb', line 104

#realnameString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/location_information.rb', line 76

#roomString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/location_information.rb', line 97

#usernameString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/location_information.rb', line 69

#versionLockInteger

Returns:

  • (Integer)


# File 'lib/jamf/api/jamf_pro/oapi_schemas/location_information.rb', line 133