Sha256: fbfdf5962141e415aa4fec529432ef05be7f59d24715e061fce65ba6f01b56ff
Contents?: true
Size: 1002 Bytes
Versions: 1
Compression:
Stored size: 1002 Bytes
Contents
module OpenActive module Models module Schema class ProductModel < ::OpenActive::Models::Schema::Product # @!attribute type # @return [String] def type "schema:ProductModel" end # @return [OpenActive::Models::Schema::ProductModel,URI] define_property :successor_of, as: "successorOf", types: [ "OpenActive::Models::Schema::ProductModel", "URI", ] # @return [OpenActive::Models::Schema::ProductModel,URI] define_property :predecessor_of, as: "predecessorOf", types: [ "OpenActive::Models::Schema::ProductModel", "URI", ] # @return [OpenActive::Models::Schema::ProductModel,OpenActive::Models::Schema::ProductGroup,URI] define_property :is_variant_of, as: "isVariantOf", types: [ "OpenActive::Models::Schema::ProductModel", "OpenActive::Models::Schema::ProductGroup", "URI", ] end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
openactive-0.3.0 | lib/openactive/models/schema/product_model.rb |