lib/openactive/models/schema/warranty_promise.rb in openactive-0.1.2 vs lib/openactive/models/schema/warranty_promise.rb in openactive-0.2.0
- old
+ new
@@ -6,18 +6,19 @@
# @return [String]
def type
"schema:WarrantyPromise"
end
+ # @return [OpenActive::Models::Schema::QuantitativeValue,URI]
+ define_property :duration_of_warranty, as: "durationOfWarranty", types: [
+ "OpenActive::Models::Schema::QuantitativeValue",
+ "URI",
+ ]
+
# @return [OpenActive::Enums::Schema::WarrantyScope,nil]
define_property :warranty_scope, as: "warrantyScope", types: [
"OpenActive::Enums::Schema::WarrantyScope",
"null",
- ]
-
- # @return [OpenActive::Models::Schema::QuantitativeValue]
- define_property :duration_of_warranty, as: "durationOfWarranty", types: [
- "OpenActive::Models::Schema::QuantitativeValue",
]
end
end
end
end