Sha256: 0a9516bf0f2578032b0f0c2caea187e402bc9fda69a6983b6936b29be91f0678

Contents?: true

Size: 1.25 KB

Versions: 16

Compression:

Stored size: 1.25 KB

Contents

# Code generated by Speakeasy (https://speakeasyapi.dev). 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

16 entries across 16 versions & 1 rubygems

Version Path
ding_sdk-0.8.11 lib/ding_sdk/models/operations/lookup_response.rb
ding_sdk-0.8.7 lib/ding_sdk/models/operations/lookup_response.rb
ding_sdk-0.8.6 lib/ding_sdk/models/operations/lookup_response.rb
ding_sdk-0.8.5 lib/ding_sdk/models/operations/lookup_response.rb
ding_sdk-0.8.4 lib/ding_sdk/models/operations/lookup_response.rb
ding_sdk-0.8.3 lib/ding_sdk/models/operations/lookup_response.rb
ding_sdk-0.8.2 lib/ding_sdk/models/operations/lookup_response.rb
ding_sdk-0.8.1 lib/ding_sdk/models/operations/lookup_response.rb
ding_sdk-0.8.0 lib/ding_sdk/models/operations/lookup_response.rb
ding_sdk-0.7.5 lib/ding_sdk/models/operations/lookup_response.rb
ding_sdk-0.7.4 lib/ding_sdk/models/operations/lookup_response.rb
ding_sdk-0.7.3 lib/ding_sdk/models/operations/lookup_response.rb
ding_sdk-0.7.2 lib/ding_sdk/models/operations/lookup_response.rb
ding_sdk-0.7.1 lib/ding_sdk/models/operations/lookup_response.rb
ding_sdk-0.7.0 lib/ding_sdk/models/operations/lookup_response.rb
ding_sdk-0.6.0 lib/ding_sdk/models/operations/lookup_response.rb