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

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

  # @!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 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 103

#bluetoothMacAddressString

Returns:



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

#deviceOwnershipLevelString

Returns:



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

#enforceNameBoolean

Returns:

  • (Boolean)


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

#enrollmentMethodString

Returns:



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

#extensionAttributesArray<Jamf::OAPISchemas::ExtensionAttributeV2>



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

#idString (readonly)

Returns:



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

#initialEntryTimestampJamf::Timestamp

Returns:



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

#iosJamf::OAPISchemas::IosDetailsV2



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

#ipAddressString

Returns:



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

#lastEnrollmentTimestampJamf::Timestamp

Returns:



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

#lastInventoryUpdateTimestampJamf::Timestamp

Returns:



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

#locationJamf::OAPISchemas::LocationV2



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

#managedBoolean

Returns:

  • (Boolean)


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

#mdmProfileExpirationTimestampJamf::Timestamp

Returns:



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

#nameString

Returns:



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

#osBuildString

Returns:



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

#osVersionString

Returns:



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

#serialNumberString

Returns:



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

#siteJamf::OAPISchemas::V1Site



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

#softwareUpdateDeviceIdString

Returns:



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

#timeZoneString

Returns:



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

#tvosJamf::OAPISchemas::TvOsDetails



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

#typeString

Returns:



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

#udidString

Returns:



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

#wifiMacAddressString

Returns:



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