Sha256: e0f45d64b0805db4e1676fe30463f29ab0bbaca61b03279a53fd9b796b29268e

Contents?: true

Size: 923 Bytes

Versions: 16

Compression:

Stored size: 923 Bytes

Contents

# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  
    # Type of the answer
    class Type < ::StackOne::Utils::FieldAugmented
      extend T::Sig

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


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

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
stackone_client-0.3.2 lib/stack_one/models/shared/type.rb
stackone_client-0.3.1 lib/stack_one/models/shared/type.rb
stackone_client-0.3.0 lib/stack_one/models/shared/type.rb
stackone_client-0.2.46 lib/stack_one/models/shared/type.rb
stackone_client-0.2.45 lib/stack_one/models/shared/type.rb
stackone_client-0.2.44 lib/stack_one/models/shared/type.rb
stackone_client-0.2.43 lib/stack_one/models/shared/type.rb
stackone_client-0.2.42 lib/stack_one/models/shared/type.rb
stackone_client-0.2.41 lib/stack_one/models/shared/type.rb
stackone_client-0.2.40 lib/stack_one/models/shared/type.rb
stackone_client-0.2.39 lib/stack_one/models/shared/type.rb
stackone_client-0.2.38 lib/stack_one/models/shared/type.rb
stackone_client-0.2.37 lib/stack_one/models/shared/type.rb
stackone_client-0.2.36 lib/stack_one/models/shared/type.rb
stackone_client-0.2.35 lib/stack_one/models/shared/type.rb
stackone_client-0.2.34 lib/stack_one/models/shared/type.rb