graphql

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivitiesResponse

type ActivitiesResponse struct {
	Activities []*Activity `json:"activities"`
	TotalCount int         `json:"totalCount"`
}

type Activity

type Activity struct {
	ID        string         `json:"id"`
	Type      string         `json:"type"`
	UserID    *string        `json:"userID,omitempty"`
	AlertID   *string        `json:"alertID,omitempty"`
	TicketID  *string        `json:"ticketID,omitempty"`
	CommentID *string        `json:"commentID,omitempty"`
	CreatedAt string         `json:"createdAt"`
	Metadata  *string        `json:"metadata,omitempty"`
	User      *User          `json:"user,omitempty"`
	Alert     *alert.Alert   `json:"alert,omitempty"`
	Ticket    *ticket.Ticket `json:"ticket,omitempty"`
}

type AlertAttribute

type AlertAttribute struct {
	Key   string  `json:"key"`
	Value string  `json:"value"`
	Link  *string `json:"link,omitempty"`
	Auto  bool    `json:"auto"`
}

type CommentsResponse

type CommentsResponse struct {
	Comments   []*ticket.Comment `json:"comments"`
	TotalCount int               `json:"totalCount"`
}

type DashboardStats

type DashboardStats struct {
	OpenTicketsCount   int              `json:"openTicketsCount"`
	UnboundAlertsCount int              `json:"unboundAlertsCount"`
	OpenTickets        []*ticket.Ticket `json:"openTickets"`
	UnboundAlerts      []*alert.Alert   `json:"unboundAlerts"`
}

type Mutation

type Mutation struct {
}

type Query

type Query struct {
}

type TicketsResponse

type TicketsResponse struct {
	Tickets    []*ticket.Ticket `json:"tickets"`
	TotalCount int              `json:"totalCount"`
}

type User

type User struct {
	ID   string `json:"id"`
	Name string `json:"name"`
}

Jump to

Keyboard shortcuts

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