Sha256: 17f4feb06356611e7eadaca4774c2cba7d6850659375213302c2802f264ee584

Contents?: true

Size: 1.21 KB

Versions: 1

Compression:

Stored size: 1.21 KB

Contents

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

# typed: true
# frozen_string_literal: true


module OpenApiSDK
  module Shared
  

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


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

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

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


      sig { params(diagnostics: T::Array[::OpenApiSDK::Shared::Diagnostic], oas_summary: ::OpenApiSDK::Shared::OASSummary, suggestion_type: ::OpenApiSDK::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.24 lib/open_api_sdk/models/shared/suggestrequestbody.rb