LinkApi class
Properties
Methods
-
deleteLinkById(
String id) → Future< RevokeResp?> - Logs out one account and stops the sessions it was running.
-
deleteLinkByIdWithHttpInfo(
String id) → Future< Response> - Logs out one account and stops the sessions it was running.
-
getLink(
) → Future< LinkList?> - Lists your linked accounts and the devices they sit on.
-
getLinkById(
String id) → Future< LinkView?> - Reads one linked account.
-
getLinkByIdWithHttpInfo(
String id) → Future< Response> - Reads one linked account.
-
getLinkDevicesByMachine(
String machine) → Future< DeviceView?> - Shows one machine: its accounts, usage and live sessions.
-
getLinkDevicesByMachineWithHttpInfo(
String machine) → Future< Response> - Shows one machine: its accounts, usage and live sessions.
-
getLinkRoute(
) → Future< RoutePlan?> - Gets the failover order across your linked accounts.
-
getLinkRouteWithHttpInfo(
) → Future< Response> - Gets the failover order across your linked accounts.
-
getLinkUsage(
{String? provider, String? account, String? window, String? range}) → Future< BoardResp?> - Shows one provider account's own usage dashboard.
-
getLinkUsageAccounts(
) → Future< AccountsUsage?> - Breaks down what the gateway routed through each of your accounts.
-
getLinkUsageAccountsWithHttpInfo(
) → Future< Response> - Breaks down what the gateway routed through each of your accounts.
-
getLinkUsageSummary(
{String? range}) → Future< SummaryResp?> - Shows plan consumption and Hanzo spend side by side.
-
getLinkUsageSummaryWithHttpInfo(
{String? range}) → Future< Response> - Shows plan consumption and Hanzo spend side by side.
-
getLinkUsageWithHttpInfo(
{String? provider, String? account, String? window, String? range}) → Future< Response> - Shows one provider account's own usage dashboard.
-
getLinkWithHttpInfo(
) → Future< Response> - Lists your linked accounts and the devices they sit on.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
postLink(
EnrollReq enrollReq) → Future< LinkView?> - Registers a signed-in AI provider account on a machine.
-
postLinkDevicesByMachineRevoke(
String machine) → Future< RevokeResp?> - Logs out every account on one machine and stops its sessions.
-
postLinkDevicesByMachineRevokeWithHttpInfo(
String machine) → Future< Response> - Logs out every account on one machine and stops its sessions.
-
postLinkUsage(
IngestReq ingestReq) → Future< IngestResp?> - Reports usage samples from the device collector.
-
postLinkUsageWithHttpInfo(
IngestReq ingestReq) → Future< Response> - Reports usage samples from the device collector.
-
postLinkWithHttpInfo(
EnrollReq enrollReq) → Future< Response> - Registers a signed-in AI provider account on a machine.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited