Class: Jamf::OAPISchemas::MobileDeviceDetailsV2

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

Overview

OAPI Object Model and Enums for: MobileDeviceDetailsV2

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.

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

- Jamf::OAPISchemas::V1Site
- Jamf::OAPISchemas::ExtensionAttributeV2
- Jamf::OAPISchemas::LocationV2
- Jamf::OAPISchemas::DetailsV2
- Jamf::OAPISchemas::TvOsDetails
- Jamf::OAPISchemas::WatchOsDetailsV2
- Jamf::OAPISchemas::DetailsV2

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

- '/v2/mobile-devices/{id}:PATCH' needs permissions:
  - Update Mobile Devices

Constant Summary collapse

TYPE_OPTIONS =

Enums used by this class or others

[
  'ios',
  'tvos',
  'watchos',
  'visionos',
  'unknown'
]
OAPI_PROPERTIES =
{

  # @!attribute [r] id
  #   @return [String]
  id: {
    class: :j_id,
    identifier: :primary,
    readonly: true
  },

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

  # Enforce the mobile device name. Device must be supervised. If set to true, Jamf Pro will revert the Mobile Device Name to the ���name��� value each time the device checks in.
  # @!attribute enforceName
  #   @return [Boolean]
  enforceName: {
    class: :boolean
  },

  # @!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 managed
  #   @return [Boolean]
  managed: {
    class: :boolean
  },

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

  # @!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 mdmProfileExpirationTimestamp
  #   @return [Jamf::Timestamp]
  mdmProfileExpirationTimestamp: {
    class: Jamf::Timestamp,
    format: 'date-time'
  },

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

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

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

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

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

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

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

  # Based on the value of this either iOS, tvOS, watch or visionOS objects will be populated.
  # @!attribute type
  #   @return [String]
  type: {
    class: :string,
    enum: TYPE_OPTIONS
  },

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

  # @!attribute tvos
  #   @return [Jamf::OAPISchemas::TvOsDetails]
  tvos: {
    class: Jamf::OAPISchemas::TvOsDetails
  },

  # @!attribute watchos
  #   @return [Jamf::OAPISchemas::WatchOsDetailsV2]
  watchos: {
    class: Jamf::OAPISchemas::WatchOsDetailsV2
  },

  # @!attribute visionos
  #   @return [Jamf::OAPISchemas::DetailsV2]
  visionos: {
    class: Jamf::OAPISchemas::DetailsV2
  }

}

Instance Attribute Summary collapse

Constructor Details

This class inherits a constructor from Jamf::OAPIObject

Instance Attribute Details

#assetTagString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details_v2.rb', line 106

#bluetoothMacAddressString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details_v2.rb', line 175

#declarativeDeviceManagementEnabledBoolean

Returns:

  • (Boolean)


# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details_v2.rb', line 232

#deviceOwnershipLevelString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details_v2.rb', line 214

#enforceNameBoolean

Returns:

  • (Boolean)


# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details_v2.rb', line 99

#enrollmentMethodString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details_v2.rb', line 220

#enrollmentSessionTokenValidBoolean

Returns:

  • (Boolean)


# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details_v2.rb', line 226

#extensionAttributesArray<Jamf::OAPISchemas::ExtensionAttributeV2>



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details_v2.rb', line 244

#idString (readonly)

Returns:



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

#initialEntryTimestampJamf::Timestamp

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details_v2.rb', line 193

#iosJamf::OAPISchemas::DetailsV2



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details_v2.rb', line 265

#ipAddressString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details_v2.rb', line 163

#lastEnrollmentTimestampJamf::Timestamp

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details_v2.rb', line 200

#lastInventoryUpdateTimestampJamf::Timestamp

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details_v2.rb', line 112

#locationJamf::OAPISchemas::LocationV2



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details_v2.rb', line 251

#managedBoolean

Returns:

  • (Boolean)


# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details_v2.rb', line 181

#mdmProfileExpirationTimestampJamf::Timestamp

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details_v2.rb', line 207

#nameString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details_v2.rb', line 92

#osBuildString

Returns:



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

#osRapidSecurityResponseString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details_v2.rb', line 138

#osSupplementalBuildVersionString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details_v2.rb', line 131

#osVersionString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details_v2.rb', line 119

#serialNumberString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details_v2.rb', line 151

#siteJamf::OAPISchemas::V1Site



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details_v2.rb', line 238

#softwareUpdateDeviceIdString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details_v2.rb', line 145

#timeZoneString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details_v2.rb', line 187

#tvosJamf::OAPISchemas::TvOsDetails



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details_v2.rb', line 271

#typeString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details_v2.rb', line 257

#udidString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details_v2.rb', line 157

#visionosJamf::OAPISchemas::DetailsV2



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details_v2.rb', line 283

#watchosJamf::OAPISchemas::WatchOsDetailsV2



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details_v2.rb', line 277

#wifiMacAddressString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details_v2.rb', line 169