Sha256: 9764ba35c29f4c19706b2c7d659825efe5117f9d34d1c09f8d28354238dcd8af

Contents?: true

Size: 782 Bytes

Versions: 1

Compression:

Stored size: 782 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.nilable(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.nilable(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.3 lib/stackone/models/shared/questionnaire.rb