Class: Jamf::OAPISchemas::VolumePurchasingContent

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

Overview

OAPI Object Model and Enums for: VolumePurchasingContent

This class was automatically generated from the api/schema URL path on a Jamf Pro server version 11.6.1-t1718634702

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.

- Jamf::OAPISchemas::VolumePurchasingContentList

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

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

Constant Summary collapse

CONTENT_TYPE_OPTIONS =

Enums used by this class or others

[
  'IOS_APP',
  'MAC_APP',
  'BOOK',
  'UNKNOWN'
]
PRICING_PARAM_OPTIONS =
[
  'STDQ',
  'PLUS',
  'Unknown'
]
OAPI_PROPERTIES =
{

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

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

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

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

  # @!attribute [r] iconUrl
  #   @return [String]
  iconUrl: {
    class: :string,
    readonly: true
  },

  # @!attribute [r] deviceTypes
  #   @return [Array<String>]
  deviceTypes: {
    class: :string,
    readonly: true,
    multi: true
  },

  # @!attribute [r] contentType
  #   @return [String]
  contentType: {
    class: :string,
    readonly: true,
    enum: CONTENT_TYPE_OPTIONS
  },

  # @!attribute [r] pricingParam
  #   @return [String]
  pricingParam: {
    class: :string,
    readonly: true,
    enum: PRICING_PARAM_OPTIONS
  },

  # @!attribute [r] adamId
  #   @return [String]
  adamId: {
    class: :string,
    readonly: true
  }

}

Instance Attribute Summary collapse

Constructor Details

This class inherits a constructor from Jamf::OAPIObject

Instance Attribute Details

#adamIdString (readonly)

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_content.rb', line 141

#contentTypeString (readonly)

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_content.rb', line 125

#deviceTypesArray<String> (readonly)

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_content.rb', line 117

#iconUrlString (readonly)

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_content.rb', line 110

#licenseCountInUseInteger (readonly)

Returns:

  • (Integer)


# File 'lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_content.rb', line 96

#licenseCountReportedInteger (readonly)

Returns:

  • (Integer)


# File 'lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_content.rb', line 103

#licenseCountTotalInteger (readonly)

Returns:

  • (Integer)


# File 'lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_content.rb', line 89

#nameString (readonly)

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_content.rb', line 82

#pricingParamString (readonly)

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_content.rb', line 133