Sha256: 3700ca7d17c2baa78a06435dc2e313be9e34e39dcc18836b54ebd6c17955320e

Contents?: true

Size: 958 Bytes

Versions: 1

Compression:

Stored size: 958 Bytes

Contents

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

# typed: true
# frozen_string_literal: true


module OpenApiSDK
  module Shared
  

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


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

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


      sig { params(suggestion_type: ::OpenApiSDK::Shared::SuggestionType, diagnostics: T.nilable(T::Array[::OpenApiSDK::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.24 lib/open_api_sdk/models/shared/suggestoptsold.rb