From 7426e7cb622f5e513af2fe4c616d2af65eb11ad4 Mon Sep 17 00:00:00 2001 From: Euan Clark Date: Thu, 23 Dec 2021 18:36:43 +1300 Subject: [PATCH] Regenerated client for update to swagger-godegen v3.0.30 --- build.gradle | 2 +- build.sbt | 4 +- docs/AlertNotification.md | 1 + docs/AlertNotificationRequest.md | 1 + docs/AlertNotificationsApi.md | 14 +- docs/AlertRule.md | 3 + docs/AlertRuleResponse.md | 1 + docs/AlertRuleResponseEntry.md | 1 + docs/AlertRuleScheduleTimeRangeDto.md | 1 + docs/AlertRuleScheduleWeekdayDto.md | 1 + docs/AlertRulesResponse.md | 1 + docs/AlertRulesResponseEntry.md | 1 + docs/AlertsApi.md | 91 ++++---- docs/App.md | 1 + docs/AppDescription.md | 1 + docs/AppMetadata.md | 7 + docs/AppResponse.md | 1 + docs/AppResponseEntry.md | 1 + docs/AppTypesResponse.md | 1 + docs/AppTypesResponseEntry.md | 1 + docs/AppsApi.md | 131 ++++++----- docs/AppsResponse.md | 1 + docs/AppsResponseEntry.md | 1 + docs/AwsSettingsControllerApi.md | 7 +- docs/BasicAuthMethodDto.md | 3 + docs/BasicOrganizationDto.md | 3 + docs/BillingApi.md | 41 ++-- docs/BillingInfo.md | 11 +- docs/ChargesDetailsResponseDto.md | 33 +-- docs/CloudWatchSettings.md | 5 + docs/CloudWatchSettingsResponse.md | 1 + docs/CloudWatchSettingsResponseEntry.md | 1 + docs/CreateAppInfo.md | 1 + docs/CreateTokenDto.md | 1 + docs/DailyDto.md | 15 +- docs/DayUsageData.md | 3 + docs/Dimension.md | 1 + docs/Error.md | 1 + docs/EventDto.md | 4 + docs/FilterValue.md | 1 + docs/GenericApiResponse.md | 1 + docs/GenericMapBasedApiResponse.md | 1 + docs/Invitation.md | 7 + docs/Invoice.md | 1 + docs/InvoiceResponse.md | 1 + docs/InvoiceResponseEntry.md | 1 + docs/LimitChangeEventDTO.md | 1 + docs/LogsAppApi.md | 7 +- docs/LogsUsageApiControllerApi.md | 7 +- docs/MailReportResponse.md | 1 + docs/MailReportResponseResponseEntry.md | 1 + docs/MinPeriodFeePeriod.md | 29 +-- docs/MonitoringAppApi.md | 23 +- docs/NotificationIntegration.md | 7 + docs/NotificationsResponse.md | 1 + docs/NotificationsResponseEntry.md | 1 + docs/Plan.md | 6 + docs/PlansResponse.md | 1 + docs/PlansResponseEntry.md | 1 + docs/ReportInfo.md | 22 +- docs/ResetPasswordApi.md | 7 +- docs/ServiceIntegration.md | 1 + docs/Subscription.md | 40 ++-- docs/SubscriptionDashboardDto.md | 5 + docs/SubscriptionDto.md | 34 +-- docs/SubscriptionResponse.md | 1 + docs/SubscriptionResponseEntry.md | 1 + docs/SubscriptionsApi.md | 205 ++++++++++-------- docs/SubscriptionsResponse.md | 1 + docs/SubscriptionsResponseEntry.md | 1 + docs/TagApiControllerApi.md | 33 ++- docs/TagNamesResponse.md | 1 + docs/TokenDto.md | 1 + docs/TokenResponse.md | 1 + docs/TokenResponseEntry.md | 7 +- docs/TokensApiControllerApi.md | 71 +++--- docs/TokensResponse.md | 1 + docs/TokensResponseEntry.md | 2 + docs/UpdateAppInfo.md | 33 +-- docs/UpdatePlanResponse.md | 13 +- docs/UpdatePlanResponseDto.md | 1 + docs/UpdatePlanResponseEntry.md | 1 + docs/UpdateSubscriptionDto.md | 7 +- docs/UpdateTokenDto.md | 1 + docs/UsageDto.md | 7 +- docs/UsageMultiResponse.md | 1 + docs/UsageMultiResponseEntry.md | 1 + docs/UsageResponse.md | 1 + docs/UsageResponseEntry.md | 1 + docs/UserInfo.md | 1 + docs/UserPermissions.md | 1 + docs/UserRole.md | 5 + pom.xml | 2 +- .../java/com/sematext/cloud/ApiCallback.java | 2 +- .../java/com/sematext/cloud/ApiClient.java | 2 +- .../java/com/sematext/cloud/ApiException.java | 2 +- .../java/com/sematext/cloud/ApiResponse.java | 2 +- .../com/sematext/cloud/Configuration.java | 2 +- .../cloud/GzipRequestInterceptor.java | 2 +- src/main/java/com/sematext/cloud/JSON.java | 2 +- src/main/java/com/sematext/cloud/Pair.java | 2 +- .../sematext/cloud/ProgressRequestBody.java | 2 +- .../sematext/cloud/ProgressResponseBody.java | 4 +- .../java/com/sematext/cloud/StringUtil.java | 2 +- .../com/sematext/cloud/auth/ApiKeyAuth.java | 2 +- .../sematext/cloud/auth/Authentication.java | 2 +- .../com/sematext/cloud/client/AlertsApi.java | 88 ++++---- .../com/sematext/cloud/client/AppsApi.java | 130 +++++------ .../com/sematext/cloud/client/BillingApi.java | 20 +- .../cloud/client/MonitoringAppApi.java | 22 +- .../cloud/client/SubscriptionsApi.java | 94 ++++---- .../cloud/client/TagApiControllerApi.java | 24 +- .../cloud/client/TokensApiControllerApi.java | 72 +++--- .../com/sematext/cloud/model/AlertRule.java | 8 +- .../com/sematext/cloud/model/AppMetadata.java | 24 +- .../cloud/model/BasicAuthMethodDto.java | 8 +- .../cloud/model/BasicOrganizationDto.java | 8 +- .../model/ChargesDetailsResponseDto.java | 8 +- .../cloud/model/CloudWatchSettings.java | 16 +- .../com/sematext/cloud/model/DailyDto.java | 96 +++++--- .../sematext/cloud/model/DayUsageData.java | 8 +- .../com/sematext/cloud/model/EventDto.java | 11 +- .../com/sematext/cloud/model/Invitation.java | 24 +- .../cloud/model/MinPeriodFeePeriod.java | 48 +++- .../cloud/model/NotificationIntegration.java | 24 +- .../java/com/sematext/cloud/model/Plan.java | 19 +- .../com/sematext/cloud/model/ReportInfo.java | 27 ++- .../sematext/cloud/model/Subscription.java | 43 +++- .../cloud/model/SubscriptionDashboardDto.java | 16 +- .../sematext/cloud/model/SubscriptionDto.java | 43 +++- .../sematext/cloud/model/UpdateAppInfo.java | 8 +- .../com/sematext/cloud/model/UsageDto.java | 120 ++++++---- .../com/sematext/cloud/model/UserRole.java | 16 +- .../client/AlertNotificationsApiTest.java | 11 +- .../sematext/cloud/client/AlertsApiTest.java | 31 +-- .../sematext/cloud/client/AppsApiTest.java | 47 ++-- .../client/AwsSettingsControllerApiTest.java | 7 +- .../sematext/cloud/client/BillingApiTest.java | 17 +- .../sematext/cloud/client/LogsAppApiTest.java | 7 +- .../client/LogsUsageApiControllerApiTest.java | 7 +- .../cloud/client/MonitoringAppApiTest.java | 9 +- .../cloud/client/ResetPasswordApiTest.java | 7 +- .../cloud/client/SubscriptionsApiTest.java | 51 ++--- .../cloud/client/TagApiControllerApiTest.java | 17 +- .../client/TokensApiControllerApiTest.java | 29 +-- 145 files changed, 1399 insertions(+), 903 deletions(-) diff --git a/build.gradle b/build.gradle index 22eabf8..489bfd5 100644 --- a/build.gradle +++ b/build.gradle @@ -2,7 +2,7 @@ apply plugin: 'idea' apply plugin: 'eclipse' group = 'com.sematext' -version = '0.1.2' +version = '0.4.0' buildscript { repositories { diff --git a/build.sbt b/build.sbt index 7378c62..bbf842b 100644 --- a/build.sbt +++ b/build.sbt @@ -9,11 +9,11 @@ lazy val root = (project in file(".")). publishArtifact in (Compile, packageDoc) := false, resolvers += Resolver.mavenLocal, libraryDependencies ++= Seq( - "io.swagger" % "swagger-annotations" % "1.5.17", + "io.swagger.core.v3" % "swagger-annotations" % "2.0.0", "com.squareup.okhttp" % "okhttp" % "2.7.5", "com.squareup.okhttp" % "logging-interceptor" % "2.7.5", "com.google.code.gson" % "gson" % "2.8.1", - "io.gsonfire" % "gson-fire" % "1.8.0" % "compile", + "io.gsonfire" % "gson-fire" % "1.8.3" % "compile", "junit" % "junit" % "4.12" % "test", "com.novocode" % "junit-interface" % "0.10" % "test" ) diff --git a/docs/AlertNotification.md b/docs/AlertNotification.md index b213484..0af6bce 100644 --- a/docs/AlertNotification.md +++ b/docs/AlertNotification.md @@ -1,6 +1,7 @@ # AlertNotification ## Properties + | Name | Type | Description | Notes | | ---------------- | ----------- | ----------- | ---------- | | **appName** | **String** | | [optional] | diff --git a/docs/AlertNotificationRequest.md b/docs/AlertNotificationRequest.md index 3d37a98..bae6639 100644 --- a/docs/AlertNotificationRequest.md +++ b/docs/AlertNotificationRequest.md @@ -1,6 +1,7 @@ # AlertNotificationRequest ## Properties + | Name | Type | Description | Notes | | ------------------- | ---------- | --------------------------------------------------------------------------------------------------------------- | ---------- | | **defaultInterval** | **Long** | | [optional] | diff --git a/docs/AlertNotificationsApi.md b/docs/AlertNotificationsApi.md index ac98f47..446fae7 100644 --- a/docs/AlertNotificationsApi.md +++ b/docs/AlertNotificationsApi.md @@ -8,7 +8,9 @@ All URIs are relative to */* | [**getAlertNotificationsForUserUsingPOST**](AlertNotificationsApi.md#getAlertNotificationsForUserUsingPOST) | **POST** /users-web/api/v3/notifications/alerts | Get alert notifications for a user | + # **getAlertNotificationsForAppUsingPOST** + > NotificationsResponse getAlertNotificationsForAppUsingPOST(body, appId) Get alert notifications for an app @@ -16,6 +18,7 @@ Get alert notifications for an app Default value of interval is 1d ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -61,11 +64,13 @@ try { ### HTTP request headers - - **Content-Type**: application/json - - **Accept**: application/json +- **Content-Type**: application/json +- **Accept**: application/json + # **getAlertNotificationsForUserUsingPOST** + > NotificationsResponse getAlertNotificationsForUserUsingPOST(body) Get alert notifications for a user @@ -73,6 +78,7 @@ Get alert notifications for a user Default value of interval is 1d ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -116,5 +122,5 @@ try { ### HTTP request headers - - **Content-Type**: application/json - - **Accept**: application/json +- **Content-Type**: application/json +- **Accept**: application/json diff --git a/docs/AlertRule.md b/docs/AlertRule.md index d064c08..9f30d78 100644 --- a/docs/AlertRule.md +++ b/docs/AlertRule.md @@ -1,6 +1,7 @@ # AlertRule ## Properties + | Name | Type | Description | Notes | | ----------------------------------------- | ----------------------------------------------------------------------------- | ----------- | ---------- | | **accountEmail** | **String** | | [optional] | @@ -53,7 +54,9 @@ | **valueName** | **String** | | [optional] | + ## Enum: EstimateOperationEnum + | Name | Value | | ------------- | ------------------------- | | LESS | "LESS" | diff --git a/docs/AlertRuleResponse.md b/docs/AlertRuleResponse.md index b117940..cb18e44 100644 --- a/docs/AlertRuleResponse.md +++ b/docs/AlertRuleResponse.md @@ -1,6 +1,7 @@ # AlertRuleResponse ## Properties + | Name | Type | Description | Notes | | ----------- | ------------------------------------------------------- | ----------- | ---------- | | **data** | [**AlertRuleResponseEntry**](AlertRuleResponseEntry.md) | | [optional] | diff --git a/docs/AlertRuleResponseEntry.md b/docs/AlertRuleResponseEntry.md index da0ebb5..7c8ae6d 100644 --- a/docs/AlertRuleResponseEntry.md +++ b/docs/AlertRuleResponseEntry.md @@ -1,6 +1,7 @@ # AlertRuleResponseEntry ## Properties + | Name | Type | Description | Notes | | ------------- | ----------------------------- | ----------- | ---------- | | **alertRule** | [**AlertRule**](AlertRule.md) | | [optional] | diff --git a/docs/AlertRuleScheduleTimeRangeDto.md b/docs/AlertRuleScheduleTimeRangeDto.md index c110cdd..876c59f 100644 --- a/docs/AlertRuleScheduleTimeRangeDto.md +++ b/docs/AlertRuleScheduleTimeRangeDto.md @@ -1,6 +1,7 @@ # AlertRuleScheduleTimeRangeDto ## Properties + | Name | Type | Description | Notes | | --------- | ---------- | ----------- | ---------- | | **end** | **String** | | [optional] | diff --git a/docs/AlertRuleScheduleWeekdayDto.md b/docs/AlertRuleScheduleWeekdayDto.md index d64abcb..1ee2f80 100644 --- a/docs/AlertRuleScheduleWeekdayDto.md +++ b/docs/AlertRuleScheduleWeekdayDto.md @@ -1,6 +1,7 @@ # AlertRuleScheduleWeekdayDto ## Properties + | Name | Type | Description | Notes | | ------------- | --------------------------------------------------------------------------------- | ----------- | ---------- | | **day** | **String** | | [optional] | diff --git a/docs/AlertRulesResponse.md b/docs/AlertRulesResponse.md index f811b3a..e33bcf8 100644 --- a/docs/AlertRulesResponse.md +++ b/docs/AlertRulesResponse.md @@ -1,6 +1,7 @@ # AlertRulesResponse ## Properties + | Name | Type | Description | Notes | | ----------- | --------------------------------------------------------- | ----------- | ---------- | | **data** | [**AlertRulesResponseEntry**](AlertRulesResponseEntry.md) | | [optional] | diff --git a/docs/AlertRulesResponseEntry.md b/docs/AlertRulesResponseEntry.md index 2f507c8..44f0cf9 100644 --- a/docs/AlertRulesResponseEntry.md +++ b/docs/AlertRulesResponseEntry.md @@ -1,6 +1,7 @@ # AlertRulesResponseEntry ## Properties + | Name | Type | Description | Notes | | -------------- | ----------------------------------------- | ----------- | ---------- | | **alertRules** | [**List<AlertRule>**](AlertRule.md) | | [optional] | diff --git a/docs/AlertsApi.md b/docs/AlertsApi.md index 74730fe..f00f0c5 100644 --- a/docs/AlertsApi.md +++ b/docs/AlertsApi.md @@ -2,21 +2,24 @@ All URIs are relative to */* -| Method | HTTP request | Description | -| --------------------------------------------------------------------------- | ------------------------------------------------------------ | -------------------------- | -| [**createAlertUsingPOST1**](AlertsApi.md#createAlertUsingPOST1) | **POST** /users-web/api/v3/alerts | Create alert rule | -| [**deleteAlertRuleUsingDELETE1**](AlertsApi.md#deleteAlertRuleUsingDELETE1) | **DELETE** /users-web/api/v3/alerts/{updateableAlertId} | Delete alert rule | -| [**disableAlertRuleUsingPUT1**](AlertsApi.md#disableAlertRuleUsingPUT1) | **PUT** /users-web/api/v3/alerts/{updateableAlertId}/disable | Disable alert rule | -| [**enableAlertRuleUsingPUT1**](AlertsApi.md#enableAlertRuleUsingPUT1) | **PUT** /users-web/api/v3/alerts/{updateableAlertId}/enable | Enable alert rule | -| [**getAlertRulesForAppUsingGET**](AlertsApi.md#getAlertRulesForAppUsingGET) | **GET** /users-web/api/v3/apps/{appId}/alerts | Get alert rules for an app | - - -# **createAlertUsingPOST1** -> AlertRuleResponse createAlertUsingPOST1(body) +| Method | HTTP request | Description | +| ----------------------------------------------------------------------------- | ------------------------------------------------------------ | -------------------------- | +| [**createAlertUsingPOST**](AlertsApi.md#createAlertUsingPOST) | **POST** /users-web/api/v3/alerts | Create alert rule | +| [**deleteAlertRuleUsingDELETE1**](AlertsApi.md#deleteAlertRuleUsingDELETE1) | **DELETE** /users-web/api/v3/alerts/{updateableAlertId} | Delete alert rule | +| [**disableAlertRuleUsingPUT**](AlertsApi.md#disableAlertRuleUsingPUT) | **PUT** /users-web/api/v3/alerts/{updateableAlertId}/disable | Disable alert rule | +| [**enableAlertRuleUsingPUT**](AlertsApi.md#enableAlertRuleUsingPUT) | **PUT** /users-web/api/v3/alerts/{updateableAlertId}/enable | Enable alert rule | +| [**getAlertRulesForAppUsingGET1**](AlertsApi.md#getAlertRulesForAppUsingGET1) | **GET** /users-web/api/v3/apps/{appId}/alerts | Get alert rules for an app | + + + +# **createAlertUsingPOST** + +> AlertRuleResponse createAlertUsingPOST(body) Create alert rule ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -36,10 +39,10 @@ api_key.setApiKey("YOUR API KEY"); AlertsApi apiInstance = new AlertsApi(); AlertRule body = new AlertRule(); // AlertRule | dto try { - AlertRuleResponse result = apiInstance.createAlertUsingPOST1(body); + AlertRuleResponse result = apiInstance.createAlertUsingPOST(body); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AlertsApi#createAlertUsingPOST1"); + System.err.println("Exception when calling AlertsApi#createAlertUsingPOST"); e.printStackTrace(); } ``` @@ -60,16 +63,19 @@ try { ### HTTP request headers - - **Content-Type**: application/json - - **Accept**: application/json +- **Content-Type**: application/json +- **Accept**: application/json + # **deleteAlertRuleUsingDELETE1** + > GenericMapBasedApiResponse deleteAlertRuleUsingDELETE1(updateableAlertId) Delete alert rule ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -113,16 +119,19 @@ try { ### HTTP request headers - - **Content-Type**: Not defined - - **Accept**: application/json +- **Content-Type**: Not defined +- **Accept**: application/json + + - -# **disableAlertRuleUsingPUT1** -> GenericMapBasedApiResponse disableAlertRuleUsingPUT1(updateableAlertId) +# **disableAlertRuleUsingPUT** + +> GenericMapBasedApiResponse disableAlertRuleUsingPUT(updateableAlertId) Disable alert rule ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -142,10 +151,10 @@ api_key.setApiKey("YOUR API KEY"); AlertsApi apiInstance = new AlertsApi(); Long updateableAlertId = 789L; // Long | updateableAlertId try { - GenericMapBasedApiResponse result = apiInstance.disableAlertRuleUsingPUT1(updateableAlertId); + GenericMapBasedApiResponse result = apiInstance.disableAlertRuleUsingPUT(updateableAlertId); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AlertsApi#disableAlertRuleUsingPUT1"); + System.err.println("Exception when calling AlertsApi#disableAlertRuleUsingPUT"); e.printStackTrace(); } ``` @@ -166,16 +175,19 @@ try { ### HTTP request headers - - **Content-Type**: Not defined - - **Accept**: application/json +- **Content-Type**: Not defined +- **Accept**: application/json + + + +# **enableAlertRuleUsingPUT** - -# **enableAlertRuleUsingPUT1** -> GenericMapBasedApiResponse enableAlertRuleUsingPUT1(updateableAlertId) +> GenericMapBasedApiResponse enableAlertRuleUsingPUT(updateableAlertId) Enable alert rule ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -195,10 +207,10 @@ api_key.setApiKey("YOUR API KEY"); AlertsApi apiInstance = new AlertsApi(); Long updateableAlertId = 789L; // Long | updateableAlertId try { - GenericMapBasedApiResponse result = apiInstance.enableAlertRuleUsingPUT1(updateableAlertId); + GenericMapBasedApiResponse result = apiInstance.enableAlertRuleUsingPUT(updateableAlertId); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AlertsApi#enableAlertRuleUsingPUT1"); + System.err.println("Exception when calling AlertsApi#enableAlertRuleUsingPUT"); e.printStackTrace(); } ``` @@ -219,16 +231,19 @@ try { ### HTTP request headers - - **Content-Type**: Not defined - - **Accept**: application/json +- **Content-Type**: Not defined +- **Accept**: application/json + + - -# **getAlertRulesForAppUsingGET** -> AlertRulesResponse getAlertRulesForAppUsingGET(appId) +# **getAlertRulesForAppUsingGET1** + +> AlertRulesResponse getAlertRulesForAppUsingGET1(appId) Get alert rules for an app ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -248,10 +263,10 @@ api_key.setApiKey("YOUR API KEY"); AlertsApi apiInstance = new AlertsApi(); Long appId = 789L; // Long | appId try { - AlertRulesResponse result = apiInstance.getAlertRulesForAppUsingGET(appId); + AlertRulesResponse result = apiInstance.getAlertRulesForAppUsingGET1(appId); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AlertsApi#getAlertRulesForAppUsingGET"); + System.err.println("Exception when calling AlertsApi#getAlertRulesForAppUsingGET1"); e.printStackTrace(); } ``` @@ -272,5 +287,5 @@ try { ### HTTP request headers - - **Content-Type**: Not defined - - **Accept**: application/json +- **Content-Type**: Not defined +- **Accept**: application/json diff --git a/docs/App.md b/docs/App.md index c2065cd..0457926 100644 --- a/docs/App.md +++ b/docs/App.md @@ -1,6 +1,7 @@ # App ## Properties + | Name | Type | Description | Notes | | ------------------------- | --------------------------------------------------- | ----------- | ---------- | | **ajaxThreshold** | **Long** | | [optional] | diff --git a/docs/AppDescription.md b/docs/AppDescription.md index b450e2c..866714f 100644 --- a/docs/AppDescription.md +++ b/docs/AppDescription.md @@ -1,6 +1,7 @@ # AppDescription ## Properties + | Name | Type | Description | Notes | | --------------- | ---------- | ----------- | ---------- | | **description** | **String** | | [optional] | diff --git a/docs/AppMetadata.md b/docs/AppMetadata.md index 65ce93e..3f80bc3 100644 --- a/docs/AppMetadata.md +++ b/docs/AppMetadata.md @@ -1,6 +1,7 @@ # AppMetadata ## Properties + | Name | Type | Description | Notes | | -------------------------- | --------------------------------------------------------- | ---------------------------------------------------------- | ---------- | | **awsCloudWatchAccessKey** | **String** | | [optional] | @@ -10,7 +11,9 @@ | **subTypes** | [**List<SubTypesEnum>**](#List<SubTypesEnum>) | Comma separated list of AWS types monitored by created app | [optional] | + ## Enum: AwsFetchFrequencyEnum + | Name | Value | | --------------- | --------------------------- | | MINUTE | "MINUTE" | @@ -18,7 +21,9 @@ | FIFTEEN_MINUTES | "FIFTEEN_MINUTES" | + ## Enum: AwsRegionEnum + | Name | Value | | -------------- | -------------------------- | | US_EAST_1 | "US_EAST_1" | @@ -39,7 +44,9 @@ | EU_WEST_2 | "EU_WEST_2" | + ## Enum: List<SubTypesEnum> + | Name | Value | | ---- | ------------------- | | EC2 | "aws_ec2" | diff --git a/docs/AppResponse.md b/docs/AppResponse.md index e691445..fbef210 100644 --- a/docs/AppResponse.md +++ b/docs/AppResponse.md @@ -1,6 +1,7 @@ # AppResponse ## Properties + | Name | Type | Description | Notes | | ----------- | ------------------------------------------- | ----------- | ---------- | | **data** | [**AppResponseEntry**](AppResponseEntry.md) | | [optional] | diff --git a/docs/AppResponseEntry.md b/docs/AppResponseEntry.md index a5a0ec4..52f0aaf 100644 --- a/docs/AppResponseEntry.md +++ b/docs/AppResponseEntry.md @@ -1,6 +1,7 @@ # AppResponseEntry ## Properties + | Name | Type | Description | Notes | | ------- | ----------------- | ----------- | ---------- | | **app** | [**App**](App.md) | | [optional] | diff --git a/docs/AppTypesResponse.md b/docs/AppTypesResponse.md index 5aa13db..978d901 100644 --- a/docs/AppTypesResponse.md +++ b/docs/AppTypesResponse.md @@ -1,6 +1,7 @@ # AppTypesResponse ## Properties + | Name | Type | Description | Notes | | ----------- | ----------------------------------------------------- | ----------- | ---------- | | **data** | [**AppTypesResponseEntry**](AppTypesResponseEntry.md) | | [optional] | diff --git a/docs/AppTypesResponseEntry.md b/docs/AppTypesResponseEntry.md index 05845a9..b9e0858 100644 --- a/docs/AppTypesResponseEntry.md +++ b/docs/AppTypesResponseEntry.md @@ -1,6 +1,7 @@ # AppTypesResponseEntry ## Properties + | Name | Type | Description | Notes | | ------------ | ---------------------- | ----------- | ---------- | | **appTypes** | **List<String>** | | [optional] | diff --git a/docs/AppsApi.md b/docs/AppsApi.md index 172dcf9..49312c3 100644 --- a/docs/AppsApi.md +++ b/docs/AppsApi.md @@ -4,22 +4,25 @@ All URIs are relative to */* | Method | HTTP request | Description | | ----------------------------------------------------------------------- | ---------------------------------------------------------- | ------------------------------------------------------------------ | -| [**deleteUsingDELETE1**](AppsApi.md#deleteUsingDELETE1) | **DELETE** /users-web/api/v3/apps/{anyStateAppId} | delete | -| [**getAppTypesUsingGET1**](AppsApi.md#getAppTypesUsingGET1) | **GET** /users-web/api/v3/apps/types | Get all App types supported for the account identified with apiKey | -| [**getUsingGET1**](AppsApi.md#getUsingGET1) | **GET** /users-web/api/v3/apps/{anyStateAppId} | Gets defails for one particular App | -| [**inviteAppGuestsUsingPOST1**](AppsApi.md#inviteAppGuestsUsingPOST1) | **POST** /users-web/api/v3/apps/guests | Invite guests to an app | -| [**listAppsUsersUsingGET1**](AppsApi.md#listAppsUsersUsingGET1) | **GET** /users-web/api/v3/apps/users | Get all users of apps accessible to this account | +| [**deleteUsingDELETE**](AppsApi.md#deleteUsingDELETE) | **DELETE** /users-web/api/v3/apps/{anyStateAppId} | delete | +| [**getAppTypesUsingGET**](AppsApi.md#getAppTypesUsingGET) | **GET** /users-web/api/v3/apps/types | Get all App types supported for the account identified with apiKey | +| [**getUsingGET**](AppsApi.md#getUsingGET) | **GET** /users-web/api/v3/apps/{anyStateAppId} | Gets defails for one particular App | +| [**inviteAppGuestsUsingPOST**](AppsApi.md#inviteAppGuestsUsingPOST) | **POST** /users-web/api/v3/apps/guests | Invite guests to an app | +| [**listAppsUsersUsingGET**](AppsApi.md#listAppsUsersUsingGET) | **GET** /users-web/api/v3/apps/users | Get all users of apps accessible to this account | | [**listUsingGET**](AppsApi.md#listUsingGET) | **GET** /users-web/api/v3/apps | Get all apps accessible by account identified with apiKey | | [**updateDescriptionUsingPUT1**](AppsApi.md#updateDescriptionUsingPUT1) | **PUT** /users-web/api/v3/apps/{anyStateAppId}/description | Update description of the app | -| [**updateUsingPUT3**](AppsApi.md#updateUsingPUT3) | **PUT** /users-web/api/v3/apps/{anyStateAppId} | Update app | +| [**updateUsingPUT2**](AppsApi.md#updateUsingPUT2) | **PUT** /users-web/api/v3/apps/{anyStateAppId} | Update app | - -# **deleteUsingDELETE1** -> GenericMapBasedApiResponse deleteUsingDELETE1(anyStateAppId) + + +# **deleteUsingDELETE** + +> GenericMapBasedApiResponse deleteUsingDELETE(anyStateAppId) delete ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -39,10 +42,10 @@ api_key.setApiKey("YOUR API KEY"); AppsApi apiInstance = new AppsApi(); Long anyStateAppId = 789L; // Long | anyStateAppId try { - GenericMapBasedApiResponse result = apiInstance.deleteUsingDELETE1(anyStateAppId); + GenericMapBasedApiResponse result = apiInstance.deleteUsingDELETE(anyStateAppId); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AppsApi#deleteUsingDELETE1"); + System.err.println("Exception when calling AppsApi#deleteUsingDELETE"); e.printStackTrace(); } ``` @@ -63,16 +66,19 @@ try { ### HTTP request headers - - **Content-Type**: Not defined - - **Accept**: application/json +- **Content-Type**: Not defined +- **Accept**: application/json + + - -# **getAppTypesUsingGET1** -> AppTypesResponse getAppTypesUsingGET1() +# **getAppTypesUsingGET** + +> AppTypesResponse getAppTypesUsingGET() Get all App types supported for the account identified with apiKey ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -91,15 +97,16 @@ api_key.setApiKey("YOUR API KEY"); AppsApi apiInstance = new AppsApi(); try { - AppTypesResponse result = apiInstance.getAppTypesUsingGET1(); + AppTypesResponse result = apiInstance.getAppTypesUsingGET(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AppsApi#getAppTypesUsingGET1"); + System.err.println("Exception when calling AppsApi#getAppTypesUsingGET"); e.printStackTrace(); } ``` ### Parameters + This endpoint does not need any parameter. ### Return type @@ -112,16 +119,19 @@ This endpoint does not need any parameter. ### HTTP request headers - - **Content-Type**: Not defined - - **Accept**: application/json +- **Content-Type**: Not defined +- **Accept**: application/json - -# **getUsingGET1** -> AppResponse getUsingGET1(anyStateAppId) + + +# **getUsingGET** + +> AppResponse getUsingGET(anyStateAppId) Gets defails for one particular App ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -141,10 +151,10 @@ api_key.setApiKey("YOUR API KEY"); AppsApi apiInstance = new AppsApi(); Long anyStateAppId = 789L; // Long | anyStateAppId try { - AppResponse result = apiInstance.getUsingGET1(anyStateAppId); + AppResponse result = apiInstance.getUsingGET(anyStateAppId); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AppsApi#getUsingGET1"); + System.err.println("Exception when calling AppsApi#getUsingGET"); e.printStackTrace(); } ``` @@ -165,16 +175,19 @@ try { ### HTTP request headers - - **Content-Type**: Not defined - - **Accept**: application/json +- **Content-Type**: Not defined +- **Accept**: application/json + + - -# **inviteAppGuestsUsingPOST1** -> GenericMapBasedApiResponse inviteAppGuestsUsingPOST1(body) +# **inviteAppGuestsUsingPOST** + +> GenericMapBasedApiResponse inviteAppGuestsUsingPOST(body) Invite guests to an app ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -194,10 +207,10 @@ api_key.setApiKey("YOUR API KEY"); AppsApi apiInstance = new AppsApi(); 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 try { - GenericMapBasedApiResponse result = apiInstance.inviteAppGuestsUsingPOST1(body); + GenericMapBasedApiResponse result = apiInstance.inviteAppGuestsUsingPOST(body); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AppsApi#inviteAppGuestsUsingPOST1"); + System.err.println("Exception when calling AppsApi#inviteAppGuestsUsingPOST"); e.printStackTrace(); } ``` @@ -218,16 +231,19 @@ try { ### HTTP request headers - - **Content-Type**: application/json - - **Accept**: application/json +- **Content-Type**: application/json +- **Accept**: application/json + + - -# **listAppsUsersUsingGET1** -> AppsResponse listAppsUsersUsingGET1() +# **listAppsUsersUsingGET** + +> AppsResponse listAppsUsersUsingGET() Get all users of apps accessible to this account ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -246,15 +262,16 @@ api_key.setApiKey("YOUR API KEY"); AppsApi apiInstance = new AppsApi(); try { - AppsResponse result = apiInstance.listAppsUsersUsingGET1(); + AppsResponse result = apiInstance.listAppsUsersUsingGET(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AppsApi#listAppsUsersUsingGET1"); + System.err.println("Exception when calling AppsApi#listAppsUsersUsingGET"); e.printStackTrace(); } ``` ### Parameters + This endpoint does not need any parameter. ### Return type @@ -267,16 +284,19 @@ This endpoint does not need any parameter. ### HTTP request headers - - **Content-Type**: Not defined - - **Accept**: application/json +- **Content-Type**: Not defined +- **Accept**: application/json + # **listUsingGET** + > AppsResponse listUsingGET() Get all apps accessible by account identified with apiKey ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -304,6 +324,7 @@ try { ``` ### Parameters + This endpoint does not need any parameter. ### Return type @@ -316,11 +337,13 @@ This endpoint does not need any parameter. ### HTTP request headers - - **Content-Type**: Not defined - - **Accept**: application/json +- **Content-Type**: Not defined +- **Accept**: application/json + # **updateDescriptionUsingPUT1** + > AppResponse updateDescriptionUsingPUT1(anyStateAppId, body) Update description of the app @@ -328,6 +351,7 @@ Update description of the app App can be in any state ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -373,18 +397,21 @@ try { ### HTTP request headers - - **Content-Type**: application/json - - **Accept**: application/json +- **Content-Type**: application/json +- **Accept**: application/json - -# **updateUsingPUT3** -> AppResponse updateUsingPUT3(body, anyStateAppId) + + +# **updateUsingPUT2** + +> AppResponse updateUsingPUT2(body, anyStateAppId) Update app App can be in any state ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -405,10 +432,10 @@ AppsApi apiInstance = new AppsApi(); UpdateAppInfo body = new UpdateAppInfo(); // UpdateAppInfo | dto Long anyStateAppId = 789L; // Long | App Id try { - AppResponse result = apiInstance.updateUsingPUT3(body, anyStateAppId); + AppResponse result = apiInstance.updateUsingPUT2(body, anyStateAppId); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AppsApi#updateUsingPUT3"); + System.err.println("Exception when calling AppsApi#updateUsingPUT2"); e.printStackTrace(); } ``` @@ -430,5 +457,5 @@ try { ### HTTP request headers - - **Content-Type**: application/json - - **Accept**: application/json +- **Content-Type**: application/json +- **Accept**: application/json diff --git a/docs/AppsResponse.md b/docs/AppsResponse.md index ec4ea15..2b9e1cd 100644 --- a/docs/AppsResponse.md +++ b/docs/AppsResponse.md @@ -1,6 +1,7 @@ # AppsResponse ## Properties + | Name | Type | Description | Notes | | ----------- | --------------------------------------------- | ----------- | ---------- | | **data** | [**AppsResponseEntry**](AppsResponseEntry.md) | | [optional] | diff --git a/docs/AppsResponseEntry.md b/docs/AppsResponseEntry.md index 12aa38a..757b9e4 100644 --- a/docs/AppsResponseEntry.md +++ b/docs/AppsResponseEntry.md @@ -1,6 +1,7 @@ # AppsResponseEntry ## Properties + | Name | Type | Description | Notes | | -------- | ----------------------------- | ----------- | ---------- | | **apps** | [**List<App>**](App.md) | | [optional] | diff --git a/docs/AwsSettingsControllerApi.md b/docs/AwsSettingsControllerApi.md index 03a53dd..a28d7de 100644 --- a/docs/AwsSettingsControllerApi.md +++ b/docs/AwsSettingsControllerApi.md @@ -7,7 +7,9 @@ All URIs are relative to */* | [**updateUsingPUT1**](AwsSettingsControllerApi.md#updateUsingPUT1) | **PUT** /users-web/api/v3/apps/{appId}/aws | Update App's AWS CloudWatch settings | + # **updateUsingPUT1** + > CloudWatchSettingsResponse updateUsingPUT1(body, appId) Update App's AWS CloudWatch settings @@ -15,6 +17,7 @@ Update App's AWS CloudWatch settings Applicable only for AWS Apps ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -60,5 +63,5 @@ try { ### HTTP request headers - - **Content-Type**: application/json - - **Accept**: application/json +- **Content-Type**: application/json +- **Accept**: application/json diff --git a/docs/BasicAuthMethodDto.md b/docs/BasicAuthMethodDto.md index 8a26215..fb31e57 100644 --- a/docs/BasicAuthMethodDto.md +++ b/docs/BasicAuthMethodDto.md @@ -1,13 +1,16 @@ # BasicAuthMethodDto ## Properties + | Name | Type | Description | Notes | | ------------ | --------------------------------- | ----------- | ---------- | | **authType** | [**AuthTypeEnum**](#AuthTypeEnum) | | [optional] | | **uuid** | **String** | | [optional] | + ## Enum: AuthTypeEnum + | Name | Value | | ---------------- | ---------------------------- | | SEMATEXT_ACCOUNT | "SEMATEXT_ACCOUNT" | diff --git a/docs/BasicOrganizationDto.md b/docs/BasicOrganizationDto.md index 04f9917..1054825 100644 --- a/docs/BasicOrganizationDto.md +++ b/docs/BasicOrganizationDto.md @@ -1,6 +1,7 @@ # BasicOrganizationDto ## Properties + | Name | Type | Description | Notes | | --------------- | ----------------------------------------------------------- | ----------- | ---------- | | **authMethods** | [**List<BasicAuthMethodDto>**](BasicAuthMethodDto.md) | | [optional] | @@ -9,7 +10,9 @@ | **uuid** | **String** | | [optional] | + ## Enum: StatusEnum + | Name | Value | | --------------- | --------------------------- | | ACTIVE | "ACTIVE" | diff --git a/docs/BillingApi.md b/docs/BillingApi.md index 7f860a8..4c0b370 100644 --- a/docs/BillingApi.md +++ b/docs/BillingApi.md @@ -2,19 +2,22 @@ All URIs are relative to */* -| Method | HTTP request | Description | -| -------------------------------------------------------------------------- | ------------------------------------------------------------------ | ---------------------- | -| [**getDetailedInvoiceUsingGET**](BillingApi.md#getDetailedInvoiceUsingGET) | **GET** /users-web/api/v3/billing/invoice/{service}/{year}/{month} | Get invoice details | -| [**listAvailablePlansUsingGET**](BillingApi.md#listAvailablePlansUsingGET) | **GET** /users-web/api/v3/billing/availablePlans | Get available plans | -| [**updatePlanUsingPUT**](BillingApi.md#updatePlanUsingPUT) | **PUT** /users-web/api/v3/billing/info/{appId} | Update plan for an app | +| Method | HTTP request | Description | +| ---------------------------------------------------------------------------- | ------------------------------------------------------------------ | ---------------------- | +| [**getDetailedInvoiceUsingGET**](BillingApi.md#getDetailedInvoiceUsingGET) | **GET** /users-web/api/v3/billing/invoice/{service}/{year}/{month} | Get invoice details | +| [**listAvailablePlansUsingGET1**](BillingApi.md#listAvailablePlansUsingGET1) | **GET** /users-web/api/v3/billing/availablePlans | Get available plans | +| [**updatePlanUsingPUT**](BillingApi.md#updatePlanUsingPUT) | **PUT** /users-web/api/v3/billing/info/{appId} | Update plan for an app | + # **getDetailedInvoiceUsingGET** + > InvoiceResponse getDetailedInvoiceUsingGET(service, year, month) Get invoice details ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -62,16 +65,19 @@ try { ### HTTP request headers - - **Content-Type**: Not defined - - **Accept**: application/json +- **Content-Type**: Not defined +- **Accept**: application/json + + + +# **listAvailablePlansUsingGET1** - -# **listAvailablePlansUsingGET** -> PlansResponse listAvailablePlansUsingGET(integrationId, appType) +> PlansResponse listAvailablePlansUsingGET1(integrationId, appType) Get available plans ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -92,10 +98,10 @@ BillingApi apiInstance = new BillingApi(); Long integrationId = 789L; // Long | integrationId String appType = "appType_example"; // String | appType try { - PlansResponse result = apiInstance.listAvailablePlansUsingGET(integrationId, appType); + PlansResponse result = apiInstance.listAvailablePlansUsingGET1(integrationId, appType); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling BillingApi#listAvailablePlansUsingGET"); + System.err.println("Exception when calling BillingApi#listAvailablePlansUsingGET1"); e.printStackTrace(); } ``` @@ -117,16 +123,19 @@ try { ### HTTP request headers - - **Content-Type**: Not defined - - **Accept**: application/json +- **Content-Type**: Not defined +- **Accept**: application/json + # **updatePlanUsingPUT** + > UpdatePlanResponse updatePlanUsingPUT(body, appId) Update plan for an app ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -172,5 +181,5 @@ try { ### HTTP request headers - - **Content-Type**: application/json - - **Accept**: application/json +- **Content-Type**: application/json +- **Accept**: application/json diff --git a/docs/BillingInfo.md b/docs/BillingInfo.md index 4923354..a015cff 100644 --- a/docs/BillingInfo.md +++ b/docs/BillingInfo.md @@ -1,8 +1,9 @@ # BillingInfo ## Properties -| Name | Type | Description | Notes | -| ----------------- | ---------- | ----------- | ---------- | -| **creditCardId** | **Long** | | [optional] | -| **paymentMethod** | **String** | | [optional] | -| **planId** | **Long** | | [optional] | + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**creditCardId** | **Long** | | [optional] +**paymentMethod** | **String** | | [optional] +**planId** | **Long** | | [optional] diff --git a/docs/ChargesDetailsResponseDto.md b/docs/ChargesDetailsResponseDto.md index f9d688f..ea0a3ec 100644 --- a/docs/ChargesDetailsResponseDto.md +++ b/docs/ChargesDetailsResponseDto.md @@ -1,21 +1,24 @@ # ChargesDetailsResponseDto ## Properties -| Name | Type | Description | Notes | -| -------------------- | ----------------------------------------------------------- | ----------- | ---------- | -| **app** | [**App**](App.md) | | [optional] | -| **chargeBase** | [**ChargeBaseEnum**](#ChargeBaseEnum) | | [optional] | -| **dayUsageData** | [**List<DayUsageData>**](DayUsageData.md) | | [optional] | -| **monthlyFeeAmount** | [**BigDecimal**](BigDecimal.md) | | [optional] | -| **periodFeePeriods** | [**List<MinPeriodFeePeriod>**](MinPeriodFeePeriod.md) | | [optional] | -| **totalAmount** | [**BigDecimal**](BigDecimal.md) | | [optional] | -| **usageAmount** | [**BigDecimal**](BigDecimal.md) | | [optional] | + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**app** | [**App**](App.md) | | [optional] +**chargeBase** | [**ChargeBaseEnum**](#ChargeBaseEnum) | | [optional] +**dayUsageData** | [**List<DayUsageData>**](DayUsageData.md) | | [optional] +**monthlyFeeAmount** | [**BigDecimal**](BigDecimal.md) | | [optional] +**periodFeePeriods** | [**List<MinPeriodFeePeriod>**](MinPeriodFeePeriod.md) | | [optional] +**totalAmount** | [**BigDecimal**](BigDecimal.md) | | [optional] +**usageAmount** | [**BigDecimal**](BigDecimal.md) | | [optional] + ## Enum: ChargeBaseEnum -| Name | Value | -| ----------------- | ----------------------------- | -| SUMMARIZED_USAGE | "SUMMARIZED_USAGE" | -| MIN_MONTHLY_FEE | "MIN_MONTHLY_FEE" | -| SUM_OF_DAILY_FEES | "SUM_OF_DAILY_FEES" | -| TOTAL_MONTHLY_FEE | "TOTAL_MONTHLY_FEE" | + +Name | Value +---- | ----- +SUMMARIZED_USAGE | "SUMMARIZED_USAGE" +MIN_MONTHLY_FEE | "MIN_MONTHLY_FEE" +SUM_OF_DAILY_FEES | "SUM_OF_DAILY_FEES" +TOTAL_MONTHLY_FEE | "TOTAL_MONTHLY_FEE" diff --git a/docs/CloudWatchSettings.md b/docs/CloudWatchSettings.md index 8934038..11c1ff8 100644 --- a/docs/CloudWatchSettings.md +++ b/docs/CloudWatchSettings.md @@ -1,6 +1,7 @@ # CloudWatchSettings ## Properties + | Name | Type | Description | Notes | | ------------------ | --------------------------------------------- | ----------- | ---------- | | **accessKey** | **String** | | [optional] | @@ -9,7 +10,9 @@ | **secretKey** | **String** | | [optional] | + ## Enum: FetchFrequencyEnum + | Name | Value | | --------------- | --------------------------- | | MINUTE | "MINUTE" | @@ -17,7 +20,9 @@ | FIFTEEN_MINUTES | "FIFTEEN_MINUTES" | + ## Enum: RegionEnum + | Name | Value | | -------------- | -------------------------- | | US_EAST_1 | "US_EAST_1" | diff --git a/docs/CloudWatchSettingsResponse.md b/docs/CloudWatchSettingsResponse.md index 3a11928..57c6140 100644 --- a/docs/CloudWatchSettingsResponse.md +++ b/docs/CloudWatchSettingsResponse.md @@ -1,6 +1,7 @@ # CloudWatchSettingsResponse ## Properties + | Name | Type | Description | Notes | | ----------- | ------------------------------------------------------------------------- | ----------- | ---------- | | **data** | [**CloudWatchSettingsResponseEntry**](CloudWatchSettingsResponseEntry.md) | | [optional] | diff --git a/docs/CloudWatchSettingsResponseEntry.md b/docs/CloudWatchSettingsResponseEntry.md index e51de3e..c7c3e35 100644 --- a/docs/CloudWatchSettingsResponseEntry.md +++ b/docs/CloudWatchSettingsResponseEntry.md @@ -1,6 +1,7 @@ # CloudWatchSettingsResponseEntry ## Properties + | Name | Type | Description | Notes | | ------- | ----------------------------------------------- | ----------- | ---------- | | **aws** | [**CloudWatchSettings**](CloudWatchSettings.md) | | [optional] | diff --git a/docs/CreateAppInfo.md b/docs/CreateAppInfo.md index 7127dff..82c81d9 100644 --- a/docs/CreateAppInfo.md +++ b/docs/CreateAppInfo.md @@ -1,6 +1,7 @@ # CreateAppInfo ## Properties + | Name | Type | Description | Notes | | ----------------- | --------------------------------- | ----------- | ---------- | | **appType** | **String** | | [optional] | diff --git a/docs/CreateTokenDto.md b/docs/CreateTokenDto.md index 1374a8a..595c4fa 100644 --- a/docs/CreateTokenDto.md +++ b/docs/CreateTokenDto.md @@ -1,6 +1,7 @@ # CreateTokenDto ## Properties + | Name | Type | Description | Notes | | ------------- | ----------- | ----------- | ---------- | | **name** | **String** | | [optional] | diff --git a/docs/DailyDto.md b/docs/DailyDto.md index 1d01fd0..1a1f298 100644 --- a/docs/DailyDto.md +++ b/docs/DailyDto.md @@ -1,9 +1,12 @@ # DailyDto ## Properties -| Name | Type | Description | Notes | -| ----------- | -------- | ----------- | ---------- | -| **day** | **Long** | | [optional] | -| **failed** | **Long** | | [optional] | -| **indexed** | **Long** | | [optional] | -| **volume** | **Long** | | [optional] | + +| Name | Type | Description | Notes | +| ------------------ | -------- | ----------- | ---------- | +| **day** | **Long** | | [optional] | +| **failed** | **Long** | | [optional] | +| **ingestedCount** | **Long** | | [optional] | +| **ingestedVolume** | **Long** | | [optional] | +| **storedCount** | **Long** | | [optional] | +| **storedVolume** | **Long** | | [optional] | diff --git a/docs/DayUsageData.md b/docs/DayUsageData.md index bec44aa..7dcdc6a 100644 --- a/docs/DayUsageData.md +++ b/docs/DayUsageData.md @@ -1,6 +1,7 @@ # DayUsageData ## Properties + | Name | Type | Description | Notes | | ------------------------------ | --------------------------------- | ----------- | ---------- | | **countDailyDataPoints** | **Integer** | | [optional] | @@ -25,7 +26,9 @@ | **userDiscount** | [**BigDecimal**](BigDecimal.md) | | [optional] | + ## Enum: PlanTypeEnum + | Name | Value | | ----------- | ----------------------- | | INFRA | "INFRA" | diff --git a/docs/Dimension.md b/docs/Dimension.md index 69be721..de0fa04 100644 --- a/docs/Dimension.md +++ b/docs/Dimension.md @@ -1,6 +1,7 @@ # Dimension ## Properties + | Name | Type | Description | Notes | | ---------- | ---------------------- | ----------- | ----- | | **name** | **String** | | diff --git a/docs/Error.md b/docs/Error.md index 795775b..f10d702 100644 --- a/docs/Error.md +++ b/docs/Error.md @@ -1,6 +1,7 @@ # Error ## Properties + | Name | Type | Description | Notes | | ----------- | ---------- | ----------- | ---------- | | **code** | **String** | | [optional] | diff --git a/docs/EventDto.md b/docs/EventDto.md index 5daa5a0..e2078a4 100644 --- a/docs/EventDto.md +++ b/docs/EventDto.md @@ -1,6 +1,7 @@ # EventDto ## Properties + | Name | Type | Description | Notes | | -------- | ------------------------- | ----------- | ---------- | | **from** | **Object** | | [optional] | @@ -8,7 +9,9 @@ | **type** | [**TypeEnum**](#TypeEnum) | | [optional] | + ## Enum: TypeEnum + | Name | Value | | ----------------------------- | ----------------------------------------- | | CREATED | "CREATED" | @@ -22,3 +25,4 @@ | MAX_LIMIT_CHANGE | "MAX_LIMIT_CHANGE" | | SAMPLING_CHANGE | "SAMPLING_CHANGE" | | OWNERSHIP_CHANGE | "OWNERSHIP_CHANGE" | +| PIPELINE_CHANGE | "PIPELINE_CHANGE" | diff --git a/docs/FilterValue.md b/docs/FilterValue.md index a5966bd..c5d869b 100644 --- a/docs/FilterValue.md +++ b/docs/FilterValue.md @@ -1,6 +1,7 @@ # FilterValue ## Properties + | Name | Type | Description | Notes | | -------------- | ---------------------- | ----------- | ---------- | | **aggType** | **String** | | [optional] | diff --git a/docs/GenericApiResponse.md b/docs/GenericApiResponse.md index 5cbfc8c..6f570c7 100644 --- a/docs/GenericApiResponse.md +++ b/docs/GenericApiResponse.md @@ -1,6 +1,7 @@ # GenericApiResponse ## Properties + | Name | Type | Description | Notes | | ----------- | --------------------------------- | ----------- | ---------- | | **data** | **Object** | | [optional] | diff --git a/docs/GenericMapBasedApiResponse.md b/docs/GenericMapBasedApiResponse.md index 0536f3c..3a0d53f 100644 --- a/docs/GenericMapBasedApiResponse.md +++ b/docs/GenericMapBasedApiResponse.md @@ -1,6 +1,7 @@ # GenericMapBasedApiResponse ## Properties + | Name | Type | Description | Notes | | ----------- | --------------------------------- | ----------- | ---------- | | **data** | **Object** | | [optional] | diff --git a/docs/Invitation.md b/docs/Invitation.md index 073409f..52b9737 100644 --- a/docs/Invitation.md +++ b/docs/Invitation.md @@ -1,6 +1,7 @@ # Invitation ## Properties + | Name | Type | Description | Notes | | ----------------- | ------------------------------------------- | ------------------------------------------------- | ---------- | | **app** | [**App**](App.md) | | [optional] | @@ -15,7 +16,9 @@ | **uuid** | **String** | | [optional] | + ## Enum: InviteStatusEnum + | Name | Value | | --------- | --------------------- | | PENDING | "PENDING" | @@ -24,7 +27,9 @@ | DECLINED | "DECLINED" | + ## Enum: InviteeRoleEnum + | Name | Value | | ---------- | ---------------------- | | SUPER_USER | "SUPER_USER" | @@ -35,7 +40,9 @@ | ANONYMOUS | "ANONYMOUS" | + ## Enum: InviteeStatusEnum + | Name | Value | | -------- | -------------------- | | INACTIVE | "INACTIVE" | diff --git a/docs/Invoice.md b/docs/Invoice.md index e25a359..4de2ea5 100644 --- a/docs/Invoice.md +++ b/docs/Invoice.md @@ -1,6 +1,7 @@ # Invoice ## Properties + | Name | Type | Description | Notes | | --------------- | ------------------------------------------------------------------------- | ----------- | ---------- | | **allCharges** | [**List<ChargesDetailsResponseDto>**](ChargesDetailsResponseDto.md) | | [optional] | diff --git a/docs/InvoiceResponse.md b/docs/InvoiceResponse.md index f87c849..7466f6d 100644 --- a/docs/InvoiceResponse.md +++ b/docs/InvoiceResponse.md @@ -1,6 +1,7 @@ # InvoiceResponse ## Properties + | Name | Type | Description | Notes | | ----------- | --------------------------------------------------- | ----------- | ---------- | | **data** | [**InvoiceResponseEntry**](InvoiceResponseEntry.md) | | [optional] | diff --git a/docs/InvoiceResponseEntry.md b/docs/InvoiceResponseEntry.md index 1f80eb1..743fe0d 100644 --- a/docs/InvoiceResponseEntry.md +++ b/docs/InvoiceResponseEntry.md @@ -1,6 +1,7 @@ # InvoiceResponseEntry ## Properties + | Name | Type | Description | Notes | | ----------- | ------------------------- | ----------- | ---------- | | **invoice** | [**Invoice**](Invoice.md) | | [optional] | diff --git a/docs/LimitChangeEventDTO.md b/docs/LimitChangeEventDTO.md index ed18ef2..64ace4f 100644 --- a/docs/LimitChangeEventDTO.md +++ b/docs/LimitChangeEventDTO.md @@ -1,6 +1,7 @@ # LimitChangeEventDTO ## Properties + | Name | Type | Description | Notes | | ------------- | --------------------------------------- | ----------- | ---------- | | **eventTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional] | diff --git a/docs/LogsAppApi.md b/docs/LogsAppApi.md index 8106946..6947d50 100644 --- a/docs/LogsAppApi.md +++ b/docs/LogsAppApi.md @@ -7,12 +7,15 @@ All URIs are relative to */* | [**createLogseneApplication**](LogsAppApi.md#createLogseneApplication) | **POST** /logsene-reports/api/v3/apps | Create Logs App | + # **createLogseneApplication** + > AppsResponse createLogseneApplication(body) Create Logs App ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -56,5 +59,5 @@ try { ### HTTP request headers - - **Content-Type**: application/json - - **Accept**: application/json +- **Content-Type**: application/json +- **Accept**: application/json diff --git a/docs/LogsUsageApiControllerApi.md b/docs/LogsUsageApiControllerApi.md index bdb1056..ae8fd19 100644 --- a/docs/LogsUsageApiControllerApi.md +++ b/docs/LogsUsageApiControllerApi.md @@ -7,12 +7,15 @@ All URIs are relative to */* | [**getForRangeUsingGET**](LogsUsageApiControllerApi.md#getForRangeUsingGET) | **GET** /logsene-reports/api/v3/apps/{appId}/usage/{from}/{to} | getForRange | + # **getForRangeUsingGET** + > UsageResponse getForRangeUsingGET(appId, from, to) getForRange ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -60,5 +63,5 @@ try { ### HTTP request headers - - **Content-Type**: Not defined - - **Accept**: application/json +- **Content-Type**: Not defined +- **Accept**: application/json diff --git a/docs/MailReportResponse.md b/docs/MailReportResponse.md index 5027ff7..425aaf6 100644 --- a/docs/MailReportResponse.md +++ b/docs/MailReportResponse.md @@ -1,6 +1,7 @@ # MailReportResponse ## Properties + | Name | Type | Description | Notes | | ----------- | ------------------------------------------------------------------------- | ----------- | ---------- | | **data** | [**MailReportResponseResponseEntry**](MailReportResponseResponseEntry.md) | | [optional] | diff --git a/docs/MailReportResponseResponseEntry.md b/docs/MailReportResponseResponseEntry.md index 111d450..4ce228d 100644 --- a/docs/MailReportResponseResponseEntry.md +++ b/docs/MailReportResponseResponseEntry.md @@ -1,6 +1,7 @@ # MailReportResponseResponseEntry ## Properties + | Name | Type | Description | Notes | | ---------------- | ------------------------------- | ----------- | ---------- | | **subscription** | [**ReportInfo**](ReportInfo.md) | | [optional] | diff --git a/docs/MinPeriodFeePeriod.md b/docs/MinPeriodFeePeriod.md index a2963f2..178c9eb 100644 --- a/docs/MinPeriodFeePeriod.md +++ b/docs/MinPeriodFeePeriod.md @@ -1,16 +1,19 @@ # MinPeriodFeePeriod ## Properties -| Name | Type | Description | Notes | -| ---------------------- | --------------------------------------- | ----------- | ---------- | -| **browserMonitors** | **Integer** | | [optional] | -| **discount** | [**BigDecimal**](BigDecimal.md) | | [optional] | -| **fromDate** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional] | -| **httpMonitors** | **Integer** | | [optional] | -| **id** | **Long** | | [optional] | -| **minPeriodFeeAmount** | [**BigDecimal**](BigDecimal.md) | | [optional] | -| **overagePercentage** | [**BigDecimal**](BigDecimal.md) | | [optional] | -| **planDataLimit** | **Long** | | [optional] | -| **toDate** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional] | -| **usedPlan** | **String** | | [optional] | -| **usedPlanPeriodFee** | [**BigDecimal**](BigDecimal.md) | | [optional] | + +| Name | Type | Description | Notes | +| ---------------------------- | --------------------------------------- | ----------- | ---------- | +| **browserMonitors** | **Integer** | | [optional] | +| **discount** | [**BigDecimal**](BigDecimal.md) | | [optional] | +| **fromDate** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional] | +| **httpMonitors** | **Integer** | | [optional] | +| **id** | **Long** | | [optional] | +| **ingestionPeriodFeeAmount** | [**BigDecimal**](BigDecimal.md) | | [optional] | +| **minPeriodFeeAmount** | [**BigDecimal**](BigDecimal.md) | | [optional] | +| **overagePercentage** | [**BigDecimal**](BigDecimal.md) | | [optional] | +| **planDataLimit** | **Long** | | [optional] | +| **storagePeriodFeeAmount** | [**BigDecimal**](BigDecimal.md) | | [optional] | +| **toDate** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional] | +| **usedPlan** | **String** | | [optional] | +| **usedPlanPeriodFee** | [**BigDecimal**](BigDecimal.md) | | [optional] | diff --git a/docs/MonitoringAppApi.md b/docs/MonitoringAppApi.md index 4335b96..a498efe 100644 --- a/docs/MonitoringAppApi.md +++ b/docs/MonitoringAppApi.md @@ -2,17 +2,20 @@ All URIs are relative to */* -| Method | HTTP request | Description | -| ---------------------------------------------------------------------- | --------------------------------- | --------------------- | -| [**createSpmApplication1**](MonitoringAppApi.md#createSpmApplication1) | **POST** /spm-reports/api/v3/apps | Create Monitoring App | +| Method | HTTP request | Description | +| -------------------------------------------------------------------- | --------------------------------- | --------------------- | +| [**createSpmApplication**](MonitoringAppApi.md#createSpmApplication) | **POST** /spm-reports/api/v3/apps | Create Monitoring App | - -# **createSpmApplication1** -> AppsResponse createSpmApplication1(body) + + +# **createSpmApplication** + +> AppsResponse createSpmApplication(body) Create Monitoring App ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -32,10 +35,10 @@ api_key.setApiKey("YOUR API KEY"); MonitoringAppApi apiInstance = new MonitoringAppApi(); CreateAppInfo body = new CreateAppInfo(); // CreateAppInfo | Details of the application to be created try { - AppsResponse result = apiInstance.createSpmApplication1(body); + AppsResponse result = apiInstance.createSpmApplication(body); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling MonitoringAppApi#createSpmApplication1"); + System.err.println("Exception when calling MonitoringAppApi#createSpmApplication"); e.printStackTrace(); } ``` @@ -56,5 +59,5 @@ try { ### HTTP request headers - - **Content-Type**: application/json - - **Accept**: application/json +- **Content-Type**: application/json +- **Accept**: application/json diff --git a/docs/NotificationIntegration.md b/docs/NotificationIntegration.md index 9993a94..9dd6151 100644 --- a/docs/NotificationIntegration.md +++ b/docs/NotificationIntegration.md @@ -1,6 +1,7 @@ # NotificationIntegration ## Properties + | Name | Type | Description | Notes | | ------------------- | ----------------------------------------------- | ----------- | ---------- | | **applicability** | [**ApplicabilityEnum**](#ApplicabilityEnum) | | [optional] | @@ -15,14 +16,18 @@ | **userId** | **Long** | | [optional] | + ## Enum: ApplicabilityEnum + | Name | Value | | ---------- | ---------------------- | | NONE | "NONE" | | USE_ALWAYS | "USE_ALWAYS" | + ## Enum: IntegrationTypeEnum + | Name | Value | | -------------------- | -------------------------------- | | PAGER_DUTY | "PAGER_DUTY" | @@ -34,7 +39,9 @@ | TEMPORARY_EMAIL_LIST | "TEMPORARY_EMAIL_LIST" | + ## Enum: StateEnum + | Name | Value | | -------- | -------------------- | | ACTIVE | "ACTIVE" | diff --git a/docs/NotificationsResponse.md b/docs/NotificationsResponse.md index 8606812..1e266a9 100644 --- a/docs/NotificationsResponse.md +++ b/docs/NotificationsResponse.md @@ -1,6 +1,7 @@ # NotificationsResponse ## Properties + | Name | Type | Description | Notes | | ----------- | --------------------------------------------------------------- | ----------- | ---------- | | **data** | [**NotificationsResponseEntry**](NotificationsResponseEntry.md) | | [optional] | diff --git a/docs/NotificationsResponseEntry.md b/docs/NotificationsResponseEntry.md index 95d749b..80bae34 100644 --- a/docs/NotificationsResponseEntry.md +++ b/docs/NotificationsResponseEntry.md @@ -1,6 +1,7 @@ # NotificationsResponseEntry ## Properties + | Name | Type | Description | Notes | | ----------------- | --------------------------------------------------------- | ----------- | ---------- | | **end** | **String** | | [optional] | diff --git a/docs/Plan.md b/docs/Plan.md index 227d56d..0091bcd 100644 --- a/docs/Plan.md +++ b/docs/Plan.md @@ -1,6 +1,7 @@ # Plan ## Properties + | Name | Type | Description | Notes | | ---------------------- | ----------------------------------------------- | ----------- | ---------- | | **appType** | **String** | | [optional] | @@ -18,7 +19,9 @@ | **trialPlan** | **Boolean** | | [optional] | + ## Enum: PlanSchemeEnum + | Name | Value | | -------------- | -------------------------- | | SPM_1_0 | "SPM_1_0" | @@ -31,9 +34,12 @@ | RUM_EA | "RUM_EA" | | SYNTHETICS_EA | "SYNTHETICS_EA" | | SYNTHETICS_1_0 | "SYNTHETICS_1_0" | +| BUGZ_EA | "BUGZ_EA" | + ## Enum: SematextServiceEnum + | Name | Value | | ---------- | ---------------------- | | LOGSENE | "LOGSENE" | diff --git a/docs/PlansResponse.md b/docs/PlansResponse.md index a1001f0..1795959 100644 --- a/docs/PlansResponse.md +++ b/docs/PlansResponse.md @@ -1,6 +1,7 @@ # PlansResponse ## Properties + | Name | Type | Description | Notes | | ----------- | ----------------------------------------------- | ----------- | ---------- | | **data** | [**PlansResponseEntry**](PlansResponseEntry.md) | | [optional] | diff --git a/docs/PlansResponseEntry.md b/docs/PlansResponseEntry.md index 1872780..1b978d8 100644 --- a/docs/PlansResponseEntry.md +++ b/docs/PlansResponseEntry.md @@ -1,6 +1,7 @@ # PlansResponseEntry ## Properties + | Name | Type | Description | Notes | | ------------------ | ------------------------------- | ----------- | ---------- | | **availablePlans** | [**List<Plan>**](Plan.md) | | [optional] | diff --git a/docs/ReportInfo.md b/docs/ReportInfo.md index 997d81d..02740bd 100644 --- a/docs/ReportInfo.md +++ b/docs/ReportInfo.md @@ -1,13 +1,15 @@ # ReportInfo ## Properties -| Name | Type | Description | Notes | -| -------------- | --------------------------------------- | --------------------------------------- | ---------- | -| **addresses** | **String** | Comma separated list of email addresses | [optional] | -| **appId** | **Long** | | [optional] | -| **endDate** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional] | -| **filters** | **String** | | [optional] | -| **reportName** | **String** | | [optional] | -| **startDate** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional] | -| **subject** | **String** | | [optional] | -| **text** | **String** | | [optional] | + +| Name | Type | Description | Notes | +| -------------------- | --------------------------------------- | --------------------------------------- | ---------- | +| **additionalParams** | **String** | | [optional] | +| **addresses** | **String** | Comma separated list of email addresses | [optional] | +| **appId** | **Long** | | [optional] | +| **endDate** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional] | +| **filters** | **String** | | [optional] | +| **reportName** | **String** | | [optional] | +| **startDate** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional] | +| **subject** | **String** | | [optional] | +| **text** | **String** | | [optional] | diff --git a/docs/ResetPasswordApi.md b/docs/ResetPasswordApi.md index 83a29ed..a332488 100644 --- a/docs/ResetPasswordApi.md +++ b/docs/ResetPasswordApi.md @@ -7,12 +7,15 @@ All URIs are relative to */* | [**resetPasswordUsingPOST**](ResetPasswordApi.md#resetPasswordUsingPOST) | **POST** /users-web/api/v3/account/password/reset | Reset Password | + # **resetPasswordUsingPOST** + > GenericMapBasedApiResponse resetPasswordUsingPOST(body) Reset Password ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -56,5 +59,5 @@ try { ### HTTP request headers - - **Content-Type**: application/json - - **Accept**: application/json +- **Content-Type**: application/json +- **Accept**: application/json diff --git a/docs/ServiceIntegration.md b/docs/ServiceIntegration.md index 6383f54..802a334 100644 --- a/docs/ServiceIntegration.md +++ b/docs/ServiceIntegration.md @@ -1,6 +1,7 @@ # ServiceIntegration ## Properties + | Name | Type | Description | Notes | | ----------------------- | ----------- | ----------- | ---------- | | **appTypeId** | **Long** | | [optional] | diff --git a/docs/Subscription.md b/docs/Subscription.md index d42846d..4289d0b 100644 --- a/docs/Subscription.md +++ b/docs/Subscription.md @@ -1,26 +1,30 @@ # Subscription ## Properties -| Name | Type | Description | Notes | -| ------------------- | ----------------------------------------- | ----------- | ---------- | -| **addresses** | **String** | | [optional] | -| **createdBy** | **String** | | [optional] | -| **dashboardId** | **Long** | | [optional] | -| **dashboardName** | **String** | | [optional] | -| **enabled** | **Boolean** | | [optional] | -| **filters** | **String** | | [optional] | -| **frequency** | [**FrequencyEnum**](#FrequencyEnum) | | [optional] | -| **id** | **Long** | | [optional] | -| **nextSendDate** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional] | -| **subject** | **String** | | [optional] | -| **systemId** | **Long** | | [optional] | -| **systemName** | **String** | | [optional] | -| **text** | **String** | | [optional] | -| **timeRange** | [**TimeRangeEnum**](#TimeRangeEnum) | | [optional] | -| **userPermissions** | [**UserPermissions**](UserPermissions.md) | | [optional] | + +| Name | Type | Description | Notes | +| -------------------- | ----------------------------------------- | ----------- | ---------- | +| **additionalParams** | **String** | | [optional] | +| **addresses** | **String** | | [optional] | +| **createdBy** | **String** | | [optional] | +| **dashboardId** | **Long** | | [optional] | +| **dashboardName** | **String** | | [optional] | +| **enabled** | **Boolean** | | [optional] | +| **filters** | **String** | | [optional] | +| **frequency** | [**FrequencyEnum**](#FrequencyEnum) | | [optional] | +| **id** | **Long** | | [optional] | +| **nextSendDate** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional] | +| **subject** | **String** | | [optional] | +| **systemId** | **Long** | | [optional] | +| **systemName** | **String** | | [optional] | +| **text** | **String** | | [optional] | +| **timeRange** | [**TimeRangeEnum**](#TimeRangeEnum) | | [optional] | +| **userPermissions** | [**UserPermissions**](UserPermissions.md) | | [optional] | + ## Enum: FrequencyEnum + | Name | Value | | ------------------ | ------------------------------ | | EVERY_FIVE_MINUTES | "EVERY_FIVE_MINUTES" | @@ -30,7 +34,9 @@ | QUARTERLY | "QUARTERLY" | + ## Enum: TimeRangeEnum + | Name | Value | | --------- | --------------------- | | ONE_DAY | "ONE_DAY" | diff --git a/docs/SubscriptionDashboardDto.md b/docs/SubscriptionDashboardDto.md index 2686cd9..dfb273d 100644 --- a/docs/SubscriptionDashboardDto.md +++ b/docs/SubscriptionDashboardDto.md @@ -1,6 +1,7 @@ # SubscriptionDashboardDto ## Properties + | Name | Type | Description | Notes | | --------------- | --------------------------------------- | ----------- | ---------- | | **addresses** | **String** | | [optional] | @@ -16,7 +17,9 @@ | **timeRange** | [**TimeRangeEnum**](#TimeRangeEnum) | | [optional] | + ## Enum: FrequencyEnum + | Name | Value | | ------------------ | ------------------------------ | | EVERY_FIVE_MINUTES | "EVERY_FIVE_MINUTES" | @@ -26,7 +29,9 @@ | QUARTERLY | "QUARTERLY" | + ## Enum: TimeRangeEnum + | Name | Value | | --------- | --------------------- | | ONE_DAY | "ONE_DAY" | diff --git a/docs/SubscriptionDto.md b/docs/SubscriptionDto.md index cfc81d1..96f569c 100644 --- a/docs/SubscriptionDto.md +++ b/docs/SubscriptionDto.md @@ -1,23 +1,27 @@ # SubscriptionDto ## Properties -| Name | Type | Description | Notes | -| ------------------- | ----------------------------------------- | ----------- | ---------- | -| **addresses** | **String** | | [optional] | -| **enable** | **Boolean** | | [optional] | -| **filters** | **String** | | [optional] | -| **frequency** | [**FrequencyEnum**](#FrequencyEnum) | | [optional] | -| **id** | **Long** | | [optional] | -| **reportName** | **String** | | [optional] | -| **sendTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional] | -| **subject** | **String** | | [optional] | -| **systemId** | **Long** | | [optional] | -| **text** | **String** | | [optional] | -| **timeRange** | [**TimeRangeEnum**](#TimeRangeEnum) | | [optional] | -| **userPermissions** | [**UserPermissions**](UserPermissions.md) | | [optional] | + +| Name | Type | Description | Notes | +| -------------------- | ----------------------------------------- | ----------- | ---------- | +| **additionalParams** | **String** | | [optional] | +| **addresses** | **String** | | [optional] | +| **enable** | **Boolean** | | [optional] | +| **filters** | **String** | | [optional] | +| **frequency** | [**FrequencyEnum**](#FrequencyEnum) | | [optional] | +| **id** | **Long** | | [optional] | +| **reportName** | **String** | | [optional] | +| **sendTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional] | +| **subject** | **String** | | [optional] | +| **systemId** | **Long** | | [optional] | +| **text** | **String** | | [optional] | +| **timeRange** | [**TimeRangeEnum**](#TimeRangeEnum) | | [optional] | +| **userPermissions** | [**UserPermissions**](UserPermissions.md) | | [optional] | + ## Enum: FrequencyEnum + | Name | Value | | ------------------ | ------------------------------ | | EVERY_FIVE_MINUTES | "EVERY_FIVE_MINUTES" | @@ -27,7 +31,9 @@ | QUARTERLY | "QUARTERLY" | + ## Enum: TimeRangeEnum + | Name | Value | | --------- | --------------------- | | ONE_DAY | "ONE_DAY" | diff --git a/docs/SubscriptionResponse.md b/docs/SubscriptionResponse.md index 178476d..68a77d2 100644 --- a/docs/SubscriptionResponse.md +++ b/docs/SubscriptionResponse.md @@ -1,6 +1,7 @@ # SubscriptionResponse ## Properties + | Name | Type | Description | Notes | | ----------- | ------------------------------------------------------------- | ----------- | ---------- | | **data** | [**SubscriptionResponseEntry**](SubscriptionResponseEntry.md) | | [optional] | diff --git a/docs/SubscriptionResponseEntry.md b/docs/SubscriptionResponseEntry.md index a5f6c68..29bd5b7 100644 --- a/docs/SubscriptionResponseEntry.md +++ b/docs/SubscriptionResponseEntry.md @@ -1,6 +1,7 @@ # SubscriptionResponseEntry ## Properties + | Name | Type | Description | Notes | | ---------------- | ----------------------------------- | ----------- | ---------- | | **subscription** | [**Subscription**](Subscription.md) | | [optional] | diff --git a/docs/SubscriptionsApi.md b/docs/SubscriptionsApi.md index 730a0b6..f7b92ac 100644 --- a/docs/SubscriptionsApi.md +++ b/docs/SubscriptionsApi.md @@ -2,26 +2,29 @@ All URIs are relative to */* -| Method | HTTP request | Description | -| -------------------------------------------------------------------------- | --------------------------------------------------------------------- | ---------------------------------------- | -| [**createForAppUsingPOST1**](SubscriptionsApi.md#createForAppUsingPOST1) | **POST** /users-web/api/v3/apps/{appId}/subscription | Create App subscription | -| [**createForDashUsingPOST**](SubscriptionsApi.md#createForDashUsingPOST) | **POST** /users-web/api/v3/dashboards/{dashId}/subscription | Create dashboard subscription | -| [**deleteUsingDELETE2**](SubscriptionsApi.md#deleteUsingDELETE2) | **DELETE** /users-web/api/v3/subscriptions/{updateableSubscriptionId} | Delete subscription | -| [**listUsingGET2**](SubscriptionsApi.md#listUsingGET2) | **GET** /users-web/api/v3/apps/{appId}/subscriptions | Get subscriptions for an App | -| [**listUsingGET5**](SubscriptionsApi.md#listUsingGET5) | **GET** /users-web/api/v3/subscriptions | Get current account's subscriptions | -| [**sendAppReportUsingPOST1**](SubscriptionsApi.md#sendAppReportUsingPOST1) | **POST** /users-web/api/v3/apps/{appId}/report/send | Email an App report | -| [**sendDashReportUsingPOST**](SubscriptionsApi.md#sendDashReportUsingPOST) | **POST** /users-web/api/v3/dashboards/{dashId}/report/send | Email a dashboard report | -| [**toggleEnabledUsingPUT1**](SubscriptionsApi.md#toggleEnabledUsingPUT1) | **PUT** /users-web/api/v3/subscriptions/{updateableSubscriptionId} | Toggle subscription status | -| [**updateForAppUsingPUT**](SubscriptionsApi.md#updateForAppUsingPUT) | **PUT** /users-web/api/v3/apps/{appId}/subscription | Update App subscription | -| [**updateForDashUsingPUT1**](SubscriptionsApi.md#updateForDashUsingPUT1) | **PUT** /users-web/api/v3/dashboards/{dashId}/subscription | Update dashboard subscription | - - -# **createForAppUsingPOST1** -> SubscriptionResponse createForAppUsingPOST1(body, appId) +Method | HTTP request | Description +------------- | ------------- | ------------- +[**createForAppUsingPOST**](SubscriptionsApi.md#createForAppUsingPOST) | **POST** /users-web/api/v3/apps/{appId}/subscription | Create App subscription +[**createForDashUsingPOST1**](SubscriptionsApi.md#createForDashUsingPOST1) | **POST** /users-web/api/v3/dashboards/{dashId}/subscription | Create dashboard subscription +[**deleteUsingDELETE2**](SubscriptionsApi.md#deleteUsingDELETE2) | **DELETE** /users-web/api/v3/subscriptions/{updateableSubscriptionId} | Delete subscription +[**listUsingGET3**](SubscriptionsApi.md#listUsingGET3) | **GET** /users-web/api/v3/apps/{appId}/subscriptions | Get subscriptions for an App +[**listUsingGET5**](SubscriptionsApi.md#listUsingGET5) | **GET** /users-web/api/v3/subscriptions | Get current account's subscriptions +[**sendAppReportUsingPOST**](SubscriptionsApi.md#sendAppReportUsingPOST) | **POST** /users-web/api/v3/apps/{appId}/report/send | Email an App report +[**sendDashReportUsingPOST**](SubscriptionsApi.md#sendDashReportUsingPOST) | **POST** /users-web/api/v3/dashboards/{dashId}/report/send | Email a dashboard report +[**toggleEnabledUsingPUT1**](SubscriptionsApi.md#toggleEnabledUsingPUT1) | **PUT** /users-web/api/v3/subscriptions/{updateableSubscriptionId} | Toggle subscription status +[**updateForAppUsingPUT**](SubscriptionsApi.md#updateForAppUsingPUT) | **PUT** /users-web/api/v3/apps/{appId}/subscription | Update App subscription +[**updateForDashUsingPUT1**](SubscriptionsApi.md#updateForDashUsingPUT1) | **PUT** /users-web/api/v3/dashboards/{dashId}/subscription | Update dashboard subscription + + + +# **createForAppUsingPOST** + +> SubscriptionResponse createForAppUsingPOST(body, appId) Create App subscription ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -42,20 +45,20 @@ SubscriptionsApi apiInstance = new SubscriptionsApi(); SubscriptionDto body = new SubscriptionDto(); // SubscriptionDto | subscription Long appId = 789L; // Long | appId try { - SubscriptionResponse result = apiInstance.createForAppUsingPOST1(body, appId); + SubscriptionResponse result = apiInstance.createForAppUsingPOST(body, appId); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling SubscriptionsApi#createForAppUsingPOST1"); + System.err.println("Exception when calling SubscriptionsApi#createForAppUsingPOST"); e.printStackTrace(); } ``` ### Parameters -| Name | Type | Description | Notes | -| --------- | ----------------------------------------- | ------------ | ----- | -| **body** | [**SubscriptionDto**](SubscriptionDto.md) | subscription | -| **appId** | **Long** | appId | +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**SubscriptionDto**](SubscriptionDto.md)| subscription | + **appId** | **Long**| appId | ### Return type @@ -67,16 +70,19 @@ try { ### HTTP request headers - - **Content-Type**: application/json - - **Accept**: application/json +- **Content-Type**: application/json +- **Accept**: application/json - -# **createForDashUsingPOST** -> SubscriptionResponse createForDashUsingPOST(body, dashId) + + +# **createForDashUsingPOST1** + +> SubscriptionResponse createForDashUsingPOST1(body, dashId) Create dashboard subscription ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -97,20 +103,20 @@ SubscriptionsApi apiInstance = new SubscriptionsApi(); SubscriptionDashboardDto body = new SubscriptionDashboardDto(); // SubscriptionDashboardDto | subscription Long dashId = 789L; // Long | dashId try { - SubscriptionResponse result = apiInstance.createForDashUsingPOST(body, dashId); + SubscriptionResponse result = apiInstance.createForDashUsingPOST1(body, dashId); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling SubscriptionsApi#createForDashUsingPOST"); + System.err.println("Exception when calling SubscriptionsApi#createForDashUsingPOST1"); e.printStackTrace(); } ``` ### Parameters -| Name | Type | Description | Notes | -| ---------- | ----------------------------------------------------------- | ------------ | ----- | -| **body** | [**SubscriptionDashboardDto**](SubscriptionDashboardDto.md) | subscription | -| **dashId** | **Long** | dashId | +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**SubscriptionDashboardDto**](SubscriptionDashboardDto.md)| subscription | + **dashId** | **Long**| dashId | ### Return type @@ -122,16 +128,19 @@ try { ### HTTP request headers - - **Content-Type**: application/json - - **Accept**: application/json +- **Content-Type**: application/json +- **Accept**: application/json + # **deleteUsingDELETE2** + > GenericMapBasedApiResponse deleteUsingDELETE2(updateableSubscriptionId) Delete subscription ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -161,9 +170,9 @@ try { ### Parameters -| Name | Type | Description | Notes | -| ---------------------------- | -------- | ------------------------ | ----- | -| **updateableSubscriptionId** | **Long** | updateableSubscriptionId | +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **updateableSubscriptionId** | **Long**| updateableSubscriptionId | ### Return type @@ -175,16 +184,19 @@ try { ### HTTP request headers - - **Content-Type**: Not defined - - **Accept**: application/json +- **Content-Type**: Not defined +- **Accept**: application/json + + + +# **listUsingGET3** - -# **listUsingGET2** -> SubscriptionsResponse listUsingGET2(appId) +> SubscriptionsResponse listUsingGET3(appId) Get subscriptions for an App ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -204,19 +216,19 @@ api_key.setApiKey("YOUR API KEY"); SubscriptionsApi apiInstance = new SubscriptionsApi(); Long appId = 789L; // Long | appId try { - SubscriptionsResponse result = apiInstance.listUsingGET2(appId); + SubscriptionsResponse result = apiInstance.listUsingGET3(appId); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling SubscriptionsApi#listUsingGET2"); + System.err.println("Exception when calling SubscriptionsApi#listUsingGET3"); e.printStackTrace(); } ``` ### Parameters -| Name | Type | Description | Notes | -| --------- | -------- | ----------- | ----- | -| **appId** | **Long** | appId | +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **appId** | **Long**| appId | ### Return type @@ -228,16 +240,19 @@ try { ### HTTP request headers - - **Content-Type**: Not defined - - **Accept**: application/json +- **Content-Type**: Not defined +- **Accept**: application/json + # **listUsingGET5** + > SubscriptionsResponse listUsingGET5() Get current account's subscriptions ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -265,6 +280,7 @@ try { ``` ### Parameters + This endpoint does not need any parameter. ### Return type @@ -277,16 +293,19 @@ This endpoint does not need any parameter. ### HTTP request headers - - **Content-Type**: Not defined - - **Accept**: application/json +- **Content-Type**: Not defined +- **Accept**: application/json + + - -# **sendAppReportUsingPOST1** -> MailReportResponse sendAppReportUsingPOST1(body, appId) +# **sendAppReportUsingPOST** + +> MailReportResponse sendAppReportUsingPOST(body, appId) Email an App report ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -307,20 +326,20 @@ SubscriptionsApi apiInstance = new SubscriptionsApi(); ReportInfo body = new ReportInfo(); // ReportInfo | emailDto Long appId = 789L; // Long | appId try { - MailReportResponse result = apiInstance.sendAppReportUsingPOST1(body, appId); + MailReportResponse result = apiInstance.sendAppReportUsingPOST(body, appId); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling SubscriptionsApi#sendAppReportUsingPOST1"); + System.err.println("Exception when calling SubscriptionsApi#sendAppReportUsingPOST"); e.printStackTrace(); } ``` ### Parameters -| Name | Type | Description | Notes | -| --------- | ------------------------------- | ----------- | ----- | -| **body** | [**ReportInfo**](ReportInfo.md) | emailDto | -| **appId** | **Long** | appId | +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**ReportInfo**](ReportInfo.md)| emailDto | + **appId** | **Long**| appId | ### Return type @@ -332,16 +351,19 @@ try { ### HTTP request headers - - **Content-Type**: application/json - - **Accept**: application/json +- **Content-Type**: application/json +- **Accept**: application/json + # **sendDashReportUsingPOST** + > MailReportResponse sendDashReportUsingPOST(body, dashId) Email a dashboard report ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -372,10 +394,10 @@ try { ### Parameters -| Name | Type | Description | Notes | -| ---------- | ------------------------------- | ----------- | ----- | -| **body** | [**ReportInfo**](ReportInfo.md) | emailDto | -| **dashId** | **Long** | dashId | +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**ReportInfo**](ReportInfo.md)| emailDto | + **dashId** | **Long**| dashId | ### Return type @@ -387,16 +409,19 @@ try { ### HTTP request headers - - **Content-Type**: application/json - - **Accept**: application/json +- **Content-Type**: application/json +- **Accept**: application/json + # **toggleEnabledUsingPUT1** + > SubscriptionResponse toggleEnabledUsingPUT1(body, updateableSubscriptionId) Toggle subscription status ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -427,10 +452,10 @@ try { ### Parameters -| Name | Type | Description | Notes | -| ---------------------------- | ----------------------------------------------------- | ------------------------ | ----- | -| **body** | [**UpdateSubscriptionDto**](UpdateSubscriptionDto.md) | dto | -| **updateableSubscriptionId** | **Long** | updateableSubscriptionId | +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**UpdateSubscriptionDto**](UpdateSubscriptionDto.md)| dto | + **updateableSubscriptionId** | **Long**| updateableSubscriptionId | ### Return type @@ -442,16 +467,19 @@ try { ### HTTP request headers - - **Content-Type**: application/json - - **Accept**: application/json +- **Content-Type**: application/json +- **Accept**: application/json + # **updateForAppUsingPUT** + > SubscriptionResponse updateForAppUsingPUT(body, appId) Update App subscription ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -482,10 +510,10 @@ try { ### Parameters -| Name | Type | Description | Notes | -| --------- | ----------------------------------------- | ------------ | ----- | -| **body** | [**SubscriptionDto**](SubscriptionDto.md) | subscription | -| **appId** | **Long** | appId | +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**SubscriptionDto**](SubscriptionDto.md)| subscription | + **appId** | **Long**| appId | ### Return type @@ -497,16 +525,19 @@ try { ### HTTP request headers - - **Content-Type**: application/json - - **Accept**: application/json +- **Content-Type**: application/json +- **Accept**: application/json + # **updateForDashUsingPUT1** + > SubscriptionResponse updateForDashUsingPUT1(body, dashId) Update dashboard subscription ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -537,10 +568,10 @@ try { ### Parameters -| Name | Type | Description | Notes | -| ---------- | ----------------------------------------------------------- | ------------ | ----- | -| **body** | [**SubscriptionDashboardDto**](SubscriptionDashboardDto.md) | subscription | -| **dashId** | **Long** | dashId | +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**SubscriptionDashboardDto**](SubscriptionDashboardDto.md)| subscription | + **dashId** | **Long**| dashId | ### Return type @@ -552,5 +583,5 @@ try { ### HTTP request headers - - **Content-Type**: application/json - - **Accept**: application/json +- **Content-Type**: application/json +- **Accept**: application/json diff --git a/docs/SubscriptionsResponse.md b/docs/SubscriptionsResponse.md index 2f31a07..51b0616 100644 --- a/docs/SubscriptionsResponse.md +++ b/docs/SubscriptionsResponse.md @@ -1,6 +1,7 @@ # SubscriptionsResponse ## Properties + | Name | Type | Description | Notes | | ----------- | --------------------------------------------------------------- | ----------- | ---------- | | **data** | [**SubscriptionsResponseEntry**](SubscriptionsResponseEntry.md) | | [optional] | diff --git a/docs/SubscriptionsResponseEntry.md b/docs/SubscriptionsResponseEntry.md index c62251e..d590481 100644 --- a/docs/SubscriptionsResponseEntry.md +++ b/docs/SubscriptionsResponseEntry.md @@ -1,6 +1,7 @@ # SubscriptionsResponseEntry ## Properties + | Name | Type | Description | Notes | | ----------------- | ----------------------------------------------- | ----------- | ---------- | | **subscriptions** | [**List<Subscription>**](Subscription.md) | | [optional] | diff --git a/docs/TagApiControllerApi.md b/docs/TagApiControllerApi.md index d2190b0..3a5193d 100644 --- a/docs/TagApiControllerApi.md +++ b/docs/TagApiControllerApi.md @@ -5,16 +5,19 @@ All URIs are relative to */* | Method | HTTP request | Description | | --------------------------------------------------------------------- | --------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | | [**getTagNamesUsingGET**](TagApiControllerApi.md#getTagNamesUsingGET) | **GET** /spm-reports/api/v3/apps/{appIds}/tagNames | Gets tag names for the given application identifiers appearing in the given time frame. | -| [**getUsingGET2**](TagApiControllerApi.md#getUsingGET2) | **GET** /spm-reports/api/v3/apps/{appIds}/metrics/filters | Gets values for specified tags for the given application identifiers appearing in the given time frame. | +| [**getUsingGET**](TagApiControllerApi.md#getUsingGET) | **GET** /spm-reports/api/v3/apps/{appIds}/metrics/filters | Gets values for specified tags for the given application identifiers appearing in the given time frame. | | [**getUsingGET3**](TagApiControllerApi.md#getUsingGET3) | **GET** /spm-reports/api/v3/apps/{appIds}/tags | Gets values for specified tags for the given application identifiers appearing in the given time frame. | + # **getTagNamesUsingGET** + > TagNamesResponse getTagNamesUsingGET(appIds, from, to, metrics, logs, events, rum) Gets tag names for the given application identifiers appearing in the given time frame. ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -70,16 +73,19 @@ try { ### HTTP request headers - - **Content-Type**: Not defined - - **Accept**: application/json +- **Content-Type**: Not defined +- **Accept**: application/json + + + +# **getUsingGET** - -# **getUsingGET2** -> Map<String, Dimension> getUsingGET2(appIds, tag, from, to, metrics, logs, events, rum) +> Map<String, Dimension> getUsingGET(appIds, tag, from, to, metrics, logs, events, rum) Gets values for specified tags for the given application identifiers appearing in the given time frame. ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -106,10 +112,10 @@ Boolean logs = true; // Boolean | logs Boolean events = false; // Boolean | events Boolean rum = true; // Boolean | rum try { - Map result = apiInstance.getUsingGET2(appIds, tag, from, to, metrics, logs, events, rum); + Map result = apiInstance.getUsingGET(appIds, tag, from, to, metrics, logs, events, rum); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling TagApiControllerApi#getUsingGET2"); + System.err.println("Exception when calling TagApiControllerApi#getUsingGET"); e.printStackTrace(); } ``` @@ -137,16 +143,19 @@ try { ### HTTP request headers - - **Content-Type**: Not defined - - **Accept**: application/json +- **Content-Type**: Not defined +- **Accept**: application/json + # **getUsingGET3** + > Map<String, Dimension> getUsingGET3(appIds, tag, from, to, metrics, logs, events, rum) Gets values for specified tags for the given application identifiers appearing in the given time frame. ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -204,5 +213,5 @@ try { ### HTTP request headers - - **Content-Type**: Not defined - - **Accept**: application/json +- **Content-Type**: Not defined +- **Accept**: application/json diff --git a/docs/TagNamesResponse.md b/docs/TagNamesResponse.md index 97a1a29..07f9525 100644 --- a/docs/TagNamesResponse.md +++ b/docs/TagNamesResponse.md @@ -1,6 +1,7 @@ # TagNamesResponse ## Properties + | Name | Type | Description | Notes | | --------- | ---------------------- | ----------- | ----- | | **names** | **List<String>** | | diff --git a/docs/TokenDto.md b/docs/TokenDto.md index 6c456e0..5af1e20 100644 --- a/docs/TokenDto.md +++ b/docs/TokenDto.md @@ -1,6 +1,7 @@ # TokenDto ## Properties + | Name | Type | Description | Notes | | ------------- | --------------------------------------- | ----------- | ---------- | | **createdAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional] | diff --git a/docs/TokenResponse.md b/docs/TokenResponse.md index 962800a..f4a9865 100644 --- a/docs/TokenResponse.md +++ b/docs/TokenResponse.md @@ -1,6 +1,7 @@ # TokenResponse ## Properties + | Name | Type | Description | Notes | | ----------- | ----------------------------------------------- | ----------- | ---------- | | **data** | [**TokenResponseEntry**](TokenResponseEntry.md) | | [optional] | diff --git a/docs/TokenResponseEntry.md b/docs/TokenResponseEntry.md index ecd4fbc..13805e1 100644 --- a/docs/TokenResponseEntry.md +++ b/docs/TokenResponseEntry.md @@ -1,6 +1,7 @@ # TokenResponseEntry ## Properties -| Name | Type | Description | Notes | -| --------- | --------------------------- | ----------- | ---------- | -| **token** | [**TokenDto**](TokenDto.md) | | [optional] | + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**token** | [**TokenDto**](TokenDto.md) | | [optional] diff --git a/docs/TokensApiControllerApi.md b/docs/TokensApiControllerApi.md index a4cf837..de96912 100644 --- a/docs/TokensApiControllerApi.md +++ b/docs/TokensApiControllerApi.md @@ -4,19 +4,22 @@ All URIs are relative to */* | Method | HTTP request | Description | | ------------------------------------------------------------------------ | ------------------------------------------------------------------- | ----------------------------------------- | -| [**createAppToken**](TokensApiControllerApi.md#createAppToken) | **POST** /users-web/api/v3/apps/{appId}/tokens | Create new app token | +| [**createAppToken1**](TokensApiControllerApi.md#createAppToken1) | **POST** /users-web/api/v3/apps/{appId}/tokens | Create new app token | | [**deleteAppToken1**](TokensApiControllerApi.md#deleteAppToken1) | **DELETE** /users-web/api/v3/apps/{appId}/tokens/{tokenId} | Delete app token | -| [**getAppTokens1**](TokensApiControllerApi.md#getAppTokens1) | **GET** /users-web/api/v3/apps/{appId}/tokens | Get app available tokens | +| [**getAppTokens**](TokensApiControllerApi.md#getAppTokens) | **GET** /users-web/api/v3/apps/{appId}/tokens | Get app available tokens | | [**regenerateAppToken1**](TokensApiControllerApi.md#regenerateAppToken1) | **POST** /users-web/api/v3/apps/{appId}/tokens/{tokenId}/regenerate | Regenerate app token) | -| [**updateAppToken**](TokensApiControllerApi.md#updateAppToken) | **PUT** /users-web/api/v3/apps/{appId}/tokens/{tokenId} | Update app token (enable/disable or name) | +| [**updateAppToken1**](TokensApiControllerApi.md#updateAppToken1) | **PUT** /users-web/api/v3/apps/{appId}/tokens/{tokenId} | Update app token (enable/disable or name) | - -# **createAppToken** -> TokenResponse createAppToken(body, appId) + + +# **createAppToken1** + +> TokenResponse createAppToken1(body, appId) Create new app token ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -37,10 +40,10 @@ TokensApiControllerApi apiInstance = new TokensApiControllerApi(); CreateTokenDto body = new CreateTokenDto(); // CreateTokenDto | dto Long appId = 789L; // Long | appId try { - TokenResponse result = apiInstance.createAppToken(body, appId); + TokenResponse result = apiInstance.createAppToken1(body, appId); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling TokensApiControllerApi#createAppToken"); + System.err.println("Exception when calling TokensApiControllerApi#createAppToken1"); e.printStackTrace(); } ``` @@ -62,16 +65,19 @@ try { ### HTTP request headers - - **Content-Type**: application/json - - **Accept**: application/json +- **Content-Type**: application/json +- **Accept**: application/json + # **deleteAppToken1** + > GenericMapBasedApiResponse deleteAppToken1(appId, tokenId) Delete app token ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -117,16 +123,19 @@ try { ### HTTP request headers - - **Content-Type**: Not defined - - **Accept**: application/json +- **Content-Type**: Not defined +- **Accept**: application/json + + + +# **getAppTokens** - -# **getAppTokens1** -> TokensResponse getAppTokens1(appId) +> TokensResponse getAppTokens(appId) Get app available tokens ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -146,10 +155,10 @@ api_key.setApiKey("YOUR API KEY"); TokensApiControllerApi apiInstance = new TokensApiControllerApi(); Long appId = 789L; // Long | appId try { - TokensResponse result = apiInstance.getAppTokens1(appId); + TokensResponse result = apiInstance.getAppTokens(appId); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling TokensApiControllerApi#getAppTokens1"); + System.err.println("Exception when calling TokensApiControllerApi#getAppTokens"); e.printStackTrace(); } ``` @@ -170,16 +179,19 @@ try { ### HTTP request headers - - **Content-Type**: Not defined - - **Accept**: application/json +- **Content-Type**: Not defined +- **Accept**: application/json + # **regenerateAppToken1** + > TokenResponse regenerateAppToken1(appId, tokenId) Regenerate app token) ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -225,16 +237,19 @@ try { ### HTTP request headers - - **Content-Type**: Not defined - - **Accept**: application/json +- **Content-Type**: Not defined +- **Accept**: application/json - -# **updateAppToken** -> TokenResponse updateAppToken(body, appId, tokenId) + + +# **updateAppToken1** + +> TokenResponse updateAppToken1(body, appId, tokenId) Update app token (enable/disable or name) ### Example + ```java // Import classes: //import com.sematext.cloud.ApiClient; @@ -256,10 +271,10 @@ UpdateTokenDto body = new UpdateTokenDto(); // UpdateTokenDto | dto Long appId = 789L; // Long | appId Long tokenId = 789L; // Long | tokenId try { - TokenResponse result = apiInstance.updateAppToken(body, appId, tokenId); + TokenResponse result = apiInstance.updateAppToken1(body, appId, tokenId); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling TokensApiControllerApi#updateAppToken"); + System.err.println("Exception when calling TokensApiControllerApi#updateAppToken1"); e.printStackTrace(); } ``` @@ -282,5 +297,5 @@ try { ### HTTP request headers - - **Content-Type**: application/json - - **Accept**: application/json +- **Content-Type**: application/json +- **Accept**: application/json diff --git a/docs/TokensResponse.md b/docs/TokensResponse.md index ac9054c..a78d1bc 100644 --- a/docs/TokensResponse.md +++ b/docs/TokensResponse.md @@ -1,6 +1,7 @@ # TokensResponse ## Properties + | Name | Type | Description | Notes | | ----------- | ------------------------------------------------- | ----------- | ---------- | | **data** | [**TokensResponseEntry**](TokensResponseEntry.md) | | [optional] | diff --git a/docs/TokensResponseEntry.md b/docs/TokensResponseEntry.md index 5cedb7b..1335b94 100644 --- a/docs/TokensResponseEntry.md +++ b/docs/TokensResponseEntry.md @@ -1,6 +1,8 @@ # TokensResponseEntry ## Properties + | Name | Type | Description | Notes | | ---------- | --------------------------------------- | ----------- | ---------- | | **tokens** | [**List<TokenDto>**](TokenDto.md) | | [optional] | +** diff --git a/docs/UpdateAppInfo.md b/docs/UpdateAppInfo.md index 6f87988..88d6e5f 100644 --- a/docs/UpdateAppInfo.md +++ b/docs/UpdateAppInfo.md @@ -1,21 +1,24 @@ # UpdateAppInfo ## Properties -| Name | Type | Description | Notes | -| ---------------------- | ----------------------------- | ----------- | ---------- | -| **description** | **String** | | [optional] | -| **ignorePercentage** | **Double** | | [optional] | -| **maxEvents** | **Long** | | [optional] | -| **maxLimitMB** | **Long** | | [optional] | -| **name** | **String** | | [optional] | -| **sampling** | **Boolean** | | [optional] | -| **samplingPercentage** | **Integer** | | [optional] | -| **staggering** | **Boolean** | | [optional] | -| **status** | [**StatusEnum**](#StatusEnum) | | [optional] | + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**description** | **String** | | [optional] +**ignorePercentage** | **Double** | | [optional] +**maxEvents** | **Long** | | [optional] +**maxLimitMB** | **Long** | | [optional] +**name** | **String** | | [optional] +**sampling** | **Boolean** | | [optional] +**samplingPercentage** | **Integer** | | [optional] +**staggering** | **Boolean** | | [optional] +**status** | [**StatusEnum**](#StatusEnum) | | [optional] + ## Enum: StatusEnum -| Name | Value | -| -------- | -------------------- | -| ACTIVE | "ACTIVE" | -| DISABLED | "DISABLED" | + +Name | Value +---- | ----- +ACTIVE | "ACTIVE" +DISABLED | "DISABLED" diff --git a/docs/UpdatePlanResponse.md b/docs/UpdatePlanResponse.md index d6665a8..385c99f 100644 --- a/docs/UpdatePlanResponse.md +++ b/docs/UpdatePlanResponse.md @@ -1,9 +1,10 @@ # UpdatePlanResponse ## Properties -| Name | Type | Description | Notes | -| ----------- | --------------------------------------------------------- | ----------- | ---------- | -| **data** | [**UpdatePlanResponseEntry**](UpdatePlanResponseEntry.md) | | [optional] | -| **errors** | [**List<Error>**](Error.md) | | [optional] | -| **message** | **String** | | [optional] | -| **success** | **Boolean** | | [optional] | + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**UpdatePlanResponseEntry**](UpdatePlanResponseEntry.md) | | [optional] +**errors** | [**List<Error>**](Error.md) | | [optional] +**message** | **String** | | [optional] +**success** | **Boolean** | | [optional] diff --git a/docs/UpdatePlanResponseDto.md b/docs/UpdatePlanResponseDto.md index fb7177f..44f1031 100644 --- a/docs/UpdatePlanResponseDto.md +++ b/docs/UpdatePlanResponseDto.md @@ -1,6 +1,7 @@ # UpdatePlanResponseDto ## Properties + | Name | Type | Description | Notes | | ---------- | --------------------------------------- | ----------- | ---------- | | **events** | [**List<EventDto>**](EventDto.md) | | [optional] | diff --git a/docs/UpdatePlanResponseEntry.md b/docs/UpdatePlanResponseEntry.md index 3d3bb7b..7e2530f 100644 --- a/docs/UpdatePlanResponseEntry.md +++ b/docs/UpdatePlanResponseEntry.md @@ -1,6 +1,7 @@ # UpdatePlanResponseEntry ## Properties + | Name | Type | Description | Notes | | ----------- | ----------------------------------------------------- | ----------- | ---------- | | **billing** | [**UpdatePlanResponseDto**](UpdatePlanResponseDto.md) | | [optional] | diff --git a/docs/UpdateSubscriptionDto.md b/docs/UpdateSubscriptionDto.md index 56763cc..d1a6665 100644 --- a/docs/UpdateSubscriptionDto.md +++ b/docs/UpdateSubscriptionDto.md @@ -1,6 +1,7 @@ # UpdateSubscriptionDto ## Properties -| Name | Type | Description | Notes | -| ----------- | ----------- | ----------- | ---------- | -| **enabled** | **Boolean** | | [optional] | + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enabled** | **Boolean** | | [optional] diff --git a/docs/UpdateTokenDto.md b/docs/UpdateTokenDto.md index ada109f..4cf90bc 100644 --- a/docs/UpdateTokenDto.md +++ b/docs/UpdateTokenDto.md @@ -1,6 +1,7 @@ # UpdateTokenDto ## Properties + | Name | Type | Description | Notes | | ----------- | ----------- | ----------- | ---------- | | **enabled** | **Boolean** | | [optional] | diff --git a/docs/UsageDto.md b/docs/UsageDto.md index fa8dbca..2c484e9 100644 --- a/docs/UsageDto.md +++ b/docs/UsageDto.md @@ -1,16 +1,19 @@ # UsageDto ## Properties + | Name | Type | Description | Notes | | ---------------------- | ------------------------------------------------------------- | ----------- | ---------- | -| **count** | **Long** | | [optional] | | **dailyUsage** | [**List<DailyDto>**](DailyDto.md) | | [optional] | | **dailyVolumeMB** | **Long** | | [optional] | | **end** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional] | | **failedCount** | **Long** | | [optional] | +| **ingestedCount** | **Long** | | [optional] | +| **ingestedVolume** | **Long** | | [optional] | | **limitChangeEvents** | [**List<LimitChangeEventDTO>**](LimitChangeEventDTO.md) | | [optional] | | **maxAllowedMB** | **Long** | | [optional] | | **maxLimitMB** | **Long** | | [optional] | | **start** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional] | -| **volume** | **Long** | | [optional] | +| **storedCount** | **Long** | | [optional] | +| **storedVolume** | **Long** | | [optional] | | **volumeChangeEvents** | [**List<LimitChangeEventDTO>**](LimitChangeEventDTO.md) | | [optional] | diff --git a/docs/UsageMultiResponse.md b/docs/UsageMultiResponse.md index 8a45234..6842322 100644 --- a/docs/UsageMultiResponse.md +++ b/docs/UsageMultiResponse.md @@ -1,6 +1,7 @@ # UsageMultiResponse ## Properties + | Name | Type | Description | Notes | | ----------- | --------------------------------------------------------- | ----------- | ---------- | | **data** | [**UsageMultiResponseEntry**](UsageMultiResponseEntry.md) | | [optional] | diff --git a/docs/UsageMultiResponseEntry.md b/docs/UsageMultiResponseEntry.md index ef54172..cb6ade2 100644 --- a/docs/UsageMultiResponseEntry.md +++ b/docs/UsageMultiResponseEntry.md @@ -1,6 +1,7 @@ # UsageMultiResponseEntry ## Properties + | Name | Type | Description | Notes | | --------- | --------------------------- | ----------- | ---------- | | **usage** | [**UsageDto**](UsageDto.md) | | [optional] | diff --git a/docs/UsageResponse.md b/docs/UsageResponse.md index 3ef08eb..f11be18 100644 --- a/docs/UsageResponse.md +++ b/docs/UsageResponse.md @@ -1,6 +1,7 @@ # UsageResponse ## Properties + | Name | Type | Description | Notes | | ----------- | ----------------------------------------------- | ----------- | ---------- | | **data** | [**UsageResponseEntry**](UsageResponseEntry.md) | | [optional] | diff --git a/docs/UsageResponseEntry.md b/docs/UsageResponseEntry.md index 95d8f8e..920a0ce 100644 --- a/docs/UsageResponseEntry.md +++ b/docs/UsageResponseEntry.md @@ -1,6 +1,7 @@ # UsageResponseEntry ## Properties + | Name | Type | Description | Notes | | --------- | --------------------------- | ----------- | ---------- | | **usage** | [**UsageDto**](UsageDto.md) | | [optional] | diff --git a/docs/UserInfo.md b/docs/UserInfo.md index 9d76bb2..10629dc 100644 --- a/docs/UserInfo.md +++ b/docs/UserInfo.md @@ -1,6 +1,7 @@ # UserInfo ## Properties + | Name | Type | Description | Notes | | ------------- | ---------- | ----------- | ---------- | | **loginName** | **String** | | [optional] | diff --git a/docs/UserPermissions.md b/docs/UserPermissions.md index efcd635..ccd9045 100644 --- a/docs/UserPermissions.md +++ b/docs/UserPermissions.md @@ -1,6 +1,7 @@ # UserPermissions ## Properties + | Name | Type | Description | Notes | | ------------- | ----------- | ----------- | ---------- | | **canDelete** | **Boolean** | | [optional] | diff --git a/docs/UserRole.md b/docs/UserRole.md index 8b7ef0b..df74f33 100644 --- a/docs/UserRole.md +++ b/docs/UserRole.md @@ -1,6 +1,7 @@ # UserRole ## Properties + | Name | Type | Description | Notes | | -------------- | ------------------------------------- | ----------- | ---------- | | **role** | [**RoleEnum**](#RoleEnum) | | [optional] | @@ -8,7 +9,9 @@ | **userEmail** | **String** | | [optional] | + ## Enum: RoleEnum + | Name | Value | | ---------- | ---------------------- | | SUPER_USER | "SUPER_USER" | @@ -19,7 +22,9 @@ | ANONYMOUS | "ANONYMOUS" | + ## Enum: RoleStatusEnum + | Name | Value | | -------- | -------------------- | | INACTIVE | "INACTIVE" | diff --git a/pom.xml b/pom.xml index 3096b99..ef64ae9 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ SematextCloudClient jar SematextCloudClient - 0.3.1 + 0.4.0 https://github.com/sematext/sematext-api-client-java Client for Sematext Cloud API at https://sematext.com/docs/api/ diff --git a/src/main/java/com/sematext/cloud/ApiCallback.java b/src/main/java/com/sematext/cloud/ApiCallback.java index b3c8126..0400599 100644 --- a/src/main/java/com/sematext/cloud/ApiCallback.java +++ b/src/main/java/com/sematext/cloud/ApiCallback.java @@ -3,7 +3,7 @@ * API Explorer provides access and documentation for Sematext REST API. The REST API requires the API Key to be sent as part of `Authorization` header. E.g.: `Authorization : apiKey e5f18450-205a-48eb-8589-7d49edaea813`. * * OpenAPI spec version: v3 - * + * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git diff --git a/src/main/java/com/sematext/cloud/ApiClient.java b/src/main/java/com/sematext/cloud/ApiClient.java index 2ce2118..58281c6 100644 --- a/src/main/java/com/sematext/cloud/ApiClient.java +++ b/src/main/java/com/sematext/cloud/ApiClient.java @@ -3,7 +3,7 @@ * API Explorer provides access and documentation for Sematext REST API. The REST API requires the API Key to be sent as part of `Authorization` header. E.g.: `Authorization : apiKey e5f18450-205a-48eb-8589-7d49edaea813`. * * OpenAPI spec version: v3 - * + * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git diff --git a/src/main/java/com/sematext/cloud/ApiException.java b/src/main/java/com/sematext/cloud/ApiException.java index 56e1bf3..9ea5860 100644 --- a/src/main/java/com/sematext/cloud/ApiException.java +++ b/src/main/java/com/sematext/cloud/ApiException.java @@ -3,7 +3,7 @@ * API Explorer provides access and documentation for Sematext REST API. The REST API requires the API Key to be sent as part of `Authorization` header. E.g.: `Authorization : apiKey e5f18450-205a-48eb-8589-7d49edaea813`. * * OpenAPI spec version: v3 - * + * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git diff --git a/src/main/java/com/sematext/cloud/ApiResponse.java b/src/main/java/com/sematext/cloud/ApiResponse.java index 811f185..8b9e549 100644 --- a/src/main/java/com/sematext/cloud/ApiResponse.java +++ b/src/main/java/com/sematext/cloud/ApiResponse.java @@ -3,7 +3,7 @@ * API Explorer provides access and documentation for Sematext REST API. The REST API requires the API Key to be sent as part of `Authorization` header. E.g.: `Authorization : apiKey e5f18450-205a-48eb-8589-7d49edaea813`. * * OpenAPI spec version: v3 - * + * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git diff --git a/src/main/java/com/sematext/cloud/Configuration.java b/src/main/java/com/sematext/cloud/Configuration.java index 17ae20d..5449439 100644 --- a/src/main/java/com/sematext/cloud/Configuration.java +++ b/src/main/java/com/sematext/cloud/Configuration.java @@ -3,7 +3,7 @@ * API Explorer provides access and documentation for Sematext REST API. The REST API requires the API Key to be sent as part of `Authorization` header. E.g.: `Authorization : apiKey e5f18450-205a-48eb-8589-7d49edaea813`. * * OpenAPI spec version: v3 - * + * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git diff --git a/src/main/java/com/sematext/cloud/GzipRequestInterceptor.java b/src/main/java/com/sematext/cloud/GzipRequestInterceptor.java index 431fb4d..411a45b 100644 --- a/src/main/java/com/sematext/cloud/GzipRequestInterceptor.java +++ b/src/main/java/com/sematext/cloud/GzipRequestInterceptor.java @@ -3,7 +3,7 @@ * API Explorer provides access and documentation for Sematext REST API. The REST API requires the API Key to be sent as part of `Authorization` header. E.g.: `Authorization : apiKey e5f18450-205a-48eb-8589-7d49edaea813`. * * OpenAPI spec version: v3 - * + * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git diff --git a/src/main/java/com/sematext/cloud/JSON.java b/src/main/java/com/sematext/cloud/JSON.java index f8f5582..f5b7e8e 100644 --- a/src/main/java/com/sematext/cloud/JSON.java +++ b/src/main/java/com/sematext/cloud/JSON.java @@ -3,7 +3,7 @@ * API Explorer provides access and documentation for Sematext REST API. The REST API requires the API Key to be sent as part of `Authorization` header. E.g.: `Authorization : apiKey e5f18450-205a-48eb-8589-7d49edaea813`. * * OpenAPI spec version: v3 - * + * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git diff --git a/src/main/java/com/sematext/cloud/Pair.java b/src/main/java/com/sematext/cloud/Pair.java index 56d488c..dfcc96b 100644 --- a/src/main/java/com/sematext/cloud/Pair.java +++ b/src/main/java/com/sematext/cloud/Pair.java @@ -3,7 +3,7 @@ * API Explorer provides access and documentation for Sematext REST API. The REST API requires the API Key to be sent as part of `Authorization` header. E.g.: `Authorization : apiKey e5f18450-205a-48eb-8589-7d49edaea813`. * * OpenAPI spec version: v3 - * + * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git diff --git a/src/main/java/com/sematext/cloud/ProgressRequestBody.java b/src/main/java/com/sematext/cloud/ProgressRequestBody.java index 41e08dd..a46c28c 100644 --- a/src/main/java/com/sematext/cloud/ProgressRequestBody.java +++ b/src/main/java/com/sematext/cloud/ProgressRequestBody.java @@ -3,7 +3,7 @@ * API Explorer provides access and documentation for Sematext REST API. The REST API requires the API Key to be sent as part of `Authorization` header. E.g.: `Authorization : apiKey e5f18450-205a-48eb-8589-7d49edaea813`. * * OpenAPI spec version: v3 - * + * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git diff --git a/src/main/java/com/sematext/cloud/ProgressResponseBody.java b/src/main/java/com/sematext/cloud/ProgressResponseBody.java index b86682f..4dbd23e 100644 --- a/src/main/java/com/sematext/cloud/ProgressResponseBody.java +++ b/src/main/java/com/sematext/cloud/ProgressResponseBody.java @@ -3,7 +3,7 @@ * API Explorer provides access and documentation for Sematext REST API. The REST API requires the API Key to be sent as part of `Authorization` header. E.g.: `Authorization : apiKey e5f18450-205a-48eb-8589-7d49edaea813`. * * OpenAPI spec version: v3 - * + * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git @@ -71,3 +71,5 @@ public long read(Buffer sink, long byteCount) throws IOException { }; } } + + diff --git a/src/main/java/com/sematext/cloud/StringUtil.java b/src/main/java/com/sematext/cloud/StringUtil.java index 633267d..63eea55 100644 --- a/src/main/java/com/sematext/cloud/StringUtil.java +++ b/src/main/java/com/sematext/cloud/StringUtil.java @@ -3,7 +3,7 @@ * API Explorer provides access and documentation for Sematext REST API. The REST API requires the API Key to be sent as part of `Authorization` header. E.g.: `Authorization : apiKey e5f18450-205a-48eb-8589-7d49edaea813`. * * OpenAPI spec version: v3 - * + * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git diff --git a/src/main/java/com/sematext/cloud/auth/ApiKeyAuth.java b/src/main/java/com/sematext/cloud/auth/ApiKeyAuth.java index 9aa88b3..eefc79d 100644 --- a/src/main/java/com/sematext/cloud/auth/ApiKeyAuth.java +++ b/src/main/java/com/sematext/cloud/auth/ApiKeyAuth.java @@ -3,7 +3,7 @@ * API Explorer provides access and documentation for Sematext REST API. The REST API requires the API Key to be sent as part of `Authorization` header. E.g.: `Authorization : apiKey e5f18450-205a-48eb-8589-7d49edaea813`. * * OpenAPI spec version: v3 - * + * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git diff --git a/src/main/java/com/sematext/cloud/auth/Authentication.java b/src/main/java/com/sematext/cloud/auth/Authentication.java index c6b34f4..c4ce692 100644 --- a/src/main/java/com/sematext/cloud/auth/Authentication.java +++ b/src/main/java/com/sematext/cloud/auth/Authentication.java @@ -3,7 +3,7 @@ * API Explorer provides access and documentation for Sematext REST API. The REST API requires the API Key to be sent as part of `Authorization` header. E.g.: `Authorization : apiKey e5f18450-205a-48eb-8589-7d49edaea813`. * * OpenAPI spec version: v3 - * + * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git diff --git a/src/main/java/com/sematext/cloud/client/AlertsApi.java b/src/main/java/com/sematext/cloud/client/AlertsApi.java index c6ed618..53cf1be 100644 --- a/src/main/java/com/sematext/cloud/client/AlertsApi.java +++ b/src/main/java/com/sematext/cloud/client/AlertsApi.java @@ -57,14 +57,14 @@ public void setApiClient(ApiClient apiClient) { } /** - * Build call for createAlertUsingPOST1 + * Build call for createAlertUsingPOST * @param body dto (required) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call createAlertUsingPOST1Call(AlertRule body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call createAlertUsingPOSTCall(AlertRule body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -106,13 +106,13 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call createAlertUsingPOST1ValidateBeforeCall(AlertRule body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call createAlertUsingPOSTValidateBeforeCall(AlertRule body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling createAlertUsingPOST1(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling createAlertUsingPOST(Async)"); } - com.squareup.okhttp.Call call = createAlertUsingPOST1Call(body, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = createAlertUsingPOSTCall(body, progressListener, progressRequestListener); return call; @@ -128,8 +128,8 @@ private com.squareup.okhttp.Call createAlertUsingPOST1ValidateBeforeCall(AlertRu * @return AlertRuleResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AlertRuleResponse createAlertUsingPOST1(AlertRule body) throws ApiException { - ApiResponse resp = createAlertUsingPOST1WithHttpInfo(body); + public AlertRuleResponse createAlertUsingPOST(AlertRule body) throws ApiException { + ApiResponse resp = createAlertUsingPOSTWithHttpInfo(body); return resp.getData(); } @@ -140,8 +140,8 @@ public AlertRuleResponse createAlertUsingPOST1(AlertRule body) throws ApiExcepti * @return ApiResponse<AlertRuleResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse createAlertUsingPOST1WithHttpInfo(AlertRule body) throws ApiException { - com.squareup.okhttp.Call call = createAlertUsingPOST1ValidateBeforeCall(body, null, null); + public ApiResponse createAlertUsingPOSTWithHttpInfo(AlertRule body) throws ApiException { + com.squareup.okhttp.Call call = createAlertUsingPOSTValidateBeforeCall(body, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -154,7 +154,7 @@ public ApiResponse createAlertUsingPOST1WithHttpInfo(AlertRul * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call createAlertUsingPOST1Async(AlertRule body, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call createAlertUsingPOSTAsync(AlertRule body, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -175,7 +175,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = createAlertUsingPOST1ValidateBeforeCall(body, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = createAlertUsingPOSTValidateBeforeCall(body, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -306,14 +306,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don return call; } /** - * Build call for disableAlertRuleUsingPUT1 + * Build call for disableAlertRuleUsingPUT * @param updateableAlertId updateableAlertId (required) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call disableAlertRuleUsingPUT1Call(Long updateableAlertId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call disableAlertRuleUsingPUTCall(Long updateableAlertId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -356,13 +356,13 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call disableAlertRuleUsingPUT1ValidateBeforeCall(Long updateableAlertId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call disableAlertRuleUsingPUTValidateBeforeCall(Long updateableAlertId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'updateableAlertId' is set if (updateableAlertId == null) { - throw new ApiException("Missing the required parameter 'updateableAlertId' when calling disableAlertRuleUsingPUT1(Async)"); + throw new ApiException("Missing the required parameter 'updateableAlertId' when calling disableAlertRuleUsingPUT(Async)"); } - com.squareup.okhttp.Call call = disableAlertRuleUsingPUT1Call(updateableAlertId, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = disableAlertRuleUsingPUTCall(updateableAlertId, progressListener, progressRequestListener); return call; @@ -378,8 +378,8 @@ private com.squareup.okhttp.Call disableAlertRuleUsingPUT1ValidateBeforeCall(Lon * @return GenericMapBasedApiResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public GenericMapBasedApiResponse disableAlertRuleUsingPUT1(Long updateableAlertId) throws ApiException { - ApiResponse resp = disableAlertRuleUsingPUT1WithHttpInfo(updateableAlertId); + public GenericMapBasedApiResponse disableAlertRuleUsingPUT(Long updateableAlertId) throws ApiException { + ApiResponse resp = disableAlertRuleUsingPUTWithHttpInfo(updateableAlertId); return resp.getData(); } @@ -390,8 +390,8 @@ public GenericMapBasedApiResponse disableAlertRuleUsingPUT1(Long updateableAlert * @return ApiResponse<GenericMapBasedApiResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse disableAlertRuleUsingPUT1WithHttpInfo(Long updateableAlertId) throws ApiException { - com.squareup.okhttp.Call call = disableAlertRuleUsingPUT1ValidateBeforeCall(updateableAlertId, null, null); + public ApiResponse disableAlertRuleUsingPUTWithHttpInfo(Long updateableAlertId) throws ApiException { + com.squareup.okhttp.Call call = disableAlertRuleUsingPUTValidateBeforeCall(updateableAlertId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -404,7 +404,7 @@ public ApiResponse disableAlertRuleUsingPUT1WithHttp * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call disableAlertRuleUsingPUT1Async(Long updateableAlertId, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call disableAlertRuleUsingPUTAsync(Long updateableAlertId, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -425,20 +425,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = disableAlertRuleUsingPUT1ValidateBeforeCall(updateableAlertId, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = disableAlertRuleUsingPUTValidateBeforeCall(updateableAlertId, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for enableAlertRuleUsingPUT1 + * Build call for enableAlertRuleUsingPUT * @param updateableAlertId updateableAlertId (required) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call enableAlertRuleUsingPUT1Call(Long updateableAlertId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call enableAlertRuleUsingPUTCall(Long updateableAlertId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -481,13 +481,13 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call enableAlertRuleUsingPUT1ValidateBeforeCall(Long updateableAlertId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call enableAlertRuleUsingPUTValidateBeforeCall(Long updateableAlertId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'updateableAlertId' is set if (updateableAlertId == null) { - throw new ApiException("Missing the required parameter 'updateableAlertId' when calling enableAlertRuleUsingPUT1(Async)"); + throw new ApiException("Missing the required parameter 'updateableAlertId' when calling enableAlertRuleUsingPUT(Async)"); } - com.squareup.okhttp.Call call = enableAlertRuleUsingPUT1Call(updateableAlertId, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = enableAlertRuleUsingPUTCall(updateableAlertId, progressListener, progressRequestListener); return call; @@ -503,8 +503,8 @@ private com.squareup.okhttp.Call enableAlertRuleUsingPUT1ValidateBeforeCall(Long * @return GenericMapBasedApiResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public GenericMapBasedApiResponse enableAlertRuleUsingPUT1(Long updateableAlertId) throws ApiException { - ApiResponse resp = enableAlertRuleUsingPUT1WithHttpInfo(updateableAlertId); + public GenericMapBasedApiResponse enableAlertRuleUsingPUT(Long updateableAlertId) throws ApiException { + ApiResponse resp = enableAlertRuleUsingPUTWithHttpInfo(updateableAlertId); return resp.getData(); } @@ -515,8 +515,8 @@ public GenericMapBasedApiResponse enableAlertRuleUsingPUT1(Long updateableAlertI * @return ApiResponse<GenericMapBasedApiResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse enableAlertRuleUsingPUT1WithHttpInfo(Long updateableAlertId) throws ApiException { - com.squareup.okhttp.Call call = enableAlertRuleUsingPUT1ValidateBeforeCall(updateableAlertId, null, null); + public ApiResponse enableAlertRuleUsingPUTWithHttpInfo(Long updateableAlertId) throws ApiException { + com.squareup.okhttp.Call call = enableAlertRuleUsingPUTValidateBeforeCall(updateableAlertId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -529,7 +529,7 @@ public ApiResponse enableAlertRuleUsingPUT1WithHttpI * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call enableAlertRuleUsingPUT1Async(Long updateableAlertId, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call enableAlertRuleUsingPUTAsync(Long updateableAlertId, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -550,20 +550,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = enableAlertRuleUsingPUT1ValidateBeforeCall(updateableAlertId, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = enableAlertRuleUsingPUTValidateBeforeCall(updateableAlertId, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getAlertRulesForAppUsingGET + * Build call for getAlertRulesForAppUsingGET1 * @param appId appId (required) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getAlertRulesForAppUsingGETCall(Long appId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getAlertRulesForAppUsingGET1Call(Long appId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -606,13 +606,13 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getAlertRulesForAppUsingGETValidateBeforeCall(Long appId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getAlertRulesForAppUsingGET1ValidateBeforeCall(Long appId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'appId' is set if (appId == null) { - throw new ApiException("Missing the required parameter 'appId' when calling getAlertRulesForAppUsingGET(Async)"); + throw new ApiException("Missing the required parameter 'appId' when calling getAlertRulesForAppUsingGET1(Async)"); } - com.squareup.okhttp.Call call = getAlertRulesForAppUsingGETCall(appId, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getAlertRulesForAppUsingGET1Call(appId, progressListener, progressRequestListener); return call; @@ -628,8 +628,8 @@ private com.squareup.okhttp.Call getAlertRulesForAppUsingGETValidateBeforeCall(L * @return AlertRulesResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AlertRulesResponse getAlertRulesForAppUsingGET(Long appId) throws ApiException { - ApiResponse resp = getAlertRulesForAppUsingGETWithHttpInfo(appId); + public AlertRulesResponse getAlertRulesForAppUsingGET1(Long appId) throws ApiException { + ApiResponse resp = getAlertRulesForAppUsingGET1WithHttpInfo(appId); return resp.getData(); } @@ -640,8 +640,8 @@ public AlertRulesResponse getAlertRulesForAppUsingGET(Long appId) throws ApiExce * @return ApiResponse<AlertRulesResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getAlertRulesForAppUsingGETWithHttpInfo(Long appId) throws ApiException { - com.squareup.okhttp.Call call = getAlertRulesForAppUsingGETValidateBeforeCall(appId, null, null); + public ApiResponse getAlertRulesForAppUsingGET1WithHttpInfo(Long appId) throws ApiException { + com.squareup.okhttp.Call call = getAlertRulesForAppUsingGET1ValidateBeforeCall(appId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -654,7 +654,7 @@ public ApiResponse getAlertRulesForAppUsingGETWithHttpInfo(L * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getAlertRulesForAppUsingGETAsync(Long appId, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getAlertRulesForAppUsingGET1Async(Long appId, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -675,7 +675,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getAlertRulesForAppUsingGETValidateBeforeCall(appId, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getAlertRulesForAppUsingGET1ValidateBeforeCall(appId, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; diff --git a/src/main/java/com/sematext/cloud/client/AppsApi.java b/src/main/java/com/sematext/cloud/client/AppsApi.java index 90eed92..d8feb08 100644 --- a/src/main/java/com/sematext/cloud/client/AppsApi.java +++ b/src/main/java/com/sematext/cloud/client/AppsApi.java @@ -60,14 +60,14 @@ public void setApiClient(ApiClient apiClient) { } /** - * Build call for deleteUsingDELETE1 + * Build call for deleteUsingDELETE * @param anyStateAppId anyStateAppId (required) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteUsingDELETE1Call(Long anyStateAppId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteUsingDELETECall(Long anyStateAppId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -110,13 +110,13 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteUsingDELETE1ValidateBeforeCall(Long anyStateAppId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteUsingDELETEValidateBeforeCall(Long anyStateAppId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'anyStateAppId' is set if (anyStateAppId == null) { - throw new ApiException("Missing the required parameter 'anyStateAppId' when calling deleteUsingDELETE1(Async)"); + throw new ApiException("Missing the required parameter 'anyStateAppId' when calling deleteUsingDELETE(Async)"); } - com.squareup.okhttp.Call call = deleteUsingDELETE1Call(anyStateAppId, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteUsingDELETECall(anyStateAppId, progressListener, progressRequestListener); return call; @@ -132,8 +132,8 @@ private com.squareup.okhttp.Call deleteUsingDELETE1ValidateBeforeCall(Long anySt * @return GenericMapBasedApiResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public GenericMapBasedApiResponse deleteUsingDELETE1(Long anyStateAppId) throws ApiException { - ApiResponse resp = deleteUsingDELETE1WithHttpInfo(anyStateAppId); + public GenericMapBasedApiResponse deleteUsingDELETE(Long anyStateAppId) throws ApiException { + ApiResponse resp = deleteUsingDELETEWithHttpInfo(anyStateAppId); return resp.getData(); } @@ -144,8 +144,8 @@ public GenericMapBasedApiResponse deleteUsingDELETE1(Long anyStateAppId) throws * @return ApiResponse<GenericMapBasedApiResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteUsingDELETE1WithHttpInfo(Long anyStateAppId) throws ApiException { - com.squareup.okhttp.Call call = deleteUsingDELETE1ValidateBeforeCall(anyStateAppId, null, null); + public ApiResponse deleteUsingDELETEWithHttpInfo(Long anyStateAppId) throws ApiException { + com.squareup.okhttp.Call call = deleteUsingDELETEValidateBeforeCall(anyStateAppId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -158,7 +158,7 @@ public ApiResponse deleteUsingDELETE1WithHttpInfo(Lo * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteUsingDELETE1Async(Long anyStateAppId, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteUsingDELETEAsync(Long anyStateAppId, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -179,19 +179,19 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteUsingDELETE1ValidateBeforeCall(anyStateAppId, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteUsingDELETEValidateBeforeCall(anyStateAppId, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getAppTypesUsingGET1 + * Build call for getAppTypesUsingGET * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getAppTypesUsingGET1Call(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getAppTypesUsingGETCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -233,9 +233,9 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getAppTypesUsingGET1ValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getAppTypesUsingGETValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = getAppTypesUsingGET1Call(progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getAppTypesUsingGETCall(progressListener, progressRequestListener); return call; @@ -250,8 +250,8 @@ private com.squareup.okhttp.Call getAppTypesUsingGET1ValidateBeforeCall(final Pr * @return AppTypesResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AppTypesResponse getAppTypesUsingGET1() throws ApiException { - ApiResponse resp = getAppTypesUsingGET1WithHttpInfo(); + public AppTypesResponse getAppTypesUsingGET() throws ApiException { + ApiResponse resp = getAppTypesUsingGETWithHttpInfo(); return resp.getData(); } @@ -261,8 +261,8 @@ public AppTypesResponse getAppTypesUsingGET1() throws ApiException { * @return ApiResponse<AppTypesResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getAppTypesUsingGET1WithHttpInfo() throws ApiException { - com.squareup.okhttp.Call call = getAppTypesUsingGET1ValidateBeforeCall(null, null); + public ApiResponse getAppTypesUsingGETWithHttpInfo() throws ApiException { + com.squareup.okhttp.Call call = getAppTypesUsingGETValidateBeforeCall(null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -274,7 +274,7 @@ public ApiResponse getAppTypesUsingGET1WithHttpInfo() throws A * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getAppTypesUsingGET1Async(final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getAppTypesUsingGETAsync(final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -295,20 +295,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getAppTypesUsingGET1ValidateBeforeCall(progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getAppTypesUsingGETValidateBeforeCall(progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getUsingGET1 + * Build call for getUsingGET * @param anyStateAppId anyStateAppId (required) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getUsingGET1Call(Long anyStateAppId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getUsingGETCall(Long anyStateAppId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -351,13 +351,13 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getUsingGET1ValidateBeforeCall(Long anyStateAppId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getUsingGETValidateBeforeCall(Long anyStateAppId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'anyStateAppId' is set if (anyStateAppId == null) { - throw new ApiException("Missing the required parameter 'anyStateAppId' when calling getUsingGET1(Async)"); + throw new ApiException("Missing the required parameter 'anyStateAppId' when calling getUsingGET(Async)"); } - com.squareup.okhttp.Call call = getUsingGET1Call(anyStateAppId, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getUsingGETCall(anyStateAppId, progressListener, progressRequestListener); return call; @@ -373,8 +373,8 @@ private com.squareup.okhttp.Call getUsingGET1ValidateBeforeCall(Long anyStateApp * @return AppResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AppResponse getUsingGET1(Long anyStateAppId) throws ApiException { - ApiResponse resp = getUsingGET1WithHttpInfo(anyStateAppId); + public AppResponse getUsingGET(Long anyStateAppId) throws ApiException { + ApiResponse resp = getUsingGETWithHttpInfo(anyStateAppId); return resp.getData(); } @@ -385,8 +385,8 @@ public AppResponse getUsingGET1(Long anyStateAppId) throws ApiException { * @return ApiResponse<AppResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getUsingGET1WithHttpInfo(Long anyStateAppId) throws ApiException { - com.squareup.okhttp.Call call = getUsingGET1ValidateBeforeCall(anyStateAppId, null, null); + public ApiResponse getUsingGETWithHttpInfo(Long anyStateAppId) throws ApiException { + com.squareup.okhttp.Call call = getUsingGETValidateBeforeCall(anyStateAppId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -399,7 +399,7 @@ public ApiResponse getUsingGET1WithHttpInfo(Long anyStateAppId) thr * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getUsingGET1Async(Long anyStateAppId, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getUsingGETAsync(Long anyStateAppId, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -420,20 +420,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getUsingGET1ValidateBeforeCall(anyStateAppId, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getUsingGETValidateBeforeCall(anyStateAppId, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for inviteAppGuestsUsingPOST1 + * Build call for inviteAppGuestsUsingPOST * @param body For `app` and `apps` fields only `id` needs to be populated.Other fields can be left empty or with default values (required) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call inviteAppGuestsUsingPOST1Call(Invitation body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call inviteAppGuestsUsingPOSTCall(Invitation body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -475,13 +475,13 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call inviteAppGuestsUsingPOST1ValidateBeforeCall(Invitation body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call inviteAppGuestsUsingPOSTValidateBeforeCall(Invitation body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling inviteAppGuestsUsingPOST1(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling inviteAppGuestsUsingPOST(Async)"); } - com.squareup.okhttp.Call call = inviteAppGuestsUsingPOST1Call(body, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = inviteAppGuestsUsingPOSTCall(body, progressListener, progressRequestListener); return call; @@ -497,8 +497,8 @@ private com.squareup.okhttp.Call inviteAppGuestsUsingPOST1ValidateBeforeCall(Inv * @return GenericMapBasedApiResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public GenericMapBasedApiResponse inviteAppGuestsUsingPOST1(Invitation body) throws ApiException { - ApiResponse resp = inviteAppGuestsUsingPOST1WithHttpInfo(body); + public GenericMapBasedApiResponse inviteAppGuestsUsingPOST(Invitation body) throws ApiException { + ApiResponse resp = inviteAppGuestsUsingPOSTWithHttpInfo(body); return resp.getData(); } @@ -509,8 +509,8 @@ public GenericMapBasedApiResponse inviteAppGuestsUsingPOST1(Invitation body) thr * @return ApiResponse<GenericMapBasedApiResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse inviteAppGuestsUsingPOST1WithHttpInfo(Invitation body) throws ApiException { - com.squareup.okhttp.Call call = inviteAppGuestsUsingPOST1ValidateBeforeCall(body, null, null); + public ApiResponse inviteAppGuestsUsingPOSTWithHttpInfo(Invitation body) throws ApiException { + com.squareup.okhttp.Call call = inviteAppGuestsUsingPOSTValidateBeforeCall(body, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -523,7 +523,7 @@ public ApiResponse inviteAppGuestsUsingPOST1WithHttp * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call inviteAppGuestsUsingPOST1Async(Invitation body, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call inviteAppGuestsUsingPOSTAsync(Invitation body, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -544,19 +544,19 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = inviteAppGuestsUsingPOST1ValidateBeforeCall(body, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = inviteAppGuestsUsingPOSTValidateBeforeCall(body, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for listAppsUsersUsingGET1 + * Build call for listAppsUsersUsingGET * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listAppsUsersUsingGET1Call(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listAppsUsersUsingGETCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -598,9 +598,9 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listAppsUsersUsingGET1ValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listAppsUsersUsingGETValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listAppsUsersUsingGET1Call(progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listAppsUsersUsingGETCall(progressListener, progressRequestListener); return call; @@ -615,8 +615,8 @@ private com.squareup.okhttp.Call listAppsUsersUsingGET1ValidateBeforeCall(final * @return AppsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AppsResponse listAppsUsersUsingGET1() throws ApiException { - ApiResponse resp = listAppsUsersUsingGET1WithHttpInfo(); + public AppsResponse listAppsUsersUsingGET() throws ApiException { + ApiResponse resp = listAppsUsersUsingGETWithHttpInfo(); return resp.getData(); } @@ -626,8 +626,8 @@ public AppsResponse listAppsUsersUsingGET1() throws ApiException { * @return ApiResponse<AppsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listAppsUsersUsingGET1WithHttpInfo() throws ApiException { - com.squareup.okhttp.Call call = listAppsUsersUsingGET1ValidateBeforeCall(null, null); + public ApiResponse listAppsUsersUsingGETWithHttpInfo() throws ApiException { + com.squareup.okhttp.Call call = listAppsUsersUsingGETValidateBeforeCall(null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -639,7 +639,7 @@ public ApiResponse listAppsUsersUsingGET1WithHttpInfo() throws Api * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listAppsUsersUsingGET1Async(final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listAppsUsersUsingGETAsync(final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -660,7 +660,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listAppsUsersUsingGET1ValidateBeforeCall(progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listAppsUsersUsingGETValidateBeforeCall(progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -911,7 +911,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don return call; } /** - * Build call for updateUsingPUT3 + * Build call for updateUsingPUT2 * @param body dto (required) * @param anyStateAppId App Id (required) * @param progressListener Progress listener @@ -919,7 +919,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call updateUsingPUT3Call(UpdateAppInfo body, Long anyStateAppId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call updateUsingPUT2Call(UpdateAppInfo body, Long anyStateAppId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -962,17 +962,17 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call updateUsingPUT3ValidateBeforeCall(UpdateAppInfo body, Long anyStateAppId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call updateUsingPUT2ValidateBeforeCall(UpdateAppInfo body, Long anyStateAppId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling updateUsingPUT3(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling updateUsingPUT2(Async)"); } // verify the required parameter 'anyStateAppId' is set if (anyStateAppId == null) { - throw new ApiException("Missing the required parameter 'anyStateAppId' when calling updateUsingPUT3(Async)"); + throw new ApiException("Missing the required parameter 'anyStateAppId' when calling updateUsingPUT2(Async)"); } - com.squareup.okhttp.Call call = updateUsingPUT3Call(body, anyStateAppId, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = updateUsingPUT2Call(body, anyStateAppId, progressListener, progressRequestListener); return call; @@ -989,8 +989,8 @@ private com.squareup.okhttp.Call updateUsingPUT3ValidateBeforeCall(UpdateAppInfo * @return AppResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AppResponse updateUsingPUT3(UpdateAppInfo body, Long anyStateAppId) throws ApiException { - ApiResponse resp = updateUsingPUT3WithHttpInfo(body, anyStateAppId); + public AppResponse updateUsingPUT2(UpdateAppInfo body, Long anyStateAppId) throws ApiException { + ApiResponse resp = updateUsingPUT2WithHttpInfo(body, anyStateAppId); return resp.getData(); } @@ -1002,8 +1002,8 @@ public AppResponse updateUsingPUT3(UpdateAppInfo body, Long anyStateAppId) throw * @return ApiResponse<AppResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse updateUsingPUT3WithHttpInfo(UpdateAppInfo body, Long anyStateAppId) throws ApiException { - com.squareup.okhttp.Call call = updateUsingPUT3ValidateBeforeCall(body, anyStateAppId, null, null); + public ApiResponse updateUsingPUT2WithHttpInfo(UpdateAppInfo body, Long anyStateAppId) throws ApiException { + com.squareup.okhttp.Call call = updateUsingPUT2ValidateBeforeCall(body, anyStateAppId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -1017,7 +1017,7 @@ public ApiResponse updateUsingPUT3WithHttpInfo(UpdateAppInfo body, * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call updateUsingPUT3Async(UpdateAppInfo body, Long anyStateAppId, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call updateUsingPUT2Async(UpdateAppInfo body, Long anyStateAppId, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1038,7 +1038,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = updateUsingPUT3ValidateBeforeCall(body, anyStateAppId, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = updateUsingPUT2ValidateBeforeCall(body, anyStateAppId, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; diff --git a/src/main/java/com/sematext/cloud/client/BillingApi.java b/src/main/java/com/sematext/cloud/client/BillingApi.java index d2bf1c5..c3f31bd 100644 --- a/src/main/java/com/sematext/cloud/client/BillingApi.java +++ b/src/main/java/com/sematext/cloud/client/BillingApi.java @@ -200,7 +200,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don return call; } /** - * Build call for listAvailablePlansUsingGET + * Build call for listAvailablePlansUsingGET1 * @param integrationId integrationId (optional) * @param appType appType (optional) * @param progressListener Progress listener @@ -208,7 +208,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listAvailablePlansUsingGETCall(Long integrationId, String appType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listAvailablePlansUsingGET1Call(Long integrationId, String appType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -254,9 +254,9 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listAvailablePlansUsingGETValidateBeforeCall(Long integrationId, String appType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listAvailablePlansUsingGET1ValidateBeforeCall(Long integrationId, String appType, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listAvailablePlansUsingGETCall(integrationId, appType, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listAvailablePlansUsingGET1Call(integrationId, appType, progressListener, progressRequestListener); return call; @@ -273,8 +273,8 @@ private com.squareup.okhttp.Call listAvailablePlansUsingGETValidateBeforeCall(Lo * @return PlansResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public PlansResponse listAvailablePlansUsingGET(Long integrationId, String appType) throws ApiException { - ApiResponse resp = listAvailablePlansUsingGETWithHttpInfo(integrationId, appType); + public PlansResponse listAvailablePlansUsingGET1(Long integrationId, String appType) throws ApiException { + ApiResponse resp = listAvailablePlansUsingGET1WithHttpInfo(integrationId, appType); return resp.getData(); } @@ -286,8 +286,8 @@ public PlansResponse listAvailablePlansUsingGET(Long integrationId, String appTy * @return ApiResponse<PlansResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listAvailablePlansUsingGETWithHttpInfo(Long integrationId, String appType) throws ApiException { - com.squareup.okhttp.Call call = listAvailablePlansUsingGETValidateBeforeCall(integrationId, appType, null, null); + public ApiResponse listAvailablePlansUsingGET1WithHttpInfo(Long integrationId, String appType) throws ApiException { + com.squareup.okhttp.Call call = listAvailablePlansUsingGET1ValidateBeforeCall(integrationId, appType, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -301,7 +301,7 @@ public ApiResponse listAvailablePlansUsingGETWithHttpInfo(Long in * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listAvailablePlansUsingGETAsync(Long integrationId, String appType, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listAvailablePlansUsingGET1Async(Long integrationId, String appType, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -322,7 +322,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listAvailablePlansUsingGETValidateBeforeCall(integrationId, appType, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listAvailablePlansUsingGET1ValidateBeforeCall(integrationId, appType, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; diff --git a/src/main/java/com/sematext/cloud/client/MonitoringAppApi.java b/src/main/java/com/sematext/cloud/client/MonitoringAppApi.java index 1912ab5..25e7687 100644 --- a/src/main/java/com/sematext/cloud/client/MonitoringAppApi.java +++ b/src/main/java/com/sematext/cloud/client/MonitoringAppApi.java @@ -55,14 +55,14 @@ public void setApiClient(ApiClient apiClient) { } /** - * Build call for createSpmApplication1 + * Build call for createSpmApplication * @param body Details of the application to be created (required) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call createSpmApplication1Call(CreateAppInfo body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call createSpmApplicationCall(CreateAppInfo body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -104,13 +104,13 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call createSpmApplication1ValidateBeforeCall(CreateAppInfo body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call createSpmApplicationValidateBeforeCall(CreateAppInfo body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling createSpmApplication1(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling createSpmApplication(Async)"); } - com.squareup.okhttp.Call call = createSpmApplication1Call(body, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = createSpmApplicationCall(body, progressListener, progressRequestListener); return call; @@ -126,8 +126,8 @@ private com.squareup.okhttp.Call createSpmApplication1ValidateBeforeCall(CreateA * @return AppsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AppsResponse createSpmApplication1(CreateAppInfo body) throws ApiException { - ApiResponse resp = createSpmApplication1WithHttpInfo(body); + public AppsResponse createSpmApplication(CreateAppInfo body) throws ApiException { + ApiResponse resp = createSpmApplicationWithHttpInfo(body); return resp.getData(); } @@ -138,8 +138,8 @@ public AppsResponse createSpmApplication1(CreateAppInfo body) throws ApiExceptio * @return ApiResponse<AppsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse createSpmApplication1WithHttpInfo(CreateAppInfo body) throws ApiException { - com.squareup.okhttp.Call call = createSpmApplication1ValidateBeforeCall(body, null, null); + public ApiResponse createSpmApplicationWithHttpInfo(CreateAppInfo body) throws ApiException { + com.squareup.okhttp.Call call = createSpmApplicationValidateBeforeCall(body, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -152,7 +152,7 @@ public ApiResponse createSpmApplication1WithHttpInfo(CreateAppInfo * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call createSpmApplication1Async(CreateAppInfo body, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call createSpmApplicationAsync(CreateAppInfo body, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -173,7 +173,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = createSpmApplication1ValidateBeforeCall(body, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = createSpmApplicationValidateBeforeCall(body, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; diff --git a/src/main/java/com/sematext/cloud/client/SubscriptionsApi.java b/src/main/java/com/sematext/cloud/client/SubscriptionsApi.java index 17df052..f3450bd 100644 --- a/src/main/java/com/sematext/cloud/client/SubscriptionsApi.java +++ b/src/main/java/com/sematext/cloud/client/SubscriptionsApi.java @@ -61,7 +61,7 @@ public void setApiClient(ApiClient apiClient) { } /** - * Build call for createForAppUsingPOST1 + * Build call for createForAppUsingPOST * @param body subscription (required) * @param appId appId (required) * @param progressListener Progress listener @@ -69,7 +69,7 @@ public void setApiClient(ApiClient apiClient) { * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call createForAppUsingPOST1Call(SubscriptionDto body, Long appId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call createForAppUsingPOSTCall(SubscriptionDto body, Long appId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -112,17 +112,17 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call createForAppUsingPOST1ValidateBeforeCall(SubscriptionDto body, Long appId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call createForAppUsingPOSTValidateBeforeCall(SubscriptionDto body, Long appId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling createForAppUsingPOST1(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling createForAppUsingPOST(Async)"); } // verify the required parameter 'appId' is set if (appId == null) { - throw new ApiException("Missing the required parameter 'appId' when calling createForAppUsingPOST1(Async)"); + throw new ApiException("Missing the required parameter 'appId' when calling createForAppUsingPOST(Async)"); } - com.squareup.okhttp.Call call = createForAppUsingPOST1Call(body, appId, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = createForAppUsingPOSTCall(body, appId, progressListener, progressRequestListener); return call; @@ -139,8 +139,8 @@ private com.squareup.okhttp.Call createForAppUsingPOST1ValidateBeforeCall(Subscr * @return SubscriptionResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public SubscriptionResponse createForAppUsingPOST1(SubscriptionDto body, Long appId) throws ApiException { - ApiResponse resp = createForAppUsingPOST1WithHttpInfo(body, appId); + public SubscriptionResponse createForAppUsingPOST(SubscriptionDto body, Long appId) throws ApiException { + ApiResponse resp = createForAppUsingPOSTWithHttpInfo(body, appId); return resp.getData(); } @@ -152,8 +152,8 @@ public SubscriptionResponse createForAppUsingPOST1(SubscriptionDto body, Long ap * @return ApiResponse<SubscriptionResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse createForAppUsingPOST1WithHttpInfo(SubscriptionDto body, Long appId) throws ApiException { - com.squareup.okhttp.Call call = createForAppUsingPOST1ValidateBeforeCall(body, appId, null, null); + public ApiResponse createForAppUsingPOSTWithHttpInfo(SubscriptionDto body, Long appId) throws ApiException { + com.squareup.okhttp.Call call = createForAppUsingPOSTValidateBeforeCall(body, appId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -167,7 +167,7 @@ public ApiResponse createForAppUsingPOST1WithHttpInfo(Subs * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call createForAppUsingPOST1Async(SubscriptionDto body, Long appId, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call createForAppUsingPOSTAsync(SubscriptionDto body, Long appId, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -188,13 +188,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = createForAppUsingPOST1ValidateBeforeCall(body, appId, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = createForAppUsingPOSTValidateBeforeCall(body, appId, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for createForDashUsingPOST + * Build call for createForDashUsingPOST1 * @param body subscription (required) * @param dashId dashId (required) * @param progressListener Progress listener @@ -202,7 +202,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call createForDashUsingPOSTCall(SubscriptionDashboardDto body, Long dashId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call createForDashUsingPOST1Call(SubscriptionDashboardDto body, Long dashId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -245,17 +245,17 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call createForDashUsingPOSTValidateBeforeCall(SubscriptionDashboardDto body, Long dashId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call createForDashUsingPOST1ValidateBeforeCall(SubscriptionDashboardDto body, Long dashId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling createForDashUsingPOST(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling createForDashUsingPOST1(Async)"); } // verify the required parameter 'dashId' is set if (dashId == null) { - throw new ApiException("Missing the required parameter 'dashId' when calling createForDashUsingPOST(Async)"); + throw new ApiException("Missing the required parameter 'dashId' when calling createForDashUsingPOST1(Async)"); } - com.squareup.okhttp.Call call = createForDashUsingPOSTCall(body, dashId, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = createForDashUsingPOST1Call(body, dashId, progressListener, progressRequestListener); return call; @@ -272,8 +272,8 @@ private com.squareup.okhttp.Call createForDashUsingPOSTValidateBeforeCall(Subscr * @return SubscriptionResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public SubscriptionResponse createForDashUsingPOST(SubscriptionDashboardDto body, Long dashId) throws ApiException { - ApiResponse resp = createForDashUsingPOSTWithHttpInfo(body, dashId); + public SubscriptionResponse createForDashUsingPOST1(SubscriptionDashboardDto body, Long dashId) throws ApiException { + ApiResponse resp = createForDashUsingPOST1WithHttpInfo(body, dashId); return resp.getData(); } @@ -285,8 +285,8 @@ public SubscriptionResponse createForDashUsingPOST(SubscriptionDashboardDto body * @return ApiResponse<SubscriptionResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse createForDashUsingPOSTWithHttpInfo(SubscriptionDashboardDto body, Long dashId) throws ApiException { - com.squareup.okhttp.Call call = createForDashUsingPOSTValidateBeforeCall(body, dashId, null, null); + public ApiResponse createForDashUsingPOST1WithHttpInfo(SubscriptionDashboardDto body, Long dashId) throws ApiException { + com.squareup.okhttp.Call call = createForDashUsingPOST1ValidateBeforeCall(body, dashId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -300,7 +300,7 @@ public ApiResponse createForDashUsingPOSTWithHttpInfo(Subs * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call createForDashUsingPOSTAsync(SubscriptionDashboardDto body, Long dashId, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call createForDashUsingPOST1Async(SubscriptionDashboardDto body, Long dashId, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -321,7 +321,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = createForDashUsingPOSTValidateBeforeCall(body, dashId, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = createForDashUsingPOST1ValidateBeforeCall(body, dashId, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -452,14 +452,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don return call; } /** - * Build call for listUsingGET2 + * Build call for listUsingGET3 * @param appId appId (required) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listUsingGET2Call(Long appId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listUsingGET3Call(Long appId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -502,13 +502,13 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listUsingGET2ValidateBeforeCall(Long appId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listUsingGET3ValidateBeforeCall(Long appId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'appId' is set if (appId == null) { - throw new ApiException("Missing the required parameter 'appId' when calling listUsingGET2(Async)"); + throw new ApiException("Missing the required parameter 'appId' when calling listUsingGET3(Async)"); } - com.squareup.okhttp.Call call = listUsingGET2Call(appId, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listUsingGET3Call(appId, progressListener, progressRequestListener); return call; @@ -524,8 +524,8 @@ private com.squareup.okhttp.Call listUsingGET2ValidateBeforeCall(Long appId, fin * @return SubscriptionsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public SubscriptionsResponse listUsingGET2(Long appId) throws ApiException { - ApiResponse resp = listUsingGET2WithHttpInfo(appId); + public SubscriptionsResponse listUsingGET3(Long appId) throws ApiException { + ApiResponse resp = listUsingGET3WithHttpInfo(appId); return resp.getData(); } @@ -536,8 +536,8 @@ public SubscriptionsResponse listUsingGET2(Long appId) throws ApiException { * @return ApiResponse<SubscriptionsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listUsingGET2WithHttpInfo(Long appId) throws ApiException { - com.squareup.okhttp.Call call = listUsingGET2ValidateBeforeCall(appId, null, null); + public ApiResponse listUsingGET3WithHttpInfo(Long appId) throws ApiException { + com.squareup.okhttp.Call call = listUsingGET3ValidateBeforeCall(appId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -550,7 +550,7 @@ public ApiResponse listUsingGET2WithHttpInfo(Long appId) * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listUsingGET2Async(Long appId, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listUsingGET3Async(Long appId, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -571,7 +571,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listUsingGET2ValidateBeforeCall(appId, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listUsingGET3ValidateBeforeCall(appId, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -693,7 +693,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don return call; } /** - * Build call for sendAppReportUsingPOST1 + * Build call for sendAppReportUsingPOST * @param body emailDto (required) * @param appId appId (required) * @param progressListener Progress listener @@ -701,7 +701,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call sendAppReportUsingPOST1Call(ReportInfo body, Long appId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call sendAppReportUsingPOSTCall(ReportInfo body, Long appId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -744,17 +744,17 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call sendAppReportUsingPOST1ValidateBeforeCall(ReportInfo body, Long appId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call sendAppReportUsingPOSTValidateBeforeCall(ReportInfo body, Long appId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling sendAppReportUsingPOST1(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling sendAppReportUsingPOST(Async)"); } // verify the required parameter 'appId' is set if (appId == null) { - throw new ApiException("Missing the required parameter 'appId' when calling sendAppReportUsingPOST1(Async)"); + throw new ApiException("Missing the required parameter 'appId' when calling sendAppReportUsingPOST(Async)"); } - com.squareup.okhttp.Call call = sendAppReportUsingPOST1Call(body, appId, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = sendAppReportUsingPOSTCall(body, appId, progressListener, progressRequestListener); return call; @@ -771,8 +771,8 @@ private com.squareup.okhttp.Call sendAppReportUsingPOST1ValidateBeforeCall(Repor * @return MailReportResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public MailReportResponse sendAppReportUsingPOST1(ReportInfo body, Long appId) throws ApiException { - ApiResponse resp = sendAppReportUsingPOST1WithHttpInfo(body, appId); + public MailReportResponse sendAppReportUsingPOST(ReportInfo body, Long appId) throws ApiException { + ApiResponse resp = sendAppReportUsingPOSTWithHttpInfo(body, appId); return resp.getData(); } @@ -784,8 +784,8 @@ public MailReportResponse sendAppReportUsingPOST1(ReportInfo body, Long appId) t * @return ApiResponse<MailReportResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse sendAppReportUsingPOST1WithHttpInfo(ReportInfo body, Long appId) throws ApiException { - com.squareup.okhttp.Call call = sendAppReportUsingPOST1ValidateBeforeCall(body, appId, null, null); + public ApiResponse sendAppReportUsingPOSTWithHttpInfo(ReportInfo body, Long appId) throws ApiException { + com.squareup.okhttp.Call call = sendAppReportUsingPOSTValidateBeforeCall(body, appId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -799,7 +799,7 @@ public ApiResponse sendAppReportUsingPOST1WithHttpInfo(Repor * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call sendAppReportUsingPOST1Async(ReportInfo body, Long appId, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call sendAppReportUsingPOSTAsync(ReportInfo body, Long appId, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -820,7 +820,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = sendAppReportUsingPOST1ValidateBeforeCall(body, appId, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = sendAppReportUsingPOSTValidateBeforeCall(body, appId, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; diff --git a/src/main/java/com/sematext/cloud/client/TagApiControllerApi.java b/src/main/java/com/sematext/cloud/client/TagApiControllerApi.java index 79bee0e..0121695 100644 --- a/src/main/java/com/sematext/cloud/client/TagApiControllerApi.java +++ b/src/main/java/com/sematext/cloud/client/TagApiControllerApi.java @@ -216,7 +216,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don return call; } /** - * Build call for getUsingGET2 + * Build call for getUsingGET * @param appIds appIds (required) * @param tag tag (required) * @param from from (optional) @@ -230,7 +230,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getUsingGET2Call(String appIds, List tag, Long from, Long to, Boolean metrics, Boolean logs, Boolean events, Boolean rum, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getUsingGETCall(String appIds, List tag, Long from, Long to, Boolean metrics, Boolean logs, Boolean events, Boolean rum, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -287,17 +287,17 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getUsingGET2ValidateBeforeCall(String appIds, List tag, Long from, Long to, Boolean metrics, Boolean logs, Boolean events, Boolean rum, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getUsingGETValidateBeforeCall(String appIds, List tag, Long from, Long to, Boolean metrics, Boolean logs, Boolean events, Boolean rum, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'appIds' is set if (appIds == null) { - throw new ApiException("Missing the required parameter 'appIds' when calling getUsingGET2(Async)"); + throw new ApiException("Missing the required parameter 'appIds' when calling getUsingGET(Async)"); } // verify the required parameter 'tag' is set if (tag == null) { - throw new ApiException("Missing the required parameter 'tag' when calling getUsingGET2(Async)"); + throw new ApiException("Missing the required parameter 'tag' when calling getUsingGET(Async)"); } - com.squareup.okhttp.Call call = getUsingGET2Call(appIds, tag, from, to, metrics, logs, events, rum, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getUsingGETCall(appIds, tag, from, to, metrics, logs, events, rum, progressListener, progressRequestListener); return call; @@ -320,8 +320,8 @@ private com.squareup.okhttp.Call getUsingGET2ValidateBeforeCall(String appIds, L * @return Map<String, Dimension> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public Map getUsingGET2(String appIds, List tag, Long from, Long to, Boolean metrics, Boolean logs, Boolean events, Boolean rum) throws ApiException { - ApiResponse> resp = getUsingGET2WithHttpInfo(appIds, tag, from, to, metrics, logs, events, rum); + public Map getUsingGET(String appIds, List tag, Long from, Long to, Boolean metrics, Boolean logs, Boolean events, Boolean rum) throws ApiException { + ApiResponse> resp = getUsingGETWithHttpInfo(appIds, tag, from, to, metrics, logs, events, rum); return resp.getData(); } @@ -339,8 +339,8 @@ public Map getUsingGET2(String appIds, List tag, Long * @return ApiResponse<Map<String, Dimension>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse> getUsingGET2WithHttpInfo(String appIds, List tag, Long from, Long to, Boolean metrics, Boolean logs, Boolean events, Boolean rum) throws ApiException { - com.squareup.okhttp.Call call = getUsingGET2ValidateBeforeCall(appIds, tag, from, to, metrics, logs, events, rum, null, null); + public ApiResponse> getUsingGETWithHttpInfo(String appIds, List tag, Long from, Long to, Boolean metrics, Boolean logs, Boolean events, Boolean rum) throws ApiException { + com.squareup.okhttp.Call call = getUsingGETValidateBeforeCall(appIds, tag, from, to, metrics, logs, events, rum, null, null); Type localVarReturnType = new TypeToken>(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -360,7 +360,7 @@ public ApiResponse> getUsingGET2WithHttpInfo(String appId * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getUsingGET2Async(String appIds, List tag, Long from, Long to, Boolean metrics, Boolean logs, Boolean events, Boolean rum, final ApiCallback> callback) throws ApiException { + public com.squareup.okhttp.Call getUsingGETAsync(String appIds, List tag, Long from, Long to, Boolean metrics, Boolean logs, Boolean events, Boolean rum, final ApiCallback> callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -381,7 +381,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getUsingGET2ValidateBeforeCall(appIds, tag, from, to, metrics, logs, events, rum, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getUsingGETValidateBeforeCall(appIds, tag, from, to, metrics, logs, events, rum, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken>(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; diff --git a/src/main/java/com/sematext/cloud/client/TokensApiControllerApi.java b/src/main/java/com/sematext/cloud/client/TokensApiControllerApi.java index c251206..bb36191 100644 --- a/src/main/java/com/sematext/cloud/client/TokensApiControllerApi.java +++ b/src/main/java/com/sematext/cloud/client/TokensApiControllerApi.java @@ -58,7 +58,7 @@ public void setApiClient(ApiClient apiClient) { } /** - * Build call for createAppToken + * Build call for createAppToken1 * @param body dto (required) * @param appId appId (required) * @param progressListener Progress listener @@ -66,7 +66,7 @@ public void setApiClient(ApiClient apiClient) { * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call createAppTokenCall(CreateTokenDto body, Long appId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call createAppToken1Call(CreateTokenDto body, Long appId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -109,17 +109,17 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call createAppTokenValidateBeforeCall(CreateTokenDto body, Long appId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call createAppToken1ValidateBeforeCall(CreateTokenDto body, Long appId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling createAppToken(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling createAppToken1(Async)"); } // verify the required parameter 'appId' is set if (appId == null) { - throw new ApiException("Missing the required parameter 'appId' when calling createAppToken(Async)"); + throw new ApiException("Missing the required parameter 'appId' when calling createAppToken1(Async)"); } - com.squareup.okhttp.Call call = createAppTokenCall(body, appId, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = createAppToken1Call(body, appId, progressListener, progressRequestListener); return call; @@ -136,8 +136,8 @@ private com.squareup.okhttp.Call createAppTokenValidateBeforeCall(CreateTokenDto * @return TokenResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public TokenResponse createAppToken(CreateTokenDto body, Long appId) throws ApiException { - ApiResponse resp = createAppTokenWithHttpInfo(body, appId); + public TokenResponse createAppToken1(CreateTokenDto body, Long appId) throws ApiException { + ApiResponse resp = createAppToken1WithHttpInfo(body, appId); return resp.getData(); } @@ -149,8 +149,8 @@ public TokenResponse createAppToken(CreateTokenDto body, Long appId) throws ApiE * @return ApiResponse<TokenResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse createAppTokenWithHttpInfo(CreateTokenDto body, Long appId) throws ApiException { - com.squareup.okhttp.Call call = createAppTokenValidateBeforeCall(body, appId, null, null); + public ApiResponse createAppToken1WithHttpInfo(CreateTokenDto body, Long appId) throws ApiException { + com.squareup.okhttp.Call call = createAppToken1ValidateBeforeCall(body, appId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -164,7 +164,7 @@ public ApiResponse createAppTokenWithHttpInfo(CreateTokenDto body * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call createAppTokenAsync(CreateTokenDto body, Long appId, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call createAppToken1Async(CreateTokenDto body, Long appId, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -185,7 +185,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = createAppTokenValidateBeforeCall(body, appId, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = createAppToken1ValidateBeforeCall(body, appId, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -325,14 +325,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don return call; } /** - * Build call for getAppTokens1 + * Build call for getAppTokens * @param appId appId (required) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getAppTokens1Call(Long appId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getAppTokensCall(Long appId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -375,13 +375,13 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getAppTokens1ValidateBeforeCall(Long appId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getAppTokensValidateBeforeCall(Long appId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'appId' is set if (appId == null) { - throw new ApiException("Missing the required parameter 'appId' when calling getAppTokens1(Async)"); + throw new ApiException("Missing the required parameter 'appId' when calling getAppTokens(Async)"); } - com.squareup.okhttp.Call call = getAppTokens1Call(appId, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getAppTokensCall(appId, progressListener, progressRequestListener); return call; @@ -397,8 +397,8 @@ private com.squareup.okhttp.Call getAppTokens1ValidateBeforeCall(Long appId, fin * @return TokensResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public TokensResponse getAppTokens1(Long appId) throws ApiException { - ApiResponse resp = getAppTokens1WithHttpInfo(appId); + public TokensResponse getAppTokens(Long appId) throws ApiException { + ApiResponse resp = getAppTokensWithHttpInfo(appId); return resp.getData(); } @@ -409,8 +409,8 @@ public TokensResponse getAppTokens1(Long appId) throws ApiException { * @return ApiResponse<TokensResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getAppTokens1WithHttpInfo(Long appId) throws ApiException { - com.squareup.okhttp.Call call = getAppTokens1ValidateBeforeCall(appId, null, null); + public ApiResponse getAppTokensWithHttpInfo(Long appId) throws ApiException { + com.squareup.okhttp.Call call = getAppTokensValidateBeforeCall(appId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -423,7 +423,7 @@ public ApiResponse getAppTokens1WithHttpInfo(Long appId) throws * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getAppTokens1Async(Long appId, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getAppTokensAsync(Long appId, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -444,7 +444,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getAppTokens1ValidateBeforeCall(appId, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getAppTokensValidateBeforeCall(appId, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -584,7 +584,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don return call; } /** - * Build call for updateAppToken + * Build call for updateAppToken1 * @param body dto (required) * @param appId appId (required) * @param tokenId tokenId (required) @@ -593,7 +593,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call updateAppTokenCall(UpdateTokenDto body, Long appId, Long tokenId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call updateAppToken1Call(UpdateTokenDto body, Long appId, Long tokenId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -637,21 +637,21 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call updateAppTokenValidateBeforeCall(UpdateTokenDto body, Long appId, Long tokenId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call updateAppToken1ValidateBeforeCall(UpdateTokenDto body, Long appId, Long tokenId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling updateAppToken(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling updateAppToken1(Async)"); } // verify the required parameter 'appId' is set if (appId == null) { - throw new ApiException("Missing the required parameter 'appId' when calling updateAppToken(Async)"); + throw new ApiException("Missing the required parameter 'appId' when calling updateAppToken1(Async)"); } // verify the required parameter 'tokenId' is set if (tokenId == null) { - throw new ApiException("Missing the required parameter 'tokenId' when calling updateAppToken(Async)"); + throw new ApiException("Missing the required parameter 'tokenId' when calling updateAppToken1(Async)"); } - com.squareup.okhttp.Call call = updateAppTokenCall(body, appId, tokenId, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = updateAppToken1Call(body, appId, tokenId, progressListener, progressRequestListener); return call; @@ -669,8 +669,8 @@ private com.squareup.okhttp.Call updateAppTokenValidateBeforeCall(UpdateTokenDto * @return TokenResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public TokenResponse updateAppToken(UpdateTokenDto body, Long appId, Long tokenId) throws ApiException { - ApiResponse resp = updateAppTokenWithHttpInfo(body, appId, tokenId); + public TokenResponse updateAppToken1(UpdateTokenDto body, Long appId, Long tokenId) throws ApiException { + ApiResponse resp = updateAppToken1WithHttpInfo(body, appId, tokenId); return resp.getData(); } @@ -683,8 +683,8 @@ public TokenResponse updateAppToken(UpdateTokenDto body, Long appId, Long tokenI * @return ApiResponse<TokenResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse updateAppTokenWithHttpInfo(UpdateTokenDto body, Long appId, Long tokenId) throws ApiException { - com.squareup.okhttp.Call call = updateAppTokenValidateBeforeCall(body, appId, tokenId, null, null); + public ApiResponse updateAppToken1WithHttpInfo(UpdateTokenDto body, Long appId, Long tokenId) throws ApiException { + com.squareup.okhttp.Call call = updateAppToken1ValidateBeforeCall(body, appId, tokenId, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -699,7 +699,7 @@ public ApiResponse updateAppTokenWithHttpInfo(UpdateTokenDto body * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call updateAppTokenAsync(UpdateTokenDto body, Long appId, Long tokenId, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call updateAppToken1Async(UpdateTokenDto body, Long appId, Long tokenId, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -720,7 +720,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = updateAppTokenValidateBeforeCall(body, appId, tokenId, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = updateAppToken1ValidateBeforeCall(body, appId, tokenId, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; diff --git a/src/main/java/com/sematext/cloud/model/AlertRule.java b/src/main/java/com/sematext/cloud/model/AlertRule.java index 9dd896e..f65e6b0 100644 --- a/src/main/java/com/sematext/cloud/model/AlertRule.java +++ b/src/main/java/com/sematext/cloud/model/AlertRule.java @@ -109,9 +109,9 @@ public String getValue() { public String toString() { return String.valueOf(value); } - public static EstimateOperationEnum fromValue(String text) { + public static EstimateOperationEnum fromValue(String input) { for (EstimateOperationEnum b : EstimateOperationEnum.values()) { - if (String.valueOf(b.value).equals(text)) { + if (b.value.equals(input)) { return b; } } @@ -120,13 +120,13 @@ public static EstimateOperationEnum fromValue(String text) { public static class Adapter extends TypeAdapter { @Override public void write(final JsonWriter jsonWriter, final EstimateOperationEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); + jsonWriter.value(String.valueOf(enumeration.getValue())); } @Override public EstimateOperationEnum read(final JsonReader jsonReader) throws IOException { Object value = jsonReader.nextString(); - return EstimateOperationEnum.fromValue(String.valueOf(value)); + return EstimateOperationEnum.fromValue((String)(value)); } } } @SerializedName("estimateOperation") diff --git a/src/main/java/com/sematext/cloud/model/AppMetadata.java b/src/main/java/com/sematext/cloud/model/AppMetadata.java index 05f2cd3..c584d86 100644 --- a/src/main/java/com/sematext/cloud/model/AppMetadata.java +++ b/src/main/java/com/sematext/cloud/model/AppMetadata.java @@ -57,9 +57,9 @@ public String getValue() { public String toString() { return String.valueOf(value); } - public static AwsFetchFrequencyEnum fromValue(String text) { + public static AwsFetchFrequencyEnum fromValue(String input) { for (AwsFetchFrequencyEnum b : AwsFetchFrequencyEnum.values()) { - if (String.valueOf(b.value).equals(text)) { + if (b.value.equals(input)) { return b; } } @@ -68,13 +68,13 @@ public static AwsFetchFrequencyEnum fromValue(String text) { public static class Adapter extends TypeAdapter { @Override public void write(final JsonWriter jsonWriter, final AwsFetchFrequencyEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); + jsonWriter.value(String.valueOf(enumeration.getValue())); } @Override public AwsFetchFrequencyEnum read(final JsonReader jsonReader) throws IOException { Object value = jsonReader.nextString(); - return AwsFetchFrequencyEnum.fromValue(String.valueOf(value)); + return AwsFetchFrequencyEnum.fromValue((String)(value)); } } } @SerializedName("awsFetchFrequency") @@ -115,9 +115,9 @@ public String getValue() { public String toString() { return String.valueOf(value); } - public static AwsRegionEnum fromValue(String text) { + public static AwsRegionEnum fromValue(String input) { for (AwsRegionEnum b : AwsRegionEnum.values()) { - if (String.valueOf(b.value).equals(text)) { + if (b.value.equals(input)) { return b; } } @@ -126,13 +126,13 @@ public static AwsRegionEnum fromValue(String text) { public static class Adapter extends TypeAdapter { @Override public void write(final JsonWriter jsonWriter, final AwsRegionEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); + jsonWriter.value(String.valueOf(enumeration.getValue())); } @Override public AwsRegionEnum read(final JsonReader jsonReader) throws IOException { Object value = jsonReader.nextString(); - return AwsRegionEnum.fromValue(String.valueOf(value)); + return AwsRegionEnum.fromValue((String)(value)); } } } @SerializedName("awsRegion") @@ -160,9 +160,9 @@ public String getValue() { public String toString() { return String.valueOf(value); } - public static SubTypesEnum fromValue(String text) { + public static SubTypesEnum fromValue(String input) { for (SubTypesEnum b : SubTypesEnum.values()) { - if (String.valueOf(b.value).equals(text)) { + if (b.value.equals(input)) { return b; } } @@ -171,13 +171,13 @@ public static SubTypesEnum fromValue(String text) { public static class Adapter extends TypeAdapter { @Override public void write(final JsonWriter jsonWriter, final SubTypesEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); + jsonWriter.value(String.valueOf(enumeration.getValue())); } @Override public SubTypesEnum read(final JsonReader jsonReader) throws IOException { Object value = jsonReader.nextString(); - return SubTypesEnum.fromValue(String.valueOf(value)); + return SubTypesEnum.fromValue((String)(value)); } } } @SerializedName("subTypes") diff --git a/src/main/java/com/sematext/cloud/model/BasicAuthMethodDto.java b/src/main/java/com/sematext/cloud/model/BasicAuthMethodDto.java index b2dbf5f..ca397d9 100644 --- a/src/main/java/com/sematext/cloud/model/BasicAuthMethodDto.java +++ b/src/main/java/com/sematext/cloud/model/BasicAuthMethodDto.java @@ -48,9 +48,9 @@ public String getValue() { public String toString() { return String.valueOf(value); } - public static AuthTypeEnum fromValue(String text) { + public static AuthTypeEnum fromValue(String input) { for (AuthTypeEnum b : AuthTypeEnum.values()) { - if (String.valueOf(b.value).equals(text)) { + if (b.value.equals(input)) { return b; } } @@ -59,13 +59,13 @@ public static AuthTypeEnum fromValue(String text) { public static class Adapter extends TypeAdapter { @Override public void write(final JsonWriter jsonWriter, final AuthTypeEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); + jsonWriter.value(String.valueOf(enumeration.getValue())); } @Override public AuthTypeEnum read(final JsonReader jsonReader) throws IOException { Object value = jsonReader.nextString(); - return AuthTypeEnum.fromValue(String.valueOf(value)); + return AuthTypeEnum.fromValue((String)(value)); } } } @SerializedName("authType") diff --git a/src/main/java/com/sematext/cloud/model/BasicOrganizationDto.java b/src/main/java/com/sematext/cloud/model/BasicOrganizationDto.java index c7729e0..0593730 100644 --- a/src/main/java/com/sematext/cloud/model/BasicOrganizationDto.java +++ b/src/main/java/com/sematext/cloud/model/BasicOrganizationDto.java @@ -61,9 +61,9 @@ public String getValue() { public String toString() { return String.valueOf(value); } - public static StatusEnum fromValue(String text) { + public static StatusEnum fromValue(String input) { for (StatusEnum b : StatusEnum.values()) { - if (String.valueOf(b.value).equals(text)) { + if (b.value.equals(input)) { return b; } } @@ -72,13 +72,13 @@ public static StatusEnum fromValue(String text) { public static class Adapter extends TypeAdapter { @Override public void write(final JsonWriter jsonWriter, final StatusEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); + jsonWriter.value(String.valueOf(enumeration.getValue())); } @Override public StatusEnum read(final JsonReader jsonReader) throws IOException { Object value = jsonReader.nextString(); - return StatusEnum.fromValue(String.valueOf(value)); + return StatusEnum.fromValue((String)(value)); } } } @SerializedName("status") diff --git a/src/main/java/com/sematext/cloud/model/ChargesDetailsResponseDto.java b/src/main/java/com/sematext/cloud/model/ChargesDetailsResponseDto.java index 98c73cd..6b493ce 100644 --- a/src/main/java/com/sematext/cloud/model/ChargesDetailsResponseDto.java +++ b/src/main/java/com/sematext/cloud/model/ChargesDetailsResponseDto.java @@ -59,9 +59,9 @@ public String getValue() { public String toString() { return String.valueOf(value); } - public static ChargeBaseEnum fromValue(String text) { + public static ChargeBaseEnum fromValue(String input) { for (ChargeBaseEnum b : ChargeBaseEnum.values()) { - if (String.valueOf(b.value).equals(text)) { + if (b.value.equals(input)) { return b; } } @@ -70,13 +70,13 @@ public static ChargeBaseEnum fromValue(String text) { public static class Adapter extends TypeAdapter { @Override public void write(final JsonWriter jsonWriter, final ChargeBaseEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); + jsonWriter.value(String.valueOf(enumeration.getValue())); } @Override public ChargeBaseEnum read(final JsonReader jsonReader) throws IOException { Object value = jsonReader.nextString(); - return ChargeBaseEnum.fromValue(String.valueOf(value)); + return ChargeBaseEnum.fromValue((String)(value)); } } } @SerializedName("chargeBase") diff --git a/src/main/java/com/sematext/cloud/model/CloudWatchSettings.java b/src/main/java/com/sematext/cloud/model/CloudWatchSettings.java index ca3ae9c..16878a5 100644 --- a/src/main/java/com/sematext/cloud/model/CloudWatchSettings.java +++ b/src/main/java/com/sematext/cloud/model/CloudWatchSettings.java @@ -52,9 +52,9 @@ public String getValue() { public String toString() { return String.valueOf(value); } - public static FetchFrequencyEnum fromValue(String text) { + public static FetchFrequencyEnum fromValue(String input) { for (FetchFrequencyEnum b : FetchFrequencyEnum.values()) { - if (String.valueOf(b.value).equals(text)) { + if (b.value.equals(input)) { return b; } } @@ -63,13 +63,13 @@ public static FetchFrequencyEnum fromValue(String text) { public static class Adapter extends TypeAdapter { @Override public void write(final JsonWriter jsonWriter, final FetchFrequencyEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); + jsonWriter.value(String.valueOf(enumeration.getValue())); } @Override public FetchFrequencyEnum read(final JsonReader jsonReader) throws IOException { Object value = jsonReader.nextString(); - return FetchFrequencyEnum.fromValue(String.valueOf(value)); + return FetchFrequencyEnum.fromValue((String)(value)); } } } @SerializedName("fetchFrequency") @@ -110,9 +110,9 @@ public String getValue() { public String toString() { return String.valueOf(value); } - public static RegionEnum fromValue(String text) { + public static RegionEnum fromValue(String input) { for (RegionEnum b : RegionEnum.values()) { - if (String.valueOf(b.value).equals(text)) { + if (b.value.equals(input)) { return b; } } @@ -121,13 +121,13 @@ public static RegionEnum fromValue(String text) { public static class Adapter extends TypeAdapter { @Override public void write(final JsonWriter jsonWriter, final RegionEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); + jsonWriter.value(String.valueOf(enumeration.getValue())); } @Override public RegionEnum read(final JsonReader jsonReader) throws IOException { Object value = jsonReader.nextString(); - return RegionEnum.fromValue(String.valueOf(value)); + return RegionEnum.fromValue((String)(value)); } } } @SerializedName("region") diff --git a/src/main/java/com/sematext/cloud/model/DailyDto.java b/src/main/java/com/sematext/cloud/model/DailyDto.java index 8ee0fed..33c265c 100644 --- a/src/main/java/com/sematext/cloud/model/DailyDto.java +++ b/src/main/java/com/sematext/cloud/model/DailyDto.java @@ -33,11 +33,17 @@ public class DailyDto { @SerializedName("failed") private Long failed = null; - @SerializedName("indexed") - private Long indexed = null; + @SerializedName("ingestedCount") + private Long ingestedCount = null; - @SerializedName("volume") - private Long volume = null; + @SerializedName("ingestedVolume") + private Long ingestedVolume = null; + + @SerializedName("storedCount") + private Long storedCount = null; + + @SerializedName("storedVolume") + private Long storedVolume = null; public DailyDto day(Long day) { this.day = day; @@ -75,40 +81,76 @@ public void setFailed(Long failed) { this.failed = failed; } - public DailyDto indexed(Long indexed) { - this.indexed = indexed; + public DailyDto ingestedCount(Long ingestedCount) { + this.ingestedCount = ingestedCount; + return this; + } + + /** + * Get ingestedCount + * @return ingestedCount + **/ + @Schema(description = "") + public Long getIngestedCount() { + return ingestedCount; + } + + public void setIngestedCount(Long ingestedCount) { + this.ingestedCount = ingestedCount; + } + + public DailyDto ingestedVolume(Long ingestedVolume) { + this.ingestedVolume = ingestedVolume; + return this; + } + + /** + * Get ingestedVolume + * @return ingestedVolume + **/ + @Schema(description = "") + public Long getIngestedVolume() { + return ingestedVolume; + } + + public void setIngestedVolume(Long ingestedVolume) { + this.ingestedVolume = ingestedVolume; + } + + public DailyDto storedCount(Long storedCount) { + this.storedCount = storedCount; return this; } /** - * Get indexed - * @return indexed + * Get storedCount + * @return storedCount **/ @Schema(description = "") - public Long getIndexed() { - return indexed; + public Long getStoredCount() { + return storedCount; } - public void setIndexed(Long indexed) { - this.indexed = indexed; + public void setStoredCount(Long storedCount) { + this.storedCount = storedCount; } - public DailyDto volume(Long volume) { - this.volume = volume; + public DailyDto storedVolume(Long storedVolume) { + this.storedVolume = storedVolume; return this; } /** - * Get volume - * @return volume + * Get storedVolume + * @return storedVolume **/ @Schema(description = "") - public Long getVolume() { - return volume; + public Long getStoredVolume() { + return storedVolume; } - public void setVolume(Long volume) { - this.volume = volume; + public void setStoredVolume(Long storedVolume) { + this.storedVolume = storedVolume; } @@ -123,13 +165,15 @@ public boolean equals(java.lang.Object o) { DailyDto dailyDto = (DailyDto) o; return Objects.equals(this.day, dailyDto.day) && Objects.equals(this.failed, dailyDto.failed) && - Objects.equals(this.indexed, dailyDto.indexed) && - Objects.equals(this.volume, dailyDto.volume); + Objects.equals(this.ingestedCount, dailyDto.ingestedCount) && + Objects.equals(this.ingestedVolume, dailyDto.ingestedVolume) && + Objects.equals(this.storedCount, dailyDto.storedCount) && + Objects.equals(this.storedVolume, dailyDto.storedVolume); } @Override public int hashCode() { - return Objects.hash(day, failed, indexed, volume); + return Objects.hash(day, failed, ingestedCount, ingestedVolume, storedCount, storedVolume); } @@ -140,8 +184,10 @@ public String toString() { sb.append(" day: ").append(toIndentedString(day)).append("\n"); sb.append(" failed: ").append(toIndentedString(failed)).append("\n"); - sb.append(" indexed: ").append(toIndentedString(indexed)).append("\n"); - sb.append(" volume: ").append(toIndentedString(volume)).append("\n"); + sb.append(" ingestedCount: ").append(toIndentedString(ingestedCount)).append("\n"); + sb.append(" ingestedVolume: ").append(toIndentedString(ingestedVolume)).append("\n"); + sb.append(" storedCount: ").append(toIndentedString(storedCount)).append("\n"); + sb.append(" storedVolume: ").append(toIndentedString(storedVolume)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/com/sematext/cloud/model/DayUsageData.java b/src/main/java/com/sematext/cloud/model/DayUsageData.java index 2c504c3..c15ed67 100644 --- a/src/main/java/com/sematext/cloud/model/DayUsageData.java +++ b/src/main/java/com/sematext/cloud/model/DayUsageData.java @@ -81,9 +81,9 @@ public String getValue() { public String toString() { return String.valueOf(value); } - public static PlanTypeEnum fromValue(String text) { + public static PlanTypeEnum fromValue(String input) { for (PlanTypeEnum b : PlanTypeEnum.values()) { - if (String.valueOf(b.value).equals(text)) { + if (b.value.equals(input)) { return b; } } @@ -92,13 +92,13 @@ public static PlanTypeEnum fromValue(String text) { public static class Adapter extends TypeAdapter { @Override public void write(final JsonWriter jsonWriter, final PlanTypeEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); + jsonWriter.value(String.valueOf(enumeration.getValue())); } @Override public PlanTypeEnum read(final JsonReader jsonReader) throws IOException { Object value = jsonReader.nextString(); - return PlanTypeEnum.fromValue(String.valueOf(value)); + return PlanTypeEnum.fromValue((String)(value)); } } } @SerializedName("planType") diff --git a/src/main/java/com/sematext/cloud/model/EventDto.java b/src/main/java/com/sematext/cloud/model/EventDto.java index 3d46348..e913927 100644 --- a/src/main/java/com/sematext/cloud/model/EventDto.java +++ b/src/main/java/com/sematext/cloud/model/EventDto.java @@ -48,7 +48,8 @@ public enum TypeEnum { AUTOMATIC_PLAN_UPGRADE_CHANGE("AUTOMATIC_PLAN_UPGRADE_CHANGE"), MAX_LIMIT_CHANGE("MAX_LIMIT_CHANGE"), SAMPLING_CHANGE("SAMPLING_CHANGE"), - OWNERSHIP_CHANGE("OWNERSHIP_CHANGE"); + OWNERSHIP_CHANGE("OWNERSHIP_CHANGE"), + PIPELINE_CHANGE("PIPELINE_CHANGE"); private String value; @@ -63,9 +64,9 @@ public String getValue() { public String toString() { return String.valueOf(value); } - public static TypeEnum fromValue(String text) { + public static TypeEnum fromValue(String input) { for (TypeEnum b : TypeEnum.values()) { - if (String.valueOf(b.value).equals(text)) { + if (b.value.equals(input)) { return b; } } @@ -74,13 +75,13 @@ public static TypeEnum fromValue(String text) { public static class Adapter extends TypeAdapter { @Override public void write(final JsonWriter jsonWriter, final TypeEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); + jsonWriter.value(String.valueOf(enumeration.getValue())); } @Override public TypeEnum read(final JsonReader jsonReader) throws IOException { Object value = jsonReader.nextString(); - return TypeEnum.fromValue(String.valueOf(value)); + return TypeEnum.fromValue((String)(value)); } } } @SerializedName("type") diff --git a/src/main/java/com/sematext/cloud/model/Invitation.java b/src/main/java/com/sematext/cloud/model/Invitation.java index 38e1c95..5edc8cc 100644 --- a/src/main/java/com/sematext/cloud/model/Invitation.java +++ b/src/main/java/com/sematext/cloud/model/Invitation.java @@ -66,9 +66,9 @@ public String getValue() { public String toString() { return String.valueOf(value); } - public static InviteStatusEnum fromValue(String text) { + public static InviteStatusEnum fromValue(String input) { for (InviteStatusEnum b : InviteStatusEnum.values()) { - if (String.valueOf(b.value).equals(text)) { + if (b.value.equals(input)) { return b; } } @@ -77,13 +77,13 @@ public static InviteStatusEnum fromValue(String text) { public static class Adapter extends TypeAdapter { @Override public void write(final JsonWriter jsonWriter, final InviteStatusEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); + jsonWriter.value(String.valueOf(enumeration.getValue())); } @Override public InviteStatusEnum read(final JsonReader jsonReader) throws IOException { Object value = jsonReader.nextString(); - return InviteStatusEnum.fromValue(String.valueOf(value)); + return InviteStatusEnum.fromValue((String)(value)); } } } @SerializedName("inviteStatus") @@ -117,9 +117,9 @@ public String getValue() { public String toString() { return String.valueOf(value); } - public static InviteeRoleEnum fromValue(String text) { + public static InviteeRoleEnum fromValue(String input) { for (InviteeRoleEnum b : InviteeRoleEnum.values()) { - if (String.valueOf(b.value).equals(text)) { + if (b.value.equals(input)) { return b; } } @@ -128,13 +128,13 @@ public static InviteeRoleEnum fromValue(String text) { public static class Adapter extends TypeAdapter { @Override public void write(final JsonWriter jsonWriter, final InviteeRoleEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); + jsonWriter.value(String.valueOf(enumeration.getValue())); } @Override public InviteeRoleEnum read(final JsonReader jsonReader) throws IOException { Object value = jsonReader.nextString(); - return InviteeRoleEnum.fromValue(String.valueOf(value)); + return InviteeRoleEnum.fromValue((String)(value)); } } } @SerializedName("inviteeRole") @@ -161,9 +161,9 @@ public String getValue() { public String toString() { return String.valueOf(value); } - public static InviteeStatusEnum fromValue(String text) { + public static InviteeStatusEnum fromValue(String input) { for (InviteeStatusEnum b : InviteeStatusEnum.values()) { - if (String.valueOf(b.value).equals(text)) { + if (b.value.equals(input)) { return b; } } @@ -172,13 +172,13 @@ public static InviteeStatusEnum fromValue(String text) { public static class Adapter extends TypeAdapter { @Override public void write(final JsonWriter jsonWriter, final InviteeStatusEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); + jsonWriter.value(String.valueOf(enumeration.getValue())); } @Override public InviteeStatusEnum read(final JsonReader jsonReader) throws IOException { Object value = jsonReader.nextString(); - return InviteeStatusEnum.fromValue(String.valueOf(value)); + return InviteeStatusEnum.fromValue((String)(value)); } } } @SerializedName("inviteeStatus") diff --git a/src/main/java/com/sematext/cloud/model/MinPeriodFeePeriod.java b/src/main/java/com/sematext/cloud/model/MinPeriodFeePeriod.java index 5f082ee..373e414 100644 --- a/src/main/java/com/sematext/cloud/model/MinPeriodFeePeriod.java +++ b/src/main/java/com/sematext/cloud/model/MinPeriodFeePeriod.java @@ -44,6 +44,9 @@ public class MinPeriodFeePeriod { @SerializedName("id") private Long id = null; + @SerializedName("ingestionPeriodFeeAmount") + private BigDecimal ingestionPeriodFeeAmount = null; + @SerializedName("minPeriodFeeAmount") private BigDecimal minPeriodFeeAmount = null; @@ -53,6 +56,9 @@ public class MinPeriodFeePeriod { @SerializedName("planDataLimit") private Long planDataLimit = null; + @SerializedName("storagePeriodFeeAmount") + private BigDecimal storagePeriodFeeAmount = null; + @SerializedName("toDate") private OffsetDateTime toDate = null; @@ -152,6 +158,24 @@ public void setId(Long id) { this.id = id; } + public MinPeriodFeePeriod ingestionPeriodFeeAmount(BigDecimal ingestionPeriodFeeAmount) { + this.ingestionPeriodFeeAmount = ingestionPeriodFeeAmount; + return this; + } + + /** + * Get ingestionPeriodFeeAmount + * @return ingestionPeriodFeeAmount + **/ + @Schema(description = "") + public BigDecimal getIngestionPeriodFeeAmount() { + return ingestionPeriodFeeAmount; + } + + public void setIngestionPeriodFeeAmount(BigDecimal ingestionPeriodFeeAmount) { + this.ingestionPeriodFeeAmount = ingestionPeriodFeeAmount; + } + public MinPeriodFeePeriod minPeriodFeeAmount(BigDecimal minPeriodFeeAmount) { this.minPeriodFeeAmount = minPeriodFeeAmount; return this; @@ -206,6 +230,24 @@ public void setPlanDataLimit(Long planDataLimit) { this.planDataLimit = planDataLimit; } + public MinPeriodFeePeriod storagePeriodFeeAmount(BigDecimal storagePeriodFeeAmount) { + this.storagePeriodFeeAmount = storagePeriodFeeAmount; + return this; + } + + /** + * Get storagePeriodFeeAmount + * @return storagePeriodFeeAmount + **/ + @Schema(description = "") + public BigDecimal getStoragePeriodFeeAmount() { + return storagePeriodFeeAmount; + } + + public void setStoragePeriodFeeAmount(BigDecimal storagePeriodFeeAmount) { + this.storagePeriodFeeAmount = storagePeriodFeeAmount; + } + public MinPeriodFeePeriod toDate(OffsetDateTime toDate) { this.toDate = toDate; return this; @@ -275,9 +317,11 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.fromDate, minPeriodFeePeriod.fromDate) && Objects.equals(this.httpMonitors, minPeriodFeePeriod.httpMonitors) && Objects.equals(this.id, minPeriodFeePeriod.id) && + Objects.equals(this.ingestionPeriodFeeAmount, minPeriodFeePeriod.ingestionPeriodFeeAmount) && Objects.equals(this.minPeriodFeeAmount, minPeriodFeePeriod.minPeriodFeeAmount) && Objects.equals(this.overagePercentage, minPeriodFeePeriod.overagePercentage) && Objects.equals(this.planDataLimit, minPeriodFeePeriod.planDataLimit) && + Objects.equals(this.storagePeriodFeeAmount, minPeriodFeePeriod.storagePeriodFeeAmount) && Objects.equals(this.toDate, minPeriodFeePeriod.toDate) && Objects.equals(this.usedPlan, minPeriodFeePeriod.usedPlan) && Objects.equals(this.usedPlanPeriodFee, minPeriodFeePeriod.usedPlanPeriodFee); @@ -285,7 +329,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(browserMonitors, discount, fromDate, httpMonitors, id, minPeriodFeeAmount, overagePercentage, planDataLimit, toDate, usedPlan, usedPlanPeriodFee); + return Objects.hash(browserMonitors, discount, fromDate, httpMonitors, id, ingestionPeriodFeeAmount, minPeriodFeeAmount, overagePercentage, planDataLimit, storagePeriodFeeAmount, toDate, usedPlan, usedPlanPeriodFee); } @@ -299,9 +343,11 @@ public String toString() { sb.append(" fromDate: ").append(toIndentedString(fromDate)).append("\n"); sb.append(" httpMonitors: ").append(toIndentedString(httpMonitors)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" ingestionPeriodFeeAmount: ").append(toIndentedString(ingestionPeriodFeeAmount)).append("\n"); sb.append(" minPeriodFeeAmount: ").append(toIndentedString(minPeriodFeeAmount)).append("\n"); sb.append(" overagePercentage: ").append(toIndentedString(overagePercentage)).append("\n"); sb.append(" planDataLimit: ").append(toIndentedString(planDataLimit)).append("\n"); + sb.append(" storagePeriodFeeAmount: ").append(toIndentedString(storagePeriodFeeAmount)).append("\n"); sb.append(" toDate: ").append(toIndentedString(toDate)).append("\n"); sb.append(" usedPlan: ").append(toIndentedString(usedPlan)).append("\n"); sb.append(" usedPlanPeriodFee: ").append(toIndentedString(usedPlanPeriodFee)).append("\n"); diff --git a/src/main/java/com/sematext/cloud/model/NotificationIntegration.java b/src/main/java/com/sematext/cloud/model/NotificationIntegration.java index 8b94827..a7f3eb9 100644 --- a/src/main/java/com/sematext/cloud/model/NotificationIntegration.java +++ b/src/main/java/com/sematext/cloud/model/NotificationIntegration.java @@ -52,9 +52,9 @@ public String getValue() { public String toString() { return String.valueOf(value); } - public static ApplicabilityEnum fromValue(String text) { + public static ApplicabilityEnum fromValue(String input) { for (ApplicabilityEnum b : ApplicabilityEnum.values()) { - if (String.valueOf(b.value).equals(text)) { + if (b.value.equals(input)) { return b; } } @@ -63,13 +63,13 @@ public static ApplicabilityEnum fromValue(String text) { public static class Adapter extends TypeAdapter { @Override public void write(final JsonWriter jsonWriter, final ApplicabilityEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); + jsonWriter.value(String.valueOf(enumeration.getValue())); } @Override public ApplicabilityEnum read(final JsonReader jsonReader) throws IOException { Object value = jsonReader.nextString(); - return ApplicabilityEnum.fromValue(String.valueOf(value)); + return ApplicabilityEnum.fromValue((String)(value)); } } } @SerializedName("applicability") @@ -113,9 +113,9 @@ public String getValue() { public String toString() { return String.valueOf(value); } - public static IntegrationTypeEnum fromValue(String text) { + public static IntegrationTypeEnum fromValue(String input) { for (IntegrationTypeEnum b : IntegrationTypeEnum.values()) { - if (String.valueOf(b.value).equals(text)) { + if (b.value.equals(input)) { return b; } } @@ -124,13 +124,13 @@ public static IntegrationTypeEnum fromValue(String text) { public static class Adapter extends TypeAdapter { @Override public void write(final JsonWriter jsonWriter, final IntegrationTypeEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); + jsonWriter.value(String.valueOf(enumeration.getValue())); } @Override public IntegrationTypeEnum read(final JsonReader jsonReader) throws IOException { Object value = jsonReader.nextString(); - return IntegrationTypeEnum.fromValue(String.valueOf(value)); + return IntegrationTypeEnum.fromValue((String)(value)); } } } @SerializedName("integrationType") @@ -164,9 +164,9 @@ public String getValue() { public String toString() { return String.valueOf(value); } - public static StateEnum fromValue(String text) { + public static StateEnum fromValue(String input) { for (StateEnum b : StateEnum.values()) { - if (String.valueOf(b.value).equals(text)) { + if (b.value.equals(input)) { return b; } } @@ -175,13 +175,13 @@ public static StateEnum fromValue(String text) { public static class Adapter extends TypeAdapter { @Override public void write(final JsonWriter jsonWriter, final StateEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); + jsonWriter.value(String.valueOf(enumeration.getValue())); } @Override public StateEnum read(final JsonReader jsonReader) throws IOException { Object value = jsonReader.nextString(); - return StateEnum.fromValue(String.valueOf(value)); + return StateEnum.fromValue((String)(value)); } } } @SerializedName("state") diff --git a/src/main/java/com/sematext/cloud/model/Plan.java b/src/main/java/com/sematext/cloud/model/Plan.java index 8d4a12b..8f2d67a 100644 --- a/src/main/java/com/sematext/cloud/model/Plan.java +++ b/src/main/java/com/sematext/cloud/model/Plan.java @@ -72,7 +72,8 @@ public enum PlanSchemeEnum { RUM_1_1("RUM_1_1"), RUM_EA("RUM_EA"), SYNTHETICS_EA("SYNTHETICS_EA"), - SYNTHETICS_1_0("SYNTHETICS_1_0"); + SYNTHETICS_1_0("SYNTHETICS_1_0"), + BUGZ_EA("BUGZ_EA"); private String value; @@ -87,9 +88,9 @@ public String getValue() { public String toString() { return String.valueOf(value); } - public static PlanSchemeEnum fromValue(String text) { + public static PlanSchemeEnum fromValue(String input) { for (PlanSchemeEnum b : PlanSchemeEnum.values()) { - if (String.valueOf(b.value).equals(text)) { + if (b.value.equals(input)) { return b; } } @@ -98,13 +99,13 @@ public static PlanSchemeEnum fromValue(String text) { public static class Adapter extends TypeAdapter { @Override public void write(final JsonWriter jsonWriter, final PlanSchemeEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); + jsonWriter.value(String.valueOf(enumeration.getValue())); } @Override public PlanSchemeEnum read(final JsonReader jsonReader) throws IOException { Object value = jsonReader.nextString(); - return PlanSchemeEnum.fromValue(String.valueOf(value)); + return PlanSchemeEnum.fromValue((String)(value)); } } } @SerializedName("planScheme") @@ -133,9 +134,9 @@ public String getValue() { public String toString() { return String.valueOf(value); } - public static SematextServiceEnum fromValue(String text) { + public static SematextServiceEnum fromValue(String input) { for (SematextServiceEnum b : SematextServiceEnum.values()) { - if (String.valueOf(b.value).equals(text)) { + if (b.value.equals(input)) { return b; } } @@ -144,13 +145,13 @@ public static SematextServiceEnum fromValue(String text) { public static class Adapter extends TypeAdapter { @Override public void write(final JsonWriter jsonWriter, final SematextServiceEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); + jsonWriter.value(String.valueOf(enumeration.getValue())); } @Override public SematextServiceEnum read(final JsonReader jsonReader) throws IOException { Object value = jsonReader.nextString(); - return SematextServiceEnum.fromValue(String.valueOf(value)); + return SematextServiceEnum.fromValue((String)(value)); } } } @SerializedName("sematextService") diff --git a/src/main/java/com/sematext/cloud/model/ReportInfo.java b/src/main/java/com/sematext/cloud/model/ReportInfo.java index e7e186e..d295f9c 100644 --- a/src/main/java/com/sematext/cloud/model/ReportInfo.java +++ b/src/main/java/com/sematext/cloud/model/ReportInfo.java @@ -28,6 +28,9 @@ public class ReportInfo { + @SerializedName("additionalParams") + private String additionalParams = null; + @SerializedName("addresses") private String addresses = null; @@ -52,6 +55,24 @@ public class ReportInfo { @SerializedName("text") private String text = null; + public ReportInfo additionalParams(String additionalParams) { + this.additionalParams = additionalParams; + return this; + } + + /** + * Get additionalParams + * @return additionalParams + **/ + @Schema(description = "") + public String getAdditionalParams() { + return additionalParams; + } + + public void setAdditionalParams(String additionalParams) { + this.additionalParams = additionalParams; + } + public ReportInfo addresses(String addresses) { this.addresses = addresses; return this; @@ -206,7 +227,8 @@ public boolean equals(java.lang.Object o) { return false; } ReportInfo reportInfo = (ReportInfo) o; - return Objects.equals(this.addresses, reportInfo.addresses) && + return Objects.equals(this.additionalParams, reportInfo.additionalParams) && + Objects.equals(this.addresses, reportInfo.addresses) && Objects.equals(this.appId, reportInfo.appId) && Objects.equals(this.endDate, reportInfo.endDate) && Objects.equals(this.filters, reportInfo.filters) && @@ -218,7 +240,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(addresses, appId, endDate, filters, reportName, startDate, subject, text); + return Objects.hash(additionalParams, addresses, appId, endDate, filters, reportName, startDate, subject, text); } @@ -227,6 +249,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportInfo {\n"); + sb.append(" additionalParams: ").append(toIndentedString(additionalParams)).append("\n"); sb.append(" addresses: ").append(toIndentedString(addresses)).append("\n"); sb.append(" appId: ").append(toIndentedString(appId)).append("\n"); sb.append(" endDate: ").append(toIndentedString(endDate)).append("\n"); diff --git a/src/main/java/com/sematext/cloud/model/Subscription.java b/src/main/java/com/sematext/cloud/model/Subscription.java index b3da8fc..7a756c5 100644 --- a/src/main/java/com/sematext/cloud/model/Subscription.java +++ b/src/main/java/com/sematext/cloud/model/Subscription.java @@ -29,6 +29,9 @@ public class Subscription { + @SerializedName("additionalParams") + private String additionalParams = null; + @SerializedName("addresses") private String addresses = null; @@ -71,9 +74,9 @@ public String getValue() { public String toString() { return String.valueOf(value); } - public static FrequencyEnum fromValue(String text) { + public static FrequencyEnum fromValue(String input) { for (FrequencyEnum b : FrequencyEnum.values()) { - if (String.valueOf(b.value).equals(text)) { + if (b.value.equals(input)) { return b; } } @@ -82,13 +85,13 @@ public static FrequencyEnum fromValue(String text) { public static class Adapter extends TypeAdapter { @Override public void write(final JsonWriter jsonWriter, final FrequencyEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); + jsonWriter.value(String.valueOf(enumeration.getValue())); } @Override public FrequencyEnum read(final JsonReader jsonReader) throws IOException { Object value = jsonReader.nextString(); - return FrequencyEnum.fromValue(String.valueOf(value)); + return FrequencyEnum.fromValue((String)(value)); } } } @SerializedName("frequency") @@ -137,9 +140,9 @@ public String getValue() { public String toString() { return String.valueOf(value); } - public static TimeRangeEnum fromValue(String text) { + public static TimeRangeEnum fromValue(String input) { for (TimeRangeEnum b : TimeRangeEnum.values()) { - if (String.valueOf(b.value).equals(text)) { + if (b.value.equals(input)) { return b; } } @@ -148,13 +151,13 @@ public static TimeRangeEnum fromValue(String text) { public static class Adapter extends TypeAdapter { @Override public void write(final JsonWriter jsonWriter, final TimeRangeEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); + jsonWriter.value(String.valueOf(enumeration.getValue())); } @Override public TimeRangeEnum read(final JsonReader jsonReader) throws IOException { Object value = jsonReader.nextString(); - return TimeRangeEnum.fromValue(String.valueOf(value)); + return TimeRangeEnum.fromValue((String)(value)); } } } @SerializedName("timeRange") @@ -163,6 +166,24 @@ public TimeRangeEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("userPermissions") private UserPermissions userPermissions = null; + public Subscription additionalParams(String additionalParams) { + this.additionalParams = additionalParams; + return this; + } + + /** + * Get additionalParams + * @return additionalParams + **/ + @Schema(description = "") + public String getAdditionalParams() { + return additionalParams; + } + + public void setAdditionalParams(String additionalParams) { + this.additionalParams = additionalParams; + } + public Subscription addresses(String addresses) { this.addresses = addresses; return this; @@ -443,7 +464,8 @@ public boolean equals(java.lang.Object o) { return false; } Subscription subscription = (Subscription) o; - return Objects.equals(this.addresses, subscription.addresses) && + return Objects.equals(this.additionalParams, subscription.additionalParams) && + Objects.equals(this.addresses, subscription.addresses) && Objects.equals(this.createdBy, subscription.createdBy) && Objects.equals(this.dashboardId, subscription.dashboardId) && Objects.equals(this.dashboardName, subscription.dashboardName) && @@ -462,7 +484,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(addresses, createdBy, dashboardId, dashboardName, enabled, filters, frequency, id, nextSendDate, subject, systemId, systemName, text, timeRange, userPermissions); + return Objects.hash(additionalParams, addresses, createdBy, dashboardId, dashboardName, enabled, filters, frequency, id, nextSendDate, subject, systemId, systemName, text, timeRange, userPermissions); } @@ -471,6 +493,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Subscription {\n"); + sb.append(" additionalParams: ").append(toIndentedString(additionalParams)).append("\n"); sb.append(" addresses: ").append(toIndentedString(addresses)).append("\n"); sb.append(" createdBy: ").append(toIndentedString(createdBy)).append("\n"); sb.append(" dashboardId: ").append(toIndentedString(dashboardId)).append("\n"); diff --git a/src/main/java/com/sematext/cloud/model/SubscriptionDashboardDto.java b/src/main/java/com/sematext/cloud/model/SubscriptionDashboardDto.java index 0aa30d5..0e6d9ad 100644 --- a/src/main/java/com/sematext/cloud/model/SubscriptionDashboardDto.java +++ b/src/main/java/com/sematext/cloud/model/SubscriptionDashboardDto.java @@ -64,9 +64,9 @@ public String getValue() { public String toString() { return String.valueOf(value); } - public static FrequencyEnum fromValue(String text) { + public static FrequencyEnum fromValue(String input) { for (FrequencyEnum b : FrequencyEnum.values()) { - if (String.valueOf(b.value).equals(text)) { + if (b.value.equals(input)) { return b; } } @@ -75,13 +75,13 @@ public static FrequencyEnum fromValue(String text) { public static class Adapter extends TypeAdapter { @Override public void write(final JsonWriter jsonWriter, final FrequencyEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); + jsonWriter.value(String.valueOf(enumeration.getValue())); } @Override public FrequencyEnum read(final JsonReader jsonReader) throws IOException { Object value = jsonReader.nextString(); - return FrequencyEnum.fromValue(String.valueOf(value)); + return FrequencyEnum.fromValue((String)(value)); } } } @SerializedName("frequency") @@ -127,9 +127,9 @@ public String getValue() { public String toString() { return String.valueOf(value); } - public static TimeRangeEnum fromValue(String text) { + public static TimeRangeEnum fromValue(String input) { for (TimeRangeEnum b : TimeRangeEnum.values()) { - if (String.valueOf(b.value).equals(text)) { + if (b.value.equals(input)) { return b; } } @@ -138,13 +138,13 @@ public static TimeRangeEnum fromValue(String text) { public static class Adapter extends TypeAdapter { @Override public void write(final JsonWriter jsonWriter, final TimeRangeEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); + jsonWriter.value(String.valueOf(enumeration.getValue())); } @Override public TimeRangeEnum read(final JsonReader jsonReader) throws IOException { Object value = jsonReader.nextString(); - return TimeRangeEnum.fromValue(String.valueOf(value)); + return TimeRangeEnum.fromValue((String)(value)); } } } @SerializedName("timeRange") diff --git a/src/main/java/com/sematext/cloud/model/SubscriptionDto.java b/src/main/java/com/sematext/cloud/model/SubscriptionDto.java index ab07dd3..561995c 100644 --- a/src/main/java/com/sematext/cloud/model/SubscriptionDto.java +++ b/src/main/java/com/sematext/cloud/model/SubscriptionDto.java @@ -29,6 +29,9 @@ public class SubscriptionDto { + @SerializedName("additionalParams") + private String additionalParams = null; + @SerializedName("addresses") private String addresses = null; @@ -62,9 +65,9 @@ public String getValue() { public String toString() { return String.valueOf(value); } - public static FrequencyEnum fromValue(String text) { + public static FrequencyEnum fromValue(String input) { for (FrequencyEnum b : FrequencyEnum.values()) { - if (String.valueOf(b.value).equals(text)) { + if (b.value.equals(input)) { return b; } } @@ -73,13 +76,13 @@ public static FrequencyEnum fromValue(String text) { public static class Adapter extends TypeAdapter { @Override public void write(final JsonWriter jsonWriter, final FrequencyEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); + jsonWriter.value(String.valueOf(enumeration.getValue())); } @Override public FrequencyEnum read(final JsonReader jsonReader) throws IOException { Object value = jsonReader.nextString(); - return FrequencyEnum.fromValue(String.valueOf(value)); + return FrequencyEnum.fromValue((String)(value)); } } } @SerializedName("frequency") @@ -128,9 +131,9 @@ public String getValue() { public String toString() { return String.valueOf(value); } - public static TimeRangeEnum fromValue(String text) { + public static TimeRangeEnum fromValue(String input) { for (TimeRangeEnum b : TimeRangeEnum.values()) { - if (String.valueOf(b.value).equals(text)) { + if (b.value.equals(input)) { return b; } } @@ -139,13 +142,13 @@ public static TimeRangeEnum fromValue(String text) { public static class Adapter extends TypeAdapter { @Override public void write(final JsonWriter jsonWriter, final TimeRangeEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); + jsonWriter.value(String.valueOf(enumeration.getValue())); } @Override public TimeRangeEnum read(final JsonReader jsonReader) throws IOException { Object value = jsonReader.nextString(); - return TimeRangeEnum.fromValue(String.valueOf(value)); + return TimeRangeEnum.fromValue((String)(value)); } } } @SerializedName("timeRange") @@ -154,6 +157,24 @@ public TimeRangeEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("userPermissions") private UserPermissions userPermissions = null; + public SubscriptionDto additionalParams(String additionalParams) { + this.additionalParams = additionalParams; + return this; + } + + /** + * Get additionalParams + * @return additionalParams + **/ + @Schema(description = "") + public String getAdditionalParams() { + return additionalParams; + } + + public void setAdditionalParams(String additionalParams) { + this.additionalParams = additionalParams; + } + public SubscriptionDto addresses(String addresses) { this.addresses = addresses; return this; @@ -380,7 +401,8 @@ public boolean equals(java.lang.Object o) { return false; } SubscriptionDto subscriptionDto = (SubscriptionDto) o; - return Objects.equals(this.addresses, subscriptionDto.addresses) && + return Objects.equals(this.additionalParams, subscriptionDto.additionalParams) && + Objects.equals(this.addresses, subscriptionDto.addresses) && Objects.equals(this.enable, subscriptionDto.enable) && Objects.equals(this.filters, subscriptionDto.filters) && Objects.equals(this.frequency, subscriptionDto.frequency) && @@ -396,7 +418,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(addresses, enable, filters, frequency, id, reportName, sendTime, subject, systemId, text, timeRange, userPermissions); + return Objects.hash(additionalParams, addresses, enable, filters, frequency, id, reportName, sendTime, subject, systemId, text, timeRange, userPermissions); } @@ -405,6 +427,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class SubscriptionDto {\n"); + sb.append(" additionalParams: ").append(toIndentedString(additionalParams)).append("\n"); sb.append(" addresses: ").append(toIndentedString(addresses)).append("\n"); sb.append(" enable: ").append(toIndentedString(enable)).append("\n"); sb.append(" filters: ").append(toIndentedString(filters)).append("\n"); diff --git a/src/main/java/com/sematext/cloud/model/UpdateAppInfo.java b/src/main/java/com/sematext/cloud/model/UpdateAppInfo.java index 9031d8c..abed797 100644 --- a/src/main/java/com/sematext/cloud/model/UpdateAppInfo.java +++ b/src/main/java/com/sematext/cloud/model/UpdateAppInfo.java @@ -72,9 +72,9 @@ public String getValue() { public String toString() { return String.valueOf(value); } - public static StatusEnum fromValue(String text) { + public static StatusEnum fromValue(String input) { for (StatusEnum b : StatusEnum.values()) { - if (String.valueOf(b.value).equals(text)) { + if (b.value.equals(input)) { return b; } } @@ -83,13 +83,13 @@ public static StatusEnum fromValue(String text) { public static class Adapter extends TypeAdapter { @Override public void write(final JsonWriter jsonWriter, final StatusEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); + jsonWriter.value(String.valueOf(enumeration.getValue())); } @Override public StatusEnum read(final JsonReader jsonReader) throws IOException { Object value = jsonReader.nextString(); - return StatusEnum.fromValue(String.valueOf(value)); + return StatusEnum.fromValue((String)(value)); } } } @SerializedName("status") diff --git a/src/main/java/com/sematext/cloud/model/UsageDto.java b/src/main/java/com/sematext/cloud/model/UsageDto.java index b110f7d..465c023 100644 --- a/src/main/java/com/sematext/cloud/model/UsageDto.java +++ b/src/main/java/com/sematext/cloud/model/UsageDto.java @@ -32,9 +32,6 @@ public class UsageDto { - @SerializedName("count") - private Long count = null; - @SerializedName("dailyUsage") private List dailyUsage = null; @@ -47,6 +44,12 @@ public class UsageDto { @SerializedName("failedCount") private Long failedCount = null; + @SerializedName("ingestedCount") + private Long ingestedCount = null; + + @SerializedName("ingestedVolume") + private Long ingestedVolume = null; + @SerializedName("limitChangeEvents") private List limitChangeEvents = null; @@ -59,30 +62,15 @@ public class UsageDto { @SerializedName("start") private OffsetDateTime start = null; - @SerializedName("volume") - private Long volume = null; + @SerializedName("storedCount") + private Long storedCount = null; + + @SerializedName("storedVolume") + private Long storedVolume = null; @SerializedName("volumeChangeEvents") private List volumeChangeEvents = null; - public UsageDto count(Long count) { - this.count = count; - return this; - } - - /** - * Get count - * @return count - **/ - @Schema(description = "") - public Long getCount() { - return count; - } - - public void setCount(Long count) { - this.count = count; - } - public UsageDto dailyUsage(List dailyUsage) { this.dailyUsage = dailyUsage; return this; @@ -163,6 +151,42 @@ public void setFailedCount(Long failedCount) { this.failedCount = failedCount; } + public UsageDto ingestedCount(Long ingestedCount) { + this.ingestedCount = ingestedCount; + return this; + } + + /** + * Get ingestedCount + * @return ingestedCount + **/ + @Schema(description = "") + public Long getIngestedCount() { + return ingestedCount; + } + + public void setIngestedCount(Long ingestedCount) { + this.ingestedCount = ingestedCount; + } + + public UsageDto ingestedVolume(Long ingestedVolume) { + this.ingestedVolume = ingestedVolume; + return this; + } + + /** + * Get ingestedVolume + * @return ingestedVolume + **/ + @Schema(description = "") + public Long getIngestedVolume() { + return ingestedVolume; + } + + public void setIngestedVolume(Long ingestedVolume) { + this.ingestedVolume = ingestedVolume; + } + public UsageDto limitChangeEvents(List limitChangeEvents) { this.limitChangeEvents = limitChangeEvents; return this; @@ -243,22 +267,40 @@ public void setStart(OffsetDateTime start) { this.start = start; } - public UsageDto volume(Long volume) { - this.volume = volume; + public UsageDto storedCount(Long storedCount) { + this.storedCount = storedCount; + return this; + } + + /** + * Get storedCount + * @return storedCount + **/ + @Schema(description = "") + public Long getStoredCount() { + return storedCount; + } + + public void setStoredCount(Long storedCount) { + this.storedCount = storedCount; + } + + public UsageDto storedVolume(Long storedVolume) { + this.storedVolume = storedVolume; return this; } /** - * Get volume - * @return volume + * Get storedVolume + * @return storedVolume **/ @Schema(description = "") - public Long getVolume() { - return volume; + public Long getStoredVolume() { + return storedVolume; } - public void setVolume(Long volume) { - this.volume = volume; + public void setStoredVolume(Long storedVolume) { + this.storedVolume = storedVolume; } public UsageDto volumeChangeEvents(List volumeChangeEvents) { @@ -297,22 +339,24 @@ public boolean equals(java.lang.Object o) { return false; } UsageDto usageDto = (UsageDto) o; - return Objects.equals(this.count, usageDto.count) && - Objects.equals(this.dailyUsage, usageDto.dailyUsage) && + return Objects.equals(this.dailyUsage, usageDto.dailyUsage) && Objects.equals(this.dailyVolumeMB, usageDto.dailyVolumeMB) && Objects.equals(this.end, usageDto.end) && Objects.equals(this.failedCount, usageDto.failedCount) && + Objects.equals(this.ingestedCount, usageDto.ingestedCount) && + Objects.equals(this.ingestedVolume, usageDto.ingestedVolume) && Objects.equals(this.limitChangeEvents, usageDto.limitChangeEvents) && Objects.equals(this.maxAllowedMB, usageDto.maxAllowedMB) && Objects.equals(this.maxLimitMB, usageDto.maxLimitMB) && Objects.equals(this.start, usageDto.start) && - Objects.equals(this.volume, usageDto.volume) && + Objects.equals(this.storedCount, usageDto.storedCount) && + Objects.equals(this.storedVolume, usageDto.storedVolume) && Objects.equals(this.volumeChangeEvents, usageDto.volumeChangeEvents); } @Override public int hashCode() { - return Objects.hash(count, dailyUsage, dailyVolumeMB, end, failedCount, limitChangeEvents, maxAllowedMB, maxLimitMB, start, volume, volumeChangeEvents); + return Objects.hash(dailyUsage, dailyVolumeMB, end, failedCount, ingestedCount, ingestedVolume, limitChangeEvents, maxAllowedMB, maxLimitMB, start, storedCount, storedVolume, volumeChangeEvents); } @@ -321,16 +365,18 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class UsageDto {\n"); - sb.append(" count: ").append(toIndentedString(count)).append("\n"); sb.append(" dailyUsage: ").append(toIndentedString(dailyUsage)).append("\n"); sb.append(" dailyVolumeMB: ").append(toIndentedString(dailyVolumeMB)).append("\n"); sb.append(" end: ").append(toIndentedString(end)).append("\n"); sb.append(" failedCount: ").append(toIndentedString(failedCount)).append("\n"); + sb.append(" ingestedCount: ").append(toIndentedString(ingestedCount)).append("\n"); + sb.append(" ingestedVolume: ").append(toIndentedString(ingestedVolume)).append("\n"); sb.append(" limitChangeEvents: ").append(toIndentedString(limitChangeEvents)).append("\n"); sb.append(" maxAllowedMB: ").append(toIndentedString(maxAllowedMB)).append("\n"); sb.append(" maxLimitMB: ").append(toIndentedString(maxLimitMB)).append("\n"); sb.append(" start: ").append(toIndentedString(start)).append("\n"); - sb.append(" volume: ").append(toIndentedString(volume)).append("\n"); + sb.append(" storedCount: ").append(toIndentedString(storedCount)).append("\n"); + sb.append(" storedVolume: ").append(toIndentedString(storedVolume)).append("\n"); sb.append(" volumeChangeEvents: ").append(toIndentedString(volumeChangeEvents)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/src/main/java/com/sematext/cloud/model/UserRole.java b/src/main/java/com/sematext/cloud/model/UserRole.java index 4971f30..119ac48 100644 --- a/src/main/java/com/sematext/cloud/model/UserRole.java +++ b/src/main/java/com/sematext/cloud/model/UserRole.java @@ -52,9 +52,9 @@ public String getValue() { public String toString() { return String.valueOf(value); } - public static RoleEnum fromValue(String text) { + public static RoleEnum fromValue(String input) { for (RoleEnum b : RoleEnum.values()) { - if (String.valueOf(b.value).equals(text)) { + if (b.value.equals(input)) { return b; } } @@ -63,13 +63,13 @@ public static RoleEnum fromValue(String text) { public static class Adapter extends TypeAdapter { @Override public void write(final JsonWriter jsonWriter, final RoleEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); + jsonWriter.value(String.valueOf(enumeration.getValue())); } @Override public RoleEnum read(final JsonReader jsonReader) throws IOException { Object value = jsonReader.nextString(); - return RoleEnum.fromValue(String.valueOf(value)); + return RoleEnum.fromValue((String)(value)); } } } @SerializedName("role") @@ -96,9 +96,9 @@ public String getValue() { public String toString() { return String.valueOf(value); } - public static RoleStatusEnum fromValue(String text) { + public static RoleStatusEnum fromValue(String input) { for (RoleStatusEnum b : RoleStatusEnum.values()) { - if (String.valueOf(b.value).equals(text)) { + if (b.value.equals(input)) { return b; } } @@ -107,13 +107,13 @@ public static RoleStatusEnum fromValue(String text) { public static class Adapter extends TypeAdapter { @Override public void write(final JsonWriter jsonWriter, final RoleStatusEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); + jsonWriter.value(String.valueOf(enumeration.getValue())); } @Override public RoleStatusEnum read(final JsonReader jsonReader) throws IOException { Object value = jsonReader.nextString(); - return RoleStatusEnum.fromValue(String.valueOf(value)); + return RoleStatusEnum.fromValue((String)(value)); } } } @SerializedName("roleStatus") diff --git a/src/test/java/com/sematext/cloud/client/AlertNotificationsApiTest.java b/src/test/java/com/sematext/cloud/client/AlertNotificationsApiTest.java index 39971d1..4af8812 100644 --- a/src/test/java/com/sematext/cloud/client/AlertNotificationsApiTest.java +++ b/src/test/java/com/sematext/cloud/client/AlertNotificationsApiTest.java @@ -12,17 +12,18 @@ package com.sematext.cloud.client; -import com.sematext.cloud.ApiException; import com.sematext.cloud.model.AlertNotificationRequest; import com.sematext.cloud.model.NotificationsResponse; import org.junit.Test; import org.junit.Ignore; + import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; + /** * API tests for AlertNotificationsApi */ @@ -36,11 +37,11 @@ public class AlertNotificationsApiTest { * * Default value of interval is 1d * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void getAlertNotificationsForAppUsingPOSTTest() throws ApiException { + public void getAlertNotificationsForAppUsingPOSTTest() throws Exception { AlertNotificationRequest body = null; Long appId = null; NotificationsResponse response = api.getAlertNotificationsForAppUsingPOST(body, appId); @@ -52,11 +53,11 @@ public void getAlertNotificationsForAppUsingPOSTTest() throws ApiException { * * Default value of interval is 1d * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void getAlertNotificationsForUserUsingPOSTTest() throws ApiException { + public void getAlertNotificationsForUserUsingPOSTTest() throws Exception { AlertNotificationRequest body = null; NotificationsResponse response = api.getAlertNotificationsForUserUsingPOST(body); diff --git a/src/test/java/com/sematext/cloud/client/AlertsApiTest.java b/src/test/java/com/sematext/cloud/client/AlertsApiTest.java index 1f1ffed..1b1d4de 100644 --- a/src/test/java/com/sematext/cloud/client/AlertsApiTest.java +++ b/src/test/java/com/sematext/cloud/client/AlertsApiTest.java @@ -12,7 +12,6 @@ package com.sematext.cloud.client; -import com.sematext.cloud.ApiException; import com.sematext.cloud.model.AlertRule; import com.sematext.cloud.model.AlertRuleResponse; import com.sematext.cloud.model.AlertRulesResponse; @@ -20,11 +19,13 @@ import org.junit.Test; import org.junit.Ignore; + import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; + /** * API tests for AlertsApi */ @@ -38,13 +39,13 @@ public class AlertsApiTest { * * * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void createAlertUsingPOST1Test() throws ApiException { + public void createAlertUsingPOSTTest() throws Exception { AlertRule body = null; - AlertRuleResponse response = api.createAlertUsingPOST1(body); + AlertRuleResponse response = api.createAlertUsingPOST(body); // TODO: test validations } @@ -53,11 +54,11 @@ public void createAlertUsingPOST1Test() throws ApiException { * * * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void deleteAlertRuleUsingDELETE1Test() throws ApiException { + public void deleteAlertRuleUsingDELETE1Test() throws Exception { Long updateableAlertId = null; GenericMapBasedApiResponse response = api.deleteAlertRuleUsingDELETE1(updateableAlertId); @@ -68,13 +69,13 @@ public void deleteAlertRuleUsingDELETE1Test() throws ApiException { * * * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void disableAlertRuleUsingPUT1Test() throws ApiException { + public void disableAlertRuleUsingPUTTest() throws Exception { Long updateableAlertId = null; - GenericMapBasedApiResponse response = api.disableAlertRuleUsingPUT1(updateableAlertId); + GenericMapBasedApiResponse response = api.disableAlertRuleUsingPUT(updateableAlertId); // TODO: test validations } @@ -83,13 +84,13 @@ public void disableAlertRuleUsingPUT1Test() throws ApiException { * * * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void enableAlertRuleUsingPUT1Test() throws ApiException { + public void enableAlertRuleUsingPUTTest() throws Exception { Long updateableAlertId = null; - GenericMapBasedApiResponse response = api.enableAlertRuleUsingPUT1(updateableAlertId); + GenericMapBasedApiResponse response = api.enableAlertRuleUsingPUT(updateableAlertId); // TODO: test validations } @@ -98,13 +99,13 @@ public void enableAlertRuleUsingPUT1Test() throws ApiException { * * * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void getAlertRulesForAppUsingGETTest() throws ApiException { + public void getAlertRulesForAppUsingGET1Test() throws Exception { Long appId = null; - AlertRulesResponse response = api.getAlertRulesForAppUsingGET(appId); + AlertRulesResponse response = api.getAlertRulesForAppUsingGET1(appId); // TODO: test validations } diff --git a/src/test/java/com/sematext/cloud/client/AppsApiTest.java b/src/test/java/com/sematext/cloud/client/AppsApiTest.java index 809e4c3..16390fe 100644 --- a/src/test/java/com/sematext/cloud/client/AppsApiTest.java +++ b/src/test/java/com/sematext/cloud/client/AppsApiTest.java @@ -12,7 +12,6 @@ package com.sematext.cloud.client; -import com.sematext.cloud.ApiException; import com.sematext.cloud.model.AppDescription; import com.sematext.cloud.model.AppResponse; import com.sematext.cloud.model.AppTypesResponse; @@ -23,11 +22,13 @@ import org.junit.Test; import org.junit.Ignore; + import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; + /** * API tests for AppsApi */ @@ -41,13 +42,13 @@ public class AppsApiTest { * * * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void deleteUsingDELETE1Test() throws ApiException { + public void deleteUsingDELETETest() throws Exception { Long anyStateAppId = null; - GenericMapBasedApiResponse response = api.deleteUsingDELETE1(anyStateAppId); + GenericMapBasedApiResponse response = api.deleteUsingDELETE(anyStateAppId); // TODO: test validations } @@ -56,12 +57,12 @@ public void deleteUsingDELETE1Test() throws ApiException { * * * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void getAppTypesUsingGET1Test() throws ApiException { - AppTypesResponse response = api.getAppTypesUsingGET1(); + public void getAppTypesUsingGETTest() throws Exception { + AppTypesResponse response = api.getAppTypesUsingGET(); // TODO: test validations } @@ -70,13 +71,13 @@ public void getAppTypesUsingGET1Test() throws ApiException { * * * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void getUsingGET1Test() throws ApiException { + public void getUsingGETTest() throws Exception { Long anyStateAppId = null; - AppResponse response = api.getUsingGET1(anyStateAppId); + AppResponse response = api.getUsingGET(anyStateAppId); // TODO: test validations } @@ -85,13 +86,13 @@ public void getUsingGET1Test() throws ApiException { * * * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void inviteAppGuestsUsingPOST1Test() throws ApiException { + public void inviteAppGuestsUsingPOSTTest() throws Exception { Invitation body = null; - GenericMapBasedApiResponse response = api.inviteAppGuestsUsingPOST1(body); + GenericMapBasedApiResponse response = api.inviteAppGuestsUsingPOST(body); // TODO: test validations } @@ -100,12 +101,12 @@ public void inviteAppGuestsUsingPOST1Test() throws ApiException { * * * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void listAppsUsersUsingGET1Test() throws ApiException { - AppsResponse response = api.listAppsUsersUsingGET1(); + public void listAppsUsersUsingGETTest() throws Exception { + AppsResponse response = api.listAppsUsersUsingGET(); // TODO: test validations } @@ -114,11 +115,11 @@ public void listAppsUsersUsingGET1Test() throws ApiException { * * * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void listUsingGETTest() throws ApiException { + public void listUsingGETTest() throws Exception { AppsResponse response = api.listUsingGET(); // TODO: test validations @@ -128,11 +129,11 @@ public void listUsingGETTest() throws ApiException { * * App can be in any state * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void updateDescriptionUsingPUT1Test() throws ApiException { + public void updateDescriptionUsingPUT1Test() throws Exception { Long anyStateAppId = null; AppDescription body = null; AppResponse response = api.updateDescriptionUsingPUT1(anyStateAppId, body); @@ -144,14 +145,14 @@ public void updateDescriptionUsingPUT1Test() throws ApiException { * * App can be in any state * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void updateUsingPUT3Test() throws ApiException { + public void updateUsingPUT2Test() throws Exception { UpdateAppInfo body = null; Long anyStateAppId = null; - AppResponse response = api.updateUsingPUT3(body, anyStateAppId); + AppResponse response = api.updateUsingPUT2(body, anyStateAppId); // TODO: test validations } diff --git a/src/test/java/com/sematext/cloud/client/AwsSettingsControllerApiTest.java b/src/test/java/com/sematext/cloud/client/AwsSettingsControllerApiTest.java index f50d881..76b8771 100644 --- a/src/test/java/com/sematext/cloud/client/AwsSettingsControllerApiTest.java +++ b/src/test/java/com/sematext/cloud/client/AwsSettingsControllerApiTest.java @@ -12,17 +12,18 @@ package com.sematext.cloud.client; -import com.sematext.cloud.ApiException; import com.sematext.cloud.model.CloudWatchSettings; import com.sematext.cloud.model.CloudWatchSettingsResponse; import org.junit.Test; import org.junit.Ignore; + import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; + /** * API tests for AwsSettingsControllerApi */ @@ -36,11 +37,11 @@ public class AwsSettingsControllerApiTest { * * Applicable only for AWS Apps * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void updateUsingPUT1Test() throws ApiException { + public void updateUsingPUT1Test() throws Exception { CloudWatchSettings body = null; Long appId = null; CloudWatchSettingsResponse response = api.updateUsingPUT1(body, appId); diff --git a/src/test/java/com/sematext/cloud/client/BillingApiTest.java b/src/test/java/com/sematext/cloud/client/BillingApiTest.java index 3dbdb12..9ed929f 100644 --- a/src/test/java/com/sematext/cloud/client/BillingApiTest.java +++ b/src/test/java/com/sematext/cloud/client/BillingApiTest.java @@ -12,7 +12,6 @@ package com.sematext.cloud.client; -import com.sematext.cloud.ApiException; import com.sematext.cloud.model.BillingInfo; import com.sematext.cloud.model.InvoiceResponse; import com.sematext.cloud.model.PlansResponse; @@ -20,11 +19,13 @@ import org.junit.Test; import org.junit.Ignore; + import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; + /** * API tests for BillingApi */ @@ -38,11 +39,11 @@ public class BillingApiTest { * * * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void getDetailedInvoiceUsingGETTest() throws ApiException { + public void getDetailedInvoiceUsingGETTest() throws Exception { String service = null; Integer year = null; Integer month = null; @@ -55,14 +56,14 @@ public void getDetailedInvoiceUsingGETTest() throws ApiException { * * * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void listAvailablePlansUsingGETTest() throws ApiException { + public void listAvailablePlansUsingGET1Test() throws Exception { Long integrationId = null; String appType = null; - PlansResponse response = api.listAvailablePlansUsingGET(integrationId, appType); + PlansResponse response = api.listAvailablePlansUsingGET1(integrationId, appType); // TODO: test validations } @@ -71,11 +72,11 @@ public void listAvailablePlansUsingGETTest() throws ApiException { * * * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void updatePlanUsingPUTTest() throws ApiException { + public void updatePlanUsingPUTTest() throws Exception { BillingInfo body = null; Long appId = null; UpdatePlanResponse response = api.updatePlanUsingPUT(body, appId); diff --git a/src/test/java/com/sematext/cloud/client/LogsAppApiTest.java b/src/test/java/com/sematext/cloud/client/LogsAppApiTest.java index b95e07b..8a1a7b4 100644 --- a/src/test/java/com/sematext/cloud/client/LogsAppApiTest.java +++ b/src/test/java/com/sematext/cloud/client/LogsAppApiTest.java @@ -12,17 +12,18 @@ package com.sematext.cloud.client; -import com.sematext.cloud.ApiException; import com.sematext.cloud.model.AppsResponse; import com.sematext.cloud.model.CreateAppInfo; import org.junit.Test; import org.junit.Ignore; + import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; + /** * API tests for LogsAppApi */ @@ -36,11 +37,11 @@ public class LogsAppApiTest { * * * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void createLogseneApplicationTest() throws ApiException { + public void createLogseneApplicationTest() throws Exception { CreateAppInfo body = null; AppsResponse response = api.createLogseneApplication(body); diff --git a/src/test/java/com/sematext/cloud/client/LogsUsageApiControllerApiTest.java b/src/test/java/com/sematext/cloud/client/LogsUsageApiControllerApiTest.java index dc61204..2f918de 100644 --- a/src/test/java/com/sematext/cloud/client/LogsUsageApiControllerApiTest.java +++ b/src/test/java/com/sematext/cloud/client/LogsUsageApiControllerApiTest.java @@ -12,16 +12,17 @@ package com.sematext.cloud.client; -import com.sematext.cloud.ApiException; import com.sematext.cloud.model.UsageResponse; import org.junit.Test; import org.junit.Ignore; + import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; + /** * API tests for LogsUsageApiControllerApi */ @@ -35,11 +36,11 @@ public class LogsUsageApiControllerApiTest { * * * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void getForRangeUsingGETTest() throws ApiException { + public void getForRangeUsingGETTest() throws Exception { Long appId = null; Long from = null; Long to = null; diff --git a/src/test/java/com/sematext/cloud/client/MonitoringAppApiTest.java b/src/test/java/com/sematext/cloud/client/MonitoringAppApiTest.java index 7f5c150..b0b2c8b 100644 --- a/src/test/java/com/sematext/cloud/client/MonitoringAppApiTest.java +++ b/src/test/java/com/sematext/cloud/client/MonitoringAppApiTest.java @@ -12,17 +12,18 @@ package com.sematext.cloud.client; -import com.sematext.cloud.ApiException; import com.sematext.cloud.model.AppsResponse; import com.sematext.cloud.model.CreateAppInfo; import org.junit.Test; import org.junit.Ignore; + import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; + /** * API tests for MonitoringAppApi */ @@ -36,13 +37,13 @@ public class MonitoringAppApiTest { * * * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void createSpmApplication1Test() throws ApiException { + public void createSpmApplicationTest() throws Exception { CreateAppInfo body = null; - AppsResponse response = api.createSpmApplication1(body); + AppsResponse response = api.createSpmApplication(body); // TODO: test validations } diff --git a/src/test/java/com/sematext/cloud/client/ResetPasswordApiTest.java b/src/test/java/com/sematext/cloud/client/ResetPasswordApiTest.java index 239118b..b721e79 100644 --- a/src/test/java/com/sematext/cloud/client/ResetPasswordApiTest.java +++ b/src/test/java/com/sematext/cloud/client/ResetPasswordApiTest.java @@ -12,17 +12,18 @@ package com.sematext.cloud.client; -import com.sematext.cloud.ApiException; import com.sematext.cloud.model.GenericMapBasedApiResponse; import com.sematext.cloud.model.UserInfo; import org.junit.Test; import org.junit.Ignore; + import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; + /** * API tests for ResetPasswordApi */ @@ -36,11 +37,11 @@ public class ResetPasswordApiTest { * * * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void resetPasswordUsingPOSTTest() throws ApiException { + public void resetPasswordUsingPOSTTest() throws Exception { UserInfo body = null; GenericMapBasedApiResponse response = api.resetPasswordUsingPOST(body); diff --git a/src/test/java/com/sematext/cloud/client/SubscriptionsApiTest.java b/src/test/java/com/sematext/cloud/client/SubscriptionsApiTest.java index 4743681..999c49d 100644 --- a/src/test/java/com/sematext/cloud/client/SubscriptionsApiTest.java +++ b/src/test/java/com/sematext/cloud/client/SubscriptionsApiTest.java @@ -12,7 +12,6 @@ package com.sematext.cloud.client; -import com.sematext.cloud.ApiException; import com.sematext.cloud.model.GenericMapBasedApiResponse; import com.sematext.cloud.model.MailReportResponse; import com.sematext.cloud.model.ReportInfo; @@ -24,11 +23,13 @@ import org.junit.Test; import org.junit.Ignore; + import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; + /** * API tests for SubscriptionsApi */ @@ -42,14 +43,14 @@ public class SubscriptionsApiTest { * * * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void createForAppUsingPOST1Test() throws ApiException { + public void createForAppUsingPOSTTest() throws Exception { SubscriptionDto body = null; Long appId = null; - SubscriptionResponse response = api.createForAppUsingPOST1(body, appId); + SubscriptionResponse response = api.createForAppUsingPOST(body, appId); // TODO: test validations } @@ -58,14 +59,14 @@ public void createForAppUsingPOST1Test() throws ApiException { * * * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void createForDashUsingPOSTTest() throws ApiException { + public void createForDashUsingPOST1Test() throws Exception { SubscriptionDashboardDto body = null; Long dashId = null; - SubscriptionResponse response = api.createForDashUsingPOST(body, dashId); + SubscriptionResponse response = api.createForDashUsingPOST1(body, dashId); // TODO: test validations } @@ -74,11 +75,11 @@ public void createForDashUsingPOSTTest() throws ApiException { * * * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void deleteUsingDELETE2Test() throws ApiException { + public void deleteUsingDELETE2Test() throws Exception { Long updateableSubscriptionId = null; GenericMapBasedApiResponse response = api.deleteUsingDELETE2(updateableSubscriptionId); @@ -89,13 +90,13 @@ public void deleteUsingDELETE2Test() throws ApiException { * * * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void listUsingGET2Test() throws ApiException { + public void listUsingGET3Test() throws Exception { Long appId = null; - SubscriptionsResponse response = api.listUsingGET2(appId); + SubscriptionsResponse response = api.listUsingGET3(appId); // TODO: test validations } @@ -104,11 +105,11 @@ public void listUsingGET2Test() throws ApiException { * * * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void listUsingGET5Test() throws ApiException { + public void listUsingGET5Test() throws Exception { SubscriptionsResponse response = api.listUsingGET5(); // TODO: test validations @@ -118,14 +119,14 @@ public void listUsingGET5Test() throws ApiException { * * * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void sendAppReportUsingPOST1Test() throws ApiException { + public void sendAppReportUsingPOSTTest() throws Exception { ReportInfo body = null; Long appId = null; - MailReportResponse response = api.sendAppReportUsingPOST1(body, appId); + MailReportResponse response = api.sendAppReportUsingPOST(body, appId); // TODO: test validations } @@ -134,11 +135,11 @@ public void sendAppReportUsingPOST1Test() throws ApiException { * * * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void sendDashReportUsingPOSTTest() throws ApiException { + public void sendDashReportUsingPOSTTest() throws Exception { ReportInfo body = null; Long dashId = null; MailReportResponse response = api.sendDashReportUsingPOST(body, dashId); @@ -150,11 +151,11 @@ public void sendDashReportUsingPOSTTest() throws ApiException { * * * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void toggleEnabledUsingPUT1Test() throws ApiException { + public void toggleEnabledUsingPUT1Test() throws Exception { UpdateSubscriptionDto body = null; Long updateableSubscriptionId = null; SubscriptionResponse response = api.toggleEnabledUsingPUT1(body, updateableSubscriptionId); @@ -166,11 +167,11 @@ public void toggleEnabledUsingPUT1Test() throws ApiException { * * * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void updateForAppUsingPUTTest() throws ApiException { + public void updateForAppUsingPUTTest() throws Exception { SubscriptionDto body = null; Long appId = null; SubscriptionResponse response = api.updateForAppUsingPUT(body, appId); @@ -182,11 +183,11 @@ public void updateForAppUsingPUTTest() throws ApiException { * * * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void updateForDashUsingPUT1Test() throws ApiException { + public void updateForDashUsingPUT1Test() throws Exception { SubscriptionDashboardDto body = null; Long dashId = null; SubscriptionResponse response = api.updateForDashUsingPUT1(body, dashId); diff --git a/src/test/java/com/sematext/cloud/client/TagApiControllerApiTest.java b/src/test/java/com/sematext/cloud/client/TagApiControllerApiTest.java index 5af90fd..0f3c911 100644 --- a/src/test/java/com/sematext/cloud/client/TagApiControllerApiTest.java +++ b/src/test/java/com/sematext/cloud/client/TagApiControllerApiTest.java @@ -12,17 +12,18 @@ package com.sematext.cloud.client; -import com.sematext.cloud.ApiException; import com.sematext.cloud.model.Dimension; import com.sematext.cloud.model.TagNamesResponse; import org.junit.Test; import org.junit.Ignore; + import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; + /** * API tests for TagApiControllerApi */ @@ -36,11 +37,11 @@ public class TagApiControllerApiTest { * * * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void getTagNamesUsingGETTest() throws ApiException { + public void getTagNamesUsingGETTest() throws Exception { String appIds = null; Long from = null; Long to = null; @@ -57,11 +58,11 @@ public void getTagNamesUsingGETTest() throws ApiException { * * * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void getUsingGET2Test() throws ApiException { + public void getUsingGETTest() throws Exception { String appIds = null; List tag = null; Long from = null; @@ -70,7 +71,7 @@ public void getUsingGET2Test() throws ApiException { Boolean logs = null; Boolean events = null; Boolean rum = null; - Map response = api.getUsingGET2(appIds, tag, from, to, metrics, logs, events, rum); + Map response = api.getUsingGET(appIds, tag, from, to, metrics, logs, events, rum); // TODO: test validations } @@ -79,11 +80,11 @@ public void getUsingGET2Test() throws ApiException { * * * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void getUsingGET3Test() throws ApiException { + public void getUsingGET3Test() throws Exception { String appIds = null; List tag = null; Long from = null; diff --git a/src/test/java/com/sematext/cloud/client/TokensApiControllerApiTest.java b/src/test/java/com/sematext/cloud/client/TokensApiControllerApiTest.java index b06e69a..60b23f5 100644 --- a/src/test/java/com/sematext/cloud/client/TokensApiControllerApiTest.java +++ b/src/test/java/com/sematext/cloud/client/TokensApiControllerApiTest.java @@ -12,7 +12,6 @@ package com.sematext.cloud.client; -import com.sematext.cloud.ApiException; import com.sematext.cloud.model.CreateTokenDto; import com.sematext.cloud.model.GenericMapBasedApiResponse; import com.sematext.cloud.model.TokenResponse; @@ -21,11 +20,13 @@ import org.junit.Test; import org.junit.Ignore; + import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; + /** * API tests for TokensApiControllerApi */ @@ -39,14 +40,14 @@ public class TokensApiControllerApiTest { * * * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void createAppTokenTest() throws ApiException { + public void createAppToken1Test() throws Exception { CreateTokenDto body = null; Long appId = null; - TokenResponse response = api.createAppToken(body, appId); + TokenResponse response = api.createAppToken1(body, appId); // TODO: test validations } @@ -55,11 +56,11 @@ public void createAppTokenTest() throws ApiException { * * * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void deleteAppToken1Test() throws ApiException { + public void deleteAppToken1Test() throws Exception { Long appId = null; Long tokenId = null; GenericMapBasedApiResponse response = api.deleteAppToken1(appId, tokenId); @@ -71,13 +72,13 @@ public void deleteAppToken1Test() throws ApiException { * * * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void getAppTokens1Test() throws ApiException { + public void getAppTokensTest() throws Exception { Long appId = null; - TokensResponse response = api.getAppTokens1(appId); + TokensResponse response = api.getAppTokens(appId); // TODO: test validations } @@ -86,11 +87,11 @@ public void getAppTokens1Test() throws ApiException { * * * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void regenerateAppToken1Test() throws ApiException { + public void regenerateAppToken1Test() throws Exception { Long appId = null; Long tokenId = null; TokenResponse response = api.regenerateAppToken1(appId, tokenId); @@ -102,15 +103,15 @@ public void regenerateAppToken1Test() throws ApiException { * * * - * @throws ApiException + * @throws Exception * if the Api call fails */ @Test - public void updateAppTokenTest() throws ApiException { + public void updateAppToken1Test() throws Exception { UpdateTokenDto body = null; Long appId = null; Long tokenId = null; - TokenResponse response = api.updateAppToken(body, appId, tokenId); + TokenResponse response = api.updateAppToken1(body, appId, tokenId); // TODO: test validations }