Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterTicketsServer(s grpc.ServiceRegistrar, srv TicketsServer)
- type AssignTicketReq
- func (*AssignTicketReq) Descriptor() ([]byte, []int)deprecated
- func (x *AssignTicketReq) GetAssignedId() string
- func (x *AssignTicketReq) GetAssigneeList() string
- func (x *AssignTicketReq) GetTicketSid() int64
- func (*AssignTicketReq) ProtoMessage()
- func (x *AssignTicketReq) ProtoReflect() protoreflect.Message
- func (x *AssignTicketReq) Reset()
- func (x *AssignTicketReq) String() string
- type AssignTicketRes
- func (*AssignTicketRes) Descriptor() ([]byte, []int)deprecated
- func (x *AssignTicketRes) GetAssignedId() string
- func (x *AssignTicketRes) GetAssigneeList() string
- func (x *AssignTicketRes) GetTicketSid() int64
- func (*AssignTicketRes) ProtoMessage()
- func (x *AssignTicketRes) ProtoReflect() protoreflect.Message
- func (x *AssignTicketRes) Reset()
- func (x *AssignTicketRes) String() string
- type CloseTicketReq
- func (*CloseTicketReq) Descriptor() ([]byte, []int)deprecated
- func (x *CloseTicketReq) GetComment() string
- func (x *CloseTicketReq) GetFromStatus() int64
- func (x *CloseTicketReq) GetTicketSid() int64
- func (*CloseTicketReq) ProtoMessage()
- func (x *CloseTicketReq) ProtoReflect() protoreflect.Message
- func (x *CloseTicketReq) Reset()
- func (x *CloseTicketReq) String() string
- type CloseTicketRes
- type CreateCommentReq
- func (*CreateCommentReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCommentReq) GetComment() string
- func (x *CreateCommentReq) GetTicketSid() int64
- func (*CreateCommentReq) ProtoMessage()
- func (x *CreateCommentReq) ProtoReflect() protoreflect.Message
- func (x *CreateCommentReq) Reset()
- func (x *CreateCommentReq) String() string
- type CreateCommentRes
- func (*CreateCommentRes) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCommentRes) GetComment() *commons.Comment
- func (*CreateCommentRes) ProtoMessage()
- func (x *CreateCommentRes) ProtoReflect() protoreflect.Message
- func (x *CreateCommentRes) Reset()
- func (x *CreateCommentRes) String() string
- type CreateSelfAssignReq
- func (*CreateSelfAssignReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSelfAssignReq) GetTicketSid() int64
- func (*CreateSelfAssignReq) ProtoMessage()
- func (x *CreateSelfAssignReq) ProtoReflect() protoreflect.Message
- func (x *CreateSelfAssignReq) Reset()
- func (x *CreateSelfAssignReq) String() string
- type CreateSelfAssignRes
- func (*CreateSelfAssignRes) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSelfAssignRes) GetIsAssigned() bool
- func (*CreateSelfAssignRes) ProtoMessage()
- func (x *CreateSelfAssignRes) ProtoReflect() protoreflect.Message
- func (x *CreateSelfAssignRes) Reset()
- func (x *CreateSelfAssignRes) String() string
- type CreateSlaReq
- func (*CreateSlaReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSlaReq) GetDescription() string
- func (x *CreateSlaReq) GetInterval() int64
- func (x *CreateSlaReq) GetName() string
- func (x *CreateSlaReq) GetSlaSid() int64
- func (*CreateSlaReq) ProtoMessage()
- func (x *CreateSlaReq) ProtoReflect() protoreflect.Message
- func (x *CreateSlaReq) Reset()
- func (x *CreateSlaReq) String() string
- type CreateSlaRes
- type CreateTicketReq
- func (*CreateTicketReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTicketReq) GetAssignOther() string
- func (x *CreateTicketReq) GetAssignSelf() bool
- func (x *CreateTicketReq) GetDescription() string
- func (x *CreateTicketReq) GetDueDate() *timestamppb.Timestamp
- func (x *CreateTicketReq) GetMetadata() []*commons.Metadata
- func (x *CreateTicketReq) GetProjectSid() int64
- func (x *CreateTicketReq) GetStatus() int64
- func (x *CreateTicketReq) GetTicketSkills() []*commons.Skills
- func (x *CreateTicketReq) GetTicketSla() []*commons.Sla
- func (x *CreateTicketReq) GetTitle() string
- func (*CreateTicketReq) ProtoMessage()
- func (x *CreateTicketReq) ProtoReflect() protoreflect.Message
- func (x *CreateTicketReq) Reset()
- func (x *CreateTicketReq) String() string
- type CreateTicketRes
- type EditMaskTicketReq
- func (*EditMaskTicketReq) Descriptor() ([]byte, []int)deprecated
- func (x *EditMaskTicketReq) GetEditValue() *commons.Ticket
- func (x *EditMaskTicketReq) GetEditedFieldsMask() []*fieldmaskpb.FieldMask
- func (x *EditMaskTicketReq) GetTicketSid() int64
- func (*EditMaskTicketReq) ProtoMessage()
- func (x *EditMaskTicketReq) ProtoReflect() protoreflect.Message
- func (x *EditMaskTicketReq) Reset()
- func (x *EditMaskTicketReq) String() string
- type EditMaskTicketRes
- type EditTicketReq
- func (*EditTicketReq) Descriptor() ([]byte, []int)deprecated
- func (x *EditTicketReq) GetEditValue() *commons.EditAttribute
- func (x *EditTicketReq) GetTicketSid() int64
- func (*EditTicketReq) ProtoMessage()
- func (x *EditTicketReq) ProtoReflect() protoreflect.Message
- func (x *EditTicketReq) Reset()
- func (x *EditTicketReq) String() string
- type EditTicketRes
- type EnableProjectReq
- func (*EnableProjectReq) Descriptor() ([]byte, []int)deprecated
- func (x *EnableProjectReq) GetIsActive() bool
- func (x *EnableProjectReq) GetProjectCode() string
- func (x *EnableProjectReq) GetProjectSid() int64
- func (x *EnableProjectReq) GetProjectTitle() string
- func (*EnableProjectReq) ProtoMessage()
- func (x *EnableProjectReq) ProtoReflect() protoreflect.Message
- func (x *EnableProjectReq) Reset()
- func (x *EnableProjectReq) String() string
- type EnableProjectRes
- type ListAllocatedTicketReqdeprecated
- type ListAllocatedTicketResdeprecated
- func (*ListAllocatedTicketRes) Descriptor() ([]byte, []int)deprecated
- func (x *ListAllocatedTicketRes) GetTicketSid() []int64
- func (*ListAllocatedTicketRes) ProtoMessage()
- func (x *ListAllocatedTicketRes) ProtoReflect() protoreflect.Message
- func (x *ListAllocatedTicketRes) Reset()
- func (x *ListAllocatedTicketRes) String() string
- type ListAvailableAgentTicketsRequest
- func (*ListAvailableAgentTicketsRequest) Descriptor() ([]byte, []int)deprecated
- func (*ListAvailableAgentTicketsRequest) ProtoMessage()
- func (x *ListAvailableAgentTicketsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAvailableAgentTicketsRequest) Reset()
- func (x *ListAvailableAgentTicketsRequest) String() string
- type ListAvailableAgentTicketsResponse
- func (*ListAvailableAgentTicketsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAvailableAgentTicketsResponse) GetTicketSid() []int64
- func (*ListAvailableAgentTicketsResponse) ProtoMessage()
- func (x *ListAvailableAgentTicketsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAvailableAgentTicketsResponse) Reset()
- func (x *ListAvailableAgentTicketsResponse) String() string
- type ListEnabledProjectsReq
- type ListEnabledProjectsRes
- func (*ListEnabledProjectsRes) Descriptor() ([]byte, []int)deprecated
- func (x *ListEnabledProjectsRes) GetProjects() []*commons.TicketProject
- func (*ListEnabledProjectsRes) ProtoMessage()
- func (x *ListEnabledProjectsRes) ProtoReflect() protoreflect.Message
- func (x *ListEnabledProjectsRes) Reset()
- func (x *ListEnabledProjectsRes) String() string
- type ListSkillsRequest
- type ListSkillsResponse
- func (*ListSkillsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSkillsResponse) GetSkills() []*Skill
- func (*ListSkillsResponse) ProtoMessage()
- func (x *ListSkillsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSkillsResponse) Reset()
- func (x *ListSkillsResponse) String() string
- type ListSlaConditionReq
- type ListSlaConditionRes
- func (*ListSlaConditionRes) Descriptor() ([]byte, []int)deprecated
- func (x *ListSlaConditionRes) GetSlaCondition() []*commons.SlaConditions
- func (*ListSlaConditionRes) ProtoMessage()
- func (x *ListSlaConditionRes) ProtoReflect() protoreflect.Message
- func (x *ListSlaConditionRes) Reset()
- func (x *ListSlaConditionRes) String() string
- type ListSlaReq
- type ListSlaRes
- type ListTicketAuditLogReq
- func (*ListTicketAuditLogReq) Descriptor() ([]byte, []int)deprecated
- func (x *ListTicketAuditLogReq) GetTicketSid() int64
- func (*ListTicketAuditLogReq) ProtoMessage()
- func (x *ListTicketAuditLogReq) ProtoReflect() protoreflect.Message
- func (x *ListTicketAuditLogReq) Reset()
- func (x *ListTicketAuditLogReq) String() string
- type ListTicketAuditLogRes
- func (*ListTicketAuditLogRes) Descriptor() ([]byte, []int)deprecated
- func (x *ListTicketAuditLogRes) GetEvents() []*audit.AuditEvent
- func (*ListTicketAuditLogRes) ProtoMessage()
- func (x *ListTicketAuditLogRes) ProtoReflect() protoreflect.Message
- func (x *ListTicketAuditLogRes) Reset()
- func (x *ListTicketAuditLogRes) String() string
- type ListTicketsReq
- type ListTicketsRes
- type ListUsersRequest
- type ListUsersResponse
- type PingReq
- type PingRes
- type ReplyCommentReq
- func (*ReplyCommentReq) Descriptor() ([]byte, []int)deprecated
- func (x *ReplyCommentReq) GetCommentSid() int64
- func (x *ReplyCommentReq) GetCreatedById() string
- func (x *ReplyCommentReq) GetReply() string
- func (x *ReplyCommentReq) GetTicketSid() int64
- func (*ReplyCommentReq) ProtoMessage()
- func (x *ReplyCommentReq) ProtoReflect() protoreflect.Message
- func (x *ReplyCommentReq) Reset()
- func (x *ReplyCommentReq) String() string
- type ReplyCommentRes
- func (*ReplyCommentRes) Descriptor() ([]byte, []int)deprecated
- func (x *ReplyCommentRes) GetIsCreated() *commons.ConfirmReplyComment
- func (*ReplyCommentRes) ProtoMessage()
- func (x *ReplyCommentRes) ProtoReflect() protoreflect.Message
- func (x *ReplyCommentRes) Reset()
- func (x *ReplyCommentRes) String() string
- type Skill
- type TicketsClient
- type TicketsServer
- type UnimplementedTicketsServer
- func (UnimplementedTicketsServer) AssignSelf(context.Context, *CreateSelfAssignReq) (*CreateSelfAssignRes, error)
- func (UnimplementedTicketsServer) AssignTicket(context.Context, *AssignTicketReq) (*AssignTicketRes, error)
- func (UnimplementedTicketsServer) CloseTicket(context.Context, *CloseTicketReq) (*CloseTicketRes, error)
- func (UnimplementedTicketsServer) CreateComment(context.Context, *CreateCommentReq) (*CreateCommentRes, error)
- func (UnimplementedTicketsServer) CreateSLA(context.Context, *CreateSlaReq) (*CreateSlaRes, error)
- func (UnimplementedTicketsServer) CreateTicket(context.Context, *CreateTicketReq) (*CreateTicketRes, error)
- func (UnimplementedTicketsServer) EditMaskTicket(context.Context, *EditMaskTicketReq) (*EditMaskTicketRes, error)
- func (UnimplementedTicketsServer) EditTicket(context.Context, *EditTicketReq) (*EditTicketRes, error)
- func (UnimplementedTicketsServer) EnableProject(context.Context, *EnableProjectReq) (*EnableProjectRes, error)
- func (UnimplementedTicketsServer) ListAllocatedTickets(context.Context, *ListAllocatedTicketReq) (*ListAllocatedTicketRes, error)
- func (UnimplementedTicketsServer) ListAvailableAgentTickets(context.Context, *ListAvailableAgentTicketsRequest) (*ListAvailableAgentTicketsResponse, error)
- func (UnimplementedTicketsServer) ListEnabledProjects(context.Context, *ListEnabledProjectsReq) (*ListEnabledProjectsRes, error)
- func (UnimplementedTicketsServer) ListSLA(context.Context, *ListSlaReq) (*ListSlaRes, error)
- func (UnimplementedTicketsServer) ListSLACondition(context.Context, *ListSlaConditionReq) (*ListSlaConditionRes, error)
- func (UnimplementedTicketsServer) ListSkills(context.Context, *ListSkillsRequest) (*ListSkillsResponse, error)
- func (UnimplementedTicketsServer) ListTicketAuditLog(context.Context, *ListTicketAuditLogReq) (*ListTicketAuditLogRes, error)
- func (UnimplementedTicketsServer) ListTickets(context.Context, *ListTicketsReq) (*ListTicketsRes, error)
- func (UnimplementedTicketsServer) ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
- func (UnimplementedTicketsServer) ReplyComment(context.Context, *ReplyCommentReq) (*ReplyCommentRes, error)
- func (UnimplementedTicketsServer) UpdateSLA(context.Context, *UpdateSlaReq) (*UpdateSlaRes, error)
- func (UnimplementedTicketsServer) ViewTicket(context.Context, *ViewTicketReq) (*ViewTicketRes, error)
- type UnsafeTicketsServer
- type UpdateSlaReq
- func (*UpdateSlaReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSlaReq) GetIsActive() int64
- func (x *UpdateSlaReq) GetSlaSid() int64
- func (*UpdateSlaReq) ProtoMessage()
- func (x *UpdateSlaReq) ProtoReflect() protoreflect.Message
- func (x *UpdateSlaReq) Reset()
- func (x *UpdateSlaReq) String() string
- type UpdateSlaRes
- type User
- type ViewTicketReq
- type ViewTicketRes
- func (*ViewTicketRes) Descriptor() ([]byte, []int)deprecated
- func (x *ViewTicketRes) GetComments() []*commons.Comment
- func (x *ViewTicketRes) GetReplyComment() []*commons.ReplyComment
- func (x *ViewTicketRes) GetTicket() *commons.Ticket
- func (*ViewTicketRes) ProtoMessage()
- func (x *ViewTicketRes) ProtoReflect() protoreflect.Message
- func (x *ViewTicketRes) Reset()
- func (x *ViewTicketRes) String() string
Constants ¶
const ( Tickets_CreateTicket_FullMethodName = "/api.v1alpha1.tickets.Tickets/CreateTicket" Tickets_EditTicket_FullMethodName = "/api.v1alpha1.tickets.Tickets/EditTicket" Tickets_ListTickets_FullMethodName = "/api.v1alpha1.tickets.Tickets/ListTickets" Tickets_AssignTicket_FullMethodName = "/api.v1alpha1.tickets.Tickets/AssignTicket" Tickets_CloseTicket_FullMethodName = "/api.v1alpha1.tickets.Tickets/CloseTicket" Tickets_ViewTicket_FullMethodName = "/api.v1alpha1.tickets.Tickets/ViewTicket" Tickets_CreateComment_FullMethodName = "/api.v1alpha1.tickets.Tickets/CreateComment" Tickets_EnableProject_FullMethodName = "/api.v1alpha1.tickets.Tickets/EnableProject" Tickets_ListEnabledProjects_FullMethodName = "/api.v1alpha1.tickets.Tickets/ListEnabledProjects" Tickets_CreateSLA_FullMethodName = "/api.v1alpha1.tickets.Tickets/CreateSLA" Tickets_ListSLA_FullMethodName = "/api.v1alpha1.tickets.Tickets/ListSLA" Tickets_UpdateSLA_FullMethodName = "/api.v1alpha1.tickets.Tickets/UpdateSLA" Tickets_ListSLACondition_FullMethodName = "/api.v1alpha1.tickets.Tickets/ListSLACondition" Tickets_ReplyComment_FullMethodName = "/api.v1alpha1.tickets.Tickets/ReplyComment" Tickets_ListTicketAuditLog_FullMethodName = "/api.v1alpha1.tickets.Tickets/ListTicketAuditLog" Tickets_AssignSelf_FullMethodName = "/api.v1alpha1.tickets.Tickets/AssignSelf" Tickets_EditMaskTicket_FullMethodName = "/api.v1alpha1.tickets.Tickets/EditMaskTicket" Tickets_ListAllocatedTickets_FullMethodName = "/api.v1alpha1.tickets.Tickets/ListAllocatedTickets" Tickets_ListAvailableAgentTickets_FullMethodName = "/api.v1alpha1.tickets.Tickets/ListAvailableAgentTickets" Tickets_ListSkills_FullMethodName = "/api.v1alpha1.tickets.Tickets/ListSkills" Tickets_ListUsers_FullMethodName = "/api.v1alpha1.tickets.Tickets/ListUsers" )
Variables ¶
var File_api_v1alpha1_tickets_project_proto protoreflect.FileDescriptor
var File_api_v1alpha1_tickets_service_proto protoreflect.FileDescriptor
var File_api_v1alpha1_tickets_ticket_proto protoreflect.FileDescriptor
var Tickets_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.v1alpha1.tickets.Tickets", HandlerType: (*TicketsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateTicket", Handler: _Tickets_CreateTicket_Handler, }, { MethodName: "EditTicket", Handler: _Tickets_EditTicket_Handler, }, { MethodName: "ListTickets", Handler: _Tickets_ListTickets_Handler, }, { MethodName: "AssignTicket", Handler: _Tickets_AssignTicket_Handler, }, { MethodName: "CloseTicket", Handler: _Tickets_CloseTicket_Handler, }, { MethodName: "ViewTicket", Handler: _Tickets_ViewTicket_Handler, }, { MethodName: "CreateComment", Handler: _Tickets_CreateComment_Handler, }, { MethodName: "EnableProject", Handler: _Tickets_EnableProject_Handler, }, { MethodName: "ListEnabledProjects", Handler: _Tickets_ListEnabledProjects_Handler, }, { MethodName: "CreateSLA", Handler: _Tickets_CreateSLA_Handler, }, { MethodName: "ListSLA", Handler: _Tickets_ListSLA_Handler, }, { MethodName: "UpdateSLA", Handler: _Tickets_UpdateSLA_Handler, }, { MethodName: "ListSLACondition", Handler: _Tickets_ListSLACondition_Handler, }, { MethodName: "ReplyComment", Handler: _Tickets_ReplyComment_Handler, }, { MethodName: "ListTicketAuditLog", Handler: _Tickets_ListTicketAuditLog_Handler, }, { MethodName: "AssignSelf", Handler: _Tickets_AssignSelf_Handler, }, { MethodName: "EditMaskTicket", Handler: _Tickets_EditMaskTicket_Handler, }, { MethodName: "ListAllocatedTickets", Handler: _Tickets_ListAllocatedTickets_Handler, }, { MethodName: "ListAvailableAgentTickets", Handler: _Tickets_ListAvailableAgentTickets_Handler, }, { MethodName: "ListSkills", Handler: _Tickets_ListSkills_Handler, }, { MethodName: "ListUsers", Handler: _Tickets_ListUsers_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v1alpha1/tickets/service.proto", }
Tickets_ServiceDesc is the grpc.ServiceDesc for Tickets service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterTicketsServer ¶
func RegisterTicketsServer(s grpc.ServiceRegistrar, srv TicketsServer)
Types ¶
type AssignTicketReq ¶
type AssignTicketReq struct { TicketSid int64 `protobuf:"varint,1,opt,name=ticket_sid,json=ticketSid,proto3" json:"ticket_sid,omitempty"` AssigneeList string `protobuf:"bytes,2,opt,name=assignee_list,json=assigneeList,proto3" json:"assignee_list,omitempty"` // type:json - send 0 or null for un-assigning a ticket AssignedId string `protobuf:"bytes,3,opt,name=assigned_id,json=assignedId,proto3" json:"assigned_id,omitempty"` // uuid // contains filtered or unexported fields }
AssignTicketReq
func (*AssignTicketReq) Descriptor
deprecated
func (*AssignTicketReq) Descriptor() ([]byte, []int)
Deprecated: Use AssignTicketReq.ProtoReflect.Descriptor instead.
func (*AssignTicketReq) GetAssignedId ¶
func (x *AssignTicketReq) GetAssignedId() string
func (*AssignTicketReq) GetAssigneeList ¶
func (x *AssignTicketReq) GetAssigneeList() string
func (*AssignTicketReq) GetTicketSid ¶
func (x *AssignTicketReq) GetTicketSid() int64
func (*AssignTicketReq) ProtoMessage ¶
func (*AssignTicketReq) ProtoMessage()
func (*AssignTicketReq) ProtoReflect ¶
func (x *AssignTicketReq) ProtoReflect() protoreflect.Message
func (*AssignTicketReq) Reset ¶
func (x *AssignTicketReq) Reset()
func (*AssignTicketReq) String ¶
func (x *AssignTicketReq) String() string
type AssignTicketRes ¶
type AssignTicketRes struct { TicketSid int64 `protobuf:"varint,1,opt,name=ticket_sid,json=ticketSid,proto3" json:"ticket_sid,omitempty"` AssigneeList string `protobuf:"bytes,2,opt,name=assignee_list,json=assigneeList,proto3" json:"assignee_list,omitempty"` AssignedId string `protobuf:"bytes,3,opt,name=assigned_id,json=assignedId,proto3" json:"assigned_id,omitempty"` // uuid // contains filtered or unexported fields }
AssignTicketRes
func (*AssignTicketRes) Descriptor
deprecated
func (*AssignTicketRes) Descriptor() ([]byte, []int)
Deprecated: Use AssignTicketRes.ProtoReflect.Descriptor instead.
func (*AssignTicketRes) GetAssignedId ¶
func (x *AssignTicketRes) GetAssignedId() string
func (*AssignTicketRes) GetAssigneeList ¶
func (x *AssignTicketRes) GetAssigneeList() string
func (*AssignTicketRes) GetTicketSid ¶
func (x *AssignTicketRes) GetTicketSid() int64
func (*AssignTicketRes) ProtoMessage ¶
func (*AssignTicketRes) ProtoMessage()
func (*AssignTicketRes) ProtoReflect ¶
func (x *AssignTicketRes) ProtoReflect() protoreflect.Message
func (*AssignTicketRes) Reset ¶
func (x *AssignTicketRes) Reset()
func (*AssignTicketRes) String ¶
func (x *AssignTicketRes) String() string
type CloseTicketReq ¶
type CloseTicketReq struct { // ticket Id of the ticket which needs to be closed TicketSid int64 `protobuf:"varint,1,opt,name=ticket_sid,json=ticketSid,proto3" json:"ticket_sid,omitempty"` // description of the comment Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"` // from status of the ticket FromStatus int64 `protobuf:"varint,3,opt,name=from_status,json=fromStatus,proto3" json:"from_status,omitempty"` // contains filtered or unexported fields }
CloseTicketReq - Close Ticket Request Messages
func (*CloseTicketReq) Descriptor
deprecated
func (*CloseTicketReq) Descriptor() ([]byte, []int)
Deprecated: Use CloseTicketReq.ProtoReflect.Descriptor instead.
func (*CloseTicketReq) GetComment ¶
func (x *CloseTicketReq) GetComment() string
func (*CloseTicketReq) GetFromStatus ¶
func (x *CloseTicketReq) GetFromStatus() int64
func (*CloseTicketReq) GetTicketSid ¶
func (x *CloseTicketReq) GetTicketSid() int64
func (*CloseTicketReq) ProtoMessage ¶
func (*CloseTicketReq) ProtoMessage()
func (*CloseTicketReq) ProtoReflect ¶
func (x *CloseTicketReq) ProtoReflect() protoreflect.Message
func (*CloseTicketReq) Reset ¶
func (x *CloseTicketReq) Reset()
func (*CloseTicketReq) String ¶
func (x *CloseTicketReq) String() string
type CloseTicketRes ¶
type CloseTicketRes struct { IsStatus bool `protobuf:"varint,1,opt,name=is_status,json=isStatus,proto3" json:"is_status,omitempty"` // contains filtered or unexported fields }
CloseTicketRes - Close Ticket Response Messages
func (*CloseTicketRes) Descriptor
deprecated
func (*CloseTicketRes) Descriptor() ([]byte, []int)
Deprecated: Use CloseTicketRes.ProtoReflect.Descriptor instead.
func (*CloseTicketRes) GetIsStatus ¶
func (x *CloseTicketRes) GetIsStatus() bool
func (*CloseTicketRes) ProtoMessage ¶
func (*CloseTicketRes) ProtoMessage()
func (*CloseTicketRes) ProtoReflect ¶
func (x *CloseTicketRes) ProtoReflect() protoreflect.Message
func (*CloseTicketRes) Reset ¶
func (x *CloseTicketRes) Reset()
func (*CloseTicketRes) String ¶
func (x *CloseTicketRes) String() string
type CreateCommentReq ¶
type CreateCommentReq struct { TicketSid int64 `protobuf:"varint,1,opt,name=ticket_sid,json=ticketSid,proto3" json:"ticket_sid,omitempty"` // description of the comment Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
Create CommentReq - Create Comment Request From Client
func (*CreateCommentReq) Descriptor
deprecated
func (*CreateCommentReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateCommentReq.ProtoReflect.Descriptor instead.
func (*CreateCommentReq) GetComment ¶
func (x *CreateCommentReq) GetComment() string
func (*CreateCommentReq) GetTicketSid ¶
func (x *CreateCommentReq) GetTicketSid() int64
func (*CreateCommentReq) ProtoMessage ¶
func (*CreateCommentReq) ProtoMessage()
func (*CreateCommentReq) ProtoReflect ¶
func (x *CreateCommentReq) ProtoReflect() protoreflect.Message
func (*CreateCommentReq) Reset ¶
func (x *CreateCommentReq) Reset()
func (*CreateCommentReq) String ¶
func (x *CreateCommentReq) String() string
type CreateCommentRes ¶
type CreateCommentRes struct { // Returns the created comment row in the response Comment *commons.Comment `protobuf:"bytes,1,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
CreateCommenttRes - Response from CreateComment BE API
func (*CreateCommentRes) Descriptor
deprecated
func (*CreateCommentRes) Descriptor() ([]byte, []int)
Deprecated: Use CreateCommentRes.ProtoReflect.Descriptor instead.
func (*CreateCommentRes) GetComment ¶
func (x *CreateCommentRes) GetComment() *commons.Comment
func (*CreateCommentRes) ProtoMessage ¶
func (*CreateCommentRes) ProtoMessage()
func (*CreateCommentRes) ProtoReflect ¶
func (x *CreateCommentRes) ProtoReflect() protoreflect.Message
func (*CreateCommentRes) Reset ¶
func (x *CreateCommentRes) Reset()
func (*CreateCommentRes) String ¶
func (x *CreateCommentRes) String() string
type CreateSelfAssignReq ¶ added in v1.7.11
type CreateSelfAssignReq struct { TicketSid int64 `protobuf:"varint,1,opt,name=ticket_sid,json=ticketSid,proto3" json:"ticket_sid,omitempty"` // contains filtered or unexported fields }
CreateSelfAssignReq -
func (*CreateSelfAssignReq) Descriptor
deprecated
added in
v1.7.11
func (*CreateSelfAssignReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateSelfAssignReq.ProtoReflect.Descriptor instead.
func (*CreateSelfAssignReq) GetTicketSid ¶ added in v1.7.11
func (x *CreateSelfAssignReq) GetTicketSid() int64
func (*CreateSelfAssignReq) ProtoMessage ¶ added in v1.7.11
func (*CreateSelfAssignReq) ProtoMessage()
func (*CreateSelfAssignReq) ProtoReflect ¶ added in v1.7.11
func (x *CreateSelfAssignReq) ProtoReflect() protoreflect.Message
func (*CreateSelfAssignReq) Reset ¶ added in v1.7.11
func (x *CreateSelfAssignReq) Reset()
func (*CreateSelfAssignReq) String ¶ added in v1.7.11
func (x *CreateSelfAssignReq) String() string
type CreateSelfAssignRes ¶ added in v1.7.11
type CreateSelfAssignRes struct { IsAssigned bool `protobuf:"varint,1,opt,name=is_assigned,json=isAssigned,proto3" json:"is_assigned,omitempty"` // contains filtered or unexported fields }
CreateSelfAssignRes -
func (*CreateSelfAssignRes) Descriptor
deprecated
added in
v1.7.11
func (*CreateSelfAssignRes) Descriptor() ([]byte, []int)
Deprecated: Use CreateSelfAssignRes.ProtoReflect.Descriptor instead.
func (*CreateSelfAssignRes) GetIsAssigned ¶ added in v1.7.11
func (x *CreateSelfAssignRes) GetIsAssigned() bool
func (*CreateSelfAssignRes) ProtoMessage ¶ added in v1.7.11
func (*CreateSelfAssignRes) ProtoMessage()
func (*CreateSelfAssignRes) ProtoReflect ¶ added in v1.7.11
func (x *CreateSelfAssignRes) ProtoReflect() protoreflect.Message
func (*CreateSelfAssignRes) Reset ¶ added in v1.7.11
func (x *CreateSelfAssignRes) Reset()
func (*CreateSelfAssignRes) String ¶ added in v1.7.11
func (x *CreateSelfAssignRes) String() string
type CreateSlaReq ¶
type CreateSlaReq struct { // sla_sid of the sla to be created. SlaSid int64 `protobuf:"varint,1,opt,name=sla_sid,json=slaSid,proto3" json:"sla_sid,omitempty"` // name of the sla Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // description of the sla Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // sla interval Interval int64 `protobuf:"varint,4,opt,name=interval,proto3" json:"interval,omitempty"` // contains filtered or unexported fields }
Create CreateSlaReq - Create Sla Request From Client
func (*CreateSlaReq) Descriptor
deprecated
func (*CreateSlaReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateSlaReq.ProtoReflect.Descriptor instead.
func (*CreateSlaReq) GetDescription ¶
func (x *CreateSlaReq) GetDescription() string
func (*CreateSlaReq) GetInterval ¶
func (x *CreateSlaReq) GetInterval() int64
func (*CreateSlaReq) GetName ¶
func (x *CreateSlaReq) GetName() string
func (*CreateSlaReq) GetSlaSid ¶
func (x *CreateSlaReq) GetSlaSid() int64
func (*CreateSlaReq) ProtoMessage ¶
func (*CreateSlaReq) ProtoMessage()
func (*CreateSlaReq) ProtoReflect ¶
func (x *CreateSlaReq) ProtoReflect() protoreflect.Message
func (*CreateSlaReq) Reset ¶
func (x *CreateSlaReq) Reset()
func (*CreateSlaReq) String ¶
func (x *CreateSlaReq) String() string
type CreateSlaRes ¶
type CreateSlaRes struct { // Returns the created sla row in the response Sla *commons.TicketSla `protobuf:"bytes,1,opt,name=sla,proto3" json:"sla,omitempty"` // contains filtered or unexported fields }
CreateSlaRes - Response from CreateSla BE API
func (*CreateSlaRes) Descriptor
deprecated
func (*CreateSlaRes) Descriptor() ([]byte, []int)
Deprecated: Use CreateSlaRes.ProtoReflect.Descriptor instead.
func (*CreateSlaRes) GetSla ¶
func (x *CreateSlaRes) GetSla() *commons.TicketSla
func (*CreateSlaRes) ProtoMessage ¶
func (*CreateSlaRes) ProtoMessage()
func (*CreateSlaRes) ProtoReflect ¶
func (x *CreateSlaRes) ProtoReflect() protoreflect.Message
func (*CreateSlaRes) Reset ¶
func (x *CreateSlaRes) Reset()
func (*CreateSlaRes) String ¶
func (x *CreateSlaRes) String() string
type CreateTicketReq ¶
type CreateTicketReq struct { // title of the ticket to be created. Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // description of the ticket Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // the enabled project sid. project must have been enabled/imported from omni.project.project_sid to tickets_db.ticket_project.project_sid ProjectSid int64 `protobuf:"varint,3,opt,name=project_sid,json=projectSid,proto3" json:"project_sid,omitempty"` // ticket due date DueDate *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=due_date,json=dueDate,proto3" json:"due_date,omitempty"` // A list of conversation context meatadatgit stata Metadata []*commons.Metadata `protobuf:"bytes,9,rep,name=metadata,proto3" json:"metadata,omitempty"` // A list of skills assotiated with a ticket TicketSkills []*commons.Skills `protobuf:"bytes,10,rep,name=ticket_skills,json=ticketSkills,proto3" json:"ticket_skills,omitempty"` // Status - Ticket status : 1 open, 2 doing, 3 close etc Status int64 `protobuf:"varint,11,opt,name=status,proto3" json:"status,omitempty"` // A list of sla assotiated with a ticket TicketSla []*commons.Sla `protobuf:"bytes,12,rep,name=ticket_sla,json=ticketSla,proto3" json:"ticket_sla,omitempty"` AssignSelf bool `protobuf:"varint,13,opt,name=assign_self,json=assignSelf,proto3" json:"assign_self,omitempty"` AssignOther string `protobuf:"bytes,14,opt,name=assign_other,json=assignOther,proto3" json:"assign_other,omitempty"` // contains filtered or unexported fields }
CreateTicketReq - Request for CreateTicket
func (*CreateTicketReq) Descriptor
deprecated
func (*CreateTicketReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateTicketReq.ProtoReflect.Descriptor instead.
func (*CreateTicketReq) GetAssignOther ¶ added in v1.7.16
func (x *CreateTicketReq) GetAssignOther() string
func (*CreateTicketReq) GetAssignSelf ¶ added in v1.7.11
func (x *CreateTicketReq) GetAssignSelf() bool
func (*CreateTicketReq) GetDescription ¶
func (x *CreateTicketReq) GetDescription() string
func (*CreateTicketReq) GetDueDate ¶
func (x *CreateTicketReq) GetDueDate() *timestamppb.Timestamp
func (*CreateTicketReq) GetMetadata ¶
func (x *CreateTicketReq) GetMetadata() []*commons.Metadata
func (*CreateTicketReq) GetProjectSid ¶
func (x *CreateTicketReq) GetProjectSid() int64
func (*CreateTicketReq) GetStatus ¶
func (x *CreateTicketReq) GetStatus() int64
func (*CreateTicketReq) GetTicketSkills ¶
func (x *CreateTicketReq) GetTicketSkills() []*commons.Skills
func (*CreateTicketReq) GetTicketSla ¶
func (x *CreateTicketReq) GetTicketSla() []*commons.Sla
func (*CreateTicketReq) GetTitle ¶
func (x *CreateTicketReq) GetTitle() string
func (*CreateTicketReq) ProtoMessage ¶
func (*CreateTicketReq) ProtoMessage()
func (*CreateTicketReq) ProtoReflect ¶
func (x *CreateTicketReq) ProtoReflect() protoreflect.Message
func (*CreateTicketReq) Reset ¶
func (x *CreateTicketReq) Reset()
func (*CreateTicketReq) String ¶
func (x *CreateTicketReq) String() string
type CreateTicketRes ¶
type CreateTicketRes struct { // Returns the created ticket row in the response Ticket *commons.Ticket `protobuf:"bytes,1,opt,name=ticket,proto3" json:"ticket,omitempty"` // contains filtered or unexported fields }
CreateTicketRes - Response from CreateTicket BE API
func (*CreateTicketRes) Descriptor
deprecated
func (*CreateTicketRes) Descriptor() ([]byte, []int)
Deprecated: Use CreateTicketRes.ProtoReflect.Descriptor instead.
func (*CreateTicketRes) GetTicket ¶
func (x *CreateTicketRes) GetTicket() *commons.Ticket
func (*CreateTicketRes) ProtoMessage ¶
func (*CreateTicketRes) ProtoMessage()
func (*CreateTicketRes) ProtoReflect ¶
func (x *CreateTicketRes) ProtoReflect() protoreflect.Message
func (*CreateTicketRes) Reset ¶
func (x *CreateTicketRes) Reset()
func (*CreateTicketRes) String ¶
func (x *CreateTicketRes) String() string
type EditMaskTicketReq ¶ added in v1.7.21
type EditMaskTicketReq struct { TicketSid int64 `protobuf:"varint,1,opt,name=ticket_sid,json=ticketSid,proto3" json:"ticket_sid,omitempty"` EditValue *commons.Ticket `protobuf:"bytes,2,opt,name=edit_value,json=editValue,proto3" json:"edit_value,omitempty"` EditedFieldsMask []*fieldmaskpb.FieldMask `protobuf:"bytes,3,rep,name=edited_fields_mask,json=editedFieldsMask,proto3" json:"edited_fields_mask,omitempty"` // contains filtered or unexported fields }
EditMaskTicketReq - Request for EditMaskTicket EditTicketReq would be deprecated
func (*EditMaskTicketReq) Descriptor
deprecated
added in
v1.7.21
func (*EditMaskTicketReq) Descriptor() ([]byte, []int)
Deprecated: Use EditMaskTicketReq.ProtoReflect.Descriptor instead.
func (*EditMaskTicketReq) GetEditValue ¶ added in v1.7.21
func (x *EditMaskTicketReq) GetEditValue() *commons.Ticket
func (*EditMaskTicketReq) GetEditedFieldsMask ¶ added in v1.7.21
func (x *EditMaskTicketReq) GetEditedFieldsMask() []*fieldmaskpb.FieldMask
func (*EditMaskTicketReq) GetTicketSid ¶ added in v1.7.21
func (x *EditMaskTicketReq) GetTicketSid() int64
func (*EditMaskTicketReq) ProtoMessage ¶ added in v1.7.21
func (*EditMaskTicketReq) ProtoMessage()
func (*EditMaskTicketReq) ProtoReflect ¶ added in v1.7.21
func (x *EditMaskTicketReq) ProtoReflect() protoreflect.Message
func (*EditMaskTicketReq) Reset ¶ added in v1.7.21
func (x *EditMaskTicketReq) Reset()
func (*EditMaskTicketReq) String ¶ added in v1.7.21
func (x *EditMaskTicketReq) String() string
type EditMaskTicketRes ¶ added in v1.7.21
type EditMaskTicketRes struct { IsEdited bool `protobuf:"varint,1,opt,name=is_edited,json=isEdited,proto3" json:"is_edited,omitempty"` // contains filtered or unexported fields }
EditMaskTicketRes - Response for EditMaskTicketReq EditTicketRes would be deprecated
func (*EditMaskTicketRes) Descriptor
deprecated
added in
v1.7.21
func (*EditMaskTicketRes) Descriptor() ([]byte, []int)
Deprecated: Use EditMaskTicketRes.ProtoReflect.Descriptor instead.
func (*EditMaskTicketRes) GetIsEdited ¶ added in v1.7.21
func (x *EditMaskTicketRes) GetIsEdited() bool
func (*EditMaskTicketRes) ProtoMessage ¶ added in v1.7.21
func (*EditMaskTicketRes) ProtoMessage()
func (*EditMaskTicketRes) ProtoReflect ¶ added in v1.7.21
func (x *EditMaskTicketRes) ProtoReflect() protoreflect.Message
func (*EditMaskTicketRes) Reset ¶ added in v1.7.21
func (x *EditMaskTicketRes) Reset()
func (*EditMaskTicketRes) String ¶ added in v1.7.21
func (x *EditMaskTicketRes) String() string
type EditTicketReq ¶
type EditTicketReq struct { TicketSid int64 `protobuf:"varint,1,opt,name=ticket_sid,json=ticketSid,proto3" json:"ticket_sid,omitempty"` // The comment text EditValue *commons.EditAttribute `protobuf:"bytes,2,opt,name=edit_value,json=editValue,proto3" json:"edit_value,omitempty"` // contains filtered or unexported fields }
EditTicketReq - Request for EditTicketReq
func (*EditTicketReq) Descriptor
deprecated
func (*EditTicketReq) Descriptor() ([]byte, []int)
Deprecated: Use EditTicketReq.ProtoReflect.Descriptor instead.
func (*EditTicketReq) GetEditValue ¶
func (x *EditTicketReq) GetEditValue() *commons.EditAttribute
func (*EditTicketReq) GetTicketSid ¶
func (x *EditTicketReq) GetTicketSid() int64
func (*EditTicketReq) ProtoMessage ¶
func (*EditTicketReq) ProtoMessage()
func (*EditTicketReq) ProtoReflect ¶
func (x *EditTicketReq) ProtoReflect() protoreflect.Message
func (*EditTicketReq) Reset ¶
func (x *EditTicketReq) Reset()
func (*EditTicketReq) String ¶
func (x *EditTicketReq) String() string
type EditTicketRes ¶
type EditTicketRes struct { IsEdited bool `protobuf:"varint,1,opt,name=is_edited,json=isEdited,proto3" json:"is_edited,omitempty"` // contains filtered or unexported fields }
EditTicketRes - Response for EditTicketReq
func (*EditTicketRes) Descriptor
deprecated
func (*EditTicketRes) Descriptor() ([]byte, []int)
Deprecated: Use EditTicketRes.ProtoReflect.Descriptor instead.
func (*EditTicketRes) GetIsEdited ¶
func (x *EditTicketRes) GetIsEdited() bool
func (*EditTicketRes) ProtoMessage ¶
func (*EditTicketRes) ProtoMessage()
func (*EditTicketRes) ProtoReflect ¶
func (x *EditTicketRes) ProtoReflect() protoreflect.Message
func (*EditTicketRes) Reset ¶
func (x *EditTicketRes) Reset()
func (*EditTicketRes) String ¶
func (x *EditTicketRes) String() string
type EnableProjectReq ¶
type EnableProjectReq struct { // project seq id of project to be enabled ProjectSid int64 `protobuf:"varint,1,opt,name=project_sid,json=projectSid,proto3" json:"project_sid,omitempty"` // Project code to be set ProjectCode string `protobuf:"bytes,2,opt,name=project_code,json=projectCode,proto3" json:"project_code,omitempty"` // Project title pulled from Omni ProjectTitle string `protobuf:"bytes,3,opt,name=project_title,json=projectTitle,proto3" json:"project_title,omitempty"` // Is project enabled for ticketing IsActive bool `protobuf:"varint,4,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` // contains filtered or unexported fields }
EnableProjectReq - Details of project to be enabled in the ticketing system
func (*EnableProjectReq) Descriptor
deprecated
func (*EnableProjectReq) Descriptor() ([]byte, []int)
Deprecated: Use EnableProjectReq.ProtoReflect.Descriptor instead.
func (*EnableProjectReq) GetIsActive ¶
func (x *EnableProjectReq) GetIsActive() bool
func (*EnableProjectReq) GetProjectCode ¶
func (x *EnableProjectReq) GetProjectCode() string
func (*EnableProjectReq) GetProjectSid ¶
func (x *EnableProjectReq) GetProjectSid() int64
func (*EnableProjectReq) GetProjectTitle ¶
func (x *EnableProjectReq) GetProjectTitle() string
func (*EnableProjectReq) ProtoMessage ¶
func (*EnableProjectReq) ProtoMessage()
func (*EnableProjectReq) ProtoReflect ¶
func (x *EnableProjectReq) ProtoReflect() protoreflect.Message
func (*EnableProjectReq) Reset ¶
func (x *EnableProjectReq) Reset()
func (*EnableProjectReq) String ¶
func (x *EnableProjectReq) String() string
type EnableProjectRes ¶
type EnableProjectRes struct { // result of project mapped to ticket was successful Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
EnableProjectRes - Indicates result of the project enable request
func (*EnableProjectRes) Descriptor
deprecated
func (*EnableProjectRes) Descriptor() ([]byte, []int)
Deprecated: Use EnableProjectRes.ProtoReflect.Descriptor instead.
func (*EnableProjectRes) GetSuccess ¶
func (x *EnableProjectRes) GetSuccess() bool
func (*EnableProjectRes) ProtoMessage ¶
func (*EnableProjectRes) ProtoMessage()
func (*EnableProjectRes) ProtoReflect ¶
func (x *EnableProjectRes) ProtoReflect() protoreflect.Message
func (*EnableProjectRes) Reset ¶
func (x *EnableProjectRes) Reset()
func (*EnableProjectRes) String ¶
func (x *EnableProjectRes) String() string
type ListAllocatedTicketReq
deprecated
added in
v1.7.21
type ListAllocatedTicketReq struct {
// contains filtered or unexported fields
}
ListAllocatedTicketReq -
Deprecated: Marked as deprecated in api/v1alpha1/tickets/ticket.proto.
func (*ListAllocatedTicketReq) Descriptor
deprecated
added in
v1.7.21
func (*ListAllocatedTicketReq) Descriptor() ([]byte, []int)
Deprecated: Use ListAllocatedTicketReq.ProtoReflect.Descriptor instead.
func (*ListAllocatedTicketReq) ProtoMessage ¶ added in v1.7.21
func (*ListAllocatedTicketReq) ProtoMessage()
func (*ListAllocatedTicketReq) ProtoReflect ¶ added in v1.7.21
func (x *ListAllocatedTicketReq) ProtoReflect() protoreflect.Message
func (*ListAllocatedTicketReq) Reset ¶ added in v1.7.21
func (x *ListAllocatedTicketReq) Reset()
func (*ListAllocatedTicketReq) String ¶ added in v1.7.21
func (x *ListAllocatedTicketReq) String() string
type ListAllocatedTicketRes
deprecated
added in
v1.7.21
type ListAllocatedTicketRes struct { TicketSid []int64 `protobuf:"varint,1,rep,packed,name=ticket_sid,json=ticketSid,proto3" json:"ticket_sid,omitempty"` // contains filtered or unexported fields }
ListAllocatedTicketRes -
Deprecated: Marked as deprecated in api/v1alpha1/tickets/ticket.proto.
func (*ListAllocatedTicketRes) Descriptor
deprecated
added in
v1.7.21
func (*ListAllocatedTicketRes) Descriptor() ([]byte, []int)
Deprecated: Use ListAllocatedTicketRes.ProtoReflect.Descriptor instead.
func (*ListAllocatedTicketRes) GetTicketSid ¶ added in v1.7.21
func (x *ListAllocatedTicketRes) GetTicketSid() []int64
func (*ListAllocatedTicketRes) ProtoMessage ¶ added in v1.7.21
func (*ListAllocatedTicketRes) ProtoMessage()
func (*ListAllocatedTicketRes) ProtoReflect ¶ added in v1.7.21
func (x *ListAllocatedTicketRes) ProtoReflect() protoreflect.Message
func (*ListAllocatedTicketRes) Reset ¶ added in v1.7.21
func (x *ListAllocatedTicketRes) Reset()
func (*ListAllocatedTicketRes) String ¶ added in v1.7.21
func (x *ListAllocatedTicketRes) String() string
type ListAvailableAgentTicketsRequest ¶ added in v1.7.25
type ListAvailableAgentTicketsRequest struct {
// contains filtered or unexported fields
}
ListAvailableAgentTicketsRequest -
func (*ListAvailableAgentTicketsRequest) Descriptor
deprecated
added in
v1.7.25
func (*ListAvailableAgentTicketsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAvailableAgentTicketsRequest.ProtoReflect.Descriptor instead.
func (*ListAvailableAgentTicketsRequest) ProtoMessage ¶ added in v1.7.25
func (*ListAvailableAgentTicketsRequest) ProtoMessage()
func (*ListAvailableAgentTicketsRequest) ProtoReflect ¶ added in v1.7.25
func (x *ListAvailableAgentTicketsRequest) ProtoReflect() protoreflect.Message
func (*ListAvailableAgentTicketsRequest) Reset ¶ added in v1.7.25
func (x *ListAvailableAgentTicketsRequest) Reset()
func (*ListAvailableAgentTicketsRequest) String ¶ added in v1.7.25
func (x *ListAvailableAgentTicketsRequest) String() string
type ListAvailableAgentTicketsResponse ¶ added in v1.7.25
type ListAvailableAgentTicketsResponse struct { TicketSid []int64 `protobuf:"varint,1,rep,packed,name=ticket_sid,json=ticketSid,proto3" json:"ticket_sid,omitempty"` // contains filtered or unexported fields }
ListAvailableAgentTicketsResponse -
func (*ListAvailableAgentTicketsResponse) Descriptor
deprecated
added in
v1.7.25
func (*ListAvailableAgentTicketsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAvailableAgentTicketsResponse.ProtoReflect.Descriptor instead.
func (*ListAvailableAgentTicketsResponse) GetTicketSid ¶ added in v1.7.25
func (x *ListAvailableAgentTicketsResponse) GetTicketSid() []int64
func (*ListAvailableAgentTicketsResponse) ProtoMessage ¶ added in v1.7.25
func (*ListAvailableAgentTicketsResponse) ProtoMessage()
func (*ListAvailableAgentTicketsResponse) ProtoReflect ¶ added in v1.7.25
func (x *ListAvailableAgentTicketsResponse) ProtoReflect() protoreflect.Message
func (*ListAvailableAgentTicketsResponse) Reset ¶ added in v1.7.25
func (x *ListAvailableAgentTicketsResponse) Reset()
func (*ListAvailableAgentTicketsResponse) String ¶ added in v1.7.25
func (x *ListAvailableAgentTicketsResponse) String() string
type ListEnabledProjectsReq ¶
type ListEnabledProjectsReq struct {
// contains filtered or unexported fields
}
ListEnabledProjectsReq - Request to list enabled projects in ticketing system
func (*ListEnabledProjectsReq) Descriptor
deprecated
func (*ListEnabledProjectsReq) Descriptor() ([]byte, []int)
Deprecated: Use ListEnabledProjectsReq.ProtoReflect.Descriptor instead.
func (*ListEnabledProjectsReq) ProtoMessage ¶
func (*ListEnabledProjectsReq) ProtoMessage()
func (*ListEnabledProjectsReq) ProtoReflect ¶
func (x *ListEnabledProjectsReq) ProtoReflect() protoreflect.Message
func (*ListEnabledProjectsReq) Reset ¶
func (x *ListEnabledProjectsReq) Reset()
func (*ListEnabledProjectsReq) String ¶
func (x *ListEnabledProjectsReq) String() string
type ListEnabledProjectsRes ¶
type ListEnabledProjectsRes struct { // enabled projects list Projects []*commons.TicketProject `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"` // contains filtered or unexported fields }
ListEnabledProjectsRes - Response wraps list of projects enabled for ticketing system
func (*ListEnabledProjectsRes) Descriptor
deprecated
func (*ListEnabledProjectsRes) Descriptor() ([]byte, []int)
Deprecated: Use ListEnabledProjectsRes.ProtoReflect.Descriptor instead.
func (*ListEnabledProjectsRes) GetProjects ¶
func (x *ListEnabledProjectsRes) GetProjects() []*commons.TicketProject
func (*ListEnabledProjectsRes) ProtoMessage ¶
func (*ListEnabledProjectsRes) ProtoMessage()
func (*ListEnabledProjectsRes) ProtoReflect ¶
func (x *ListEnabledProjectsRes) ProtoReflect() protoreflect.Message
func (*ListEnabledProjectsRes) Reset ¶
func (x *ListEnabledProjectsRes) Reset()
func (*ListEnabledProjectsRes) String ¶
func (x *ListEnabledProjectsRes) String() string
type ListSkillsRequest ¶ added in v1.7.25
type ListSkillsRequest struct {
// contains filtered or unexported fields
}
ListSkillsRequest - request message
func (*ListSkillsRequest) Descriptor
deprecated
added in
v1.7.25
func (*ListSkillsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSkillsRequest.ProtoReflect.Descriptor instead.
func (*ListSkillsRequest) ProtoMessage ¶ added in v1.7.25
func (*ListSkillsRequest) ProtoMessage()
func (*ListSkillsRequest) ProtoReflect ¶ added in v1.7.25
func (x *ListSkillsRequest) ProtoReflect() protoreflect.Message
func (*ListSkillsRequest) Reset ¶ added in v1.7.25
func (x *ListSkillsRequest) Reset()
func (*ListSkillsRequest) String ¶ added in v1.7.25
func (x *ListSkillsRequest) String() string
type ListSkillsResponse ¶ added in v1.7.25
type ListSkillsResponse struct { Skills []*Skill `protobuf:"bytes,1,rep,name=skills,proto3" json:"skills,omitempty"` // contains filtered or unexported fields }
ListSkillsResponse - response message wraps p3 skills Id and name
func (*ListSkillsResponse) Descriptor
deprecated
added in
v1.7.25
func (*ListSkillsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSkillsResponse.ProtoReflect.Descriptor instead.
func (*ListSkillsResponse) GetSkills ¶ added in v1.7.25
func (x *ListSkillsResponse) GetSkills() []*Skill
func (*ListSkillsResponse) ProtoMessage ¶ added in v1.7.25
func (*ListSkillsResponse) ProtoMessage()
func (*ListSkillsResponse) ProtoReflect ¶ added in v1.7.25
func (x *ListSkillsResponse) ProtoReflect() protoreflect.Message
func (*ListSkillsResponse) Reset ¶ added in v1.7.25
func (x *ListSkillsResponse) Reset()
func (*ListSkillsResponse) String ¶ added in v1.7.25
func (x *ListSkillsResponse) String() string
type ListSlaConditionReq ¶
type ListSlaConditionReq struct {
// contains filtered or unexported fields
}
ListSlaConditionReq -
func (*ListSlaConditionReq) Descriptor
deprecated
func (*ListSlaConditionReq) Descriptor() ([]byte, []int)
Deprecated: Use ListSlaConditionReq.ProtoReflect.Descriptor instead.
func (*ListSlaConditionReq) ProtoMessage ¶
func (*ListSlaConditionReq) ProtoMessage()
func (*ListSlaConditionReq) ProtoReflect ¶
func (x *ListSlaConditionReq) ProtoReflect() protoreflect.Message
func (*ListSlaConditionReq) Reset ¶
func (x *ListSlaConditionReq) Reset()
func (*ListSlaConditionReq) String ¶
func (x *ListSlaConditionReq) String() string
type ListSlaConditionRes ¶
type ListSlaConditionRes struct { SlaCondition []*commons.SlaConditions `protobuf:"bytes,1,rep,name=slaCondition,proto3" json:"slaCondition,omitempty"` // contains filtered or unexported fields }
ListSlaConditionRes -
func (*ListSlaConditionRes) Descriptor
deprecated
func (*ListSlaConditionRes) Descriptor() ([]byte, []int)
Deprecated: Use ListSlaConditionRes.ProtoReflect.Descriptor instead.
func (*ListSlaConditionRes) GetSlaCondition ¶
func (x *ListSlaConditionRes) GetSlaCondition() []*commons.SlaConditions
func (*ListSlaConditionRes) ProtoMessage ¶
func (*ListSlaConditionRes) ProtoMessage()
func (*ListSlaConditionRes) ProtoReflect ¶
func (x *ListSlaConditionRes) ProtoReflect() protoreflect.Message
func (*ListSlaConditionRes) Reset ¶
func (x *ListSlaConditionRes) Reset()
func (*ListSlaConditionRes) String ¶
func (x *ListSlaConditionRes) String() string
type ListSlaReq ¶
type ListSlaReq struct {
// contains filtered or unexported fields
}
ListSlaReq -
func (*ListSlaReq) Descriptor
deprecated
func (*ListSlaReq) Descriptor() ([]byte, []int)
Deprecated: Use ListSlaReq.ProtoReflect.Descriptor instead.
func (*ListSlaReq) ProtoMessage ¶
func (*ListSlaReq) ProtoMessage()
func (*ListSlaReq) ProtoReflect ¶
func (x *ListSlaReq) ProtoReflect() protoreflect.Message
func (*ListSlaReq) Reset ¶
func (x *ListSlaReq) Reset()
func (*ListSlaReq) String ¶
func (x *ListSlaReq) String() string
type ListSlaRes ¶
type ListSlaRes struct { TicketsSla []*commons.TicketSla `protobuf:"bytes,1,rep,name=ticketsSla,proto3" json:"ticketsSla,omitempty"` // contains filtered or unexported fields }
ListSlaRes -
func (*ListSlaRes) Descriptor
deprecated
func (*ListSlaRes) Descriptor() ([]byte, []int)
Deprecated: Use ListSlaRes.ProtoReflect.Descriptor instead.
func (*ListSlaRes) GetTicketsSla ¶
func (x *ListSlaRes) GetTicketsSla() []*commons.TicketSla
func (*ListSlaRes) ProtoMessage ¶
func (*ListSlaRes) ProtoMessage()
func (*ListSlaRes) ProtoReflect ¶
func (x *ListSlaRes) ProtoReflect() protoreflect.Message
func (*ListSlaRes) Reset ¶
func (x *ListSlaRes) Reset()
func (*ListSlaRes) String ¶
func (x *ListSlaRes) String() string
type ListTicketAuditLogReq ¶
type ListTicketAuditLogReq struct { // ticket_sid scoping filter TicketSid int64 `protobuf:"varint,1,opt,name=ticket_sid,json=ticketSid,proto3" json:"ticket_sid,omitempty"` // contains filtered or unexported fields }
ListTicketAuditLogReq -
func (*ListTicketAuditLogReq) Descriptor
deprecated
func (*ListTicketAuditLogReq) Descriptor() ([]byte, []int)
Deprecated: Use ListTicketAuditLogReq.ProtoReflect.Descriptor instead.
func (*ListTicketAuditLogReq) GetTicketSid ¶
func (x *ListTicketAuditLogReq) GetTicketSid() int64
func (*ListTicketAuditLogReq) ProtoMessage ¶
func (*ListTicketAuditLogReq) ProtoMessage()
func (*ListTicketAuditLogReq) ProtoReflect ¶
func (x *ListTicketAuditLogReq) ProtoReflect() protoreflect.Message
func (*ListTicketAuditLogReq) Reset ¶
func (x *ListTicketAuditLogReq) Reset()
func (*ListTicketAuditLogReq) String ¶
func (x *ListTicketAuditLogReq) String() string
type ListTicketAuditLogRes ¶
type ListTicketAuditLogRes struct { // the retrieved audit events Events []*audit.AuditEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` // contains filtered or unexported fields }
ListTicketAuditLogRes -
func (*ListTicketAuditLogRes) Descriptor
deprecated
func (*ListTicketAuditLogRes) Descriptor() ([]byte, []int)
Deprecated: Use ListTicketAuditLogRes.ProtoReflect.Descriptor instead.
func (*ListTicketAuditLogRes) GetEvents ¶
func (x *ListTicketAuditLogRes) GetEvents() []*audit.AuditEvent
func (*ListTicketAuditLogRes) ProtoMessage ¶
func (*ListTicketAuditLogRes) ProtoMessage()
func (*ListTicketAuditLogRes) ProtoReflect ¶
func (x *ListTicketAuditLogRes) ProtoReflect() protoreflect.Message
func (*ListTicketAuditLogRes) Reset ¶
func (x *ListTicketAuditLogRes) Reset()
func (*ListTicketAuditLogRes) String ¶
func (x *ListTicketAuditLogRes) String() string
type ListTicketsReq ¶
type ListTicketsReq struct {
// contains filtered or unexported fields
}
ListTicketsReq
func (*ListTicketsReq) Descriptor
deprecated
func (*ListTicketsReq) Descriptor() ([]byte, []int)
Deprecated: Use ListTicketsReq.ProtoReflect.Descriptor instead.
func (*ListTicketsReq) ProtoMessage ¶
func (*ListTicketsReq) ProtoMessage()
func (*ListTicketsReq) ProtoReflect ¶
func (x *ListTicketsReq) ProtoReflect() protoreflect.Message
func (*ListTicketsReq) Reset ¶
func (x *ListTicketsReq) Reset()
func (*ListTicketsReq) String ¶
func (x *ListTicketsReq) String() string
type ListTicketsRes ¶
type ListTicketsRes struct { Tickets []*commons.Ticket `protobuf:"bytes,1,rep,name=tickets,proto3" json:"tickets,omitempty"` // contains filtered or unexported fields }
func (*ListTicketsRes) Descriptor
deprecated
func (*ListTicketsRes) Descriptor() ([]byte, []int)
Deprecated: Use ListTicketsRes.ProtoReflect.Descriptor instead.
func (*ListTicketsRes) GetTickets ¶
func (x *ListTicketsRes) GetTickets() []*commons.Ticket
func (*ListTicketsRes) ProtoMessage ¶
func (*ListTicketsRes) ProtoMessage()
func (*ListTicketsRes) ProtoReflect ¶
func (x *ListTicketsRes) ProtoReflect() protoreflect.Message
func (*ListTicketsRes) Reset ¶
func (x *ListTicketsRes) Reset()
func (*ListTicketsRes) String ¶
func (x *ListTicketsRes) String() string
type ListUsersRequest ¶ added in v1.7.25
type ListUsersRequest struct {
// contains filtered or unexported fields
}
ListUsersRequest - Users request message
func (*ListUsersRequest) Descriptor
deprecated
added in
v1.7.25
func (*ListUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.
func (*ListUsersRequest) ProtoMessage ¶ added in v1.7.25
func (*ListUsersRequest) ProtoMessage()
func (*ListUsersRequest) ProtoReflect ¶ added in v1.7.25
func (x *ListUsersRequest) ProtoReflect() protoreflect.Message
func (*ListUsersRequest) Reset ¶ added in v1.7.25
func (x *ListUsersRequest) Reset()
func (*ListUsersRequest) String ¶ added in v1.7.25
func (x *ListUsersRequest) String() string
type ListUsersResponse ¶ added in v1.7.25
type ListUsersResponse struct { Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
ListUsersResponse - response wraps userId, first_name, last_name
func (*ListUsersResponse) Descriptor
deprecated
added in
v1.7.25
func (*ListUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.
func (*ListUsersResponse) GetUsers ¶ added in v1.7.25
func (x *ListUsersResponse) GetUsers() []*User
func (*ListUsersResponse) ProtoMessage ¶ added in v1.7.25
func (*ListUsersResponse) ProtoMessage()
func (*ListUsersResponse) ProtoReflect ¶ added in v1.7.25
func (x *ListUsersResponse) ProtoReflect() protoreflect.Message
func (*ListUsersResponse) Reset ¶ added in v1.7.25
func (x *ListUsersResponse) Reset()
func (*ListUsersResponse) String ¶ added in v1.7.25
func (x *ListUsersResponse) String() string
type PingReq ¶
type PingReq struct {
// contains filtered or unexported fields
}
func (*PingReq) Descriptor
deprecated
func (*PingReq) ProtoMessage ¶
func (*PingReq) ProtoMessage()
func (*PingReq) ProtoReflect ¶
func (x *PingReq) ProtoReflect() protoreflect.Message
type PingRes ¶
type PingRes struct {
// contains filtered or unexported fields
}
func (*PingRes) Descriptor
deprecated
func (*PingRes) ProtoMessage ¶
func (*PingRes) ProtoMessage()
func (*PingRes) ProtoReflect ¶
func (x *PingRes) ProtoReflect() protoreflect.Message
type ReplyCommentReq ¶
type ReplyCommentReq struct { // The snowflake id of a comment row in ticket_comment. CommentSid int64 `protobuf:"varint,1,opt,name=comment_sid,json=commentSid,proto3" json:"comment_sid,omitempty"` // The ticket reference where the comment was added. TicketSid int64 `protobuf:"varint,2,opt,name=ticket_sid,json=ticketSid,proto3" json:"ticket_sid,omitempty"` // The comment text Reply string `protobuf:"bytes,3,opt,name=reply,proto3" json:"reply,omitempty"` // commenter by id CreatedById string `protobuf:"bytes,4,opt,name=created_by_id,json=createdById,proto3" json:"created_by_id,omitempty"` // used in creating comment // contains filtered or unexported fields }
ReplyCommentReq - Reply Comment Request Messages
func (*ReplyCommentReq) Descriptor
deprecated
func (*ReplyCommentReq) Descriptor() ([]byte, []int)
Deprecated: Use ReplyCommentReq.ProtoReflect.Descriptor instead.
func (*ReplyCommentReq) GetCommentSid ¶
func (x *ReplyCommentReq) GetCommentSid() int64
func (*ReplyCommentReq) GetCreatedById ¶
func (x *ReplyCommentReq) GetCreatedById() string
func (*ReplyCommentReq) GetReply ¶
func (x *ReplyCommentReq) GetReply() string
func (*ReplyCommentReq) GetTicketSid ¶
func (x *ReplyCommentReq) GetTicketSid() int64
func (*ReplyCommentReq) ProtoMessage ¶
func (*ReplyCommentReq) ProtoMessage()
func (*ReplyCommentReq) ProtoReflect ¶
func (x *ReplyCommentReq) ProtoReflect() protoreflect.Message
func (*ReplyCommentReq) Reset ¶
func (x *ReplyCommentReq) Reset()
func (*ReplyCommentReq) String ¶
func (x *ReplyCommentReq) String() string
type ReplyCommentRes ¶
type ReplyCommentRes struct { // Returns boolen true OR False in the response IsCreated *commons.ConfirmReplyComment `protobuf:"bytes,1,opt,name=is_created,json=isCreated,proto3" json:"is_created,omitempty"` // contains filtered or unexported fields }
ReplyCommentRes - Reply Comment Response Messages
func (*ReplyCommentRes) Descriptor
deprecated
func (*ReplyCommentRes) Descriptor() ([]byte, []int)
Deprecated: Use ReplyCommentRes.ProtoReflect.Descriptor instead.
func (*ReplyCommentRes) GetIsCreated ¶
func (x *ReplyCommentRes) GetIsCreated() *commons.ConfirmReplyComment
func (*ReplyCommentRes) ProtoMessage ¶
func (*ReplyCommentRes) ProtoMessage()
func (*ReplyCommentRes) ProtoReflect ¶
func (x *ReplyCommentRes) ProtoReflect() protoreflect.Message
func (*ReplyCommentRes) Reset ¶
func (x *ReplyCommentRes) Reset()
func (*ReplyCommentRes) String ¶
func (x *ReplyCommentRes) String() string
type Skill ¶ added in v1.7.25
type Skill struct { SkillId string `protobuf:"bytes,1,opt,name=skill_id,json=skillId,proto3" json:"skill_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Skill) Descriptor
deprecated
added in
v1.7.25
func (*Skill) GetSkillId ¶ added in v1.7.25
func (*Skill) ProtoMessage ¶ added in v1.7.25
func (*Skill) ProtoMessage()
func (*Skill) ProtoReflect ¶ added in v1.7.25
func (x *Skill) ProtoReflect() protoreflect.Message
type TicketsClient ¶
type TicketsClient interface { // Public Method to create a ticket. CreateTicket(ctx context.Context, in *CreateTicketReq, opts ...grpc.CallOption) (*CreateTicketRes, error) // Public Method to edit a ticket. EditTicket(ctx context.Context, in *EditTicketReq, opts ...grpc.CallOption) (*EditTicketRes, error) // Public method to list tickets ListTickets(ctx context.Context, in *ListTicketsReq, opts ...grpc.CallOption) (*ListTicketsRes, error) // Public method to assign ticket AssignTicket(ctx context.Context, in *AssignTicketReq, opts ...grpc.CallOption) (*AssignTicketRes, error) // Public Method to Close a ticket CloseTicket(ctx context.Context, in *CloseTicketReq, opts ...grpc.CallOption) (*CloseTicketRes, error) // Public method to view ticket ViewTicket(ctx context.Context, in *ViewTicketReq, opts ...grpc.CallOption) (*ViewTicketRes, error) // Public Method to create a Comment. CreateComment(ctx context.Context, in *CreateCommentReq, opts ...grpc.CallOption) (*CreateCommentRes, error) // Public method to Enable Project for Ticketing system EnableProject(ctx context.Context, in *EnableProjectReq, opts ...grpc.CallOption) (*EnableProjectRes, error) // Public method to List projects enabled for Ticketing system ListEnabledProjects(ctx context.Context, in *ListEnabledProjectsReq, opts ...grpc.CallOption) (*ListEnabledProjectsRes, error) // Public Method to create a sla. CreateSLA(ctx context.Context, in *CreateSlaReq, opts ...grpc.CallOption) (*CreateSlaRes, error) // Public method to list sla ListSLA(ctx context.Context, in *ListSlaReq, opts ...grpc.CallOption) (*ListSlaRes, error) // Public method to update sla UpdateSLA(ctx context.Context, in *UpdateSlaReq, opts ...grpc.CallOption) (*UpdateSlaRes, error) // Public method to list sla_condition ListSLACondition(ctx context.Context, in *ListSlaConditionReq, opts ...grpc.CallOption) (*ListSlaConditionRes, error) // Public method to list sla_condition ReplyComment(ctx context.Context, in *ReplyCommentReq, opts ...grpc.CallOption) (*ReplyCommentRes, error) // Public method to List audit log for Ticketing system ListTicketAuditLog(ctx context.Context, in *ListTicketAuditLogReq, opts ...grpc.CallOption) (*ListTicketAuditLogRes, error) // Public method to assign a ticket AssignSelf(ctx context.Context, in *CreateSelfAssignReq, opts ...grpc.CallOption) (*CreateSelfAssignRes, error) // Public Method to edit a ticket. // EditTicket would be deprecated EditMaskTicket(ctx context.Context, in *EditMaskTicketReq, opts ...grpc.CallOption) (*EditMaskTicketRes, error) // Deprecated: Do not use. ListAllocatedTickets(ctx context.Context, in *ListAllocatedTicketReq, opts ...grpc.CallOption) (*ListAllocatedTicketRes, error) // public method - to return list of available tickets to pick for an Agent ListAvailableAgentTickets(ctx context.Context, in *ListAvailableAgentTicketsRequest, opts ...grpc.CallOption) (*ListAvailableAgentTicketsResponse, error) // public method to fetch list of skills for a tickets user ListSkills(ctx context.Context, in *ListSkillsRequest, opts ...grpc.CallOption) (*ListSkillsResponse, error) // public method to fetch list of users for a tickets user ListUsers(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error) }
TicketsClient is the client API for Tickets 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 NewTicketsClient ¶
func NewTicketsClient(cc grpc.ClientConnInterface) TicketsClient
type TicketsServer ¶
type TicketsServer interface { // Public Method to create a ticket. CreateTicket(context.Context, *CreateTicketReq) (*CreateTicketRes, error) // Public Method to edit a ticket. EditTicket(context.Context, *EditTicketReq) (*EditTicketRes, error) // Public method to list tickets ListTickets(context.Context, *ListTicketsReq) (*ListTicketsRes, error) // Public method to assign ticket AssignTicket(context.Context, *AssignTicketReq) (*AssignTicketRes, error) // Public Method to Close a ticket CloseTicket(context.Context, *CloseTicketReq) (*CloseTicketRes, error) // Public method to view ticket ViewTicket(context.Context, *ViewTicketReq) (*ViewTicketRes, error) // Public Method to create a Comment. CreateComment(context.Context, *CreateCommentReq) (*CreateCommentRes, error) // Public method to Enable Project for Ticketing system EnableProject(context.Context, *EnableProjectReq) (*EnableProjectRes, error) // Public method to List projects enabled for Ticketing system ListEnabledProjects(context.Context, *ListEnabledProjectsReq) (*ListEnabledProjectsRes, error) // Public Method to create a sla. CreateSLA(context.Context, *CreateSlaReq) (*CreateSlaRes, error) // Public method to list sla ListSLA(context.Context, *ListSlaReq) (*ListSlaRes, error) // Public method to update sla UpdateSLA(context.Context, *UpdateSlaReq) (*UpdateSlaRes, error) // Public method to list sla_condition ListSLACondition(context.Context, *ListSlaConditionReq) (*ListSlaConditionRes, error) // Public method to list sla_condition ReplyComment(context.Context, *ReplyCommentReq) (*ReplyCommentRes, error) // Public method to List audit log for Ticketing system ListTicketAuditLog(context.Context, *ListTicketAuditLogReq) (*ListTicketAuditLogRes, error) // Public method to assign a ticket AssignSelf(context.Context, *CreateSelfAssignReq) (*CreateSelfAssignRes, error) // Public Method to edit a ticket. // EditTicket would be deprecated EditMaskTicket(context.Context, *EditMaskTicketReq) (*EditMaskTicketRes, error) // Deprecated: Do not use. ListAllocatedTickets(context.Context, *ListAllocatedTicketReq) (*ListAllocatedTicketRes, error) // public method - to return list of available tickets to pick for an Agent ListAvailableAgentTickets(context.Context, *ListAvailableAgentTicketsRequest) (*ListAvailableAgentTicketsResponse, error) // public method to fetch list of skills for a tickets user ListSkills(context.Context, *ListSkillsRequest) (*ListSkillsResponse, error) // public method to fetch list of users for a tickets user ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error) // contains filtered or unexported methods }
TicketsServer is the server API for Tickets service. All implementations must embed UnimplementedTicketsServer for forward compatibility
type UnimplementedTicketsServer ¶
type UnimplementedTicketsServer struct { }
UnimplementedTicketsServer must be embedded to have forward compatible implementations.
func (UnimplementedTicketsServer) AssignSelf ¶ added in v1.7.11
func (UnimplementedTicketsServer) AssignSelf(context.Context, *CreateSelfAssignReq) (*CreateSelfAssignRes, error)
func (UnimplementedTicketsServer) AssignTicket ¶
func (UnimplementedTicketsServer) AssignTicket(context.Context, *AssignTicketReq) (*AssignTicketRes, error)
func (UnimplementedTicketsServer) CloseTicket ¶
func (UnimplementedTicketsServer) CloseTicket(context.Context, *CloseTicketReq) (*CloseTicketRes, error)
func (UnimplementedTicketsServer) CreateComment ¶
func (UnimplementedTicketsServer) CreateComment(context.Context, *CreateCommentReq) (*CreateCommentRes, error)
func (UnimplementedTicketsServer) CreateSLA ¶
func (UnimplementedTicketsServer) CreateSLA(context.Context, *CreateSlaReq) (*CreateSlaRes, error)
func (UnimplementedTicketsServer) CreateTicket ¶
func (UnimplementedTicketsServer) CreateTicket(context.Context, *CreateTicketReq) (*CreateTicketRes, error)
func (UnimplementedTicketsServer) EditMaskTicket ¶ added in v1.7.21
func (UnimplementedTicketsServer) EditMaskTicket(context.Context, *EditMaskTicketReq) (*EditMaskTicketRes, error)
func (UnimplementedTicketsServer) EditTicket ¶
func (UnimplementedTicketsServer) EditTicket(context.Context, *EditTicketReq) (*EditTicketRes, error)
func (UnimplementedTicketsServer) EnableProject ¶
func (UnimplementedTicketsServer) EnableProject(context.Context, *EnableProjectReq) (*EnableProjectRes, error)
func (UnimplementedTicketsServer) ListAllocatedTickets ¶ added in v1.7.21
func (UnimplementedTicketsServer) ListAllocatedTickets(context.Context, *ListAllocatedTicketReq) (*ListAllocatedTicketRes, error)
func (UnimplementedTicketsServer) ListAvailableAgentTickets ¶ added in v1.7.25
func (UnimplementedTicketsServer) ListAvailableAgentTickets(context.Context, *ListAvailableAgentTicketsRequest) (*ListAvailableAgentTicketsResponse, error)
func (UnimplementedTicketsServer) ListEnabledProjects ¶
func (UnimplementedTicketsServer) ListEnabledProjects(context.Context, *ListEnabledProjectsReq) (*ListEnabledProjectsRes, error)
func (UnimplementedTicketsServer) ListSLA ¶
func (UnimplementedTicketsServer) ListSLA(context.Context, *ListSlaReq) (*ListSlaRes, error)
func (UnimplementedTicketsServer) ListSLACondition ¶
func (UnimplementedTicketsServer) ListSLACondition(context.Context, *ListSlaConditionReq) (*ListSlaConditionRes, error)
func (UnimplementedTicketsServer) ListSkills ¶ added in v1.7.25
func (UnimplementedTicketsServer) ListSkills(context.Context, *ListSkillsRequest) (*ListSkillsResponse, error)
func (UnimplementedTicketsServer) ListTicketAuditLog ¶
func (UnimplementedTicketsServer) ListTicketAuditLog(context.Context, *ListTicketAuditLogReq) (*ListTicketAuditLogRes, error)
func (UnimplementedTicketsServer) ListTickets ¶
func (UnimplementedTicketsServer) ListTickets(context.Context, *ListTicketsReq) (*ListTicketsRes, error)
func (UnimplementedTicketsServer) ListUsers ¶ added in v1.7.25
func (UnimplementedTicketsServer) ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
func (UnimplementedTicketsServer) ReplyComment ¶
func (UnimplementedTicketsServer) ReplyComment(context.Context, *ReplyCommentReq) (*ReplyCommentRes, error)
func (UnimplementedTicketsServer) UpdateSLA ¶
func (UnimplementedTicketsServer) UpdateSLA(context.Context, *UpdateSlaReq) (*UpdateSlaRes, error)
func (UnimplementedTicketsServer) ViewTicket ¶
func (UnimplementedTicketsServer) ViewTicket(context.Context, *ViewTicketReq) (*ViewTicketRes, error)
type UnsafeTicketsServer ¶
type UnsafeTicketsServer interface {
// contains filtered or unexported methods
}
UnsafeTicketsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TicketsServer will result in compilation errors.
type UpdateSlaReq ¶
type UpdateSlaReq struct { // sla_sid of the sla to be created. SlaSid int64 `protobuf:"varint,1,opt,name=sla_sid,json=slaSid,proto3" json:"sla_sid,omitempty"` // sla is_active IsActive int64 `protobuf:"varint,2,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` // contains filtered or unexported fields }
UpdateSlaReq -
func (*UpdateSlaReq) Descriptor
deprecated
func (*UpdateSlaReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSlaReq.ProtoReflect.Descriptor instead.
func (*UpdateSlaReq) GetIsActive ¶
func (x *UpdateSlaReq) GetIsActive() int64
func (*UpdateSlaReq) GetSlaSid ¶
func (x *UpdateSlaReq) GetSlaSid() int64
func (*UpdateSlaReq) ProtoMessage ¶
func (*UpdateSlaReq) ProtoMessage()
func (*UpdateSlaReq) ProtoReflect ¶
func (x *UpdateSlaReq) ProtoReflect() protoreflect.Message
func (*UpdateSlaReq) Reset ¶
func (x *UpdateSlaReq) Reset()
func (*UpdateSlaReq) String ¶
func (x *UpdateSlaReq) String() string
type UpdateSlaRes ¶
type UpdateSlaRes struct { TicketsSla *commons.TicketSla `protobuf:"bytes,1,opt,name=ticketsSla,proto3" json:"ticketsSla,omitempty"` // contains filtered or unexported fields }
ListSlaRes -
func (*UpdateSlaRes) Descriptor
deprecated
func (*UpdateSlaRes) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSlaRes.ProtoReflect.Descriptor instead.
func (*UpdateSlaRes) GetTicketsSla ¶
func (x *UpdateSlaRes) GetTicketsSla() *commons.TicketSla
func (*UpdateSlaRes) ProtoMessage ¶
func (*UpdateSlaRes) ProtoMessage()
func (*UpdateSlaRes) ProtoReflect ¶
func (x *UpdateSlaRes) ProtoReflect() protoreflect.Message
func (*UpdateSlaRes) Reset ¶
func (x *UpdateSlaRes) Reset()
func (*UpdateSlaRes) String ¶
func (x *UpdateSlaRes) String() string
type User ¶ added in v1.7.25
type User struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` FirstName string `protobuf:"bytes,2,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` LastName string `protobuf:"bytes,3,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
added in
v1.7.25
func (*User) GetFirstName ¶ added in v1.7.25
func (*User) GetLastName ¶ added in v1.7.25
func (*User) ProtoMessage ¶ added in v1.7.25
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶ added in v1.7.25
func (x *User) ProtoReflect() protoreflect.Message
type ViewTicketReq ¶
type ViewTicketReq struct { TicketSid int64 `protobuf:"varint,1,opt,name=ticket_sid,json=ticketSid,proto3" json:"ticket_sid,omitempty"` // contains filtered or unexported fields }
ViewTicketReq -
func (*ViewTicketReq) Descriptor
deprecated
func (*ViewTicketReq) Descriptor() ([]byte, []int)
Deprecated: Use ViewTicketReq.ProtoReflect.Descriptor instead.
func (*ViewTicketReq) GetTicketSid ¶
func (x *ViewTicketReq) GetTicketSid() int64
func (*ViewTicketReq) ProtoMessage ¶
func (*ViewTicketReq) ProtoMessage()
func (*ViewTicketReq) ProtoReflect ¶
func (x *ViewTicketReq) ProtoReflect() protoreflect.Message
func (*ViewTicketReq) Reset ¶
func (x *ViewTicketReq) Reset()
func (*ViewTicketReq) String ¶
func (x *ViewTicketReq) String() string
type ViewTicketRes ¶
type ViewTicketRes struct { Ticket *commons.Ticket `protobuf:"bytes,1,opt,name=ticket,proto3" json:"ticket,omitempty"` // ticket details Comments []*commons.Comment `protobuf:"bytes,2,rep,name=comments,proto3" json:"comments,omitempty"` // comments ReplyComment []*commons.ReplyComment `protobuf:"bytes,3,rep,name=reply_comment,json=replyComment,proto3" json:"reply_comment,omitempty"` // contains filtered or unexported fields }
ViewTicketRes -
func (*ViewTicketRes) Descriptor
deprecated
func (*ViewTicketRes) Descriptor() ([]byte, []int)
Deprecated: Use ViewTicketRes.ProtoReflect.Descriptor instead.
func (*ViewTicketRes) GetComments ¶
func (x *ViewTicketRes) GetComments() []*commons.Comment
func (*ViewTicketRes) GetReplyComment ¶
func (x *ViewTicketRes) GetReplyComment() []*commons.ReplyComment
func (*ViewTicketRes) GetTicket ¶
func (x *ViewTicketRes) GetTicket() *commons.Ticket
func (*ViewTicketRes) ProtoMessage ¶
func (*ViewTicketRes) ProtoMessage()
func (*ViewTicketRes) ProtoReflect ¶
func (x *ViewTicketRes) ProtoReflect() protoreflect.Message
func (*ViewTicketRes) Reset ¶
func (x *ViewTicketRes) Reset()
func (*ViewTicketRes) String ¶
func (x *ViewTicketRes) String() string