Sha256: 0ccd50ec7c7fc4b1a2e7f39c4fb9c016bbd48ee941789286584e411683ece802

Contents?: true

Size: 1.25 KB

Versions: 1

Compression:

Stored size: 1.25 KB

Contents

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

# typed: true
# frozen_string_literal: true


module DingSDK
  module Operations
  

    class LookupResponse < ::DingSDK::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
      # Bad Request
      field :error_response, T.nilable(::DingSDK::Shared::ErrorResponse)
      # OK
      field :lookup_response, T.nilable(::DingSDK::Shared::LookupResponse)


      sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, error_response: T.nilable(::DingSDK::Shared::ErrorResponse), lookup_response: T.nilable(::DingSDK::Shared::LookupResponse)).void }
      def initialize(content_type: nil, raw_response: nil, status_code: nil, error_response: nil, lookup_response: nil)
        @content_type = content_type
        @raw_response = raw_response
        @status_code = status_code
        @error_response = error_response
        @lookup_response = lookup_response
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ding_sdk-0.8.12 lib/ding_sdk/models/operations/lookup_response.rb