Sha256: d0621c5c9cea3c46fe2c13a91b103f193824bfb82140e409d03480c61a92bf58

Contents?: true

Size: 868 Bytes

Versions: 3

Compression:

Stored size: 868 Bytes

Contents

# Code generated by Speakeasy (https://speakeasyapi.dev). 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::Value), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::Value, true) } }


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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stackone_client-0.2.1 lib/stack_one/models/shared/countrycodeenum.rb
stackone_client-0.2.0 lib/stack_one/models/shared/countrycodeenum.rb
stackone_client-0.1.1 lib/stack_one/models/shared/countrycodeenum.rb