Sha256: 3b4ca85e4765b377925bab22296c47b0a8b56ef1078877c9d0bf53e02a1e5507

Contents?: true

Size: 1.36 KB

Versions: 5

Compression:

Stored size: 1.36 KB

Contents

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

# typed: true
# frozen_string_literal: true

require 'sorbet-runtime'
require 'faraday'
require_relative '../shared/createcheckresponse'
require_relative '../shared/errorresponse'

module DingSDK
  module Operations

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


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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ding_sdk-0.5.1 lib/ding/models/operations/check.rb
ding_sdk-0.5.0 lib/ding/models/operations/check.rb
ding_sdk-0.4.3 lib/ding/models/operations/check.rb
ding_sdk-0.4.2 lib/ding/models/operations/check.rb
ding_sdk-0.4.1 lib/ding/models/operations/check.rb