Sha256: fcf9b4bf29d6e93a289dfc0d93e2f6ffd8e613ce095a907f9603f5870f6d001a

Contents?: true

Size: 975 Bytes

Versions: 10

Compression:

Stored size: 975 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::EmployeeSchemasWorkLocationValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::EmployeeSchemasWorkLocationValue, true) } }


      sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::EmployeeSchemasWorkLocationValue)).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.2.43 lib/stack_one/models/shared/employee_schemas_country.rb
stackone_client-0.2.42 lib/stack_one/models/shared/employee_schemas_country.rb
stackone_client-0.2.41 lib/stack_one/models/shared/employee_schemas_country.rb
stackone_client-0.2.40 lib/stack_one/models/shared/employee_schemas_country.rb
stackone_client-0.2.39 lib/stack_one/models/shared/employee_schemas_country.rb
stackone_client-0.2.38 lib/stack_one/models/shared/employee_schemas_country.rb
stackone_client-0.2.37 lib/stack_one/models/shared/employee_schemas_country.rb
stackone_client-0.2.36 lib/stack_one/models/shared/employee_schemas_country.rb
stackone_client-0.2.35 lib/stack_one/models/shared/employee_schemas_country.rb
stackone_client-0.2.34 lib/stack_one/models/shared/employee_schemas_country.rb