Sha256: 7c843049ebf9e5958018e7c976fe4420ae5b4455c9ac767a9b4de413db4eccb3

Contents?: true

Size: 1.23 KB

Versions: 2

Compression:

Stored size: 1.23 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/error'
require_relative '../shared/plugin'

module SpeakeasyClientSDK
  module Operations

    class UpsertPluginResponse < ::SpeakeasyClientSDK::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
      # Default error response
      field :error, T.nilable(Shared::Error)
      # OK
      field :plugin, T.nilable(Shared::Plugin)


      sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, error: T.nilable(Shared::Error), plugin: T.nilable(Shared::Plugin)).void }
      def initialize(content_type: nil, raw_response: nil, status_code: nil, error: nil, plugin: nil)
        @content_type = content_type
        @raw_response = raw_response
        @status_code = status_code
        @error = error
        @plugin = plugin
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
speakeasy_client_sdk_ruby-2.2.3 lib/sdk/models/operations/upsertplugin.rb
speakeasy_client_sdk_ruby-2.2.2 lib/sdk/models/operations/upsertplugin.rb