Class: Jamf::OAPISchemas::MdmCommand

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

Overview

OAPI Object Model and Enums for: MdmCommand

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.

- Jamf::OAPISchemas::MdmCommandResults

Sub Objects: Other object models used by this model’s attributes.

- Jamf::OAPISchemas::MdmCommandClient
- Jamf::OAPISchemas::MdmCommandState
- Jamf::OAPISchemas::MdmCommandType

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

- '/v1/mdm/commands:GET' needs permissions:
  - View MDM command information in Jamf Pro API

Constant Summary collapse

OAPI_PROPERTIES =
{

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

  # @!attribute dateSent
  #   @return [Jamf::Timestamp]
  dateSent: {
    class: Jamf::Timestamp,
    format: 'date-time'
  },

  # @!attribute client
  #   @return [Jamf::OAPISchemas::MdmCommandClient]
  client: {
    class: Jamf::OAPISchemas::MdmCommandClient
  },

  # @!attribute commandState
  #   @return [Jamf::OAPISchemas::MdmCommandState]
  commandState: {
    class: Jamf::OAPISchemas::MdmCommandState
  },

  # @!attribute commandType
  #   @return [Jamf::OAPISchemas::MdmCommandType]
  commandType: {
    class: Jamf::OAPISchemas::MdmCommandType
  }

}

Instance Attribute Summary collapse

Constructor Details

This class inherits a constructor from Jamf::OAPIObject

Instance Attribute Details

#clientJamf::OAPISchemas::MdmCommandClient



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

#commandStateJamf::OAPISchemas::MdmCommandState



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

#commandTypeJamf::OAPISchemas::MdmCommandType



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

#dateSentJamf::Timestamp

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mdm_command.rb', line 78

#uuidString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/mdm_command.rb', line 72