Sha256: 89c3f175d3eae87993856ffa293f23c04d899f8ae59555aca99a8d2ae88613b0

Contents?: true

Size: 922 Bytes

Versions: 23

Compression:

Stored size: 922 Bytes

Contents

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

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  

    class QuestionType < ::StackOne::Utils::FieldAugmented
      extend T::Sig

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


      sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::QuestionValue)).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.33 lib/stack_one/models/shared/question_type.rb
stackone_client-0.2.32 lib/stack_one/models/shared/question_type.rb
stackone_client-0.2.31 lib/stack_one/models/shared/question_type.rb
stackone_client-0.2.30 lib/stack_one/models/shared/question_type.rb
stackone_client-0.2.29 lib/stack_one/models/shared/question_type.rb
stackone_client-0.2.28 lib/stack_one/models/shared/question_type.rb
stackone_client-0.2.27 lib/stack_one/models/shared/question_type.rb
stackone_client-0.2.26 lib/stack_one/models/shared/question_type.rb
stackone_client-0.2.18 lib/stack_one/models/shared/question_type.rb
stackone_client-0.2.17 lib/stack_one/models/shared/question_type.rb
stackone_client-0.2.16 lib/stack_one/models/shared/question_type.rb
stackone_client-0.2.15 lib/stack_one/models/shared/question_type.rb
stackone_client-0.2.14 lib/stack_one/models/shared/question_type.rb
stackone_client-0.2.13 lib/stack_one/models/shared/question_type.rb
stackone_client-0.2.12 lib/stack_one/models/shared/question_type.rb
stackone_client-0.2.11 lib/stack_one/models/shared/question_type.rb
stackone_client-0.2.10 lib/stack_one/models/shared/question_type.rb
stackone_client-0.2.9 lib/stack_one/models/shared/question_type.rb
stackone_client-0.2.7 lib/stack_one/models/shared/question_type.rb
stackone_client-0.2.6 lib/stack_one/models/shared/question_type.rb