Class: Jamf::Attachment

Inherits:
JSONObject show all
Includes:
Referable
Defined in:
lib/jamf/api/json_objects/attachment.rb

Overview

An attachment to an object in the JSS

Constant Summary collapse

OBJECT_MODEL =

Object Model / Attributes See APIObject class documentation for details of how the OBJECT_MODEL hash works.

{

  # @!attribute [r] id
  #   @return [Integer]
  id: {
    class: :integer,
    identifier: :primary,
    readonly: true
  },

  # @!attribute name
  #   @return [String]
  name: {
    class: :string,
    readonly: true
  }
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

This class inherits a constructor from Jamf::JSONObject

Instance Attribute Details

#idInteger (readonly)

Returns:

  • (Integer)


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

#nameString

Returns:



# File 'lib/jamf/api/json_objects/attachment.rb', line 57

Instance Method Details

#referenceself.class::GenericReference Originally defined in module Referable

Returns A reference to this object.

Returns:

  • (self.class::GenericReference)

    A reference to this object.