Sha256: 27c34f334eef09251ff250a45f424eaee697f2f2156717d7be671186066dc009
Contents?: true
Size: 1.6 KB
Versions: 5
Compression:
Stored size: 1.6 KB
Contents
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. # typed: true # frozen_string_literal: true module StackOne module Shared class Question < ::StackOne::Utils::FieldAugmented extend T::Sig field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } } field :multiple_choice_answers, T.nilable(T::Array[::StackOne::Shared::QuestionMultipleChoiceAnswers]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('multiple_choice_answers') } } field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } } field :required, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('required') } } field :text, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('text') } } field :type, T.nilable(::StackOne::Shared::QuestionType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } } sig { params(id: T.nilable(::String), multiple_choice_answers: T.nilable(T::Array[::StackOne::Shared::QuestionMultipleChoiceAnswers]), name: T.nilable(::String), required: T.nilable(T::Boolean), text: T.nilable(::String), type: T.nilable(::StackOne::Shared::QuestionType)).void } def initialize(id: nil, multiple_choice_answers: nil, name: nil, required: nil, text: nil, type: nil) @id = id @multiple_choice_answers = multiple_choice_answers @name = name @required = required @text = text @type = type end end end end
Version data entries
5 entries across 5 versions & 1 rubygems