Sha256: 2ed0c092c7c751062262ac3c7ac06546e749f99fa2ba2ff3caa388870b708cf1
Contents?: true
Size: 918 Bytes
Versions: 3
Compression:
Stored size: 918 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 Country < ::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::HRISLocationValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::HRISLocationValue, true) } } sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::HRISLocationValue)).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/country.rb |
stackone_client-0.2.0 | lib/stack_one/models/shared/country.rb |
stackone_client-0.1.1 | lib/stack_one/models/shared/country.rb |