Sha256: 785d4c1cff69d07fe9d2a6fc6f952455546526c188a729d02948a42058a8a193

Contents?: true

Size: 1.17 KB

Versions: 16

Compression:

Stored size: 1.17 KB

Contents

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

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  

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

      # Unique identifier
      field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
      # Provider's unique identifier
      field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
      # Type of the answer
      field :type, T.nilable(::StackOne::Shared::Type), { '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), remote_id: T.nilable(::String), type: T.nilable(::StackOne::Shared::Type), values: T.nilable(T::Array[::String])).void }
      def initialize(id: nil, remote_id: nil, type: nil, values: nil)
        @id = id
        @remote_id = remote_id
        @type = type
        @values = values
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
stackone_client-0.3.2 lib/stack_one/models/shared/answer.rb
stackone_client-0.3.1 lib/stack_one/models/shared/answer.rb
stackone_client-0.3.0 lib/stack_one/models/shared/answer.rb
stackone_client-0.2.46 lib/stack_one/models/shared/answer.rb
stackone_client-0.2.45 lib/stack_one/models/shared/answer.rb
stackone_client-0.2.44 lib/stack_one/models/shared/answer.rb
stackone_client-0.2.43 lib/stack_one/models/shared/answer.rb
stackone_client-0.2.42 lib/stack_one/models/shared/answer.rb
stackone_client-0.2.41 lib/stack_one/models/shared/answer.rb
stackone_client-0.2.40 lib/stack_one/models/shared/answer.rb
stackone_client-0.2.39 lib/stack_one/models/shared/answer.rb
stackone_client-0.2.38 lib/stack_one/models/shared/answer.rb
stackone_client-0.2.37 lib/stack_one/models/shared/answer.rb
stackone_client-0.2.36 lib/stack_one/models/shared/answer.rb
stackone_client-0.2.35 lib/stack_one/models/shared/answer.rb
stackone_client-0.2.34 lib/stack_one/models/shared/answer.rb