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
| Field | Type | Required | Description |
|---|---|---|---|
id | string | ✔️ | N/A |
scope | operations.SetUserBudgetScope | ✔️ | N/A |
scopeId | string | ✔️ | N/A |
scopeOrgId | string | ✔️ | N/A |
owner | operations.SetUserBudgetBudgetsOwner | ✔️ | N/A |
period | operations.SetUserBudgetBudgetsPeriod | ✔️ | N/A |
limit | number | ✔️ | N/A |
thresholds | operations.SetUserBudgetBudgetsThresholds[] | ✔️ | N/A |
alertWebhookUrl | string | ✔️ | N/A |
spend | operations.SetUserBudgetSpend | ✔️ | N/A |