Documentation ¶
Index ¶
- Variables
- type Application
- func (Application) Descriptor() protoreflect.EnumDescriptor
- func (x Application) Enum() *Application
- func (Application) EnumDescriptor() ([]byte, []int)deprecated
- func (x Application) Number() protoreflect.EnumNumber
- func (x Application) String() string
- func (Application) Type() protoreflect.EnumType
- type Card
- type Tcn
- func (*Tcn) Descriptor() ([]byte, []int)deprecated
- func (x *Tcn) GetApp() Application
- func (x *Tcn) GetCard() Card
- func (x *Tcn) GetFeatures() []string
- func (x *Tcn) GetWip() bool
- func (*Tcn) ProtoMessage()
- func (x *Tcn) ProtoReflect() protoreflect.Message
- func (x *Tcn) Reset()
- func (x *Tcn) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Application_name = map[int32]string{ 0: "APPLICATION_UNSPECIFIED", 1: "APPLICATION_AGENT", 2: "APPLICATION_BUSINESS_INTELLIGENCE", 3: "APPLICATION_DELIVERY_SERVICE", 4: "APPLICATION_DEV_TOOLS", 5: "APPLICATION_INTEGRATIONS", 6: "APPLICATION_LIST_MANAGEMENT_SERVICES", 7: "APPLICATION_NATURAL_LANGUAGE_COMPLIANCE", 8: "APPLICATION_OMNI_BOSS", 9: "APPLICATION_ORGANIZATION", 10: "APPLICATION_ROOM_303", 11: "APPLICATION_SCORECARDS", 12: "APPLICATION_SCRIPTS", 13: "APPLICATION_TICKETS", 14: "APPLICATION_VOICE_ANALYTICS", 15: "APPLICATION_WORK_FORCE_MANAGEMENT", 16: "APPLICATION_WORKFLOWS", 17: "APPLICATION_NEWSROOM", 18: "APPLICATION_CONTACTMANAGER", } Application_value = map[string]int32{ "APPLICATION_UNSPECIFIED": 0, "APPLICATION_AGENT": 1, "APPLICATION_BUSINESS_INTELLIGENCE": 2, "APPLICATION_DELIVERY_SERVICE": 3, "APPLICATION_DEV_TOOLS": 4, "APPLICATION_INTEGRATIONS": 5, "APPLICATION_LIST_MANAGEMENT_SERVICES": 6, "APPLICATION_NATURAL_LANGUAGE_COMPLIANCE": 7, "APPLICATION_OMNI_BOSS": 8, "APPLICATION_ORGANIZATION": 9, "APPLICATION_ROOM_303": 10, "APPLICATION_SCORECARDS": 11, "APPLICATION_SCRIPTS": 12, "APPLICATION_TICKETS": 13, "APPLICATION_VOICE_ANALYTICS": 14, "APPLICATION_WORK_FORCE_MANAGEMENT": 15, "APPLICATION_WORKFLOWS": 16, "APPLICATION_NEWSROOM": 17, "APPLICATION_CONTACTMANAGER": 18, } )
Enum value maps for Application.
View Source
var ( Card_name = map[int32]string{ 0: "CARD_UNSPECIFIED", 1: "CARD_ORGANIZATION", 2: "CARD_USERS", 3: "CARD_AGENTS", 4: "CARD_PERMISSION_GROUPS", 5: "CARD_LABELS", 6: "CARD_TRUSTS", 7: "CARD_HUNT_GROUPS", 8: "CARD_SOUNDBOARD", 9: "CARD_SUBSCRIPTIONS", 10: "CARD_PBX_MANAGER", } Card_value = map[string]int32{ "CARD_UNSPECIFIED": 0, "CARD_ORGANIZATION": 1, "CARD_USERS": 2, "CARD_AGENTS": 3, "CARD_PERMISSION_GROUPS": 4, "CARD_LABELS": 5, "CARD_TRUSTS": 6, "CARD_HUNT_GROUPS": 7, "CARD_SOUNDBOARD": 8, "CARD_SUBSCRIPTIONS": 9, "CARD_PBX_MANAGER": 10, } )
Enum value maps for Card.
View Source
var ( // Options contain the permission annotation properties. // // optional annotations.perms.Tcn options = 50001; E_Options = &file_annotations_perms_tcn_proto_extTypes[0] )
Extension fields to descriptorpb.EnumValueOptions.
View Source
var File_annotations_perms_license_proto protoreflect.FileDescriptor
View Source
var File_annotations_perms_tcn_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application int32
Application contains license/permission application name constants.
const ( Application_APPLICATION_UNSPECIFIED Application = 0 Application_APPLICATION_AGENT Application = 1 Application_APPLICATION_BUSINESS_INTELLIGENCE Application = 2 Application_APPLICATION_DELIVERY_SERVICE Application = 3 Application_APPLICATION_DEV_TOOLS Application = 4 Application_APPLICATION_INTEGRATIONS Application = 5 Application_APPLICATION_LIST_MANAGEMENT_SERVICES Application = 6 Application_APPLICATION_NATURAL_LANGUAGE_COMPLIANCE Application = 7 Application_APPLICATION_OMNI_BOSS Application = 8 Application_APPLICATION_ORGANIZATION Application = 9 Application_APPLICATION_ROOM_303 Application = 10 Application_APPLICATION_SCORECARDS Application = 11 Application_APPLICATION_SCRIPTS Application = 12 Application_APPLICATION_TICKETS Application = 13 Application_APPLICATION_VOICE_ANALYTICS Application = 14 Application_APPLICATION_WORK_FORCE_MANAGEMENT Application = 15 Application_APPLICATION_WORKFLOWS Application = 16 Application_APPLICATION_NEWSROOM Application = 17 Application_APPLICATION_CONTACTMANAGER Application = 18 )
func (Application) Descriptor ¶
func (Application) Descriptor() protoreflect.EnumDescriptor
func (Application) Enum ¶
func (x Application) Enum() *Application
func (Application) EnumDescriptor
deprecated
func (Application) EnumDescriptor() ([]byte, []int)
Deprecated: Use Application.Descriptor instead.
func (Application) Number ¶
func (x Application) Number() protoreflect.EnumNumber
func (Application) String ¶
func (x Application) String() string
func (Application) Type ¶
func (Application) Type() protoreflect.EnumType
type Card ¶
type Card int32
Card contains license/permission card label constants.
const ( Card_CARD_UNSPECIFIED Card = 0 // Organization cards. Card_CARD_ORGANIZATION Card = 1 Card_CARD_USERS Card = 2 Card_CARD_AGENTS Card = 3 Card_CARD_PERMISSION_GROUPS Card = 4 Card_CARD_LABELS Card = 5 Card_CARD_TRUSTS Card = 6 Card_CARD_HUNT_GROUPS Card = 7 Card_CARD_SOUNDBOARD Card = 8 Card_CARD_SUBSCRIPTIONS Card = 9 Card_CARD_PBX_MANAGER Card = 10 )
func (Card) Descriptor ¶
func (Card) Descriptor() protoreflect.EnumDescriptor
func (Card) EnumDescriptor
deprecated
func (Card) Number ¶
func (x Card) Number() protoreflect.EnumNumber
func (Card) Type ¶
func (Card) Type() protoreflect.EnumType
type Tcn ¶
type Tcn struct { // Work-in-progress tag. Used to delineate permissions that are not // yet ready to go live. Previously known as "A la carte" permissions // in the legacy customer support licensing tool. Wip *bool `protobuf:"varint,1,opt,name=wip" json:"wip,omitempty"` // Application which the permission will be grouped under. App *Application `protobuf:"varint,2,opt,name=app,enum=annotations.perms.Application" json:"app,omitempty"` // The card/sub-app section which it's assigned to. // If no card is provided, it will go under the application's default // card (under the same name as the app). Card *Card `protobuf:"varint,3,opt,name=card,enum=annotations.perms.Card" json:"card,omitempty"` // The list of features or effects the permission grants. Features []string `protobuf:"bytes,4,rep,name=features" json:"features,omitempty"` // contains filtered or unexported fields }
Tcn defines the enum value annotations which will be used for permissions.
func (*Tcn) Descriptor
deprecated
func (*Tcn) GetApp ¶
func (x *Tcn) GetApp() Application
func (*Tcn) GetFeatures ¶
func (*Tcn) ProtoMessage ¶
func (*Tcn) ProtoMessage()
func (*Tcn) ProtoReflect ¶
func (x *Tcn) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.