/
model_budget.go
36 lines (35 loc) · 1.86 KB
/
model_budget.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
* Harness NextGen Software Delivery Platform API Reference
*
* This is the Open Api Spec 3 for the NextGen Manager. This is under active development. Beware of the breaking change with respect to the generated code stub # Authentication <!-- ReDoc-Inject: <security-definitions> -->
*
* API version: 3.0
* Contact: contact@harness.io
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package nextgen
// The Cloud Cost Budget definition
type Budget struct {
Uuid string `json:"uuid,omitempty"`
AccountId string `json:"accountId,omitempty"`
Name string `json:"name,omitempty"`
Scope *BudgetScope `json:"scope,omitempty"`
// Whether the Budget is based on a specified amount or based on previous month's actual spend
Type_ string `json:"type,omitempty"`
BudgetAmount float64 `json:"budgetAmount,omitempty"`
Period string `json:"period,omitempty"`
GrowthRate float64 `json:"growthRate,omitempty"`
ActualCost float64 `json:"actualCost,omitempty"`
ForecastCost float64 `json:"forecastCost,omitempty"`
LastMonthCost float64 `json:"lastMonthCost,omitempty"`
AlertThresholds []AlertThreshold `json:"alertThresholds,omitempty"`
EmailAddresses []string `json:"emailAddresses,omitempty"`
UserGroupIds []string `json:"userGroupIds,omitempty"`
NotifyOnSlack bool `json:"notifyOnSlack,omitempty"`
IsNgBudget bool `json:"isNgBudget,omitempty"`
StartTime int64 `json:"startTime,omitempty"`
EndTime int64 `json:"endTime,omitempty"`
CreatedAt int64 `json:"createdAt,omitempty"`
LastUpdatedAt int64 `json:"lastUpdatedAt,omitempty"`
NgBudget bool `json:"ngBudget,omitempty"`
}