Sha256: 447738b13698157e16dda0e6c5f635ea2d68eed16c2be44e13552c4ea395d81a

Contents?: true

Size: 1005 Bytes

Versions: 6

Compression:

Stored size: 1005 Bytes

Contents

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

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  
    # The country code
    class EmployeeSchemasCountry < ::StackOne::Utils::FieldAugmented
      extend T::Sig


      field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
      # The ISO3166-1 Alpha2 Code of the Country
      field :value, T.nilable(::StackOne::Shared::EmployeeSchemasNationalIdentityNumberValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::EmployeeSchemasNationalIdentityNumberValue, true) } }


      sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::EmployeeSchemasNationalIdentityNumberValue)).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.3.2 lib/stack_one/models/shared/employee_schemas_country.rb
stackone_client-0.3.1 lib/stack_one/models/shared/employee_schemas_country.rb
stackone_client-0.3.0 lib/stack_one/models/shared/employee_schemas_country.rb
stackone_client-0.2.46 lib/stack_one/models/shared/employee_schemas_country.rb
stackone_client-0.2.45 lib/stack_one/models/shared/employee_schemas_country.rb
stackone_client-0.2.44 lib/stack_one/models/shared/employee_schemas_country.rb