lib/openactive/models/schema/property_value_specification.rb in openactive-0.3.0 vs lib/openactive/models/schema/property_value_specification.rb in openactive-0.4.0

- old
+ new

@@ -6,66 +6,66 @@ # @return [String] def type "schema:PropertyValueSpecification" end - # @return [BigDecimal,nil] - define_property :value_max_length, as: "valueMaxLength", types: [ - "Number", + # @return [String] + define_property :value_pattern, as: "valuePattern", types: [ + "string", + ] + + # @return [Boolean,nil] + define_property :value_required, as: "valueRequired", types: [ + "bool", "null", ] + # @return [OpenActive::Models::Schema::Thing,String,URI] + define_property :default_value, as: "defaultValue", types: [ + "OpenActive::Models::Schema::Thing", + "string", + "URI", + ] + # @return [Boolean,nil] define_property :readonly_value, as: "readonlyValue", types: [ "bool", "null", ] # @return [BigDecimal,nil] - define_property :max_value, as: "maxValue", types: [ + define_property :step_value, as: "stepValue", types: [ "Number", "null", ] - # @return [String] - define_property :value_name, as: "valueName", types: [ - "string", + # @return [BigDecimal,nil] + define_property :value_min_length, as: "valueMinLength", types: [ + "Number", + "null", ] - # @return [String,OpenActive::Models::Schema::Thing,URI] - define_property :default_value, as: "defaultValue", types: [ - "string", - "OpenActive::Models::Schema::Thing", - "URI", - ] - # @return [BigDecimal,nil] - define_property :value_min_length, as: "valueMinLength", types: [ + define_property :value_max_length, as: "valueMaxLength", types: [ "Number", "null", ] - # @return [Boolean,nil] - define_property :value_required, as: "valueRequired", types: [ - "bool", + # @return [BigDecimal,nil] + define_property :max_value, as: "maxValue", types: [ + "Number", "null", ] # @return [BigDecimal,nil] define_property :min_value, as: "minValue", types: [ "Number", "null", ] # @return [String] - define_property :value_pattern, as: "valuePattern", types: [ + define_property :value_name, as: "valueName", types: [ "string", - ] - - # @return [BigDecimal,nil] - define_property :step_value, as: "stepValue", types: [ - "Number", - "null", ] # @return [Boolean,nil] define_property :multiple_values, as: "multipleValues", types: [ "bool",