wave

package
v0.65.95 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_wave_budget_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

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