Sha256: 1a57298f14f0d1745b46c514f081b4ba2dcefca7a404a60a5acd01a83a68ed69

Contents?: true

Size: 1.67 KB

Versions: 1

Compression:

Stored size: 1.67 KB

Contents

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

        # @return [String,OpenActive::Enums::Schema::SizeGroupEnumeration,nil]
        define_property :size_group, as: "sizeGroup", types: [
          "string",
          "OpenActive::Enums::Schema::SizeGroupEnumeration",
          "null",
        ]

        # @return [OpenActive::Models::Schema::QuantitativeValue,URI]
        define_property :suggested_measurement, as: "suggestedMeasurement", types: [
          "OpenActive::Models::Schema::QuantitativeValue",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::QuantitativeValue,URI]
        define_property :suggested_age, as: "suggestedAge", types: [
          "OpenActive::Models::Schema::QuantitativeValue",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::QuantitativeValue,URI]
        define_property :has_measurement, as: "hasMeasurement", types: [
          "OpenActive::Models::Schema::QuantitativeValue",
          "URI",
        ]

        # @return [String,OpenActive::Enums::Schema::SizeSystemEnumeration,nil]
        define_property :size_system, as: "sizeSystem", types: [
          "string",
          "OpenActive::Enums::Schema::SizeSystemEnumeration",
          "null",
        ]

        # @return [OpenActive::Enums::Schema::GenderType,String,nil]
        define_property :suggested_gender, as: "suggestedGender", types: [
          "OpenActive::Enums::Schema::GenderType",
          "string",
          "null",
        ]
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
openactive-0.3.0 lib/openactive/models/schema/size_specification.rb