Sha256: 548d584cc914c0fa094247358133d5d9cddd6dc2404c289e0f5e72926e84e494

Contents?: true

Size: 1020 Bytes

Versions: 6

Compression:

Stored size: 1020 Bytes

Contents

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

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  
    # The employee employment type
    class EmploymentType < ::StackOne::Utils::FieldAugmented
      extend T::Sig

      # The source value of the employment type.
      field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
      # The type of the employment.
      field :value, T.nilable(::StackOne::Shared::EmployeeSchemasEmploymentTypeValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::EmployeeSchemasEmploymentTypeValue, true) } }


      sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::EmployeeSchemasEmploymentTypeValue)).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_type.rb
stackone_client-0.2.38 lib/stack_one/models/shared/employment_type.rb
stackone_client-0.2.37 lib/stack_one/models/shared/employment_type.rb
stackone_client-0.2.36 lib/stack_one/models/shared/employment_type.rb
stackone_client-0.2.35 lib/stack_one/models/shared/employment_type.rb
stackone_client-0.2.34 lib/stack_one/models/shared/employment_type.rb