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

deleteAccountKeys({String? type}) → Future<RevokedKey?>
Revokes the caller's own API key of the requested class.
deleteAccountKeysWithHttpInfo({String? type}) → Future<Response>
Revokes the caller's own API key of the requested class.
getAccountAppearance() → Future<Appearance?>
Returns the signed-in caller's own appearance preference — text size, density and accent — read from their IAM account so it is the same on every device and every Hanzo surface.
getAccountAppearanceWithHttpInfo() → Future<Response>
Returns the signed-in caller's own appearance preference — text size, density and accent — read from their IAM account so it is the same on every device and every Hanzo surface.
getAccountAvatarByOrgByUserByDigest(String org, String user, String digest) → Future<void>
Fetch a profile photo
getAccountAvatarByOrgByUserByDigestWithHttpInfo(String org, String user, String digest) → Future<Response>
Fetch a profile photo
getAccountCsrf() → Future<CsrfResp?>
IssueCSRFToken mints the anti-forgery token a browser echoes as X-CSRF-Token on every change it asks for.
getAccountCsrfWithHttpInfo() → Future<Response>
IssueCSRFToken mints the anti-forgery token a browser echoes as X-CSRF-Token on every change it asks for.
getAccountEmbed({String? app}) → Future<EmbedStatusResp?>
Reports whether one of this brand's shared embedded apps (cms, erp, help) may be framed by the caller and is actually running, so a console module can choose between the embed and the provision panel.
getAccountEmbedWithHttpInfo({String? app}) → Future<Response>
Reports whether one of this brand's shared embedded apps (cms, erp, help) may be framed by the caller and is actually running, so a console module can choose between the embed and the provision panel.
getAccountKeys() → Future<ApiKeyList?>
Returns the caller's own API keys — every type they hold, read AUTHORITATIVELY from IAM rather than from the session claim, which lags a key minted moments ago.
getAccountKeysWithHttpInfo() → Future<Response>
Returns the caller's own API keys — every type they hold, read AUTHORITATIVELY from IAM rather than from the session claim, which lags a key minted moments ago.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
postAccountAppearance(Appearance appearance) → Future<Appearance?>
Stores the caller's appearance preference on their IAM account, preserving every other field of the row.
postAccountAppearanceWithHttpInfo(Appearance appearance) → Future<Response>
Stores the caller's appearance preference on their IAM account, preserving every other field of the row.
postAccountAvatar() → Future<void>
Set your profile photo
postAccountAvatarWithHttpInfo() → Future<Response>
Set your profile photo
postAccountKeys(KeyTypeIn keyTypeIn) → Future<MintedKey?>
Creates — or rotates — the caller's API key of the requested type and returns it ONCE.
postAccountKeysWithHttpInfo(KeyTypeIn keyTypeIn) → Future<Response>
Creates — or rotates — the caller's API key of the requested type and returns it ONCE.
postAccountOrgs(OnboardReq onboardReq) → Future<OnboardResp?>
Onboard creates the caller's organization.
postAccountOrgsWithHttpInfo(OnboardReq onboardReq) → Future<Response>
Onboard creates the caller's organization.
toString() → String
A string representation of this object.
inherited

Operators

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