lib/openactive/models/property_value.rb in openactive-0.1.2 vs lib/openactive/models/property_value.rb in openactive-0.2.0
- old
+ new
@@ -1,8 +1,8 @@
module OpenActive
module Models
- # This type is derived from [PropertyValue](https://schema.org/PropertyValue), which means that any of this type's properties within schema.org may also be used. Note however the properties on this page must be used in preference if a relevant property is available.
+ # 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"
@@ -22,12 +22,12 @@
define_property :property_id, as: "propertyID", types: [
"string",
"URI",
]
- # @return [int,String,nil]
+ # @return [Boolean,String,nil]
define_property :value, as: "value", types: [
- "int",
+ "bool",
"string",
"null",
]
end
end