Sha256: a6b1d949c1ab6e0f1c736aac1df1300aaa5d728e4b9413259830cebc4666f503

Contents?: true

Size: 1.59 KB

Versions: 1

Compression:

Stored size: 1.59 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') } }
      # 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

Version data entries

1 entries across 1 versions & 1 rubygems

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