Class: Jamf::OAPISchemas::MobileDeviceInventory

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

Overview

OAPI Object Model and Enums for: MobileDeviceInventory

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::MobileDeviceHardware
- Jamf::OAPISchemas::MobileDeviceUserAndLocation
- Jamf::OAPISchemas::MobileDeviceApplicationInventoryDetail
- Jamf::OAPISchemas::MobileDeviceCertificate
- Jamf::OAPISchemas::MobileDeviceProfile
- Jamf::OAPISchemas::MobileDeviceExtensionAttribute

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

Constant Summary collapse

OAPI_PROPERTIES =
{

  # @!attribute [r] mobileDeviceId
  #   @return [String]
  mobileDeviceId: {
    class: :string,
    readonly: true,
    min_length: 1
  },

  # Based on the value of this type either ios, appleTv, watch or visionOS objects will be populated.
  # @!attribute deviceType
  #   @return [String]
  deviceType: {
    class: :string,
    required: true
  },

  # @!attribute hardware
  #   @return [Jamf::OAPISchemas::MobileDeviceHardware]
  hardware: {
    class: Jamf::OAPISchemas::MobileDeviceHardware
  },

  # @!attribute userAndLocation
  #   @return [Jamf::OAPISchemas::MobileDeviceUserAndLocation]
  userAndLocation: {
    class: Jamf::OAPISchemas::MobileDeviceUserAndLocation
  },

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

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

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

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

}

Instance Attribute Summary collapse

Constructor Details

This class inherits a constructor from Jamf::OAPIObject

Instance Attribute Details

#applicationsArray<Jamf::OAPISchemas::MobileDeviceApplicationInventoryDetail>



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

#certificatesArray<Jamf::OAPISchemas::MobileDeviceCertificate>



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

#deviceTypeString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_inventory.rb', line 82

#extensionAttributesArray<Jamf::OAPISchemas::MobileDeviceExtensionAttribute>



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_inventory.rb', line 123

#hardwareJamf::OAPISchemas::MobileDeviceHardware



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_inventory.rb', line 90

#mobileDeviceIdString (readonly)

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_inventory.rb', line 74

#profilesArray<Jamf::OAPISchemas::MobileDeviceProfile>



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

#userAndLocationJamf::OAPISchemas::MobileDeviceUserAndLocation



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