Sha256: 8b41281c3c73b29dd923a849ef903927d525a2acaef03231c198110ca8f6399e
Contents?: true
Size: 1.46 KB
Versions: 2
Compression:
Stored size: 1.46 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 # 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) sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, error: T.nilable(Shared::Error)).void } def initialize(content_type: nil, raw_response: nil, status_code: nil, error: nil) @content_type = content_type @raw_response = raw_response @status_code = status_code @error = error 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/revokeembedaccesstoken.rb |
speakeasy_client_sdk_ruby-2.2.2 | lib/sdk/models/operations/revokeembedaccesstoken.rb |