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 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.

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

- Jamf::OAPISchemas::V1Site
- Jamf::OAPISchemas::ExtensionAttributeV2
- Jamf::OAPISchemas::LocationV2
- Jamf::OAPISchemas::IosDetailsV2
- Jamf::OAPISchemas::TvOsDetails

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',
  '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, appleTv, android objects will be populated.
  # @!attribute type
  #   @return [String]
  type: {
    class: :string,
    enum: TYPE_OPTIONS
  },

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

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

}

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 102

#bluetoothMacAddressString

Returns:



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

#declarativeDeviceManagementEnabledBoolean

Returns:

  • (Boolean)


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

#deviceOwnershipLevelString

Returns:



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

#enforceNameBoolean

Returns:

  • (Boolean)


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

#enrollmentMethodString

Returns:



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

#enrollmentSessionTokenValidBoolean

Returns:

  • (Boolean)


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

#extensionAttributesArray<Jamf::OAPISchemas::ExtensionAttributeV2>



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

#idString (readonly)

Returns:



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

#initialEntryTimestampJamf::Timestamp

Returns:



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

#iosJamf::OAPISchemas::IosDetailsV2



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

#ipAddressString

Returns:



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

#lastEnrollmentTimestampJamf::Timestamp

Returns:



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

#lastInventoryUpdateTimestampJamf::Timestamp

Returns:



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

#locationJamf::OAPISchemas::LocationV2



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

#managedBoolean

Returns:

  • (Boolean)


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

#mdmProfileExpirationTimestampJamf::Timestamp

Returns:



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

#nameString

Returns:



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

#osBuildString

Returns:



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

#osRapidSecurityResponseString

Returns:



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

#osSupplementalBuildVersionString

Returns:



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

#osVersionString

Returns:



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

#serialNumberString

Returns:



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

#siteJamf::OAPISchemas::V1Site



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

#softwareUpdateDeviceIdString

Returns:



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

#timeZoneString

Returns:



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

#tvosJamf::OAPISchemas::TvOsDetails



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

#typeString

Returns:



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

#udidString

Returns:



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

#wifiMacAddressString

Returns:



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