Class: Jamf::Country

Inherits:
JSONObject show all
Defined in:
lib/jamf/api/json_objects/country.rb

Overview

A 'location' for a managed object in Jamf Pro

Constant Summary collapse

OBJECT_MODEL =
{

  # @!attribute code [r]
  #   @return [String] the country code
  code: {
    class: :string
  },

  # @!attribute name [r]
  #   @return [String] the country name
  name: {
    class: :string
  }
}.freeze

Instance Attribute Summary collapse

Constructor Details

This class inherits a constructor from Jamf::JSONObject

Instance Attribute Details

#codeString (readonly)

Returns the country code.

Returns:

  • (String)

    the country code



# File 'lib/jamf/api/json_objects/country.rb', line 34

#nameString (readonly)

Returns the country name.

Returns:

  • (String)

    the country name



# File 'lib/jamf/api/json_objects/country.rb', line 40