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

#assetTag ⇒ String

Returns:



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

#bluetoothMacAddress ⇒ String

Returns:



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

#declarativeDeviceManagementEnabled ⇒ Boolean

Returns:

  • (Boolean)


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

#deviceOwnershipLevel ⇒ String

Returns:



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

#enforceName ⇒ Boolean

Returns:

  • (Boolean)


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

#enrollmentMethod ⇒ String

Returns:



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

#enrollmentSessionTokenValid ⇒ Boolean

Returns:

  • (Boolean)


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

#extensionAttributes ⇒ Array<Jamf::OAPISchemas::ExtensionAttributeV2>



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

#id ⇒ String (readonly)

Returns:



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

#initialEntryTimestamp ⇒ Jamf::Timestamp

Returns:



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

#ios ⇒ Jamf::OAPISchemas::IosDetailsV2



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

#ipAddress ⇒ String

Returns:



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

#lastEnrollmentTimestamp ⇒ Jamf::Timestamp

Returns:



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

#lastInventoryUpdateTimestamp ⇒ Jamf::Timestamp

Returns:



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

#location ⇒ Jamf::OAPISchemas::LocationV2



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

#managed ⇒ Boolean

Returns:

  • (Boolean)


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

#mdmProfileExpirationTimestamp ⇒ Jamf::Timestamp

Returns:



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

#name ⇒ String

Returns:



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

#osBuild ⇒ String

Returns:



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

#osRapidSecurityResponse ⇒ String

Returns:



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

#osSupplementalBuildVersion ⇒ String

Returns:



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

#osVersion ⇒ String

Returns:



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

#serialNumber ⇒ String

Returns:



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

#site ⇒ Jamf::OAPISchemas::V1Site



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

#softwareUpdateDeviceId ⇒ String

Returns:



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

#timeZone ⇒ String

Returns:



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

#tvos ⇒ Jamf::OAPISchemas::TvOsDetails



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

#type ⇒ String

Returns:



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

#udid ⇒ String

Returns:



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

#wifiMacAddress ⇒ String

Returns:



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