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.4 lib/stack_one/models/shared/question_type.rb
stackone_client-0.2.3 lib/stack_one/models/shared/question_type.rb
stackone_client-0.2.2 lib/stack_one/models/shared/question_type.rb