opsgenie_sdk 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +7 -0
- data/README.md +836 -0
- data/Rakefile +8 -0
- data/docs/AccountApi.md +57 -0
- data/docs/AccountInfo.md +10 -0
- data/docs/AccountPlan.md +10 -0
- data/docs/AckIntegrationAction.md +14 -0
- data/docs/AcknowledgeAlertPayload.md +10 -0
- data/docs/ActionCategorized.md +13 -0
- data/docs/ActionMapping.md +11 -0
- data/docs/AddDetailsToAlertPayload.md +11 -0
- data/docs/AddNoteIntegrationAction.md +14 -0
- data/docs/AddNoteToAlertPayload.md +10 -0
- data/docs/AddResponderToAlertPayload.md +11 -0
- data/docs/AddTagsToAlertPayload.md +11 -0
- data/docs/AddTeamMemberPayload.md +9 -0
- data/docs/AddTeamToAlertPayload.md +11 -0
- data/docs/AirbrakeIntegration.md +14 -0
- data/docs/Alert.md +31 -0
- data/docs/AlertActionPayload.md +10 -0
- data/docs/AlertApi.md +2161 -0
- data/docs/AlertAttachment.md +9 -0
- data/docs/AlertAttachmentMeta.md +9 -0
- data/docs/AlertFilter.md +9 -0
- data/docs/AlertIntegration.md +10 -0
- data/docs/AlertLog.md +12 -0
- data/docs/AlertLogicIntegration.md +14 -0
- data/docs/AlertNote.md +11 -0
- data/docs/AlertPaging.md +9 -0
- data/docs/AlertPolicy.md +31 -0
- data/docs/AlertRecipient.md +12 -0
- data/docs/AlertReport.md +11 -0
- data/docs/AlertRequestStatus.md +14 -0
- data/docs/AlertSiteIntegration.md +14 -0
- data/docs/AlertTeamMeta.md +8 -0
- data/docs/AlertUserMeta.md +9 -0
- data/docs/AllRecipient.md +9 -0
- data/docs/AmazonCloudTrailIntegration.md +14 -0
- data/docs/AmazonEc2AutoScalingIntegration.md +14 -0
- data/docs/AmazonRdsIntegration.md +14 -0
- data/docs/AmazonRoute53HealthCheckIntegration.md +14 -0
- data/docs/AmazonSecurityHubIntegration.md +14 -0
- data/docs/AmazonSesIntegration.md +14 -0
- data/docs/AmazonSnsCallback.md +14 -0
- data/docs/AmazonSnsIntegration.md +14 -0
- data/docs/AmazonSnsOutgoingIntegration.md +14 -0
- data/docs/ApiIntegration.md +34 -0
- data/docs/ApicaIntegration.md +14 -0
- data/docs/ApimetricsIntegration.md +14 -0
- data/docs/AppDynamicsIntegration.md +14 -0
- data/docs/AppOpticsIntegration.md +14 -0
- data/docs/AppSignalIntegration.md +14 -0
- data/docs/AppSignalV2Integration.md +14 -0
- data/docs/AssignAlertPayload.md +11 -0
- data/docs/AtatusIntegration.md +14 -0
- data/docs/AtlassianBambooIntegration.md +14 -0
- data/docs/AuthenticateIntegrationPayload.md +8 -0
- data/docs/AutoCloseAction.md +8 -0
- data/docs/AutoRestartAction.md +9 -0
- data/docs/AutoTaskEmailIntegration.md +14 -0
- data/docs/AutotaskAEMEmailIntegration.md +14 -0
- data/docs/AzureAutoScaleIntegration.md +14 -0
- data/docs/AzureIntegration.md +14 -0
- data/docs/AzureOMSIntegration.md +14 -0
- data/docs/AzureResourceHealthIntegration.md +14 -0
- data/docs/AzureServiceHealthIntegration.md +14 -0
- data/docs/BMCFootPrintsV11Callback.md +19 -0
- data/docs/BMCFootPrintsV11Integration.md +33 -0
- data/docs/BMCFootPrintsV12Callback.md +18 -0
- data/docs/BMCFootPrintsV12Integration.md +33 -0
- data/docs/BMCRemedyCallback.md +18 -0
- data/docs/BMCRemedyForceIntegration.md +14 -0
- data/docs/BMCRemedyIntegration.md +33 -0
- data/docs/BMCRemedyOnDemandCallback.md +16 -0
- data/docs/BMCRemedyOnDemandIntegration.md +14 -0
- data/docs/BaseAlert.md +27 -0
- data/docs/BaseIncident.md +21 -0
- data/docs/BaseIncomingFeature.md +22 -0
- data/docs/BaseIntegrationAction.md +11 -0
- data/docs/BaseResponse.md +9 -0
- data/docs/BaseResponseWithExpandable.md +10 -0
- data/docs/BaseWebhookCallback.md +16 -0
- data/docs/BidirectionalCallback.md +12 -0
- data/docs/BidirectionalCallbackNew.md +14 -0
- data/docs/BigPandaIntegration.md +14 -0
- data/docs/BitbucketIntegration.md +14 -0
- data/docs/BlueMatadorIntegration.md +14 -0
- data/docs/BoundaryIntegration.md +14 -0
- data/docs/CallbackCondition.md +12 -0
- data/docs/CampfireCallback.md +14 -0
- data/docs/CampfireIntegration.md +14 -0
- data/docs/CatchpointIntegration.md +14 -0
- data/docs/ChangeNotificationRuleOrderPayload.md +8 -0
- data/docs/ChangePolicyOrderPayload.md +8 -0
- data/docs/ChangeTeamRoutingRuleOrderPayload.md +8 -0
- data/docs/CheckMKIntegration.md +14 -0
- data/docs/CherwellCallback.md +18 -0
- data/docs/CherwellIntegration.md +33 -0
- data/docs/CircleCiIntegration.md +14 -0
- data/docs/CirconusCallback.md +15 -0
- data/docs/CirconusIntegration.md +33 -0
- data/docs/CloseAlertPayload.md +10 -0
- data/docs/CloseIncidentPayload.md +8 -0
- data/docs/CloseIntegrationAction.md +14 -0
- data/docs/CloudMonixIntegration.md +14 -0
- data/docs/CloudSploitIntegration.md +14 -0
- data/docs/CloudWatchEventsIntegration.md +14 -0
- data/docs/CloudWatchIntegration.md +14 -0
- data/docs/CodeshipIntegration.md +14 -0
- data/docs/CommonIntegrationAction.md +14 -0
- data/docs/ComposeIntegration.md +14 -0
- data/docs/Condition.md +13 -0
- data/docs/ConnectWiseAutomateIntegration.md +14 -0
- data/docs/ConnectWiseCallback.md +13 -0
- data/docs/ConnectWiseIntegration.md +33 -0
- data/docs/ConnectWiseManageCallback.md +20 -0
- data/docs/ConnectWiseManageIntegration.md +33 -0
- data/docs/ConnectWiseManageV2Callback.md +22 -0
- data/docs/ConnectWiseManageV2Integration.md +33 -0
- data/docs/ConsulIntegration.md +14 -0
- data/docs/Contact.md +11 -0
- data/docs/ContactApi.md +416 -0
- data/docs/ContactMeta.md +9 -0
- data/docs/ContactStatus.md +9 -0
- data/docs/ContactWithApplyOrder.md +12 -0
- data/docs/CopperEggIntegration.md +14 -0
- data/docs/CrashlyticsIntegration.md +14 -0
- data/docs/CreateAlertPayload.md +20 -0
- data/docs/CreateContactPayload.md +9 -0
- data/docs/CreateCustomUserRolePayload.md +11 -0
- data/docs/CreateEscalationPayload.md +12 -0
- data/docs/CreateForwardingRulePayload.md +12 -0
- data/docs/CreateForwardingRuleResponse.md +10 -0
- data/docs/CreateHeartbeatPayload.md +7 -0
- data/docs/CreateHeartbeatResponse.md +10 -0
- data/docs/CreateIncidentPayload.md +17 -0
- data/docs/CreateIntegrationAction.md +32 -0
- data/docs/CreateIntegrationActionsResponse.md +10 -0
- data/docs/CreateIntegrationResponse.md +10 -0
- data/docs/CreateMaintenancePayload.md +10 -0
- data/docs/CreateMaintenanceResponse.md +10 -0
- data/docs/CreateNotificationRulePayload.md +17 -0
- data/docs/CreateNotificationRuleResponse.md +10 -0
- data/docs/CreateNotificationRuleStepPayload.md +10 -0
- data/docs/CreatePolicyResponse.md +10 -0
- data/docs/CreateSavedSearchPayload.md +12 -0
- data/docs/CreateSavedSearchResponse.md +10 -0
- data/docs/CreateScheduleOverridePayload.md +12 -0
- data/docs/CreateScheduleOverrideResponse.md +10 -0
- data/docs/CreateSchedulePayload.md +13 -0
- data/docs/CreateScheduleResponse.md +10 -0
- data/docs/CreateScheduleRotationPayload.md +14 -0
- data/docs/CreateTeamPayload.md +10 -0
- data/docs/CreateTeamRolePayload.md +9 -0
- data/docs/CreateTeamRoutingRulePayload.md +13 -0
- data/docs/CreateUserPayload.md +17 -0
- data/docs/CustomUserRole.md +12 -0
- data/docs/CustomUserRoleApi.md +291 -0
- data/docs/DatadogCallback.md +16 -0
- data/docs/DatadogIntegration.md +33 -0
- data/docs/DataloopIOIntegration.md +14 -0
- data/docs/DeduplicationAction.md +10 -0
- data/docs/DelayAction.md +11 -0
- data/docs/DeprecatedAlertPolicy.md +14 -0
- data/docs/DeprecatedAlertPolicyMeta.md +12 -0
- data/docs/DeprecatedAutoCloseAlertPolicy.md +15 -0
- data/docs/DeprecatedAutoRestartNotificationsAlertPolicy.md +16 -0
- data/docs/DeprecatedChangeAlertPolicyOrderPayload.md +8 -0
- data/docs/DeprecatedCreateAlertPolicyResponse.md +10 -0
- data/docs/DeprecatedGetAlertPolicyResponse.md +10 -0
- data/docs/DeprecatedListAlertPoliciesResponse.md +10 -0
- data/docs/DeprecatedModifyAlertPolicy.md +30 -0
- data/docs/DeprecatedNotificationDeduplicationAlertPolicy.md +17 -0
- data/docs/DeprecatedNotificationDelayAlertPolicy.md +18 -0
- data/docs/DeprecatedNotificationRenotifyAlertPolicy.md +14 -0
- data/docs/DeprecatedNotificationSuppressAlertPolicy.md +14 -0
- data/docs/DeprecatedPolicyApi.md +448 -0
- data/docs/DeskCallback.md +17 -0
- data/docs/DeskIntegration.md +33 -0
- data/docs/DetectifyIntegration.md +14 -0
- data/docs/DisableHeartbeatResponse.md +10 -0
- data/docs/DisableIntegrationResponse.md +10 -0
- data/docs/DnsCheckIntegration.md +14 -0
- data/docs/DripStatIntegration.md +14 -0
- data/docs/Duration.md +9 -0
- data/docs/DynatraceAppMonCallback.md +18 -0
- data/docs/DynatraceAppMonIntegration.md +33 -0
- data/docs/DynatraceIntegration.md +14 -0
- data/docs/DynatraceV2Integration.md +14 -0
- data/docs/EmailBasedIncomingFeature.md +24 -0
- data/docs/EmailIntegration.md +14 -0
- data/docs/EnableHeartbeatResponse.md +10 -0
- data/docs/EnableIntegrationResponse.md +10 -0
- data/docs/ErrorResponse.md +12 -0
- data/docs/ErrorceptionIntegration.md +14 -0
- data/docs/EscalateAlertToNextPayload.md +11 -0
- data/docs/Escalation.md +13 -0
- data/docs/EscalationApi.md +291 -0
- data/docs/EscalationRecipient.md +10 -0
- data/docs/EscalationRepeat.md +11 -0
- data/docs/EscalationRule.md +11 -0
- data/docs/EvidentIOIntegration.md +14 -0
- data/docs/ExecuteCustomAlertActionPayload.md +10 -0
- data/docs/Filter.md +8 -0
- data/docs/FlockCallback.md +16 -0
- data/docs/FlockIntegration.md +14 -0
- data/docs/FlowdockCallback.md +13 -0
- data/docs/FlowdockIntegration.md +14 -0
- data/docs/FlowdockV2Callback.md +11 -0
- data/docs/FlowdockV2Integration.md +14 -0
- data/docs/ForwardingRule.md +13 -0
- data/docs/ForwardingRuleApi.md +292 -0
- data/docs/ForwardingRuleMeta.md +9 -0
- data/docs/FreshdeskCallback.md +16 -0
- data/docs/FreshdeskIntegration.md +33 -0
- data/docs/FreshserviceCallback.md +17 -0
- data/docs/FreshserviceIntegration.md +33 -0
- data/docs/GetAccountInfoResponse.md +10 -0
- data/docs/GetAlertAttachmentResponse.md +10 -0
- data/docs/GetAlertResponse.md +10 -0
- data/docs/GetContactResponse.md +10 -0
- data/docs/GetCountAlertsResponse.md +10 -0
- data/docs/GetCountAlertsResponseData.md +8 -0
- data/docs/GetCustomUserRoleResponse.md +10 -0
- data/docs/GetEscalationResponse.md +10 -0
- data/docs/GetForwardingRuleResponse.md +10 -0
- data/docs/GetHeartbeatResponse.md +10 -0
- data/docs/GetIncidentRequestStatusResponse.md +10 -0
- data/docs/GetIncidentResponse.md +10 -0
- data/docs/GetIntegrationResponse.md +10 -0
- data/docs/GetMaintenanceResponse.md +10 -0
- data/docs/GetNextOnCallResponse.md +10 -0
- data/docs/GetNotificationRuleResponse.md +10 -0
- data/docs/GetNotificationRuleStepResponse.md +10 -0
- data/docs/GetOnCallResponse.md +10 -0
- data/docs/GetPolicyResponse.md +10 -0
- data/docs/GetRequestStatusResponse.md +10 -0
- data/docs/GetSavedSearchResponse.md +10 -0
- data/docs/GetScheduleOverrideResponse.md +10 -0
- data/docs/GetScheduleResponse.md +10 -0
- data/docs/GetScheduleRotationResponse.md +10 -0
- data/docs/GetScheduleTimelineResponse.md +11 -0
- data/docs/GetTeamResponse.md +10 -0
- data/docs/GetTeamRoleResponse.md +10 -0
- data/docs/GetTeamRoutingRuleResponse.md +10 -0
- data/docs/GetUserResponse.md +11 -0
- data/docs/GhostInspectorIntegration.md +14 -0
- data/docs/GitHubIntegration.md +14 -0
- data/docs/GitLabIntegration.md +14 -0
- data/docs/GoogleStackDriverIntegration.md +14 -0
- data/docs/GrafanaIntegration.md +14 -0
- data/docs/GrafanaV2Integration.md +14 -0
- data/docs/GraylogIntegration.md +14 -0
- data/docs/GroupRecipient.md +10 -0
- data/docs/HPServiceManagerCallback.md +16 -0
- data/docs/HPServiceManagerIntegration.md +33 -0
- data/docs/Heartbeat.md +14 -0
- data/docs/HeartbeatApi.md +446 -0
- data/docs/HeartbeatIntegration.md +14 -0
- data/docs/HeartbeatMeta.md +10 -0
- data/docs/HipChatAddOnCallback.md +16 -0
- data/docs/HipChatAddOnIntegration.md +44 -0
- data/docs/HipChatCallbackV2.md +16 -0
- data/docs/HipChatIntegration.md +14 -0
- data/docs/HipChatIntegrationV2.md +33 -0
- data/docs/HoneybadgerIntegration.md +14 -0
- data/docs/HostedGraphiteIntegration.md +14 -0
- data/docs/HumioIntegration.md +14 -0
- data/docs/Icinga2Callback.md +14 -0
- data/docs/Icinga2Integration.md +33 -0
- data/docs/IcingaCallback.md +14 -0
- data/docs/IcingaIntegration.md +33 -0
- data/docs/IgnoreIntegrationAction.md +11 -0
- data/docs/Incident.md +22 -0
- data/docs/IncidentActionPayload.md +8 -0
- data/docs/IncidentApi.md +362 -0
- data/docs/IncidentRequestStatus.md +14 -0
- data/docs/IncomingCallIntegration.md +14 -0
- data/docs/InstanaIntegration.md +14 -0
- data/docs/Integration.md +14 -0
- data/docs/IntegrationActionApi.md +179 -0
- data/docs/IntegrationActionFilter.md +9 -0
- data/docs/IntegrationApi.md +456 -0
- data/docs/IntegrationCondition.md +11 -0
- data/docs/IntegrationMeta.md +12 -0
- data/docs/JenkinsIntegration.md +14 -0
- data/docs/JiraCallback.md +19 -0
- data/docs/JiraIntegration.md +33 -0
- data/docs/JiraServiceDeskCallback.md +19 -0
- data/docs/JiraServiceDeskIntegration.md +33 -0
- data/docs/KapacitorIntegration.md +14 -0
- data/docs/KayakoCallback.md +17 -0
- data/docs/KayakoIntegration.md +33 -0
- data/docs/KoreCallback.md +16 -0
- data/docs/KoreIntegration.md +14 -0
- data/docs/LabTechEmailIntegration.md +14 -0
- data/docs/LibratoIntegration.md +14 -0
- data/docs/LibreNMSCallback.md +16 -0
- data/docs/LibreNMSIntegration.md +33 -0
- data/docs/LightstepIntegration.md +14 -0
- data/docs/ListAlertAttachmentsResponse.md +10 -0
- data/docs/ListAlertLogsResponse.md +11 -0
- data/docs/ListAlertNotesResponse.md +11 -0
- data/docs/ListAlertRecipientsResponse.md +10 -0
- data/docs/ListAlertsResponse.md +11 -0
- data/docs/ListContactsResponse.md +10 -0
- data/docs/ListCustomUserRolesResponse.md +10 -0
- data/docs/ListEscalationsResponse.md +10 -0
- data/docs/ListForwardingRulesResponse.md +10 -0
- data/docs/ListHeartbeatResponse.md +10 -0
- data/docs/ListHeartbeatResponseData.md +8 -0
- data/docs/ListIncidentsResponse.md +11 -0
- data/docs/ListIntegrationActionsResponse.md +10 -0
- data/docs/ListIntegrationsResponse.md +10 -0
- data/docs/ListMaintenanceResponse.md +10 -0
- data/docs/ListNotificationRuleStepsResponse.md +10 -0
- data/docs/ListNotificationRulesResponse.md +10 -0
- data/docs/ListOnCallsResponse.md +10 -0
- data/docs/ListPoliciesResponse.md +10 -0
- data/docs/ListSavedSearchesResponse.md +10 -0
- data/docs/ListScheduleOverrideResponse.md +10 -0
- data/docs/ListScheduleRotationsResponse.md +10 -0
- data/docs/ListSchedulesResponse.md +11 -0
- data/docs/ListServiceIncidentRulesResponse.md +10 -0
- data/docs/ListServicesResponse.md +11 -0
- data/docs/ListTeamLogsResponse.md +10 -0
- data/docs/ListTeamRoleResponse.md +10 -0
- data/docs/ListTeamRoutingRulesResponse.md +10 -0
- data/docs/ListTeamsResponse.md +11 -0
- data/docs/ListUserEscalationsResponse.md +10 -0
- data/docs/ListUserForwardingRulesResponse.md +10 -0
- data/docs/ListUserSchedulesResponse.md +10 -0
- data/docs/ListUserTeamsResponse.md +10 -0
- data/docs/ListUsersResponse.md +12 -0
- data/docs/LogentriesIntegration.md +14 -0
- data/docs/LogglyIntegration.md +14 -0
- data/docs/LogicMonitorCallback.md +17 -0
- data/docs/LogicMonitorIntegration.md +33 -0
- data/docs/LogstashIntegration.md +14 -0
- data/docs/LogzIOIntegration.md +14 -0
- data/docs/LookerIntegration.md +14 -0
- data/docs/LoomIntegration.md +14 -0
- data/docs/MSTeamsCallback.md +15 -0
- data/docs/MSTeamsIntegration.md +44 -0
- data/docs/MSTeamsV2Callback.md +16 -0
- data/docs/MSTeamsV2Integration.md +46 -0
- data/docs/MagentrixCallback.md +17 -0
- data/docs/MagentrixIntegration.md +33 -0
- data/docs/Maintenance.md +12 -0
- data/docs/MaintenanceApi.md +342 -0
- data/docs/MaintenanceEntity.md +9 -0
- data/docs/MaintenanceMeta.md +11 -0
- data/docs/MaintenanceRule.md +9 -0
- data/docs/MaintenanceTime.md +10 -0
- data/docs/ManageEngineIntegrationDTO.md +14 -0
- data/docs/MaridCallback.md +12 -0
- data/docs/MaridIntegration.md +33 -0
- data/docs/MatchAll.md +8 -0
- data/docs/MatchAllConditions.md +9 -0
- data/docs/MatchAnyCondition.md +9 -0
- data/docs/MattermostCallback.md +13 -0
- data/docs/MattermostIntegration.md +33 -0
- data/docs/MongoDBCloudIntegration.md +14 -0
- data/docs/MonitisEmailIntegration.md +14 -0
- data/docs/MonitisIntegration.md +14 -0
- data/docs/MoxtraCallback.md +16 -0
- data/docs/MoxtraIntegration.md +14 -0
- data/docs/NagiosBasedV1Callback.md +14 -0
- data/docs/NagiosBasedV2Callback.md +14 -0
- data/docs/NagiosIntegrationV1.md +33 -0
- data/docs/NagiosIntegrationV2.md +33 -0
- data/docs/NagiosXIIntegrationV1.md +33 -0
- data/docs/NagiosXIIntegrationV2.md +33 -0
- data/docs/NagiosXIV1Callback.md +14 -0
- data/docs/NagiosXIV2Callback.md +14 -0
- data/docs/NetuitiveIntegration.md +14 -0
- data/docs/NeustarIntegration.md +14 -0
- data/docs/NewRelicIntegration.md +14 -0
- data/docs/NewRelicV2Integration.md +14 -0
- data/docs/NextOnCall.md +12 -0
- data/docs/NoRecipient.md +9 -0
- data/docs/NodePingIntegration.md +14 -0
- data/docs/NotificationActionType.md +7 -0
- data/docs/NotificationPolicy.md +20 -0
- data/docs/NotificationRepeat.md +9 -0
- data/docs/NotificationRule.md +18 -0
- data/docs/NotificationRuleApi.md +475 -0
- data/docs/NotificationRuleMeta.md +12 -0
- data/docs/NotificationRuleStep.md +12 -0
- data/docs/NotificationRuleStepApi.md +436 -0
- data/docs/NotificationRuleStepParent.md +9 -0
- data/docs/NotifyTime.md +7 -0
- data/docs/OECCallback.md +11 -0
- data/docs/OECIntegration.md +33 -0
- data/docs/OEMEmailIntegration.md +14 -0
- data/docs/OEMIntegration.md +14 -0
- data/docs/OP5Callback.md +17 -0
- data/docs/OP5Integration.md +33 -0
- data/docs/ObserviumIntegration.md +14 -0
- data/docs/ObserviumV2Integration.md +14 -0
- data/docs/OnCall.md +10 -0
- data/docs/OpsDashIntegration.md +14 -0
- data/docs/OpsGenieCallback.md +15 -0
- data/docs/OpsGenieIntegration.md +33 -0
- data/docs/OpsviewIntegration.md +14 -0
- data/docs/OutgoingCallback.md +10 -0
- data/docs/OutgoingCallbackNew.md +11 -0
- data/docs/PageDetails.md +11 -0
- data/docs/PagerDutyCompatibilityIntegration.md +14 -0
- data/docs/PanoptaIntegration.md +14 -0
- data/docs/PapertrailIntegration.md +14 -0
- data/docs/Participant.md +14 -0
- data/docs/PingdomIntegration.md +14 -0
- data/docs/PingdomV2Integration.md +14 -0
- data/docs/PingdomWebhookIntegration.md +14 -0
- data/docs/PingometerIntegration.md +14 -0
- data/docs/PlanioCallback.md +13 -0
- data/docs/PlanioIntegration.md +14 -0
- data/docs/Policy.md +15 -0
- data/docs/PolicyApi.md +539 -0
- data/docs/PolicyMeta.md +12 -0
- data/docs/PrometheusIntegration.md +14 -0
- data/docs/PrtgCallback.md +17 -0
- data/docs/PrtgIntegration.md +33 -0
- data/docs/RackspaceIntegration.md +14 -0
- data/docs/RaygunIntegration.md +14 -0
- data/docs/Recipient.md +9 -0
- data/docs/RedGateSqlMonitorEmailIntegration.md +14 -0
- data/docs/Responder.md +9 -0
- data/docs/RiemannIntegration.md +14 -0
- data/docs/RigorIntegration.md +14 -0
- data/docs/RingCentralEmailIntegration.md +14 -0
- data/docs/RingCentralGlipCallback.md +16 -0
- data/docs/RingCentralGlipIntegration.md +14 -0
- data/docs/RollbarCallback.md +15 -0
- data/docs/RollbarIntegration.md +33 -0
- data/docs/RunscopeIntegration.md +14 -0
- data/docs/SalesForceServiceCloudCallback.md +19 -0
- data/docs/SalesForceServiceCloudIntegration.md +33 -0
- data/docs/SaltStackIntegration.md +14 -0
- data/docs/SavedSearch.md +15 -0
- data/docs/SavedSearchEntity.md +8 -0
- data/docs/SavedSearchMeta.md +9 -0
- data/docs/ScalyrIntegration.md +14 -0
- data/docs/Schedule.md +14 -0
- data/docs/ScheduleApi.md +424 -0
- data/docs/ScheduleMeta.md +10 -0
- data/docs/ScheduleOverride.md +13 -0
- data/docs/ScheduleOverrideApi.md +318 -0
- data/docs/ScheduleOverrideMeta.md +8 -0
- data/docs/ScheduleOverrideRotation.md +9 -0
- data/docs/ScheduleRecipient.md +10 -0
- data/docs/ScheduleRotation.md +15 -0
- data/docs/ScheduleRotationApi.md +318 -0
- data/docs/ScheduleRotationWithParent.md +16 -0
- data/docs/ScheduleTimeline.md +14 -0
- data/docs/ScomIntegration.md +14 -0
- data/docs/ScoutIntegration.md +14 -0
- data/docs/SematextSpmIntegration.md +14 -0
- data/docs/SensuIntegration.md +14 -0
- data/docs/SentryIntegration.md +14 -0
- data/docs/ServerDensityIntegration.md +14 -0
- data/docs/ServerGuard24Integration.md +14 -0
- data/docs/Service.md +13 -0
- data/docs/ServiceApi.md +296 -0
- data/docs/ServiceNowIntegration.md +14 -0
- data/docs/ServiceNowV2Callback.md +17 -0
- data/docs/ServiceNowV2Integration.md +33 -0
- data/docs/ServiceNowV3Callback.md +17 -0
- data/docs/ServiceNowV3Integration.md +33 -0
- data/docs/SignalFXV2Integration.md +14 -0
- data/docs/SignalSciencesIntegration.md +14 -0
- data/docs/SignalfxIntegration.md +14 -0
- data/docs/Site24x7Integration.md +14 -0
- data/docs/SlackAppCallback.md +17 -0
- data/docs/SlackAppIntegration.md +46 -0
- data/docs/SlackCallback.md +13 -0
- data/docs/SlackIntegration.md +33 -0
- data/docs/SnoozeAlertPayload.md +11 -0
- data/docs/SoastaIntegration.md +14 -0
- data/docs/SolarWindsWebHelpDeskCallback.md +14 -0
- data/docs/SolarWindsWebHelpDeskIntegration.md +33 -0
- data/docs/SolarwindsCallback.md +14 -0
- data/docs/SolarwindsIntegration.md +33 -0
- data/docs/SolarwindsMSPNCentralIntegration.md +33 -0
- data/docs/SolarwindsMSPNcentralCallback.md +17 -0
- data/docs/SplunkCallback.md +16 -0
- data/docs/SplunkITSICallback.md +17 -0
- data/docs/SplunkITSIIntegration.md +33 -0
- data/docs/SplunkIntegration.md +33 -0
- data/docs/StackStormIntegration.md +14 -0
- data/docs/StackdriverCallback.md +13 -0
- data/docs/StackdriverIntegration.md +33 -0
- data/docs/StatusCakeIntegration.md +14 -0
- data/docs/StatusHubIntegration.md +14 -0
- data/docs/StatusIOCallback.md +15 -0
- data/docs/StatusIOIntegration.md +33 -0
- data/docs/StatusPageEntry.md +9 -0
- data/docs/StatusPageIOCallback.md +16 -0
- data/docs/StatusPageIOIntegration.md +33 -0
- data/docs/StatusyCallback.md +16 -0
- data/docs/StatusyIntegration.md +14 -0
- data/docs/StruxureWareIntegration.md +14 -0
- data/docs/SuccessData.md +9 -0
- data/docs/SuccessResponse.md +11 -0
- data/docs/SumoLogicCallback.md +15 -0
- data/docs/SumoLogicIntegration.md +33 -0
- data/docs/SysdigCloudIntegration.md +14 -0
- data/docs/Team.md +11 -0
- data/docs/TeamApi.md +354 -0
- data/docs/TeamLog.md +9 -0
- data/docs/TeamLogDetails.md +10 -0
- data/docs/TeamMember.md +9 -0
- data/docs/TeamMemberApi.md +132 -0
- data/docs/TeamMeta.md +9 -0
- data/docs/TeamRecipient.md +10 -0
- data/docs/TeamResponder.md +10 -0
- data/docs/TeamRight.md +9 -0
- data/docs/TeamRole.md +10 -0
- data/docs/TeamRoleApi.md +323 -0
- data/docs/TeamRoutingRule.md +15 -0
- data/docs/TeamRoutingRuleApi.md +382 -0
- data/docs/ThousandEyesIntegration.md +14 -0
- data/docs/ThreatStackIntegration.md +14 -0
- data/docs/ThundraIntegration.md +14 -0
- data/docs/TidewaysIntegration.md +14 -0
- data/docs/TimeOfDayRestriction.md +11 -0
- data/docs/TimeOfDayRestrictionInterval.md +9 -0
- data/docs/TimeRestrictionInterval.md +8 -0
- data/docs/Timeline.md +8 -0
- data/docs/TimelinePeriod.md +13 -0
- data/docs/TimelineRecipient.md +11 -0
- data/docs/TimelineRotation.md +11 -0
- data/docs/TokenBasedIncomingFeature.md +26 -0
- data/docs/TraceIntegration.md +14 -0
- data/docs/TrackItCallback.md +14 -0
- data/docs/TrackItIntegration.md +33 -0
- data/docs/TravisCIIntegration.md +14 -0
- data/docs/TwilioIntegration.md +14 -0
- data/docs/UnAcknowledgeAlertPayload.md +10 -0
- data/docs/UpdateAlertDescriptionPayload.md +8 -0
- data/docs/UpdateAlertMessagePayload.md +8 -0
- data/docs/UpdateAlertPriorityPayload.md +8 -0
- data/docs/UpdateContactPayload.md +8 -0
- data/docs/UpdateCustomUserRolePayload.md +11 -0
- data/docs/UpdateEscalationPayload.md +12 -0
- data/docs/UpdateForwardingRulePayload.md +11 -0
- data/docs/UpdateHeartbeatPayload.md +11 -0
- data/docs/UpdateHeartbeatResponse.md +10 -0
- data/docs/UpdateIntegrationActionsResponse.md +10 -0
- data/docs/UpdateIntegrationResponse.md +10 -0
- data/docs/UpdateMaintenancePayload.md +10 -0
- data/docs/UpdateMaintenanceResponse.md +10 -0
- data/docs/UpdateNotificationRulePayload.md +16 -0
- data/docs/UpdateNotificationRuleResponse.md +10 -0
- data/docs/UpdateNotificationRuleStepPayload.md +10 -0
- data/docs/UpdateSavedSearchPayload.md +12 -0
- data/docs/UpdateScheduleOverridePayload.md +11 -0
- data/docs/UpdateScheduleOverrideResponse.md +10 -0
- data/docs/UpdateSchedulePayload.md +13 -0
- data/docs/UpdateScheduleResponse.md +10 -0
- data/docs/UpdateScheduleRotationPayload.md +14 -0
- data/docs/UpdateTeamPayload.md +10 -0
- data/docs/UpdateTeamRolePayload.md +9 -0
- data/docs/UpdateTeamRoutingRulePayload.md +12 -0
- data/docs/UpdateUserPayload.md +17 -0
- data/docs/UpdownIOIntegration.md +14 -0
- data/docs/UptimeRobotEmailIntegration.md +14 -0
- data/docs/UptimeRobotIntegration.md +14 -0
- data/docs/UptimeWebhookIntegration.md +14 -0
- data/docs/UptrendsEmailIntegration.md +14 -0
- data/docs/User.md +22 -0
- data/docs/UserAddress.md +12 -0
- data/docs/UserApi.md +520 -0
- data/docs/UserContact.md +12 -0
- data/docs/UserMeta.md +9 -0
- data/docs/UserRecipient.md +10 -0
- data/docs/UserResponder.md +9 -0
- data/docs/UserRole.md +9 -0
- data/docs/VCSAIntegration.md +14 -0
- data/docs/VCenterIntegration.md +14 -0
- data/docs/VividCortexIntegration.md +14 -0
- data/docs/WavefrontIntegration.md +14 -0
- data/docs/WebhookCallback.md +16 -0
- data/docs/WebhookIntegration.md +14 -0
- data/docs/WeekdayTimeRestriction.md +13 -0
- data/docs/WeekdayTimeRestrictionInterval.md +9 -0
- data/docs/WhatsUpGoldIntegration.md +14 -0
- data/docs/WhoIsOnCallApi.md +247 -0
- data/docs/WorkatoIntegration.md +14 -0
- data/docs/XLReleaseIntegration.md +14 -0
- data/docs/XPackAlertingCallback.md +14 -0
- data/docs/XPackAlertingIntegration.md +33 -0
- data/docs/XmppCallback.md +14 -0
- data/docs/XmppIntegration.md +33 -0
- data/docs/ZabbixCallback.md +14 -0
- data/docs/ZabbixIntegration.md +33 -0
- data/docs/ZapierIntegration.md +14 -0
- data/docs/ZendeskCallback.md +17 -0
- data/docs/ZendeskIntegration.md +33 -0
- data/docs/ZenossCallback.md +14 -0
- data/docs/ZenossIntegration.md +33 -0
- data/docs/ZyrionIntegration.md +14 -0
- data/git_push.sh +55 -0
- data/lib/opsgenie_sdk.rb +644 -0
- data/lib/opsgenie_sdk/api/account_api.rb +69 -0
- data/lib/opsgenie_sdk/api/alert_api.rb +2259 -0
- data/lib/opsgenie_sdk/api/contact_api.rb +421 -0
- data/lib/opsgenie_sdk/api/custom_user_role_api.rb +297 -0
- data/lib/opsgenie_sdk/api/deprecated_policy_api.rb +445 -0
- data/lib/opsgenie_sdk/api/escalation_api.rb +297 -0
- data/lib/opsgenie_sdk/api/forwarding_rule_api.rb +301 -0
- data/lib/opsgenie_sdk/api/heartbeat_api.rb +435 -0
- data/lib/opsgenie_sdk/api/incident_api.rb +386 -0
- data/lib/opsgenie_sdk/api/integration_action_api.rb +191 -0
- data/lib/opsgenie_sdk/api/integration_api.rb +448 -0
- data/lib/opsgenie_sdk/api/maintenance_api.rb +341 -0
- data/lib/opsgenie_sdk/api/notification_rule_api.rb +493 -0
- data/lib/opsgenie_sdk/api/notification_rule_step_api.rb +467 -0
- data/lib/opsgenie_sdk/api/policy_api.rb +518 -0
- data/lib/opsgenie_sdk/api/schedule_api.rb +431 -0
- data/lib/opsgenie_sdk/api/schedule_override_api.rb +343 -0
- data/lib/opsgenie_sdk/api/schedule_rotation_api.rb +343 -0
- data/lib/opsgenie_sdk/api/service_api.rb +297 -0
- data/lib/opsgenie_sdk/api/service_incident_rule_api.rb +251 -0
- data/lib/opsgenie_sdk/api/team_api.rb +369 -0
- data/lib/opsgenie_sdk/api/team_member_api.rb +151 -0
- data/lib/opsgenie_sdk/api/team_role_api.rb +357 -0
- data/lib/opsgenie_sdk/api/team_routing_rule_api.rb +409 -0
- data/lib/opsgenie_sdk/api/user_api.rb +508 -0
- data/lib/opsgenie_sdk/api/who_is_on_call_api.rb +255 -0
- data/lib/opsgenie_sdk/api_client.rb +391 -0
- data/lib/opsgenie_sdk/api_error.rb +38 -0
- data/lib/opsgenie_sdk/configuration.rb +209 -0
- data/lib/opsgenie_sdk/models/account_info.rb +202 -0
- data/lib/opsgenie_sdk/models/account_plan.rb +202 -0
- data/lib/opsgenie_sdk/models/ack_integration_action.rb +302 -0
- data/lib/opsgenie_sdk/models/acknowledge_alert_payload.rb +205 -0
- data/lib/opsgenie_sdk/models/action_categorized.rb +239 -0
- data/lib/opsgenie_sdk/models/action_mapping.rb +262 -0
- data/lib/opsgenie_sdk/models/add_details_to_alert_payload.rb +222 -0
- data/lib/opsgenie_sdk/models/add_note_integration_action.rb +302 -0
- data/lib/opsgenie_sdk/models/add_note_to_alert_payload.rb +205 -0
- data/lib/opsgenie_sdk/models/add_responder_to_alert_payload.rb +219 -0
- data/lib/opsgenie_sdk/models/add_tags_to_alert_payload.rb +221 -0
- data/lib/opsgenie_sdk/models/add_team_member_payload.rb +202 -0
- data/lib/opsgenie_sdk/models/add_team_to_alert_payload.rb +219 -0
- data/lib/opsgenie_sdk/models/airbrake_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/alert.rb +404 -0
- data/lib/opsgenie_sdk/models/alert_action_payload.rb +205 -0
- data/lib/opsgenie_sdk/models/alert_attachment.rb +193 -0
- data/lib/opsgenie_sdk/models/alert_attachment_meta.rb +193 -0
- data/lib/opsgenie_sdk/models/alert_filter.rb +229 -0
- data/lib/opsgenie_sdk/models/alert_integration.rb +202 -0
- data/lib/opsgenie_sdk/models/alert_log.rb +220 -0
- data/lib/opsgenie_sdk/models/alert_logic_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/alert_note.rb +211 -0
- data/lib/opsgenie_sdk/models/alert_paging.rb +193 -0
- data/lib/opsgenie_sdk/models/alert_policy.rb +472 -0
- data/lib/opsgenie_sdk/models/alert_recipient.rb +220 -0
- data/lib/opsgenie_sdk/models/alert_report.rb +211 -0
- data/lib/opsgenie_sdk/models/alert_request_status.rb +238 -0
- data/lib/opsgenie_sdk/models/alert_site_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/alert_team_meta.rb +189 -0
- data/lib/opsgenie_sdk/models/alert_user_meta.rb +193 -0
- data/lib/opsgenie_sdk/models/all_recipient.rb +233 -0
- data/lib/opsgenie_sdk/models/amazon_cloud_trail_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/amazon_ec2_auto_scaling_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/amazon_rds_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/amazon_route53_health_check_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/amazon_security_hub_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/amazon_ses_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/amazon_sns_callback.rb +274 -0
- data/lib/opsgenie_sdk/models/amazon_sns_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/amazon_sns_outgoing_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/api_integration.rb +493 -0
- data/lib/opsgenie_sdk/models/apica_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/apimetrics_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/app_dynamics_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/app_optics_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/app_signal_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/app_signal_v2_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/assign_alert_payload.rb +219 -0
- data/lib/opsgenie_sdk/models/atatus_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/atlassian_bamboo_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/authenticate_integration_payload.rb +223 -0
- data/lib/opsgenie_sdk/models/auto_close_action.rb +189 -0
- data/lib/opsgenie_sdk/models/auto_restart_action.rb +203 -0
- data/lib/opsgenie_sdk/models/auto_task_email_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/autotask_aem_email_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/azure_auto_scale_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/azure_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/azure_oms_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/azure_resource_health_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/azure_service_health_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/base_alert.rb +364 -0
- data/lib/opsgenie_sdk/models/base_incident.rb +313 -0
- data/lib/opsgenie_sdk/models/base_incoming_feature.rb +356 -0
- data/lib/opsgenie_sdk/models/base_integration_action.rb +275 -0
- data/lib/opsgenie_sdk/models/base_response.rb +205 -0
- data/lib/opsgenie_sdk/models/base_response_with_expandable.rb +216 -0
- data/lib/opsgenie_sdk/models/base_webhook_callback.rb +306 -0
- data/lib/opsgenie_sdk/models/bidirectional_callback.rb +268 -0
- data/lib/opsgenie_sdk/models/bidirectional_callback_new.rb +288 -0
- data/lib/opsgenie_sdk/models/big_panda_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/bitbucket_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/blue_matador_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/bmc_foot_prints_v11_callback.rb +333 -0
- data/lib/opsgenie_sdk/models/bmc_foot_prints_v11_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/bmc_foot_prints_v12_callback.rb +324 -0
- data/lib/opsgenie_sdk/models/bmc_foot_prints_v12_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/bmc_remedy_callback.rb +324 -0
- data/lib/opsgenie_sdk/models/bmc_remedy_force_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/bmc_remedy_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/bmc_remedy_on_demand_callback.rb +292 -0
- data/lib/opsgenie_sdk/models/bmc_remedy_on_demand_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/boundary_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/callback_condition.rb +281 -0
- data/lib/opsgenie_sdk/models/campfire_callback.rb +276 -0
- data/lib/opsgenie_sdk/models/campfire_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/catchpoint_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/change_notification_rule_order_payload.rb +199 -0
- data/lib/opsgenie_sdk/models/change_policy_order_payload.rb +209 -0
- data/lib/opsgenie_sdk/models/change_team_routing_rule_order_payload.rb +185 -0
- data/lib/opsgenie_sdk/models/check_mk_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/cherwell_callback.rb +324 -0
- data/lib/opsgenie_sdk/models/cherwell_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/circle_ci_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/circonus_callback.rb +297 -0
- data/lib/opsgenie_sdk/models/circonus_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/close_alert_payload.rb +205 -0
- data/lib/opsgenie_sdk/models/close_incident_payload.rb +185 -0
- data/lib/opsgenie_sdk/models/close_integration_action.rb +302 -0
- data/lib/opsgenie_sdk/models/cloud_monix_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/cloud_sploit_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/cloud_watch_events_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/cloud_watch_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/codeship_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/common_integration_action.rb +302 -0
- data/lib/opsgenie_sdk/models/compose_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/condition.rb +291 -0
- data/lib/opsgenie_sdk/models/connect_wise_automate_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/connect_wise_callback.rb +277 -0
- data/lib/opsgenie_sdk/models/connect_wise_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/connect_wise_manage_callback.rb +342 -0
- data/lib/opsgenie_sdk/models/connect_wise_manage_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/connect_wise_manage_v2_callback.rb +360 -0
- data/lib/opsgenie_sdk/models/connect_wise_manage_v2_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/consul_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/contact.rb +211 -0
- data/lib/opsgenie_sdk/models/contact_meta.rb +237 -0
- data/lib/opsgenie_sdk/models/contact_status.rb +193 -0
- data/lib/opsgenie_sdk/models/contact_with_apply_order.rb +220 -0
- data/lib/opsgenie_sdk/models/copper_egg_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/crashlytics_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/create_alert_payload.rb +354 -0
- data/lib/opsgenie_sdk/models/create_contact_payload.rb +239 -0
- data/lib/opsgenie_sdk/models/create_custom_user_role_payload.rb +224 -0
- data/lib/opsgenie_sdk/models/create_escalation_payload.rb +237 -0
- data/lib/opsgenie_sdk/models/create_forwarding_rule_payload.rb +245 -0
- data/lib/opsgenie_sdk/models/create_forwarding_rule_response.rb +214 -0
- data/lib/opsgenie_sdk/models/create_heartbeat_payload.rb +175 -0
- data/lib/opsgenie_sdk/models/create_heartbeat_response.rb +214 -0
- data/lib/opsgenie_sdk/models/create_incident_payload.rb +317 -0
- data/lib/opsgenie_sdk/models/create_integration_action.rb +486 -0
- data/lib/opsgenie_sdk/models/create_integration_actions_response.rb +214 -0
- data/lib/opsgenie_sdk/models/create_integration_response.rb +214 -0
- data/lib/opsgenie_sdk/models/create_maintenance_payload.rb +217 -0
- data/lib/opsgenie_sdk/models/create_maintenance_response.rb +214 -0
- data/lib/opsgenie_sdk/models/create_notification_rule_payload.rb +308 -0
- data/lib/opsgenie_sdk/models/create_notification_rule_response.rb +214 -0
- data/lib/opsgenie_sdk/models/create_notification_rule_step_payload.rb +215 -0
- data/lib/opsgenie_sdk/models/create_policy_response.rb +214 -0
- data/lib/opsgenie_sdk/models/create_saved_search_payload.rb +291 -0
- data/lib/opsgenie_sdk/models/create_saved_search_response.rb +214 -0
- data/lib/opsgenie_sdk/models/create_schedule_override_payload.rb +242 -0
- data/lib/opsgenie_sdk/models/create_schedule_override_response.rb +214 -0
- data/lib/opsgenie_sdk/models/create_schedule_payload.rb +241 -0
- data/lib/opsgenie_sdk/models/create_schedule_response.rb +214 -0
- data/lib/opsgenie_sdk/models/create_schedule_rotation_payload.rb +296 -0
- data/lib/opsgenie_sdk/models/create_team_payload.rb +212 -0
- data/lib/opsgenie_sdk/models/create_team_role_payload.rb +207 -0
- data/lib/opsgenie_sdk/models/create_team_routing_rule_payload.rb +237 -0
- data/lib/opsgenie_sdk/models/create_user_payload.rb +332 -0
- data/lib/opsgenie_sdk/models/custom_user_role.rb +227 -0
- data/lib/opsgenie_sdk/models/datadog_callback.rb +306 -0
- data/lib/opsgenie_sdk/models/datadog_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/dataloop_io_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/deduplication_action.rb +274 -0
- data/lib/opsgenie_sdk/models/delay_action.rb +298 -0
- data/lib/opsgenie_sdk/models/deprecated_alert_policy.rb +283 -0
- data/lib/opsgenie_sdk/models/deprecated_alert_policy_meta.rb +254 -0
- data/lib/opsgenie_sdk/models/deprecated_auto_close_alert_policy.rb +293 -0
- data/lib/opsgenie_sdk/models/deprecated_auto_restart_notifications_alert_policy.rb +303 -0
- data/lib/opsgenie_sdk/models/deprecated_change_alert_policy_order_payload.rb +209 -0
- data/lib/opsgenie_sdk/models/deprecated_create_alert_policy_response.rb +214 -0
- data/lib/opsgenie_sdk/models/deprecated_get_alert_policy_response.rb +214 -0
- data/lib/opsgenie_sdk/models/deprecated_list_alert_policies_response.rb +216 -0
- data/lib/opsgenie_sdk/models/deprecated_modify_alert_policy.rb +462 -0
- data/lib/opsgenie_sdk/models/deprecated_notification_deduplication_alert_policy.rb +349 -0
- data/lib/opsgenie_sdk/models/deprecated_notification_delay_alert_policy.rb +383 -0
- data/lib/opsgenie_sdk/models/deprecated_notification_renotify_alert_policy.rb +283 -0
- data/lib/opsgenie_sdk/models/deprecated_notification_suppress_alert_policy.rb +283 -0
- data/lib/opsgenie_sdk/models/desk_callback.rb +313 -0
- data/lib/opsgenie_sdk/models/desk_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/detectify_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/disable_heartbeat_response.rb +214 -0
- data/lib/opsgenie_sdk/models/disable_integration_response.rb +214 -0
- data/lib/opsgenie_sdk/models/dns_check_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/drip_stat_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/duration.rb +234 -0
- data/lib/opsgenie_sdk/models/dynatrace_app_mon_callback.rb +324 -0
- data/lib/opsgenie_sdk/models/dynatrace_app_mon_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/dynatrace_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/dynatrace_v2_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/email_based_incoming_feature.rb +375 -0
- data/lib/opsgenie_sdk/models/email_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/enable_heartbeat_response.rb +214 -0
- data/lib/opsgenie_sdk/models/enable_integration_response.rb +214 -0
- data/lib/opsgenie_sdk/models/error_response.rb +234 -0
- data/lib/opsgenie_sdk/models/errorception_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/escalate_alert_to_next_payload.rb +219 -0
- data/lib/opsgenie_sdk/models/escalation.rb +231 -0
- data/lib/opsgenie_sdk/models/escalation_recipient.rb +242 -0
- data/lib/opsgenie_sdk/models/escalation_repeat.rb +211 -0
- data/lib/opsgenie_sdk/models/escalation_rule.rb +281 -0
- data/lib/opsgenie_sdk/models/evident_io_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/execute_custom_alert_action_payload.rb +205 -0
- data/lib/opsgenie_sdk/models/filter.rb +224 -0
- data/lib/opsgenie_sdk/models/flock_callback.rb +306 -0
- data/lib/opsgenie_sdk/models/flock_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/flowdock_callback.rb +267 -0
- data/lib/opsgenie_sdk/models/flowdock_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/flowdock_v2_callback.rb +247 -0
- data/lib/opsgenie_sdk/models/flowdock_v2_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/forwarding_rule.rb +229 -0
- data/lib/opsgenie_sdk/models/forwarding_rule_meta.rb +193 -0
- data/lib/opsgenie_sdk/models/freshdesk_callback.rb +306 -0
- data/lib/opsgenie_sdk/models/freshdesk_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/freshservice_callback.rb +315 -0
- data/lib/opsgenie_sdk/models/freshservice_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/get_account_info_response.rb +214 -0
- data/lib/opsgenie_sdk/models/get_alert_attachment_response.rb +214 -0
- data/lib/opsgenie_sdk/models/get_alert_response.rb +214 -0
- data/lib/opsgenie_sdk/models/get_contact_response.rb +214 -0
- data/lib/opsgenie_sdk/models/get_count_alerts_response.rb +214 -0
- data/lib/opsgenie_sdk/models/get_count_alerts_response_data.rb +184 -0
- data/lib/opsgenie_sdk/models/get_custom_user_role_response.rb +214 -0
- data/lib/opsgenie_sdk/models/get_escalation_response.rb +214 -0
- data/lib/opsgenie_sdk/models/get_forwarding_rule_response.rb +214 -0
- data/lib/opsgenie_sdk/models/get_heartbeat_response.rb +214 -0
- data/lib/opsgenie_sdk/models/get_incident_request_status_response.rb +214 -0
- data/lib/opsgenie_sdk/models/get_incident_response.rb +214 -0
- data/lib/opsgenie_sdk/models/get_integration_response.rb +214 -0
- data/lib/opsgenie_sdk/models/get_maintenance_response.rb +214 -0
- data/lib/opsgenie_sdk/models/get_next_on_call_response.rb +214 -0
- data/lib/opsgenie_sdk/models/get_notification_rule_response.rb +214 -0
- data/lib/opsgenie_sdk/models/get_notification_rule_step_response.rb +214 -0
- data/lib/opsgenie_sdk/models/get_on_call_response.rb +214 -0
- data/lib/opsgenie_sdk/models/get_policy_response.rb +214 -0
- data/lib/opsgenie_sdk/models/get_request_status_response.rb +214 -0
- data/lib/opsgenie_sdk/models/get_saved_search_response.rb +214 -0
- data/lib/opsgenie_sdk/models/get_schedule_override_response.rb +214 -0
- data/lib/opsgenie_sdk/models/get_schedule_response.rb +214 -0
- data/lib/opsgenie_sdk/models/get_schedule_rotation_response.rb +214 -0
- data/lib/opsgenie_sdk/models/get_schedule_timeline_response.rb +225 -0
- data/lib/opsgenie_sdk/models/get_team_response.rb +214 -0
- data/lib/opsgenie_sdk/models/get_team_role_response.rb +214 -0
- data/lib/opsgenie_sdk/models/get_team_routing_rule_response.rb +214 -0
- data/lib/opsgenie_sdk/models/get_user_response.rb +225 -0
- data/lib/opsgenie_sdk/models/ghost_inspector_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/git_hub_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/git_lab_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/google_stack_driver_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/grafana_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/grafana_v2_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/graylog_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/group_recipient.rb +242 -0
- data/lib/opsgenie_sdk/models/heartbeat.rb +272 -0
- data/lib/opsgenie_sdk/models/heartbeat_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/heartbeat_meta.rb +202 -0
- data/lib/opsgenie_sdk/models/hip_chat_add_on_callback.rb +304 -0
- data/lib/opsgenie_sdk/models/hip_chat_add_on_integration.rb +609 -0
- data/lib/opsgenie_sdk/models/hip_chat_callback_v2.rb +306 -0
- data/lib/opsgenie_sdk/models/hip_chat_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/hip_chat_integration_v2.rb +484 -0
- data/lib/opsgenie_sdk/models/honeybadger_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/hosted_graphite_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/hp_service_manager_callback.rb +306 -0
- data/lib/opsgenie_sdk/models/hp_service_manager_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/humio_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/icinga2_callback.rb +286 -0
- data/lib/opsgenie_sdk/models/icinga2_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/icinga_callback.rb +286 -0
- data/lib/opsgenie_sdk/models/icinga_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/ignore_integration_action.rb +275 -0
- data/lib/opsgenie_sdk/models/incident.rb +322 -0
- data/lib/opsgenie_sdk/models/incident_action_payload.rb +185 -0
- data/lib/opsgenie_sdk/models/incident_request_status.rb +238 -0
- data/lib/opsgenie_sdk/models/incoming_call_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/instana_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/integration.rb +287 -0
- data/lib/opsgenie_sdk/models/integration_action_filter.rb +229 -0
- data/lib/opsgenie_sdk/models/integration_condition.rb +245 -0
- data/lib/opsgenie_sdk/models/integration_meta.rb +229 -0
- data/lib/opsgenie_sdk/models/jenkins_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/jira_callback.rb +333 -0
- data/lib/opsgenie_sdk/models/jira_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/jira_service_desk_callback.rb +333 -0
- data/lib/opsgenie_sdk/models/jira_service_desk_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/kapacitor_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/kayako_callback.rb +315 -0
- data/lib/opsgenie_sdk/models/kayako_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/kore_callback.rb +306 -0
- data/lib/opsgenie_sdk/models/kore_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/lab_tech_email_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/librato_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/libre_nms_callback.rb +306 -0
- data/lib/opsgenie_sdk/models/libre_nms_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/lightstep_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/list_alert_attachments_response.rb +216 -0
- data/lib/opsgenie_sdk/models/list_alert_logs_response.rb +225 -0
- data/lib/opsgenie_sdk/models/list_alert_notes_response.rb +225 -0
- data/lib/opsgenie_sdk/models/list_alert_recipients_response.rb +216 -0
- data/lib/opsgenie_sdk/models/list_alerts_response.rb +225 -0
- data/lib/opsgenie_sdk/models/list_contacts_response.rb +216 -0
- data/lib/opsgenie_sdk/models/list_custom_user_roles_response.rb +216 -0
- data/lib/opsgenie_sdk/models/list_escalations_response.rb +216 -0
- data/lib/opsgenie_sdk/models/list_forwarding_rules_response.rb +216 -0
- data/lib/opsgenie_sdk/models/list_heartbeat_response.rb +214 -0
- data/lib/opsgenie_sdk/models/list_heartbeat_response_data.rb +186 -0
- data/lib/opsgenie_sdk/models/list_incidents_response.rb +225 -0
- data/lib/opsgenie_sdk/models/list_integration_actions_response.rb +214 -0
- data/lib/opsgenie_sdk/models/list_integrations_response.rb +216 -0
- data/lib/opsgenie_sdk/models/list_maintenance_response.rb +216 -0
- data/lib/opsgenie_sdk/models/list_notification_rule_steps_response.rb +216 -0
- data/lib/opsgenie_sdk/models/list_notification_rules_response.rb +216 -0
- data/lib/opsgenie_sdk/models/list_on_calls_response.rb +216 -0
- data/lib/opsgenie_sdk/models/list_policies_response.rb +216 -0
- data/lib/opsgenie_sdk/models/list_saved_searches_response.rb +216 -0
- data/lib/opsgenie_sdk/models/list_schedule_override_response.rb +216 -0
- data/lib/opsgenie_sdk/models/list_schedule_rotations_response.rb +216 -0
- data/lib/opsgenie_sdk/models/list_schedules_response.rb +227 -0
- data/lib/opsgenie_sdk/models/list_service_incident_rules_response.rb +216 -0
- data/lib/opsgenie_sdk/models/list_services_response.rb +225 -0
- data/lib/opsgenie_sdk/models/list_team_logs_response.rb +214 -0
- data/lib/opsgenie_sdk/models/list_team_role_response.rb +216 -0
- data/lib/opsgenie_sdk/models/list_team_routing_rules_response.rb +216 -0
- data/lib/opsgenie_sdk/models/list_teams_response.rb +227 -0
- data/lib/opsgenie_sdk/models/list_user_escalations_response.rb +216 -0
- data/lib/opsgenie_sdk/models/list_user_forwarding_rules_response.rb +216 -0
- data/lib/opsgenie_sdk/models/list_user_schedules_response.rb +216 -0
- data/lib/opsgenie_sdk/models/list_user_teams_response.rb +216 -0
- data/lib/opsgenie_sdk/models/list_users_response.rb +234 -0
- data/lib/opsgenie_sdk/models/logentries_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/loggly_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/logic_monitor_callback.rb +315 -0
- data/lib/opsgenie_sdk/models/logic_monitor_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/logstash_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/logz_io_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/looker_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/loom_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/magentrix_callback.rb +315 -0
- data/lib/opsgenie_sdk/models/magentrix_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/maintenance.rb +261 -0
- data/lib/opsgenie_sdk/models/maintenance_entity.rb +238 -0
- data/lib/opsgenie_sdk/models/maintenance_meta.rb +249 -0
- data/lib/opsgenie_sdk/models/maintenance_rule.rb +233 -0
- data/lib/opsgenie_sdk/models/maintenance_time.rb +244 -0
- data/lib/opsgenie_sdk/models/manage_engine_integration_dto.rb +287 -0
- data/lib/opsgenie_sdk/models/marid_callback.rb +268 -0
- data/lib/opsgenie_sdk/models/marid_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/match_all.rb +224 -0
- data/lib/opsgenie_sdk/models/match_all_conditions.rb +235 -0
- data/lib/opsgenie_sdk/models/match_any_condition.rb +235 -0
- data/lib/opsgenie_sdk/models/mattermost_callback.rb +277 -0
- data/lib/opsgenie_sdk/models/mattermost_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/mongo_db_cloud_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/monitis_email_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/monitis_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/moxtra_callback.rb +306 -0
- data/lib/opsgenie_sdk/models/moxtra_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/ms_teams_callback.rb +297 -0
- data/lib/opsgenie_sdk/models/ms_teams_integration.rb +611 -0
- data/lib/opsgenie_sdk/models/ms_teams_v2_callback.rb +306 -0
- data/lib/opsgenie_sdk/models/ms_teams_v2_integration.rb +629 -0
- data/lib/opsgenie_sdk/models/nagios_based_v1_callback.rb +286 -0
- data/lib/opsgenie_sdk/models/nagios_based_v2_callback.rb +286 -0
- data/lib/opsgenie_sdk/models/nagios_integration_v1.rb +484 -0
- data/lib/opsgenie_sdk/models/nagios_integration_v2.rb +484 -0
- data/lib/opsgenie_sdk/models/nagios_xi_integration_v1.rb +484 -0
- data/lib/opsgenie_sdk/models/nagios_xi_integration_v2.rb +484 -0
- data/lib/opsgenie_sdk/models/nagios_xiv1_callback.rb +286 -0
- data/lib/opsgenie_sdk/models/nagios_xiv2_callback.rb +286 -0
- data/lib/opsgenie_sdk/models/netuitive_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/neustar_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/new_relic_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/new_relic_v2_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/next_on_call.rb +228 -0
- data/lib/opsgenie_sdk/models/no_recipient.rb +233 -0
- data/lib/opsgenie_sdk/models/node_ping_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/notification_action_type.rb +37 -0
- data/lib/opsgenie_sdk/models/notification_policy.rb +343 -0
- data/lib/opsgenie_sdk/models/notification_repeat.rb +209 -0
- data/lib/opsgenie_sdk/models/notification_rule.rb +280 -0
- data/lib/opsgenie_sdk/models/notification_rule_meta.rb +220 -0
- data/lib/opsgenie_sdk/models/notification_rule_step.rb +220 -0
- data/lib/opsgenie_sdk/models/notification_rule_step_parent.rb +193 -0
- data/lib/opsgenie_sdk/models/notify_time.rb +32 -0
- data/lib/opsgenie_sdk/models/observium_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/observium_v2_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/oec_callback.rb +247 -0
- data/lib/opsgenie_sdk/models/oec_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/oem_email_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/oem_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/on_call.rb +206 -0
- data/lib/opsgenie_sdk/models/op5_callback.rb +315 -0
- data/lib/opsgenie_sdk/models/op5_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/ops_dash_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/ops_genie_callback.rb +297 -0
- data/lib/opsgenie_sdk/models/ops_genie_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/opsview_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/outgoing_callback.rb +238 -0
- data/lib/opsgenie_sdk/models/outgoing_callback_new.rb +247 -0
- data/lib/opsgenie_sdk/models/page_details.rb +211 -0
- data/lib/opsgenie_sdk/models/pager_duty_compatibility_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/panopta_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/papertrail_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/participant.rb +242 -0
- data/lib/opsgenie_sdk/models/pingdom_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/pingdom_v2_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/pingdom_webhook_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/pingometer_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/planio_callback.rb +265 -0
- data/lib/opsgenie_sdk/models/planio_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/policy.rb +293 -0
- data/lib/opsgenie_sdk/models/policy_meta.rb +254 -0
- data/lib/opsgenie_sdk/models/prometheus_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/prtg_callback.rb +315 -0
- data/lib/opsgenie_sdk/models/prtg_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/rackspace_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/raygun_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/recipient.rb +232 -0
- data/lib/opsgenie_sdk/models/red_gate_sql_monitor_email_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/responder.rb +237 -0
- data/lib/opsgenie_sdk/models/riemann_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/rigor_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/ring_central_email_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/ring_central_glip_callback.rb +306 -0
- data/lib/opsgenie_sdk/models/ring_central_glip_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/rollbar_callback.rb +297 -0
- data/lib/opsgenie_sdk/models/rollbar_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/runscope_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/sales_force_service_cloud_callback.rb +333 -0
- data/lib/opsgenie_sdk/models/sales_force_service_cloud_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/salt_stack_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/saved_search.rb +249 -0
- data/lib/opsgenie_sdk/models/saved_search_entity.rb +184 -0
- data/lib/opsgenie_sdk/models/saved_search_meta.rb +193 -0
- data/lib/opsgenie_sdk/models/scalyr_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/schedule.rb +240 -0
- data/lib/opsgenie_sdk/models/schedule_meta.rb +202 -0
- data/lib/opsgenie_sdk/models/schedule_override.rb +231 -0
- data/lib/opsgenie_sdk/models/schedule_override_meta.rb +184 -0
- data/lib/opsgenie_sdk/models/schedule_override_rotation.rb +193 -0
- data/lib/opsgenie_sdk/models/schedule_recipient.rb +242 -0
- data/lib/opsgenie_sdk/models/schedule_rotation.rb +283 -0
- data/lib/opsgenie_sdk/models/schedule_rotation_with_parent.rb +292 -0
- data/lib/opsgenie_sdk/models/schedule_timeline.rb +238 -0
- data/lib/opsgenie_sdk/models/scom_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/scout_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/sematext_spm_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/sensu_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/sentry_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/server_density_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/server_guard24_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/service.rb +274 -0
- data/lib/opsgenie_sdk/models/service_incident_condition.rb +281 -0
- data/lib/opsgenie_sdk/models/service_incident_properties.rb +287 -0
- data/lib/opsgenie_sdk/models/service_incident_rule.rb +265 -0
- data/lib/opsgenie_sdk/models/service_incident_stakeholder_properties.rb +210 -0
- data/lib/opsgenie_sdk/models/service_now_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/service_now_v2_callback.rb +315 -0
- data/lib/opsgenie_sdk/models/service_now_v2_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/service_now_v3_callback.rb +315 -0
- data/lib/opsgenie_sdk/models/service_now_v3_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/signal_fxv2_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/signal_sciences_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/signalfx_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/site24x7_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/slack_app_callback.rb +313 -0
- data/lib/opsgenie_sdk/models/slack_app_integration.rb +627 -0
- data/lib/opsgenie_sdk/models/slack_callback.rb +277 -0
- data/lib/opsgenie_sdk/models/slack_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/snooze_alert_payload.rb +220 -0
- data/lib/opsgenie_sdk/models/soasta_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/solar_winds_web_help_desk_callback.rb +286 -0
- data/lib/opsgenie_sdk/models/solar_winds_web_help_desk_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/solarwinds_callback.rb +286 -0
- data/lib/opsgenie_sdk/models/solarwinds_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/solarwinds_msp_ncentral_callback.rb +315 -0
- data/lib/opsgenie_sdk/models/solarwinds_mspn_central_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/splunk_callback.rb +306 -0
- data/lib/opsgenie_sdk/models/splunk_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/splunk_itsi_callback.rb +315 -0
- data/lib/opsgenie_sdk/models/splunk_itsi_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/stack_storm_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/stackdriver_callback.rb +277 -0
- data/lib/opsgenie_sdk/models/stackdriver_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/status_cake_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/status_hub_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/status_io_callback.rb +295 -0
- data/lib/opsgenie_sdk/models/status_io_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/status_page_entry.rb +195 -0
- data/lib/opsgenie_sdk/models/status_page_io_callback.rb +306 -0
- data/lib/opsgenie_sdk/models/status_page_io_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/statusy_callback.rb +306 -0
- data/lib/opsgenie_sdk/models/statusy_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/struxure_ware_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/success_data.rb +193 -0
- data/lib/opsgenie_sdk/models/success_response.rb +223 -0
- data/lib/opsgenie_sdk/models/sumo_logic_callback.rb +297 -0
- data/lib/opsgenie_sdk/models/sumo_logic_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/sysdig_cloud_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/team.rb +213 -0
- data/lib/opsgenie_sdk/models/team_log.rb +195 -0
- data/lib/opsgenie_sdk/models/team_log_details.rb +202 -0
- data/lib/opsgenie_sdk/models/team_member.rb +196 -0
- data/lib/opsgenie_sdk/models/team_meta.rb +193 -0
- data/lib/opsgenie_sdk/models/team_recipient.rb +242 -0
- data/lib/opsgenie_sdk/models/team_responder.rb +247 -0
- data/lib/opsgenie_sdk/models/team_right.rb +198 -0
- data/lib/opsgenie_sdk/models/team_role.rb +204 -0
- data/lib/opsgenie_sdk/models/team_routing_rule.rb +247 -0
- data/lib/opsgenie_sdk/models/thousand_eyes_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/threat_stack_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/thundra_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/tideways_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/time_of_day_restriction.rb +211 -0
- data/lib/opsgenie_sdk/models/time_of_day_restriction_interval.rb +233 -0
- data/lib/opsgenie_sdk/models/time_restriction_interval.rb +223 -0
- data/lib/opsgenie_sdk/models/timeline.rb +186 -0
- data/lib/opsgenie_sdk/models/timeline_period.rb +233 -0
- data/lib/opsgenie_sdk/models/timeline_recipient.rb +212 -0
- data/lib/opsgenie_sdk/models/timeline_rotation.rb +213 -0
- data/lib/opsgenie_sdk/models/token_based_incoming_feature.rb +394 -0
- data/lib/opsgenie_sdk/models/trace_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/track_it_callback.rb +286 -0
- data/lib/opsgenie_sdk/models/track_it_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/travis_ci_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/twilio_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/un_acknowledge_alert_payload.rb +205 -0
- data/lib/opsgenie_sdk/models/update_alert_description_payload.rb +190 -0
- data/lib/opsgenie_sdk/models/update_alert_message_payload.rb +190 -0
- data/lib/opsgenie_sdk/models/update_alert_priority_payload.rb +224 -0
- data/lib/opsgenie_sdk/models/update_contact_payload.rb +190 -0
- data/lib/opsgenie_sdk/models/update_custom_user_role_payload.rb +219 -0
- data/lib/opsgenie_sdk/models/update_escalation_payload.rb +227 -0
- data/lib/opsgenie_sdk/models/update_forwarding_rule_payload.rb +235 -0
- data/lib/opsgenie_sdk/models/update_heartbeat_payload.rb +279 -0
- data/lib/opsgenie_sdk/models/update_heartbeat_response.rb +214 -0
- data/lib/opsgenie_sdk/models/update_integration_actions_response.rb +214 -0
- data/lib/opsgenie_sdk/models/update_integration_response.rb +214 -0
- data/lib/opsgenie_sdk/models/update_maintenance_payload.rb +217 -0
- data/lib/opsgenie_sdk/models/update_maintenance_response.rb +214 -0
- data/lib/opsgenie_sdk/models/update_notification_rule_payload.rb +285 -0
- data/lib/opsgenie_sdk/models/update_notification_rule_response.rb +214 -0
- data/lib/opsgenie_sdk/models/update_notification_rule_step_payload.rb +205 -0
- data/lib/opsgenie_sdk/models/update_saved_search_payload.rb +291 -0
- data/lib/opsgenie_sdk/models/update_schedule_override_payload.rb +232 -0
- data/lib/opsgenie_sdk/models/update_schedule_override_response.rb +214 -0
- data/lib/opsgenie_sdk/models/update_schedule_payload.rb +236 -0
- data/lib/opsgenie_sdk/models/update_schedule_response.rb +214 -0
- data/lib/opsgenie_sdk/models/update_schedule_rotation_payload.rb +281 -0
- data/lib/opsgenie_sdk/models/update_team_payload.rb +206 -0
- data/lib/opsgenie_sdk/models/update_team_role_payload.rb +197 -0
- data/lib/opsgenie_sdk/models/update_team_routing_rule_payload.rb +222 -0
- data/lib/opsgenie_sdk/models/update_user_payload.rb +309 -0
- data/lib/opsgenie_sdk/models/updown_io_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/uptime_robot_email_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/uptime_robot_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/uptime_webhook_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/uptrends_email_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/user.rb +323 -0
- data/lib/opsgenie_sdk/models/user_address.rb +220 -0
- data/lib/opsgenie_sdk/models/user_contact.rb +254 -0
- data/lib/opsgenie_sdk/models/user_meta.rb +193 -0
- data/lib/opsgenie_sdk/models/user_recipient.rb +242 -0
- data/lib/opsgenie_sdk/models/user_responder.rb +238 -0
- data/lib/opsgenie_sdk/models/user_role.rb +193 -0
- data/lib/opsgenie_sdk/models/v_center_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/vcsa_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/vivid_cortex_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/wavefront_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/webhook_callback.rb +306 -0
- data/lib/opsgenie_sdk/models/webhook_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/weekday_time_restriction.rb +275 -0
- data/lib/opsgenie_sdk/models/weekday_time_restriction_interval.rb +235 -0
- data/lib/opsgenie_sdk/models/whats_up_gold_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/workato_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/x_pack_alerting_callback.rb +286 -0
- data/lib/opsgenie_sdk/models/x_pack_alerting_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/xl_release_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/xmpp_callback.rb +286 -0
- data/lib/opsgenie_sdk/models/xmpp_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/zabbix_callback.rb +286 -0
- data/lib/opsgenie_sdk/models/zabbix_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/zapier_integration.rb +287 -0
- data/lib/opsgenie_sdk/models/zendesk_callback.rb +315 -0
- data/lib/opsgenie_sdk/models/zendesk_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/zenoss_callback.rb +286 -0
- data/lib/opsgenie_sdk/models/zenoss_integration.rb +484 -0
- data/lib/opsgenie_sdk/models/zyrion_integration.rb +287 -0
- data/lib/opsgenie_sdk/version.rb +15 -0
- data/opsgenie_sdk.gemspec +45 -0
- data/spec/api/account_api_spec.rb +46 -0
- data/spec/api/alert_api_spec.rb +532 -0
- data/spec/api/contact_api_spec.rb +126 -0
- data/spec/api/custom_user_role_api_spec.rb +98 -0
- data/spec/api/deprecated_policy_api_spec.rb +132 -0
- data/spec/api/escalation_api_spec.rb +98 -0
- data/spec/api/forwarding_rule_api_spec.rb +98 -0
- data/spec/api/heartbeat_api_spec.rb +131 -0
- data/spec/api/incident_api_spec.rb +115 -0
- data/spec/api/integration_action_api_spec.rb +73 -0
- data/spec/api/integration_api_spec.rb +134 -0
- data/spec/api/maintenance_api_spec.rb +108 -0
- data/spec/api/notification_rule_api_spec.rb +140 -0
- data/spec/api/notification_rule_step_api_spec.rb +133 -0
- data/spec/api/policy_api_spec.rb +152 -0
- data/spec/api/schedule_api_spec.rb +129 -0
- data/spec/api/schedule_override_api_spec.rb +105 -0
- data/spec/api/schedule_rotation_api_spec.rb +105 -0
- data/spec/api/team_api_spec.rb +113 -0
- data/spec/api/team_member_api_spec.rb +63 -0
- data/spec/api/team_role_api_spec.rb +108 -0
- data/spec/api/team_routing_rule_api_spec.rb +120 -0
- data/spec/api/user_api_spec.rb +149 -0
- data/spec/api/who_is_on_call_api_spec.rb +90 -0
- data/spec/api_client_spec.rb +243 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/account_info_spec.rb +53 -0
- data/spec/models/account_plan_spec.rb +53 -0
- data/spec/models/ack_integration_action_spec.rb +81 -0
- data/spec/models/acknowledge_alert_payload_spec.rb +53 -0
- data/spec/models/action_categorized_spec.rb +71 -0
- data/spec/models/action_mapping_spec.rb +67 -0
- data/spec/models/add_details_to_alert_payload_spec.rb +59 -0
- data/spec/models/add_note_integration_action_spec.rb +81 -0
- data/spec/models/add_note_to_alert_payload_spec.rb +53 -0
- data/spec/models/add_responder_to_alert_payload_spec.rb +59 -0
- data/spec/models/add_tags_to_alert_payload_spec.rb +59 -0
- data/spec/models/add_team_member_payload_spec.rb +47 -0
- data/spec/models/add_team_to_alert_payload_spec.rb +59 -0
- data/spec/models/airbrake_integration_spec.rb +81 -0
- data/spec/models/alert_action_payload_spec.rb +53 -0
- data/spec/models/alert_attachment_meta_spec.rb +47 -0
- data/spec/models/alert_attachment_spec.rb +47 -0
- data/spec/models/alert_filter_spec.rb +51 -0
- data/spec/models/alert_integration_spec.rb +53 -0
- data/spec/models/alert_log_spec.rb +65 -0
- data/spec/models/alert_logic_integration_spec.rb +81 -0
- data/spec/models/alert_note_spec.rb +59 -0
- data/spec/models/alert_paging_spec.rb +47 -0
- data/spec/models/alert_policy_spec.rb +187 -0
- data/spec/models/alert_recipient_spec.rb +65 -0
- data/spec/models/alert_report_spec.rb +59 -0
- data/spec/models/alert_request_status_spec.rb +77 -0
- data/spec/models/alert_site_integration_spec.rb +81 -0
- data/spec/models/alert_spec.rb +179 -0
- data/spec/models/alert_team_meta_spec.rb +41 -0
- data/spec/models/alert_user_meta_spec.rb +47 -0
- data/spec/models/all_recipient_spec.rb +51 -0
- data/spec/models/amazon_cloud_trail_integration_spec.rb +81 -0
- data/spec/models/amazon_ec2_auto_scaling_integration_spec.rb +81 -0
- data/spec/models/amazon_rds_integration_spec.rb +81 -0
- data/spec/models/amazon_route53_health_check_integration_spec.rb +81 -0
- data/spec/models/amazon_security_hub_integration_spec.rb +81 -0
- data/spec/models/amazon_ses_integration_spec.rb +81 -0
- data/spec/models/amazon_sns_callback_spec.rb +81 -0
- data/spec/models/amazon_sns_integration_spec.rb +81 -0
- data/spec/models/amazon_sns_outgoing_integration_spec.rb +81 -0
- data/spec/models/api_integration_spec.rb +205 -0
- data/spec/models/apica_integration_spec.rb +81 -0
- data/spec/models/apimetrics_integration_spec.rb +81 -0
- data/spec/models/app_dynamics_integration_spec.rb +81 -0
- data/spec/models/app_optics_integration_spec.rb +81 -0
- data/spec/models/app_signal_integration_spec.rb +81 -0
- data/spec/models/app_signal_v2_integration_spec.rb +81 -0
- data/spec/models/assign_alert_payload_spec.rb +59 -0
- data/spec/models/atatus_integration_spec.rb +81 -0
- data/spec/models/atlassian_bamboo_integration_spec.rb +81 -0
- data/spec/models/authenticate_integration_payload_spec.rb +45 -0
- data/spec/models/auto_close_action_spec.rb +41 -0
- data/spec/models/auto_restart_action_spec.rb +47 -0
- data/spec/models/auto_task_email_integration_spec.rb +81 -0
- data/spec/models/autotask_aem_email_integration_spec.rb +81 -0
- data/spec/models/azure_auto_scale_integration_spec.rb +81 -0
- data/spec/models/azure_integration_spec.rb +81 -0
- data/spec/models/azure_oms_integration_spec.rb +81 -0
- data/spec/models/azure_resource_health_integration_spec.rb +81 -0
- data/spec/models/azure_service_health_integration_spec.rb +81 -0
- data/spec/models/base_alert_spec.rb +155 -0
- data/spec/models/base_incident_spec.rb +119 -0
- data/spec/models/base_incoming_feature_spec.rb +129 -0
- data/spec/models/base_integration_action_spec.rb +63 -0
- data/spec/models/base_response_spec.rb +47 -0
- data/spec/models/base_response_with_expandable_spec.rb +53 -0
- data/spec/models/base_webhook_callback_spec.rb +97 -0
- data/spec/models/bidirectional_callback_new_spec.rb +85 -0
- data/spec/models/bidirectional_callback_spec.rb +73 -0
- data/spec/models/big_panda_integration_spec.rb +81 -0
- data/spec/models/bitbucket_integration_spec.rb +81 -0
- data/spec/models/blue_matador_integration_spec.rb +81 -0
- data/spec/models/bmc_foot_prints_v11_callback_spec.rb +115 -0
- data/spec/models/bmc_foot_prints_v11_integration_spec.rb +199 -0
- data/spec/models/bmc_foot_prints_v12_callback_spec.rb +109 -0
- data/spec/models/bmc_foot_prints_v12_integration_spec.rb +199 -0
- data/spec/models/bmc_remedy_callback_spec.rb +109 -0
- data/spec/models/bmc_remedy_force_integration_spec.rb +81 -0
- data/spec/models/bmc_remedy_integration_spec.rb +199 -0
- data/spec/models/bmc_remedy_on_demand_callback_spec.rb +93 -0
- data/spec/models/bmc_remedy_on_demand_integration_spec.rb +81 -0
- data/spec/models/boundary_integration_spec.rb +81 -0
- data/spec/models/callback_condition_spec.rb +73 -0
- data/spec/models/campfire_callback_spec.rb +81 -0
- data/spec/models/campfire_integration_spec.rb +81 -0
- data/spec/models/catchpoint_integration_spec.rb +81 -0
- data/spec/models/change_notification_rule_order_payload_spec.rb +41 -0
- data/spec/models/change_policy_order_payload_spec.rb +41 -0
- data/spec/models/change_team_routing_rule_order_payload_spec.rb +41 -0
- data/spec/models/check_mk_integration_spec.rb +81 -0
- data/spec/models/cherwell_callback_spec.rb +109 -0
- data/spec/models/cherwell_integration_spec.rb +199 -0
- data/spec/models/circle_ci_integration_spec.rb +81 -0
- data/spec/models/circonus_callback_spec.rb +91 -0
- data/spec/models/circonus_integration_spec.rb +199 -0
- data/spec/models/close_alert_payload_spec.rb +53 -0
- data/spec/models/close_incident_payload_spec.rb +41 -0
- data/spec/models/close_integration_action_spec.rb +81 -0
- data/spec/models/cloud_monix_integration_spec.rb +81 -0
- data/spec/models/cloud_sploit_integration_spec.rb +81 -0
- data/spec/models/cloud_watch_events_integration_spec.rb +81 -0
- data/spec/models/cloud_watch_integration_spec.rb +81 -0
- data/spec/models/codeship_integration_spec.rb +81 -0
- data/spec/models/common_integration_action_spec.rb +81 -0
- data/spec/models/compose_integration_spec.rb +81 -0
- data/spec/models/condition_spec.rb +79 -0
- data/spec/models/connect_wise_automate_integration_spec.rb +81 -0
- data/spec/models/connect_wise_callback_spec.rb +79 -0
- data/spec/models/connect_wise_integration_spec.rb +199 -0
- data/spec/models/connect_wise_manage_callback_spec.rb +121 -0
- data/spec/models/connect_wise_manage_integration_spec.rb +199 -0
- data/spec/models/connect_wise_manage_v2_callback_spec.rb +133 -0
- data/spec/models/connect_wise_manage_v2_integration_spec.rb +199 -0
- data/spec/models/consul_integration_spec.rb +81 -0
- data/spec/models/contact_meta_spec.rb +51 -0
- data/spec/models/contact_spec.rb +59 -0
- data/spec/models/contact_status_spec.rb +47 -0
- data/spec/models/contact_with_apply_order_spec.rb +65 -0
- data/spec/models/copper_egg_integration_spec.rb +81 -0
- data/spec/models/crashlytics_integration_spec.rb +81 -0
- data/spec/models/create_alert_payload_spec.rb +117 -0
- data/spec/models/create_contact_payload_spec.rb +51 -0
- data/spec/models/create_custom_user_role_payload_spec.rb +59 -0
- data/spec/models/create_escalation_payload_spec.rb +65 -0
- data/spec/models/create_forwarding_rule_payload_spec.rb +65 -0
- data/spec/models/create_forwarding_rule_response_spec.rb +53 -0
- data/spec/models/create_heartbeat_payload_spec.rb +35 -0
- data/spec/models/create_heartbeat_response_spec.rb +53 -0
- data/spec/models/create_incident_payload_spec.rb +99 -0
- data/spec/models/create_integration_action_spec.rb +193 -0
- data/spec/models/create_integration_actions_response_spec.rb +53 -0
- data/spec/models/create_integration_response_spec.rb +53 -0
- data/spec/models/create_maintenance_payload_spec.rb +53 -0
- data/spec/models/create_maintenance_response_spec.rb +53 -0
- data/spec/models/create_notification_rule_payload_spec.rb +95 -0
- data/spec/models/create_notification_rule_response_spec.rb +53 -0
- data/spec/models/create_notification_rule_step_payload_spec.rb +53 -0
- data/spec/models/create_policy_response_spec.rb +53 -0
- data/spec/models/create_saved_search_payload_spec.rb +65 -0
- data/spec/models/create_saved_search_response_spec.rb +53 -0
- data/spec/models/create_schedule_override_payload_spec.rb +65 -0
- data/spec/models/create_schedule_override_response_spec.rb +53 -0
- data/spec/models/create_schedule_payload_spec.rb +71 -0
- data/spec/models/create_schedule_response_spec.rb +53 -0
- data/spec/models/create_schedule_rotation_payload_spec.rb +81 -0
- data/spec/models/create_team_payload_spec.rb +53 -0
- data/spec/models/create_team_role_payload_spec.rb +47 -0
- data/spec/models/create_team_routing_rule_payload_spec.rb +71 -0
- data/spec/models/create_user_payload_spec.rb +95 -0
- data/spec/models/custom_user_role_spec.rb +65 -0
- data/spec/models/datadog_callback_spec.rb +97 -0
- data/spec/models/datadog_integration_spec.rb +199 -0
- data/spec/models/dataloop_io_integration_spec.rb +81 -0
- data/spec/models/deduplication_action_spec.rb +57 -0
- data/spec/models/delay_action_spec.rb +63 -0
- data/spec/models/deprecated_alert_policy_meta_spec.rb +69 -0
- data/spec/models/deprecated_alert_policy_spec.rb +81 -0
- data/spec/models/deprecated_auto_close_alert_policy_spec.rb +87 -0
- data/spec/models/deprecated_auto_restart_notifications_alert_policy_spec.rb +93 -0
- data/spec/models/deprecated_change_alert_policy_order_payload_spec.rb +41 -0
- data/spec/models/deprecated_create_alert_policy_response_spec.rb +53 -0
- data/spec/models/deprecated_get_alert_policy_response_spec.rb +53 -0
- data/spec/models/deprecated_list_alert_policies_response_spec.rb +53 -0
- data/spec/models/deprecated_modify_alert_policy_spec.rb +181 -0
- data/spec/models/deprecated_notification_deduplication_alert_policy_spec.rb +103 -0
- data/spec/models/deprecated_notification_delay_alert_policy_spec.rb +109 -0
- data/spec/models/deprecated_notification_renotify_alert_policy_spec.rb +81 -0
- data/spec/models/deprecated_notification_suppress_alert_policy_spec.rb +81 -0
- data/spec/models/desk_callback_spec.rb +103 -0
- data/spec/models/desk_integration_spec.rb +199 -0
- data/spec/models/detectify_integration_spec.rb +81 -0
- data/spec/models/disable_heartbeat_response_spec.rb +53 -0
- data/spec/models/disable_integration_response_spec.rb +53 -0
- data/spec/models/dns_check_integration_spec.rb +81 -0
- data/spec/models/drip_stat_integration_spec.rb +81 -0
- data/spec/models/duration_spec.rb +51 -0
- data/spec/models/dynatrace_app_mon_callback_spec.rb +109 -0
- data/spec/models/dynatrace_app_mon_integration_spec.rb +199 -0
- data/spec/models/dynatrace_integration_spec.rb +81 -0
- data/spec/models/dynatrace_v2_integration_spec.rb +81 -0
- data/spec/models/email_based_incoming_feature_spec.rb +141 -0
- data/spec/models/email_integration_spec.rb +81 -0
- data/spec/models/enable_heartbeat_response_spec.rb +53 -0
- data/spec/models/enable_integration_response_spec.rb +53 -0
- data/spec/models/error_response_spec.rb +65 -0
- data/spec/models/errorception_integration_spec.rb +81 -0
- data/spec/models/escalate_alert_to_next_payload_spec.rb +59 -0
- data/spec/models/escalation_recipient_spec.rb +57 -0
- data/spec/models/escalation_repeat_spec.rb +59 -0
- data/spec/models/escalation_rule_spec.rb +67 -0
- data/spec/models/escalation_spec.rb +71 -0
- data/spec/models/evident_io_integration_spec.rb +81 -0
- data/spec/models/execute_custom_alert_action_payload_spec.rb +53 -0
- data/spec/models/filter_spec.rb +45 -0
- data/spec/models/flock_callback_spec.rb +97 -0
- data/spec/models/flock_integration_spec.rb +81 -0
- data/spec/models/flowdock_callback_spec.rb +75 -0
- data/spec/models/flowdock_integration_spec.rb +81 -0
- data/spec/models/flowdock_v2_callback_spec.rb +63 -0
- data/spec/models/flowdock_v2_integration_spec.rb +81 -0
- data/spec/models/forwarding_rule_meta_spec.rb +47 -0
- data/spec/models/forwarding_rule_spec.rb +71 -0
- data/spec/models/freshdesk_callback_spec.rb +97 -0
- data/spec/models/freshdesk_integration_spec.rb +199 -0
- data/spec/models/freshservice_callback_spec.rb +103 -0
- data/spec/models/freshservice_integration_spec.rb +199 -0
- data/spec/models/get_account_info_response_spec.rb +53 -0
- data/spec/models/get_alert_attachment_response_spec.rb +53 -0
- data/spec/models/get_alert_response_spec.rb +53 -0
- data/spec/models/get_contact_response_spec.rb +53 -0
- data/spec/models/get_count_alerts_response_data_spec.rb +41 -0
- data/spec/models/get_count_alerts_response_spec.rb +53 -0
- data/spec/models/get_custom_user_role_response_spec.rb +53 -0
- data/spec/models/get_escalation_response_spec.rb +53 -0
- data/spec/models/get_forwarding_rule_response_spec.rb +53 -0
- data/spec/models/get_heartbeat_response_spec.rb +53 -0
- data/spec/models/get_incident_request_status_response_spec.rb +53 -0
- data/spec/models/get_incident_response_spec.rb +53 -0
- data/spec/models/get_integration_response_spec.rb +53 -0
- data/spec/models/get_maintenance_response_spec.rb +53 -0
- data/spec/models/get_next_on_call_response_spec.rb +53 -0
- data/spec/models/get_notification_rule_response_spec.rb +53 -0
- data/spec/models/get_notification_rule_step_response_spec.rb +53 -0
- data/spec/models/get_on_call_response_spec.rb +53 -0
- data/spec/models/get_policy_response_spec.rb +53 -0
- data/spec/models/get_request_status_response_spec.rb +53 -0
- data/spec/models/get_saved_search_response_spec.rb +53 -0
- data/spec/models/get_schedule_override_response_spec.rb +53 -0
- data/spec/models/get_schedule_response_spec.rb +53 -0
- data/spec/models/get_schedule_rotation_response_spec.rb +53 -0
- data/spec/models/get_schedule_timeline_response_spec.rb +59 -0
- data/spec/models/get_team_response_spec.rb +53 -0
- data/spec/models/get_team_role_response_spec.rb +53 -0
- data/spec/models/get_team_routing_rule_response_spec.rb +53 -0
- data/spec/models/get_user_response_spec.rb +59 -0
- data/spec/models/ghost_inspector_integration_spec.rb +81 -0
- data/spec/models/git_hub_integration_spec.rb +81 -0
- data/spec/models/git_lab_integration_spec.rb +81 -0
- data/spec/models/google_stack_driver_integration_spec.rb +81 -0
- data/spec/models/grafana_integration_spec.rb +81 -0
- data/spec/models/grafana_v2_integration_spec.rb +81 -0
- data/spec/models/graylog_integration_spec.rb +81 -0
- data/spec/models/group_recipient_spec.rb +57 -0
- data/spec/models/heartbeat_integration_spec.rb +81 -0
- data/spec/models/heartbeat_meta_spec.rb +53 -0
- data/spec/models/heartbeat_spec.rb +81 -0
- data/spec/models/hip_chat_add_on_callback_spec.rb +97 -0
- data/spec/models/hip_chat_add_on_integration_spec.rb +273 -0
- data/spec/models/hip_chat_callback_v2_spec.rb +97 -0
- data/spec/models/hip_chat_integration_spec.rb +81 -0
- data/spec/models/hip_chat_integration_v2_spec.rb +199 -0
- data/spec/models/honeybadger_integration_spec.rb +81 -0
- data/spec/models/hosted_graphite_integration_spec.rb +81 -0
- data/spec/models/hp_service_manager_callback_spec.rb +97 -0
- data/spec/models/hp_service_manager_integration_spec.rb +199 -0
- data/spec/models/humio_integration_spec.rb +81 -0
- data/spec/models/icinga2_callback_spec.rb +85 -0
- data/spec/models/icinga2_integration_spec.rb +199 -0
- data/spec/models/icinga_callback_spec.rb +85 -0
- data/spec/models/icinga_integration_spec.rb +199 -0
- data/spec/models/ignore_integration_action_spec.rb +63 -0
- data/spec/models/incident_action_payload_spec.rb +41 -0
- data/spec/models/incident_request_status_spec.rb +77 -0
- data/spec/models/incident_spec.rb +125 -0
- data/spec/models/incoming_call_integration_spec.rb +81 -0
- data/spec/models/instana_integration_spec.rb +81 -0
- data/spec/models/integration_action_filter_spec.rb +51 -0
- data/spec/models/integration_condition_spec.rb +63 -0
- data/spec/models/integration_meta_spec.rb +65 -0
- data/spec/models/integration_spec.rb +81 -0
- data/spec/models/jenkins_integration_spec.rb +81 -0
- data/spec/models/jira_callback_spec.rb +115 -0
- data/spec/models/jira_integration_spec.rb +199 -0
- data/spec/models/jira_service_desk_callback_spec.rb +115 -0
- data/spec/models/jira_service_desk_integration_spec.rb +199 -0
- data/spec/models/kapacitor_integration_spec.rb +81 -0
- data/spec/models/kayako_callback_spec.rb +103 -0
- data/spec/models/kayako_integration_spec.rb +199 -0
- data/spec/models/kore_callback_spec.rb +97 -0
- data/spec/models/kore_integration_spec.rb +81 -0
- data/spec/models/lab_tech_email_integration_spec.rb +81 -0
- data/spec/models/librato_integration_spec.rb +81 -0
- data/spec/models/libre_nms_callback_spec.rb +97 -0
- data/spec/models/libre_nms_integration_spec.rb +199 -0
- data/spec/models/lightstep_integration_spec.rb +81 -0
- data/spec/models/list_alert_attachments_response_spec.rb +53 -0
- data/spec/models/list_alert_logs_response_spec.rb +59 -0
- data/spec/models/list_alert_notes_response_spec.rb +59 -0
- data/spec/models/list_alert_recipients_response_spec.rb +53 -0
- data/spec/models/list_alerts_response_spec.rb +59 -0
- data/spec/models/list_contacts_response_spec.rb +53 -0
- data/spec/models/list_custom_user_roles_response_spec.rb +53 -0
- data/spec/models/list_escalations_response_spec.rb +53 -0
- data/spec/models/list_forwarding_rules_response_spec.rb +53 -0
- data/spec/models/list_heartbeat_response_data_spec.rb +41 -0
- data/spec/models/list_heartbeat_response_spec.rb +53 -0
- data/spec/models/list_incidents_response_spec.rb +59 -0
- data/spec/models/list_integration_actions_response_spec.rb +53 -0
- data/spec/models/list_integrations_response_spec.rb +53 -0
- data/spec/models/list_maintenance_response_spec.rb +53 -0
- data/spec/models/list_notification_rule_steps_response_spec.rb +53 -0
- data/spec/models/list_notification_rules_response_spec.rb +53 -0
- data/spec/models/list_on_calls_response_spec.rb +53 -0
- data/spec/models/list_policies_response_spec.rb +53 -0
- data/spec/models/list_saved_searches_response_spec.rb +53 -0
- data/spec/models/list_schedule_override_response_spec.rb +53 -0
- data/spec/models/list_schedule_rotations_response_spec.rb +53 -0
- data/spec/models/list_schedules_response_spec.rb +59 -0
- data/spec/models/list_team_logs_response_spec.rb +53 -0
- data/spec/models/list_team_role_response_spec.rb +53 -0
- data/spec/models/list_team_routing_rules_response_spec.rb +53 -0
- data/spec/models/list_teams_response_spec.rb +59 -0
- data/spec/models/list_user_escalations_response_spec.rb +53 -0
- data/spec/models/list_user_forwarding_rules_response_spec.rb +53 -0
- data/spec/models/list_user_schedules_response_spec.rb +53 -0
- data/spec/models/list_user_teams_response_spec.rb +53 -0
- data/spec/models/list_users_response_spec.rb +65 -0
- data/spec/models/logentries_integration_spec.rb +81 -0
- data/spec/models/loggly_integration_spec.rb +81 -0
- data/spec/models/logic_monitor_callback_spec.rb +103 -0
- data/spec/models/logic_monitor_integration_spec.rb +199 -0
- data/spec/models/logstash_integration_spec.rb +81 -0
- data/spec/models/logz_io_integration_spec.rb +81 -0
- data/spec/models/looker_integration_spec.rb +81 -0
- data/spec/models/loom_integration_spec.rb +81 -0
- data/spec/models/magentrix_callback_spec.rb +103 -0
- data/spec/models/magentrix_integration_spec.rb +199 -0
- data/spec/models/maintenance_entity_spec.rb +51 -0
- data/spec/models/maintenance_meta_spec.rb +63 -0
- data/spec/models/maintenance_rule_spec.rb +51 -0
- data/spec/models/maintenance_spec.rb +69 -0
- data/spec/models/maintenance_time_spec.rb +57 -0
- data/spec/models/manage_engine_integration_dto_spec.rb +81 -0
- data/spec/models/marid_callback_spec.rb +73 -0
- data/spec/models/marid_integration_spec.rb +199 -0
- data/spec/models/match_all_conditions_spec.rb +51 -0
- data/spec/models/match_all_spec.rb +45 -0
- data/spec/models/match_any_condition_spec.rb +51 -0
- data/spec/models/mattermost_callback_spec.rb +79 -0
- data/spec/models/mattermost_integration_spec.rb +199 -0
- data/spec/models/mongo_db_cloud_integration_spec.rb +81 -0
- data/spec/models/monitis_email_integration_spec.rb +81 -0
- data/spec/models/monitis_integration_spec.rb +81 -0
- data/spec/models/moxtra_callback_spec.rb +97 -0
- data/spec/models/moxtra_integration_spec.rb +81 -0
- data/spec/models/ms_teams_callback_spec.rb +91 -0
- data/spec/models/ms_teams_integration_spec.rb +273 -0
- data/spec/models/ms_teams_v2_callback_spec.rb +97 -0
- data/spec/models/ms_teams_v2_integration_spec.rb +285 -0
- data/spec/models/nagios_based_v1_callback_spec.rb +85 -0
- data/spec/models/nagios_based_v2_callback_spec.rb +85 -0
- data/spec/models/nagios_integration_v1_spec.rb +199 -0
- data/spec/models/nagios_integration_v2_spec.rb +199 -0
- data/spec/models/nagios_xi_integration_v1_spec.rb +199 -0
- data/spec/models/nagios_xi_integration_v2_spec.rb +199 -0
- data/spec/models/nagios_xiv1_callback_spec.rb +85 -0
- data/spec/models/nagios_xiv2_callback_spec.rb +85 -0
- data/spec/models/netuitive_integration_spec.rb +81 -0
- data/spec/models/neustar_integration_spec.rb +81 -0
- data/spec/models/new_relic_integration_spec.rb +81 -0
- data/spec/models/new_relic_v2_integration_spec.rb +81 -0
- data/spec/models/next_on_call_spec.rb +65 -0
- data/spec/models/no_recipient_spec.rb +51 -0
- data/spec/models/node_ping_integration_spec.rb +81 -0
- data/spec/models/notification_action_type_spec.rb +35 -0
- data/spec/models/notification_policy_spec.rb +117 -0
- data/spec/models/notification_repeat_spec.rb +47 -0
- data/spec/models/notification_rule_meta_spec.rb +65 -0
- data/spec/models/notification_rule_spec.rb +101 -0
- data/spec/models/notification_rule_step_parent_spec.rb +47 -0
- data/spec/models/notification_rule_step_spec.rb +65 -0
- data/spec/models/notify_time_spec.rb +35 -0
- data/spec/models/observium_integration_spec.rb +81 -0
- data/spec/models/observium_v2_integration_spec.rb +81 -0
- data/spec/models/oec_callback_spec.rb +63 -0
- data/spec/models/oec_integration_spec.rb +199 -0
- data/spec/models/oem_email_integration_spec.rb +81 -0
- data/spec/models/oem_integration_spec.rb +81 -0
- data/spec/models/on_call_spec.rb +53 -0
- data/spec/models/op5_callback_spec.rb +103 -0
- data/spec/models/op5_integration_spec.rb +199 -0
- data/spec/models/ops_dash_integration_spec.rb +81 -0
- data/spec/models/ops_genie_callback_spec.rb +91 -0
- data/spec/models/ops_genie_integration_spec.rb +199 -0
- data/spec/models/opsview_integration_spec.rb +81 -0
- data/spec/models/outgoing_callback_new_spec.rb +63 -0
- data/spec/models/outgoing_callback_spec.rb +57 -0
- data/spec/models/page_details_spec.rb +59 -0
- data/spec/models/pager_duty_compatibility_integration_spec.rb +81 -0
- data/spec/models/panopta_integration_spec.rb +81 -0
- data/spec/models/papertrail_integration_spec.rb +81 -0
- data/spec/models/participant_spec.rb +77 -0
- data/spec/models/pingdom_integration_spec.rb +81 -0
- data/spec/models/pingdom_v2_integration_spec.rb +81 -0
- data/spec/models/pingdom_webhook_integration_spec.rb +81 -0
- data/spec/models/pingometer_integration_spec.rb +81 -0
- data/spec/models/planio_callback_spec.rb +75 -0
- data/spec/models/planio_integration_spec.rb +81 -0
- data/spec/models/policy_meta_spec.rb +69 -0
- data/spec/models/policy_spec.rb +87 -0
- data/spec/models/prometheus_integration_spec.rb +81 -0
- data/spec/models/prtg_callback_spec.rb +103 -0
- data/spec/models/prtg_integration_spec.rb +199 -0
- data/spec/models/rackspace_integration_spec.rb +81 -0
- data/spec/models/raygun_integration_spec.rb +81 -0
- data/spec/models/recipient_spec.rb +51 -0
- data/spec/models/red_gate_sql_monitor_email_integration_spec.rb +81 -0
- data/spec/models/responder_spec.rb +51 -0
- data/spec/models/riemann_integration_spec.rb +81 -0
- data/spec/models/rigor_integration_spec.rb +81 -0
- data/spec/models/ring_central_email_integration_spec.rb +81 -0
- data/spec/models/ring_central_glip_callback_spec.rb +97 -0
- data/spec/models/ring_central_glip_integration_spec.rb +81 -0
- data/spec/models/rollbar_callback_spec.rb +91 -0
- data/spec/models/rollbar_integration_spec.rb +199 -0
- data/spec/models/runscope_integration_spec.rb +81 -0
- data/spec/models/sales_force_service_cloud_callback_spec.rb +115 -0
- data/spec/models/sales_force_service_cloud_integration_spec.rb +199 -0
- data/spec/models/salt_stack_integration_spec.rb +81 -0
- data/spec/models/saved_search_entity_spec.rb +41 -0
- data/spec/models/saved_search_meta_spec.rb +47 -0
- data/spec/models/saved_search_spec.rb +83 -0
- data/spec/models/scalyr_integration_spec.rb +81 -0
- data/spec/models/schedule_meta_spec.rb +53 -0
- data/spec/models/schedule_override_meta_spec.rb +41 -0
- data/spec/models/schedule_override_rotation_spec.rb +47 -0
- data/spec/models/schedule_override_spec.rb +71 -0
- data/spec/models/schedule_recipient_spec.rb +57 -0
- data/spec/models/schedule_rotation_spec.rb +87 -0
- data/spec/models/schedule_rotation_with_parent_spec.rb +93 -0
- data/spec/models/schedule_spec.rb +77 -0
- data/spec/models/schedule_timeline_spec.rb +77 -0
- data/spec/models/scom_integration_spec.rb +81 -0
- data/spec/models/scout_integration_spec.rb +81 -0
- data/spec/models/sematext_spm_integration_spec.rb +81 -0
- data/spec/models/sensu_integration_spec.rb +81 -0
- data/spec/models/sentry_integration_spec.rb +81 -0
- data/spec/models/server_density_integration_spec.rb +81 -0
- data/spec/models/server_guard24_integration_spec.rb +81 -0
- data/spec/models/service_now_integration_spec.rb +81 -0
- data/spec/models/service_now_v2_callback_spec.rb +103 -0
- data/spec/models/service_now_v2_integration_spec.rb +199 -0
- data/spec/models/service_now_v3_callback_spec.rb +103 -0
- data/spec/models/service_now_v3_integration_spec.rb +199 -0
- data/spec/models/signal_fxv2_integration_spec.rb +81 -0
- data/spec/models/signal_sciences_integration_spec.rb +81 -0
- data/spec/models/signalfx_integration_spec.rb +81 -0
- data/spec/models/site24x7_integration_spec.rb +81 -0
- data/spec/models/slack_app_callback_spec.rb +103 -0
- data/spec/models/slack_app_integration_spec.rb +285 -0
- data/spec/models/slack_callback_spec.rb +79 -0
- data/spec/models/slack_integration_spec.rb +199 -0
- data/spec/models/snooze_alert_payload_spec.rb +59 -0
- data/spec/models/soasta_integration_spec.rb +81 -0
- data/spec/models/solar_winds_web_help_desk_callback_spec.rb +85 -0
- data/spec/models/solar_winds_web_help_desk_integration_spec.rb +199 -0
- data/spec/models/solarwinds_callback_spec.rb +85 -0
- data/spec/models/solarwinds_integration_spec.rb +199 -0
- data/spec/models/solarwinds_msp_ncentral_callback_spec.rb +103 -0
- data/spec/models/solarwinds_mspn_central_integration_spec.rb +199 -0
- data/spec/models/splunk_callback_spec.rb +97 -0
- data/spec/models/splunk_integration_spec.rb +199 -0
- data/spec/models/splunk_itsi_callback_spec.rb +103 -0
- data/spec/models/splunk_itsi_integration_spec.rb +199 -0
- data/spec/models/stack_storm_integration_spec.rb +81 -0
- data/spec/models/stackdriver_callback_spec.rb +79 -0
- data/spec/models/stackdriver_integration_spec.rb +199 -0
- data/spec/models/status_cake_integration_spec.rb +81 -0
- data/spec/models/status_hub_integration_spec.rb +81 -0
- data/spec/models/status_io_callback_spec.rb +91 -0
- data/spec/models/status_io_integration_spec.rb +199 -0
- data/spec/models/status_page_entry_spec.rb +47 -0
- data/spec/models/status_page_io_callback_spec.rb +97 -0
- data/spec/models/status_page_io_integration_spec.rb +199 -0
- data/spec/models/statusy_callback_spec.rb +97 -0
- data/spec/models/statusy_integration_spec.rb +81 -0
- data/spec/models/struxure_ware_integration_spec.rb +81 -0
- data/spec/models/success_data_spec.rb +47 -0
- data/spec/models/success_response_spec.rb +59 -0
- data/spec/models/sumo_logic_callback_spec.rb +91 -0
- data/spec/models/sumo_logic_integration_spec.rb +199 -0
- data/spec/models/sysdig_cloud_integration_spec.rb +81 -0
- data/spec/models/team_log_details_spec.rb +53 -0
- data/spec/models/team_log_spec.rb +47 -0
- data/spec/models/team_member_spec.rb +47 -0
- data/spec/models/team_meta_spec.rb +47 -0
- data/spec/models/team_recipient_spec.rb +57 -0
- data/spec/models/team_responder_spec.rb +57 -0
- data/spec/models/team_right_spec.rb +47 -0
- data/spec/models/team_role_spec.rb +53 -0
- data/spec/models/team_routing_rule_spec.rb +83 -0
- data/spec/models/team_spec.rb +59 -0
- data/spec/models/thousand_eyes_integration_spec.rb +81 -0
- data/spec/models/threat_stack_integration_spec.rb +81 -0
- data/spec/models/thundra_integration_spec.rb +81 -0
- data/spec/models/tideways_integration_spec.rb +81 -0
- data/spec/models/time_of_day_restriction_interval_spec.rb +51 -0
- data/spec/models/time_of_day_restriction_spec.rb +59 -0
- data/spec/models/time_restriction_interval_spec.rb +45 -0
- data/spec/models/timeline_period_spec.rb +71 -0
- data/spec/models/timeline_recipient_spec.rb +59 -0
- data/spec/models/timeline_rotation_spec.rb +59 -0
- data/spec/models/timeline_spec.rb +41 -0
- data/spec/models/token_based_incoming_feature_spec.rb +153 -0
- data/spec/models/trace_integration_spec.rb +81 -0
- data/spec/models/track_it_callback_spec.rb +85 -0
- data/spec/models/track_it_integration_spec.rb +199 -0
- data/spec/models/travis_ci_integration_spec.rb +81 -0
- data/spec/models/twilio_integration_spec.rb +81 -0
- data/spec/models/un_acknowledge_alert_payload_spec.rb +53 -0
- data/spec/models/update_alert_description_payload_spec.rb +41 -0
- data/spec/models/update_alert_message_payload_spec.rb +41 -0
- data/spec/models/update_alert_priority_payload_spec.rb +45 -0
- data/spec/models/update_contact_payload_spec.rb +41 -0
- data/spec/models/update_custom_user_role_payload_spec.rb +59 -0
- data/spec/models/update_escalation_payload_spec.rb +65 -0
- data/spec/models/update_forwarding_rule_payload_spec.rb +59 -0
- data/spec/models/update_heartbeat_payload_spec.rb +63 -0
- data/spec/models/update_heartbeat_response_spec.rb +53 -0
- data/spec/models/update_integration_actions_response_spec.rb +53 -0
- data/spec/models/update_integration_response_spec.rb +53 -0
- data/spec/models/update_maintenance_payload_spec.rb +53 -0
- data/spec/models/update_maintenance_response_spec.rb +53 -0
- data/spec/models/update_notification_rule_payload_spec.rb +89 -0
- data/spec/models/update_notification_rule_response_spec.rb +53 -0
- data/spec/models/update_notification_rule_step_payload_spec.rb +53 -0
- data/spec/models/update_saved_search_payload_spec.rb +65 -0
- data/spec/models/update_schedule_override_payload_spec.rb +59 -0
- data/spec/models/update_schedule_override_response_spec.rb +53 -0
- data/spec/models/update_schedule_payload_spec.rb +71 -0
- data/spec/models/update_schedule_response_spec.rb +53 -0
- data/spec/models/update_schedule_rotation_payload_spec.rb +81 -0
- data/spec/models/update_team_payload_spec.rb +53 -0
- data/spec/models/update_team_role_payload_spec.rb +47 -0
- data/spec/models/update_team_routing_rule_payload_spec.rb +65 -0
- data/spec/models/update_user_payload_spec.rb +95 -0
- data/spec/models/updown_io_integration_spec.rb +81 -0
- data/spec/models/uptime_robot_email_integration_spec.rb +81 -0
- data/spec/models/uptime_robot_integration_spec.rb +81 -0
- data/spec/models/uptime_webhook_integration_spec.rb +81 -0
- data/spec/models/uptrends_email_integration_spec.rb +81 -0
- data/spec/models/user_address_spec.rb +65 -0
- data/spec/models/user_contact_spec.rb +69 -0
- data/spec/models/user_meta_spec.rb +47 -0
- data/spec/models/user_recipient_spec.rb +57 -0
- data/spec/models/user_responder_spec.rb +51 -0
- data/spec/models/user_role_spec.rb +47 -0
- data/spec/models/user_spec.rb +125 -0
- data/spec/models/v_center_integration_spec.rb +81 -0
- data/spec/models/vcsa_integration_spec.rb +81 -0
- data/spec/models/vivid_cortex_integration_spec.rb +81 -0
- data/spec/models/wavefront_integration_spec.rb +81 -0
- data/spec/models/webhook_callback_spec.rb +97 -0
- data/spec/models/webhook_integration_spec.rb +81 -0
- data/spec/models/weekday_time_restriction_interval_spec.rb +51 -0
- data/spec/models/weekday_time_restriction_spec.rb +79 -0
- data/spec/models/whats_up_gold_integration_spec.rb +81 -0
- data/spec/models/workato_integration_spec.rb +81 -0
- data/spec/models/x_pack_alerting_callback_spec.rb +85 -0
- data/spec/models/x_pack_alerting_integration_spec.rb +199 -0
- data/spec/models/xl_release_integration_spec.rb +81 -0
- data/spec/models/xmpp_callback_spec.rb +85 -0
- data/spec/models/xmpp_integration_spec.rb +199 -0
- data/spec/models/zabbix_callback_spec.rb +85 -0
- data/spec/models/zabbix_integration_spec.rb +199 -0
- data/spec/models/zapier_integration_spec.rb +81 -0
- data/spec/models/zendesk_callback_spec.rb +103 -0
- data/spec/models/zendesk_integration_spec.rb +199 -0
- data/spec/models/zenoss_callback_spec.rb +85 -0
- data/spec/models/zenoss_integration_spec.rb +199 -0
- data/spec/models/zyrion_integration_spec.rb +81 -0
- data/spec/spec_helper.rb +111 -0
- data/swagger.yaml +24877 -0
- metadata +2637 -0
data/Rakefile
ADDED
data/docs/AccountApi.md
ADDED
@@ -0,0 +1,57 @@
|
|
1
|
+
# OpsgenieSdk::AccountApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.opsgenie.com*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**get_info**](AccountApi.md#get_info) | **GET** /v2/account | Get Account Info
|
8
|
+
|
9
|
+
|
10
|
+
# **get_info**
|
11
|
+
> GetAccountInfoResponse get_info
|
12
|
+
|
13
|
+
Get Account Info
|
14
|
+
|
15
|
+
Used to search and retrieve account information in Opsgenie
|
16
|
+
|
17
|
+
### Example
|
18
|
+
```ruby
|
19
|
+
# load the gem
|
20
|
+
require 'opsgenie_sdk'
|
21
|
+
# setup authorization
|
22
|
+
OpsgenieSdk.configure do |config|
|
23
|
+
# Configure API key authorization: GenieKey
|
24
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
25
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
26
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
27
|
+
end
|
28
|
+
|
29
|
+
api_instance = OpsgenieSdk::AccountApi.new
|
30
|
+
|
31
|
+
begin
|
32
|
+
#Get Account Info
|
33
|
+
result = api_instance.get_info
|
34
|
+
p result
|
35
|
+
rescue OpsgenieSdk::ApiError => e
|
36
|
+
puts "Exception when calling AccountApi->get_info: #{e}"
|
37
|
+
end
|
38
|
+
```
|
39
|
+
|
40
|
+
### Parameters
|
41
|
+
This endpoint does not need any parameter.
|
42
|
+
|
43
|
+
### Return type
|
44
|
+
|
45
|
+
[**GetAccountInfoResponse**](GetAccountInfoResponse.md)
|
46
|
+
|
47
|
+
### Authorization
|
48
|
+
|
49
|
+
[GenieKey](../README.md#GenieKey)
|
50
|
+
|
51
|
+
### HTTP request headers
|
52
|
+
|
53
|
+
- **Content-Type**: Not defined
|
54
|
+
- **Accept**: application/json
|
55
|
+
|
56
|
+
|
57
|
+
|
data/docs/AccountInfo.md
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
# OpsgenieSdk::AccountInfo
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**name** | **String** | | [optional]
|
7
|
+
**user_count** | **Integer** | | [optional]
|
8
|
+
**plan** | [**AccountPlan**](AccountPlan.md) | | [optional]
|
9
|
+
|
10
|
+
|
data/docs/AccountPlan.md
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
# OpsgenieSdk::AccountPlan
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**max_user_count** | **Integer** | | [optional]
|
7
|
+
**name** | **String** | | [optional]
|
8
|
+
**is_yearly** | **BOOLEAN** | | [optional]
|
9
|
+
|
10
|
+
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# OpsgenieSdk::AckIntegrationAction
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**name** | **String** | |
|
7
|
+
**order** | **Integer** | | [optional]
|
8
|
+
**filter** | [**IntegrationActionFilter**](IntegrationActionFilter.md) | |
|
9
|
+
**type** | **String** | |
|
10
|
+
**user** | **String** | | [optional]
|
11
|
+
**note** | **String** | | [optional]
|
12
|
+
**_alias** | **String** | | [optional]
|
13
|
+
|
14
|
+
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# OpsgenieSdk::AcknowledgeAlertPayload
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**user** | **String** | Display name of the request owner | [optional]
|
7
|
+
**note** | **String** | Additional note that will be added while creating the alert | [optional]
|
8
|
+
**source** | **String** | Source field of the alert. Default value is IP address of the incoming request | [optional]
|
9
|
+
|
10
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# OpsgenieSdk::ActionCategorized
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**_parent** | [**IntegrationMeta**](IntegrationMeta.md) | | [optional]
|
7
|
+
**ignore** | [**Array<IgnoreIntegrationAction>**](IgnoreIntegrationAction.md) | | [optional]
|
8
|
+
**create** | [**Array<CreateIntegrationAction>**](CreateIntegrationAction.md) | | [optional]
|
9
|
+
**close** | [**Array<CloseIntegrationAction>**](CloseIntegrationAction.md) | | [optional]
|
10
|
+
**acknowledge** | [**Array<AckIntegrationAction>**](AckIntegrationAction.md) | | [optional]
|
11
|
+
**add_note** | [**Array<AddNoteIntegrationAction>**](AddNoteIntegrationAction.md) | | [optional]
|
12
|
+
|
13
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# OpsgenieSdk::ActionMapping
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**action** | **String** | |
|
7
|
+
**extra_field** | **String** | | [optional]
|
8
|
+
**extra_field_for_mapped_action** | **String** | | [optional]
|
9
|
+
**mapped_action** | **String** | | [optional]
|
10
|
+
|
11
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# OpsgenieSdk::AddDetailsToAlertPayload
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**user** | **String** | Display name of the request owner | [optional]
|
7
|
+
**note** | **String** | Additional note that will be added while creating the alert | [optional]
|
8
|
+
**source** | **String** | Source field of the alert. Default value is IP address of the incoming request | [optional]
|
9
|
+
**details** | **Hash<String, String>** | Key-value pairs to add as custom property into alert. |
|
10
|
+
|
11
|
+
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# OpsgenieSdk::AddNoteIntegrationAction
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**name** | **String** | |
|
7
|
+
**order** | **Integer** | | [optional]
|
8
|
+
**filter** | [**IntegrationActionFilter**](IntegrationActionFilter.md) | |
|
9
|
+
**type** | **String** | |
|
10
|
+
**user** | **String** | | [optional]
|
11
|
+
**note** | **String** | | [optional]
|
12
|
+
**_alias** | **String** | | [optional]
|
13
|
+
|
14
|
+
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# OpsgenieSdk::AddNoteToAlertPayload
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**user** | **String** | Display name of the request owner | [optional]
|
7
|
+
**note** | **String** | Additional note that will be added while creating the alert | [optional]
|
8
|
+
**source** | **String** | Source field of the alert. Default value is IP address of the incoming request | [optional]
|
9
|
+
|
10
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# OpsgenieSdk::AddResponderToAlertPayload
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**user** | **String** | Display name of the request owner | [optional]
|
7
|
+
**note** | **String** | Additional note that will be added while creating the alert | [optional]
|
8
|
+
**source** | **String** | Source field of the alert. Default value is IP address of the incoming request | [optional]
|
9
|
+
**responder** | [**Recipient**](Recipient.md) | |
|
10
|
+
|
11
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# OpsgenieSdk::AddTagsToAlertPayload
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**user** | **String** | Display name of the request owner | [optional]
|
7
|
+
**note** | **String** | Additional note that will be added while creating the alert | [optional]
|
8
|
+
**source** | **String** | Source field of the alert. Default value is IP address of the incoming request | [optional]
|
9
|
+
**tags** | **Array<String>** | |
|
10
|
+
|
11
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# OpsgenieSdk::AddTeamMemberPayload
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**user** | [**UserMeta**](UserMeta.md) | Member identifier of the team, consisting 'id' and/or 'username' |
|
7
|
+
**role** | **String** | Member role of the user, consisting 'user', 'admin' or a custom team role. Default value is 'user' | [optional] [default to 'user']
|
8
|
+
|
9
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# OpsgenieSdk::AddTeamToAlertPayload
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**user** | **String** | Display name of the request owner | [optional]
|
7
|
+
**note** | **String** | Additional note that will be added while creating the alert | [optional]
|
8
|
+
**source** | **String** | Source field of the alert. Default value is IP address of the incoming request | [optional]
|
9
|
+
**team** | [**TeamRecipient**](TeamRecipient.md) | |
|
10
|
+
|
11
|
+
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# OpsgenieSdk::AirbrakeIntegration
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**type** | **String** | Type of the integration. (For instance, \"API\" for API Integration) |
|
7
|
+
**id** | **String** | | [optional]
|
8
|
+
**name** | **String** | Name of the integration. Name must be unique for each integration |
|
9
|
+
**enabled** | **BOOLEAN** | This parameter is for specifying whether the integration will be enabled or not | [optional]
|
10
|
+
**owner_team** | [**TeamMeta**](TeamMeta.md) | | [optional]
|
11
|
+
**is_global** | **BOOLEAN** | | [optional]
|
12
|
+
**_read_only** | **Array<String>** | | [optional]
|
13
|
+
|
14
|
+
|
data/docs/Alert.md
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# OpsgenieSdk::Alert
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**id** | **String** | |
|
7
|
+
**tiny_id** | **String** | | [optional]
|
8
|
+
**_alias** | **String** | | [optional]
|
9
|
+
**message** | **String** | | [optional]
|
10
|
+
**status** | **String** | | [optional]
|
11
|
+
**acknowledged** | **BOOLEAN** | | [optional]
|
12
|
+
**is_seen** | **BOOLEAN** | | [optional]
|
13
|
+
**tags** | **Array<String>** | | [optional]
|
14
|
+
**snoozed** | **BOOLEAN** | | [optional]
|
15
|
+
**snoozed_until** | **DateTime** | | [optional]
|
16
|
+
**count** | **Integer** | | [optional]
|
17
|
+
**last_occurred_at** | **DateTime** | | [optional]
|
18
|
+
**created_at** | **DateTime** | | [optional]
|
19
|
+
**updated_at** | **DateTime** | | [optional]
|
20
|
+
**source** | **String** | | [optional]
|
21
|
+
**owner** | **String** | | [optional]
|
22
|
+
**priority** | **String** | | [optional]
|
23
|
+
**responders** | [**Array<Responder>**](Responder.md) | | [optional]
|
24
|
+
**integration** | [**AlertIntegration**](AlertIntegration.md) | | [optional]
|
25
|
+
**report** | [**AlertReport**](AlertReport.md) | | [optional]
|
26
|
+
**actions** | **Array<String>** | | [optional]
|
27
|
+
**entity** | **String** | | [optional]
|
28
|
+
**description** | **String** | | [optional]
|
29
|
+
**details** | **Hash<String, String>** | | [optional]
|
30
|
+
|
31
|
+
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# OpsgenieSdk::AlertActionPayload
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**user** | **String** | Display name of the request owner | [optional]
|
7
|
+
**note** | **String** | Additional note that will be added while creating the alert | [optional]
|
8
|
+
**source** | **String** | Source field of the alert. Default value is IP address of the incoming request | [optional]
|
9
|
+
|
10
|
+
|
data/docs/AlertApi.md
ADDED
@@ -0,0 +1,2161 @@
|
|
1
|
+
# OpsgenieSdk::AlertApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.opsgenie.com*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**acknowledge_alert**](AlertApi.md#acknowledge_alert) | **POST** /v2/alerts/{identifier}/acknowledge | Acknowledge Alert
|
8
|
+
[**add_attachment**](AlertApi.md#add_attachment) | **POST** /v2/alerts/{identifier}/attachments | Add Alert Attachment
|
9
|
+
[**add_details**](AlertApi.md#add_details) | **POST** /v2/alerts/{identifier}/details | Add Details
|
10
|
+
[**add_note**](AlertApi.md#add_note) | **POST** /v2/alerts/{identifier}/notes | Add Note
|
11
|
+
[**add_responder**](AlertApi.md#add_responder) | **POST** /v2/alerts/{identifier}/responders | Add Responder
|
12
|
+
[**add_tags**](AlertApi.md#add_tags) | **POST** /v2/alerts/{identifier}/tags | Add Tags
|
13
|
+
[**add_team**](AlertApi.md#add_team) | **POST** /v2/alerts/{identifier}/teams | Add Team
|
14
|
+
[**assign_alert**](AlertApi.md#assign_alert) | **POST** /v2/alerts/{identifier}/assign | Assign Alert
|
15
|
+
[**close_alert**](AlertApi.md#close_alert) | **POST** /v2/alerts/{identifier}/close | Close Alert
|
16
|
+
[**count_alerts**](AlertApi.md#count_alerts) | **GET** /v2/alerts/count | Count Alerts
|
17
|
+
[**create_alert**](AlertApi.md#create_alert) | **POST** /v2/alerts | Create Alert
|
18
|
+
[**create_saved_searches**](AlertApi.md#create_saved_searches) | **POST** /v2/alerts/saved-searches | Create Saved Search
|
19
|
+
[**delete_alert**](AlertApi.md#delete_alert) | **DELETE** /v2/alerts/{identifier} | Delete Alert
|
20
|
+
[**delete_saved_search**](AlertApi.md#delete_saved_search) | **DELETE** /v2/alerts/saved-searches/{identifier} | Delete Saved Search
|
21
|
+
[**escalate_alert**](AlertApi.md#escalate_alert) | **POST** /v2/alerts/{identifier}/escalate | Escalate Alert
|
22
|
+
[**execute_custom_alert_action**](AlertApi.md#execute_custom_alert_action) | **POST** /v2/alerts/{identifier}/actions/{actionName} | Custom Alert Action
|
23
|
+
[**get_alert**](AlertApi.md#get_alert) | **GET** /v2/alerts/{identifier} | Get Alert
|
24
|
+
[**get_attachment**](AlertApi.md#get_attachment) | **GET** /v2/alerts/{identifier}/attachments/{attachmentId} | Get Alert Attachment
|
25
|
+
[**get_request_status**](AlertApi.md#get_request_status) | **GET** /v2/alerts/requests/{requestId} | Get Request Status of Alert
|
26
|
+
[**get_saved_search**](AlertApi.md#get_saved_search) | **GET** /v2/alerts/saved-searches/{identifier} | Get Saved Search
|
27
|
+
[**list_alerts**](AlertApi.md#list_alerts) | **GET** /v2/alerts | List Alerts
|
28
|
+
[**list_attachments**](AlertApi.md#list_attachments) | **GET** /v2/alerts/{identifier}/attachments | List Alert Attachments
|
29
|
+
[**list_logs**](AlertApi.md#list_logs) | **GET** /v2/alerts/{identifier}/logs | List Alert Logs
|
30
|
+
[**list_notes**](AlertApi.md#list_notes) | **GET** /v2/alerts/{identifier}/notes | List Alert Notes
|
31
|
+
[**list_recipients**](AlertApi.md#list_recipients) | **GET** /v2/alerts/{identifier}/recipients | List Alert Recipients
|
32
|
+
[**list_saved_searches**](AlertApi.md#list_saved_searches) | **GET** /v2/alerts/saved-searches | Lists Saved Searches
|
33
|
+
[**remove_attachment**](AlertApi.md#remove_attachment) | **DELETE** /v2/alerts/{identifier}/attachments/{attachmentId} | Remove Alert Attachment
|
34
|
+
[**remove_details**](AlertApi.md#remove_details) | **DELETE** /v2/alerts/{identifier}/details | Remove Details
|
35
|
+
[**remove_tags**](AlertApi.md#remove_tags) | **DELETE** /v2/alerts/{identifier}/tags | Remove Tags
|
36
|
+
[**snooze_alert**](AlertApi.md#snooze_alert) | **POST** /v2/alerts/{identifier}/snooze | Snooze Alert
|
37
|
+
[**un_acknowledge_alert**](AlertApi.md#un_acknowledge_alert) | **POST** /v2/alerts/{identifier}/unacknowledge | UnAcknowledge Alert
|
38
|
+
[**update_alert_description**](AlertApi.md#update_alert_description) | **PUT** /v2/alerts/{identifier}/description | Update Alert Description
|
39
|
+
[**update_alert_message**](AlertApi.md#update_alert_message) | **PUT** /v2/alerts/{identifier}/message | Update Alert Message
|
40
|
+
[**update_alert_priority**](AlertApi.md#update_alert_priority) | **PUT** /v2/alerts/{identifier}/priority | Update Alert Priority
|
41
|
+
[**update_saved_search**](AlertApi.md#update_saved_search) | **PATCH** /v2/alerts/saved-searches/{identifier} | Update Saved Search
|
42
|
+
|
43
|
+
|
44
|
+
# **acknowledge_alert**
|
45
|
+
> SuccessResponse acknowledge_alert(identifier, , opts)
|
46
|
+
|
47
|
+
Acknowledge Alert
|
48
|
+
|
49
|
+
Acknowledges alert with given identifier
|
50
|
+
|
51
|
+
### Example
|
52
|
+
```ruby
|
53
|
+
# load the gem
|
54
|
+
require 'opsgenie_sdk'
|
55
|
+
# setup authorization
|
56
|
+
OpsgenieSdk.configure do |config|
|
57
|
+
# Configure API key authorization: GenieKey
|
58
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
59
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
60
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
61
|
+
end
|
62
|
+
|
63
|
+
api_instance = OpsgenieSdk::AlertApi.new
|
64
|
+
|
65
|
+
identifier = 'identifier_example' # String | Identifier of alert which could be alert id, tiny id or alert alias
|
66
|
+
|
67
|
+
opts = {
|
68
|
+
identifier_type: 'id' # String | Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
|
69
|
+
body: OpsgenieSdk::AcknowledgeAlertPayload.new # AcknowledgeAlertPayload | Request payload of acknowledging alert action
|
70
|
+
}
|
71
|
+
|
72
|
+
begin
|
73
|
+
#Acknowledge Alert
|
74
|
+
result = api_instance.acknowledge_alert(identifier, , opts)
|
75
|
+
p result
|
76
|
+
rescue OpsgenieSdk::ApiError => e
|
77
|
+
puts "Exception when calling AlertApi->acknowledge_alert: #{e}"
|
78
|
+
end
|
79
|
+
```
|
80
|
+
|
81
|
+
### Parameters
|
82
|
+
|
83
|
+
Name | Type | Description | Notes
|
84
|
+
------------- | ------------- | ------------- | -------------
|
85
|
+
**identifier** | **String**| Identifier of alert which could be alert id, tiny id or alert alias |
|
86
|
+
**identifier_type** | **String**| Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny' | [optional] [default to id]
|
87
|
+
**body** | [**AcknowledgeAlertPayload**](AcknowledgeAlertPayload.md)| Request payload of acknowledging alert action | [optional]
|
88
|
+
|
89
|
+
### Return type
|
90
|
+
|
91
|
+
[**SuccessResponse**](SuccessResponse.md)
|
92
|
+
|
93
|
+
### Authorization
|
94
|
+
|
95
|
+
[GenieKey](../README.md#GenieKey)
|
96
|
+
|
97
|
+
### HTTP request headers
|
98
|
+
|
99
|
+
- **Content-Type**: Not defined
|
100
|
+
- **Accept**: application/json
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
# **add_attachment**
|
105
|
+
> SuccessResponse add_attachment(identifier, file, opts)
|
106
|
+
|
107
|
+
Add Alert Attachment
|
108
|
+
|
109
|
+
Add Alert Attachment to related alert
|
110
|
+
|
111
|
+
### Example
|
112
|
+
```ruby
|
113
|
+
# load the gem
|
114
|
+
require 'opsgenie_sdk'
|
115
|
+
# setup authorization
|
116
|
+
OpsgenieSdk.configure do |config|
|
117
|
+
# Configure API key authorization: GenieKey
|
118
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
119
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
120
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
121
|
+
end
|
122
|
+
|
123
|
+
api_instance = OpsgenieSdk::AlertApi.new
|
124
|
+
|
125
|
+
identifier = 'identifier_example' # String | Identifier of alert which could be alert id, tiny id or alert alias
|
126
|
+
|
127
|
+
file = File.new('/path/to/file.txt') # File | Attachment file to be uploaded
|
128
|
+
|
129
|
+
opts = {
|
130
|
+
alert_identifier_type: 'id', # String | Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
|
131
|
+
user: 'user_example', # String | Display name of the request owner
|
132
|
+
index_file: 'index_file_example' # String | Name of html file which will be shown when attachment clicked on UI
|
133
|
+
}
|
134
|
+
|
135
|
+
begin
|
136
|
+
#Add Alert Attachment
|
137
|
+
result = api_instance.add_attachment(identifier, file, opts)
|
138
|
+
p result
|
139
|
+
rescue OpsgenieSdk::ApiError => e
|
140
|
+
puts "Exception when calling AlertApi->add_attachment: #{e}"
|
141
|
+
end
|
142
|
+
```
|
143
|
+
|
144
|
+
### Parameters
|
145
|
+
|
146
|
+
Name | Type | Description | Notes
|
147
|
+
------------- | ------------- | ------------- | -------------
|
148
|
+
**identifier** | **String**| Identifier of alert which could be alert id, tiny id or alert alias |
|
149
|
+
**file** | **File**| Attachment file to be uploaded |
|
150
|
+
**alert_identifier_type** | **String**| Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny' | [optional] [default to id]
|
151
|
+
**user** | **String**| Display name of the request owner | [optional]
|
152
|
+
**index_file** | **String**| Name of html file which will be shown when attachment clicked on UI | [optional]
|
153
|
+
|
154
|
+
### Return type
|
155
|
+
|
156
|
+
[**SuccessResponse**](SuccessResponse.md)
|
157
|
+
|
158
|
+
### Authorization
|
159
|
+
|
160
|
+
[GenieKey](../README.md#GenieKey)
|
161
|
+
|
162
|
+
### HTTP request headers
|
163
|
+
|
164
|
+
- **Content-Type**: multipart/form-data
|
165
|
+
- **Accept**: application/json
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
# **add_details**
|
170
|
+
> SuccessResponse add_details(identifier, body, opts)
|
171
|
+
|
172
|
+
Add Details
|
173
|
+
|
174
|
+
Add details to the alert with given identifier
|
175
|
+
|
176
|
+
### Example
|
177
|
+
```ruby
|
178
|
+
# load the gem
|
179
|
+
require 'opsgenie_sdk'
|
180
|
+
# setup authorization
|
181
|
+
OpsgenieSdk.configure do |config|
|
182
|
+
# Configure API key authorization: GenieKey
|
183
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
184
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
185
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
186
|
+
end
|
187
|
+
|
188
|
+
api_instance = OpsgenieSdk::AlertApi.new
|
189
|
+
|
190
|
+
identifier = 'identifier_example' # String | Identifier of alert which could be alert id, tiny id or alert alias
|
191
|
+
|
192
|
+
body = OpsgenieSdk::AddDetailsToAlertPayload.new # AddDetailsToAlertPayload | Request payload of adding alert details action
|
193
|
+
|
194
|
+
opts = {
|
195
|
+
identifier_type: 'id' # String | Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
|
196
|
+
}
|
197
|
+
|
198
|
+
begin
|
199
|
+
#Add Details
|
200
|
+
result = api_instance.add_details(identifier, body, opts)
|
201
|
+
p result
|
202
|
+
rescue OpsgenieSdk::ApiError => e
|
203
|
+
puts "Exception when calling AlertApi->add_details: #{e}"
|
204
|
+
end
|
205
|
+
```
|
206
|
+
|
207
|
+
### Parameters
|
208
|
+
|
209
|
+
Name | Type | Description | Notes
|
210
|
+
------------- | ------------- | ------------- | -------------
|
211
|
+
**identifier** | **String**| Identifier of alert which could be alert id, tiny id or alert alias |
|
212
|
+
**body** | [**AddDetailsToAlertPayload**](AddDetailsToAlertPayload.md)| Request payload of adding alert details action |
|
213
|
+
**identifier_type** | **String**| Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny' | [optional] [default to id]
|
214
|
+
|
215
|
+
### Return type
|
216
|
+
|
217
|
+
[**SuccessResponse**](SuccessResponse.md)
|
218
|
+
|
219
|
+
### Authorization
|
220
|
+
|
221
|
+
[GenieKey](../README.md#GenieKey)
|
222
|
+
|
223
|
+
### HTTP request headers
|
224
|
+
|
225
|
+
- **Content-Type**: Not defined
|
226
|
+
- **Accept**: application/json
|
227
|
+
|
228
|
+
|
229
|
+
|
230
|
+
# **add_note**
|
231
|
+
> SuccessResponse add_note(identifier, body, opts)
|
232
|
+
|
233
|
+
Add Note
|
234
|
+
|
235
|
+
Adds note to alert with given identifier
|
236
|
+
|
237
|
+
### Example
|
238
|
+
```ruby
|
239
|
+
# load the gem
|
240
|
+
require 'opsgenie_sdk'
|
241
|
+
# setup authorization
|
242
|
+
OpsgenieSdk.configure do |config|
|
243
|
+
# Configure API key authorization: GenieKey
|
244
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
245
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
246
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
247
|
+
end
|
248
|
+
|
249
|
+
api_instance = OpsgenieSdk::AlertApi.new
|
250
|
+
|
251
|
+
identifier = 'identifier_example' # String | Identifier of alert which could be alert id, tiny id or alert alias
|
252
|
+
|
253
|
+
body = OpsgenieSdk::AddNoteToAlertPayload.new # AddNoteToAlertPayload | Request payload of adding note to alert action
|
254
|
+
|
255
|
+
opts = {
|
256
|
+
identifier_type: 'id' # String | Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
|
257
|
+
}
|
258
|
+
|
259
|
+
begin
|
260
|
+
#Add Note
|
261
|
+
result = api_instance.add_note(identifier, body, opts)
|
262
|
+
p result
|
263
|
+
rescue OpsgenieSdk::ApiError => e
|
264
|
+
puts "Exception when calling AlertApi->add_note: #{e}"
|
265
|
+
end
|
266
|
+
```
|
267
|
+
|
268
|
+
### Parameters
|
269
|
+
|
270
|
+
Name | Type | Description | Notes
|
271
|
+
------------- | ------------- | ------------- | -------------
|
272
|
+
**identifier** | **String**| Identifier of alert which could be alert id, tiny id or alert alias |
|
273
|
+
**body** | [**AddNoteToAlertPayload**](AddNoteToAlertPayload.md)| Request payload of adding note to alert action |
|
274
|
+
**identifier_type** | **String**| Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny' | [optional] [default to id]
|
275
|
+
|
276
|
+
### Return type
|
277
|
+
|
278
|
+
[**SuccessResponse**](SuccessResponse.md)
|
279
|
+
|
280
|
+
### Authorization
|
281
|
+
|
282
|
+
[GenieKey](../README.md#GenieKey)
|
283
|
+
|
284
|
+
### HTTP request headers
|
285
|
+
|
286
|
+
- **Content-Type**: Not defined
|
287
|
+
- **Accept**: application/json
|
288
|
+
|
289
|
+
|
290
|
+
|
291
|
+
# **add_responder**
|
292
|
+
> SuccessResponse add_responder(identifier, body, opts)
|
293
|
+
|
294
|
+
Add Responder
|
295
|
+
|
296
|
+
Add responder to alert with given identifier
|
297
|
+
|
298
|
+
### Example
|
299
|
+
```ruby
|
300
|
+
# load the gem
|
301
|
+
require 'opsgenie_sdk'
|
302
|
+
# setup authorization
|
303
|
+
OpsgenieSdk.configure do |config|
|
304
|
+
# Configure API key authorization: GenieKey
|
305
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
306
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
307
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
308
|
+
end
|
309
|
+
|
310
|
+
api_instance = OpsgenieSdk::AlertApi.new
|
311
|
+
|
312
|
+
identifier = 'identifier_example' # String | Identifier of alert which could be alert id, tiny id or alert alias
|
313
|
+
|
314
|
+
body = OpsgenieSdk::AddResponderToAlertPayload.new # AddResponderToAlertPayload | Request payload of adding responder to alert action
|
315
|
+
|
316
|
+
opts = {
|
317
|
+
identifier_type: 'id' # String | Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
|
318
|
+
}
|
319
|
+
|
320
|
+
begin
|
321
|
+
#Add Responder
|
322
|
+
result = api_instance.add_responder(identifier, body, opts)
|
323
|
+
p result
|
324
|
+
rescue OpsgenieSdk::ApiError => e
|
325
|
+
puts "Exception when calling AlertApi->add_responder: #{e}"
|
326
|
+
end
|
327
|
+
```
|
328
|
+
|
329
|
+
### Parameters
|
330
|
+
|
331
|
+
Name | Type | Description | Notes
|
332
|
+
------------- | ------------- | ------------- | -------------
|
333
|
+
**identifier** | **String**| Identifier of alert which could be alert id, tiny id or alert alias |
|
334
|
+
**body** | [**AddResponderToAlertPayload**](AddResponderToAlertPayload.md)| Request payload of adding responder to alert action |
|
335
|
+
**identifier_type** | **String**| Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny' | [optional] [default to id]
|
336
|
+
|
337
|
+
### Return type
|
338
|
+
|
339
|
+
[**SuccessResponse**](SuccessResponse.md)
|
340
|
+
|
341
|
+
### Authorization
|
342
|
+
|
343
|
+
[GenieKey](../README.md#GenieKey)
|
344
|
+
|
345
|
+
### HTTP request headers
|
346
|
+
|
347
|
+
- **Content-Type**: Not defined
|
348
|
+
- **Accept**: application/json
|
349
|
+
|
350
|
+
|
351
|
+
|
352
|
+
# **add_tags**
|
353
|
+
> SuccessResponse add_tags(identifier, body, opts)
|
354
|
+
|
355
|
+
Add Tags
|
356
|
+
|
357
|
+
Add tags to the alert with given identifier
|
358
|
+
|
359
|
+
### Example
|
360
|
+
```ruby
|
361
|
+
# load the gem
|
362
|
+
require 'opsgenie_sdk'
|
363
|
+
# setup authorization
|
364
|
+
OpsgenieSdk.configure do |config|
|
365
|
+
# Configure API key authorization: GenieKey
|
366
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
367
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
368
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
369
|
+
end
|
370
|
+
|
371
|
+
api_instance = OpsgenieSdk::AlertApi.new
|
372
|
+
|
373
|
+
identifier = 'identifier_example' # String | Identifier of alert which could be alert id, tiny id or alert alias
|
374
|
+
|
375
|
+
body = OpsgenieSdk::AddTagsToAlertPayload.new # AddTagsToAlertPayload | Request payload of creating alert tags action
|
376
|
+
|
377
|
+
opts = {
|
378
|
+
identifier_type: 'id' # String | Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
|
379
|
+
}
|
380
|
+
|
381
|
+
begin
|
382
|
+
#Add Tags
|
383
|
+
result = api_instance.add_tags(identifier, body, opts)
|
384
|
+
p result
|
385
|
+
rescue OpsgenieSdk::ApiError => e
|
386
|
+
puts "Exception when calling AlertApi->add_tags: #{e}"
|
387
|
+
end
|
388
|
+
```
|
389
|
+
|
390
|
+
### Parameters
|
391
|
+
|
392
|
+
Name | Type | Description | Notes
|
393
|
+
------------- | ------------- | ------------- | -------------
|
394
|
+
**identifier** | **String**| Identifier of alert which could be alert id, tiny id or alert alias |
|
395
|
+
**body** | [**AddTagsToAlertPayload**](AddTagsToAlertPayload.md)| Request payload of creating alert tags action |
|
396
|
+
**identifier_type** | **String**| Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny' | [optional] [default to id]
|
397
|
+
|
398
|
+
### Return type
|
399
|
+
|
400
|
+
[**SuccessResponse**](SuccessResponse.md)
|
401
|
+
|
402
|
+
### Authorization
|
403
|
+
|
404
|
+
[GenieKey](../README.md#GenieKey)
|
405
|
+
|
406
|
+
### HTTP request headers
|
407
|
+
|
408
|
+
- **Content-Type**: Not defined
|
409
|
+
- **Accept**: application/json
|
410
|
+
|
411
|
+
|
412
|
+
|
413
|
+
# **add_team**
|
414
|
+
> SuccessResponse add_team(identifier, body, opts)
|
415
|
+
|
416
|
+
Add Team
|
417
|
+
|
418
|
+
Add team to alert with given identifier
|
419
|
+
|
420
|
+
### Example
|
421
|
+
```ruby
|
422
|
+
# load the gem
|
423
|
+
require 'opsgenie_sdk'
|
424
|
+
# setup authorization
|
425
|
+
OpsgenieSdk.configure do |config|
|
426
|
+
# Configure API key authorization: GenieKey
|
427
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
428
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
429
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
430
|
+
end
|
431
|
+
|
432
|
+
api_instance = OpsgenieSdk::AlertApi.new
|
433
|
+
|
434
|
+
identifier = 'identifier_example' # String | Identifier of alert which could be alert id, tiny id or alert alias
|
435
|
+
|
436
|
+
body = OpsgenieSdk::AddTeamToAlertPayload.new # AddTeamToAlertPayload | Request payload of adding team to alert action
|
437
|
+
|
438
|
+
opts = {
|
439
|
+
identifier_type: 'id' # String | Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
|
440
|
+
}
|
441
|
+
|
442
|
+
begin
|
443
|
+
#Add Team
|
444
|
+
result = api_instance.add_team(identifier, body, opts)
|
445
|
+
p result
|
446
|
+
rescue OpsgenieSdk::ApiError => e
|
447
|
+
puts "Exception when calling AlertApi->add_team: #{e}"
|
448
|
+
end
|
449
|
+
```
|
450
|
+
|
451
|
+
### Parameters
|
452
|
+
|
453
|
+
Name | Type | Description | Notes
|
454
|
+
------------- | ------------- | ------------- | -------------
|
455
|
+
**identifier** | **String**| Identifier of alert which could be alert id, tiny id or alert alias |
|
456
|
+
**body** | [**AddTeamToAlertPayload**](AddTeamToAlertPayload.md)| Request payload of adding team to alert action |
|
457
|
+
**identifier_type** | **String**| Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny' | [optional] [default to id]
|
458
|
+
|
459
|
+
### Return type
|
460
|
+
|
461
|
+
[**SuccessResponse**](SuccessResponse.md)
|
462
|
+
|
463
|
+
### Authorization
|
464
|
+
|
465
|
+
[GenieKey](../README.md#GenieKey)
|
466
|
+
|
467
|
+
### HTTP request headers
|
468
|
+
|
469
|
+
- **Content-Type**: Not defined
|
470
|
+
- **Accept**: application/json
|
471
|
+
|
472
|
+
|
473
|
+
|
474
|
+
# **assign_alert**
|
475
|
+
> SuccessResponse assign_alert(identifier, body, opts)
|
476
|
+
|
477
|
+
Assign Alert
|
478
|
+
|
479
|
+
Assign alert with given identifier
|
480
|
+
|
481
|
+
### Example
|
482
|
+
```ruby
|
483
|
+
# load the gem
|
484
|
+
require 'opsgenie_sdk'
|
485
|
+
# setup authorization
|
486
|
+
OpsgenieSdk.configure do |config|
|
487
|
+
# Configure API key authorization: GenieKey
|
488
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
489
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
490
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
491
|
+
end
|
492
|
+
|
493
|
+
api_instance = OpsgenieSdk::AlertApi.new
|
494
|
+
|
495
|
+
identifier = 'identifier_example' # String | Identifier of alert which could be alert id, tiny id or alert alias
|
496
|
+
|
497
|
+
body = OpsgenieSdk::AssignAlertPayload.new # AssignAlertPayload | Request payload of assigning alert action
|
498
|
+
|
499
|
+
opts = {
|
500
|
+
identifier_type: 'id' # String | Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
|
501
|
+
}
|
502
|
+
|
503
|
+
begin
|
504
|
+
#Assign Alert
|
505
|
+
result = api_instance.assign_alert(identifier, body, opts)
|
506
|
+
p result
|
507
|
+
rescue OpsgenieSdk::ApiError => e
|
508
|
+
puts "Exception when calling AlertApi->assign_alert: #{e}"
|
509
|
+
end
|
510
|
+
```
|
511
|
+
|
512
|
+
### Parameters
|
513
|
+
|
514
|
+
Name | Type | Description | Notes
|
515
|
+
------------- | ------------- | ------------- | -------------
|
516
|
+
**identifier** | **String**| Identifier of alert which could be alert id, tiny id or alert alias |
|
517
|
+
**body** | [**AssignAlertPayload**](AssignAlertPayload.md)| Request payload of assigning alert action |
|
518
|
+
**identifier_type** | **String**| Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny' | [optional] [default to id]
|
519
|
+
|
520
|
+
### Return type
|
521
|
+
|
522
|
+
[**SuccessResponse**](SuccessResponse.md)
|
523
|
+
|
524
|
+
### Authorization
|
525
|
+
|
526
|
+
[GenieKey](../README.md#GenieKey)
|
527
|
+
|
528
|
+
### HTTP request headers
|
529
|
+
|
530
|
+
- **Content-Type**: Not defined
|
531
|
+
- **Accept**: application/json
|
532
|
+
|
533
|
+
|
534
|
+
|
535
|
+
# **close_alert**
|
536
|
+
> SuccessResponse close_alert(identifier, , opts)
|
537
|
+
|
538
|
+
Close Alert
|
539
|
+
|
540
|
+
Closes alert with given identifier
|
541
|
+
|
542
|
+
### Example
|
543
|
+
```ruby
|
544
|
+
# load the gem
|
545
|
+
require 'opsgenie_sdk'
|
546
|
+
# setup authorization
|
547
|
+
OpsgenieSdk.configure do |config|
|
548
|
+
# Configure API key authorization: GenieKey
|
549
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
550
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
551
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
552
|
+
end
|
553
|
+
|
554
|
+
api_instance = OpsgenieSdk::AlertApi.new
|
555
|
+
|
556
|
+
identifier = 'identifier_example' # String | Identifier of alert which could be alert id, tiny id or alert alias
|
557
|
+
|
558
|
+
opts = {
|
559
|
+
identifier_type: 'id' # String | Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
|
560
|
+
body: OpsgenieSdk::CloseAlertPayload.new # CloseAlertPayload | Request payload of closing alert action
|
561
|
+
}
|
562
|
+
|
563
|
+
begin
|
564
|
+
#Close Alert
|
565
|
+
result = api_instance.close_alert(identifier, , opts)
|
566
|
+
p result
|
567
|
+
rescue OpsgenieSdk::ApiError => e
|
568
|
+
puts "Exception when calling AlertApi->close_alert: #{e}"
|
569
|
+
end
|
570
|
+
```
|
571
|
+
|
572
|
+
### Parameters
|
573
|
+
|
574
|
+
Name | Type | Description | Notes
|
575
|
+
------------- | ------------- | ------------- | -------------
|
576
|
+
**identifier** | **String**| Identifier of alert which could be alert id, tiny id or alert alias |
|
577
|
+
**identifier_type** | **String**| Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny' | [optional] [default to id]
|
578
|
+
**body** | [**CloseAlertPayload**](CloseAlertPayload.md)| Request payload of closing alert action | [optional]
|
579
|
+
|
580
|
+
### Return type
|
581
|
+
|
582
|
+
[**SuccessResponse**](SuccessResponse.md)
|
583
|
+
|
584
|
+
### Authorization
|
585
|
+
|
586
|
+
[GenieKey](../README.md#GenieKey)
|
587
|
+
|
588
|
+
### HTTP request headers
|
589
|
+
|
590
|
+
- **Content-Type**: Not defined
|
591
|
+
- **Accept**: application/json
|
592
|
+
|
593
|
+
|
594
|
+
|
595
|
+
# **count_alerts**
|
596
|
+
> GetCountAlertsResponse count_alerts(opts)
|
597
|
+
|
598
|
+
Count Alerts
|
599
|
+
|
600
|
+
Count alerts in Opsgenie
|
601
|
+
|
602
|
+
### Example
|
603
|
+
```ruby
|
604
|
+
# load the gem
|
605
|
+
require 'opsgenie_sdk'
|
606
|
+
# setup authorization
|
607
|
+
OpsgenieSdk.configure do |config|
|
608
|
+
# Configure API key authorization: GenieKey
|
609
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
610
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
611
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
612
|
+
end
|
613
|
+
|
614
|
+
api_instance = OpsgenieSdk::AlertApi.new
|
615
|
+
|
616
|
+
opts = {
|
617
|
+
query: 'query_example', # String | Search query to apply while filtering the alerts
|
618
|
+
search_identifier: 'search_identifier_example', # String | Identifier of the saved search query to apply while filtering the alerts
|
619
|
+
search_identifier_type: 'id' # String | Identifier type of the saved search query. Possible values are id and name. Default value is id. If searchIdentifier is not provided, this value is ignored.
|
620
|
+
}
|
621
|
+
|
622
|
+
begin
|
623
|
+
#Count Alerts
|
624
|
+
result = api_instance.count_alerts(opts)
|
625
|
+
p result
|
626
|
+
rescue OpsgenieSdk::ApiError => e
|
627
|
+
puts "Exception when calling AlertApi->count_alerts: #{e}"
|
628
|
+
end
|
629
|
+
```
|
630
|
+
|
631
|
+
### Parameters
|
632
|
+
|
633
|
+
Name | Type | Description | Notes
|
634
|
+
------------- | ------------- | ------------- | -------------
|
635
|
+
**query** | **String**| Search query to apply while filtering the alerts | [optional]
|
636
|
+
**search_identifier** | **String**| Identifier of the saved search query to apply while filtering the alerts | [optional]
|
637
|
+
**search_identifier_type** | **String**| Identifier type of the saved search query. Possible values are id and name. Default value is id. If searchIdentifier is not provided, this value is ignored. | [optional] [default to id]
|
638
|
+
|
639
|
+
### Return type
|
640
|
+
|
641
|
+
[**GetCountAlertsResponse**](GetCountAlertsResponse.md)
|
642
|
+
|
643
|
+
### Authorization
|
644
|
+
|
645
|
+
[GenieKey](../README.md#GenieKey)
|
646
|
+
|
647
|
+
### HTTP request headers
|
648
|
+
|
649
|
+
- **Content-Type**: Not defined
|
650
|
+
- **Accept**: application/json
|
651
|
+
|
652
|
+
|
653
|
+
|
654
|
+
# **create_alert**
|
655
|
+
> SuccessResponse create_alert(body)
|
656
|
+
|
657
|
+
Create Alert
|
658
|
+
|
659
|
+
Creates a new alert
|
660
|
+
|
661
|
+
### Example
|
662
|
+
```ruby
|
663
|
+
# load the gem
|
664
|
+
require 'opsgenie_sdk'
|
665
|
+
# setup authorization
|
666
|
+
OpsgenieSdk.configure do |config|
|
667
|
+
# Configure API key authorization: GenieKey
|
668
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
669
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
670
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
671
|
+
end
|
672
|
+
|
673
|
+
api_instance = OpsgenieSdk::AlertApi.new
|
674
|
+
|
675
|
+
body = OpsgenieSdk::CreateAlertPayload.new # CreateAlertPayload | Request payload of created alert
|
676
|
+
|
677
|
+
|
678
|
+
begin
|
679
|
+
#Create Alert
|
680
|
+
result = api_instance.create_alert(body)
|
681
|
+
p result
|
682
|
+
rescue OpsgenieSdk::ApiError => e
|
683
|
+
puts "Exception when calling AlertApi->create_alert: #{e}"
|
684
|
+
end
|
685
|
+
```
|
686
|
+
|
687
|
+
### Parameters
|
688
|
+
|
689
|
+
Name | Type | Description | Notes
|
690
|
+
------------- | ------------- | ------------- | -------------
|
691
|
+
**body** | [**CreateAlertPayload**](CreateAlertPayload.md)| Request payload of created alert |
|
692
|
+
|
693
|
+
### Return type
|
694
|
+
|
695
|
+
[**SuccessResponse**](SuccessResponse.md)
|
696
|
+
|
697
|
+
### Authorization
|
698
|
+
|
699
|
+
[GenieKey](../README.md#GenieKey)
|
700
|
+
|
701
|
+
### HTTP request headers
|
702
|
+
|
703
|
+
- **Content-Type**: Not defined
|
704
|
+
- **Accept**: application/json
|
705
|
+
|
706
|
+
|
707
|
+
|
708
|
+
# **create_saved_searches**
|
709
|
+
> CreateSavedSearchResponse create_saved_searches(body)
|
710
|
+
|
711
|
+
Create Saved Search
|
712
|
+
|
713
|
+
Create saved search with given fields
|
714
|
+
|
715
|
+
### Example
|
716
|
+
```ruby
|
717
|
+
# load the gem
|
718
|
+
require 'opsgenie_sdk'
|
719
|
+
# setup authorization
|
720
|
+
OpsgenieSdk.configure do |config|
|
721
|
+
# Configure API key authorization: GenieKey
|
722
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
723
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
724
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
725
|
+
end
|
726
|
+
|
727
|
+
api_instance = OpsgenieSdk::AlertApi.new
|
728
|
+
|
729
|
+
body = OpsgenieSdk::CreateSavedSearchPayload.new # CreateSavedSearchPayload | Request payload of creating saved search
|
730
|
+
|
731
|
+
|
732
|
+
begin
|
733
|
+
#Create Saved Search
|
734
|
+
result = api_instance.create_saved_searches(body)
|
735
|
+
p result
|
736
|
+
rescue OpsgenieSdk::ApiError => e
|
737
|
+
puts "Exception when calling AlertApi->create_saved_searches: #{e}"
|
738
|
+
end
|
739
|
+
```
|
740
|
+
|
741
|
+
### Parameters
|
742
|
+
|
743
|
+
Name | Type | Description | Notes
|
744
|
+
------------- | ------------- | ------------- | -------------
|
745
|
+
**body** | [**CreateSavedSearchPayload**](CreateSavedSearchPayload.md)| Request payload of creating saved search |
|
746
|
+
|
747
|
+
### Return type
|
748
|
+
|
749
|
+
[**CreateSavedSearchResponse**](CreateSavedSearchResponse.md)
|
750
|
+
|
751
|
+
### Authorization
|
752
|
+
|
753
|
+
[GenieKey](../README.md#GenieKey)
|
754
|
+
|
755
|
+
### HTTP request headers
|
756
|
+
|
757
|
+
- **Content-Type**: Not defined
|
758
|
+
- **Accept**: application/json
|
759
|
+
|
760
|
+
|
761
|
+
|
762
|
+
# **delete_alert**
|
763
|
+
> SuccessResponse delete_alert(identifier, , opts)
|
764
|
+
|
765
|
+
Delete Alert
|
766
|
+
|
767
|
+
Deletes an alert using alert id, tiny id or alias
|
768
|
+
|
769
|
+
### Example
|
770
|
+
```ruby
|
771
|
+
# load the gem
|
772
|
+
require 'opsgenie_sdk'
|
773
|
+
# setup authorization
|
774
|
+
OpsgenieSdk.configure do |config|
|
775
|
+
# Configure API key authorization: GenieKey
|
776
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
777
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
778
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
779
|
+
end
|
780
|
+
|
781
|
+
api_instance = OpsgenieSdk::AlertApi.new
|
782
|
+
|
783
|
+
identifier = 'identifier_example' # String | Identifier of alert which could be alert id, tiny id or alert alias
|
784
|
+
|
785
|
+
opts = {
|
786
|
+
identifier_type: 'id' # String | Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
|
787
|
+
user: 'user_example', # String | Display name of the request owner
|
788
|
+
source: 'source_example' # String | Display name of the request source
|
789
|
+
}
|
790
|
+
|
791
|
+
begin
|
792
|
+
#Delete Alert
|
793
|
+
result = api_instance.delete_alert(identifier, , opts)
|
794
|
+
p result
|
795
|
+
rescue OpsgenieSdk::ApiError => e
|
796
|
+
puts "Exception when calling AlertApi->delete_alert: #{e}"
|
797
|
+
end
|
798
|
+
```
|
799
|
+
|
800
|
+
### Parameters
|
801
|
+
|
802
|
+
Name | Type | Description | Notes
|
803
|
+
------------- | ------------- | ------------- | -------------
|
804
|
+
**identifier** | **String**| Identifier of alert which could be alert id, tiny id or alert alias |
|
805
|
+
**identifier_type** | **String**| Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny' | [optional] [default to id]
|
806
|
+
**user** | **String**| Display name of the request owner | [optional]
|
807
|
+
**source** | **String**| Display name of the request source | [optional]
|
808
|
+
|
809
|
+
### Return type
|
810
|
+
|
811
|
+
[**SuccessResponse**](SuccessResponse.md)
|
812
|
+
|
813
|
+
### Authorization
|
814
|
+
|
815
|
+
[GenieKey](../README.md#GenieKey)
|
816
|
+
|
817
|
+
### HTTP request headers
|
818
|
+
|
819
|
+
- **Content-Type**: Not defined
|
820
|
+
- **Accept**: application/json
|
821
|
+
|
822
|
+
|
823
|
+
|
824
|
+
# **delete_saved_search**
|
825
|
+
> SuccessResponse delete_saved_search(identifier, , opts)
|
826
|
+
|
827
|
+
Delete Saved Search
|
828
|
+
|
829
|
+
Deletes saved search using given search identifier
|
830
|
+
|
831
|
+
### Example
|
832
|
+
```ruby
|
833
|
+
# load the gem
|
834
|
+
require 'opsgenie_sdk'
|
835
|
+
# setup authorization
|
836
|
+
OpsgenieSdk.configure do |config|
|
837
|
+
# Configure API key authorization: GenieKey
|
838
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
839
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
840
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
841
|
+
end
|
842
|
+
|
843
|
+
api_instance = OpsgenieSdk::AlertApi.new
|
844
|
+
|
845
|
+
identifier = 'identifier_example' # String | Identifier of the saved search which could be 'id' or 'name'
|
846
|
+
|
847
|
+
opts = {
|
848
|
+
identifier_type: 'id' # String | Type of the identifier that is provided as an in-line parameter. Possible values are 'id', or 'name'
|
849
|
+
}
|
850
|
+
|
851
|
+
begin
|
852
|
+
#Delete Saved Search
|
853
|
+
result = api_instance.delete_saved_search(identifier, , opts)
|
854
|
+
p result
|
855
|
+
rescue OpsgenieSdk::ApiError => e
|
856
|
+
puts "Exception when calling AlertApi->delete_saved_search: #{e}"
|
857
|
+
end
|
858
|
+
```
|
859
|
+
|
860
|
+
### Parameters
|
861
|
+
|
862
|
+
Name | Type | Description | Notes
|
863
|
+
------------- | ------------- | ------------- | -------------
|
864
|
+
**identifier** | **String**| Identifier of the saved search which could be 'id' or 'name' |
|
865
|
+
**identifier_type** | **String**| Type of the identifier that is provided as an in-line parameter. Possible values are 'id', or 'name' | [optional] [default to id]
|
866
|
+
|
867
|
+
### Return type
|
868
|
+
|
869
|
+
[**SuccessResponse**](SuccessResponse.md)
|
870
|
+
|
871
|
+
### Authorization
|
872
|
+
|
873
|
+
[GenieKey](../README.md#GenieKey)
|
874
|
+
|
875
|
+
### HTTP request headers
|
876
|
+
|
877
|
+
- **Content-Type**: Not defined
|
878
|
+
- **Accept**: application/json
|
879
|
+
|
880
|
+
|
881
|
+
|
882
|
+
# **escalate_alert**
|
883
|
+
> SuccessResponse escalate_alert(identifier, body, opts)
|
884
|
+
|
885
|
+
Escalate Alert
|
886
|
+
|
887
|
+
Escalate alert with given identifier
|
888
|
+
|
889
|
+
### Example
|
890
|
+
```ruby
|
891
|
+
# load the gem
|
892
|
+
require 'opsgenie_sdk'
|
893
|
+
# setup authorization
|
894
|
+
OpsgenieSdk.configure do |config|
|
895
|
+
# Configure API key authorization: GenieKey
|
896
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
897
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
898
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
899
|
+
end
|
900
|
+
|
901
|
+
api_instance = OpsgenieSdk::AlertApi.new
|
902
|
+
|
903
|
+
identifier = 'identifier_example' # String | Identifier of alert which could be alert id, tiny id or alert alias
|
904
|
+
|
905
|
+
body = OpsgenieSdk::EscalateAlertToNextPayload.new # EscalateAlertToNextPayload | Request payload of escalating alert action
|
906
|
+
|
907
|
+
opts = {
|
908
|
+
identifier_type: 'id' # String | Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
|
909
|
+
}
|
910
|
+
|
911
|
+
begin
|
912
|
+
#Escalate Alert
|
913
|
+
result = api_instance.escalate_alert(identifier, body, opts)
|
914
|
+
p result
|
915
|
+
rescue OpsgenieSdk::ApiError => e
|
916
|
+
puts "Exception when calling AlertApi->escalate_alert: #{e}"
|
917
|
+
end
|
918
|
+
```
|
919
|
+
|
920
|
+
### Parameters
|
921
|
+
|
922
|
+
Name | Type | Description | Notes
|
923
|
+
------------- | ------------- | ------------- | -------------
|
924
|
+
**identifier** | **String**| Identifier of alert which could be alert id, tiny id or alert alias |
|
925
|
+
**body** | [**EscalateAlertToNextPayload**](EscalateAlertToNextPayload.md)| Request payload of escalating alert action |
|
926
|
+
**identifier_type** | **String**| Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny' | [optional] [default to id]
|
927
|
+
|
928
|
+
### Return type
|
929
|
+
|
930
|
+
[**SuccessResponse**](SuccessResponse.md)
|
931
|
+
|
932
|
+
### Authorization
|
933
|
+
|
934
|
+
[GenieKey](../README.md#GenieKey)
|
935
|
+
|
936
|
+
### HTTP request headers
|
937
|
+
|
938
|
+
- **Content-Type**: Not defined
|
939
|
+
- **Accept**: application/json
|
940
|
+
|
941
|
+
|
942
|
+
|
943
|
+
# **execute_custom_alert_action**
|
944
|
+
> SuccessResponse execute_custom_alert_action(identifier, action_name, opts)
|
945
|
+
|
946
|
+
Custom Alert Action
|
947
|
+
|
948
|
+
Custom actions for the alert
|
949
|
+
|
950
|
+
### Example
|
951
|
+
```ruby
|
952
|
+
# load the gem
|
953
|
+
require 'opsgenie_sdk'
|
954
|
+
# setup authorization
|
955
|
+
OpsgenieSdk.configure do |config|
|
956
|
+
# Configure API key authorization: GenieKey
|
957
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
958
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
959
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
960
|
+
end
|
961
|
+
|
962
|
+
api_instance = OpsgenieSdk::AlertApi.new
|
963
|
+
|
964
|
+
identifier = 'identifier_example' # String | Identifier of alert which could be alert id, tiny id or alert alias
|
965
|
+
|
966
|
+
action_name = 'action_name_example' # String | Name of the action to execute
|
967
|
+
|
968
|
+
opts = {
|
969
|
+
identifier_type: 'id' # String | Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
|
970
|
+
body: OpsgenieSdk::ExecuteCustomAlertActionPayload.new # ExecuteCustomAlertActionPayload | Request payload of executing custom alert action
|
971
|
+
}
|
972
|
+
|
973
|
+
begin
|
974
|
+
#Custom Alert Action
|
975
|
+
result = api_instance.execute_custom_alert_action(identifier, action_name, opts)
|
976
|
+
p result
|
977
|
+
rescue OpsgenieSdk::ApiError => e
|
978
|
+
puts "Exception when calling AlertApi->execute_custom_alert_action: #{e}"
|
979
|
+
end
|
980
|
+
```
|
981
|
+
|
982
|
+
### Parameters
|
983
|
+
|
984
|
+
Name | Type | Description | Notes
|
985
|
+
------------- | ------------- | ------------- | -------------
|
986
|
+
**identifier** | **String**| Identifier of alert which could be alert id, tiny id or alert alias |
|
987
|
+
**action_name** | **String**| Name of the action to execute |
|
988
|
+
**identifier_type** | **String**| Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny' | [optional] [default to id]
|
989
|
+
**body** | [**ExecuteCustomAlertActionPayload**](ExecuteCustomAlertActionPayload.md)| Request payload of executing custom alert action | [optional]
|
990
|
+
|
991
|
+
### Return type
|
992
|
+
|
993
|
+
[**SuccessResponse**](SuccessResponse.md)
|
994
|
+
|
995
|
+
### Authorization
|
996
|
+
|
997
|
+
[GenieKey](../README.md#GenieKey)
|
998
|
+
|
999
|
+
### HTTP request headers
|
1000
|
+
|
1001
|
+
- **Content-Type**: Not defined
|
1002
|
+
- **Accept**: application/json
|
1003
|
+
|
1004
|
+
|
1005
|
+
|
1006
|
+
# **get_alert**
|
1007
|
+
> GetAlertResponse get_alert(identifier, , opts)
|
1008
|
+
|
1009
|
+
Get Alert
|
1010
|
+
|
1011
|
+
Returns alert with given id, tiny id or alias
|
1012
|
+
|
1013
|
+
### Example
|
1014
|
+
```ruby
|
1015
|
+
# load the gem
|
1016
|
+
require 'opsgenie_sdk'
|
1017
|
+
# setup authorization
|
1018
|
+
OpsgenieSdk.configure do |config|
|
1019
|
+
# Configure API key authorization: GenieKey
|
1020
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
1021
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1022
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
1023
|
+
end
|
1024
|
+
|
1025
|
+
api_instance = OpsgenieSdk::AlertApi.new
|
1026
|
+
|
1027
|
+
identifier = 'identifier_example' # String | Identifier of alert which could be alert id, tiny id or alert alias
|
1028
|
+
|
1029
|
+
opts = {
|
1030
|
+
identifier_type: 'id' # String | Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
|
1031
|
+
}
|
1032
|
+
|
1033
|
+
begin
|
1034
|
+
#Get Alert
|
1035
|
+
result = api_instance.get_alert(identifier, , opts)
|
1036
|
+
p result
|
1037
|
+
rescue OpsgenieSdk::ApiError => e
|
1038
|
+
puts "Exception when calling AlertApi->get_alert: #{e}"
|
1039
|
+
end
|
1040
|
+
```
|
1041
|
+
|
1042
|
+
### Parameters
|
1043
|
+
|
1044
|
+
Name | Type | Description | Notes
|
1045
|
+
------------- | ------------- | ------------- | -------------
|
1046
|
+
**identifier** | **String**| Identifier of alert which could be alert id, tiny id or alert alias |
|
1047
|
+
**identifier_type** | **String**| Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny' | [optional] [default to id]
|
1048
|
+
|
1049
|
+
### Return type
|
1050
|
+
|
1051
|
+
[**GetAlertResponse**](GetAlertResponse.md)
|
1052
|
+
|
1053
|
+
### Authorization
|
1054
|
+
|
1055
|
+
[GenieKey](../README.md#GenieKey)
|
1056
|
+
|
1057
|
+
### HTTP request headers
|
1058
|
+
|
1059
|
+
- **Content-Type**: Not defined
|
1060
|
+
- **Accept**: application/json
|
1061
|
+
|
1062
|
+
|
1063
|
+
|
1064
|
+
# **get_attachment**
|
1065
|
+
> GetAlertAttachmentResponse get_attachment(identifier, attachment_id, opts)
|
1066
|
+
|
1067
|
+
Get Alert Attachment
|
1068
|
+
|
1069
|
+
Get alert attachment name and url for the given identifier
|
1070
|
+
|
1071
|
+
### Example
|
1072
|
+
```ruby
|
1073
|
+
# load the gem
|
1074
|
+
require 'opsgenie_sdk'
|
1075
|
+
# setup authorization
|
1076
|
+
OpsgenieSdk.configure do |config|
|
1077
|
+
# Configure API key authorization: GenieKey
|
1078
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
1079
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1080
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
1081
|
+
end
|
1082
|
+
|
1083
|
+
api_instance = OpsgenieSdk::AlertApi.new
|
1084
|
+
|
1085
|
+
identifier = 'identifier_example' # String | Identifier of alert which could be alert id, tiny id or alert alias
|
1086
|
+
|
1087
|
+
attachment_id = 789 # Integer | Identifier of alert attachment
|
1088
|
+
|
1089
|
+
opts = {
|
1090
|
+
alert_identifier_type: 'id', # String | Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
|
1091
|
+
}
|
1092
|
+
|
1093
|
+
begin
|
1094
|
+
#Get Alert Attachment
|
1095
|
+
result = api_instance.get_attachment(identifier, attachment_id, opts)
|
1096
|
+
p result
|
1097
|
+
rescue OpsgenieSdk::ApiError => e
|
1098
|
+
puts "Exception when calling AlertApi->get_attachment: #{e}"
|
1099
|
+
end
|
1100
|
+
```
|
1101
|
+
|
1102
|
+
### Parameters
|
1103
|
+
|
1104
|
+
Name | Type | Description | Notes
|
1105
|
+
------------- | ------------- | ------------- | -------------
|
1106
|
+
**identifier** | **String**| Identifier of alert which could be alert id, tiny id or alert alias |
|
1107
|
+
**attachment_id** | **Integer**| Identifier of alert attachment |
|
1108
|
+
**alert_identifier_type** | **String**| Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny' | [optional] [default to id]
|
1109
|
+
|
1110
|
+
### Return type
|
1111
|
+
|
1112
|
+
[**GetAlertAttachmentResponse**](GetAlertAttachmentResponse.md)
|
1113
|
+
|
1114
|
+
### Authorization
|
1115
|
+
|
1116
|
+
[GenieKey](../README.md#GenieKey)
|
1117
|
+
|
1118
|
+
### HTTP request headers
|
1119
|
+
|
1120
|
+
- **Content-Type**: Not defined
|
1121
|
+
- **Accept**: application/json
|
1122
|
+
|
1123
|
+
|
1124
|
+
|
1125
|
+
# **get_request_status**
|
1126
|
+
> GetRequestStatusResponse get_request_status(request_id)
|
1127
|
+
|
1128
|
+
Get Request Status of Alert
|
1129
|
+
|
1130
|
+
Used to track the status and alert details (if any) of the request whose identifier is given
|
1131
|
+
|
1132
|
+
### Example
|
1133
|
+
```ruby
|
1134
|
+
# load the gem
|
1135
|
+
require 'opsgenie_sdk'
|
1136
|
+
# setup authorization
|
1137
|
+
OpsgenieSdk.configure do |config|
|
1138
|
+
# Configure API key authorization: GenieKey
|
1139
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
1140
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1141
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
1142
|
+
end
|
1143
|
+
|
1144
|
+
api_instance = OpsgenieSdk::AlertApi.new
|
1145
|
+
|
1146
|
+
request_id = 'request_id_example' # String | Universally unique identifier of the questioned request
|
1147
|
+
|
1148
|
+
|
1149
|
+
begin
|
1150
|
+
#Get Request Status of Alert
|
1151
|
+
result = api_instance.get_request_status(request_id)
|
1152
|
+
p result
|
1153
|
+
rescue OpsgenieSdk::ApiError => e
|
1154
|
+
puts "Exception when calling AlertApi->get_request_status: #{e}"
|
1155
|
+
end
|
1156
|
+
```
|
1157
|
+
|
1158
|
+
### Parameters
|
1159
|
+
|
1160
|
+
Name | Type | Description | Notes
|
1161
|
+
------------- | ------------- | ------------- | -------------
|
1162
|
+
**request_id** | **String**| Universally unique identifier of the questioned request |
|
1163
|
+
|
1164
|
+
### Return type
|
1165
|
+
|
1166
|
+
[**GetRequestStatusResponse**](GetRequestStatusResponse.md)
|
1167
|
+
|
1168
|
+
### Authorization
|
1169
|
+
|
1170
|
+
[GenieKey](../README.md#GenieKey)
|
1171
|
+
|
1172
|
+
### HTTP request headers
|
1173
|
+
|
1174
|
+
- **Content-Type**: Not defined
|
1175
|
+
- **Accept**: application/json
|
1176
|
+
|
1177
|
+
|
1178
|
+
|
1179
|
+
# **get_saved_search**
|
1180
|
+
> GetSavedSearchResponse get_saved_search(identifier, , opts)
|
1181
|
+
|
1182
|
+
Get Saved Search
|
1183
|
+
|
1184
|
+
Get saved search for the given search identifier
|
1185
|
+
|
1186
|
+
### Example
|
1187
|
+
```ruby
|
1188
|
+
# load the gem
|
1189
|
+
require 'opsgenie_sdk'
|
1190
|
+
# setup authorization
|
1191
|
+
OpsgenieSdk.configure do |config|
|
1192
|
+
# Configure API key authorization: GenieKey
|
1193
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
1194
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1195
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
1196
|
+
end
|
1197
|
+
|
1198
|
+
api_instance = OpsgenieSdk::AlertApi.new
|
1199
|
+
|
1200
|
+
identifier = 'identifier_example' # String | Identifier of the saved search which could be 'id' or 'name'
|
1201
|
+
|
1202
|
+
opts = {
|
1203
|
+
identifier_type: 'id' # String | Type of the identifier that is provided as an in-line parameter. Possible values are 'id', or 'name'
|
1204
|
+
}
|
1205
|
+
|
1206
|
+
begin
|
1207
|
+
#Get Saved Search
|
1208
|
+
result = api_instance.get_saved_search(identifier, , opts)
|
1209
|
+
p result
|
1210
|
+
rescue OpsgenieSdk::ApiError => e
|
1211
|
+
puts "Exception when calling AlertApi->get_saved_search: #{e}"
|
1212
|
+
end
|
1213
|
+
```
|
1214
|
+
|
1215
|
+
### Parameters
|
1216
|
+
|
1217
|
+
Name | Type | Description | Notes
|
1218
|
+
------------- | ------------- | ------------- | -------------
|
1219
|
+
**identifier** | **String**| Identifier of the saved search which could be 'id' or 'name' |
|
1220
|
+
**identifier_type** | **String**| Type of the identifier that is provided as an in-line parameter. Possible values are 'id', or 'name' | [optional] [default to id]
|
1221
|
+
|
1222
|
+
### Return type
|
1223
|
+
|
1224
|
+
[**GetSavedSearchResponse**](GetSavedSearchResponse.md)
|
1225
|
+
|
1226
|
+
### Authorization
|
1227
|
+
|
1228
|
+
[GenieKey](../README.md#GenieKey)
|
1229
|
+
|
1230
|
+
### HTTP request headers
|
1231
|
+
|
1232
|
+
- **Content-Type**: Not defined
|
1233
|
+
- **Accept**: application/json
|
1234
|
+
|
1235
|
+
|
1236
|
+
|
1237
|
+
# **list_alerts**
|
1238
|
+
> ListAlertsResponse list_alerts(opts)
|
1239
|
+
|
1240
|
+
List Alerts
|
1241
|
+
|
1242
|
+
Returns list of alerts
|
1243
|
+
|
1244
|
+
### Example
|
1245
|
+
```ruby
|
1246
|
+
# load the gem
|
1247
|
+
require 'opsgenie_sdk'
|
1248
|
+
# setup authorization
|
1249
|
+
OpsgenieSdk.configure do |config|
|
1250
|
+
# Configure API key authorization: GenieKey
|
1251
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
1252
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1253
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
1254
|
+
end
|
1255
|
+
|
1256
|
+
api_instance = OpsgenieSdk::AlertApi.new
|
1257
|
+
|
1258
|
+
opts = {
|
1259
|
+
query: 'query_example', # String | Search query to apply while filtering the alerts
|
1260
|
+
search_identifier: 'search_identifier_example', # String | Identifier of the saved search query to apply while filtering the alerts
|
1261
|
+
search_identifier_type: 'id', # String | Identifier type of the saved search query. Possible values are 'id', or 'name'
|
1262
|
+
offset: 56, # Integer | Start index of the result set (to apply pagination). Minimum value (and also default value) is 0
|
1263
|
+
limit: 56, # Integer | Maximum number of items to provide in the result. Must be a positive integer value. Default value is 20 and maximum value is 100
|
1264
|
+
sort: 'createdAt', # String | Name of the field that result set will be sorted by
|
1265
|
+
order: 'desc' # String | Sorting order of the result set
|
1266
|
+
}
|
1267
|
+
|
1268
|
+
begin
|
1269
|
+
#List Alerts
|
1270
|
+
result = api_instance.list_alerts(opts)
|
1271
|
+
p result
|
1272
|
+
rescue OpsgenieSdk::ApiError => e
|
1273
|
+
puts "Exception when calling AlertApi->list_alerts: #{e}"
|
1274
|
+
end
|
1275
|
+
```
|
1276
|
+
|
1277
|
+
### Parameters
|
1278
|
+
|
1279
|
+
Name | Type | Description | Notes
|
1280
|
+
------------- | ------------- | ------------- | -------------
|
1281
|
+
**query** | **String**| Search query to apply while filtering the alerts | [optional]
|
1282
|
+
**search_identifier** | **String**| Identifier of the saved search query to apply while filtering the alerts | [optional]
|
1283
|
+
**search_identifier_type** | **String**| Identifier type of the saved search query. Possible values are 'id', or 'name' | [optional] [default to id]
|
1284
|
+
**offset** | **Integer**| Start index of the result set (to apply pagination). Minimum value (and also default value) is 0 | [optional]
|
1285
|
+
**limit** | **Integer**| Maximum number of items to provide in the result. Must be a positive integer value. Default value is 20 and maximum value is 100 | [optional]
|
1286
|
+
**sort** | **String**| Name of the field that result set will be sorted by | [optional] [default to createdAt]
|
1287
|
+
**order** | **String**| Sorting order of the result set | [optional] [default to desc]
|
1288
|
+
|
1289
|
+
### Return type
|
1290
|
+
|
1291
|
+
[**ListAlertsResponse**](ListAlertsResponse.md)
|
1292
|
+
|
1293
|
+
### Authorization
|
1294
|
+
|
1295
|
+
[GenieKey](../README.md#GenieKey)
|
1296
|
+
|
1297
|
+
### HTTP request headers
|
1298
|
+
|
1299
|
+
- **Content-Type**: Not defined
|
1300
|
+
- **Accept**: application/json
|
1301
|
+
|
1302
|
+
|
1303
|
+
|
1304
|
+
# **list_attachments**
|
1305
|
+
> ListAlertAttachmentsResponse list_attachments(identifier, , opts)
|
1306
|
+
|
1307
|
+
List Alert Attachments
|
1308
|
+
|
1309
|
+
List alert attachment names and urls for related alert
|
1310
|
+
|
1311
|
+
### Example
|
1312
|
+
```ruby
|
1313
|
+
# load the gem
|
1314
|
+
require 'opsgenie_sdk'
|
1315
|
+
# setup authorization
|
1316
|
+
OpsgenieSdk.configure do |config|
|
1317
|
+
# Configure API key authorization: GenieKey
|
1318
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
1319
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1320
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
1321
|
+
end
|
1322
|
+
|
1323
|
+
api_instance = OpsgenieSdk::AlertApi.new
|
1324
|
+
|
1325
|
+
identifier = 'identifier_example' # String | Identifier of alert which could be alert id, tiny id or alert alias
|
1326
|
+
|
1327
|
+
opts = {
|
1328
|
+
alert_identifier_type: 'id', # String | Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
|
1329
|
+
}
|
1330
|
+
|
1331
|
+
begin
|
1332
|
+
#List Alert Attachments
|
1333
|
+
result = api_instance.list_attachments(identifier, , opts)
|
1334
|
+
p result
|
1335
|
+
rescue OpsgenieSdk::ApiError => e
|
1336
|
+
puts "Exception when calling AlertApi->list_attachments: #{e}"
|
1337
|
+
end
|
1338
|
+
```
|
1339
|
+
|
1340
|
+
### Parameters
|
1341
|
+
|
1342
|
+
Name | Type | Description | Notes
|
1343
|
+
------------- | ------------- | ------------- | -------------
|
1344
|
+
**identifier** | **String**| Identifier of alert which could be alert id, tiny id or alert alias |
|
1345
|
+
**alert_identifier_type** | **String**| Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny' | [optional] [default to id]
|
1346
|
+
|
1347
|
+
### Return type
|
1348
|
+
|
1349
|
+
[**ListAlertAttachmentsResponse**](ListAlertAttachmentsResponse.md)
|
1350
|
+
|
1351
|
+
### Authorization
|
1352
|
+
|
1353
|
+
[GenieKey](../README.md#GenieKey)
|
1354
|
+
|
1355
|
+
### HTTP request headers
|
1356
|
+
|
1357
|
+
- **Content-Type**: Not defined
|
1358
|
+
- **Accept**: application/json
|
1359
|
+
|
1360
|
+
|
1361
|
+
|
1362
|
+
# **list_logs**
|
1363
|
+
> ListAlertLogsResponse list_logs(identifier, , opts)
|
1364
|
+
|
1365
|
+
List Alert Logs
|
1366
|
+
|
1367
|
+
List alert logs for the given alert identifier
|
1368
|
+
|
1369
|
+
### Example
|
1370
|
+
```ruby
|
1371
|
+
# load the gem
|
1372
|
+
require 'opsgenie_sdk'
|
1373
|
+
# setup authorization
|
1374
|
+
OpsgenieSdk.configure do |config|
|
1375
|
+
# Configure API key authorization: GenieKey
|
1376
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
1377
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1378
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
1379
|
+
end
|
1380
|
+
|
1381
|
+
api_instance = OpsgenieSdk::AlertApi.new
|
1382
|
+
|
1383
|
+
identifier = 'identifier_example' # String | Identifier of alert which could be alert id, tiny id or alert alias
|
1384
|
+
|
1385
|
+
opts = {
|
1386
|
+
identifier_type: 'id' # String | Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
|
1387
|
+
offset: 'offset_example', # String | Starting value of the offset property
|
1388
|
+
direction: 'next', # String | Page direction to apply for the given offset with 'next' and 'prev'
|
1389
|
+
limit: 56, # Integer | Maximum number of items to provide in the result. Must be a positive integer value. Default value is 20 and maximum value is 100
|
1390
|
+
order: 'desc', # String | Sorting order of the result set
|
1391
|
+
}
|
1392
|
+
|
1393
|
+
begin
|
1394
|
+
#List Alert Logs
|
1395
|
+
result = api_instance.list_logs(identifier, , opts)
|
1396
|
+
p result
|
1397
|
+
rescue OpsgenieSdk::ApiError => e
|
1398
|
+
puts "Exception when calling AlertApi->list_logs: #{e}"
|
1399
|
+
end
|
1400
|
+
```
|
1401
|
+
|
1402
|
+
### Parameters
|
1403
|
+
|
1404
|
+
Name | Type | Description | Notes
|
1405
|
+
------------- | ------------- | ------------- | -------------
|
1406
|
+
**identifier** | **String**| Identifier of alert which could be alert id, tiny id or alert alias |
|
1407
|
+
**identifier_type** | **String**| Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny' | [optional] [default to id]
|
1408
|
+
**offset** | **String**| Starting value of the offset property | [optional]
|
1409
|
+
**direction** | **String**| Page direction to apply for the given offset with 'next' and 'prev' | [optional] [default to next]
|
1410
|
+
**limit** | **Integer**| Maximum number of items to provide in the result. Must be a positive integer value. Default value is 20 and maximum value is 100 | [optional]
|
1411
|
+
**order** | **String**| Sorting order of the result set | [optional] [default to desc]
|
1412
|
+
|
1413
|
+
### Return type
|
1414
|
+
|
1415
|
+
[**ListAlertLogsResponse**](ListAlertLogsResponse.md)
|
1416
|
+
|
1417
|
+
### Authorization
|
1418
|
+
|
1419
|
+
[GenieKey](../README.md#GenieKey)
|
1420
|
+
|
1421
|
+
### HTTP request headers
|
1422
|
+
|
1423
|
+
- **Content-Type**: Not defined
|
1424
|
+
- **Accept**: application/json
|
1425
|
+
|
1426
|
+
|
1427
|
+
|
1428
|
+
# **list_notes**
|
1429
|
+
> ListAlertNotesResponse list_notes(identifier, , opts)
|
1430
|
+
|
1431
|
+
List Alert Notes
|
1432
|
+
|
1433
|
+
List alert notes for the given alert identifier
|
1434
|
+
|
1435
|
+
### Example
|
1436
|
+
```ruby
|
1437
|
+
# load the gem
|
1438
|
+
require 'opsgenie_sdk'
|
1439
|
+
# setup authorization
|
1440
|
+
OpsgenieSdk.configure do |config|
|
1441
|
+
# Configure API key authorization: GenieKey
|
1442
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
1443
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1444
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
1445
|
+
end
|
1446
|
+
|
1447
|
+
api_instance = OpsgenieSdk::AlertApi.new
|
1448
|
+
|
1449
|
+
identifier = 'identifier_example' # String | Identifier of alert which could be alert id, tiny id or alert alias
|
1450
|
+
|
1451
|
+
opts = {
|
1452
|
+
identifier_type: 'id' # String | Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
|
1453
|
+
offset: 'offset_example', # String | Starting value of the offset property
|
1454
|
+
direction: 'next', # String | Page direction to apply for the given offset with 'next' and 'prev'
|
1455
|
+
limit: 56, # Integer | Maximum number of items to provide in the result. Must be a positive integer value. Default value is 20 and maximum value is 100
|
1456
|
+
order: 'desc', # String | Sorting order of the result set
|
1457
|
+
}
|
1458
|
+
|
1459
|
+
begin
|
1460
|
+
#List Alert Notes
|
1461
|
+
result = api_instance.list_notes(identifier, , opts)
|
1462
|
+
p result
|
1463
|
+
rescue OpsgenieSdk::ApiError => e
|
1464
|
+
puts "Exception when calling AlertApi->list_notes: #{e}"
|
1465
|
+
end
|
1466
|
+
```
|
1467
|
+
|
1468
|
+
### Parameters
|
1469
|
+
|
1470
|
+
Name | Type | Description | Notes
|
1471
|
+
------------- | ------------- | ------------- | -------------
|
1472
|
+
**identifier** | **String**| Identifier of alert which could be alert id, tiny id or alert alias |
|
1473
|
+
**identifier_type** | **String**| Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny' | [optional] [default to id]
|
1474
|
+
**offset** | **String**| Starting value of the offset property | [optional]
|
1475
|
+
**direction** | **String**| Page direction to apply for the given offset with 'next' and 'prev' | [optional] [default to next]
|
1476
|
+
**limit** | **Integer**| Maximum number of items to provide in the result. Must be a positive integer value. Default value is 20 and maximum value is 100 | [optional]
|
1477
|
+
**order** | **String**| Sorting order of the result set | [optional] [default to desc]
|
1478
|
+
|
1479
|
+
### Return type
|
1480
|
+
|
1481
|
+
[**ListAlertNotesResponse**](ListAlertNotesResponse.md)
|
1482
|
+
|
1483
|
+
### Authorization
|
1484
|
+
|
1485
|
+
[GenieKey](../README.md#GenieKey)
|
1486
|
+
|
1487
|
+
### HTTP request headers
|
1488
|
+
|
1489
|
+
- **Content-Type**: Not defined
|
1490
|
+
- **Accept**: application/json
|
1491
|
+
|
1492
|
+
|
1493
|
+
|
1494
|
+
# **list_recipients**
|
1495
|
+
> ListAlertRecipientsResponse list_recipients(identifier, , opts)
|
1496
|
+
|
1497
|
+
List Alert Recipients
|
1498
|
+
|
1499
|
+
List alert recipients for the given alert identifier
|
1500
|
+
|
1501
|
+
### Example
|
1502
|
+
```ruby
|
1503
|
+
# load the gem
|
1504
|
+
require 'opsgenie_sdk'
|
1505
|
+
# setup authorization
|
1506
|
+
OpsgenieSdk.configure do |config|
|
1507
|
+
# Configure API key authorization: GenieKey
|
1508
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
1509
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1510
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
1511
|
+
end
|
1512
|
+
|
1513
|
+
api_instance = OpsgenieSdk::AlertApi.new
|
1514
|
+
|
1515
|
+
identifier = 'identifier_example' # String | Identifier of alert which could be alert id, tiny id or alert alias
|
1516
|
+
|
1517
|
+
opts = {
|
1518
|
+
identifier_type: 'id' # String | Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
|
1519
|
+
}
|
1520
|
+
|
1521
|
+
begin
|
1522
|
+
#List Alert Recipients
|
1523
|
+
result = api_instance.list_recipients(identifier, , opts)
|
1524
|
+
p result
|
1525
|
+
rescue OpsgenieSdk::ApiError => e
|
1526
|
+
puts "Exception when calling AlertApi->list_recipients: #{e}"
|
1527
|
+
end
|
1528
|
+
```
|
1529
|
+
|
1530
|
+
### Parameters
|
1531
|
+
|
1532
|
+
Name | Type | Description | Notes
|
1533
|
+
------------- | ------------- | ------------- | -------------
|
1534
|
+
**identifier** | **String**| Identifier of alert which could be alert id, tiny id or alert alias |
|
1535
|
+
**identifier_type** | **String**| Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny' | [optional] [default to id]
|
1536
|
+
|
1537
|
+
### Return type
|
1538
|
+
|
1539
|
+
[**ListAlertRecipientsResponse**](ListAlertRecipientsResponse.md)
|
1540
|
+
|
1541
|
+
### Authorization
|
1542
|
+
|
1543
|
+
[GenieKey](../README.md#GenieKey)
|
1544
|
+
|
1545
|
+
### HTTP request headers
|
1546
|
+
|
1547
|
+
- **Content-Type**: Not defined
|
1548
|
+
- **Accept**: application/json
|
1549
|
+
|
1550
|
+
|
1551
|
+
|
1552
|
+
# **list_saved_searches**
|
1553
|
+
> ListSavedSearchesResponse list_saved_searches
|
1554
|
+
|
1555
|
+
Lists Saved Searches
|
1556
|
+
|
1557
|
+
List all saved searches
|
1558
|
+
|
1559
|
+
### Example
|
1560
|
+
```ruby
|
1561
|
+
# load the gem
|
1562
|
+
require 'opsgenie_sdk'
|
1563
|
+
# setup authorization
|
1564
|
+
OpsgenieSdk.configure do |config|
|
1565
|
+
# Configure API key authorization: GenieKey
|
1566
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
1567
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1568
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
1569
|
+
end
|
1570
|
+
|
1571
|
+
api_instance = OpsgenieSdk::AlertApi.new
|
1572
|
+
|
1573
|
+
begin
|
1574
|
+
#Lists Saved Searches
|
1575
|
+
result = api_instance.list_saved_searches
|
1576
|
+
p result
|
1577
|
+
rescue OpsgenieSdk::ApiError => e
|
1578
|
+
puts "Exception when calling AlertApi->list_saved_searches: #{e}"
|
1579
|
+
end
|
1580
|
+
```
|
1581
|
+
|
1582
|
+
### Parameters
|
1583
|
+
This endpoint does not need any parameter.
|
1584
|
+
|
1585
|
+
### Return type
|
1586
|
+
|
1587
|
+
[**ListSavedSearchesResponse**](ListSavedSearchesResponse.md)
|
1588
|
+
|
1589
|
+
### Authorization
|
1590
|
+
|
1591
|
+
[GenieKey](../README.md#GenieKey)
|
1592
|
+
|
1593
|
+
### HTTP request headers
|
1594
|
+
|
1595
|
+
- **Content-Type**: Not defined
|
1596
|
+
- **Accept**: application/json
|
1597
|
+
|
1598
|
+
|
1599
|
+
|
1600
|
+
# **remove_attachment**
|
1601
|
+
> SuccessResponse remove_attachment(identifier, attachment_id, opts)
|
1602
|
+
|
1603
|
+
Remove Alert Attachment
|
1604
|
+
|
1605
|
+
Remove alert attachment for the given identifier
|
1606
|
+
|
1607
|
+
### Example
|
1608
|
+
```ruby
|
1609
|
+
# load the gem
|
1610
|
+
require 'opsgenie_sdk'
|
1611
|
+
# setup authorization
|
1612
|
+
OpsgenieSdk.configure do |config|
|
1613
|
+
# Configure API key authorization: GenieKey
|
1614
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
1615
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1616
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
1617
|
+
end
|
1618
|
+
|
1619
|
+
api_instance = OpsgenieSdk::AlertApi.new
|
1620
|
+
|
1621
|
+
identifier = 'identifier_example' # String | Identifier of alert which could be alert id, tiny id or alert alias
|
1622
|
+
|
1623
|
+
attachment_id = 789 # Integer | Identifier of alert attachment
|
1624
|
+
|
1625
|
+
opts = {
|
1626
|
+
alert_identifier_type: 'id', # String | Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
|
1627
|
+
user: 'user_example', # String | Display name of the request owner
|
1628
|
+
}
|
1629
|
+
|
1630
|
+
begin
|
1631
|
+
#Remove Alert Attachment
|
1632
|
+
result = api_instance.remove_attachment(identifier, attachment_id, opts)
|
1633
|
+
p result
|
1634
|
+
rescue OpsgenieSdk::ApiError => e
|
1635
|
+
puts "Exception when calling AlertApi->remove_attachment: #{e}"
|
1636
|
+
end
|
1637
|
+
```
|
1638
|
+
|
1639
|
+
### Parameters
|
1640
|
+
|
1641
|
+
Name | Type | Description | Notes
|
1642
|
+
------------- | ------------- | ------------- | -------------
|
1643
|
+
**identifier** | **String**| Identifier of alert which could be alert id, tiny id or alert alias |
|
1644
|
+
**attachment_id** | **Integer**| Identifier of alert attachment |
|
1645
|
+
**alert_identifier_type** | **String**| Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny' | [optional] [default to id]
|
1646
|
+
**user** | **String**| Display name of the request owner | [optional]
|
1647
|
+
|
1648
|
+
### Return type
|
1649
|
+
|
1650
|
+
[**SuccessResponse**](SuccessResponse.md)
|
1651
|
+
|
1652
|
+
### Authorization
|
1653
|
+
|
1654
|
+
[GenieKey](../README.md#GenieKey)
|
1655
|
+
|
1656
|
+
### HTTP request headers
|
1657
|
+
|
1658
|
+
- **Content-Type**: Not defined
|
1659
|
+
- **Accept**: application/json
|
1660
|
+
|
1661
|
+
|
1662
|
+
|
1663
|
+
# **remove_details**
|
1664
|
+
> SuccessResponse remove_details(identifier, keys, opts)
|
1665
|
+
|
1666
|
+
Remove Details
|
1667
|
+
|
1668
|
+
Remove details of the alert with given identifier
|
1669
|
+
|
1670
|
+
### Example
|
1671
|
+
```ruby
|
1672
|
+
# load the gem
|
1673
|
+
require 'opsgenie_sdk'
|
1674
|
+
# setup authorization
|
1675
|
+
OpsgenieSdk.configure do |config|
|
1676
|
+
# Configure API key authorization: GenieKey
|
1677
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
1678
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1679
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
1680
|
+
end
|
1681
|
+
|
1682
|
+
api_instance = OpsgenieSdk::AlertApi.new
|
1683
|
+
|
1684
|
+
identifier = 'identifier_example' # String | Identifier of alert which could be alert id, tiny id or alert alias
|
1685
|
+
|
1686
|
+
keys = ['keys_example'] # Array<String> | Comma separated list of keys to remove from the custom properties of the alert (e.g. 'key1,key2')
|
1687
|
+
|
1688
|
+
opts = {
|
1689
|
+
identifier_type: 'id' # String | Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
|
1690
|
+
user: 'user_example', # String | Display name of the request owner
|
1691
|
+
note: 'note_example', # String | Additional alert note to add
|
1692
|
+
source: 'source_example' # String | Display name of the request source
|
1693
|
+
}
|
1694
|
+
|
1695
|
+
begin
|
1696
|
+
#Remove Details
|
1697
|
+
result = api_instance.remove_details(identifier, keys, opts)
|
1698
|
+
p result
|
1699
|
+
rescue OpsgenieSdk::ApiError => e
|
1700
|
+
puts "Exception when calling AlertApi->remove_details: #{e}"
|
1701
|
+
end
|
1702
|
+
```
|
1703
|
+
|
1704
|
+
### Parameters
|
1705
|
+
|
1706
|
+
Name | Type | Description | Notes
|
1707
|
+
------------- | ------------- | ------------- | -------------
|
1708
|
+
**identifier** | **String**| Identifier of alert which could be alert id, tiny id or alert alias |
|
1709
|
+
**keys** | [**Array<String>**](String.md)| Comma separated list of keys to remove from the custom properties of the alert (e.g. 'key1,key2') |
|
1710
|
+
**identifier_type** | **String**| Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny' | [optional] [default to id]
|
1711
|
+
**user** | **String**| Display name of the request owner | [optional]
|
1712
|
+
**note** | **String**| Additional alert note to add | [optional]
|
1713
|
+
**source** | **String**| Display name of the request source | [optional]
|
1714
|
+
|
1715
|
+
### Return type
|
1716
|
+
|
1717
|
+
[**SuccessResponse**](SuccessResponse.md)
|
1718
|
+
|
1719
|
+
### Authorization
|
1720
|
+
|
1721
|
+
[GenieKey](../README.md#GenieKey)
|
1722
|
+
|
1723
|
+
### HTTP request headers
|
1724
|
+
|
1725
|
+
- **Content-Type**: Not defined
|
1726
|
+
- **Accept**: application/json
|
1727
|
+
|
1728
|
+
|
1729
|
+
|
1730
|
+
# **remove_tags**
|
1731
|
+
> SuccessResponse remove_tags(identifier, tags, opts)
|
1732
|
+
|
1733
|
+
Remove Tags
|
1734
|
+
|
1735
|
+
Remove tags of the alert with given identifier
|
1736
|
+
|
1737
|
+
### Example
|
1738
|
+
```ruby
|
1739
|
+
# load the gem
|
1740
|
+
require 'opsgenie_sdk'
|
1741
|
+
# setup authorization
|
1742
|
+
OpsgenieSdk.configure do |config|
|
1743
|
+
# Configure API key authorization: GenieKey
|
1744
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
1745
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1746
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
1747
|
+
end
|
1748
|
+
|
1749
|
+
api_instance = OpsgenieSdk::AlertApi.new
|
1750
|
+
|
1751
|
+
identifier = 'identifier_example' # String | Identifier of alert which could be alert id, tiny id or alert alias
|
1752
|
+
|
1753
|
+
tags = ['tags_example'] # Array<String> | Tags field of the given alert as comma seperated values (e.g. 'tag1, tag2')
|
1754
|
+
|
1755
|
+
opts = {
|
1756
|
+
identifier_type: 'id' # String | Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
|
1757
|
+
user: 'user_example', # String | Display name of the request owner
|
1758
|
+
note: 'note_example', # String | Additional alert note to add
|
1759
|
+
source: 'source_example' # String | Display name of the request source
|
1760
|
+
}
|
1761
|
+
|
1762
|
+
begin
|
1763
|
+
#Remove Tags
|
1764
|
+
result = api_instance.remove_tags(identifier, tags, opts)
|
1765
|
+
p result
|
1766
|
+
rescue OpsgenieSdk::ApiError => e
|
1767
|
+
puts "Exception when calling AlertApi->remove_tags: #{e}"
|
1768
|
+
end
|
1769
|
+
```
|
1770
|
+
|
1771
|
+
### Parameters
|
1772
|
+
|
1773
|
+
Name | Type | Description | Notes
|
1774
|
+
------------- | ------------- | ------------- | -------------
|
1775
|
+
**identifier** | **String**| Identifier of alert which could be alert id, tiny id or alert alias |
|
1776
|
+
**tags** | [**Array<String>**](String.md)| Tags field of the given alert as comma seperated values (e.g. 'tag1, tag2') |
|
1777
|
+
**identifier_type** | **String**| Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny' | [optional] [default to id]
|
1778
|
+
**user** | **String**| Display name of the request owner | [optional]
|
1779
|
+
**note** | **String**| Additional alert note to add | [optional]
|
1780
|
+
**source** | **String**| Display name of the request source | [optional]
|
1781
|
+
|
1782
|
+
### Return type
|
1783
|
+
|
1784
|
+
[**SuccessResponse**](SuccessResponse.md)
|
1785
|
+
|
1786
|
+
### Authorization
|
1787
|
+
|
1788
|
+
[GenieKey](../README.md#GenieKey)
|
1789
|
+
|
1790
|
+
### HTTP request headers
|
1791
|
+
|
1792
|
+
- **Content-Type**: Not defined
|
1793
|
+
- **Accept**: application/json
|
1794
|
+
|
1795
|
+
|
1796
|
+
|
1797
|
+
# **snooze_alert**
|
1798
|
+
> SuccessResponse snooze_alert(identifier, body, opts)
|
1799
|
+
|
1800
|
+
Snooze Alert
|
1801
|
+
|
1802
|
+
Snooze alert with given identifier
|
1803
|
+
|
1804
|
+
### Example
|
1805
|
+
```ruby
|
1806
|
+
# load the gem
|
1807
|
+
require 'opsgenie_sdk'
|
1808
|
+
# setup authorization
|
1809
|
+
OpsgenieSdk.configure do |config|
|
1810
|
+
# Configure API key authorization: GenieKey
|
1811
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
1812
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1813
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
1814
|
+
end
|
1815
|
+
|
1816
|
+
api_instance = OpsgenieSdk::AlertApi.new
|
1817
|
+
|
1818
|
+
identifier = 'identifier_example' # String | Identifier of alert which could be alert id, tiny id or alert alias
|
1819
|
+
|
1820
|
+
body = OpsgenieSdk::SnoozeAlertPayload.new # SnoozeAlertPayload | Request payload of snoozing alert action
|
1821
|
+
|
1822
|
+
opts = {
|
1823
|
+
identifier_type: 'id' # String | Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
|
1824
|
+
}
|
1825
|
+
|
1826
|
+
begin
|
1827
|
+
#Snooze Alert
|
1828
|
+
result = api_instance.snooze_alert(identifier, body, opts)
|
1829
|
+
p result
|
1830
|
+
rescue OpsgenieSdk::ApiError => e
|
1831
|
+
puts "Exception when calling AlertApi->snooze_alert: #{e}"
|
1832
|
+
end
|
1833
|
+
```
|
1834
|
+
|
1835
|
+
### Parameters
|
1836
|
+
|
1837
|
+
Name | Type | Description | Notes
|
1838
|
+
------------- | ------------- | ------------- | -------------
|
1839
|
+
**identifier** | **String**| Identifier of alert which could be alert id, tiny id or alert alias |
|
1840
|
+
**body** | [**SnoozeAlertPayload**](SnoozeAlertPayload.md)| Request payload of snoozing alert action |
|
1841
|
+
**identifier_type** | **String**| Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny' | [optional] [default to id]
|
1842
|
+
|
1843
|
+
### Return type
|
1844
|
+
|
1845
|
+
[**SuccessResponse**](SuccessResponse.md)
|
1846
|
+
|
1847
|
+
### Authorization
|
1848
|
+
|
1849
|
+
[GenieKey](../README.md#GenieKey)
|
1850
|
+
|
1851
|
+
### HTTP request headers
|
1852
|
+
|
1853
|
+
- **Content-Type**: Not defined
|
1854
|
+
- **Accept**: application/json
|
1855
|
+
|
1856
|
+
|
1857
|
+
|
1858
|
+
# **un_acknowledge_alert**
|
1859
|
+
> SuccessResponse un_acknowledge_alert(identifier, , opts)
|
1860
|
+
|
1861
|
+
UnAcknowledge Alert
|
1862
|
+
|
1863
|
+
UnAcknowledge alert with given identifier
|
1864
|
+
|
1865
|
+
### Example
|
1866
|
+
```ruby
|
1867
|
+
# load the gem
|
1868
|
+
require 'opsgenie_sdk'
|
1869
|
+
# setup authorization
|
1870
|
+
OpsgenieSdk.configure do |config|
|
1871
|
+
# Configure API key authorization: GenieKey
|
1872
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
1873
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1874
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
1875
|
+
end
|
1876
|
+
|
1877
|
+
api_instance = OpsgenieSdk::AlertApi.new
|
1878
|
+
|
1879
|
+
identifier = 'identifier_example' # String | Identifier of alert which could be alert id, tiny id or alert alias
|
1880
|
+
|
1881
|
+
opts = {
|
1882
|
+
identifier_type: 'id' # String | Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
|
1883
|
+
body: OpsgenieSdk::UnAcknowledgeAlertPayload.new # UnAcknowledgeAlertPayload | Request payload of unacknowledging alert action
|
1884
|
+
}
|
1885
|
+
|
1886
|
+
begin
|
1887
|
+
#UnAcknowledge Alert
|
1888
|
+
result = api_instance.un_acknowledge_alert(identifier, , opts)
|
1889
|
+
p result
|
1890
|
+
rescue OpsgenieSdk::ApiError => e
|
1891
|
+
puts "Exception when calling AlertApi->un_acknowledge_alert: #{e}"
|
1892
|
+
end
|
1893
|
+
```
|
1894
|
+
|
1895
|
+
### Parameters
|
1896
|
+
|
1897
|
+
Name | Type | Description | Notes
|
1898
|
+
------------- | ------------- | ------------- | -------------
|
1899
|
+
**identifier** | **String**| Identifier of alert which could be alert id, tiny id or alert alias |
|
1900
|
+
**identifier_type** | **String**| Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny' | [optional] [default to id]
|
1901
|
+
**body** | [**UnAcknowledgeAlertPayload**](UnAcknowledgeAlertPayload.md)| Request payload of unacknowledging alert action | [optional]
|
1902
|
+
|
1903
|
+
### Return type
|
1904
|
+
|
1905
|
+
[**SuccessResponse**](SuccessResponse.md)
|
1906
|
+
|
1907
|
+
### Authorization
|
1908
|
+
|
1909
|
+
[GenieKey](../README.md#GenieKey)
|
1910
|
+
|
1911
|
+
### HTTP request headers
|
1912
|
+
|
1913
|
+
- **Content-Type**: Not defined
|
1914
|
+
- **Accept**: application/json
|
1915
|
+
|
1916
|
+
|
1917
|
+
|
1918
|
+
# **update_alert_description**
|
1919
|
+
> SuccessResponse update_alert_description(identifier, body, opts)
|
1920
|
+
|
1921
|
+
Update Alert Description
|
1922
|
+
|
1923
|
+
Update the description of the alert with given identifier
|
1924
|
+
|
1925
|
+
### Example
|
1926
|
+
```ruby
|
1927
|
+
# load the gem
|
1928
|
+
require 'opsgenie_sdk'
|
1929
|
+
# setup authorization
|
1930
|
+
OpsgenieSdk.configure do |config|
|
1931
|
+
# Configure API key authorization: GenieKey
|
1932
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
1933
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1934
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
1935
|
+
end
|
1936
|
+
|
1937
|
+
api_instance = OpsgenieSdk::AlertApi.new
|
1938
|
+
|
1939
|
+
identifier = 'identifier_example' # String | Identifier of alert which could be alert id, tiny id or alert alias
|
1940
|
+
|
1941
|
+
body = OpsgenieSdk::UpdateAlertDescriptionPayload.new # UpdateAlertDescriptionPayload | Request payload of update alert description
|
1942
|
+
|
1943
|
+
opts = {
|
1944
|
+
identifier_type: 'id' # String | Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
|
1945
|
+
}
|
1946
|
+
|
1947
|
+
begin
|
1948
|
+
#Update Alert Description
|
1949
|
+
result = api_instance.update_alert_description(identifier, body, opts)
|
1950
|
+
p result
|
1951
|
+
rescue OpsgenieSdk::ApiError => e
|
1952
|
+
puts "Exception when calling AlertApi->update_alert_description: #{e}"
|
1953
|
+
end
|
1954
|
+
```
|
1955
|
+
|
1956
|
+
### Parameters
|
1957
|
+
|
1958
|
+
Name | Type | Description | Notes
|
1959
|
+
------------- | ------------- | ------------- | -------------
|
1960
|
+
**identifier** | **String**| Identifier of alert which could be alert id, tiny id or alert alias |
|
1961
|
+
**body** | [**UpdateAlertDescriptionPayload**](UpdateAlertDescriptionPayload.md)| Request payload of update alert description |
|
1962
|
+
**identifier_type** | **String**| Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny' | [optional] [default to id]
|
1963
|
+
|
1964
|
+
### Return type
|
1965
|
+
|
1966
|
+
[**SuccessResponse**](SuccessResponse.md)
|
1967
|
+
|
1968
|
+
### Authorization
|
1969
|
+
|
1970
|
+
[GenieKey](../README.md#GenieKey)
|
1971
|
+
|
1972
|
+
### HTTP request headers
|
1973
|
+
|
1974
|
+
- **Content-Type**: Not defined
|
1975
|
+
- **Accept**: application/json
|
1976
|
+
|
1977
|
+
|
1978
|
+
|
1979
|
+
# **update_alert_message**
|
1980
|
+
> SuccessResponse update_alert_message(identifier, body, opts)
|
1981
|
+
|
1982
|
+
Update Alert Message
|
1983
|
+
|
1984
|
+
Update the message of the alert with given identifier
|
1985
|
+
|
1986
|
+
### Example
|
1987
|
+
```ruby
|
1988
|
+
# load the gem
|
1989
|
+
require 'opsgenie_sdk'
|
1990
|
+
# setup authorization
|
1991
|
+
OpsgenieSdk.configure do |config|
|
1992
|
+
# Configure API key authorization: GenieKey
|
1993
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
1994
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1995
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
1996
|
+
end
|
1997
|
+
|
1998
|
+
api_instance = OpsgenieSdk::AlertApi.new
|
1999
|
+
|
2000
|
+
identifier = 'identifier_example' # String | Identifier of alert which could be alert id, tiny id or alert alias
|
2001
|
+
|
2002
|
+
body = OpsgenieSdk::UpdateAlertMessagePayload.new # UpdateAlertMessagePayload | Request payload of update alert message
|
2003
|
+
|
2004
|
+
opts = {
|
2005
|
+
identifier_type: 'id' # String | Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
|
2006
|
+
}
|
2007
|
+
|
2008
|
+
begin
|
2009
|
+
#Update Alert Message
|
2010
|
+
result = api_instance.update_alert_message(identifier, body, opts)
|
2011
|
+
p result
|
2012
|
+
rescue OpsgenieSdk::ApiError => e
|
2013
|
+
puts "Exception when calling AlertApi->update_alert_message: #{e}"
|
2014
|
+
end
|
2015
|
+
```
|
2016
|
+
|
2017
|
+
### Parameters
|
2018
|
+
|
2019
|
+
Name | Type | Description | Notes
|
2020
|
+
------------- | ------------- | ------------- | -------------
|
2021
|
+
**identifier** | **String**| Identifier of alert which could be alert id, tiny id or alert alias |
|
2022
|
+
**body** | [**UpdateAlertMessagePayload**](UpdateAlertMessagePayload.md)| Request payload of update alert message |
|
2023
|
+
**identifier_type** | **String**| Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny' | [optional] [default to id]
|
2024
|
+
|
2025
|
+
### Return type
|
2026
|
+
|
2027
|
+
[**SuccessResponse**](SuccessResponse.md)
|
2028
|
+
|
2029
|
+
### Authorization
|
2030
|
+
|
2031
|
+
[GenieKey](../README.md#GenieKey)
|
2032
|
+
|
2033
|
+
### HTTP request headers
|
2034
|
+
|
2035
|
+
- **Content-Type**: Not defined
|
2036
|
+
- **Accept**: application/json
|
2037
|
+
|
2038
|
+
|
2039
|
+
|
2040
|
+
# **update_alert_priority**
|
2041
|
+
> SuccessResponse update_alert_priority(identifier, body, opts)
|
2042
|
+
|
2043
|
+
Update Alert Priority
|
2044
|
+
|
2045
|
+
Update the priority of the alert with given identifier
|
2046
|
+
|
2047
|
+
### Example
|
2048
|
+
```ruby
|
2049
|
+
# load the gem
|
2050
|
+
require 'opsgenie_sdk'
|
2051
|
+
# setup authorization
|
2052
|
+
OpsgenieSdk.configure do |config|
|
2053
|
+
# Configure API key authorization: GenieKey
|
2054
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
2055
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
2056
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
2057
|
+
end
|
2058
|
+
|
2059
|
+
api_instance = OpsgenieSdk::AlertApi.new
|
2060
|
+
|
2061
|
+
identifier = 'identifier_example' # String | Identifier of alert which could be alert id, tiny id or alert alias
|
2062
|
+
|
2063
|
+
body = OpsgenieSdk::UpdateAlertPriorityPayload.new # UpdateAlertPriorityPayload | Request payload of update alert priority
|
2064
|
+
|
2065
|
+
opts = {
|
2066
|
+
identifier_type: 'id' # String | Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
|
2067
|
+
}
|
2068
|
+
|
2069
|
+
begin
|
2070
|
+
#Update Alert Priority
|
2071
|
+
result = api_instance.update_alert_priority(identifier, body, opts)
|
2072
|
+
p result
|
2073
|
+
rescue OpsgenieSdk::ApiError => e
|
2074
|
+
puts "Exception when calling AlertApi->update_alert_priority: #{e}"
|
2075
|
+
end
|
2076
|
+
```
|
2077
|
+
|
2078
|
+
### Parameters
|
2079
|
+
|
2080
|
+
Name | Type | Description | Notes
|
2081
|
+
------------- | ------------- | ------------- | -------------
|
2082
|
+
**identifier** | **String**| Identifier of alert which could be alert id, tiny id or alert alias |
|
2083
|
+
**body** | [**UpdateAlertPriorityPayload**](UpdateAlertPriorityPayload.md)| Request payload of update alert priority |
|
2084
|
+
**identifier_type** | **String**| Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny' | [optional] [default to id]
|
2085
|
+
|
2086
|
+
### Return type
|
2087
|
+
|
2088
|
+
[**SuccessResponse**](SuccessResponse.md)
|
2089
|
+
|
2090
|
+
### Authorization
|
2091
|
+
|
2092
|
+
[GenieKey](../README.md#GenieKey)
|
2093
|
+
|
2094
|
+
### HTTP request headers
|
2095
|
+
|
2096
|
+
- **Content-Type**: Not defined
|
2097
|
+
- **Accept**: application/json
|
2098
|
+
|
2099
|
+
|
2100
|
+
|
2101
|
+
# **update_saved_search**
|
2102
|
+
> GetSavedSearchResponse update_saved_search(identifier, body, opts)
|
2103
|
+
|
2104
|
+
Update Saved Search
|
2105
|
+
|
2106
|
+
Update saved search for the given search identifier
|
2107
|
+
|
2108
|
+
### Example
|
2109
|
+
```ruby
|
2110
|
+
# load the gem
|
2111
|
+
require 'opsgenie_sdk'
|
2112
|
+
# setup authorization
|
2113
|
+
OpsgenieSdk.configure do |config|
|
2114
|
+
# Configure API key authorization: GenieKey
|
2115
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
2116
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
2117
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
2118
|
+
end
|
2119
|
+
|
2120
|
+
api_instance = OpsgenieSdk::AlertApi.new
|
2121
|
+
|
2122
|
+
identifier = 'identifier_example' # String | Identifier of the saved search which could be 'id' or 'name'
|
2123
|
+
|
2124
|
+
body = OpsgenieSdk::UpdateSavedSearchPayload.new # UpdateSavedSearchPayload | Request payload of updating saved search
|
2125
|
+
|
2126
|
+
opts = {
|
2127
|
+
identifier_type: 'id' # String | Type of the identifier that is provided as an in-line parameter. Possible values are 'id', or 'name'
|
2128
|
+
}
|
2129
|
+
|
2130
|
+
begin
|
2131
|
+
#Update Saved Search
|
2132
|
+
result = api_instance.update_saved_search(identifier, body, opts)
|
2133
|
+
p result
|
2134
|
+
rescue OpsgenieSdk::ApiError => e
|
2135
|
+
puts "Exception when calling AlertApi->update_saved_search: #{e}"
|
2136
|
+
end
|
2137
|
+
```
|
2138
|
+
|
2139
|
+
### Parameters
|
2140
|
+
|
2141
|
+
Name | Type | Description | Notes
|
2142
|
+
------------- | ------------- | ------------- | -------------
|
2143
|
+
**identifier** | **String**| Identifier of the saved search which could be 'id' or 'name' |
|
2144
|
+
**body** | [**UpdateSavedSearchPayload**](UpdateSavedSearchPayload.md)| Request payload of updating saved search |
|
2145
|
+
**identifier_type** | **String**| Type of the identifier that is provided as an in-line parameter. Possible values are 'id', or 'name' | [optional] [default to id]
|
2146
|
+
|
2147
|
+
### Return type
|
2148
|
+
|
2149
|
+
[**GetSavedSearchResponse**](GetSavedSearchResponse.md)
|
2150
|
+
|
2151
|
+
### Authorization
|
2152
|
+
|
2153
|
+
[GenieKey](../README.md#GenieKey)
|
2154
|
+
|
2155
|
+
### HTTP request headers
|
2156
|
+
|
2157
|
+
- **Content-Type**: Not defined
|
2158
|
+
- **Accept**: application/json
|
2159
|
+
|
2160
|
+
|
2161
|
+
|