Skip to content

SetUserBudgetResponseBody ​

OK

Example Usage ​

typescript
import { SetUserBudgetResponseBody } from "@meetkai/mka1/models/operations";

let value: SetUserBudgetResponseBody = {
  id: "<id>",
  scope: "user_default",
  scopeId: "<id>",
  scopeOrgId: null,
  owner: "org",
  period: "monthly",
  limit: 2388.17,
  thresholds: [],
  alertWebhookUrl: "https://foolhardy-surface.com/",
  spend: {
    window: "<value>",
    costSpent: 875.89,
    limit: 5653.07,
    pct: 41812,
    status: "ok",
  },
};

Fields ​

FieldTypeRequiredDescription
idstring✔️N/A
scopeoperations.SetUserBudgetScope✔️N/A
scopeIdstring✔️N/A
scopeOrgIdstring✔️N/A
owneroperations.SetUserBudgetBudgetsOwner✔️N/A
periodoperations.SetUserBudgetBudgetsPeriod✔️N/A
limitnumber✔️N/A
thresholdsoperations.SetUserBudgetBudgetsThresholds[]✔️N/A
alertWebhookUrlstring✔️N/A
spendoperations.SetUserBudgetSpend✔️N/A