Skip to content

Commit bd40082

Browse files
committed
Regen code, docs from swagger-codegen v3.0.34 and dependancy updates.
1 parent ca88ab0 commit bd40082

File tree

136 files changed

+1018
-438
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

136 files changed

+1018
-438
lines changed

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: 'idea'
22
apply plugin: 'eclipse'
33

44
group = 'com.sematext'
5-
version = '0.4.0'
5+
version = '0.5.0'
66

77
buildscript {
88
repositories {

docs/AlertRule.md

+12
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
| **notificationEmails** | **List<String>** | | [optional] |
3939
| **notificationIntegrations** | [**List<NotificationIntegration>**](NotificationIntegration.md) | | [optional] |
4040
| **notificationsEnabled** | **Boolean** | | [optional] |
41+
| **priority** | [**PriorityEnum**](#PriorityEnum) | | [optional] |
4142
| **query** | **String** | | [optional] |
4243
| **reportName** | **String** | | [optional] |
4344
| **ruleKey** | **Long** | | [optional] |
@@ -65,3 +66,14 @@
6566
| UN_EQUAL | "UN_EQUAL" |
6667
| LESS_OR_EQUAL | "LESS_OR_EQUAL" |
6768
| MORE_OR_EQUAL | "MORE_OR_EQUAL" |
69+
70+
<a name="PriorityEnum"></a>
71+
72+
## Enum: PriorityEnum
73+
74+
| Name | Value |
75+
| -------- | -------------------- |
76+
| INFO | &quot;INFO&quot; |
77+
| ERROR | &quot;ERROR&quot; |
78+
| WARN | &quot;WARN&quot; |
79+
| CRITICAL | &quot;CRITICAL&quot; |

docs/AlertsApi.md

+22-22
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
All URIs are relative to */*
44

5-
| Method | HTTP request | Description |
6-
| ----------------------------------------------------------------------------- | ------------------------------------------------------------ | -------------------------- |
7-
| [**createAlertUsingPOST**](AlertsApi.md#createAlertUsingPOST) | **POST** /users-web/api/v3/alerts | Create alert rule |
8-
| [**deleteAlertRuleUsingDELETE1**](AlertsApi.md#deleteAlertRuleUsingDELETE1) | **DELETE** /users-web/api/v3/alerts/{updateableAlertId} | Delete alert rule |
9-
| [**disableAlertRuleUsingPUT**](AlertsApi.md#disableAlertRuleUsingPUT) | **PUT** /users-web/api/v3/alerts/{updateableAlertId}/disable | Disable alert rule |
10-
| [**enableAlertRuleUsingPUT**](AlertsApi.md#enableAlertRuleUsingPUT) | **PUT** /users-web/api/v3/alerts/{updateableAlertId}/enable | Enable alert rule |
11-
| [**getAlertRulesForAppUsingGET1**](AlertsApi.md#getAlertRulesForAppUsingGET1) | **GET** /users-web/api/v3/apps/{appId}/alerts | Get alert rules for an app |
5+
| Method | HTTP request | Description |
6+
| --------------------------------------------------------------------------- | ------------------------------------------------------------ | -------------------------- |
7+
| [**createAlertUsingPOST**](AlertsApi.md#createAlertUsingPOST) | **POST** /users-web/api/v3/alerts | Create alert rule |
8+
| [**deleteAlertRuleUsingDELETE**](AlertsApi.md#deleteAlertRuleUsingDELETE) | **DELETE** /users-web/api/v3/alerts/{updateableAlertId} | Delete alert rule |
9+
| [**disableAlertRuleUsingPUT1**](AlertsApi.md#disableAlertRuleUsingPUT1) | **PUT** /users-web/api/v3/alerts/{updateableAlertId}/disable | Disable alert rule |
10+
| [**enableAlertRuleUsingPUT**](AlertsApi.md#enableAlertRuleUsingPUT) | **PUT** /users-web/api/v3/alerts/{updateableAlertId}/enable | Enable alert rule |
11+
| [**getAlertRulesForAppUsingGET**](AlertsApi.md#getAlertRulesForAppUsingGET) | **GET** /users-web/api/v3/apps/{appId}/alerts | Get alert rules for an app |
1212

1313
<a name="createAlertUsingPOST"></a>
1414

@@ -66,11 +66,11 @@ try {
6666
- **Content-Type**: application/json
6767
- **Accept**: application/json
6868

69-
<a name="deleteAlertRuleUsingDELETE1"></a>
69+
<a name="deleteAlertRuleUsingDELETE"></a>
7070

71-
# **deleteAlertRuleUsingDELETE1**
71+
# **deleteAlertRuleUsingDELETE**
7272

73-
> GenericMapBasedApiResponse deleteAlertRuleUsingDELETE1(updateableAlertId)
73+
> GenericMapBasedApiResponse deleteAlertRuleUsingDELETE(updateableAlertId)
7474
7575
Delete alert rule
7676

@@ -95,10 +95,10 @@ api_key.setApiKey("YOUR API KEY");
9595
AlertsApi apiInstance = new AlertsApi();
9696
Long updateableAlertId = 789L; // Long | updateableAlertId
9797
try {
98-
GenericMapBasedApiResponse result = apiInstance.deleteAlertRuleUsingDELETE1(updateableAlertId);
98+
GenericMapBasedApiResponse result = apiInstance.deleteAlertRuleUsingDELETE(updateableAlertId);
9999
System.out.println(result);
100100
} catch (ApiException e) {
101-
System.err.println("Exception when calling AlertsApi#deleteAlertRuleUsingDELETE1");
101+
System.err.println("Exception when calling AlertsApi#deleteAlertRuleUsingDELETE");
102102
e.printStackTrace();
103103
}
104104
```
@@ -122,11 +122,11 @@ try {
122122
- **Content-Type**: Not defined
123123
- **Accept**: application/json
124124

125-
<a name="disableAlertRuleUsingPUT"></a>
125+
<a name="disableAlertRuleUsingPUT1"></a>
126126

127-
# **disableAlertRuleUsingPUT**
127+
# **disableAlertRuleUsingPUT1**
128128

129-
> GenericMapBasedApiResponse disableAlertRuleUsingPUT(updateableAlertId)
129+
> GenericMapBasedApiResponse disableAlertRuleUsingPUT1(updateableAlertId)
130130
131131
Disable alert rule
132132

@@ -151,10 +151,10 @@ api_key.setApiKey("YOUR API KEY");
151151
AlertsApi apiInstance = new AlertsApi();
152152
Long updateableAlertId = 789L; // Long | updateableAlertId
153153
try {
154-
GenericMapBasedApiResponse result = apiInstance.disableAlertRuleUsingPUT(updateableAlertId);
154+
GenericMapBasedApiResponse result = apiInstance.disableAlertRuleUsingPUT1(updateableAlertId);
155155
System.out.println(result);
156156
} catch (ApiException e) {
157-
System.err.println("Exception when calling AlertsApi#disableAlertRuleUsingPUT");
157+
System.err.println("Exception when calling AlertsApi#disableAlertRuleUsingPUT1");
158158
e.printStackTrace();
159159
}
160160
```
@@ -234,11 +234,11 @@ try {
234234
- **Content-Type**: Not defined
235235
- **Accept**: application/json
236236

237-
<a name="getAlertRulesForAppUsingGET1"></a>
237+
<a name="getAlertRulesForAppUsingGET"></a>
238238

239-
# **getAlertRulesForAppUsingGET1**
239+
# **getAlertRulesForAppUsingGET**
240240

241-
> AlertRulesResponse getAlertRulesForAppUsingGET1(appId)
241+
> AlertRulesResponse getAlertRulesForAppUsingGET(appId)
242242
243243
Get alert rules for an app
244244

@@ -263,10 +263,10 @@ api_key.setApiKey("YOUR API KEY");
263263
AlertsApi apiInstance = new AlertsApi();
264264
Long appId = 789L; // Long | appId
265265
try {
266-
AlertRulesResponse result = apiInstance.getAlertRulesForAppUsingGET1(appId);
266+
AlertRulesResponse result = apiInstance.getAlertRulesForAppUsingGET(appId);
267267
System.out.println(result);
268268
} catch (ApiException e) {
269-
System.err.println("Exception when calling AlertsApi#getAlertRulesForAppUsingGET1");
269+
System.err.println("Exception when calling AlertsApi#getAlertRulesForAppUsingGET");
270270
e.printStackTrace();
271271
}
272272
```

docs/AppsApi.md

+18-18
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ All URIs are relative to */*
77
| [**deleteUsingDELETE**](AppsApi.md#deleteUsingDELETE) | **DELETE** /users-web/api/v3/apps/{anyStateAppId} | delete |
88
| [**getAppTypesUsingGET**](AppsApi.md#getAppTypesUsingGET) | **GET** /users-web/api/v3/apps/types | Get all App types supported for the account identified with apiKey |
99
| [**getUsingGET**](AppsApi.md#getUsingGET) | **GET** /users-web/api/v3/apps/{anyStateAppId} | Gets defails for one particular App |
10-
| [**inviteAppGuestsUsingPOST**](AppsApi.md#inviteAppGuestsUsingPOST) | **POST** /users-web/api/v3/apps/guests | Invite guests to an app |
11-
| [**listAppsUsersUsingGET**](AppsApi.md#listAppsUsersUsingGET) | **GET** /users-web/api/v3/apps/users | Get all users of apps accessible to this account |
10+
| [**inviteAppGuestsUsingPOST1**](AppsApi.md#inviteAppGuestsUsingPOST1) | **POST** /users-web/api/v3/apps/guests | Invite guests to an app |
11+
| [**listAppsUsersUsingGET1**](AppsApi.md#listAppsUsersUsingGET1) | **GET** /users-web/api/v3/apps/users | Get all users of apps accessible to this account |
1212
| [**listUsingGET**](AppsApi.md#listUsingGET) | **GET** /users-web/api/v3/apps | Get all apps accessible by account identified with apiKey |
1313
| [**updateDescriptionUsingPUT1**](AppsApi.md#updateDescriptionUsingPUT1) | **PUT** /users-web/api/v3/apps/{anyStateAppId}/description | Update description of the app |
14-
| [**updateUsingPUT2**](AppsApi.md#updateUsingPUT2) | **PUT** /users-web/api/v3/apps/{anyStateAppId} | Update app |
14+
| [**updateUsingPUT3**](AppsApi.md#updateUsingPUT3) | **PUT** /users-web/api/v3/apps/{anyStateAppId} | Update app |
1515

1616
<a name="deleteUsingDELETE"></a>
1717

@@ -178,11 +178,11 @@ try {
178178
- **Content-Type**: Not defined
179179
- **Accept**: application/json
180180

181-
<a name="inviteAppGuestsUsingPOST"></a>
181+
<a name="inviteAppGuestsUsingPOST1"></a>
182182

183-
# **inviteAppGuestsUsingPOST**
183+
# **inviteAppGuestsUsingPOST1**
184184

185-
> GenericMapBasedApiResponse inviteAppGuestsUsingPOST(body)
185+
> GenericMapBasedApiResponse inviteAppGuestsUsingPOST1(body)
186186
187187
Invite guests to an app
188188

@@ -207,10 +207,10 @@ api_key.setApiKey("YOUR API KEY");
207207
AppsApi apiInstance = new AppsApi();
208208
Invitation body = new Invitation(); // Invitation | For `app` and `apps` fields only `id` needs to be populated.Other fields can be left empty or with default values
209209
try {
210-
GenericMapBasedApiResponse result = apiInstance.inviteAppGuestsUsingPOST(body);
210+
GenericMapBasedApiResponse result = apiInstance.inviteAppGuestsUsingPOST1(body);
211211
System.out.println(result);
212212
} catch (ApiException e) {
213-
System.err.println("Exception when calling AppsApi#inviteAppGuestsUsingPOST");
213+
System.err.println("Exception when calling AppsApi#inviteAppGuestsUsingPOST1");
214214
e.printStackTrace();
215215
}
216216
```
@@ -234,11 +234,11 @@ try {
234234
- **Content-Type**: application/json
235235
- **Accept**: application/json
236236

237-
<a name="listAppsUsersUsingGET"></a>
237+
<a name="listAppsUsersUsingGET1"></a>
238238

239-
# **listAppsUsersUsingGET**
239+
# **listAppsUsersUsingGET1**
240240

241-
> AppsResponse listAppsUsersUsingGET()
241+
> AppsResponse listAppsUsersUsingGET1()
242242
243243
Get all users of apps accessible to this account
244244

@@ -262,10 +262,10 @@ api_key.setApiKey("YOUR API KEY");
262262

263263
AppsApi apiInstance = new AppsApi();
264264
try {
265-
AppsResponse result = apiInstance.listAppsUsersUsingGET();
265+
AppsResponse result = apiInstance.listAppsUsersUsingGET1();
266266
System.out.println(result);
267267
} catch (ApiException e) {
268-
System.err.println("Exception when calling AppsApi#listAppsUsersUsingGET");
268+
System.err.println("Exception when calling AppsApi#listAppsUsersUsingGET1");
269269
e.printStackTrace();
270270
}
271271
```
@@ -400,11 +400,11 @@ try {
400400
- **Content-Type**: application/json
401401
- **Accept**: application/json
402402

403-
<a name="updateUsingPUT2"></a>
403+
<a name="updateUsingPUT3"></a>
404404

405-
# **updateUsingPUT2**
405+
# **updateUsingPUT3**
406406

407-
> AppResponse updateUsingPUT2(body, anyStateAppId)
407+
> AppResponse updateUsingPUT3(body, anyStateAppId)
408408
409409
Update app
410410

@@ -432,10 +432,10 @@ AppsApi apiInstance = new AppsApi();
432432
UpdateAppInfo body = new UpdateAppInfo(); // UpdateAppInfo | dto
433433
Long anyStateAppId = 789L; // Long | App Id
434434
try {
435-
AppResponse result = apiInstance.updateUsingPUT2(body, anyStateAppId);
435+
AppResponse result = apiInstance.updateUsingPUT3(body, anyStateAppId);
436436
System.out.println(result);
437437
} catch (ApiException e) {
438-
System.err.println("Exception when calling AppsApi#updateUsingPUT2");
438+
System.err.println("Exception when calling AppsApi#updateUsingPUT3");
439439
e.printStackTrace();
440440
}
441441
```

docs/AwsSettingsControllerApi.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
All URIs are relative to */*
44

5-
| Method | HTTP request | Description |
6-
| ------------------------------------------------------------------ | ------------------------------------------ | ----------------------------------------- |
7-
| [**updateUsingPUT1**](AwsSettingsControllerApi.md#updateUsingPUT1) | **PUT** /users-web/api/v3/apps/{appId}/aws | Update App&#x27;s AWS CloudWatch settings |
5+
| Method | HTTP request | Description |
6+
| ---------------------------------------------------------------- | ------------------------------------------ | ----------------------------------------- |
7+
| [**updateUsingPUT**](AwsSettingsControllerApi.md#updateUsingPUT) | **PUT** /users-web/api/v3/apps/{appId}/aws | Update App&#x27;s AWS CloudWatch settings |
88

9-
<a name="updateUsingPUT1"></a>
9+
<a name="updateUsingPUT"></a>
1010

11-
# **updateUsingPUT1**
11+
# **updateUsingPUT**
1212

13-
> CloudWatchSettingsResponse updateUsingPUT1(body, appId)
13+
> CloudWatchSettingsResponse updateUsingPUT(body, appId)
1414
1515
Update App&#x27;s AWS CloudWatch settings
1616

@@ -38,10 +38,10 @@ AwsSettingsControllerApi apiInstance = new AwsSettingsControllerApi();
3838
CloudWatchSettings body = new CloudWatchSettings(); // CloudWatchSettings | dto
3939
Long appId = 789L; // Long | appId
4040
try {
41-
CloudWatchSettingsResponse result = apiInstance.updateUsingPUT1(body, appId);
41+
CloudWatchSettingsResponse result = apiInstance.updateUsingPUT(body, appId);
4242
System.out.println(result);
4343
} catch (ApiException e) {
44-
System.err.println("Exception when calling AwsSettingsControllerApi#updateUsingPUT1");
44+
System.err.println("Exception when calling AwsSettingsControllerApi#updateUsingPUT");
4545
e.printStackTrace();
4646
}
4747
```

docs/BillingInfo.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
## Properties
44

5-
Name | Type | Description | Notes
6-
------------ | ------------- | ------------- | -------------
7-
**creditCardId** | **Long** | | [optional]
8-
**paymentMethod** | **String** | | [optional]
9-
**planId** | **Long** | | [optional]
5+
| Name | Type | Description | Notes |
6+
| ----------------- | ---------- | ----------- | ---------- |
7+
| **creditCardId** | **Long** | | [optional] |
8+
| **paymentMethod** | **String** | | [optional] |
9+
| **planId** | **Long** | | [optional] |

docs/ChargesDetailsResponseDto.md

+15-15
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@
22

33
## Properties
44

5-
Name | Type | Description | Notes
6-
------------ | ------------- | ------------- | -------------
7-
**app** | [**App**](App.md) | | [optional]
8-
**chargeBase** | [**ChargeBaseEnum**](#ChargeBaseEnum) | | [optional]
9-
**dayUsageData** | [**List&lt;DayUsageData&gt;**](DayUsageData.md) | | [optional]
10-
**monthlyFeeAmount** | [**BigDecimal**](BigDecimal.md) | | [optional]
11-
**periodFeePeriods** | [**List&lt;MinPeriodFeePeriod&gt;**](MinPeriodFeePeriod.md) | | [optional]
12-
**totalAmount** | [**BigDecimal**](BigDecimal.md) | | [optional]
13-
**usageAmount** | [**BigDecimal**](BigDecimal.md) | | [optional]
5+
| Name | Type | Description | Notes |
6+
| -------------------- | ----------------------------------------------------------- | ----------- | ---------- |
7+
| **app** | [**App**](App.md) | | [optional] |
8+
| **chargeBase** | [**ChargeBaseEnum**](#ChargeBaseEnum) | | [optional] |
9+
| **dayUsageData** | [**List&lt;DayUsageData&gt;**](DayUsageData.md) | | [optional] |
10+
| **monthlyFeeAmount** | [**BigDecimal**](BigDecimal.md) | | [optional] |
11+
| **periodFeePeriods** | [**List&lt;MinPeriodFeePeriod&gt;**](MinPeriodFeePeriod.md) | | [optional] |
12+
| **totalAmount** | [**BigDecimal**](BigDecimal.md) | | [optional] |
13+
| **usageAmount** | [**BigDecimal**](BigDecimal.md) | | [optional] |
1414

1515
<a name="ChargeBaseEnum"></a>
1616

1717
## Enum: ChargeBaseEnum
1818

19-
Name | Value
20-
---- | -----
21-
SUMMARIZED_USAGE | &quot;SUMMARIZED_USAGE&quot;
22-
MIN_MONTHLY_FEE | &quot;MIN_MONTHLY_FEE&quot;
23-
SUM_OF_DAILY_FEES | &quot;SUM_OF_DAILY_FEES&quot;
24-
TOTAL_MONTHLY_FEE | &quot;TOTAL_MONTHLY_FEE&quot;
19+
| Name | Value |
20+
| ----------------- | ----------------------------- |
21+
| SUMMARIZED_USAGE | &quot;SUMMARIZED_USAGE&quot; |
22+
| MIN_MONTHLY_FEE | &quot;MIN_MONTHLY_FEE&quot; |
23+
| SUM_OF_DAILY_FEES | &quot;SUM_OF_DAILY_FEES&quot; |
24+
| TOTAL_MONTHLY_FEE | &quot;TOTAL_MONTHLY_FEE&quot; |

docs/MonitoringAppApi.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
All URIs are relative to */*
44

5-
| Method | HTTP request | Description |
6-
| -------------------------------------------------------------------- | --------------------------------- | --------------------- |
7-
| [**createSpmApplication**](MonitoringAppApi.md#createSpmApplication) | **POST** /spm-reports/api/v3/apps | Create Monitoring App |
5+
| Method | HTTP request | Description |
6+
| ---------------------------------------------------------------------- | --------------------------------- | --------------------- |
7+
| [**createSpmApplication1**](MonitoringAppApi.md#createSpmApplication1) | **POST** /spm-reports/api/v3/apps | Create Monitoring App |
88

9-
<a name="createSpmApplication"></a>
9+
<a name="createSpmApplication1"></a>
1010

11-
# **createSpmApplication**
11+
# **createSpmApplication1**
1212

13-
> AppsResponse createSpmApplication(body)
13+
> AppsResponse createSpmApplication1(body)
1414
1515
Create Monitoring App
1616

@@ -35,10 +35,10 @@ api_key.setApiKey("YOUR API KEY");
3535
MonitoringAppApi apiInstance = new MonitoringAppApi();
3636
CreateAppInfo body = new CreateAppInfo(); // CreateAppInfo | Details of the application to be created
3737
try {
38-
AppsResponse result = apiInstance.createSpmApplication(body);
38+
AppsResponse result = apiInstance.createSpmApplication1(body);
3939
System.out.println(result);
4040
} catch (ApiException e) {
41-
System.err.println("Exception when calling MonitoringAppApi#createSpmApplication");
41+
System.err.println("Exception when calling MonitoringAppApi#createSpmApplication1");
4242
e.printStackTrace();
4343
}
4444
```

0 commit comments

Comments
 (0)