Class: Jamf::PrestageScope

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

Overview

A container for an array of Jamf::PrestageAssignment objects, each of which represents a serial number assigned to the prestage that contains this scope.

Constant Summary collapse

OBJECT_MODEL =
{

  # @!attribute prestageId
  #   @return [Integer]
  prestageId: {
    class: :j_id
  },

  # @!attribute assignments
  #   @return [String] the country name
  assignments: {
    class: Jamf::PrestageAssignment,
    multi: true
  }
}.freeze

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#assignmentsString

Returns the country name.

Returns:

  • (String)

    the country name



# File 'lib/jamf/api/json_objects/prestage_scope.rb', line 45

#prestageIdInteger

Returns:

  • (Integer)


# File 'lib/jamf/api/json_objects/prestage_scope.rb', line 39

#versionLockObject (readonly) Originally defined in module Lockable

Returns the value of attribute versionLock.

Class Method Details

.mutable?Boolean Originally defined in module Immutable

Returns:

  • (Boolean)

Instance Method Details

#initialize(data, cnx: Jamf.cnx) ⇒ Object Originally defined in module Lockable

#to_jamfObject Originally defined in module Lockable