Versions in this module Expand all Collapse all v1 v1.4.0 Oct 4, 2023 Changes in this version + const Acknowledge + const AddNote + const Close + const Create + const Escalation + const Ignore + const Schedule + const Team + const User + type APIBasedIntegrationRequest struct + AllowWriteAccess *bool + IgnoreRespondersFromPayload *bool + Name string + OwnerTeam *og.OwnerTeam + Responders []Responder + SuppressNotifications *bool + Type string + func (r *APIBasedIntegrationRequest) Method() string + func (r *APIBasedIntegrationRequest) ResourcePath() string + func (r *APIBasedIntegrationRequest) Validate() error + type APIBasedIntegrationResult struct + ApiKey string + type AcknowledgeAction struct + Alias string + Note string + User string + type ActionType string + type ActionsResult struct + Acknowledge []IntegrationAction + AddNote []IntegrationAction + Close []IntegrationAction + Create []IntegrationAction + Ignore []IntegrationAction + Parent ParentIntegration + type AddNoteAction struct + Alias string + Note string + User string + type AuthenticateIntegrationRequest struct + Type string + func (r *AuthenticateIntegrationRequest) Method() string + func (r *AuthenticateIntegrationRequest) ResourcePath() string + func (r *AuthenticateIntegrationRequest) Validate() error + type AuthenticateResult struct + Result string + type Client struct + func NewClient(config *client.Config) (*Client, error) + func (c *Client) Authenticate(context context.Context, request *AuthenticateIntegrationRequest) (*AuthenticateResult, error) + func (c *Client) CreateActions(context context.Context, request *CreateIntegrationActionsRequest) (*ActionsResult, error) + func (c *Client) CreateApiBased(context context.Context, request *APIBasedIntegrationRequest) (*APIBasedIntegrationResult, error) + func (c *Client) CreateEmailBased(context context.Context, request *EmailBasedIntegrationRequest) (*EmailBasedIntegrationResult, error) + func (c *Client) CreateWebhook(context context.Context, request *WebhookIntegrationRequest) (*WebhookIntegrationResult, error) + func (c *Client) Delete(context context.Context, request *DeleteIntegrationRequest) (*DeleteResult, error) + func (c *Client) Disable(context context.Context, request *DisableIntegrationRequest) (*DisableResult, error) + func (c *Client) Enable(context context.Context, request *EnableIntegrationRequest) (*EnableResult, error) + func (c *Client) ForceUpdateAllFields(context context.Context, request *UpdateIntegrationRequest) (*UpdateResult, error) + func (c *Client) Get(context context.Context, request *GetRequest) (*GetResult, error) + func (c *Client) GetActions(context context.Context, request *GetIntegrationActionsRequest) (*ActionsResult, error) + func (c *Client) List(context context.Context) (*ListResult, error) + func (c *Client) UpdateAllActions(context context.Context, request *UpdateAllIntegrationActionsRequest) (*ActionsResult, error) + type CloseAction struct + Alias string + Note string + User string + type ConditionResult struct + ExpectedValue string + Field og.ConditionFieldType + IsNot bool + Key string + Operation og.ConditionOperation + Order *int + type CreateAction struct + AlertActions []string + Alias string + AppendAttachments bool + Description string + Entity string + ExtraProperties map[string]string + IgnoreAlertActionsFromPayload bool + IgnoreExtraPropertiesFromPayload bool + IgnoreRespondersFromPayload bool + IgnoreTagsFromPayload bool + Message string + Note string + Responders []Responder + Source string + Tags []string + User string + type CreateIntegrationActionsRequest struct + AlertActions []string + Alias string + AppendAttachments *bool + Description string + Entity string + ExtraProperties map[string]string + Filter *Filter + Id string + IgnoreAlertActionsFromPayload *bool + IgnoreExtraPropertiesFromPayload *bool + IgnoreRespondersFromPayload *bool + IgnoreTagsFromPayload *bool + Message string + Name string + Note string + Order int + Responders []Responder + Source string + Tags []string + Type ActionType + User string + func (r *CreateIntegrationActionsRequest) Method() string + func (r *CreateIntegrationActionsRequest) ResourcePath() string + func (r *CreateIntegrationActionsRequest) Validate() error + type DeleteIntegrationRequest struct + Id string + func (r *DeleteIntegrationRequest) Method() string + func (r *DeleteIntegrationRequest) ResourcePath() string + func (r *DeleteIntegrationRequest) Validate() error + type DeleteResult struct + Result string + type DisableIntegrationRequest struct + Id string + func (r *DisableIntegrationRequest) Method() string + func (r *DisableIntegrationRequest) ResourcePath() string + func (r *DisableIntegrationRequest) Validate() error + type DisableResult struct + type EmailBasedIntegrationRequest struct + EmailUsername string + IgnoreRespondersFromPayload *bool + Name string + OwnerTeam *og.OwnerTeam + Responders []Responder + SuppressNotifications *bool + Type string + func (r *EmailBasedIntegrationRequest) Method() string + func (r *EmailBasedIntegrationRequest) ResourcePath() string + func (r *EmailBasedIntegrationRequest) Validate() error + type EmailBasedIntegrationResult struct + EmailAddress string + type EnableIntegrationRequest struct + Id string + func (r *EnableIntegrationRequest) Method() string + func (r *EnableIntegrationRequest) ResourcePath() string + func (r *EnableIntegrationRequest) Validate() error + type EnableResult struct + type Filter struct + ConditionMatchType og.ConditionMatchType + Conditions []og.Condition + type FilterResult struct + ConditionMatchType og.ConditionMatchType + Conditions []ConditionResult + type GenericActionFields struct + Filter FilterResult + Name string + Order int + Type string + type GenericFields struct + Enabled bool + Id string + Name string + TeamId string + Type string + type GetIntegrationActionsRequest struct + Id string + func (r *GetIntegrationActionsRequest) Method() string + func (r *GetIntegrationActionsRequest) ResourcePath() string + func (r *GetIntegrationActionsRequest) Validate() error + type GetRequest struct + Id string + func (r *GetRequest) Method() string + func (r *GetRequest) ResourcePath() string + func (r *GetRequest) Validate() error + type GetResult struct + Data map[string]interface{} + type IgnoreAction struct + type IntegrationAction struct + AlertActions []string + Alias string + AppendAttachments *bool + CustomPriority string + Description string + Entity string + ExtraProperties map[string]string + Filter *Filter + IgnoreAlertActionsFromPayload *bool + IgnoreExtraPropertiesFromPayload *bool + IgnoreRespondersFromPayload *bool + IgnoreTagsFromPayload *bool + Message string + Name string + Note string + Order int + Priority string + Recipients []Responder + Responders []Responder + Source string + Tags []string + Type ActionType + User string + type ListResult struct + Integrations []GenericFields + type OtherFields map[string]interface + func (r OtherFields) Metadata(apiRequest client.ApiRequest) map[string]interface{} + func (r OtherFields) Method() string + func (r OtherFields) RequestParams() map[string]string + func (r OtherFields) ResourcePath() string + func (r OtherFields) Validate() error + type ParentIntegration struct + Enabled bool + Id string + Name string + Type string + type Responder struct + Id string + Name string + Type ResponderType + Username string + type ResponderType string + type UpdateAllIntegrationActionsRequest struct + Acknowledge []IntegrationAction + AddNote []IntegrationAction + Close []IntegrationAction + Create []IntegrationAction + Id string + Ignore []IntegrationAction + func (r *UpdateAllIntegrationActionsRequest) Method() string + func (r *UpdateAllIntegrationActionsRequest) ResourcePath() string + func (r *UpdateAllIntegrationActionsRequest) Validate() error + type UpdateIntegrationRequest struct + AddAlertDescription *bool + AddAlertDetails *bool + EmailUsername string + Enabled *bool + Headers map[string]string + Id string + IgnoreRespondersFromPayload *bool + Name string + OwnerTeam *og.OwnerTeam + Responders []Responder + SuppressNotifications *bool + Type string + WebhookUrl string + type UpdateResult struct + Data map[string]interface{} + type WebhookIntegrationRequest struct + AddAlertDescription *bool + AddAlertDetails *bool + AllowWriteAccess *bool + Headers map[string]string + Name string + OwnerTeam *og.OwnerTeam + Responders []Responder + SuppressNotifications *bool + Type string + WebhookUrl string + func (r *WebhookIntegrationRequest) Method() string + func (r *WebhookIntegrationRequest) ResourcePath() string + func (r *WebhookIntegrationRequest) Validate() error + type WebhookIntegrationResult struct + ApiKey string