Sha256: 3cc2396028059087f16ca6c346dbed2891753c69ef4ce2a4ab77c7baae750fe8

Contents?: true

Size: 935 Bytes

Versions: 26

Compression:

Stored size: 935 Bytes

Contents

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

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  
    # The employee marital status
    class MaritalStatus < ::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::EmployeeSchemasMaritalStatusValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::EmployeeSchemasMaritalStatusValue, true) } }


      sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::EmployeeSchemasMaritalStatusValue)).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/marital_status.rb
stackone_client-0.2.3 lib/stack_one/models/shared/marital_status.rb
stackone_client-0.2.2 lib/stack_one/models/shared/marital_status.rb
stackone_client-0.2.1 lib/stack_one/models/shared/marital_status.rb
stackone_client-0.2.0 lib/stack_one/models/shared/marital_status.rb
stackone_client-0.1.1 lib/stack_one/models/shared/marital_status.rb