v1

package
v0.0.0-...-f1b35de Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Event_name = map[int32]string{
		0: "EVENT_UNSPECIFIED",
		1: "EVENT_ACCOUNT_NEW",
		2: "EVENT_ACCOUNT_DELETE",
	}
	Event_value = map[string]int32{
		"EVENT_UNSPECIFIED":    0,
		"EVENT_ACCOUNT_NEW":    1,
		"EVENT_ACCOUNT_DELETE": 2,
	}
)

Enum value maps for Event.

View Source
var File_domain_billing_account_v1_account_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Account

type Account struct {

	// field_mask
	FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
	// account id
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// user id
	UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// tariff id
	TariffId string `protobuf:"bytes,3,opt,name=tariff_id,json=tariffId,proto3" json:"tariff_id,omitempty"`
	// contains filtered or unexported fields
}

Account is a billing account

func (*Account) Descriptor deprecated

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

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetFieldMask

func (x *Account) GetFieldMask() *fieldmaskpb.FieldMask

func (*Account) GetId

func (x *Account) GetId() string

func (*Account) GetTariffId

func (x *Account) GetTariffId() string

func (*Account) GetUserId

func (x *Account) GetUserId() string

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) ProtoReflect

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

func (*Account) Reset

func (x *Account) Reset()

func (*Account) String

func (x *Account) String() string

type Accounts

type Accounts struct {

	// accounts
	List []*Account `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

Accounts is a list of billing accounts

func (*Accounts) Descriptor deprecated

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

Deprecated: Use Accounts.ProtoReflect.Descriptor instead.

func (*Accounts) GetList

func (x *Accounts) GetList() []*Account

func (*Accounts) Len

func (a *Accounts) Len() int

func (*Accounts) Less

func (a *Accounts) Less(i, j int) bool

func (*Accounts) ProtoMessage

func (*Accounts) ProtoMessage()

func (*Accounts) ProtoReflect

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

func (*Accounts) Reset

func (x *Accounts) Reset()

func (*Accounts) String

func (x *Accounts) String() string

func (*Accounts) Swap

func (a *Accounts) Swap(i, j int)

type Event

type Event int32

Event is a billing account event

const (
	// event unspecified
	Event_EVENT_UNSPECIFIED Event = 0
	// account new
	Event_EVENT_ACCOUNT_NEW Event = 1
	// account delete
	Event_EVENT_ACCOUNT_DELETE Event = 2
)

func (Event) Descriptor

func (Event) Descriptor() protoreflect.EnumDescriptor

func (Event) Enum

func (x Event) Enum() *Event

func (Event) EnumDescriptor deprecated

func (Event) EnumDescriptor() ([]byte, []int)

Deprecated: Use Event.Descriptor instead.

func (Event) Number

func (x Event) Number() protoreflect.EnumNumber

func (Event) String

func (x Event) String() string

func (Event) Type

func (Event) Type() protoreflect.EnumType

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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