Sha256: a1c09b04c824c9c7f3ea9c851eb53615b78ba02bbc0c5e3a983c941ba395e511

Contents?: true

Size: 1.8 KB

Versions: 40

Compression:

Stored size: 1.8 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'

module SpeakeasyClientSDK
  module Operations

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

      # The ID of the ApiEndpoint to delete.
      field :api_endpoint_id, String, { 'path_param': { 'field_name': 'apiEndpointID', 'style': 'simple', 'explode': false } }
      # The ID of the Api the ApiEndpoint belongs to.
      field :api_id, String, { 'path_param': { 'field_name': 'apiID', 'style': 'simple', 'explode': false } }
      # The version ID of the Api the ApiEndpoint belongs to.
      field :version_id, String, { 'path_param': { 'field_name': 'versionID', 'style': 'simple', 'explode': false } }


      sig { params(api_endpoint_id: String, api_id: String, version_id: String).void }
      def initialize(api_endpoint_id: nil, api_id: nil, version_id: nil)
        @api_endpoint_id = api_endpoint_id
        @api_id = api_id
        @version_id = version_id
      end
    end


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


      field :content_type, String

      field :status_code, Integer
      # Default error response
      field :error, T.nilable(Shared::Error)

      field :raw_response, T.nilable(Faraday::Response)


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

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
speakeasy_client_sdk_ruby-1.12.0 lib/sdk/models/operations/deleteapiendpoint.rb
speakeasy_client_sdk_ruby-1.11.1 lib/sdk/models/operations/deleteapiendpoint.rb
speakeasy_client_sdk_ruby-1.11.0 lib/sdk/models/operations/deleteapiendpoint.rb
speakeasy_client_sdk_ruby-1.10.0 lib/sdk/models/operations/deleteapiendpoint.rb
speakeasy_client_sdk_ruby-1.9.0 lib/sdk/models/operations/deleteapiendpoint.rb
speakeasy_client_sdk_ruby-1.8.0 lib/sdk/models/operations/deleteapiendpoint.rb
speakeasy_client_sdk_ruby-1.7.1 lib/sdk/models/operations/deleteapiendpoint.rb
speakeasy_client_sdk_ruby-1.7.0 lib/sdk/models/operations/deleteapiendpoint.rb
speakeasy_client_sdk_ruby-1.6.0 lib/sdk/models/operations/deleteapiendpoint.rb
speakeasy_client_sdk_ruby-1.5.2 lib/sdk/models/operations/deleteapiendpoint.rb
speakeasy_client_sdk_ruby-1.5.1 lib/sdk/models/operations/deleteapiendpoint.rb
speakeasy_client_sdk_ruby-1.5.0 lib/sdk/models/operations/deleteapiendpoint.rb
speakeasy_client_sdk_ruby-1.4.0 lib/sdk/models/operations/deleteapiendpoint.rb
speakeasy_client_sdk_ruby-1.3.2 lib/sdk/models/operations/deleteapiendpoint.rb
speakeasy_client_sdk_ruby-1.3.1 lib/sdk/models/operations/deleteapiendpoint.rb
speakeasy_client_sdk_ruby-1.3.0 lib/sdk/models/operations/deleteapiendpoint.rb
speakeasy_client_sdk_ruby-1.2.0 lib/sdk/models/operations/deleteapiendpoint.rb
speakeasy_client_sdk_ruby-1.1.1 lib/sdk/models/operations/deleteapiendpoint.rb
speakeasy_client_sdk_ruby-1.1.0 lib/sdk/models/operations/deleteapiendpoint.rb
speakeasy_client_sdk_ruby-1.0.1 lib/sdk/models/operations/deleteapiendpoint.rb