Sha256: 53f065262c3d311d9b66a91673b639c4e763afc62e8b0d324ad94980165f6048

Contents?: true

Size: 869 Bytes

Versions: 4

Compression:

Stored size: 869 Bytes

Contents

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

        # @return [Date,DateTime,nil]
        define_property :valid_through, as: "validThrough", types: [
          "Date",
          "DateTime",
          "null",
        ]

        # @return [DateTime,Date,nil]
        define_property :valid_from, as: "validFrom", types: [
          "DateTime",
          "Date",
          "null",
        ]

        # @return [OpenActive::Models::Schema::OpeningHoursSpecification]
        define_property :hours_available, as: "hoursAvailable", types: [
          "OpenActive::Models::Schema::OpeningHoursSpecification",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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