Sha256: 56655d6975ca98f80a5daf808f503fedecce797198315f1ee43065becdc2f436

Contents?: true

Size: 996 Bytes

Versions: 19

Compression:

Stored size: 996 Bytes

Contents

# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  
    # The employee preferred language
    class PreferredLanguage < ::StackOne::Utils::FieldAugmented
      extend T::Sig


      field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
      # The ISO639-2 Code of the language
      field :value, T.nilable(::StackOne::Shared::EmployeeSchemasPreferredLanguageValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::EmployeeSchemasPreferredLanguageValue, true) } }


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

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
stackone_client-0.2.33 lib/stack_one/models/shared/preferred_language.rb
stackone_client-0.2.32 lib/stack_one/models/shared/preferred_language.rb
stackone_client-0.2.31 lib/stack_one/models/shared/preferred_language.rb
stackone_client-0.2.30 lib/stack_one/models/shared/preferred_language.rb
stackone_client-0.2.29 lib/stack_one/models/shared/preferred_language.rb
stackone_client-0.2.28 lib/stack_one/models/shared/preferred_language.rb
stackone_client-0.2.27 lib/stack_one/models/shared/preferred_language.rb
stackone_client-0.2.26 lib/stack_one/models/shared/preferred_language.rb
stackone_client-0.2.18 lib/stack_one/models/shared/preferred_language.rb
stackone_client-0.2.17 lib/stack_one/models/shared/preferred_language.rb
stackone_client-0.2.16 lib/stack_one/models/shared/preferred_language.rb
stackone_client-0.2.15 lib/stack_one/models/shared/preferred_language.rb
stackone_client-0.2.14 lib/stack_one/models/shared/preferred_language.rb
stackone_client-0.2.13 lib/stack_one/models/shared/preferred_language.rb
stackone_client-0.2.12 lib/stack_one/models/shared/preferred_language.rb
stackone_client-0.2.11 lib/stack_one/models/shared/preferred_language.rb
stackone_client-0.2.10 lib/stack_one/models/shared/preferred_language.rb
stackone_client-0.2.9 lib/stack_one/models/shared/preferred_language.rb
stackone_client-0.2.7 lib/stack_one/models/shared/preferred_language.rb