wave

package
v0.69.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_wave_adjustment_proto protoreflect.FileDescriptor
View Source
var File_api_wave_budget_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Adjustment added in v0.68.46

type Adjustment struct {

	// Year month
	YearMonth string `protobuf:"bytes,11,opt,name=yearMonth,proto3" json:"yearMonth,omitempty"`
	// Fee type
	FeeType string `protobuf:"bytes,1,opt,name=feeType,proto3" json:"feeType,omitempty"`
	// Description
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// ProductCode
	ProductCode string `protobuf:"bytes,3,opt,name=productCode,proto3" json:"productCode,omitempty"`
	// ProductName
	ProductName string `protobuf:"bytes,4,opt,name=productName,proto3" json:"productName,omitempty"`
	// UsageAccountId
	UsageAccountId string `protobuf:"bytes,5,opt,name=usageAccountId,proto3" json:"usageAccountId,omitempty"`
	// CurrencyCode
	CurrencyCode string `protobuf:"bytes,6,opt,name=currencyCode,proto3" json:"currencyCode,omitempty"`
	// PayerAccountId
	PayerAccountId string `protobuf:"bytes,7,opt,name=payerAccountId,proto3" json:"payerAccountId,omitempty"`
	// Cost
	Cost string `protobuf:"bytes,8,opt,name=cost,proto3" json:"cost,omitempty"`
	// TimeInterval
	TimeInterval string `protobuf:"bytes,9,opt,name=timeInterval,proto3" json:"timeInterval,omitempty"`
	// UsageStartDate
	UsageStartDate string `protobuf:"bytes,10,opt,name=usageStartDate,proto3" json:"usageStartDate,omitempty"`
	// contains filtered or unexported fields
}

Adjustment resource definition.

func (*Adjustment) Descriptor deprecated added in v0.68.46

func (*Adjustment) Descriptor() ([]byte, []int)

Deprecated: Use Adjustment.ProtoReflect.Descriptor instead.

func (*Adjustment) GetCost added in v0.68.46

func (x *Adjustment) GetCost() string

func (*Adjustment) GetCurrencyCode added in v0.68.46

func (x *Adjustment) GetCurrencyCode() string

func (*Adjustment) GetDescription added in v0.68.46

func (x *Adjustment) GetDescription() string

func (*Adjustment) GetFeeType added in v0.68.46

func (x *Adjustment) GetFeeType() string

func (*Adjustment) GetPayerAccountId added in v0.68.46

func (x *Adjustment) GetPayerAccountId() string

func (*Adjustment) GetProductCode added in v0.68.46

func (x *Adjustment) GetProductCode() string

func (*Adjustment) GetProductName added in v0.68.46

func (x *Adjustment) GetProductName() string

func (*Adjustment) GetTimeInterval added in v0.68.46

func (x *Adjustment) GetTimeInterval() string

func (*Adjustment) GetUsageAccountId added in v0.68.46

func (x *Adjustment) GetUsageAccountId() string

func (*Adjustment) GetUsageStartDate added in v0.68.46

func (x *Adjustment) GetUsageStartDate() string

func (*Adjustment) GetYearMonth added in v0.68.46

func (x *Adjustment) GetYearMonth() string

func (*Adjustment) ProtoMessage added in v0.68.46

func (*Adjustment) ProtoMessage()

func (*Adjustment) ProtoReflect added in v0.68.46

func (x *Adjustment) ProtoReflect() protoreflect.Message

func (*Adjustment) Reset added in v0.68.46

func (x *Adjustment) Reset()

func (*Adjustment) String added in v0.68.46

func (x *Adjustment) String() string

type Budget

type Budget struct {

	// budget id
	// `previousDay` / `daily` / `monthly`
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// budget value
	Value float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"`
	// budget setting enable/disable
	Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

Budget resource definition.

func (*Budget) Descriptor deprecated

func (*Budget) Descriptor() ([]byte, []int)

Deprecated: Use Budget.ProtoReflect.Descriptor instead.

func (*Budget) GetEnabled

func (x *Budget) GetEnabled() bool

func (*Budget) GetId

func (x *Budget) GetId() string

func (*Budget) GetValue

func (x *Budget) GetValue() float64

func (*Budget) ProtoMessage

func (*Budget) ProtoMessage()

func (*Budget) ProtoReflect

func (x *Budget) ProtoReflect() protoreflect.Message

func (*Budget) Reset

func (x *Budget) Reset()

func (*Budget) String

func (x *Budget) String() string

type BudgetAlert

type BudgetAlert struct {

	// account id.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// notification setting.
	Notification []*Notification `protobuf:"bytes,2,rep,name=notification,proto3" json:"notification,omitempty"`
	// budget setting.
	Budget []*Budget `protobuf:"bytes,3,rep,name=budget,proto3" json:"budget,omitempty"`
	// contains filtered or unexported fields
}

Budget resource definition.

func (*BudgetAlert) Descriptor deprecated

func (*BudgetAlert) Descriptor() ([]byte, []int)

Deprecated: Use BudgetAlert.ProtoReflect.Descriptor instead.

func (*BudgetAlert) GetBudget

func (x *BudgetAlert) GetBudget() []*Budget

func (*BudgetAlert) GetId

func (x *BudgetAlert) GetId() string

func (*BudgetAlert) GetNotification

func (x *BudgetAlert) GetNotification() []*Notification

func (*BudgetAlert) ProtoMessage

func (*BudgetAlert) ProtoMessage()

func (*BudgetAlert) ProtoReflect

func (x *BudgetAlert) ProtoReflect() protoreflect.Message

func (*BudgetAlert) Reset

func (x *BudgetAlert) Reset()

func (*BudgetAlert) String

func (x *BudgetAlert) String() string

type Notification

type Notification struct {

	// notification id
	// `email` / `slack`
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// destination email address /slack webhook url
	Destination string `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"`
	// notification enable/disable
	Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

Notification resource definition.

func (*Notification) Descriptor deprecated

func (*Notification) Descriptor() ([]byte, []int)

Deprecated: Use Notification.ProtoReflect.Descriptor instead.

func (*Notification) GetDestination

func (x *Notification) GetDestination() string

func (*Notification) GetEnabled

func (x *Notification) GetEnabled() bool

func (*Notification) GetId

func (x *Notification) GetId() string

func (*Notification) ProtoMessage

func (*Notification) ProtoMessage()

func (*Notification) ProtoReflect

func (x *Notification) ProtoReflect() protoreflect.Message

func (*Notification) Reset

func (x *Notification) Reset()

func (*Notification) String

func (x *Notification) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL