# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true module StackOne module Shared class JobPostingCompensation < ::StackOne::Utils::FieldAugmented extend T::Sig field :currency, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('currency') } } field :max_value, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('max_value') } } field :min_value, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('min_value') } } field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } } field :pay_frequency, T.nilable(::StackOne::Shared::JobPostingCompensationPayFrequency), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('pay_frequency') } } field :pay_period, T.nilable(::StackOne::Shared::JobPostingCompensationPayPeriod), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('pay_period') } } field :type, T.nilable(::StackOne::Shared::JobPostingCompensationType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } } field :value, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value') } } sig { params(currency: T.nilable(::String), max_value: T.nilable(::String), min_value: T.nilable(::String), name: T.nilable(::String), pay_frequency: T.nilable(::StackOne::Shared::JobPostingCompensationPayFrequency), pay_period: T.nilable(::StackOne::Shared::JobPostingCompensationPayPeriod), type: T.nilable(::StackOne::Shared::JobPostingCompensationType), value: T.nilable(::String)).void } def initialize(currency: nil, max_value: nil, min_value: nil, name: nil, pay_frequency: nil, pay_period: nil, type: nil, value: nil) @currency = currency @max_value = max_value @min_value = min_value @name = name @pay_frequency = pay_frequency @pay_period = pay_period @type = type @value = value end end end end