Sha256: 33bdea3222fb8b6c5b634b1f129c4dbe4ca03fc615ddbd5e9f8a73ea3a25e225

Contents?: true

Size: 972 Bytes

Versions: 3

Compression:

Stored size: 972 Bytes

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 EmployeeSchemasLocationType < ::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::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

3 entries across 3 versions & 1 rubygems

Version Path
stackone_client-0.2.1 lib/stack_one/models/shared/employee_schemas_location_type.rb
stackone_client-0.2.0 lib/stack_one/models/shared/employee_schemas_location_type.rb
stackone_client-0.1.1 lib/stack_one/models/shared/employee_schemas_location_type.rb