Class: Jamf::OAPISchemas::LocationInformationV2

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

Overview

OAPI Object Model and Enums for: LocationInformationV2

This class was automatically genereated from the api/schema URL path on a Jamf Pro server version 10.50.0-t1693149930

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

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 [String]
  departmentId: {
    class: :string,
    required: true
  },

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

  # @!attribute id
  #   @return [String]
  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

#buildingIdString

Returns:



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

#departmentIdString

Returns:



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

#emailString

Returns:



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

#idString

Returns:



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

#phoneString

Returns:



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

#positionString

Returns:



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

#realnameString

Returns:



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

#roomString

Returns:



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

#usernameString

Returns:



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

#versionLockInteger

Returns:

  • (Integer)


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