Sha256: c51eece8561fe56b9b126f4ba65b8916a4f2fe3dcc43d846b9df00f489c7858f

Contents?: true

Size: 758 Bytes

Versions: 1

Compression:

Stored size: 758 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': OpenApiSDK::Utils.field_name('answers') } }
      # Unique identifier of the questionnaire
      field :id, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::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.1 lib/stackone/models/shared/questionnaire.rb