Sha256: 959755d20c2dde6c26fd17c09fc152f59b3a6ba19c89d9662532b244f8f6d059

Contents?: true

Size: 1.3 KB

Versions: 1

Compression:

Stored size: 1.3 KB

Contents

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

# typed: true
# frozen_string_literal: true


module SpeakeasyClientSDK
  module Shared
  

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


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

      field :oas_summary, ::SpeakeasyClientSDK::Shared::OASSummary, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('oas_summary') } }

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


      sig { params(diagnostics: T::Array[::SpeakeasyClientSDK::Shared::Diagnostic], oas_summary: ::SpeakeasyClientSDK::Shared::OASSummary, suggestion_type: ::SpeakeasyClientSDK::Shared::SuggestRequestBodySuggestionType).void }
      def initialize(diagnostics: nil, oas_summary: nil, suggestion_type: nil)
        @diagnostics = diagnostics
        @oas_summary = oas_summary
        @suggestion_type = suggestion_type
      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/suggestrequestbody.rb