incidents

package
v0.0.0-...-1a3a2fa Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Incident

type Incident struct {
	ID          uuid.UUID          `json:"id"`
	OwnerID     users.UserID       `json:"-"`
	Owner       string             `json:"owner"`
	Name        string             `json:"name"`
	Description *string            `json:"description,omitempty"`
	CreatedAt   *jsontypes.Time    `json:"createdAt"`
	StartTime   *jsontypes.Time    `json:"startTime,omitempty"`
	EndTime     *jsontypes.Time    `json:"endTime,omitempty"`
	Location    jsontypes.Location `json:"location,omitzero"`
	Metadata    jsontypes.Metadata `json:"metadata,omitempty"`
	Calls       []IncidentCall     `json:"calls,omitempty"`
}

func (*Incident) GetResourceName

func (inc *Incident) GetResourceName() string

func (*Incident) PlaylistFilename

func (inc *Incident) PlaylistFilename() string

func (*Incident) SetShareURL

func (inc *Incident) SetShareURL(bu url.URL, shareID string)

type IncidentCall

type IncidentCall struct {
	calls.Call
	Notes json.RawMessage `json:"notes,omitempty"`
}

type IncidentCalls

type IncidentCalls struct {
	Calls []IncidentCall `json:"calls"`
	Count int            `json:"count"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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