This commit is contained in:
Denis Makogon
2018-01-23 23:15:11 +02:00
committed by Reed Allman
parent 5fc01d6974
commit a70c038760
496 changed files with 7703 additions and 5030 deletions

View File

@@ -1357,6 +1357,9 @@ type CostTypes struct {
// A boolean value whether to include credits in the cost budget.
IncludeCredit *bool `type:"boolean"`
// A boolean value whether to include discounts in the cost budget.
IncludeDiscount *bool `type:"boolean"`
// A boolean value whether to include other subscription costs in the cost budget.
IncludeOtherSubscription *bool `type:"boolean"`
@@ -1378,6 +1381,9 @@ type CostTypes struct {
// A boolean value whether to include upfront costs in the cost budget.
IncludeUpfront *bool `type:"boolean"`
// A boolean value whether to include amortized costs in the cost budget.
UseAmortized *bool `type:"boolean"`
// A boolean value whether to use blended costs in the cost budget.
UseBlended *bool `type:"boolean"`
}
@@ -1398,6 +1404,12 @@ func (s *CostTypes) SetIncludeCredit(v bool) *CostTypes {
return s
}
// SetIncludeDiscount sets the IncludeDiscount field's value.
func (s *CostTypes) SetIncludeDiscount(v bool) *CostTypes {
s.IncludeDiscount = &v
return s
}
// SetIncludeOtherSubscription sets the IncludeOtherSubscription field's value.
func (s *CostTypes) SetIncludeOtherSubscription(v bool) *CostTypes {
s.IncludeOtherSubscription = &v
@@ -1440,6 +1452,12 @@ func (s *CostTypes) SetIncludeUpfront(v bool) *CostTypes {
return s
}
// SetUseAmortized sets the UseAmortized field's value.
func (s *CostTypes) SetUseAmortized(v bool) *CostTypes {
s.UseAmortized = &v
return s
}
// SetUseBlended sets the UseBlended field's value.
func (s *CostTypes) SetUseBlended(v bool) *CostTypes {
s.UseBlended = &v