Sha256: 9a717cf591c2915139fba8adf1385a0bbc1ac80d1d74e39f1478ea9e1f394179

Contents?: true

Size: 755 Bytes

Versions: 4

Compression:

Stored size: 755 Bytes

Contents

module OpenActive
  module Models
    module Schema
      class EmployeeRole < ::OpenActive::Models::Schema::OrganizationRole
        # @!attribute type
        # @return [String]
        def type
          "schema:EmployeeRole"
        end

        # @return [OpenActive::Models::Schema::PriceSpecification,OpenActive::Models::Schema::MonetaryAmount,BigDecimal,nil]
        define_property :base_salary, as: "baseSalary", types: [
          "OpenActive::Models::Schema::PriceSpecification",
          "OpenActive::Models::Schema::MonetaryAmount",
          "Number",
          "null",
        ]

        # @return [String]
        define_property :salary_currency, as: "salaryCurrency", types: [
          "string",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openactive-0.1.2 lib/openactive/models/schema/employee_role.rb
openactive-0.1.1 lib/openactive/models/schema/employee_role.rb
openactive-0.1.0 lib/openactive/models/schema/employee_role.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/employee_role.rb