Sha256: 8f7ce0d3ae69b0770185a9e64a444263370c9e48726fdf17a2ef9f4ba7c01eec

Contents?: true

Size: 1.38 KB

Versions: 2

Compression:

Stored size: 1.38 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
      # 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)
      # Raw HTTP response; suitable for custom response parsing
      field :raw_response, T.nilable(Faraday::Response)


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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ding_sdk-0.4.0 lib/ding/models/operations/check.rb
ding_sdk-0.3.0 lib/ding/models/operations/check.rb