Sha256: 143312d62209c532ca01a738467fc363cbc686e5427f2fe51b9f9ae3c99b8d38

Contents?: true

Size: 827 Bytes

Versions: 4

Compression:

Stored size: 827 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::Product,URI]
        define_property :has_variant, as: "hasVariant", types: [
          "OpenActive::Models::Schema::Product",
          "URI",
        ]

        # @return [String]
        define_property :product_group_id, as: "productGroupID", types: [
          "string",
        ]

        # @return [String,OpenActive::Models::Schema::DefinedTerm,URI]
        define_property :varies_by, as: "variesBy", types: [
          "string",
          "OpenActive::Models::Schema::DefinedTerm",
          "URI",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openactive-0.3.0 lib/openactive/models/schema/product_group.rb
openactive-0.2.2 lib/openactive/models/schema/product_group.rb
openactive-0.2.1 lib/openactive/models/schema/product_group.rb
openactive-0.2.0 lib/openactive/models/schema/product_group.rb