raw

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

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0, BSD-2-Clause, ISC, + 1 more Imports: 1 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               *string    `json:"id"`
	Description      *string    `json:"description"`
	ImpactedServices *[]string  `json:"impactedServices"`
	TinyId           *string    `json:"tinyId"`
	Message          *string    `json:"message"`
	Status           *string    `json:"status"`
	Tags             []any      `json:"tags"`
	CreatedAt        *time.Time `json:"createdAt"`
	UpdatedAt        *time.Time `json:"updatedAt"`
	Priority         *string    `json:"priority"`
	OwnerTeam        *string    `json:"ownerTeam"`
	Responders       *[]struct {
		Type *string `json:"type"`
		Id   *string `json:"id"`
	} `json:"responders"`
	ExtraProperties struct {
	} `json:"extraProperties"`
	Links struct {
		Web *string `json:"web"`
		Api *string `json:"api"`
	} `json:"links"`
	Actions *[]any `json:"actions"`
}

type Service

type Service struct {
	Id          string `json:"id"`
	Name        string `json:"name"`
	Description string `json:"description"`
	TeamId      string `json:"teamId"`
	Tags        []any  `json:"tags"`
	Links       struct {
		Web string `json:"web"`
		Api string `json:"api"`
	} `json:"links"`
	IsExternal bool `json:"isExternal"`
}

type Team

type Team struct {
	Id          *string `json:"id"`
	Name        *string `json:"name"`
	Description *string `json:"description"`
	Links       *struct {
		Web *string `json:"web"`
		API *string `json:"api"`
	} `json:"links"`
}

type User

type User struct {
	Blocked  *bool   `json:"blocked"`
	Verified *bool   `json:"verified"`
	Id       *string `json:"id"`
	Username *string `json:"username"`
	FullName *string `json:"fullName"`
	Role     *struct {
		Id   *string `json:"id"`
		Name *string `json:"name"`
	} `json:"role"`
	TimeZone    *string `json:"timeZone"`
	Locale      *string `json:"locale"`
	UserAddress *struct {
		Country *string `json:"country"`
		State   *string `json:"state"`
		City    *string `json:"city"`
		Line    *string `json:"line"`
		ZipCode *string `json:"zipCode"`
	} `json:"userAddress"`
	CreatedAt *time.Time `json:"createdAt"`
}

Jump to

Keyboard shortcuts

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