# 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 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