Sha256: aad7447f4c8f3df29abceefa91d7770daab004d53034da0ab1832b9e69421eb5

Contents?: true

Size: 889 Bytes

Versions: 3

Compression:

Stored size: 889 Bytes

Contents

module OpenActive
  module Models
    # This type is derived from https://schema.org/PropertyValue, which means that any of this type's properties within schema.org may also be used.
    class PropertyValue < ::OpenActive::Models::Schema::PropertyValue
      # @!attribute type
      # @return [String]
      def type
        "PropertyValue"
      end

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

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

      # @return [String,URI]
      define_property :property_id, as: "propertyID", types: [
        "string",
        "URI",
      ]

      # @return [Boolean,URI,String,nil]
      define_property :value, as: "value", types: [
        "bool",
        "URI",
        "string",
        "null",
      ]
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/property_value.rb
openactive-0.4.0 lib/openactive/models/property_value.rb
openactive-0.3.0 lib/openactive/models/property_value.rb