Sha256: e53cef072c8ad0f230ca0447a72d7a306f3dc5826e5e894bc699bd338ed4de00

Contents?: true

Size: 827 Bytes

Versions: 2

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 [String]
        define_property :product_group_id, as: "productGroupID", types: [
          "string",
        ]

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/schema/product_group.rb
openactive-0.4.0 lib/openactive/models/schema/product_group.rb