Sha256: 3fe86cf1661f84c6099219c8a8bba7d564bc6381b376ebdf93bf216a6127755e

Contents?: true

Size: 991 Bytes

Versions: 4

Compression:

Stored size: 991 Bytes

Contents

module OpenActive
  module Models
    module Schema
      class DigitalDocumentPermission < ::OpenActive::Models::Schema::Intangible
        # @!attribute type
        # @return [String]
        def type
          "schema:DigitalDocumentPermission"
        end

        # @return [OpenActive::Enums::Schema::DigitalDocumentPermissionType,nil]
        define_property :permission_type, as: "permissionType", types: [
          "OpenActive::Enums::Schema::DigitalDocumentPermissionType",
          "null",
        ]

        # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::ContactPoint,OpenActive::Models::Schema::Audience,OpenActive::Models::Schema::Organization]
        define_property :grantee, as: "grantee", types: [
          "OpenActive::Models::Schema::Person",
          "OpenActive::Models::Schema::ContactPoint",
          "OpenActive::Models::Schema::Audience",
          "OpenActive::Models::Schema::Organization",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openactive-0.1.2 lib/openactive/models/schema/digital_document_permission.rb
openactive-0.1.1 lib/openactive/models/schema/digital_document_permission.rb
openactive-0.1.0 lib/openactive/models/schema/digital_document_permission.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/digital_document_permission.rb