# 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 # HTTP response content type for this operation field :content_type, String # Raw HTTP response; suitable for custom response parsing field :raw_response, Faraday::Response # HTTP response status code for this operation field :status_code, Integer # Default error response field :error, T.nilable(Shared::Error) # OK field :unbounded_request, T.nilable(Shared::UnboundedRequest) sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, error: T.nilable(Shared::Error), unbounded_request: T.nilable(Shared::UnboundedRequest)).void } def initialize(content_type: nil, raw_response: nil, status_code: nil, error: nil, unbounded_request: nil) @content_type = content_type @raw_response = raw_response @status_code = status_code @error = error @unbounded_request = unbounded_request end end end end