Versions in this module Expand all Collapse all v0 v0.6.0 Jul 5, 2019 Changes in this version + const TimeOfDayTimeRestriction + const WeekendAndTimeOfDayTimeRestriction + type ActionResult struct + Result Result + type ActionType string + const AcknowledgedAlertActionType + const AddNoteActionType + const AssignedAlertActionType + const ClosedAlertActionType + const CreateAlertActionType + const IncomingCallRoutingActionType + const ScheduleEndActionType + const ScheduleStartActionType + type Condition struct + ExpectedValue string + Field Field + Key string + Not bool + Operation Operation + Order int + type ConditionType string + const MatchAllConditionsType + const MatchAllType + const MatchAnyConditionsType + type Contact struct + Method Method + To string + type CreateNotificationRequest struct + ActionType ActionType + ApiKey string + Criteria Criteria + Enabled bool + Name string + NotificationTime []NotificationTime + Order int + Repeat Repeat + Schedules []Schedule + Steps []Step + TimeRestriction TimeRestriction + func (r *CreateNotificationRequest) GenerateUrl() (string, url.Values, error) + func (r *CreateNotificationRequest) GetApiKey() string + type CreateNotificationResponse struct + Notification Notification + type Criteria struct + Conditions []Condition + Type ConditionType + type Day string + const Friday + const Monday + const Saturday + const Sunday + const Thursday + const Tuesday + const Wednesday + type DeleteNotificationRequest struct + ApiKey string + func (r *DeleteNotificationRequest) GenerateUrl() (string, url.Values, error) + func (r *DeleteNotificationRequest) GetApiKey() string + type DeleteNotificationResponse struct + type DisableNotificationRequest struct + ApiKey string + func (r *DisableNotificationRequest) GenerateUrl() (string, url.Values, error) + func (r *DisableNotificationRequest) GetApiKey() string + type DisableNotificationResponse struct + type EnableNotificationRequest struct + ApiKey string + func (r *EnableNotificationRequest) GenerateUrl() (string, url.Values, error) + func (r *EnableNotificationRequest) GetApiKey() string + type EnableNotificationResponse struct + type Field string + const ActionsField + const AliasField + const DescriptionField + const EntityField + const ExtraPropertiesField + const MessageField + const RecipientsField + const SourceField + const TeamsField + type GetNotificationRequest struct + ApiKey string + func (r *GetNotificationRequest) GenerateUrl() (string, url.Values, error) + func (r *GetNotificationRequest) GetApiKey() string + type GetNotificationResponse struct + Notification *Notification + type Identifier struct + RuleID string + UserID string + Username string + func (request *Identifier) GenerateUrl() (string, url.Values, error) + type ListNotificationRequest struct + ApiKey string + func (r *ListNotificationRequest) GenerateUrl() (string, url.Values, error) + func (r *ListNotificationRequest) GetApiKey() string + type ListNotificationResponse struct + Notifications []Notification + type Method string + const EmailNotifyMethod + const MobileNotifyMethod + const SMSNotifyMethod + const VoiceNotifyMethod + type Notification struct + ActionType ActionType + Criteria Criteria + Enabled bool + ID string + Name string + NotificationTime []NotificationTime + Order int + Repeat Repeat + Schedules []Schedule + Steps []Step + TimeRestriction TimeRestriction + type NotificationTime string + const FifteenMinutesAgoNotificationTime + const JustBeforeNotificationTime + const OneDayAgoNotificationTime + const OneHourAgoNotificationTime + type Operation string + const ContainsConditionOperation + const EqualsConditionOperation + const EqualsIgnoreWhitespaceConditionOperation + const GreaterThanConditionOperation + const IsEmptyConditionOperation + const LessThanConditionOperation + const MatchesConditionOperation + const StartsWithConditionOperation + type Repeat struct + Enabled bool + LoopAfter int + 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 Restriction struct + EndDay Day + EndHour int + EndMin int + StartDay Day + StartHour int + StartMin int + type Result string + const DeletedResult + const DisableResult + const EnabledResult + type Schedule struct + ID string + Name string + Type string + type SendAfter struct + TimeAmount int + TimeUnit TimeUnit + type Step struct + Contact Contact + Enabled bool + ID string + SendAfter SendAfter + type TimeRestriction struct + Restriction Restriction + Restrictions []Restriction + Type TypeRestriction + type TimeUnit string + const Hours + const Minutes + const Seconds + type TypeRestriction string + type UpdateNotificationRequest struct + ApiKey string + Criteria Criteria + Enabled bool + Name string + NotificationTime []NotificationTime + Order int + Repeat Repeat + Schedules []Schedule + Steps []Step + TimeRestriction TimeRestriction + func (r *UpdateNotificationRequest) GenerateUrl() (string, url.Values, error) + func (r *UpdateNotificationRequest) GetApiKey() string + type UpdateNotificationResponse struct + Notification Notification