Sha256: 5b0cc7de355f19ac46ee96a467f233d99f9c5d1349496be2c66160befc1548f3
Contents?: true
Size: 971 Bytes
Versions: 23
Compression:
Stored size: 971 Bytes
Contents
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. # typed: true # frozen_string_literal: true module StackOne module Shared # The country code class EmployeeCountry < ::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::EmployeeSchemasHomeLocationValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::EmployeeSchemasHomeLocationValue, true) } } sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::EmployeeSchemasHomeLocationValue)).void } def initialize(source_value: nil, value: nil) @source_value = source_value @value = value end end end end
Version data entries
23 entries across 23 versions & 1 rubygems