Sha256: 20614910298be30684a147bb29b6982b3a40025bbd154b6b39119c866ac86871

Contents?: true

Size: 760 Bytes

Versions: 1

Compression:

Stored size: 760 Bytes

Contents

# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.

# typed: true
# frozen_string_literal: true

require 'sorbet-runtime'
require 'faraday'

module StackOne
  module Shared

    class Questionnaire < ::StackOne::Utils::FieldAugmented
      extend T::Sig


      field :answers, T::Array[Shared::Answer], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('answers') } }
      # Unique identifier of the questionnaire
      field :id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }


      sig { params(answers: T::Array[Shared::Answer], id: T.nilable(String)).void }
      def initialize(answers: nil, id: nil)
        @answers = answers
        @id = id
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stackone_client-0.0.2 lib/stackone/models/shared/questionnaire.rb