Versions in this module Expand all Collapse all v0 v0.6.0 Jul 5, 2019 Changes in this version + type AcknowledgeRequest AlertActionRequest + func (r *AcknowledgeRequest) GenerateUrl() (string, url.Values, error) + func (r *AcknowledgeRequest) GetApiKey() string + type AddAlertAttachmentRequest struct + ApiKey string + AttachmentFileContent []byte + AttachmentFileName string + AttachmentFilePath string + IndexFile string + User string + func (r *AddAlertAttachmentRequest) GenerateUrl() (string, url.Values, error) + func (r *AddAlertAttachmentRequest) GetApiKey() string + type AddAlertAttachmentResponse struct + Result string + type AddDetailsRequest struct + ApiKey string + Details map[string]string + Note string + Source string + User string + func (r *AddDetailsRequest) GenerateUrl() (string, url.Values, error) + func (r *AddDetailsRequest) GetApiKey() string + type AddNoteRequest AlertActionRequest + func (r *AddNoteRequest) GenerateUrl() (string, url.Values, error) + func (r *AddNoteRequest) GetApiKey() string + type AddTagsToAlertRequest struct + ApiKey string + Note string + Source string + Tags []string + User string + func (r *AddTagsToAlertRequest) GenerateUrl() (string, url.Values, error) + func (r *AddTagsToAlertRequest) GetApiKey() string + type AddTeamToAlertRequest struct + ApiKey string + Note string + Source string + Team Team + User string + func (r *AddTeamToAlertRequest) GenerateUrl() (string, url.Values, error) + func (r *AddTeamToAlertRequest) GetApiKey() string + type Alert struct + Acknowledged bool + Alias string + Count int + CreatedAt time.Time + ID string + Integration Integration + IsSeen bool + LastOccurredAt time.Time + Message string + Owner string + Priority Priority + Report Report + Snoozed bool + SnoozedUntil time.Time + Source string + Status string + Tags []string + Teams []TeamMeta + TinyID string + UpdatedAt time.Time + type AlertActionRequest struct + ApiKey string + Note string + Source string + User string + func (r *AlertActionRequest) GetApiKey() string + type AlertAttachmentMeta struct + Id int64 + Name string + type AlertLog struct + CreatedAt time.Time + Log string + Offset string + Owner string + Type string + type AlertNote struct + CreatedAt time.Time + Note string + Offset string + Owner string + type AlertRecipient struct + CreatedAt time.Time + Method string + State string + UpdatedAt time.Time + User User + type AssignAlertRequest struct + ApiKey string + Note string + Owner User + Source string + User string + func (r *AssignAlertRequest) GenerateUrl() (string, url.Values, error) + func (r *AssignAlertRequest) GetApiKey() string + type AttachmentAlertIdentifier struct + Alias string + ID string + TinyID string + func (request *AttachmentAlertIdentifier) GenerateUrl() (string, url.Values, error) + type AttachmentResponse struct + DownloadLink string + Name string + type CloseRequest AlertActionRequest + func (r *CloseRequest) GenerateUrl() (string, url.Values, error) + func (r *CloseRequest) GetApiKey() string + type CreateAlertRequest struct + Actions []string + Alias string + ApiKey string + Description string + Details map[string]string + Entity string + Message string + Note string + Priority Priority + Source string + Tags []string + Teams []TeamRecipient + User string + VisibleTo []Recipient + func (r *CreateAlertRequest) GenerateUrl() (string, url.Values, error) + func (r *CreateAlertRequest) GetApiKey() string + func (r *CreateAlertRequest) Init() + type DeleteAlertAttachmentRequest struct + ApiKey string + AttachmentId string + func (r *DeleteAlertAttachmentRequest) GenerateUrl() (string, url.Values, error) + func (r *DeleteAlertAttachmentRequest) GetApiKey() string + type DeleteAlertAttachmentResponse struct + Result string + type DeleteAlertRequest struct + ApiKey string + Source string + User string + func (r *DeleteAlertRequest) GenerateUrl() (string, url.Values, error) + func (r *DeleteAlertRequest) GetApiKey() string + type DetailedAlert struct + Actions []string + Description string + Details map[string]string + Entity string + type DetailedAlertResponse struct + Alert DetailedAlert + type Direction string + const Next + const Prev + type EscalateToNextRequest struct + ApiKey string + Escalation Escalation + Note string + Source string + User string + func (r *EscalateToNextRequest) GenerateUrl() (string, url.Values, error) + func (r *EscalateToNextRequest) GetApiKey() string + type Escalation struct + ID string + Name string + type ExecuteCustomActionRequest struct + ActionName string + ApiKey string + Note string + Source string + User string + func (r *ExecuteCustomActionRequest) GenerateUrl() (string, url.Values, error) + func (r *ExecuteCustomActionRequest) GetApiKey() string + type GetAlertAttachmentRequest struct + ApiKey string + AttachmentId string + func (r *GetAlertAttachmentRequest) GenerateUrl() (string, url.Values, error) + func (r *GetAlertAttachmentRequest) GetApiKey() string + type GetAlertAttachmentResponse struct + Attachment AttachmentResponse + type GetAlertRequest struct + ApiKey string + func (r *GetAlertRequest) GetApiKey() string + type GetAsyncRequestStatusRequest struct + ApiKey string + RequestID string + func (r *GetAsyncRequestStatusRequest) GenerateUrl() (string, url.Values, error) + func (r *GetAsyncRequestStatusRequest) GetApiKey() string + type GetAsyncRequestStatusResponse struct + Status RequestStatus + type Identifier struct + Alias string + ID string + TinyID string + func (request *Identifier) GenerateUrl() (string, url.Values, error) + type Integration struct + ID string + Name string + Type string + type LisSavedSearchRequest struct + ApiKey string + func (r *LisSavedSearchRequest) GenerateUrl() (string, url.Values, error) + func (r *LisSavedSearchRequest) GetApiKey() string + type ListAlertAttachmentRequest struct + ApiKey string + func (r *ListAlertAttachmentRequest) GenerateUrl() (string, url.Values, error) + func (r *ListAlertAttachmentRequest) GetApiKey() string + type ListAlertAttachmentsResponse struct + AlertAttachments []AlertAttachmentMeta + type ListAlertLogsRequest struct + ApiKey string + Direction Direction + Limit int + Offset string + Order Order + func (r *ListAlertLogsRequest) GenerateUrl() (string, url.Values, error) + func (r *ListAlertLogsRequest) GetApiKey() string + type ListAlertLogsResponse struct + AlertLogs []AlertLog + type ListAlertNotesRequest struct + ApiKey string + Direction Direction + Limit int + Offset string + Order Order + func (r *ListAlertNotesRequest) GenerateUrl() (string, url.Values, error) + func (r *ListAlertNotesRequest) GetApiKey() string + type ListAlertNotesResponse struct + AlertNotes []AlertNote + type ListAlertRecipientsRequest struct + ApiKey string + func (r *ListAlertRecipientsRequest) GenerateUrl() (string, url.Values, error) + func (r *ListAlertRecipientsRequest) GetApiKey() string + type ListAlertRecipientsResponse struct + Recipients []AlertRecipient + type ListAlertRequest struct + ApiKey string + Limit int + Offset int + Order Order + Query string + SearchIdentifier string + SearchIdentifierType SearchIdentifierType + Sort SortField + func (r *ListAlertRequest) GetApiKey() string + func (request *ListAlertRequest) GenerateUrl() (string, url.Values, error) + type ListAlertResponse struct + Alerts []Alert + type Order string + const Asc + const Desc + type Priority string + const P1 + const P2 + const P3 + const P4 + const P5 + type Recipient interface + SetID func(id string) + type RecipientDTO struct + Id string + Name string + Type string + Username string + func (r *RecipientDTO) SetID(id string) + func (r *RecipientDTO) SetName(id string) + type RemoveDetailsRequest struct + ApiKey string + Keys []string + Note string + Source string + User string + func (r *RemoveDetailsRequest) GenerateUrl() (string, url.Values, error) + func (r *RemoveDetailsRequest) GetApiKey() string + type RemoveTagsRequest struct + ApiKey string + Note string + Source string + Tags []string + User string + func (r *RemoveTagsRequest) GenerateUrl() (string, url.Values, error) + func (r *RemoveTagsRequest) GetApiKey() string + type Report struct + AckTime int32 + AcknowledgedBy string + CloseTime int32 + ClosedBy string + type RequestStatus struct + Action string + AlertID string + Alias string + IntegrationId string + IsSuccess bool + ProcessedAt time.Time + Status string + type ResponseMeta struct + RateLimitState string + RequestID string + ResponseTime float32 + func (rm *ResponseMeta) SetRateLimitState(state string) + func (rm *ResponseMeta) SetRequestID(requestID string) + func (rm *ResponseMeta) SetResponseTime(responseTime float32) + type SearchIdentifierType string + const ID + const Name + type SnoozeRequest struct + EndTime time.Time + func (r *SnoozeRequest) GenerateUrl() (string, url.Values, error) + func (r *SnoozeRequest) GetApiKey() string + type SortField string + const AckTime + const Acknowledged + const AcknowledgedBy + const Alias + const CloseTime + const ClosedBy + const Count + const CreatedAt + const IntegrationName + const IntegrationType + const IsSeen + const LastOccurredAt + const Message + const Owner + const Snoozed + const SnoozedUntil + const Source + const Status + const TinyId + const UpdatedAt + type Team struct + ID string + Name string + func (t *Team) SetID(id string) + func (t *Team) SetName(name string) + type TeamMeta struct + ID string + type TeamRecipient interface + SetID func(id string) + SetName func(name string) + type UnacknowledgeRequest AlertActionRequest + func (r *UnacknowledgeRequest) GenerateUrl() (string, url.Values, error) + func (r *UnacknowledgeRequest) GetApiKey() string + type User struct + ID string + Username string + func (u *User) SetID(id string) + func (u *User) SetUsername(username string)