lib/openactive/models/schema/employee_role.rb in openactive-0.1.2 vs lib/openactive/models/schema/employee_role.rb in openactive-0.2.0

- old
+ new

@@ -6,20 +6,21 @@ # @return [String] def type "schema:EmployeeRole" end - # @return [OpenActive::Models::Schema::PriceSpecification,OpenActive::Models::Schema::MonetaryAmount,BigDecimal,nil] + # @return [String] + define_property :salary_currency, as: "salaryCurrency", types: [ + "string", + ] + + # @return [OpenActive::Models::Schema::MonetaryAmount,OpenActive::Models::Schema::PriceSpecification,BigDecimal,URI,nil] define_property :base_salary, as: "baseSalary", types: [ - "OpenActive::Models::Schema::PriceSpecification", "OpenActive::Models::Schema::MonetaryAmount", + "OpenActive::Models::Schema::PriceSpecification", "Number", + "URI", "null", - ] - - # @return [String] - define_property :salary_currency, as: "salaryCurrency", types: [ - "string", ] end end end end