Sha256: d520f19983724bf1974e0ab73ca55d25e320f3c5dab2ce5453aecb42d09c3a59

Contents?: true

Size: 916 Bytes

Versions: 6

Compression:

Stored size: 916 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 EmploymentContractType < ::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

6 entries across 6 versions & 1 rubygems

Version Path
stackone_client-0.2.39 lib/stack_one/models/shared/employment_contract_type.rb
stackone_client-0.2.38 lib/stack_one/models/shared/employment_contract_type.rb
stackone_client-0.2.37 lib/stack_one/models/shared/employment_contract_type.rb
stackone_client-0.2.36 lib/stack_one/models/shared/employment_contract_type.rb
stackone_client-0.2.35 lib/stack_one/models/shared/employment_contract_type.rb
stackone_client-0.2.34 lib/stack_one/models/shared/employment_contract_type.rb