Class: Jamf::ChangeLogEntry

Inherits:
JSONObject show all
Extended by:
Immutable
Defined in:
lib/jamf/api/json_objects/change_log_entry.rb

Overview

A single entry in a resource's change history. This class is read-only

Constant Summary collapse

OBJECT_MODEL =
{

  # @!attribute [r] id
  #  @return [String] The Jamf Pro user who made the change or note.
  id: {
    class: :integer,
    readonly: true
  },

  # @!attribute [r] username
  #  @return [String] The Jamf Pro user who made the change or note.
  username: {
    class: :string,
    readonly: true
  },

  # @!attribute [r] date
  #  @return [Jamf::Timestamp] When the change was made
  date: {
    class: Jamf::Timestamp,
    readonly: true
  },

  # @!attribute [r] notes
  #  @return [String] Notes entered manually or via the API.
  note: {
    class: :string,
    readonly: true
  },

  # @!attribute [r] details
  #  @return [String] Details of the change
  details: {
    class: :string,
    readonly: true
  }
}.freeze

Instance Attribute Summary collapse

Class Method Summary collapse

Constructor Details

This class inherits a constructor from Jamf::JSONObject

Instance Attribute Details

#dateJamf::Timestamp (readonly)

Returns When the change was made.

Returns:



# File 'lib/jamf/api/json_objects/change_log_entry.rb', line 49

#detailsString (readonly)

Returns Details of the change.

Returns:

  • (String)

    Details of the change



# File 'lib/jamf/api/json_objects/change_log_entry.rb', line 63

#idString (readonly)

Returns The Jamf Pro user who made the change or note.

Returns:

  • (String)

    The Jamf Pro user who made the change or note.



# File 'lib/jamf/api/json_objects/change_log_entry.rb', line 35

#notesString (readonly)

Returns Notes entered manually or via the API.

Returns:

  • (String)

    Notes entered manually or via the API.



# File 'lib/jamf/api/json_objects/change_log_entry.rb', line 56

#usernameString (readonly)

Returns The Jamf Pro user who made the change or note.

Returns:

  • (String)

    The Jamf Pro user who made the change or note.



# File 'lib/jamf/api/json_objects/change_log_entry.rb', line 42

Class Method Details

.mutable?Boolean Originally defined in module Immutable

Returns:

  • (Boolean)