Sha256: 6dc2281a2b7e68786e6c95b0e63cc1eb88c33677267c2868b872f65a4483a414

Contents?: true

Size: 927 Bytes

Versions: 27

Compression:

Stored size: 927 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 HRISLocationCountry < ::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

27 entries across 27 versions & 1 rubygems

Version Path
stackone_client-0.5.7 lib/stack_one/models/shared/hrislocation_country.rb
stackone_client-0.5.6 lib/stack_one/models/shared/hrislocation_country.rb
stackone_client-0.5.5 lib/stack_one/models/shared/hrislocation_country.rb
stackone_client-0.5.4 lib/stack_one/models/shared/hrislocation_country.rb
stackone_client-0.5.3 lib/stack_one/models/shared/hrislocation_country.rb
stackone_client-0.5.2 lib/stack_one/models/shared/hrislocation_country.rb
stackone_client-0.5.1 lib/stack_one/models/shared/hrislocation_country.rb
stackone_client-0.5.0 lib/stack_one/models/shared/hrislocation_country.rb
stackone_client-0.4.1 lib/stack_one/models/shared/hrislocation_country.rb
stackone_client-0.4.0 lib/stack_one/models/shared/hrislocation_country.rb
stackone_client-0.3.3 lib/stack_one/models/shared/hrislocation_country.rb
stackone_client-0.3.2 lib/stack_one/models/shared/hrislocation_country.rb
stackone_client-0.3.1 lib/stack_one/models/shared/hrislocation_country.rb
stackone_client-0.3.0 lib/stack_one/models/shared/hrislocation_country.rb
stackone_client-0.2.46 lib/stack_one/models/shared/hrislocation_country.rb
stackone_client-0.2.45 lib/stack_one/models/shared/hrislocation_country.rb
stackone_client-0.2.44 lib/stack_one/models/shared/hrislocation_country.rb
stackone_client-0.2.43 lib/stack_one/models/shared/hrislocation_country.rb
stackone_client-0.2.42 lib/stack_one/models/shared/hrislocation_country.rb
stackone_client-0.2.41 lib/stack_one/models/shared/hrislocation_country.rb