Sha256: 814dc234ebbd2a45ab3625077179073fb00a9c35db0d447c23cccb3470601c86

Contents?: true

Size: 1.27 KB

Versions: 5

Compression:

Stored size: 1.27 KB

Contents

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

# typed: true
# frozen_string_literal: true


module DingSDK
  module Operations
  

    class FeedbackResponse < ::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 :feedback_response, T.nilable(::DingSDK::Shared::FeedbackResponse)


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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ding_sdk-0.8.11 lib/ding_sdk/models/operations/feedback_response.rb
ding_sdk-0.8.7 lib/ding_sdk/models/operations/feedback_response.rb
ding_sdk-0.8.6 lib/ding_sdk/models/operations/feedback_response.rb
ding_sdk-0.8.5 lib/ding_sdk/models/operations/feedback_response.rb
ding_sdk-0.8.4 lib/ding_sdk/models/operations/feedback_response.rb