graphql

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 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 AlertCluster added in v0.1.0

type AlertCluster struct {
	ID          string         `json:"id"`
	CenterAlert *alert.Alert   `json:"centerAlert"`
	Alerts      []*alert.Alert `json:"alerts"`
	Size        int            `json:"size"`
	Keywords    []string       `json:"keywords,omitempty"`
	CreatedAt   string         `json:"createdAt"`
}

type AlertsConnection added in v0.1.0

type AlertsConnection struct {
	Alerts     []*alert.Alert `json:"alerts"`
	TotalCount int            `json:"totalCount"`
}

type AlertsResponse added in v0.1.0

type AlertsResponse struct {
	Alerts     []*alert.Alert `json:"alerts"`
	TotalCount int            `json:"totalCount"`
}

type ClusteringSummary added in v0.1.0

type ClusteringSummary struct {
	Clusters    []*AlertCluster   `json:"clusters"`
	NoiseAlerts []*alert.Alert    `json:"noiseAlerts"`
	Parameters  *DBSCANParameters `json:"parameters"`
	ComputedAt  string            `json:"computedAt"`
	TotalCount  int               `json:"totalCount"`
}

type CommentsResponse

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

type DBSCANParameters added in v0.1.0

type DBSCANParameters struct {
	Eps        float64 `json:"eps"`
	MinSamples int     `json:"minSamples"`
}

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 TagMetadata added in v0.2.0

type TagMetadata struct {
	ID          string  `json:"id"`
	Name        string  `json:"name"`
	Description *string `json:"description,omitempty"`
	Color       string  `json:"color"`
	CreatedAt   string  `json:"createdAt"`
	UpdatedAt   string  `json:"updatedAt"`
}

type TagObject added in v0.2.0

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

type TicketsResponse

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

type UpdateTagInput added in v0.2.0

type UpdateTagInput struct {
	ID          string  `json:"id"`
	Name        string  `json:"name"`
	Color       string  `json:"color"`
	Description *string `json:"description,omitempty"`
}

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