Sha256: 419bd6bca981dfa3ff0c67339e3bfe6c2bf55fe43c297b77f40aa4667f0546ac

Contents?: true

Size: 1.27 KB

Versions: 1

Compression:

Stored size: 1.27 KB

Contents

# 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') } }


      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)).void }
      def initialize(condition_type: nil, id: nil, option_ids: nil, remote_id: nil)
        @condition_type = condition_type
        @id = id
        @option_ids = option_ids
        @remote_id = remote_id
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stackone_client-0.4.0 lib/stack_one/models/shared/parent_question.rb