Documentation ¶
Index ¶
- type AcknowledgeAlertRequest
- type AcknowledgeAlertResponse
- type AddNoteAlertRequest
- type AddNoteAlertResponse
- type AddRecipientAlertRequest
- type AddRecipientAlertResponse
- type AddTeamAlertRequest
- type AddTeamAlertResponse
- type AssignOwnerAlertRequest
- type AssignOwnerAlertResponse
- type AttachFileAlertRequest
- type AttachFileAlertResponse
- type CloseAlertRequest
- type CloseAlertResponse
- type CreateAlertRequest
- type CreateAlertResponse
- type DeleteAlertRequest
- type DeleteAlertResponse
- type ExecuteActionAlertRequest
- type ExecuteActionAlertResponse
- type GetAlertRequest
- type GetAlertResponse
- func (res *GetAlertResponse) GetAckTime() int
- func (res *GetAlertResponse) GetAcknowledgedBy() string
- func (res *GetAlertResponse) GetCloseTime() int
- func (res *GetAlertResponse) GetClosedBy() string
- func (res *GetAlertResponse) GetIntegrationId() string
- func (res *GetAlertResponse) GetIntegrationName() string
- func (res *GetAlertResponse) GetIntegrationType() string
- type ListAlertLogsRequest
- type ListAlertLogsResponse
- type ListAlertNotesRequest
- type ListAlertNotesResponse
- type ListAlertRecipientsRequest
- type ListAlertRecipientsResponse
- type ListAlertsRequest
- type ListAlertsResponse
- type RenotifyAlertRequest
- type RenotifyAlertResponse
- type TakeOwnershipAlertRequest
- type TakeOwnershipAlertResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcknowledgeAlertRequest ¶
type AddNoteAlertRequest ¶
type AddNoteAlertResponse ¶
type AddRecipientAlertRequest ¶
type AddRecipientAlertRequest struct { ApiKey string `json:"apiKey,omitempty"` AlertId string `json:"alertId,omitempty"` Alias string `json:"alias,omitempty"` Recipient string `json:"recipient,omitempty"` User string `json:"user,omitempty"` Note string `json:"note,omitempty"` Source string `json:"source,omitempty"` }
type AddTeamAlertRequest ¶
type AddTeamAlertRequest struct { ApiKey string `json:"apiKey,omitempty"` AlertId string `json:"alertId,omitempty"` Alias string `json:"alias,omitempty"` Team string `json:"team,omitempty"` User string `json:"user,omitempty"` Note string `json:"note,omitempty"` Source string `json:"source,omitempty"` }
type AddTeamAlertResponse ¶
type AssignOwnerAlertRequest ¶
type AssignOwnerAlertRequest struct { ApiKey string `json:"apiKey,omitempty"` AlertId string `json:"alertId,omitempty"` Alias string `json:"alias,omitempty"` Owner string `json:"owner,omitempty"` User string `json:"user,omitempty"` Note string `json:"note,omitempty"` Source string `json:"source,omitempty"` }
type AttachFileAlertRequest ¶
type AttachFileAlertRequest struct { ApiKey string `json:"apiKey,omitempty"` AlertId string `json:"alertId,omitempty"` Alias string `json:"alias,omitempty"` Attachment string `json:"attachment,omitempty"` User string `json:"user,omitempty"` Source string `json:"source,omitempty"` IndexFile string `json:"indexFile,omitempty"` Note string `json:"note,omitempty"` }
type AttachFileAlertResponse ¶
type CloseAlertRequest ¶
type CloseAlertRequest struct { ApiKey string `json:"apiKey,omitempty"` AlertId string `json:"alertId,omitempty"` Alias string `json:"alias,omitempty"` User string `json:"user,omitempty"` Note string `json:"note,omitempty"` Notify []string `json:"notify,omitempty"` Source string `json:"source,omitempty"` }
type CloseAlertResponse ¶
type CreateAlertRequest ¶
type CreateAlertRequest struct { ApiKey string `json:"apiKey,omitempty"` Message string `json:"message,omitempty"` Teams []string `json:"teams,omitempty"` Alias string `json:"alias,omitempty"` Description string `json:"description,omitempty"` Recipients []string `json:"recipients,omitempty"` Actions []string `json:"actions,omitempty"` Source string `json:"source,omitempty"` Tags []string `json:"tags,omitempty"` Details []string `json:"details,omitempty"` Entity string `json:"entity,omitempty"` User string `json:"user,omitempty"` Note string `json:"note,omitempty"` }
type CreateAlertResponse ¶
type DeleteAlertRequest ¶
type DeleteAlertResponse ¶
type ExecuteActionAlertRequest ¶
type ExecuteActionAlertRequest struct { ApiKey string `json:"apiKey,omitempty"` AlertId string `json:"alertId,omitempty"` Alias string `json:"alias,omitempty"` Action string `json:"action,omitempty"` User string `json:"user,omitempty"` Source string `json:"source,omitempty"` Note string `json:"note,omitempty"` }
type GetAlertRequest ¶
type GetAlertResponse ¶
type GetAlertResponse struct { Tags []string `json:"tags"` Count int `json:"count"` Status string `json:"status"` Teams []string `json:"teams"` Recipients []string `json:"recipients"` TinyId string `json:"tinyId"` Alias string `json:"alias"` Entity string `json:"entity"` Id string `json:"id"` UpdatedAt int `json:"updatedAt"` Message string `json:"message"` Details map[string]string `json:"details"` Source string `json:"source"` Description string `json:"description"` CreatedAt int `json:"createdAt"` IsSeen bool `json:"isSeen"` Acknowledged bool `json:"acknowledged"` Owner string `json:"owner"` Actions []string `json:"actions"` SystemData map[string]string `json:"systemData"` }
func (*GetAlertResponse) GetAckTime ¶
func (res *GetAlertResponse) GetAckTime() int
func (*GetAlertResponse) GetAcknowledgedBy ¶
func (res *GetAlertResponse) GetAcknowledgedBy() string
func (*GetAlertResponse) GetCloseTime ¶
func (res *GetAlertResponse) GetCloseTime() int
func (*GetAlertResponse) GetClosedBy ¶
func (res *GetAlertResponse) GetClosedBy() string
func (*GetAlertResponse) GetIntegrationId ¶
func (res *GetAlertResponse) GetIntegrationId() string
func (*GetAlertResponse) GetIntegrationName ¶
func (res *GetAlertResponse) GetIntegrationName() string
func (*GetAlertResponse) GetIntegrationType ¶
func (res *GetAlertResponse) GetIntegrationType() string
type ListAlertLogsRequest ¶
type ListAlertLogsResponse ¶
type ListAlertNotesRequest ¶
type ListAlertNotesResponse ¶
type ListAlertRecipientsResponse ¶
type ListAlertRecipientsResponse struct { Users []struct { Username string `json:"username"` State string `json:"state"` Method string `json:"method"` StateChangedAt int `json:"stateChangedAt"` } `json:"users"` Groups []struct { Group map[string]struct { Username string `json:"username"` State string `json:"state"` Method string `json:"method"` StateChangedAt int `json:"stateChangedAt"` } } `json:"groups"` }
type ListAlertsRequest ¶
type ListAlertsRequest struct { ApiKey string `url:"apiKey,omitempty"` CreatedAfter int `url:"createdAfter,omitempty"` CreatedBefore int `url:"createdBefore,omitempty"` UpdatedAfter int `url:"updatedAfter,omitempty"` UpdatedBefore int `url:"updatedBefore,omitempty"` Limit int `url:"limit,omitempty"` Status string `url:"status,omitempty"` SortBy string `url:"sortBy,omitempty"` Order string `url:"order,omitempty"` }
type ListAlertsResponse ¶
type ListAlertsResponse struct { Alerts []struct { Id string `json:"id"` Alias string `json:"alias"` Message string `json:"message"` Status string `json:"status"` IsSeen bool `json:"isSeen"` Acknowledged bool `json:"acknowledged"` CreatedAt int `json:"createdAt"` UpdatedAt int `json:"updatedAt"` TinyId string `json:"tinyId"` } `json:"alerts"` }
type RenotifyAlertRequest ¶
type RenotifyAlertRequest struct { ApiKey string `json:"apiKey,omitempty"` AlertId string `json:"alertId,omitempty"` Alias string `json:"alias,omitempty"` Recipients []string `json:"recipients,omitempty"` User string `json:"user,omitempty"` Note string `json:"note,omitempty"` Source string `json:"source,omitempty"` }
type RenotifyAlertResponse ¶
Click to show internal directories.
Click to hide internal directories.