Documentation ¶
Index ¶
- Variables
- type Budget
- type BudgetAlert
- func (*BudgetAlert) Descriptor() ([]byte, []int)deprecated
- func (x *BudgetAlert) GetBudget() []*Budget
- func (x *BudgetAlert) GetId() string
- func (x *BudgetAlert) GetNotification() []*Notification
- func (*BudgetAlert) ProtoMessage()
- func (x *BudgetAlert) ProtoReflect() protoreflect.Message
- func (x *BudgetAlert) Reset()
- func (x *BudgetAlert) String() string
- type Notification
- func (*Notification) Descriptor() ([]byte, []int)deprecated
- func (x *Notification) GetDestination() string
- func (x *Notification) GetEnabled() bool
- func (x *Notification) GetId() string
- func (*Notification) ProtoMessage()
- func (x *Notification) ProtoReflect() protoreflect.Message
- func (x *Notification) Reset()
- func (x *Notification) String() string
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) GetEnabled ¶
func (*Budget) ProtoMessage ¶
func (*Budget) ProtoMessage()
func (*Budget) ProtoReflect ¶
func (x *Budget) ProtoReflect() protoreflect.Message
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
Click to show internal directories.
Click to hide internal directories.