Sha256: 74d1456966f822863df78aed236269c1b56f995090d483a71a6b527e0188047b

Contents?: true

Size: 1.48 KB

Versions: 13

Compression:

Stored size: 1.48 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 RevokeEmbedAccessTokenRequest < SpeakeasyClientSDK::Utils::FieldAugmented
      extend T::Sig

      # The ID of the EmbedToken to revoke.
      field :token_id, String, { 'path_param': { 'field_name': 'tokenID', 'style': 'simple', 'explode': false } }


      sig { params(token_id: String).void }
      def initialize(token_id: nil)
        @token_id = token_id
      end
    end


    class RevokeEmbedAccessTokenResponse < 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
      # 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, 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

13 entries across 13 versions & 1 rubygems

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