Class: Jamf::OAPISchemas::MobileDeviceDetails

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

Overview

OAPI Object Model and Enums for: MobileDeviceDetails

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

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.

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

- Jamf::OAPISchemas::IdAndName
- Jamf::OAPISchemas::ExtensionAttribute
- Jamf::OAPISchemas::Location
- Jamf::OAPISchemas::IosDetails
- Jamf::OAPISchemas::AppleTvDetails
- Jamf::OAPISchemas::AndroidDetails

Endpoints and Privileges: API endpoints and HTTP operations that use this object model, and the Jamf Pro privileges needed to access them.

- '/v1/mobile-devices/{id}:PATCH' needs permissions:
  - Update Mobile Devices
- '/v1/mobile-devices/{id}/detail:GET' needs permissions:
  - Read Mobile Devices

Constant Summary collapse

TYPE_OPTIONS =

Enums used by this class or others

[
  'ios',
  'appleTv',
  'android',
  'unknown'
]
OAPI_PROPERTIES =
{

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

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

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

  # @!attribute lastInventoryUpdateTimestamp
  #   @return [Jamf::Timestamp]
  lastInventoryUpdateTimestamp: {
    class: Jamf::Timestamp,
    format: 'date-time'
  },

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

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

  # Collected for iOS 16 and iPadOS 16.1 or later
  # @!attribute osSupplementalBuildVersion
  #   @return [String]
  osSupplementalBuildVersion: {
    class: :string
  },

  # Collected for iOS 16 and iPadOS 16.1 or later
  # @!attribute osRapidSecurityResponse
  #   @return [String]
  osRapidSecurityResponse: {
    class: :string
  },

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

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

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

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

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

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

  # @!attribute isManaged
  #   @return [Boolean]
  isManaged: {
    class: :boolean
  },

  # @!attribute initialEntryTimestamp
  #   @return [Jamf::Timestamp]
  initialEntryTimestamp: {
    class: Jamf::Timestamp,
    format: 'date-time'
  },

  # @!attribute lastEnrollmentTimestamp
  #   @return [Jamf::Timestamp]
  lastEnrollmentTimestamp: {
    class: Jamf::Timestamp,
    format: 'date-time'
  },

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

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

  # @!attribute extensionAttributes
  #   @return [Array<Jamf::OAPISchemas::ExtensionAttribute>]
  extensionAttributes: {
    class: Jamf::OAPISchemas::ExtensionAttribute,
    multi: true
  },

  # @!attribute location
  #   @return [Jamf::OAPISchemas::Location]
  location: {
    class: Jamf::OAPISchemas::Location
  },

  # Based on the value of this either ios, appleTv, android objects will be populated.
  # @!attribute type
  #   @return [String]
  type: {
    class: :string,
    enum: TYPE_OPTIONS
  },

  # @!attribute ios
  #   @return [Jamf::OAPISchemas::IosDetails]
  ios: {
    class: Jamf::OAPISchemas::IosDetails
  },

  # @!attribute appleTv
  #   @return [Jamf::OAPISchemas::AppleTvDetails]
  appleTv: {
    class: Jamf::OAPISchemas::AppleTvDetails
  },

  # @!attribute android
  #   @return [Jamf::OAPISchemas::AndroidDetails]
  android: {
    class: Jamf::OAPISchemas::AndroidDetails
  }

}

Instance Attribute Summary collapse

Constructor Details

This class inherits a constructor from Jamf::OAPIObject

Instance Attribute Details

#androidJamf::OAPISchemas::AndroidDetails



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details.rb', line 237

#appleTvJamf::OAPISchemas::AppleTvDetails



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details.rb', line 231

#assetTagString

Returns:



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

#bluetoothMacAddressString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details.rb', line 166

#deviceOwnershipLevelString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details.rb', line 192

#extensionAttributesArray<Jamf::OAPISchemas::ExtensionAttribute>



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details.rb', line 204

#idInteger

Returns:

  • (Integer)


# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details.rb', line 84

#initialEntryTimestampJamf::Timestamp

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details.rb', line 178

#iosJamf::OAPISchemas::IosDetails



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details.rb', line 225

#ipAddressString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details.rb', line 154

#isManagedBoolean

Returns:

  • (Boolean)


# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details.rb', line 172

#lastEnrollmentTimestampJamf::Timestamp

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details.rb', line 185

#lastInventoryUpdateTimestampJamf::Timestamp

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details.rb', line 103

#locationJamf::OAPISchemas::Location



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details.rb', line 211

#nameString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details.rb', line 91

#osBuildString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details.rb', line 116

#osRapidSecurityResponseString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details.rb', line 129

#osSupplementalBuildVersionString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details.rb', line 122

#osVersionString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details.rb', line 110

#serialNumberString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details.rb', line 142

#siteJamf::OAPISchemas::IdAndName



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details.rb', line 198

#softwareUpdateDeviceIdString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details.rb', line 136

#typeString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details.rb', line 217

#udidString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details.rb', line 148

#wifiMacAddressString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details.rb', line 160