Sha256: 0a338254ead1fdace6dc79f2cebd14a02adb44d87bfca1ce286bad7a9c60720d

Contents?: true

Size: 1.57 KB

Versions: 40

Compression:

Stored size: 1.57 KB

Contents

# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.

# typed: true
# frozen_string_literal: true

require 'sorbet-runtime'
require 'faraday'
require_relative '../shared/error'
require_relative '../shared/unboundedrequest'

module SpeakeasyClientSDK
  module Operations

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

      # The ID of the request to retrieve.
      field :request_id, String, { 'path_param': { 'field_name': 'requestID', 'style': 'simple', 'explode': false } }


      sig { params(request_id: String).void }
      def initialize(request_id: nil)
        @request_id = request_id
      end
    end


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


      field :content_type, String

      field :status_code, Integer
      # Default error response
      field :error, T.nilable(Shared::Error)

      field :raw_response, T.nilable(Faraday::Response)
      # OK
      field :unbounded_request, T.nilable(Shared::UnboundedRequest)


      sig { params(content_type: String, status_code: Integer, error: T.nilable(Shared::Error), raw_response: T.nilable(Faraday::Response), unbounded_request: T.nilable(Shared::UnboundedRequest)).void }
      def initialize(content_type: nil, status_code: nil, error: nil, raw_response: nil, unbounded_request: nil)
        @content_type = content_type
        @status_code = status_code
        @error = error
        @raw_response = raw_response
        @unbounded_request = unbounded_request
      end
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
speakeasy_client_sdk_ruby-1.12.0 lib/sdk/models/operations/getrequestfromeventlog.rb
speakeasy_client_sdk_ruby-1.11.1 lib/sdk/models/operations/getrequestfromeventlog.rb
speakeasy_client_sdk_ruby-1.11.0 lib/sdk/models/operations/getrequestfromeventlog.rb
speakeasy_client_sdk_ruby-1.10.0 lib/sdk/models/operations/getrequestfromeventlog.rb
speakeasy_client_sdk_ruby-1.9.0 lib/sdk/models/operations/getrequestfromeventlog.rb
speakeasy_client_sdk_ruby-1.8.0 lib/sdk/models/operations/getrequestfromeventlog.rb
speakeasy_client_sdk_ruby-1.7.1 lib/sdk/models/operations/getrequestfromeventlog.rb
speakeasy_client_sdk_ruby-1.7.0 lib/sdk/models/operations/getrequestfromeventlog.rb
speakeasy_client_sdk_ruby-1.6.0 lib/sdk/models/operations/getrequestfromeventlog.rb
speakeasy_client_sdk_ruby-1.5.2 lib/sdk/models/operations/getrequestfromeventlog.rb
speakeasy_client_sdk_ruby-1.5.1 lib/sdk/models/operations/getrequestfromeventlog.rb
speakeasy_client_sdk_ruby-1.5.0 lib/sdk/models/operations/getrequestfromeventlog.rb
speakeasy_client_sdk_ruby-1.4.0 lib/sdk/models/operations/getrequestfromeventlog.rb
speakeasy_client_sdk_ruby-1.3.2 lib/sdk/models/operations/getrequestfromeventlog.rb
speakeasy_client_sdk_ruby-1.3.1 lib/sdk/models/operations/getrequestfromeventlog.rb
speakeasy_client_sdk_ruby-1.3.0 lib/sdk/models/operations/getrequestfromeventlog.rb
speakeasy_client_sdk_ruby-1.2.0 lib/sdk/models/operations/getrequestfromeventlog.rb
speakeasy_client_sdk_ruby-1.1.1 lib/sdk/models/operations/getrequestfromeventlog.rb
speakeasy_client_sdk_ruby-1.1.0 lib/sdk/models/operations/getrequestfromeventlog.rb
speakeasy_client_sdk_ruby-1.0.1 lib/sdk/models/operations/getrequestfromeventlog.rb