Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterProjectApiServer(s grpc.ServiceRegistrar, srv ProjectApiServer)
- type CannedMessage
- func (*CannedMessage) Descriptor() ([]byte, []int)deprecated
- func (x *CannedMessage) GetAllowsHtml() bool
- func (x *CannedMessage) GetAttachments() []*commons.OmniAttachment
- func (x *CannedMessage) GetCannedMessageGroupId() string
- func (x *CannedMessage) GetCannedMessageId() string
- func (x *CannedMessage) GetDateCreated() *timestamppb.Timestamp
- func (x *CannedMessage) GetDescription() string
- func (x *CannedMessage) GetLastUpdated() *timestamppb.Timestamp
- func (x *CannedMessage) GetMessageBody() string
- func (x *CannedMessage) GetName() string
- func (*CannedMessage) ProtoMessage()
- func (x *CannedMessage) ProtoReflect() protoreflect.Message
- func (x *CannedMessage) Reset()
- func (x *CannedMessage) String() string
- type CannedMessageGroup
- func (*CannedMessageGroup) Descriptor() ([]byte, []int)deprecated
- func (x *CannedMessageGroup) GetCannedMessageGroupId() string
- func (x *CannedMessageGroup) GetDateCreated() *timestamppb.Timestamp
- func (x *CannedMessageGroup) GetDescription() string
- func (x *CannedMessageGroup) GetLastUpdated() *timestamppb.Timestamp
- func (x *CannedMessageGroup) GetName() string
- func (*CannedMessageGroup) ProtoMessage()
- func (x *CannedMessageGroup) ProtoReflect() protoreflect.Message
- func (x *CannedMessageGroup) Reset()
- func (x *CannedMessageGroup) String() string
- type CannedMessageWithGroup
- func (*CannedMessageWithGroup) Descriptor() ([]byte, []int)deprecated
- func (x *CannedMessageWithGroup) GetAllowsHtml() bool
- func (x *CannedMessageWithGroup) GetAttachments() []*commons.OmniAttachment
- func (x *CannedMessageWithGroup) GetCannedMessageGroupId() string
- func (x *CannedMessageWithGroup) GetCannedMessageId() string
- func (x *CannedMessageWithGroup) GetCannedMessageSid() int64
- func (x *CannedMessageWithGroup) GetDateCreated() *timestamppb.Timestamp
- func (x *CannedMessageWithGroup) GetDescription() string
- func (x *CannedMessageWithGroup) GetGroupDateCreated() *timestamppb.Timestamp
- func (x *CannedMessageWithGroup) GetGroupDescription() string
- func (x *CannedMessageWithGroup) GetGroupLastUpdated() *timestamppb.Timestamp
- func (x *CannedMessageWithGroup) GetGroupName() string
- func (x *CannedMessageWithGroup) GetLastUpdated() *timestamppb.Timestamp
- func (x *CannedMessageWithGroup) GetMessageBody() string
- func (x *CannedMessageWithGroup) GetName() string
- func (*CannedMessageWithGroup) ProtoMessage()
- func (x *CannedMessageWithGroup) ProtoReflect() protoreflect.Message
- func (x *CannedMessageWithGroup) Reset()
- func (x *CannedMessageWithGroup) String() string
- type CloseProjectByIdReq
- func (*CloseProjectByIdReq) Descriptor() ([]byte, []int)deprecated
- func (x *CloseProjectByIdReq) GetProjectSid() int64
- func (*CloseProjectByIdReq) ProtoMessage()
- func (x *CloseProjectByIdReq) ProtoReflect() protoreflect.Message
- func (x *CloseProjectByIdReq) Reset()
- func (x *CloseProjectByIdReq) String() string
- type CloseProjectByIdRes
- type CreateCannedMessageGroupReq
- func (*CreateCannedMessageGroupReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCannedMessageGroupReq) GetDescription() string
- func (x *CreateCannedMessageGroupReq) GetName() string
- func (*CreateCannedMessageGroupReq) ProtoMessage()
- func (x *CreateCannedMessageGroupReq) ProtoReflect() protoreflect.Message
- func (x *CreateCannedMessageGroupReq) Reset()
- func (x *CreateCannedMessageGroupReq) String() string
- type CreateCannedMessageReq
- func (*CreateCannedMessageReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCannedMessageReq) GetAllowsHtml() bool
- func (x *CreateCannedMessageReq) GetAttachments() []*commons.OmniAttachment
- func (x *CreateCannedMessageReq) GetCannedMessageGroupId() string
- func (x *CreateCannedMessageReq) GetDescription() string
- func (x *CreateCannedMessageReq) GetMessageBody() string
- func (x *CreateCannedMessageReq) GetName() string
- func (*CreateCannedMessageReq) ProtoMessage()
- func (x *CreateCannedMessageReq) ProtoReflect() protoreflect.Message
- func (x *CreateCannedMessageReq) Reset()
- func (x *CreateCannedMessageReq) String() string
- type CreateProjectReq
- func (*CreateProjectReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProjectReq) GetDescription() string
- func (x *CreateProjectReq) GetName() string
- func (*CreateProjectReq) ProtoMessage()
- func (x *CreateProjectReq) ProtoReflect() protoreflect.Message
- func (x *CreateProjectReq) Reset()
- func (x *CreateProjectReq) String() string
- type CreateProjectRes
- func (*CreateProjectRes) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProjectRes) GetProject() *Project
- func (x *CreateProjectRes) GetReferenceId() string
- func (*CreateProjectRes) ProtoMessage()
- func (x *CreateProjectRes) ProtoReflect() protoreflect.Message
- func (x *CreateProjectRes) Reset()
- func (x *CreateProjectRes) String() string
- type DeleteCannedMessageByIdReq
- func (*DeleteCannedMessageByIdReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCannedMessageByIdReq) GetCannedMessageId() string
- func (*DeleteCannedMessageByIdReq) ProtoMessage()
- func (x *DeleteCannedMessageByIdReq) ProtoReflect() protoreflect.Message
- func (x *DeleteCannedMessageByIdReq) Reset()
- func (x *DeleteCannedMessageByIdReq) String() string
- type DeleteCannedMessageByIdRes
- func (*DeleteCannedMessageByIdRes) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCannedMessageByIdRes) GetResult() bool
- func (*DeleteCannedMessageByIdRes) ProtoMessage()
- func (x *DeleteCannedMessageByIdRes) ProtoReflect() protoreflect.Message
- func (x *DeleteCannedMessageByIdRes) Reset()
- func (x *DeleteCannedMessageByIdRes) String() string
- type DeleteCannedMessageGroupReq
- func (*DeleteCannedMessageGroupReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCannedMessageGroupReq) GetCannedMessageGroupId() string
- func (*DeleteCannedMessageGroupReq) ProtoMessage()
- func (x *DeleteCannedMessageGroupReq) ProtoReflect() protoreflect.Message
- func (x *DeleteCannedMessageGroupReq) Reset()
- func (x *DeleteCannedMessageGroupReq) String() string
- type DeleteCannedMessageGroupRes
- type EditProjectByIdReq
- func (*EditProjectByIdReq) Descriptor() ([]byte, []int)deprecated
- func (x *EditProjectByIdReq) GetFieldMask() *fieldmaskpb.FieldMask
- func (x *EditProjectByIdReq) GetProject() *Project
- func (*EditProjectByIdReq) ProtoMessage()
- func (x *EditProjectByIdReq) ProtoReflect() protoreflect.Message
- func (x *EditProjectByIdReq) Reset()
- func (x *EditProjectByIdReq) String() string
- type EditProjectByIdRes
- func (*EditProjectByIdRes) Descriptor() ([]byte, []int)deprecated
- func (x *EditProjectByIdRes) GetProject() *Project
- func (x *EditProjectByIdRes) GetReferenceId() string
- func (*EditProjectByIdRes) ProtoMessage()
- func (x *EditProjectByIdRes) ProtoReflect() protoreflect.Message
- func (x *EditProjectByIdRes) Reset()
- func (x *EditProjectByIdRes) String() string
- type GetCannedMessageByIdReq
- func (*GetCannedMessageByIdReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetCannedMessageByIdReq) GetCannedMessageId() string
- func (*GetCannedMessageByIdReq) ProtoMessage()
- func (x *GetCannedMessageByIdReq) ProtoReflect() protoreflect.Message
- func (x *GetCannedMessageByIdReq) Reset()
- func (x *GetCannedMessageByIdReq) String() string
- type GetCannedMessageGroupByIdReq
- func (*GetCannedMessageGroupByIdReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetCannedMessageGroupByIdReq) GetCannedMessageGroupId() string
- func (*GetCannedMessageGroupByIdReq) ProtoMessage()
- func (x *GetCannedMessageGroupByIdReq) ProtoReflect() protoreflect.Message
- func (x *GetCannedMessageGroupByIdReq) Reset()
- func (x *GetCannedMessageGroupByIdReq) String() string
- type GetProjectByIdReq
- type ListCannedMessageGroupsReq
- type ListCannedMessageGroupsRes
- func (*ListCannedMessageGroupsRes) Descriptor() ([]byte, []int)deprecated
- func (x *ListCannedMessageGroupsRes) GetCannedMessageGroups() []*CannedMessageGroup
- func (*ListCannedMessageGroupsRes) ProtoMessage()
- func (x *ListCannedMessageGroupsRes) ProtoReflect() protoreflect.Message
- func (x *ListCannedMessageGroupsRes) Reset()
- func (x *ListCannedMessageGroupsRes) String() string
- type ListCannedMessagesByGroupIdReq
- func (*ListCannedMessagesByGroupIdReq) Descriptor() ([]byte, []int)deprecated
- func (x *ListCannedMessagesByGroupIdReq) GetCannedMessageGroupId() string
- func (*ListCannedMessagesByGroupIdReq) ProtoMessage()
- func (x *ListCannedMessagesByGroupIdReq) ProtoReflect() protoreflect.Message
- func (x *ListCannedMessagesByGroupIdReq) Reset()
- func (x *ListCannedMessagesByGroupIdReq) String() string
- type ListCannedMessagesByGroupIdRes
- func (*ListCannedMessagesByGroupIdRes) Descriptor() ([]byte, []int)deprecated
- func (x *ListCannedMessagesByGroupIdRes) GetCannedMessagesWithGroup() []*CannedMessageWithGroup
- func (*ListCannedMessagesByGroupIdRes) ProtoMessage()
- func (x *ListCannedMessagesByGroupIdRes) ProtoReflect() protoreflect.Message
- func (x *ListCannedMessagesByGroupIdRes) Reset()
- func (x *ListCannedMessagesByGroupIdRes) String() string
- type ListCannedMessagesReq
- type ListCannedMessagesRes
- func (*ListCannedMessagesRes) Descriptor() ([]byte, []int)deprecated
- func (x *ListCannedMessagesRes) GetCannedMessagesWithGroup() []*CannedMessageWithGroup
- func (*ListCannedMessagesRes) ProtoMessage()
- func (x *ListCannedMessagesRes) ProtoReflect() protoreflect.Message
- func (x *ListCannedMessagesRes) Reset()
- func (x *ListCannedMessagesRes) String() string
- type ListProjectsReq
- type ListProjectsRes
- type Project
- func (*Project) Descriptor() ([]byte, []int)deprecated
- func (x *Project) GetDateCreated() *timestamppb.Timestamp
- func (x *Project) GetDescription() string
- func (x *Project) GetName() string
- func (x *Project) GetProjectSid() int64
- func (x *Project) GetStatus() commons.ProjectStatus
- func (*Project) ProtoMessage()
- func (x *Project) ProtoReflect() protoreflect.Message
- func (x *Project) Reset()
- func (x *Project) String() string
- type ProjectApiClient
- type ProjectApiServer
- type UnimplementedProjectApiServer
- func (UnimplementedProjectApiServer) CloseProjectById(context.Context, *CloseProjectByIdReq) (*CloseProjectByIdRes, error)
- func (UnimplementedProjectApiServer) CreateCannedMessage(context.Context, *CreateCannedMessageReq) (*CannedMessage, error)
- func (UnimplementedProjectApiServer) CreateCannedMessageGroup(context.Context, *CreateCannedMessageGroupReq) (*CannedMessageGroup, error)
- func (UnimplementedProjectApiServer) CreateProject(context.Context, *CreateProjectReq) (*CreateProjectRes, error)
- func (UnimplementedProjectApiServer) DeleteCannedMessageById(context.Context, *DeleteCannedMessageByIdReq) (*DeleteCannedMessageByIdRes, error)
- func (UnimplementedProjectApiServer) DeleteCannedMessageGroup(context.Context, *DeleteCannedMessageGroupReq) (*DeleteCannedMessageGroupRes, error)
- func (UnimplementedProjectApiServer) EditProjectById(context.Context, *EditProjectByIdReq) (*EditProjectByIdRes, error)
- func (UnimplementedProjectApiServer) GetCannedMessageById(context.Context, *GetCannedMessageByIdReq) (*CannedMessageWithGroup, error)
- func (UnimplementedProjectApiServer) GetCannedMessageGroupById(context.Context, *GetCannedMessageGroupByIdReq) (*CannedMessageGroup, error)
- func (UnimplementedProjectApiServer) GetProjectById(context.Context, *GetProjectByIdReq) (*Project, error)
- func (UnimplementedProjectApiServer) ListCannedMessageGroups(context.Context, *ListCannedMessageGroupsReq) (*ListCannedMessageGroupsRes, error)
- func (UnimplementedProjectApiServer) ListCannedMessages(context.Context, *ListCannedMessagesReq) (*ListCannedMessagesRes, error)
- func (UnimplementedProjectApiServer) ListCannedMessagesByGroupId(context.Context, *ListCannedMessagesByGroupIdReq) (*ListCannedMessagesByGroupIdRes, error)
- func (UnimplementedProjectApiServer) ListProjects(context.Context, *ListProjectsReq) (*ListProjectsRes, error)
- func (UnimplementedProjectApiServer) UpdateCannedMessage(context.Context, *UpdateCannedMessageReq) (*CannedMessage, error)
- func (UnimplementedProjectApiServer) UpdateCannedMessageGroup(context.Context, *UpdateCannedMessageGroupReq) (*UpdateCannedMessageGroupRes, error)
- type UnsafeProjectApiServer
- type UpdateCannedMessageGroupReq
- func (*UpdateCannedMessageGroupReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCannedMessageGroupReq) GetCannedMessageGroupId() string
- func (x *UpdateCannedMessageGroupReq) GetDescription() string
- func (x *UpdateCannedMessageGroupReq) GetName() string
- func (*UpdateCannedMessageGroupReq) ProtoMessage()
- func (x *UpdateCannedMessageGroupReq) ProtoReflect() protoreflect.Message
- func (x *UpdateCannedMessageGroupReq) Reset()
- func (x *UpdateCannedMessageGroupReq) String() string
- type UpdateCannedMessageGroupRes
- type UpdateCannedMessageReq
- func (*UpdateCannedMessageReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCannedMessageReq) GetAllowsHtml() bool
- func (x *UpdateCannedMessageReq) GetAttachments() []*commons.OmniAttachment
- func (x *UpdateCannedMessageReq) GetCannedMessageGroupId() string
- func (x *UpdateCannedMessageReq) GetCannedMessageId() string
- func (x *UpdateCannedMessageReq) GetDescription() string
- func (x *UpdateCannedMessageReq) GetMessageBody() string
- func (x *UpdateCannedMessageReq) GetName() string
- func (*UpdateCannedMessageReq) ProtoMessage()
- func (x *UpdateCannedMessageReq) ProtoReflect() protoreflect.Message
- func (x *UpdateCannedMessageReq) Reset()
- func (x *UpdateCannedMessageReq) String() string
Constants ¶
const ( ProjectApi_CreateProject_FullMethodName = "/api.v1alpha1.project.ProjectApi/CreateProject" ProjectApi_ListProjects_FullMethodName = "/api.v1alpha1.project.ProjectApi/ListProjects" ProjectApi_EditProjectById_FullMethodName = "/api.v1alpha1.project.ProjectApi/EditProjectById" ProjectApi_CloseProjectById_FullMethodName = "/api.v1alpha1.project.ProjectApi/CloseProjectById" ProjectApi_GetProjectById_FullMethodName = "/api.v1alpha1.project.ProjectApi/GetProjectById" ProjectApi_CreateCannedMessage_FullMethodName = "/api.v1alpha1.project.ProjectApi/CreateCannedMessage" ProjectApi_ListCannedMessages_FullMethodName = "/api.v1alpha1.project.ProjectApi/ListCannedMessages" ProjectApi_UpdateCannedMessage_FullMethodName = "/api.v1alpha1.project.ProjectApi/UpdateCannedMessage" ProjectApi_GetCannedMessageById_FullMethodName = "/api.v1alpha1.project.ProjectApi/GetCannedMessageById" ProjectApi_DeleteCannedMessageById_FullMethodName = "/api.v1alpha1.project.ProjectApi/DeleteCannedMessageById" ProjectApi_CreateCannedMessageGroup_FullMethodName = "/api.v1alpha1.project.ProjectApi/CreateCannedMessageGroup" ProjectApi_ListCannedMessageGroups_FullMethodName = "/api.v1alpha1.project.ProjectApi/ListCannedMessageGroups" ProjectApi_UpdateCannedMessageGroup_FullMethodName = "/api.v1alpha1.project.ProjectApi/UpdateCannedMessageGroup" ProjectApi_DeleteCannedMessageGroup_FullMethodName = "/api.v1alpha1.project.ProjectApi/DeleteCannedMessageGroup" ProjectApi_ListCannedMessagesByGroupId_FullMethodName = "/api.v1alpha1.project.ProjectApi/ListCannedMessagesByGroupId" ProjectApi_GetCannedMessageGroupById_FullMethodName = "/api.v1alpha1.project.ProjectApi/GetCannedMessageGroupById" )
Variables ¶
var File_api_v1alpha1_project_service_proto protoreflect.FileDescriptor
var ProjectApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.v1alpha1.project.ProjectApi", HandlerType: (*ProjectApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateProject", Handler: _ProjectApi_CreateProject_Handler, }, { MethodName: "ListProjects", Handler: _ProjectApi_ListProjects_Handler, }, { MethodName: "EditProjectById", Handler: _ProjectApi_EditProjectById_Handler, }, { MethodName: "CloseProjectById", Handler: _ProjectApi_CloseProjectById_Handler, }, { MethodName: "GetProjectById", Handler: _ProjectApi_GetProjectById_Handler, }, { MethodName: "CreateCannedMessage", Handler: _ProjectApi_CreateCannedMessage_Handler, }, { MethodName: "ListCannedMessages", Handler: _ProjectApi_ListCannedMessages_Handler, }, { MethodName: "UpdateCannedMessage", Handler: _ProjectApi_UpdateCannedMessage_Handler, }, { MethodName: "GetCannedMessageById", Handler: _ProjectApi_GetCannedMessageById_Handler, }, { MethodName: "DeleteCannedMessageById", Handler: _ProjectApi_DeleteCannedMessageById_Handler, }, { MethodName: "CreateCannedMessageGroup", Handler: _ProjectApi_CreateCannedMessageGroup_Handler, }, { MethodName: "ListCannedMessageGroups", Handler: _ProjectApi_ListCannedMessageGroups_Handler, }, { MethodName: "UpdateCannedMessageGroup", Handler: _ProjectApi_UpdateCannedMessageGroup_Handler, }, { MethodName: "DeleteCannedMessageGroup", Handler: _ProjectApi_DeleteCannedMessageGroup_Handler, }, { MethodName: "ListCannedMessagesByGroupId", Handler: _ProjectApi_ListCannedMessagesByGroupId_Handler, }, { MethodName: "GetCannedMessageGroupById", Handler: _ProjectApi_GetCannedMessageGroupById_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v1alpha1/project/service.proto", }
ProjectApi_ServiceDesc is the grpc.ServiceDesc for ProjectApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterProjectApiServer ¶
func RegisterProjectApiServer(s grpc.ServiceRegistrar, srv ProjectApiServer)
Types ¶
type CannedMessage ¶
type CannedMessage struct { // result of generated canned_message_id CannedMessageId string `protobuf:"bytes,1,opt,name=canned_message_id,json=cannedMessageId,proto3" json:"canned_message_id,omitempty"` // / canned message name Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // description Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // message details MessageBody string `protobuf:"bytes,4,opt,name=message_body,json=messageBody,proto3" json:"message_body,omitempty"` // creation date DateCreated *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=date_created,json=dateCreated,proto3" json:"date_created,omitempty"` // last updated date LastUpdated *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"` // canned message group id CannedMessageGroupId string `protobuf:"bytes,7,opt,name=canned_message_group_id,json=cannedMessageGroupId,proto3" json:"canned_message_group_id,omitempty"` // allows html AllowsHtml bool `protobuf:"varint,8,opt,name=allows_html,json=allowsHtml,proto3" json:"allows_html,omitempty"` // attachments Attachments []*commons.OmniAttachment `protobuf:"bytes,9,rep,name=attachments,proto3" json:"attachments,omitempty"` // contains filtered or unexported fields }
canned message creation details
func (*CannedMessage) Descriptor
deprecated
func (*CannedMessage) Descriptor() ([]byte, []int)
Deprecated: Use CannedMessage.ProtoReflect.Descriptor instead.
func (*CannedMessage) GetAllowsHtml ¶
func (x *CannedMessage) GetAllowsHtml() bool
func (*CannedMessage) GetAttachments ¶
func (x *CannedMessage) GetAttachments() []*commons.OmniAttachment
func (*CannedMessage) GetCannedMessageGroupId ¶
func (x *CannedMessage) GetCannedMessageGroupId() string
func (*CannedMessage) GetCannedMessageId ¶
func (x *CannedMessage) GetCannedMessageId() string
func (*CannedMessage) GetDateCreated ¶
func (x *CannedMessage) GetDateCreated() *timestamppb.Timestamp
func (*CannedMessage) GetDescription ¶
func (x *CannedMessage) GetDescription() string
func (*CannedMessage) GetLastUpdated ¶
func (x *CannedMessage) GetLastUpdated() *timestamppb.Timestamp
func (*CannedMessage) GetMessageBody ¶
func (x *CannedMessage) GetMessageBody() string
func (*CannedMessage) GetName ¶
func (x *CannedMessage) GetName() string
func (*CannedMessage) ProtoMessage ¶
func (*CannedMessage) ProtoMessage()
func (*CannedMessage) ProtoReflect ¶
func (x *CannedMessage) ProtoReflect() protoreflect.Message
func (*CannedMessage) Reset ¶
func (x *CannedMessage) Reset()
func (*CannedMessage) String ¶
func (x *CannedMessage) String() string
type CannedMessageGroup ¶
type CannedMessageGroup struct { // result of generated canned_message_group_id CannedMessageGroupId string `protobuf:"bytes,1,opt,name=canned_message_group_id,json=cannedMessageGroupId,proto3" json:"canned_message_group_id,omitempty"` // canned message group name Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // description Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // creation date DateCreated *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=date_created,json=dateCreated,proto3" json:"date_created,omitempty"` // last updated date LastUpdated *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"` // contains filtered or unexported fields }
canned message group creation details
func (*CannedMessageGroup) Descriptor
deprecated
func (*CannedMessageGroup) Descriptor() ([]byte, []int)
Deprecated: Use CannedMessageGroup.ProtoReflect.Descriptor instead.
func (*CannedMessageGroup) GetCannedMessageGroupId ¶
func (x *CannedMessageGroup) GetCannedMessageGroupId() string
func (*CannedMessageGroup) GetDateCreated ¶
func (x *CannedMessageGroup) GetDateCreated() *timestamppb.Timestamp
func (*CannedMessageGroup) GetDescription ¶
func (x *CannedMessageGroup) GetDescription() string
func (*CannedMessageGroup) GetLastUpdated ¶
func (x *CannedMessageGroup) GetLastUpdated() *timestamppb.Timestamp
func (*CannedMessageGroup) GetName ¶
func (x *CannedMessageGroup) GetName() string
func (*CannedMessageGroup) ProtoMessage ¶
func (*CannedMessageGroup) ProtoMessage()
func (*CannedMessageGroup) ProtoReflect ¶
func (x *CannedMessageGroup) ProtoReflect() protoreflect.Message
func (*CannedMessageGroup) Reset ¶
func (x *CannedMessageGroup) Reset()
func (*CannedMessageGroup) String ¶
func (x *CannedMessageGroup) String() string
type CannedMessageWithGroup ¶
type CannedMessageWithGroup struct { // result of generated canned_message_id CannedMessageId string `protobuf:"bytes,1,opt,name=canned_message_id,json=cannedMessageId,proto3" json:"canned_message_id,omitempty"` // / canned message name Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // description Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // message details MessageBody string `protobuf:"bytes,4,opt,name=message_body,json=messageBody,proto3" json:"message_body,omitempty"` // creation date DateCreated *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=date_created,json=dateCreated,proto3" json:"date_created,omitempty"` // last updated date LastUpdated *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"` // canned message group id CannedMessageGroupId string `protobuf:"bytes,7,opt,name=canned_message_group_id,json=cannedMessageGroupId,proto3" json:"canned_message_group_id,omitempty"` // canned message group name GroupName string `protobuf:"bytes,8,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` // group description GroupDescription string `protobuf:"bytes,9,opt,name=group_description,json=groupDescription,proto3" json:"group_description,omitempty"` // group creation date GroupDateCreated *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=group_date_created,json=groupDateCreated,proto3" json:"group_date_created,omitempty"` // group last updated date GroupLastUpdated *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=group_last_updated,json=groupLastUpdated,proto3" json:"group_last_updated,omitempty"` // allows html AllowsHtml bool `protobuf:"varint,12,opt,name=allows_html,json=allowsHtml,proto3" json:"allows_html,omitempty"` // attachments Attachments []*commons.OmniAttachment `protobuf:"bytes,13,rep,name=attachments,proto3" json:"attachments,omitempty"` // generated canned message sid CannedMessageSid int64 `protobuf:"varint,14,opt,name=canned_message_sid,json=cannedMessageSid,proto3" json:"canned_message_sid,omitempty"` // contains filtered or unexported fields }
canned message with group details
func (*CannedMessageWithGroup) Descriptor
deprecated
func (*CannedMessageWithGroup) Descriptor() ([]byte, []int)
Deprecated: Use CannedMessageWithGroup.ProtoReflect.Descriptor instead.
func (*CannedMessageWithGroup) GetAllowsHtml ¶
func (x *CannedMessageWithGroup) GetAllowsHtml() bool
func (*CannedMessageWithGroup) GetAttachments ¶
func (x *CannedMessageWithGroup) GetAttachments() []*commons.OmniAttachment
func (*CannedMessageWithGroup) GetCannedMessageGroupId ¶
func (x *CannedMessageWithGroup) GetCannedMessageGroupId() string
func (*CannedMessageWithGroup) GetCannedMessageId ¶
func (x *CannedMessageWithGroup) GetCannedMessageId() string
func (*CannedMessageWithGroup) GetCannedMessageSid ¶
func (x *CannedMessageWithGroup) GetCannedMessageSid() int64
func (*CannedMessageWithGroup) GetDateCreated ¶
func (x *CannedMessageWithGroup) GetDateCreated() *timestamppb.Timestamp
func (*CannedMessageWithGroup) GetDescription ¶
func (x *CannedMessageWithGroup) GetDescription() string
func (*CannedMessageWithGroup) GetGroupDateCreated ¶
func (x *CannedMessageWithGroup) GetGroupDateCreated() *timestamppb.Timestamp
func (*CannedMessageWithGroup) GetGroupDescription ¶
func (x *CannedMessageWithGroup) GetGroupDescription() string
func (*CannedMessageWithGroup) GetGroupLastUpdated ¶
func (x *CannedMessageWithGroup) GetGroupLastUpdated() *timestamppb.Timestamp
func (*CannedMessageWithGroup) GetGroupName ¶
func (x *CannedMessageWithGroup) GetGroupName() string
func (*CannedMessageWithGroup) GetLastUpdated ¶
func (x *CannedMessageWithGroup) GetLastUpdated() *timestamppb.Timestamp
func (*CannedMessageWithGroup) GetMessageBody ¶
func (x *CannedMessageWithGroup) GetMessageBody() string
func (*CannedMessageWithGroup) GetName ¶
func (x *CannedMessageWithGroup) GetName() string
func (*CannedMessageWithGroup) ProtoMessage ¶
func (*CannedMessageWithGroup) ProtoMessage()
func (*CannedMessageWithGroup) ProtoReflect ¶
func (x *CannedMessageWithGroup) ProtoReflect() protoreflect.Message
func (*CannedMessageWithGroup) Reset ¶
func (x *CannedMessageWithGroup) Reset()
func (*CannedMessageWithGroup) String ¶
func (x *CannedMessageWithGroup) String() string
type CloseProjectByIdReq ¶
type CloseProjectByIdReq struct { // project id ProjectSid int64 `protobuf:"varint,1,opt,name=project_sid,json=projectSid,proto3" json:"project_sid,omitempty"` // contains filtered or unexported fields }
request to closing an omni project project id
func (*CloseProjectByIdReq) Descriptor
deprecated
func (*CloseProjectByIdReq) Descriptor() ([]byte, []int)
Deprecated: Use CloseProjectByIdReq.ProtoReflect.Descriptor instead.
func (*CloseProjectByIdReq) GetProjectSid ¶
func (x *CloseProjectByIdReq) GetProjectSid() int64
func (*CloseProjectByIdReq) ProtoMessage ¶
func (*CloseProjectByIdReq) ProtoMessage()
func (*CloseProjectByIdReq) ProtoReflect ¶
func (x *CloseProjectByIdReq) ProtoReflect() protoreflect.Message
func (*CloseProjectByIdReq) Reset ¶
func (x *CloseProjectByIdReq) Reset()
func (*CloseProjectByIdReq) String ¶
func (x *CloseProjectByIdReq) String() string
type CloseProjectByIdRes ¶
type CloseProjectByIdRes struct {
// contains filtered or unexported fields
}
response to closing an omni project project id
func (*CloseProjectByIdRes) Descriptor
deprecated
func (*CloseProjectByIdRes) Descriptor() ([]byte, []int)
Deprecated: Use CloseProjectByIdRes.ProtoReflect.Descriptor instead.
func (*CloseProjectByIdRes) ProtoMessage ¶
func (*CloseProjectByIdRes) ProtoMessage()
func (*CloseProjectByIdRes) ProtoReflect ¶
func (x *CloseProjectByIdRes) ProtoReflect() protoreflect.Message
func (*CloseProjectByIdRes) Reset ¶
func (x *CloseProjectByIdRes) Reset()
func (*CloseProjectByIdRes) String ¶
func (x *CloseProjectByIdRes) String() string
type CreateCannedMessageGroupReq ¶
type CreateCannedMessageGroupReq struct { // canned message name Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // description Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
request to create canned message group
func (*CreateCannedMessageGroupReq) Descriptor
deprecated
func (*CreateCannedMessageGroupReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateCannedMessageGroupReq.ProtoReflect.Descriptor instead.
func (*CreateCannedMessageGroupReq) GetDescription ¶
func (x *CreateCannedMessageGroupReq) GetDescription() string
func (*CreateCannedMessageGroupReq) GetName ¶
func (x *CreateCannedMessageGroupReq) GetName() string
func (*CreateCannedMessageGroupReq) ProtoMessage ¶
func (*CreateCannedMessageGroupReq) ProtoMessage()
func (*CreateCannedMessageGroupReq) ProtoReflect ¶
func (x *CreateCannedMessageGroupReq) ProtoReflect() protoreflect.Message
func (*CreateCannedMessageGroupReq) Reset ¶
func (x *CreateCannedMessageGroupReq) Reset()
func (*CreateCannedMessageGroupReq) String ¶
func (x *CreateCannedMessageGroupReq) String() string
type CreateCannedMessageReq ¶
type CreateCannedMessageReq struct { // canned message name Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // description Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // message details MessageBody string `protobuf:"bytes,3,opt,name=message_body,json=messageBody,proto3" json:"message_body,omitempty"` // canned message group id CannedMessageGroupId string `protobuf:"bytes,4,opt,name=canned_message_group_id,json=cannedMessageGroupId,proto3" json:"canned_message_group_id,omitempty"` // allows html AllowsHtml bool `protobuf:"varint,5,opt,name=allows_html,json=allowsHtml,proto3" json:"allows_html,omitempty"` // attachments Attachments []*commons.OmniAttachment `protobuf:"bytes,6,rep,name=attachments,proto3" json:"attachments,omitempty"` // contains filtered or unexported fields }
request to create canned message
func (*CreateCannedMessageReq) Descriptor
deprecated
func (*CreateCannedMessageReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateCannedMessageReq.ProtoReflect.Descriptor instead.
func (*CreateCannedMessageReq) GetAllowsHtml ¶
func (x *CreateCannedMessageReq) GetAllowsHtml() bool
func (*CreateCannedMessageReq) GetAttachments ¶
func (x *CreateCannedMessageReq) GetAttachments() []*commons.OmniAttachment
func (*CreateCannedMessageReq) GetCannedMessageGroupId ¶
func (x *CreateCannedMessageReq) GetCannedMessageGroupId() string
func (*CreateCannedMessageReq) GetDescription ¶
func (x *CreateCannedMessageReq) GetDescription() string
func (*CreateCannedMessageReq) GetMessageBody ¶
func (x *CreateCannedMessageReq) GetMessageBody() string
func (*CreateCannedMessageReq) GetName ¶
func (x *CreateCannedMessageReq) GetName() string
func (*CreateCannedMessageReq) ProtoMessage ¶
func (*CreateCannedMessageReq) ProtoMessage()
func (*CreateCannedMessageReq) ProtoReflect ¶
func (x *CreateCannedMessageReq) ProtoReflect() protoreflect.Message
func (*CreateCannedMessageReq) Reset ¶
func (x *CreateCannedMessageReq) Reset()
func (*CreateCannedMessageReq) String ¶
func (x *CreateCannedMessageReq) String() string
type CreateProjectReq ¶
type CreateProjectReq struct { // project name Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // project description Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
CreateProjectReq -
func (*CreateProjectReq) Descriptor
deprecated
func (*CreateProjectReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateProjectReq.ProtoReflect.Descriptor instead.
func (*CreateProjectReq) GetDescription ¶
func (x *CreateProjectReq) GetDescription() string
func (*CreateProjectReq) GetName ¶
func (x *CreateProjectReq) GetName() string
func (*CreateProjectReq) ProtoMessage ¶
func (*CreateProjectReq) ProtoMessage()
func (*CreateProjectReq) ProtoReflect ¶
func (x *CreateProjectReq) ProtoReflect() protoreflect.Message
func (*CreateProjectReq) Reset ¶
func (x *CreateProjectReq) Reset()
func (*CreateProjectReq) String ¶
func (x *CreateProjectReq) String() string
type CreateProjectRes ¶
type CreateProjectRes struct { // the created project Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // the ghost notifier id ReferenceId string `protobuf:"bytes,2,opt,name=reference_id,json=referenceId,proto3" json:"reference_id,omitempty"` // contains filtered or unexported fields }
CreateProjectRes -
func (*CreateProjectRes) Descriptor
deprecated
func (*CreateProjectRes) Descriptor() ([]byte, []int)
Deprecated: Use CreateProjectRes.ProtoReflect.Descriptor instead.
func (*CreateProjectRes) GetProject ¶
func (x *CreateProjectRes) GetProject() *Project
func (*CreateProjectRes) GetReferenceId ¶
func (x *CreateProjectRes) GetReferenceId() string
func (*CreateProjectRes) ProtoMessage ¶
func (*CreateProjectRes) ProtoMessage()
func (*CreateProjectRes) ProtoReflect ¶
func (x *CreateProjectRes) ProtoReflect() protoreflect.Message
func (*CreateProjectRes) Reset ¶
func (x *CreateProjectRes) Reset()
func (*CreateProjectRes) String ¶
func (x *CreateProjectRes) String() string
type DeleteCannedMessageByIdReq ¶
type DeleteCannedMessageByIdReq struct { // canned_message_id CannedMessageId string `protobuf:"bytes,1,opt,name=canned_message_id,json=cannedMessageId,proto3" json:"canned_message_id,omitempty"` // contains filtered or unexported fields }
request to delete canned message by id
func (*DeleteCannedMessageByIdReq) Descriptor
deprecated
func (*DeleteCannedMessageByIdReq) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCannedMessageByIdReq.ProtoReflect.Descriptor instead.
func (*DeleteCannedMessageByIdReq) GetCannedMessageId ¶
func (x *DeleteCannedMessageByIdReq) GetCannedMessageId() string
func (*DeleteCannedMessageByIdReq) ProtoMessage ¶
func (*DeleteCannedMessageByIdReq) ProtoMessage()
func (*DeleteCannedMessageByIdReq) ProtoReflect ¶
func (x *DeleteCannedMessageByIdReq) ProtoReflect() protoreflect.Message
func (*DeleteCannedMessageByIdReq) Reset ¶
func (x *DeleteCannedMessageByIdReq) Reset()
func (*DeleteCannedMessageByIdReq) String ¶
func (x *DeleteCannedMessageByIdReq) String() string
type DeleteCannedMessageByIdRes ¶
type DeleteCannedMessageByIdRes struct { Result bool `protobuf:"varint,1,opt,name=Result,proto3" json:"Result,omitempty"` // contains filtered or unexported fields }
response to delete canned message by id
func (*DeleteCannedMessageByIdRes) Descriptor
deprecated
func (*DeleteCannedMessageByIdRes) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCannedMessageByIdRes.ProtoReflect.Descriptor instead.
func (*DeleteCannedMessageByIdRes) GetResult ¶
func (x *DeleteCannedMessageByIdRes) GetResult() bool
func (*DeleteCannedMessageByIdRes) ProtoMessage ¶
func (*DeleteCannedMessageByIdRes) ProtoMessage()
func (*DeleteCannedMessageByIdRes) ProtoReflect ¶
func (x *DeleteCannedMessageByIdRes) ProtoReflect() protoreflect.Message
func (*DeleteCannedMessageByIdRes) Reset ¶
func (x *DeleteCannedMessageByIdRes) Reset()
func (*DeleteCannedMessageByIdRes) String ¶
func (x *DeleteCannedMessageByIdRes) String() string
type DeleteCannedMessageGroupReq ¶
type DeleteCannedMessageGroupReq struct { // canned_message_group_id CannedMessageGroupId string `protobuf:"bytes,1,opt,name=canned_message_group_id,json=cannedMessageGroupId,proto3" json:"canned_message_group_id,omitempty"` // contains filtered or unexported fields }
request to delete canned message group
func (*DeleteCannedMessageGroupReq) Descriptor
deprecated
func (*DeleteCannedMessageGroupReq) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCannedMessageGroupReq.ProtoReflect.Descriptor instead.
func (*DeleteCannedMessageGroupReq) GetCannedMessageGroupId ¶
func (x *DeleteCannedMessageGroupReq) GetCannedMessageGroupId() string
func (*DeleteCannedMessageGroupReq) ProtoMessage ¶
func (*DeleteCannedMessageGroupReq) ProtoMessage()
func (*DeleteCannedMessageGroupReq) ProtoReflect ¶
func (x *DeleteCannedMessageGroupReq) ProtoReflect() protoreflect.Message
func (*DeleteCannedMessageGroupReq) Reset ¶
func (x *DeleteCannedMessageGroupReq) Reset()
func (*DeleteCannedMessageGroupReq) String ¶
func (x *DeleteCannedMessageGroupReq) String() string
type DeleteCannedMessageGroupRes ¶
type DeleteCannedMessageGroupRes struct {
// contains filtered or unexported fields
}
response to delete canned message group
func (*DeleteCannedMessageGroupRes) Descriptor
deprecated
func (*DeleteCannedMessageGroupRes) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCannedMessageGroupRes.ProtoReflect.Descriptor instead.
func (*DeleteCannedMessageGroupRes) ProtoMessage ¶
func (*DeleteCannedMessageGroupRes) ProtoMessage()
func (*DeleteCannedMessageGroupRes) ProtoReflect ¶
func (x *DeleteCannedMessageGroupRes) ProtoReflect() protoreflect.Message
func (*DeleteCannedMessageGroupRes) Reset ¶
func (x *DeleteCannedMessageGroupRes) Reset()
func (*DeleteCannedMessageGroupRes) String ¶
func (x *DeleteCannedMessageGroupRes) String() string
type EditProjectByIdReq ¶
type EditProjectByIdReq struct { // project Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // field mask FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` // contains filtered or unexported fields }
request to update omni project details by project id
func (*EditProjectByIdReq) Descriptor
deprecated
func (*EditProjectByIdReq) Descriptor() ([]byte, []int)
Deprecated: Use EditProjectByIdReq.ProtoReflect.Descriptor instead.
func (*EditProjectByIdReq) GetFieldMask ¶
func (x *EditProjectByIdReq) GetFieldMask() *fieldmaskpb.FieldMask
func (*EditProjectByIdReq) GetProject ¶
func (x *EditProjectByIdReq) GetProject() *Project
func (*EditProjectByIdReq) ProtoMessage ¶
func (*EditProjectByIdReq) ProtoMessage()
func (*EditProjectByIdReq) ProtoReflect ¶
func (x *EditProjectByIdReq) ProtoReflect() protoreflect.Message
func (*EditProjectByIdReq) Reset ¶
func (x *EditProjectByIdReq) Reset()
func (*EditProjectByIdReq) String ¶
func (x *EditProjectByIdReq) String() string
type EditProjectByIdRes ¶
type EditProjectByIdRes struct { // the created project Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // the ghost notifier id ReferenceId string `protobuf:"bytes,2,opt,name=reference_id,json=referenceId,proto3" json:"reference_id,omitempty"` // contains filtered or unexported fields }
EditProjectByIdRes - result of editing a project
func (*EditProjectByIdRes) Descriptor
deprecated
func (*EditProjectByIdRes) Descriptor() ([]byte, []int)
Deprecated: Use EditProjectByIdRes.ProtoReflect.Descriptor instead.
func (*EditProjectByIdRes) GetProject ¶
func (x *EditProjectByIdRes) GetProject() *Project
func (*EditProjectByIdRes) GetReferenceId ¶
func (x *EditProjectByIdRes) GetReferenceId() string
func (*EditProjectByIdRes) ProtoMessage ¶
func (*EditProjectByIdRes) ProtoMessage()
func (*EditProjectByIdRes) ProtoReflect ¶
func (x *EditProjectByIdRes) ProtoReflect() protoreflect.Message
func (*EditProjectByIdRes) Reset ¶
func (x *EditProjectByIdRes) Reset()
func (*EditProjectByIdRes) String ¶
func (x *EditProjectByIdRes) String() string
type GetCannedMessageByIdReq ¶
type GetCannedMessageByIdReq struct { // canned_message_id CannedMessageId string `protobuf:"bytes,1,opt,name=canned_message_id,json=cannedMessageId,proto3" json:"canned_message_id,omitempty"` // contains filtered or unexported fields }
request to get canned message by id
func (*GetCannedMessageByIdReq) Descriptor
deprecated
func (*GetCannedMessageByIdReq) Descriptor() ([]byte, []int)
Deprecated: Use GetCannedMessageByIdReq.ProtoReflect.Descriptor instead.
func (*GetCannedMessageByIdReq) GetCannedMessageId ¶
func (x *GetCannedMessageByIdReq) GetCannedMessageId() string
func (*GetCannedMessageByIdReq) ProtoMessage ¶
func (*GetCannedMessageByIdReq) ProtoMessage()
func (*GetCannedMessageByIdReq) ProtoReflect ¶
func (x *GetCannedMessageByIdReq) ProtoReflect() protoreflect.Message
func (*GetCannedMessageByIdReq) Reset ¶
func (x *GetCannedMessageByIdReq) Reset()
func (*GetCannedMessageByIdReq) String ¶
func (x *GetCannedMessageByIdReq) String() string
type GetCannedMessageGroupByIdReq ¶
type GetCannedMessageGroupByIdReq struct { // canned_message_group_id CannedMessageGroupId string `protobuf:"bytes,1,opt,name=canned_message_group_id,json=cannedMessageGroupId,proto3" json:"canned_message_group_id,omitempty"` // contains filtered or unexported fields }
request to get canned message group details by id
func (*GetCannedMessageGroupByIdReq) Descriptor
deprecated
func (*GetCannedMessageGroupByIdReq) Descriptor() ([]byte, []int)
Deprecated: Use GetCannedMessageGroupByIdReq.ProtoReflect.Descriptor instead.
func (*GetCannedMessageGroupByIdReq) GetCannedMessageGroupId ¶
func (x *GetCannedMessageGroupByIdReq) GetCannedMessageGroupId() string
func (*GetCannedMessageGroupByIdReq) ProtoMessage ¶
func (*GetCannedMessageGroupByIdReq) ProtoMessage()
func (*GetCannedMessageGroupByIdReq) ProtoReflect ¶
func (x *GetCannedMessageGroupByIdReq) ProtoReflect() protoreflect.Message
func (*GetCannedMessageGroupByIdReq) Reset ¶
func (x *GetCannedMessageGroupByIdReq) Reset()
func (*GetCannedMessageGroupByIdReq) String ¶
func (x *GetCannedMessageGroupByIdReq) String() string
type GetProjectByIdReq ¶
type GetProjectByIdReq struct { // project id ProjectSid int64 `protobuf:"varint,1,opt,name=project_sid,json=projectSid,proto3" json:"project_sid,omitempty"` // contains filtered or unexported fields }
request to get omni project details by project id
func (*GetProjectByIdReq) Descriptor
deprecated
func (*GetProjectByIdReq) Descriptor() ([]byte, []int)
Deprecated: Use GetProjectByIdReq.ProtoReflect.Descriptor instead.
func (*GetProjectByIdReq) GetProjectSid ¶
func (x *GetProjectByIdReq) GetProjectSid() int64
func (*GetProjectByIdReq) ProtoMessage ¶
func (*GetProjectByIdReq) ProtoMessage()
func (*GetProjectByIdReq) ProtoReflect ¶
func (x *GetProjectByIdReq) ProtoReflect() protoreflect.Message
func (*GetProjectByIdReq) Reset ¶
func (x *GetProjectByIdReq) Reset()
func (*GetProjectByIdReq) String ¶
func (x *GetProjectByIdReq) String() string
type ListCannedMessageGroupsReq ¶
type ListCannedMessageGroupsReq struct {
// contains filtered or unexported fields
}
request used to get a list of CannedMessageGroups
func (*ListCannedMessageGroupsReq) Descriptor
deprecated
func (*ListCannedMessageGroupsReq) Descriptor() ([]byte, []int)
Deprecated: Use ListCannedMessageGroupsReq.ProtoReflect.Descriptor instead.
func (*ListCannedMessageGroupsReq) ProtoMessage ¶
func (*ListCannedMessageGroupsReq) ProtoMessage()
func (*ListCannedMessageGroupsReq) ProtoReflect ¶
func (x *ListCannedMessageGroupsReq) ProtoReflect() protoreflect.Message
func (*ListCannedMessageGroupsReq) Reset ¶
func (x *ListCannedMessageGroupsReq) Reset()
func (*ListCannedMessageGroupsReq) String ¶
func (x *ListCannedMessageGroupsReq) String() string
type ListCannedMessageGroupsRes ¶
type ListCannedMessageGroupsRes struct { // list of cannedMessageGroups CannedMessageGroups []*CannedMessageGroup `protobuf:"bytes,1,rep,name=canned_message_groups,json=cannedMessageGroups,proto3" json:"canned_message_groups,omitempty"` // contains filtered or unexported fields }
response holding the list of CannedMessageGroups
func (*ListCannedMessageGroupsRes) Descriptor
deprecated
func (*ListCannedMessageGroupsRes) Descriptor() ([]byte, []int)
Deprecated: Use ListCannedMessageGroupsRes.ProtoReflect.Descriptor instead.
func (*ListCannedMessageGroupsRes) GetCannedMessageGroups ¶
func (x *ListCannedMessageGroupsRes) GetCannedMessageGroups() []*CannedMessageGroup
func (*ListCannedMessageGroupsRes) ProtoMessage ¶
func (*ListCannedMessageGroupsRes) ProtoMessage()
func (*ListCannedMessageGroupsRes) ProtoReflect ¶
func (x *ListCannedMessageGroupsRes) ProtoReflect() protoreflect.Message
func (*ListCannedMessageGroupsRes) Reset ¶
func (x *ListCannedMessageGroupsRes) Reset()
func (*ListCannedMessageGroupsRes) String ¶
func (x *ListCannedMessageGroupsRes) String() string
type ListCannedMessagesByGroupIdReq ¶
type ListCannedMessagesByGroupIdReq struct { // canned_message_group_id CannedMessageGroupId string `protobuf:"bytes,1,opt,name=canned_message_group_id,json=cannedMessageGroupId,proto3" json:"canned_message_group_id,omitempty"` // contains filtered or unexported fields }
request used to get a list of CannedMessages for the group
func (*ListCannedMessagesByGroupIdReq) Descriptor
deprecated
func (*ListCannedMessagesByGroupIdReq) Descriptor() ([]byte, []int)
Deprecated: Use ListCannedMessagesByGroupIdReq.ProtoReflect.Descriptor instead.
func (*ListCannedMessagesByGroupIdReq) GetCannedMessageGroupId ¶
func (x *ListCannedMessagesByGroupIdReq) GetCannedMessageGroupId() string
func (*ListCannedMessagesByGroupIdReq) ProtoMessage ¶
func (*ListCannedMessagesByGroupIdReq) ProtoMessage()
func (*ListCannedMessagesByGroupIdReq) ProtoReflect ¶
func (x *ListCannedMessagesByGroupIdReq) ProtoReflect() protoreflect.Message
func (*ListCannedMessagesByGroupIdReq) Reset ¶
func (x *ListCannedMessagesByGroupIdReq) Reset()
func (*ListCannedMessagesByGroupIdReq) String ¶
func (x *ListCannedMessagesByGroupIdReq) String() string
type ListCannedMessagesByGroupIdRes ¶
type ListCannedMessagesByGroupIdRes struct { // the list of cannedMessages with group details CannedMessagesWithGroup []*CannedMessageWithGroup `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
response holding the list of CannedMessages with group details for the group
func (*ListCannedMessagesByGroupIdRes) Descriptor
deprecated
func (*ListCannedMessagesByGroupIdRes) Descriptor() ([]byte, []int)
Deprecated: Use ListCannedMessagesByGroupIdRes.ProtoReflect.Descriptor instead.
func (*ListCannedMessagesByGroupIdRes) GetCannedMessagesWithGroup ¶
func (x *ListCannedMessagesByGroupIdRes) GetCannedMessagesWithGroup() []*CannedMessageWithGroup
func (*ListCannedMessagesByGroupIdRes) ProtoMessage ¶
func (*ListCannedMessagesByGroupIdRes) ProtoMessage()
func (*ListCannedMessagesByGroupIdRes) ProtoReflect ¶
func (x *ListCannedMessagesByGroupIdRes) ProtoReflect() protoreflect.Message
func (*ListCannedMessagesByGroupIdRes) Reset ¶
func (x *ListCannedMessagesByGroupIdRes) Reset()
func (*ListCannedMessagesByGroupIdRes) String ¶
func (x *ListCannedMessagesByGroupIdRes) String() string
type ListCannedMessagesReq ¶
type ListCannedMessagesReq struct {
// contains filtered or unexported fields
}
request used to get a list of CannedMessages
func (*ListCannedMessagesReq) Descriptor
deprecated
func (*ListCannedMessagesReq) Descriptor() ([]byte, []int)
Deprecated: Use ListCannedMessagesReq.ProtoReflect.Descriptor instead.
func (*ListCannedMessagesReq) ProtoMessage ¶
func (*ListCannedMessagesReq) ProtoMessage()
func (*ListCannedMessagesReq) ProtoReflect ¶
func (x *ListCannedMessagesReq) ProtoReflect() protoreflect.Message
func (*ListCannedMessagesReq) Reset ¶
func (x *ListCannedMessagesReq) Reset()
func (*ListCannedMessagesReq) String ¶
func (x *ListCannedMessagesReq) String() string
type ListCannedMessagesRes ¶
type ListCannedMessagesRes struct { // the list of cannedMessages with group details CannedMessagesWithGroup []*CannedMessageWithGroup `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
response holding the list of CannedMessages with group details
func (*ListCannedMessagesRes) Descriptor
deprecated
func (*ListCannedMessagesRes) Descriptor() ([]byte, []int)
Deprecated: Use ListCannedMessagesRes.ProtoReflect.Descriptor instead.
func (*ListCannedMessagesRes) GetCannedMessagesWithGroup ¶
func (x *ListCannedMessagesRes) GetCannedMessagesWithGroup() []*CannedMessageWithGroup
func (*ListCannedMessagesRes) ProtoMessage ¶
func (*ListCannedMessagesRes) ProtoMessage()
func (*ListCannedMessagesRes) ProtoReflect ¶
func (x *ListCannedMessagesRes) ProtoReflect() protoreflect.Message
func (*ListCannedMessagesRes) Reset ¶
func (x *ListCannedMessagesRes) Reset()
func (*ListCannedMessagesRes) String ¶
func (x *ListCannedMessagesRes) String() string
type ListProjectsReq ¶
type ListProjectsReq struct { // Optional. If provided, will only list projects // whose sids are in the list of sids provided. ProjectSids []int64 `protobuf:"varint,1,rep,packed,name=project_sids,json=projectSids,proto3" json:"project_sids,omitempty"` // contains filtered or unexported fields }
request used to get a list of projects
func (*ListProjectsReq) Descriptor
deprecated
func (*ListProjectsReq) Descriptor() ([]byte, []int)
Deprecated: Use ListProjectsReq.ProtoReflect.Descriptor instead.
func (*ListProjectsReq) GetProjectSids ¶
func (x *ListProjectsReq) GetProjectSids() []int64
func (*ListProjectsReq) ProtoMessage ¶
func (*ListProjectsReq) ProtoMessage()
func (*ListProjectsReq) ProtoReflect ¶
func (x *ListProjectsReq) ProtoReflect() protoreflect.Message
func (*ListProjectsReq) Reset ¶
func (x *ListProjectsReq) Reset()
func (*ListProjectsReq) String ¶
func (x *ListProjectsReq) String() string
type ListProjectsRes ¶
type ListProjectsRes struct { // the list of projects Projects []*Project `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"` // contains filtered or unexported fields }
response holding the list of projects
func (*ListProjectsRes) Descriptor
deprecated
func (*ListProjectsRes) Descriptor() ([]byte, []int)
Deprecated: Use ListProjectsRes.ProtoReflect.Descriptor instead.
func (*ListProjectsRes) GetProjects ¶
func (x *ListProjectsRes) GetProjects() []*Project
func (*ListProjectsRes) ProtoMessage ¶
func (*ListProjectsRes) ProtoMessage()
func (*ListProjectsRes) ProtoReflect ¶
func (x *ListProjectsRes) ProtoReflect() protoreflect.Message
func (*ListProjectsRes) Reset ¶
func (x *ListProjectsRes) Reset()
func (*ListProjectsRes) String ¶
func (x *ListProjectsRes) String() string
type Project ¶
type Project struct { // project identifier ProjectSid int64 `protobuf:"varint,1,opt,name=project_sid,json=projectSid,proto3" json:"project_sid,omitempty"` // project name Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // project description Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // project status Status commons.ProjectStatus `protobuf:"varint,4,opt,name=status,proto3,enum=api.commons.ProjectStatus" json:"status,omitempty"` // creation date DateCreated *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=date_created,json=dateCreated,proto3" json:"date_created,omitempty"` // contains filtered or unexported fields }
Project -
func (*Project) Descriptor
deprecated
func (*Project) GetDateCreated ¶
func (x *Project) GetDateCreated() *timestamppb.Timestamp
func (*Project) GetDescription ¶
func (*Project) GetProjectSid ¶
func (*Project) GetStatus ¶
func (x *Project) GetStatus() commons.ProjectStatus
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
func (*Project) ProtoReflect ¶
func (x *Project) ProtoReflect() protoreflect.Message
type ProjectApiClient ¶
type ProjectApiClient interface { // Create/Record project defined by CreateProjectReq message for a specified // name, description and status. // The method will return a Project message/entity that will // contain the newly created project_id value for this client // Required permissions: // // OMNI_BOSS CreateProject(ctx context.Context, in *CreateProjectReq, opts ...grpc.CallOption) (*CreateProjectRes, error) // list projects for the current org // The method will return a list of Project messages/entities // Required permissions: // // OMNI_BOSS ListProjects(ctx context.Context, in *ListProjectsReq, opts ...grpc.CallOption) (*ListProjectsRes, error) // Update project defined by EditProjectByIdReq message for a specified // project id. // The method will return a Project message/entity that will // contain the updated details for the project_id // Required permissions: // // OMNI_BOSS EditProjectById(ctx context.Context, in *EditProjectByIdReq, opts ...grpc.CallOption) (*EditProjectByIdRes, error) // Closes project defined by CloseProjectByIdReq message for a specified // project id. // The method will stop all child campaigns and return a an empty response // if successful // Required permissions: // // OMNI_BOSS CloseProjectById(ctx context.Context, in *CloseProjectByIdReq, opts ...grpc.CallOption) (*CloseProjectByIdRes, error) // Get project details defined by GetProjectByIdReq message for a specified // project id. // The method will return a GetProjectByIdRes message/entity that will // contain all the project details for the project_id // Required permissions: // // OMNI_BOSS GetProjectById(ctx context.Context, in *GetProjectByIdReq, opts ...grpc.CallOption) (*Project, error) // Create/Record canned message defined by CreateCannedMessageReq message for a specified // name, description and message_body. // The method will return a CannedMessage message/entity that will // contain the newly created canned message details for this client // Required permissions: // // OMNI_BOSS CreateCannedMessage(ctx context.Context, in *CreateCannedMessageReq, opts ...grpc.CallOption) (*CannedMessage, error) // list canned messages for the current org // The method will return a list of canned messages/entities // Required permissions: // // OMNI_BOSS ListCannedMessages(ctx context.Context, in *ListCannedMessagesReq, opts ...grpc.CallOption) (*ListCannedMessagesRes, error) // Update canned message defined by UpdateCannedMessageReq message for a specified // name, description and message_body. // The method will return a CannedMessage message/entity that will // contain the updated canned message details for this client // Required permissions: // // OMNI_BOSS UpdateCannedMessage(ctx context.Context, in *UpdateCannedMessageReq, opts ...grpc.CallOption) (*CannedMessage, error) // Get canned message details for the canned_message_id // The method will return an canned message/entity // Required permissions: // // OMNI_BOSS GetCannedMessageById(ctx context.Context, in *GetCannedMessageByIdReq, opts ...grpc.CallOption) (*CannedMessageWithGroup, error) // Delete canned message details for the canned_message_id // The method will delete an canned message/entity // Required permissions: // // OMNI_BOSS DeleteCannedMessageById(ctx context.Context, in *DeleteCannedMessageByIdReq, opts ...grpc.CallOption) (*DeleteCannedMessageByIdRes, error) // Create/Record canned message group defined by CreateCannedMessageGroup Req message for a specified // name and description. // The method will return a CannedMessageGroup message/entity that will // contain the newly created canned message group details for this client // Required permissions: // // OMNI_BOSS CreateCannedMessageGroup(ctx context.Context, in *CreateCannedMessageGroupReq, opts ...grpc.CallOption) (*CannedMessageGroup, error) // list canned message groups for the current org // The method will return a list of canned message groups/entities // Required permissions: // // OMNI_BOSS ListCannedMessageGroups(ctx context.Context, in *ListCannedMessageGroupsReq, opts ...grpc.CallOption) (*ListCannedMessageGroupsRes, error) // Update canned message group defined by UpdateCannedMessageGroupReq message for a specified // name and description. // Required permissions: // // OMNI_BOSS UpdateCannedMessageGroup(ctx context.Context, in *UpdateCannedMessageGroupReq, opts ...grpc.CallOption) (*UpdateCannedMessageGroupRes, error) // Delete canned message group and all the related messages for the canned_message_group_id // The method will delete an canned message group/entity // Required permissions: // // OMNI_BOSS DeleteCannedMessageGroup(ctx context.Context, in *DeleteCannedMessageGroupReq, opts ...grpc.CallOption) (*DeleteCannedMessageGroupRes, error) // list canned messages for the group // The method will return a list of canned messages/entities // Required permissions: // // OMNI_BOSS ListCannedMessagesByGroupId(ctx context.Context, in *ListCannedMessagesByGroupIdReq, opts ...grpc.CallOption) (*ListCannedMessagesByGroupIdRes, error) // Get canned message group details for the canned_message_group_id // The method will return an canned message group/entity // Required permissions: // // OMNI_BOSS GetCannedMessageGroupById(ctx context.Context, in *GetCannedMessageGroupByIdReq, opts ...grpc.CallOption) (*CannedMessageGroup, error) }
ProjectApiClient is the client API for ProjectApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewProjectApiClient ¶
func NewProjectApiClient(cc grpc.ClientConnInterface) ProjectApiClient
type ProjectApiServer ¶
type ProjectApiServer interface { // Create/Record project defined by CreateProjectReq message for a specified // name, description and status. // The method will return a Project message/entity that will // contain the newly created project_id value for this client // Required permissions: // // OMNI_BOSS CreateProject(context.Context, *CreateProjectReq) (*CreateProjectRes, error) // list projects for the current org // The method will return a list of Project messages/entities // Required permissions: // // OMNI_BOSS ListProjects(context.Context, *ListProjectsReq) (*ListProjectsRes, error) // Update project defined by EditProjectByIdReq message for a specified // project id. // The method will return a Project message/entity that will // contain the updated details for the project_id // Required permissions: // // OMNI_BOSS EditProjectById(context.Context, *EditProjectByIdReq) (*EditProjectByIdRes, error) // Closes project defined by CloseProjectByIdReq message for a specified // project id. // The method will stop all child campaigns and return a an empty response // if successful // Required permissions: // // OMNI_BOSS CloseProjectById(context.Context, *CloseProjectByIdReq) (*CloseProjectByIdRes, error) // Get project details defined by GetProjectByIdReq message for a specified // project id. // The method will return a GetProjectByIdRes message/entity that will // contain all the project details for the project_id // Required permissions: // // OMNI_BOSS GetProjectById(context.Context, *GetProjectByIdReq) (*Project, error) // Create/Record canned message defined by CreateCannedMessageReq message for a specified // name, description and message_body. // The method will return a CannedMessage message/entity that will // contain the newly created canned message details for this client // Required permissions: // // OMNI_BOSS CreateCannedMessage(context.Context, *CreateCannedMessageReq) (*CannedMessage, error) // list canned messages for the current org // The method will return a list of canned messages/entities // Required permissions: // // OMNI_BOSS ListCannedMessages(context.Context, *ListCannedMessagesReq) (*ListCannedMessagesRes, error) // Update canned message defined by UpdateCannedMessageReq message for a specified // name, description and message_body. // The method will return a CannedMessage message/entity that will // contain the updated canned message details for this client // Required permissions: // // OMNI_BOSS UpdateCannedMessage(context.Context, *UpdateCannedMessageReq) (*CannedMessage, error) // Get canned message details for the canned_message_id // The method will return an canned message/entity // Required permissions: // // OMNI_BOSS GetCannedMessageById(context.Context, *GetCannedMessageByIdReq) (*CannedMessageWithGroup, error) // Delete canned message details for the canned_message_id // The method will delete an canned message/entity // Required permissions: // // OMNI_BOSS DeleteCannedMessageById(context.Context, *DeleteCannedMessageByIdReq) (*DeleteCannedMessageByIdRes, error) // Create/Record canned message group defined by CreateCannedMessageGroup Req message for a specified // name and description. // The method will return a CannedMessageGroup message/entity that will // contain the newly created canned message group details for this client // Required permissions: // // OMNI_BOSS CreateCannedMessageGroup(context.Context, *CreateCannedMessageGroupReq) (*CannedMessageGroup, error) // list canned message groups for the current org // The method will return a list of canned message groups/entities // Required permissions: // // OMNI_BOSS ListCannedMessageGroups(context.Context, *ListCannedMessageGroupsReq) (*ListCannedMessageGroupsRes, error) // Update canned message group defined by UpdateCannedMessageGroupReq message for a specified // name and description. // Required permissions: // // OMNI_BOSS UpdateCannedMessageGroup(context.Context, *UpdateCannedMessageGroupReq) (*UpdateCannedMessageGroupRes, error) // Delete canned message group and all the related messages for the canned_message_group_id // The method will delete an canned message group/entity // Required permissions: // // OMNI_BOSS DeleteCannedMessageGroup(context.Context, *DeleteCannedMessageGroupReq) (*DeleteCannedMessageGroupRes, error) // list canned messages for the group // The method will return a list of canned messages/entities // Required permissions: // // OMNI_BOSS ListCannedMessagesByGroupId(context.Context, *ListCannedMessagesByGroupIdReq) (*ListCannedMessagesByGroupIdRes, error) // Get canned message group details for the canned_message_group_id // The method will return an canned message group/entity // Required permissions: // // OMNI_BOSS GetCannedMessageGroupById(context.Context, *GetCannedMessageGroupByIdReq) (*CannedMessageGroup, error) // contains filtered or unexported methods }
ProjectApiServer is the server API for ProjectApi service. All implementations must embed UnimplementedProjectApiServer for forward compatibility
type UnimplementedProjectApiServer ¶
type UnimplementedProjectApiServer struct { }
UnimplementedProjectApiServer must be embedded to have forward compatible implementations.
func (UnimplementedProjectApiServer) CloseProjectById ¶
func (UnimplementedProjectApiServer) CloseProjectById(context.Context, *CloseProjectByIdReq) (*CloseProjectByIdRes, error)
func (UnimplementedProjectApiServer) CreateCannedMessage ¶
func (UnimplementedProjectApiServer) CreateCannedMessage(context.Context, *CreateCannedMessageReq) (*CannedMessage, error)
func (UnimplementedProjectApiServer) CreateCannedMessageGroup ¶
func (UnimplementedProjectApiServer) CreateCannedMessageGroup(context.Context, *CreateCannedMessageGroupReq) (*CannedMessageGroup, error)
func (UnimplementedProjectApiServer) CreateProject ¶
func (UnimplementedProjectApiServer) CreateProject(context.Context, *CreateProjectReq) (*CreateProjectRes, error)
func (UnimplementedProjectApiServer) DeleteCannedMessageById ¶
func (UnimplementedProjectApiServer) DeleteCannedMessageById(context.Context, *DeleteCannedMessageByIdReq) (*DeleteCannedMessageByIdRes, error)
func (UnimplementedProjectApiServer) DeleteCannedMessageGroup ¶
func (UnimplementedProjectApiServer) DeleteCannedMessageGroup(context.Context, *DeleteCannedMessageGroupReq) (*DeleteCannedMessageGroupRes, error)
func (UnimplementedProjectApiServer) EditProjectById ¶
func (UnimplementedProjectApiServer) EditProjectById(context.Context, *EditProjectByIdReq) (*EditProjectByIdRes, error)
func (UnimplementedProjectApiServer) GetCannedMessageById ¶
func (UnimplementedProjectApiServer) GetCannedMessageById(context.Context, *GetCannedMessageByIdReq) (*CannedMessageWithGroup, error)
func (UnimplementedProjectApiServer) GetCannedMessageGroupById ¶
func (UnimplementedProjectApiServer) GetCannedMessageGroupById(context.Context, *GetCannedMessageGroupByIdReq) (*CannedMessageGroup, error)
func (UnimplementedProjectApiServer) GetProjectById ¶
func (UnimplementedProjectApiServer) GetProjectById(context.Context, *GetProjectByIdReq) (*Project, error)
func (UnimplementedProjectApiServer) ListCannedMessageGroups ¶
func (UnimplementedProjectApiServer) ListCannedMessageGroups(context.Context, *ListCannedMessageGroupsReq) (*ListCannedMessageGroupsRes, error)
func (UnimplementedProjectApiServer) ListCannedMessages ¶
func (UnimplementedProjectApiServer) ListCannedMessages(context.Context, *ListCannedMessagesReq) (*ListCannedMessagesRes, error)
func (UnimplementedProjectApiServer) ListCannedMessagesByGroupId ¶
func (UnimplementedProjectApiServer) ListCannedMessagesByGroupId(context.Context, *ListCannedMessagesByGroupIdReq) (*ListCannedMessagesByGroupIdRes, error)
func (UnimplementedProjectApiServer) ListProjects ¶
func (UnimplementedProjectApiServer) ListProjects(context.Context, *ListProjectsReq) (*ListProjectsRes, error)
func (UnimplementedProjectApiServer) UpdateCannedMessage ¶
func (UnimplementedProjectApiServer) UpdateCannedMessage(context.Context, *UpdateCannedMessageReq) (*CannedMessage, error)
func (UnimplementedProjectApiServer) UpdateCannedMessageGroup ¶
func (UnimplementedProjectApiServer) UpdateCannedMessageGroup(context.Context, *UpdateCannedMessageGroupReq) (*UpdateCannedMessageGroupRes, error)
type UnsafeProjectApiServer ¶
type UnsafeProjectApiServer interface {
// contains filtered or unexported methods
}
UnsafeProjectApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProjectApiServer will result in compilation errors.
type UpdateCannedMessageGroupReq ¶
type UpdateCannedMessageGroupReq struct { // canned_message_group_id CannedMessageGroupId string `protobuf:"bytes,1,opt,name=canned_message_group_id,json=cannedMessageGroupId,proto3" json:"canned_message_group_id,omitempty"` // canned message group name Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // group description Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
request to update canned message group details
func (*UpdateCannedMessageGroupReq) Descriptor
deprecated
func (*UpdateCannedMessageGroupReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCannedMessageGroupReq.ProtoReflect.Descriptor instead.
func (*UpdateCannedMessageGroupReq) GetCannedMessageGroupId ¶
func (x *UpdateCannedMessageGroupReq) GetCannedMessageGroupId() string
func (*UpdateCannedMessageGroupReq) GetDescription ¶
func (x *UpdateCannedMessageGroupReq) GetDescription() string
func (*UpdateCannedMessageGroupReq) GetName ¶
func (x *UpdateCannedMessageGroupReq) GetName() string
func (*UpdateCannedMessageGroupReq) ProtoMessage ¶
func (*UpdateCannedMessageGroupReq) ProtoMessage()
func (*UpdateCannedMessageGroupReq) ProtoReflect ¶
func (x *UpdateCannedMessageGroupReq) ProtoReflect() protoreflect.Message
func (*UpdateCannedMessageGroupReq) Reset ¶
func (x *UpdateCannedMessageGroupReq) Reset()
func (*UpdateCannedMessageGroupReq) String ¶
func (x *UpdateCannedMessageGroupReq) String() string
type UpdateCannedMessageGroupRes ¶
type UpdateCannedMessageGroupRes struct {
// contains filtered or unexported fields
}
response to update canned message group details
func (*UpdateCannedMessageGroupRes) Descriptor
deprecated
func (*UpdateCannedMessageGroupRes) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCannedMessageGroupRes.ProtoReflect.Descriptor instead.
func (*UpdateCannedMessageGroupRes) ProtoMessage ¶
func (*UpdateCannedMessageGroupRes) ProtoMessage()
func (*UpdateCannedMessageGroupRes) ProtoReflect ¶
func (x *UpdateCannedMessageGroupRes) ProtoReflect() protoreflect.Message
func (*UpdateCannedMessageGroupRes) Reset ¶
func (x *UpdateCannedMessageGroupRes) Reset()
func (*UpdateCannedMessageGroupRes) String ¶
func (x *UpdateCannedMessageGroupRes) String() string
type UpdateCannedMessageReq ¶
type UpdateCannedMessageReq struct { // canned_message_id CannedMessageId string `protobuf:"bytes,1,opt,name=canned_message_id,json=cannedMessageId,proto3" json:"canned_message_id,omitempty"` // canned message name Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // description Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // message details MessageBody string `protobuf:"bytes,4,opt,name=message_body,json=messageBody,proto3" json:"message_body,omitempty"` // canned message group id CannedMessageGroupId string `protobuf:"bytes,5,opt,name=canned_message_group_id,json=cannedMessageGroupId,proto3" json:"canned_message_group_id,omitempty"` // allows html AllowsHtml bool `protobuf:"varint,6,opt,name=allows_html,json=allowsHtml,proto3" json:"allows_html,omitempty"` // attachments Attachments []*commons.OmniAttachment `protobuf:"bytes,7,rep,name=attachments,proto3" json:"attachments,omitempty"` // contains filtered or unexported fields }
request to update canned message details
func (*UpdateCannedMessageReq) Descriptor
deprecated
func (*UpdateCannedMessageReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCannedMessageReq.ProtoReflect.Descriptor instead.
func (*UpdateCannedMessageReq) GetAllowsHtml ¶
func (x *UpdateCannedMessageReq) GetAllowsHtml() bool
func (*UpdateCannedMessageReq) GetAttachments ¶
func (x *UpdateCannedMessageReq) GetAttachments() []*commons.OmniAttachment
func (*UpdateCannedMessageReq) GetCannedMessageGroupId ¶
func (x *UpdateCannedMessageReq) GetCannedMessageGroupId() string
func (*UpdateCannedMessageReq) GetCannedMessageId ¶
func (x *UpdateCannedMessageReq) GetCannedMessageId() string
func (*UpdateCannedMessageReq) GetDescription ¶
func (x *UpdateCannedMessageReq) GetDescription() string
func (*UpdateCannedMessageReq) GetMessageBody ¶
func (x *UpdateCannedMessageReq) GetMessageBody() string
func (*UpdateCannedMessageReq) GetName ¶
func (x *UpdateCannedMessageReq) GetName() string
func (*UpdateCannedMessageReq) ProtoMessage ¶
func (*UpdateCannedMessageReq) ProtoMessage()
func (*UpdateCannedMessageReq) ProtoReflect ¶
func (x *UpdateCannedMessageReq) ProtoReflect() protoreflect.Message
func (*UpdateCannedMessageReq) Reset ¶
func (x *UpdateCannedMessageReq) Reset()
func (*UpdateCannedMessageReq) String ¶
func (x *UpdateCannedMessageReq) String() string