Sha256: 9a716b6bd2723a46d3ed28b3703bf7d295a57c572981d11dae7c75a3606cb08c

Contents?: true

Size: 1.01 KB

Versions: 1

Compression:

Stored size: 1.01 KB

Contents

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

# typed: true
# frozen_string_literal: true


module SpeakeasyClientSDK
  module Shared
  

    class SuggestOptsOld < ::SpeakeasyClientSDK::Utils::FieldAugmented
      extend T::Sig


      field :suggestion_type, ::SpeakeasyClientSDK::Shared::SuggestionType, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('suggestion_type'), 'decoder': Utils.enum_from_string(::SpeakeasyClientSDK::Shared::SuggestionType, false) } }

      field :diagnostics, T.nilable(T::Array[::SpeakeasyClientSDK::Shared::Diagnostic]), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('diagnostics') } }


      sig { params(suggestion_type: ::SpeakeasyClientSDK::Shared::SuggestionType, diagnostics: T.nilable(T::Array[::SpeakeasyClientSDK::Shared::Diagnostic])).void }
      def initialize(suggestion_type: nil, diagnostics: nil)
        @suggestion_type = suggestion_type
        @diagnostics = diagnostics
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
speakeasy_client_sdk_ruby-4.2.22 lib/speakeasy_client_sdk/models/shared/suggestoptsold.rb