Sha256: d376aeba168ebb0b855d90284b95db932fcece46bc821706b01c2a1b12499725

Contents?: true

Size: 988 Bytes

Versions: 10

Compression:

Stored size: 988 Bytes

Contents

# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  

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

      # Unique identifier
      field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
      # Type of the answer
      field :type, T.nilable(::StackOne::Shared::CreateAnswerType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
      # Values of the answer
      field :values, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('values') } }


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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
stackone_client-0.3.2 lib/stack_one/models/shared/createanswer.rb
stackone_client-0.3.1 lib/stack_one/models/shared/createanswer.rb
stackone_client-0.3.0 lib/stack_one/models/shared/createanswer.rb
stackone_client-0.2.46 lib/stack_one/models/shared/createanswer.rb
stackone_client-0.2.45 lib/stack_one/models/shared/createanswer.rb
stackone_client-0.2.44 lib/stack_one/models/shared/createanswer.rb
stackone_client-0.2.43 lib/stack_one/models/shared/createanswer.rb
stackone_client-0.2.42 lib/stack_one/models/shared/createanswer.rb
stackone_client-0.2.41 lib/stack_one/models/shared/createanswer.rb
stackone_client-0.2.40 lib/stack_one/models/shared/createanswer.rb