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 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::MobileDeviceHardware
- Jamf::OAPISchemas::MobileDeviceUserAndLocation
- Jamf::OAPISchemas::MobileDevicePurchasing
- Jamf::OAPISchemas::MobileDeviceApplicationInventoryDetail
- Jamf::OAPISchemas::MobileDeviceCertificate
- Jamf::OAPISchemas::MobileDeviceProfile
- Jamf::OAPISchemas::MobileDeviceUserProfile
- 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 or appleTv 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 purchasing
  #   @return [Jamf::OAPISchemas::MobileDevicePurchasing]
  purchasing: {
    class: Jamf::OAPISchemas::MobileDevicePurchasing
  },

  # @!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 userProfiles
  #   @return [Array<Jamf::OAPISchemas::MobileDeviceUserProfile>]
  userProfiles: {
    class: Jamf::OAPISchemas::MobileDeviceUserProfile,
    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 110

#certificatesArray<Jamf::OAPISchemas::MobileDeviceCertificate>



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

#deviceTypeString

Returns:



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

#extensionAttributesArray<Jamf::OAPISchemas::MobileDeviceExtensionAttribute>



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

#hardwareJamf::OAPISchemas::MobileDeviceHardware



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

#mobileDeviceIdString (readonly)

Returns:



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

#profilesArray<Jamf::OAPISchemas::MobileDeviceProfile>



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

#purchasingJamf::OAPISchemas::MobileDevicePurchasing



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

#userAndLocationJamf::OAPISchemas::MobileDeviceUserAndLocation



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

#userProfilesArray<Jamf::OAPISchemas::MobileDeviceUserProfile>



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