# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true module StackOne module Shared class ParentQuestion < ::StackOne::Utils::FieldAugmented extend T::Sig field :condition_type, T.nilable(::StackOne::Shared::ConditionType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('condition_type') } } # Unique identifier field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } } # List of parent questions's option IDs field :option_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('option_ids') } } # Provider's unique identifier field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } } # Provider's list of parent questions's option IDs field :remote_option_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_option_ids') } } sig { params(condition_type: T.nilable(::StackOne::Shared::ConditionType), id: T.nilable(::String), option_ids: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), remote_option_ids: T.nilable(T::Array[::String])).void } def initialize(condition_type: nil, id: nil, option_ids: nil, remote_id: nil, remote_option_ids: nil) @condition_type = condition_type @id = id @option_ids = option_ids @remote_id = remote_id @remote_option_ids = remote_option_ids end end end end