AccountApi class

Constructors

AccountApi([ApiClient? apiClient])

Properties

apiClient → ApiClient
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

changePassword(ChangePasswordRequest changePasswordRequest) → Future<void>
Change or set the account password.
changePasswordWithHttpInfo(ChangePasswordRequest changePasswordRequest) → Future<Response>
Change or set the account password.
consumeAgentTask() → Future<ConsumeAgentTaskResponse?>
Atomic check + increment on the agent-task counter (one slot per turn).
consumeAgentTaskWithHttpInfo() → Future<Response>
Atomic check + increment on the agent-task counter (one slot per turn).
getAccountPlan() → Future<AccountPlan?>
The caller's subscription tier and status.
getAccountPlanWithHttpInfo() → Future<Response>
The caller's subscription tier and status.
getAccountTier() → Future<AccountTierDetails?>
Capability + quota envelope for the caller's tier.
getAccountTierWithHttpInfo() → Future<Response>
Capability + quota envelope for the caller's tier.
getAccountUsage() → Future<AccountUsage?>
Today's usage counters across notes, sheets, slides, files, tasks, mail, API.
getAccountUsageWithHttpInfo() → Future<Response>
Today's usage counters across notes, sheets, slides, files, tasks, mail, API.
getAgentTaskUsage() → Future<AgentTaskUsage?>
Free-trial agent-task counter snapshot. Read-only; does NOT consume a slot. Use POST /v1/account/usage/consume-agent-task atomically per turn to gate a tool-using turn.
getAgentTaskUsageWithHttpInfo() → Future<Response>
Free-trial agent-task counter snapshot. Read-only; does NOT consume a slot. Use POST /v1/account/usage/consume-agent-task atomically per turn to gate a tool-using turn.
getSignInMethods() → Future<SignInMethods?>
List the linked sign-in methods (password + OAuth providers).
getSignInMethodsWithHttpInfo() → Future<Response>
List the linked sign-in methods (password + OAuth providers).
listConnectedApps() → Future<ConnectedAppsListResponse?>
List the OAuth clients the calling user has granted access to.
listConnectedAppsWithHttpInfo() → Future<Response>
List the OAuth clients the calling user has granted access to.
listSessions() → Future<SessionListResponse?>
List active sessions for the caller.
listSessionsWithHttpInfo() → Future<Response>
List active sessions for the caller.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
revokeConnectedApp(String clientId) → Future<void>
Revoke a connected app and all of its active tokens.
revokeConnectedAppWithHttpInfo(String clientId) → Future<Response>
Revoke a connected app and all of its active tokens.
revokeOtherSessions() → Future<RevokeOtherSessionsResponse?>
Revoke every session except the caller's current one.
revokeOtherSessionsWithHttpInfo() → Future<Response>
Revoke every session except the caller's current one.
revokeSession(String id) → Future<void>
Revoke a specific session.
revokeSessionWithHttpInfo(String id) → Future<Response>
Revoke a specific session.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited