Sha256: e925fdd0729ae5231a8bdcfaa852d3b3bf6b1a5e2b7b6dd0160e0c75ecb5a400

Contents?: true

Size: 1.93 KB

Versions: 10

Compression:

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

module SpeakeasyClientSDK
  module Operations

    class RunPluginRequest < SpeakeasyClientSDK::Utils::FieldAugmented
      extend T::Sig

      # The ID of the plugin to run.
      field :plugin_id, String, { 'path_param': { 'field_name': 'pluginID', 'style': 'simple', 'explode': false } }
      # The filter to apply to the query.
      field :filters, T.nilable(Shared::Filters), { 'query_param': { 'field_name': 'filters', 'serialization': 'json' } }


      sig { params(plugin_id: String, filters: T.nilable(Shared::Filters)).void }
      def initialize(plugin_id: nil, filters: nil)
        @plugin_id = plugin_id
        @filters = filters
      end
    end


    class RunPluginResponse < SpeakeasyClientSDK::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 :bounded_requests, T.nilable(T::Array[Shared::BoundedRequest])
      # Default error response
      field :error, T.nilable(Shared::Error)
      # Raw HTTP response; suitable for custom response parsing
      field :raw_response, T.nilable(Faraday::Response)


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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
speakeasy_client_sdk_ruby-1.27.1 lib/sdk/models/operations/runplugin.rb
speakeasy_client_sdk_ruby-1.27.0 lib/sdk/models/operations/runplugin.rb
speakeasy_client_sdk_ruby-1.26.4 lib/sdk/models/operations/runplugin.rb
speakeasy_client_sdk_ruby-1.26.3 lib/sdk/models/operations/runplugin.rb
speakeasy_client_sdk_ruby-1.26.2 lib/sdk/models/operations/runplugin.rb
speakeasy_client_sdk_ruby-1.26.1 lib/sdk/models/operations/runplugin.rb
speakeasy_client_sdk_ruby-1.26.0 lib/sdk/models/operations/runplugin.rb
speakeasy_client_sdk_ruby-1.25.0 lib/sdk/models/operations/runplugin.rb
speakeasy_client_sdk_ruby-1.24.1 lib/sdk/models/operations/runplugin.rb
speakeasy_client_sdk_ruby-1.24.0 lib/sdk/models/operations/runplugin.rb