Class: JSS::PatchInternalSource

Inherits:
PatchSource show all
Defined in:
lib/jss/api_object/patch_source/patch_internal_source.rb

Overview

An 'Internal' patch source. These sources are defined by Jamf themselves, as a part of the JSS, and cannot be created, modified

or deleted.

See Also:

Constant Summary collapse

RSRC_BASE =

The base for REST resources of this class

'patchinternalsources'.freeze
RSRC_LIST_KEY =

the hash key used for the JSON list output of all objects in the JSS

:patch_internal_sources
RSRC_OBJECT_KEY =

The hash key used for the JSON object output. It's also used in various error messages

:patch_internal_source
VALID_DATA_KEYS =

these keys, as well as :id and :name, are present in valid API JSON data for this class

%i[enabled endpoint].freeze

Instance Attribute Summary collapse

Constructor Details

This class inherits a constructor from JSS::PatchSource

Instance Attribute Details

#need_to_updateBoolean (readonly) Originally defined in module Updatable

Returns do we have unsaved changes?

Returns:

  • (Boolean)

    do we have unsaved changes?