Sha256: 9f6f190d852adb856c1a4696d1059880c89502fd32b12d0314c7ec3ce640b9a7
Contents?: true
Size: 910 Bytes
Versions: 16
Compression:
Stored size: 910 Bytes
Contents
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true module StackOne module Shared class CountryCodeEnum < ::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::CountryCodeEnumValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::CountryCodeEnumValue, true) } } sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::CountryCodeEnumValue)).void } def initialize(source_value: nil, value: nil) @source_value = source_value @value = value end end end end
Version data entries
16 entries across 16 versions & 1 rubygems