Class: Jamf::OAPISchemas::Location

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

Overview

OAPI Object Model and Enums for: Location

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::MobileDeviceDetails
- Jamf::OAPISchemas::UpdateMobileDevice

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

- Jamf::OAPISchemas::IdAndName
- Jamf::OAPISchemas::IdAndName

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
  },

  # @!attribute realName
  #   @return [String]
  realName: {
    class: :string
  },

  # @!attribute emailAddress
  #   @return [String]
  emailAddress: {
    class: :string
  },

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

  # @!attribute phoneNumber
  #   @return [String]
  phoneNumber: {
    class: :string
  },

  # @!attribute department
  #   @return [Jamf::OAPISchemas::IdAndName]
  department: {
    class: Jamf::OAPISchemas::IdAndName
  },

  # @!attribute building
  #   @return [Jamf::OAPISchemas::IdAndName]
  building: {
    class: Jamf::OAPISchemas::IdAndName
  },

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

}

Instance Attribute Summary collapse

Constructor Details

This class inherits a constructor from Jamf::OAPIObject

Instance Attribute Details

#buildingJamf::OAPISchemas::IdAndName



# File 'lib/jamf/api/jamf_pro/oapi_schemas/location.rb', line 107

#departmentJamf::OAPISchemas::IdAndName



# File 'lib/jamf/api/jamf_pro/oapi_schemas/location.rb', line 101

#emailAddressString

Returns:



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

#phoneNumberString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/location.rb', line 95

#positionString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/location.rb', line 89

#realNameString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/location.rb', line 77

#roomString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/location.rb', line 113

#usernameString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/location.rb', line 71