Sha256: 5829ce8f76549e9ff22dfbabcaa757fd41c7002c9cef42f0992214dea7ae9f4c

Contents?: true

Size: 1.14 KB

Versions: 1

Compression:

Stored size: 1.14 KB

Contents

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

# typed: true
# frozen_string_literal: true


module OpenApiSDK
  module Shared
  

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

      # Message describing the issue
      field :message, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('message') } }
      # Schema path to the issue
      field :path, T::Array[::String], { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('path') } }
      # Issue type
      field :type, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('type') } }
      # Help message for how to fix the issue
      field :help_message, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('helpMessage') } }


      sig { params(message: ::String, path: T::Array[::String], type: ::String, help_message: T.nilable(::String)).void }
      def initialize(message: nil, path: nil, type: nil, help_message: nil)
        @message = message
        @path = path
        @type = type
        @help_message = help_message
      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/diagnostic.rb