Class: Jamf::OAPISchemas::SessionHistoryItem

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

Overview

OAPI Object Model and Enums for: SessionHistoryItem

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.

- Jamf::OAPISchemas::SessionHistorySearchResults

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

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

- '/v1/jamf-remote-assist/session:GET' needs permissions:
  - Read Remote Assist

Constant Summary collapse

SESSION_TYPE_OPTIONS =

Enums used by this class or others

[
  'ATTENDED',
  'UNATTENDED'
]
STATUS_TYPE_OPTIONS =
[
  'STARTED',
  'FINISHED',
  'ERROR'
]
OAPI_PROPERTIES =
{

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

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

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

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

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

  # @!attribute sessionType
  #   @return [String]
  sessionType: {
    class: :string,
    enum: SESSION_TYPE_OPTIONS
  },

  # @!attribute statusType
  #   @return [String]
  statusType: {
    class: :string,
    enum: STATUS_TYPE_OPTIONS
  },

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

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

}

Instance Attribute Summary collapse

Constructor Details

This class inherits a constructor from Jamf::OAPIObject

Instance Attribute Details

#commentString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/session_history_item.rb', line 133

#deviceIdString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/session_history_item.rb', line 93

#sessionAdminIdString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/session_history_item.rb', line 127

#sessionEndedTimestampJamf::Timestamp

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/session_history_item.rb', line 106

#sessionIdString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/session_history_item.rb', line 87

#sessionStartedTimestampJamf::Timestamp

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/session_history_item.rb', line 99

#sessionTypeString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/session_history_item.rb', line 113

#statusTypeString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/session_history_item.rb', line 120

#tenantIdString

Returns:



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