Class: Jamf::OAPISchemas::EbookScope

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

Overview

OAPI Object Model and Enums for: EbookScope

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.

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

- Jamf::OAPISchemas::EbookLimitations
- Jamf::OAPISchemas::EbookExclusions

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

- '/v1/ebooks/{id}/scope:GET' needs permissions:
  - Read eBooks

Constant Summary collapse

OAPI_PROPERTIES =
{

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

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

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

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

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

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

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

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

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

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

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

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

  # @!attribute limitations
  #   @return [Jamf::OAPISchemas::EbookLimitations]
  limitations: {
    class: Jamf::OAPISchemas::EbookLimitations
  },

  # @!attribute exclusions
  #   @return [Jamf::OAPISchemas::EbookExclusions]
  exclusions: {
    class: Jamf::OAPISchemas::EbookExclusions
  }

}

Instance Attribute Summary collapse

Constructor Details

This class inherits a constructor from Jamf::OAPIObject

Instance Attribute Details

#allComputersBoolean

Returns:

  • (Boolean)


# File 'lib/jamf/api/jamf_pro/oapi_schemas/ebook_scope.rb', line 71

#allMobileDevicesBoolean

Returns:

  • (Boolean)


# File 'lib/jamf/api/jamf_pro/oapi_schemas/ebook_scope.rb', line 77

#allUsersBoolean

Returns:

  • (Boolean)


# File 'lib/jamf/api/jamf_pro/oapi_schemas/ebook_scope.rb', line 83

#buildingIdsArray<String>

Returns:



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

#classroomIdsArray<String>

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/ebook_scope.rb', line 145

#computerGroupIdsArray<String>

Returns:



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

#computerIdsArray<String>

Returns:



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

#departmentIdsArray<String>

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/ebook_scope.rb', line 124

#exclusionsJamf::OAPISchemas::EbookExclusions



# File 'lib/jamf/api/jamf_pro/oapi_schemas/ebook_scope.rb', line 158

#limitationsJamf::OAPISchemas::EbookLimitations



# File 'lib/jamf/api/jamf_pro/oapi_schemas/ebook_scope.rb', line 152

#mobileDeviceGroupIdsArray<String>

Returns:



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

#mobileDeviceIdsArray<String>

Returns:



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

#userGroupIdsArray<String>

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/ebook_scope.rb', line 138

#userIdsArray<String>

Returns:



# File 'lib/jamf/api/jamf_pro/oapi_schemas/ebook_scope.rb', line 131