Sha256: b9707d4e2c1c5c3fbec5175d6a61172f844ea9131078912456d99f3b084faed3

Contents?: true

Size: 1.54 KB

Versions: 2

Compression:

Stored size: 1.54 KB

Contents

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

# typed: true
# frozen_string_literal: true


module OpenApiSDK
  module Operations
  

    class RequestResponse < ::OpenApiSDK::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

      field :two_hundred_application_json_object, T.nilable(::OpenApiSDK::Operations::RequestResponseBody)

      field :two_hundred_and_one_application_json_object, T.nilable(::OpenApiSDK::Operations::RequestPassthroughResponseBody)


      sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, two_hundred_application_json_object: T.nilable(::OpenApiSDK::Operations::RequestResponseBody), two_hundred_and_one_application_json_object: T.nilable(::OpenApiSDK::Operations::RequestPassthroughResponseBody)).void }
      def initialize(content_type: nil, raw_response: nil, status_code: nil, two_hundred_application_json_object: nil, two_hundred_and_one_application_json_object: nil)
        @content_type = content_type
        @raw_response = raw_response
        @status_code = status_code
        @two_hundred_application_json_object = two_hundred_application_json_object
        @two_hundred_and_one_application_json_object = two_hundred_and_one_application_json_object
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
panora-0.2.5 lib/open_api_sdk/models/operations/request_response.rb
panora-0.2.4 lib/open_api_sdk/models/operations/request_response.rb