Sha256: 5ddd18879e84095ca039d58e0dcc9042fd255aa936449ca1ab5e925833803b7d

Contents?: true

Size: 1 KB

Versions: 26

Compression:

Stored size: 1 KB

Contents

# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  
    # The ISO3166-2 sub division where the location is situated
    class State < ::StackOne::Utils::FieldAugmented
      extend T::Sig


      field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }

      field :value, T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasHomeLocationStateValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::HrisCreateEmployeeRequestDtoSchemasHomeLocationStateValue, true) } }


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

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
stackone_client-0.2.4 lib/stack_one/models/shared/state.rb
stackone_client-0.2.3 lib/stack_one/models/shared/state.rb
stackone_client-0.2.2 lib/stack_one/models/shared/state.rb
stackone_client-0.2.1 lib/stack_one/models/shared/state.rb
stackone_client-0.2.0 lib/stack_one/models/shared/state.rb
stackone_client-0.1.1 lib/stack_one/models/shared/state.rb