Sha256: 8049e6d0db73c4b1a054e5c41394539f541116f1cc1a26dd851926fbc0e360be

Contents?: true

Size: 1.17 KB

Versions: 18

Compression:

Stored size: 1.17 KB

Contents

# Code generated by Speakeasy (https://speakeasyapi.dev). 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

18 entries across 18 versions & 1 rubygems

Version Path
stackone_client-0.2.33 lib/stack_one/models/shared/answer.rb
stackone_client-0.2.32 lib/stack_one/models/shared/answer.rb
stackone_client-0.2.31 lib/stack_one/models/shared/answer.rb
stackone_client-0.2.30 lib/stack_one/models/shared/answer.rb
stackone_client-0.2.29 lib/stack_one/models/shared/answer.rb
stackone_client-0.2.28 lib/stack_one/models/shared/answer.rb
stackone_client-0.2.27 lib/stack_one/models/shared/answer.rb
stackone_client-0.2.26 lib/stack_one/models/shared/answer.rb
stackone_client-0.2.18 lib/stack_one/models/shared/answer.rb
stackone_client-0.2.17 lib/stack_one/models/shared/answer.rb
stackone_client-0.2.16 lib/stack_one/models/shared/answer.rb
stackone_client-0.2.15 lib/stack_one/models/shared/answer.rb
stackone_client-0.2.14 lib/stack_one/models/shared/answer.rb
stackone_client-0.2.13 lib/stack_one/models/shared/answer.rb
stackone_client-0.2.12 lib/stack_one/models/shared/answer.rb
stackone_client-0.2.11 lib/stack_one/models/shared/answer.rb
stackone_client-0.2.10 lib/stack_one/models/shared/answer.rb
stackone_client-0.2.9 lib/stack_one/models/shared/answer.rb