Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
Sentio Bot committed Nov 22, 2024
1 parent 6892e15 commit 8e04e38
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 4 deletions.
10 changes: 8 additions & 2 deletions doc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6474,7 +6474,7 @@ <h3 id="examples-Alerts-getAlertRules-title-200"></h3>
<article id="api-Alerts-saveAlertRule-0" data-group="User" data-name="saveAlertRule" data-version="0">
<div class="pull-left">
<h1>saveAlertRule</h1>
<p></p>
<p>Save an alert rule</p>
</div>
<div class="pull-right"></div>
<div class="clearfix"></div>
Expand Down Expand Up @@ -6599,6 +6599,7 @@ <h3>Usage and SDK Samples</h3>
AlertsApi *apiInstance = [[AlertsApi alloc] init];
AlertServiceSaveAlertRuleRequest *body = ; //

// Save an alert rule
[apiInstance saveAlertRuleWith:body
completionHandler: ^(Object output, NSError* error) {
if (output) {
Expand Down Expand Up @@ -6662,6 +6663,7 @@ <h3>Usage and SDK Samples</h3>
var body = new AlertServiceSaveAlertRuleRequest(); // AlertServiceSaveAlertRuleRequest |

try {
// Save an alert rule
Object result = apiInstance.saveAlertRule(body);
Debug.WriteLine(result);
} catch (Exception e) {
Expand Down Expand Up @@ -6735,6 +6737,7 @@ <h3>Usage and SDK Samples</h3>
body = # AlertServiceSaveAlertRuleRequest |

try:
# Save an alert rule
api_response = api_instance.save_alert_rule(body)
pprint(api_response)
except ApiException as e:
Expand Down Expand Up @@ -6900,7 +6903,7 @@ <h3 id="examples-Alerts-saveAlertRule-title-200"></h3>
<article id="api-Alerts-saveAlertRule2-0" data-group="User" data-name="saveAlertRule2" data-version="0">
<div class="pull-left">
<h1>saveAlertRule2</h1>
<p></p>
<p>Save an alert rule</p>
</div>
<div class="pull-right"></div>
<div class="clearfix"></div>
Expand Down Expand Up @@ -7029,6 +7032,7 @@ <h3>Usage and SDK Samples</h3>
String *id = id_example; // (default to null)
AlertServiceAlertServiceSaveAlertRuleBody *body = ; //

// Save an alert rule
[apiInstance saveAlertRule2With:id
body:body
completionHandler: ^(Object output, NSError* error) {
Expand Down Expand Up @@ -7095,6 +7099,7 @@ <h3>Usage and SDK Samples</h3>
var body = new AlertServiceAlertServiceSaveAlertRuleBody(); // AlertServiceAlertServiceSaveAlertRuleBody |

try {
// Save an alert rule
Object result = apiInstance.saveAlertRule2(id, body);
Debug.WriteLine(result);
} catch (Exception e) {
Expand Down Expand Up @@ -7171,6 +7176,7 @@ <h3>Usage and SDK Samples</h3>
body = # AlertServiceAlertServiceSaveAlertRuleBody |

try:
# Save an alert rule
api_response = api_instance.save_alert_rule2(id, body)
pprint(api_response)
except ApiException as e:
Expand Down
2 changes: 2 additions & 0 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"paths": {
"/api/v1/alerts/rule": {
"post": {
"summary": "Save an alert rule",
"operationId": "SaveAlertRule",
"responses": {
"200": {
Expand Down Expand Up @@ -70,6 +71,7 @@
},
"/api/v1/alerts/rule/{id}": {
"put": {
"summary": "Save an alert rule",
"operationId": "SaveAlertRule2",
"responses": {
"200": {
Expand Down
4 changes: 2 additions & 2 deletions src/AlertsApi.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/apis/AlertsApi.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/types/ObjectParamAPI.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/types/ObservableAPI.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/types/PromiseAPI.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8e04e38

Please sign in to comment.