Sha256: e477442c30f2050e5f0a9a88d7da7eb5f36ebab3e369b57bd7f6d8b312e0c8d1

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 Operations
  

    class FindApiEndpointResponse < ::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
      # OK
      field :api_endpoint, T.nilable(::OpenApiSDK::Shared::ApiEndpoint)
      # Default error response
      field :error, T.nilable(::OpenApiSDK::Shared::Error)


      sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, api_endpoint: T.nilable(::OpenApiSDK::Shared::ApiEndpoint), error: T.nilable(::OpenApiSDK::Shared::Error)).void }
      def initialize(content_type: nil, raw_response: nil, status_code: nil, api_endpoint: nil, error: nil)
        @content_type = content_type
        @raw_response = raw_response
        @status_code = status_code
        @api_endpoint = api_endpoint
        @error = error
      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/operations/findapiendpoint_response.rb