Sha256: cea0e963e177f06061837c8aa4bd2fe7d4eb9069216cbea357c06871958f0320

Contents?: true

Size: 924 Bytes

Versions: 10

Compression:

Stored size: 924 Bytes

Contents

# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  
    # The employment work schedule type (e.g., full-time, part-time)
    class EmployeeEmploymentContractType < ::StackOne::Utils::FieldAugmented
      extend T::Sig


      field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }

      field :value, T.nilable(::StackOne::Shared::EmployeeValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::EmployeeValue, true) } }


      sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::EmployeeValue)).void }
      def initialize(source_value: nil, value: nil)
        @source_value = source_value
        @value = value
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
stackone_client-0.3.2 lib/stack_one/models/shared/employee_employment_contract_type.rb
stackone_client-0.3.1 lib/stack_one/models/shared/employee_employment_contract_type.rb
stackone_client-0.3.0 lib/stack_one/models/shared/employee_employment_contract_type.rb
stackone_client-0.2.46 lib/stack_one/models/shared/employee_employment_contract_type.rb
stackone_client-0.2.45 lib/stack_one/models/shared/employee_employment_contract_type.rb
stackone_client-0.2.44 lib/stack_one/models/shared/employee_employment_contract_type.rb
stackone_client-0.2.43 lib/stack_one/models/shared/employee_employment_contract_type.rb
stackone_client-0.2.42 lib/stack_one/models/shared/employee_employment_contract_type.rb
stackone_client-0.2.41 lib/stack_one/models/shared/employee_employment_contract_type.rb
stackone_client-0.2.40 lib/stack_one/models/shared/employee_employment_contract_type.rb