opsgenie_sdk 1.0.0

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