Class: Jamf::OAPISchemas::VppTokenSubscription

Inherits:
Jamf::OAPIObject show all
Defined in:
lib/jamf/api/jamf_pro/oapi_schemas/vpp_token_subscription.rb

Overview

OAPI Object Model and Enums for: VppTokenSubscription

This class was automatically genereated from the api/schema URL path on a Jamf Pro server version 10.46.0-t1681398190

This class may be used directly, e.g instances of other classes may use instances of this class as one of their own properties/attributes.

It may also be used as a superclass when implementing Jamf Pro API Resources in ruby-jss. The subclasses include appropriate mixins, and should expand on the basic functionality provided here.

Container Objects: Other object models that use this model as the value in one of their attributes.

Sub Objects: Other object models used by this model’s attributes.

- Jamf::OAPISchemas::Recipients
- Jamf::OAPISchemas::AdminAccount

Endpoints and Privileges: API endpoints and HTTP operations that use this object model, and the Jamf Pro privileges needed to access them.

- '/vpp/subscriptions:GET' needs permissions:
  - Read Volume Purchasing Locations
- '/vpp/subscriptions/{id}:GET' needs permissions:
  - Read Volume Purchasing Locations

Constant Summary collapse

OAPI_PROPERTIES =
{

  # @!attribute id
  #   @return [Integer]
  id: {
    class: :j_id,
    identifier: :primary
  },

  # @!attribute name
  #   @return [String]
  name: {
    class: :string
  },

  # @!attribute enabled
  #   @return [Boolean]
  enabled: {
    class: :boolean
  },

  # @!attribute recipients
  #   @return [Jamf::OAPISchemas::Recipients]
  recipients: {
    class: Jamf::OAPISchemas::Recipients
  },

  # @!attribute adminAccounts
  #   @return [Array<Jamf::OAPISchemas::AdminAccount>]
  adminAccounts: {
    class: Jamf::OAPISchemas::AdminAccount,
    multi: true
  },

  # @!attribute siteID
  #   @return [Integer]
  siteID: {
    class: :integer
  },

  # @!attribute siteName
  #   @return [String]
  siteName: {
    class: :string
  }

}

Instance Attribute Summary collapse

Constructor Details

This class inherits a constructor from Jamf::OAPIObject

Instance Attribute Details

#adminAccountsArray<Jamf::OAPISchemas::AdminAccount>



# File 'lib/jamf/api/jamf_pro/oapi_schemas/vpp_token_subscription.rb', line 98

#enabledBoolean

Returns:

  • (Boolean)


# File 'lib/jamf/api/jamf_pro/oapi_schemas/vpp_token_subscription.rb', line 86

#idInteger

Returns:

  • (Integer)


# File 'lib/jamf/api/jamf_pro/oapi_schemas/vpp_token_subscription.rb', line 73

#nameString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/vpp_token_subscription.rb', line 80

#recipientsJamf::OAPISchemas::Recipients



# File 'lib/jamf/api/jamf_pro/oapi_schemas/vpp_token_subscription.rb', line 92

#siteIDInteger

Returns:

  • (Integer)


# File 'lib/jamf/api/jamf_pro/oapi_schemas/vpp_token_subscription.rb', line 105

#siteNameString

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/vpp_token_subscription.rb', line 111