Documentation ¶
Index ¶
- Variables
- type Event
- type Tariff
- func (*Tariff) Descriptor() ([]byte, []int)deprecated
- func (x *Tariff) GetFieldMask() *fieldmaskpb.FieldMask
- func (x *Tariff) GetId() string
- func (x *Tariff) GetName() string
- func (x *Tariff) GetPayload() string
- func (*Tariff) ProtoMessage()
- func (x *Tariff) ProtoReflect() protoreflect.Message
- func (x *Tariff) Reset()
- func (x *Tariff) String() string
- type Tariffs
- func (*Tariffs) Descriptor() ([]byte, []int)deprecated
- func (x *Tariffs) GetList() []*Tariff
- func (t *Tariffs) Len() int
- func (t *Tariffs) Less(i, j int) bool
- func (*Tariffs) ProtoMessage()
- func (x *Tariffs) ProtoReflect() protoreflect.Message
- func (x *Tariffs) Reset()
- func (x *Tariffs) String() string
- func (t *Tariffs) Swap(i, j int)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Event_name = map[int32]string{ 0: "EVENT_UNSPECIFIED", 1: "EVENT_TARIFF_NEW", 2: "EVENT_TARIFF_UPDATE", 3: "EVENT_TARIFF_CLOSE", } Event_value = map[string]int32{ "EVENT_UNSPECIFIED": 0, "EVENT_TARIFF_NEW": 1, "EVENT_TARIFF_UPDATE": 2, "EVENT_TARIFF_CLOSE": 3, } )
Enum value maps for Event.
View Source
var File_domain_billing_tariff_v1_tariff_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event int32
Tariff events
func (Event) Descriptor ¶
func (Event) Descriptor() protoreflect.EnumDescriptor
func (Event) EnumDescriptor
deprecated
func (Event) Number ¶
func (x Event) Number() protoreflect.EnumNumber
func (Event) Type ¶
func (Event) Type() protoreflect.EnumType
type Tariff ¶
type Tariff struct { // FieldMask FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` // ID of tariff Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Name of tariff Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Description of tariff Payload string `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
Tariff
func (*Tariff) Descriptor
deprecated
func (*Tariff) GetFieldMask ¶
func (x *Tariff) GetFieldMask() *fieldmaskpb.FieldMask
func (*Tariff) GetPayload ¶
func (*Tariff) ProtoMessage ¶
func (*Tariff) ProtoMessage()
func (*Tariff) ProtoReflect ¶
func (x *Tariff) ProtoReflect() protoreflect.Message
type Tariffs ¶
type Tariffs struct { // List of tariffs List []*Tariff `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
Tariff list
func (*Tariffs) Descriptor
deprecated
func (*Tariffs) ProtoMessage ¶
func (*Tariffs) ProtoMessage()
func (*Tariffs) ProtoReflect ¶
func (x *Tariffs) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.