Sha256: fc53b481eceac92852891cf88288f4736c91b4f65b983714fe07c5a614036de9

Contents?: true

Size: 780 Bytes

Versions: 6

Compression:

Stored size: 780 Bytes

Contents

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

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

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

      # @return [Boolean,nil]
      define_property :value_required, as: "valueRequired", types: [
        "bool",
        "null",
      ]
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/property_value_specification.rb
openactive-0.4.0 lib/openactive/models/property_value_specification.rb
openactive-0.3.0 lib/openactive/models/property_value_specification.rb
openactive-0.2.2 lib/openactive/models/property_value_specification.rb
openactive-0.2.1 lib/openactive/models/property_value_specification.rb
openactive-0.2.0 lib/openactive/models/property_value_specification.rb