Sha256: c02327213fedc429665d8282771d70390b601df945cc4381c9b6614893d5079c

Contents?: true

Size: 1.02 KB

Versions: 23

Compression:

Stored size: 1.02 KB

Contents

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

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  
    # The location type
    class EmployeeLocationType < ::StackOne::Utils::FieldAugmented
      extend T::Sig

      # The source value of the location type.
      field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
      # The type of the location.
      field :value, T.nilable(::StackOne::Shared::EmployeeSchemasHomeLocationLocationTypeValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::EmployeeSchemasHomeLocationLocationTypeValue, true) } }


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

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
stackone_client-0.2.4 lib/stack_one/models/shared/employee_location_type.rb
stackone_client-0.2.3 lib/stack_one/models/shared/employee_location_type.rb
stackone_client-0.2.2 lib/stack_one/models/shared/employee_location_type.rb