Class: Jamf::OAPISchemas::UpdateMobileDevice

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

Overview

OAPI Object Model and Enums for: UpdateMobileDevice

This class was automatically genereated from the api/schema URL path on a Jamf Pro server version 10.46.0-t1681398190

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::Location
- Jamf::OAPISchemas::ExtensionAttribute
- Jamf::OAPISchemas::UpdateIos
- Jamf::OAPISchemas::UpdateAppleTv

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

- '/v1/mobile-devices/{id}:PATCH' needs permissions:
  - Update Mobile Devices

Constant Summary collapse

OAPI_PROPERTIES =
{

  # @!attribute name
  #   @return [String]
  name: {
    class: :string
  },

  # @!attribute assetTag
  #   @return [String]
  assetTag: {
    class: :string
  },

  # @!attribute siteId
  #   @return [Integer]
  siteId: {
    class: :integer
  },

  # @!attribute location
  #   @return [Jamf::OAPISchemas::Location]
  location: {
    class: Jamf::OAPISchemas::Location
  },

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

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

  # @!attribute appleTv
  #   @return [Jamf::OAPISchemas::UpdateAppleTv]
  appleTv: {
    class: Jamf::OAPISchemas::UpdateAppleTv
  }

}

Instance Attribute Summary collapse

Constructor Details

This class inherits a constructor from Jamf::OAPIObject

Instance Attribute Details

#appleTvJamf::OAPISchemas::UpdateAppleTv



# File 'lib/jamf/api/jamf_pro/oapi_schemas/update_mobile_device.rb', line 110

#assetTagString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/update_mobile_device.rb', line 79

#iosJamf::OAPISchemas::UpdateIos



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

#locationJamf::OAPISchemas::Location



# File 'lib/jamf/api/jamf_pro/oapi_schemas/update_mobile_device.rb', line 91

#nameString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/update_mobile_device.rb', line 73

#siteIdInteger

Returns:

  • (Integer)


# File 'lib/jamf/api/jamf_pro/oapi_schemas/update_mobile_device.rb', line 85

#updatedExtensionAttributesArray<Jamf::OAPISchemas::ExtensionAttribute>



# File 'lib/jamf/api/jamf_pro/oapi_schemas/update_mobile_device.rb', line 97