From 5011626fb076d5a533e9c5db0adb82297c387b09 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Mon, 5 Aug 2024 12:05:57 +0000 Subject: [PATCH] Offline remote write related APIs. --- aliyun-java-sdk-arms/ChangeLog.txt | 4 + aliyun-java-sdk-arms/pom.xml | 2 +- .../v20190808/CreateEnvironmentRequest.java | 26 ++ .../CreateGrafanaWorkspaceResponse.java | 10 + .../v20190808/CreateIntegrationRequest.java | 26 +- .../CreateOrUpdateAlertRuleRequest.java | 13 + .../CreateOrUpdateContactRequest.java | 13 + ...eateOrUpdateNotificationPolicyRequest.java | 159 +++++---- ...ateOrUpdateNotificationPolicyResponse.java | 10 + .../CreateOrUpdateSilencePolicyRequest.java | 27 +- .../CreateOrUpdateSilencePolicyResponse.java | 10 + .../model/v20190808/CreateRumAppRequest.java | 189 ++++++++++ ...esponse.java => CreateRumAppResponse.java} | 79 ++-- .../CreateRumUploadFileUrlRequest.java | 134 +++++++ ...va => CreateRumUploadFileUrlResponse.java} | 67 ++-- .../v20190808/DeleteAddonReleaseRequest.java | 13 + ...eRequest.java => DeleteRumAppRequest.java} | 40 ++- .../model/v20190808/DeleteRumAppResponse.java | 106 ++++++ .../v20190808/DeleteRumUploadFileRequest.java | 95 +++++ ....java => DeleteRumUploadFileResponse.java} | 38 +- .../DescribeEnvironmentFeatureRequest.java | 13 + .../DescribeEnvironmentFeatureResponse.java | 40 +++ .../DescribeEnvironmentResponse.java | 30 ++ .../v20190808/DescribeIMRobotsRequest.java | 26 +- .../DescribeWebhookContactsRequest.java | 52 +-- ...uest.java => DoInsightsActionRequest.java} | 40 ++- ...nse.java => DoInsightsActionResponse.java} | 28 +- .../v20190808/GetAlertRulesResponse.java | 12 +- .../GetGrafanaWorkspaceResponse.java | 10 + .../GetPrometheusInstanceResponse.java | 50 +++ ...Request.java => GetRumAppInfoRequest.java} | 40 ++- .../v20190808/GetRumAppInfoResponse.java | 36 ++ .../model/v20190808/GetRumAppsRequest.java | 137 +++++++ .../model/v20190808/GetRumAppsResponse.java | 336 ++++++++++++++++++ .../v20190808/GetRumDataForPageRequest.java | 134 +++++++ .../v20190808/GetRumDataForPageResponse.java | 171 +++++++++ .../GetRumExceptionStackRequest.java | 108 ++++++ .../GetRumExceptionStackResponse.java | 120 +++++++ .../GetRumOcuStatisticDataRequest.java | 175 +++++++++ .../GetRumOcuStatisticDataResponse.java | 131 +++++++ .../v20190808/GetRumUploadFilesRequest.java | 82 +++++ .../v20190808/GetRumUploadFilesResponse.java | 150 ++++++++ ...est.java => GetTraceAppConfigRequest.java} | 26 +- ...se.java => GetTraceAppConfigResponse.java} | 34 +- .../model/v20190808/GetTraceAppResponse.java | 20 ++ .../model/v20190808/ListAddonsResponse.java | 10 + .../v20190808/ListAlertEventsRequest.java | 13 + .../v20190808/ListAlertEventsResponse.java | 43 +++ .../model/v20190808/ListAlertsRequest.java | 13 + .../ListEnvironmentFeaturesRequest.java | 13 + .../v20190808/ListEnvironmentsRequest.java | 28 +- .../v20190808/ListEnvironmentsResponse.java | 10 + .../ListGrafanaWorkspaceResponse.java | 10 + .../v20190808/ListIntegrationRequest.java | 26 +- .../ListNotificationPoliciesResponse.java | 10 + .../v20190808/ListSilencePoliciesRequest.java | 26 +- .../ListSilencePoliciesResponse.java | 10 + .../QueryCommercialUsageResponse.java | 16 +- .../v20190808/UpdateIntegrationRequest.java | 104 +++--- .../UpdatePrometheusRemoteWriteRequest.java | 80 ----- .../model/v20190808/UpdateRumAppRequest.java | 160 +++++++++ .../model/v20190808/UpdateRumAppResponse.java | 139 ++++++++ .../v20190808/UpdateRumFileStatusRequest.java | 121 +++++++ .../UpdateRumFileStatusResponse.java | 46 +++ ...etheusRemoteWriteResponseUnmarshaller.java | 33 -- ...eGrafanaWorkspaceResponseUnmarshaller.java | 1 + ...otificationPolicyResponseUnmarshaller.java | 1 + ...dateSilencePolicyResponseUnmarshaller.java | 1 + .../CreateRumAppResponseUnmarshaller.java | 41 +++ ...eRumUploadFileUrlResponseUnmarshaller.java | 34 ++ ...etheusRemoteWriteResponseUnmarshaller.java | 33 -- .../DeleteRumAppResponseUnmarshaller.java | 35 ++ ...leteRumUploadFileResponseUnmarshaller.java | 34 ++ ...nvironmentFeatureResponseUnmarshaller.java | 9 + ...scribeEnvironmentResponseUnmarshaller.java | 3 + .../DoInsightsActionResponseUnmarshaller.java | 33 ++ .../GetAlertRulesResponseUnmarshaller.java | 4 +- ...tGrafanaWorkspaceResponseUnmarshaller.java | 1 + ...rometheusInstanceResponseUnmarshaller.java | 10 + ...etheusRemoteWriteResponseUnmarshaller.java | 39 -- .../GetRumAppInfoResponseUnmarshaller.java | 28 ++ .../GetRumAppsResponseUnmarshaller.java | 88 +++++ ...GetRumDataForPageResponseUnmarshaller.java | 50 +++ ...RumExceptionStackResponseUnmarshaller.java | 47 +++ ...mOcuStatisticDataResponseUnmarshaller.java | 46 +++ ...GetRumUploadFilesResponseUnmarshaller.java | 49 +++ ...GetTraceAppConfigResponseUnmarshaller.java | 33 ++ .../GetTraceAppResponseUnmarshaller.java | 2 + .../ListAddonsResponseUnmarshaller.java | 6 + .../ListAlertEventsResponseUnmarshaller.java | 14 +- .../ListEnvironmentsResponseUnmarshaller.java | 1 + ...tGrafanaWorkspaceResponseUnmarshaller.java | 1 + ...ificationPoliciesResponseUnmarshaller.java | 1 + ...theusRemoteWritesResponseUnmarshaller.java | 47 --- ...stSilencePoliciesResponseUnmarshaller.java | 1 + ...ryCommercialUsageResponseUnmarshaller.java | 3 +- ...etheusRemoteWriteResponseUnmarshaller.java | 33 -- .../UpdateRumAppResponseUnmarshaller.java | 41 +++ ...dateRumFileStatusResponseUnmarshaller.java | 29 ++ 99 files changed, 4093 insertions(+), 679 deletions(-) create mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateRumAppRequest.java rename aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/{ListPrometheusRemoteWritesResponse.java => CreateRumAppResponse.java} (52%) create mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateRumUploadFileUrlRequest.java rename aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/{GetPrometheusRemoteWriteResponse.java => CreateRumUploadFileUrlResponse.java} (56%) rename aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/{AddPrometheusRemoteWriteRequest.java => DeleteRumAppRequest.java} (55%) create mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DeleteRumAppResponse.java create mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DeleteRumUploadFileRequest.java rename aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/{DeletePrometheusRemoteWriteResponse.java => DeleteRumUploadFileResponse.java} (73%) rename aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/{GetPrometheusRemoteWriteRequest.java => DoInsightsActionRequest.java} (55%) rename aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/{AddPrometheusRemoteWriteResponse.java => DoInsightsActionResponse.java} (80%) rename aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/{DeletePrometheusRemoteWriteRequest.java => GetRumAppInfoRequest.java} (54%) create mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumAppInfoResponse.java create mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumAppsRequest.java create mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumAppsResponse.java create mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumDataForPageRequest.java create mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumDataForPageResponse.java create mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumExceptionStackRequest.java create mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumExceptionStackResponse.java create mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumOcuStatisticDataRequest.java create mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumOcuStatisticDataResponse.java create mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumUploadFilesRequest.java create mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumUploadFilesResponse.java rename aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/{ListPrometheusRemoteWritesRequest.java => GetTraceAppConfigRequest.java} (64%) rename aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/{UpdatePrometheusRemoteWriteResponse.java => GetTraceAppConfigResponse.java} (75%) delete mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/UpdatePrometheusRemoteWriteRequest.java create mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/UpdateRumAppRequest.java create mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/UpdateRumAppResponse.java create mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/UpdateRumFileStatusRequest.java create mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/UpdateRumFileStatusResponse.java delete mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/AddPrometheusRemoteWriteResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/CreateRumAppResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/CreateRumUploadFileUrlResponseUnmarshaller.java delete mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/DeletePrometheusRemoteWriteResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/DeleteRumAppResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/DeleteRumUploadFileResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/DoInsightsActionResponseUnmarshaller.java delete mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetPrometheusRemoteWriteResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetRumAppInfoResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetRumAppsResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetRumDataForPageResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetRumExceptionStackResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetRumOcuStatisticDataResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetRumUploadFilesResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetTraceAppConfigResponseUnmarshaller.java delete mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/ListPrometheusRemoteWritesResponseUnmarshaller.java delete mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/UpdatePrometheusRemoteWriteResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/UpdateRumAppResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/UpdateRumFileStatusResponseUnmarshaller.java diff --git a/aliyun-java-sdk-arms/ChangeLog.txt b/aliyun-java-sdk-arms/ChangeLog.txt index 2e5aca32c0..d28988c609 100644 --- a/aliyun-java-sdk-arms/ChangeLog.txt +++ b/aliyun-java-sdk-arms/ChangeLog.txt @@ -1,3 +1,7 @@ +2024-08-05 Version: 2.8.36 +- Offline remote write related APIs. +- Mark the managedPrometheus related APIs as deprecated. + 2024-04-29 Version: 2.8.35 - Generated 2019-08-08 for `ARMS`. diff --git a/aliyun-java-sdk-arms/pom.xml b/aliyun-java-sdk-arms/pom.xml index 50c6ab2d0e..2c5b8707e0 100644 --- a/aliyun-java-sdk-arms/pom.xml +++ b/aliyun-java-sdk-arms/pom.xml @@ -4,7 +4,7 @@ com.aliyun aliyun-java-sdk-arms jar - 2.8.35 + 2.8.36 aliyun-java-sdk-arms http://www.aliyun.com Aliyun Open API SDK for Java diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateEnvironmentRequest.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateEnvironmentRequest.java index 39dcf586b8..f2c3c5ff4d 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateEnvironmentRequest.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateEnvironmentRequest.java @@ -30,12 +30,16 @@ public class CreateEnvironmentRequest extends RpcAcsRequest tagss; + private String grafanaWorkspaceId; + private String resourceGroupId; private String environmentType; @@ -76,6 +80,17 @@ public void setEnvironmentName(String environmentName) { } } + public Boolean getInitEnvironment() { + return this.initEnvironment; + } + + public void setInitEnvironment(Boolean initEnvironment) { + this.initEnvironment = initEnvironment; + if(initEnvironment != null){ + putQueryParameter("InitEnvironment", initEnvironment.toString()); + } + } + public String getPrometheusInstanceId() { return this.prometheusInstanceId; } @@ -112,6 +127,17 @@ public void setTagss(List tagss) { } } + public String getGrafanaWorkspaceId() { + return this.grafanaWorkspaceId; + } + + public void setGrafanaWorkspaceId(String grafanaWorkspaceId) { + this.grafanaWorkspaceId = grafanaWorkspaceId; + if(grafanaWorkspaceId != null){ + putQueryParameter("GrafanaWorkspaceId", grafanaWorkspaceId); + } + } + public String getResourceGroupId() { return this.resourceGroupId; } diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateGrafanaWorkspaceResponse.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateGrafanaWorkspaceResponse.java index 19bb8de4ba..eb6dfbee29 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateGrafanaWorkspaceResponse.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateGrafanaWorkspaceResponse.java @@ -103,6 +103,8 @@ public static class Data { private String grafanaWorkspaceDomain; + private String grafanaWorkspaceDomainStatus; + private Boolean commercial; private String grafanaWorkspaceName; @@ -203,6 +205,14 @@ public void setGrafanaWorkspaceDomain(String grafanaWorkspaceDomain) { this.grafanaWorkspaceDomain = grafanaWorkspaceDomain; } + public String getGrafanaWorkspaceDomainStatus() { + return this.grafanaWorkspaceDomainStatus; + } + + public void setGrafanaWorkspaceDomainStatus(String grafanaWorkspaceDomainStatus) { + this.grafanaWorkspaceDomainStatus = grafanaWorkspaceDomainStatus; + } + public Boolean getCommercial() { return this.commercial; } diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateIntegrationRequest.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateIntegrationRequest.java index 39db2f9867..e29f650f2e 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateIntegrationRequest.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateIntegrationRequest.java @@ -25,14 +25,14 @@ public class CreateIntegrationRequest extends RpcAcsRequest { + private String description; + private Boolean autoRecover; private Long recoverTime; private String integrationName; - private String description; - private String integrationProductType; public CreateIntegrationRequest() { super("ARMS", "2019-08-08", "CreateIntegration", "arms"); @@ -43,6 +43,17 @@ public CreateIntegrationRequest() { } catch (Exception e) {} } + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + if(description != null){ + putBodyParameter("Description", description); + } + } + public Boolean getAutoRecover() { return this.autoRecover; } @@ -76,17 +87,6 @@ public void setIntegrationName(String integrationName) { } } - public String getDescription() { - return this.description; - } - - public void setDescription(String description) { - this.description = description; - if(description != null){ - putBodyParameter("Description", description); - } - } - public String getIntegrationProductType() { return this.integrationProductType; } diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateOrUpdateAlertRuleRequest.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateOrUpdateAlertRuleRequest.java index 6d4b44dfaf..d02dde9ca1 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateOrUpdateAlertRuleRequest.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateOrUpdateAlertRuleRequest.java @@ -38,6 +38,8 @@ public class CreateOrUpdateAlertRuleRequest extends RpcAcsRequest { - private Long escalationPolicyId; - - private Boolean sendRecoverMessage; - private Long integrationId; - private String matchingRules; - - private Boolean directedMode; - private String groupRule; private Boolean repeat; - private String name; - private Long id; private String notifyRule; - private String notifyTemplate; + private String state; + + private Long repeatInterval; + + private Long escalationPolicyId; + + private Boolean sendRecoverMessage; + + private String matchingRules; + + private Boolean directedMode; - private Long repeatInterval; + private String name; + + private String notifyTemplate; public CreateOrUpdateNotificationPolicyRequest() { super("ARMS", "2019-08-08", "CreateOrUpdateNotificationPolicy", "arms"); setMethod(MethodType.POST); @@ -57,28 +59,6 @@ public CreateOrUpdateNotificationPolicyRequest() { } catch (Exception e) {} } - public Long getEscalationPolicyId() { - return this.escalationPolicyId; - } - - public void setEscalationPolicyId(Long escalationPolicyId) { - this.escalationPolicyId = escalationPolicyId; - if(escalationPolicyId != null){ - putBodyParameter("EscalationPolicyId", escalationPolicyId.toString()); - } - } - - public Boolean getSendRecoverMessage() { - return this.sendRecoverMessage; - } - - public void setSendRecoverMessage(Boolean sendRecoverMessage) { - this.sendRecoverMessage = sendRecoverMessage; - if(sendRecoverMessage != null){ - putBodyParameter("SendRecoverMessage", sendRecoverMessage.toString()); - } - } - public Long getIntegrationId() { return this.integrationId; } @@ -90,28 +70,6 @@ public void setIntegrationId(Long integrationId) { } } - public String getMatchingRules() { - return this.matchingRules; - } - - public void setMatchingRules(String matchingRules) { - this.matchingRules = matchingRules; - if(matchingRules != null){ - putBodyParameter("MatchingRules", matchingRules); - } - } - - public Boolean getDirectedMode() { - return this.directedMode; - } - - public void setDirectedMode(Boolean directedMode) { - this.directedMode = directedMode; - if(directedMode != null){ - putBodyParameter("DirectedMode", directedMode.toString()); - } - } - public String getGroupRule() { return this.groupRule; } @@ -134,17 +92,6 @@ public void setRepeat(Boolean repeat) { } } - public String getName() { - return this.name; - } - - public void setName(String name) { - this.name = name; - if(name != null){ - putBodyParameter("Name", name); - } - } - public Long getId() { return this.id; } @@ -167,14 +114,14 @@ public void setNotifyRule(String notifyRule) { } } - public String getNotifyTemplate() { - return this.notifyTemplate; + public String getState() { + return this.state; } - public void setNotifyTemplate(String notifyTemplate) { - this.notifyTemplate = notifyTemplate; - if(notifyTemplate != null){ - putBodyParameter("NotifyTemplate", notifyTemplate); + public void setState(String state) { + this.state = state; + if(state != null){ + putBodyParameter("State", state); } } @@ -187,6 +134,72 @@ public void setRepeatInterval(Long repeatInterval) { if(repeatInterval != null){ putBodyParameter("RepeatInterval", repeatInterval.toString()); } + } + + public Long getEscalationPolicyId() { + return this.escalationPolicyId; + } + + public void setEscalationPolicyId(Long escalationPolicyId) { + this.escalationPolicyId = escalationPolicyId; + if(escalationPolicyId != null){ + putBodyParameter("EscalationPolicyId", escalationPolicyId.toString()); + } + } + + public Boolean getSendRecoverMessage() { + return this.sendRecoverMessage; + } + + public void setSendRecoverMessage(Boolean sendRecoverMessage) { + this.sendRecoverMessage = sendRecoverMessage; + if(sendRecoverMessage != null){ + putBodyParameter("SendRecoverMessage", sendRecoverMessage.toString()); + } + } + + public String getMatchingRules() { + return this.matchingRules; + } + + public void setMatchingRules(String matchingRules) { + this.matchingRules = matchingRules; + if(matchingRules != null){ + putBodyParameter("MatchingRules", matchingRules); + } + } + + public Boolean getDirectedMode() { + return this.directedMode; + } + + public void setDirectedMode(Boolean directedMode) { + this.directedMode = directedMode; + if(directedMode != null){ + putBodyParameter("DirectedMode", directedMode.toString()); + } + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + if(name != null){ + putBodyParameter("Name", name); + } + } + + public String getNotifyTemplate() { + return this.notifyTemplate; + } + + public void setNotifyTemplate(String notifyTemplate) { + this.notifyTemplate = notifyTemplate; + if(notifyTemplate != null){ + putBodyParameter("NotifyTemplate", notifyTemplate); + } } @Override diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateOrUpdateNotificationPolicyResponse.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateOrUpdateNotificationPolicyResponse.java index 022f5053e8..6771af4f35 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateOrUpdateNotificationPolicyResponse.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateOrUpdateNotificationPolicyResponse.java @@ -63,6 +63,8 @@ public static class NotificationPolicy { private Boolean directedMode; + private String state; + private List matchingRules; private GroupRule groupRule; @@ -135,6 +137,14 @@ public void setDirectedMode(Boolean directedMode) { this.directedMode = directedMode; } + public String getState() { + return this.state; + } + + public void setState(String state) { + this.state = state; + } + public List getMatchingRules() { return this.matchingRules; } diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateOrUpdateSilencePolicyRequest.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateOrUpdateSilencePolicyRequest.java index d40ddaadfe..d4091fdca6 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateOrUpdateSilencePolicyRequest.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateOrUpdateSilencePolicyRequest.java @@ -25,11 +25,13 @@ public class CreateOrUpdateSilencePolicyRequest extends RpcAcsRequest { + private String matchingRules; + private String name; private Long id; - private String matchingRules; + private String state; public CreateOrUpdateSilencePolicyRequest() { super("ARMS", "2019-08-08", "CreateOrUpdateSilencePolicy", "arms"); setMethod(MethodType.POST); @@ -39,6 +41,17 @@ public CreateOrUpdateSilencePolicyRequest() { } catch (Exception e) {} } + public String getMatchingRules() { + return this.matchingRules; + } + + public void setMatchingRules(String matchingRules) { + this.matchingRules = matchingRules; + if(matchingRules != null){ + putBodyParameter("MatchingRules", matchingRules); + } + } + public String getName() { return this.name; } @@ -61,14 +74,14 @@ public void setId(Long id) { } } - public String getMatchingRules() { - return this.matchingRules; + public String getState() { + return this.state; } - public void setMatchingRules(String matchingRules) { - this.matchingRules = matchingRules; - if(matchingRules != null){ - putBodyParameter("MatchingRules", matchingRules); + public void setState(String state) { + this.state = state; + if(state != null){ + putBodyParameter("State", state); } } diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateOrUpdateSilencePolicyResponse.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateOrUpdateSilencePolicyResponse.java index 2f5d5ffce8..28adb10c40 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateOrUpdateSilencePolicyResponse.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateOrUpdateSilencePolicyResponse.java @@ -51,6 +51,8 @@ public static class SilencePolicy { private String name; + private String state; + private List matchingRules; public Long getId() { @@ -69,6 +71,14 @@ public void setName(String name) { this.name = name; } + public String getState() { + return this.state; + } + + public void setState(String state) { + this.state = state; + } + public List getMatchingRules() { return this.matchingRules; } diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateRumAppRequest.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateRumAppRequest.java new file mode 100644 index 0000000000..26c4a17bba --- /dev/null +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateRumAppRequest.java @@ -0,0 +1,189 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.arms.model.v20190808; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.arms.Endpoint; + +/** + * @author auto create + * @version + */ +public class CreateRumAppRequest extends RpcAcsRequest { + + + private String packageName; + + private String description; + + private String source; + + private String siteType; + + private String resourceGroupId; + + private String appName; + + private String appGroup; + + private String nickName; + + @SerializedName("tag") + private List tag; + public CreateRumAppRequest() { + super("ARMS", "2019-08-08", "CreateRumApp", "arms"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + try { + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); + } catch (Exception e) {} + } + + public String getPackageName() { + return this.packageName; + } + + public void setPackageName(String packageName) { + this.packageName = packageName; + if(packageName != null){ + putQueryParameter("PackageName", packageName); + } + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + if(description != null){ + putQueryParameter("Description", description); + } + } + + public String getSource() { + return this.source; + } + + public void setSource(String source) { + this.source = source; + if(source != null){ + putQueryParameter("Source", source); + } + } + + public String getSiteType() { + return this.siteType; + } + + public void setSiteType(String siteType) { + this.siteType = siteType; + if(siteType != null){ + putQueryParameter("SiteType", siteType); + } + } + + public String getResourceGroupId() { + return this.resourceGroupId; + } + + public void setResourceGroupId(String resourceGroupId) { + this.resourceGroupId = resourceGroupId; + if(resourceGroupId != null){ + putQueryParameter("ResourceGroupId", resourceGroupId); + } + } + + public String getAppName() { + return this.appName; + } + + public void setAppName(String appName) { + this.appName = appName; + if(appName != null){ + putQueryParameter("AppName", appName); + } + } + + public String getAppGroup() { + return this.appGroup; + } + + public void setAppGroup(String appGroup) { + this.appGroup = appGroup; + if(appGroup != null){ + putQueryParameter("AppGroup", appGroup); + } + } + + public String getNickName() { + return this.nickName; + } + + public void setNickName(String nickName) { + this.nickName = nickName; + if(nickName != null){ + putQueryParameter("NickName", nickName); + } + } + + public List getTag() { + return this.tag; + } + + public void setTag(List tag) { + this.tag = tag; + if (tag != null) { + putQueryParameter("Tag" , new Gson().toJson(tag)); + } + } + + public static class Tag { + + @SerializedName("Value") + private String value; + + @SerializedName("Key") + private String key; + + public String getValue() { + return this.value; + } + + public void setValue(String value) { + this.value = value; + } + + public String getKey() { + return this.key; + } + + public void setKey(String key) { + this.key = key; + } + } + + @Override + public Class getResponseClass() { + return CreateRumAppResponse.class; + } + +} diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListPrometheusRemoteWritesResponse.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateRumAppResponse.java similarity index 52% rename from aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListPrometheusRemoteWritesResponse.java rename to aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateRumAppResponse.java index 2a0076aaf9..a244b264cf 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListPrometheusRemoteWritesResponse.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateRumAppResponse.java @@ -13,27 +13,30 @@ */ package com.aliyuncs.arms.model.v20190808; - -import java.util.List; + import com.aliyuncs.AcsResponse; -import com.aliyuncs.arms.transform.v20190808.ListPrometheusRemoteWritesResponseUnmarshaller; +import com.aliyuncs.arms.transform.v20190808.CreateRumAppResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ -public class ListPrometheusRemoteWritesResponse extends AcsResponse { +public class CreateRumAppResponse extends AcsResponse { private String requestId; + private Integer code; + private Boolean success; private String message; - private Integer code; + private Integer httpStatusCode; + + private String resourceGroupId; - private List data; + private Data data; public String getRequestId() { return this.requestId; @@ -43,6 +46,14 @@ public void setRequestId(String requestId) { this.requestId = requestId; } + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + public Boolean getSuccess() { return this.success; } @@ -59,58 +70,66 @@ public void setMessage(String message) { this.message = message; } - public Integer getCode() { - return this.code; + public Integer getHttpStatusCode() { + return this.httpStatusCode; } - public void setCode(Integer code) { - this.code = code; + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getResourceGroupId() { + return this.resourceGroupId; + } + + public void setResourceGroupId(String resourceGroupId) { + this.resourceGroupId = resourceGroupId; } - public List getData() { + public Data getData() { return this.data; } - public void setData(List data) { + public void setData(Data data) { this.data = data; } - public static class RemoteWrite { + public static class Data { - private String clusterId; + private String pid; - private String remoteWriteName; + private String endpoint; - private String remoteWriteYaml; + private String cdnDomain; - public String getClusterId() { - return this.clusterId; + public String getPid() { + return this.pid; } - public void setClusterId(String clusterId) { - this.clusterId = clusterId; + public void setPid(String pid) { + this.pid = pid; } - public String getRemoteWriteName() { - return this.remoteWriteName; + public String getEndpoint() { + return this.endpoint; } - public void setRemoteWriteName(String remoteWriteName) { - this.remoteWriteName = remoteWriteName; + public void setEndpoint(String endpoint) { + this.endpoint = endpoint; } - public String getRemoteWriteYaml() { - return this.remoteWriteYaml; + public String getCdnDomain() { + return this.cdnDomain; } - public void setRemoteWriteYaml(String remoteWriteYaml) { - this.remoteWriteYaml = remoteWriteYaml; + public void setCdnDomain(String cdnDomain) { + this.cdnDomain = cdnDomain; } } @Override - public ListPrometheusRemoteWritesResponse getInstance(UnmarshallerContext context) { - return ListPrometheusRemoteWritesResponseUnmarshaller.unmarshall(this, context); + public CreateRumAppResponse getInstance(UnmarshallerContext context) { + return CreateRumAppResponseUnmarshaller.unmarshall(this, context); } @Override diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateRumUploadFileUrlRequest.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateRumUploadFileUrlRequest.java new file mode 100644 index 0000000000..c4f43bd3ef --- /dev/null +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateRumUploadFileUrlRequest.java @@ -0,0 +1,134 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.arms.model.v20190808; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.arms.Endpoint; + +/** + * @author auto create + * @version + */ +public class CreateRumUploadFileUrlRequest extends RpcAcsRequest { + + + private String sourcemapType; + + private String pid; + + private String uuid; + + private String contentType; + + private String versionId; + + private String fileName; + + private String appName; + public CreateRumUploadFileUrlRequest() { + super("ARMS", "2019-08-08", "CreateRumUploadFileUrl", "arms"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + try { + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); + } catch (Exception e) {} + } + + public String getSourcemapType() { + return this.sourcemapType; + } + + public void setSourcemapType(String sourcemapType) { + this.sourcemapType = sourcemapType; + if(sourcemapType != null){ + putQueryParameter("SourcemapType", sourcemapType); + } + } + + public String getPid() { + return this.pid; + } + + public void setPid(String pid) { + this.pid = pid; + if(pid != null){ + putQueryParameter("Pid", pid); + } + } + + public String getUuid() { + return this.uuid; + } + + public void setUuid(String uuid) { + this.uuid = uuid; + if(uuid != null){ + putQueryParameter("Uuid", uuid); + } + } + + public String getContentType() { + return this.contentType; + } + + public void setContentType(String contentType) { + this.contentType = contentType; + if(contentType != null){ + putQueryParameter("ContentType", contentType); + } + } + + public String getVersionId() { + return this.versionId; + } + + public void setVersionId(String versionId) { + this.versionId = versionId; + if(versionId != null){ + putQueryParameter("VersionId", versionId); + } + } + + public String getFileName() { + return this.fileName; + } + + public void setFileName(String fileName) { + this.fileName = fileName; + if(fileName != null){ + putQueryParameter("FileName", fileName); + } + } + + public String getAppName() { + return this.appName; + } + + public void setAppName(String appName) { + this.appName = appName; + if(appName != null){ + putQueryParameter("AppName", appName); + } + } + + @Override + public Class getResponseClass() { + return CreateRumUploadFileUrlResponse.class; + } + +} diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetPrometheusRemoteWriteResponse.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateRumUploadFileUrlResponse.java similarity index 56% rename from aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetPrometheusRemoteWriteResponse.java rename to aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateRumUploadFileUrlResponse.java index c6af49038d..ad88bb6a75 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetPrometheusRemoteWriteResponse.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/CreateRumUploadFileUrlResponse.java @@ -15,24 +15,26 @@ package com.aliyuncs.arms.model.v20190808; import com.aliyuncs.AcsResponse; -import com.aliyuncs.arms.transform.v20190808.GetPrometheusRemoteWriteResponseUnmarshaller; +import com.aliyuncs.arms.transform.v20190808.CreateRumUploadFileUrlResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ -public class GetPrometheusRemoteWriteResponse extends AcsResponse { +public class CreateRumUploadFileUrlResponse extends AcsResponse { private String requestId; + private Integer code; + private Boolean success; private String message; - private Integer code; + private Integer httpStatusCode; - private Data data; + private String data; public String getRequestId() { return this.requestId; @@ -42,6 +44,14 @@ public void setRequestId(String requestId) { this.requestId = requestId; } + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + public Boolean getSuccess() { return this.success; } @@ -58,58 +68,25 @@ public void setMessage(String message) { this.message = message; } - public Integer getCode() { - return this.code; + public Integer getHttpStatusCode() { + return this.httpStatusCode; } - public void setCode(Integer code) { - this.code = code; + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; } - public Data getData() { + public String getData() { return this.data; } - public void setData(Data data) { + public void setData(String data) { this.data = data; } - public static class Data { - - private String clusterId; - - private String remoteWriteName; - - private String remoteWriteYaml; - - public String getClusterId() { - return this.clusterId; - } - - public void setClusterId(String clusterId) { - this.clusterId = clusterId; - } - - public String getRemoteWriteName() { - return this.remoteWriteName; - } - - public void setRemoteWriteName(String remoteWriteName) { - this.remoteWriteName = remoteWriteName; - } - - public String getRemoteWriteYaml() { - return this.remoteWriteYaml; - } - - public void setRemoteWriteYaml(String remoteWriteYaml) { - this.remoteWriteYaml = remoteWriteYaml; - } - } - @Override - public GetPrometheusRemoteWriteResponse getInstance(UnmarshallerContext context) { - return GetPrometheusRemoteWriteResponseUnmarshaller.unmarshall(this, context); + public CreateRumUploadFileUrlResponse getInstance(UnmarshallerContext context) { + return CreateRumUploadFileUrlResponseUnmarshaller.unmarshall(this, context); } @Override diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DeleteAddonReleaseRequest.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DeleteAddonReleaseRequest.java index 3e3868a271..bea2992e50 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DeleteAddonReleaseRequest.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DeleteAddonReleaseRequest.java @@ -29,6 +29,8 @@ public class DeleteAddonReleaseRequest extends RpcAcsRequest { +public class DeleteRumAppRequest extends RpcAcsRequest { - private String clusterId; + private String appGroup; - private String remoteWriteYaml; - public AddPrometheusRemoteWriteRequest() { - super("ARMS", "2019-08-08", "AddPrometheusRemoteWrite", "arms"); + private String appId; + public DeleteRumAppRequest() { + super("ARMS", "2019-08-08", "DeleteRumApp", "arms"); + setProtocol(ProtocolType.HTTPS); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); @@ -37,31 +39,31 @@ public AddPrometheusRemoteWriteRequest() { } catch (Exception e) {} } - public String getClusterId() { - return this.clusterId; + public String getAppGroup() { + return this.appGroup; } - public void setClusterId(String clusterId) { - this.clusterId = clusterId; - if(clusterId != null){ - putQueryParameter("ClusterId", clusterId); + public void setAppGroup(String appGroup) { + this.appGroup = appGroup; + if(appGroup != null){ + putQueryParameter("AppGroup", appGroup); } } - public String getRemoteWriteYaml() { - return this.remoteWriteYaml; + public String getAppId() { + return this.appId; } - public void setRemoteWriteYaml(String remoteWriteYaml) { - this.remoteWriteYaml = remoteWriteYaml; - if(remoteWriteYaml != null){ - putBodyParameter("RemoteWriteYaml", remoteWriteYaml); + public void setAppId(String appId) { + this.appId = appId; + if(appId != null){ + putQueryParameter("AppId", appId); } } @Override - public Class getResponseClass() { - return AddPrometheusRemoteWriteResponse.class; + public Class getResponseClass() { + return DeleteRumAppResponse.class; } } diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DeleteRumAppResponse.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DeleteRumAppResponse.java new file mode 100644 index 0000000000..0f78cf378b --- /dev/null +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DeleteRumAppResponse.java @@ -0,0 +1,106 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.arms.model.v20190808; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.arms.transform.v20190808.DeleteRumAppResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteRumAppResponse extends AcsResponse { + + private String requestId; + + private Integer code; + + private Boolean success; + + private String message; + + private Integer httpStatusCode; + + private String result; + + private String resourceGroupId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getResult() { + return this.result; + } + + public void setResult(String result) { + this.result = result; + } + + public String getResourceGroupId() { + return this.resourceGroupId; + } + + public void setResourceGroupId(String resourceGroupId) { + this.resourceGroupId = resourceGroupId; + } + + @Override + public DeleteRumAppResponse getInstance(UnmarshallerContext context) { + return DeleteRumAppResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DeleteRumUploadFileRequest.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DeleteRumUploadFileRequest.java new file mode 100644 index 0000000000..b1e26f910e --- /dev/null +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DeleteRumUploadFileRequest.java @@ -0,0 +1,95 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.arms.model.v20190808; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.arms.Endpoint; + +/** + * @author auto create + * @version + */ +public class DeleteRumUploadFileRequest extends RpcAcsRequest { + + + private String versionId; + + private String fileName; + + private String pid; + + private String uuid; + public DeleteRumUploadFileRequest() { + super("ARMS", "2019-08-08", "DeleteRumUploadFile", "arms"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + try { + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); + } catch (Exception e) {} + } + + public String getVersionId() { + return this.versionId; + } + + public void setVersionId(String versionId) { + this.versionId = versionId; + if(versionId != null){ + putQueryParameter("VersionId", versionId); + } + } + + public String getFileName() { + return this.fileName; + } + + public void setFileName(String fileName) { + this.fileName = fileName; + if(fileName != null){ + putQueryParameter("FileName", fileName); + } + } + + public String getPid() { + return this.pid; + } + + public void setPid(String pid) { + this.pid = pid; + if(pid != null){ + putQueryParameter("Pid", pid); + } + } + + public String getUuid() { + return this.uuid; + } + + public void setUuid(String uuid) { + this.uuid = uuid; + if(uuid != null){ + putQueryParameter("Uuid", uuid); + } + } + + @Override + public Class getResponseClass() { + return DeleteRumUploadFileResponse.class; + } + +} diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DeletePrometheusRemoteWriteResponse.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DeleteRumUploadFileResponse.java similarity index 73% rename from aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DeletePrometheusRemoteWriteResponse.java rename to aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DeleteRumUploadFileResponse.java index bdde37eb0a..f72e0c6c65 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DeletePrometheusRemoteWriteResponse.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DeleteRumUploadFileResponse.java @@ -15,24 +15,26 @@ package com.aliyuncs.arms.model.v20190808; import com.aliyuncs.AcsResponse; -import com.aliyuncs.arms.transform.v20190808.DeletePrometheusRemoteWriteResponseUnmarshaller; +import com.aliyuncs.arms.transform.v20190808.DeleteRumUploadFileResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ -public class DeletePrometheusRemoteWriteResponse extends AcsResponse { +public class DeleteRumUploadFileResponse extends AcsResponse { private String requestId; - private String data; + private Integer code; private Boolean success; private String message; - private Integer code; + private Integer httpStatusCode; + + private String data; public String getRequestId() { return this.requestId; @@ -42,12 +44,12 @@ public void setRequestId(String requestId) { this.requestId = requestId; } - public String getData() { - return this.data; + public Integer getCode() { + return this.code; } - public void setData(String data) { - this.data = data; + public void setCode(Integer code) { + this.code = code; } public Boolean getSuccess() { @@ -66,17 +68,25 @@ public void setMessage(String message) { this.message = message; } - public Integer getCode() { - return this.code; + public Integer getHttpStatusCode() { + return this.httpStatusCode; } - public void setCode(Integer code) { - this.code = code; + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getData() { + return this.data; + } + + public void setData(String data) { + this.data = data; } @Override - public DeletePrometheusRemoteWriteResponse getInstance(UnmarshallerContext context) { - return DeletePrometheusRemoteWriteResponseUnmarshaller.unmarshall(this, context); + public DeleteRumUploadFileResponse getInstance(UnmarshallerContext context) { + return DeleteRumUploadFileResponseUnmarshaller.unmarshall(this, context); } @Override diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DescribeEnvironmentFeatureRequest.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DescribeEnvironmentFeatureRequest.java index 989f446969..ce8a224d41 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DescribeEnvironmentFeatureRequest.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DescribeEnvironmentFeatureRequest.java @@ -25,6 +25,8 @@ public class DescribeEnvironmentFeatureRequest extends RpcAcsRequest { + private String aliyunLang; + private String featureName; private String environmentId; @@ -37,6 +39,17 @@ public DescribeEnvironmentFeatureRequest() { } catch (Exception e) {} } + public String getAliyunLang() { + return this.aliyunLang; + } + + public void setAliyunLang(String aliyunLang) { + this.aliyunLang = aliyunLang; + if(aliyunLang != null){ + putQueryParameter("AliyunLang", aliyunLang); + } + } + public String getFeatureName() { return this.featureName; } diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DescribeEnvironmentFeatureResponse.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DescribeEnvironmentFeatureResponse.java index e617b74d22..2b1eaece82 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DescribeEnvironmentFeatureResponse.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DescribeEnvironmentFeatureResponse.java @@ -219,8 +219,16 @@ public static class FeatureStatus { private String status; + private String securityGroupId; + + private String vSwitchId; + + private String bindResourceId; + private List featureContainers; + private List ips; + public String getName() { return this.name; } @@ -245,6 +253,30 @@ public void setStatus(String status) { this.status = status; } + public String getSecurityGroupId() { + return this.securityGroupId; + } + + public void setSecurityGroupId(String securityGroupId) { + this.securityGroupId = securityGroupId; + } + + public String getVSwitchId() { + return this.vSwitchId; + } + + public void setVSwitchId(String vSwitchId) { + this.vSwitchId = vSwitchId; + } + + public String getBindResourceId() { + return this.bindResourceId; + } + + public void setBindResourceId(String bindResourceId) { + this.bindResourceId = bindResourceId; + } + public List getFeatureContainers() { return this.featureContainers; } @@ -253,6 +285,14 @@ public void setFeatureContainers(List featureContainers) this.featureContainers = featureContainers; } + public List getIps() { + return this.ips; + } + + public void setIps(List ips) { + this.ips = ips; + } + public static class FeatureContainersItem { private String image; diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DescribeEnvironmentResponse.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DescribeEnvironmentResponse.java index c7ce5d4027..cd3e5fd9ab 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DescribeEnvironmentResponse.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DescribeEnvironmentResponse.java @@ -93,6 +93,8 @@ public static class Data { private String prometheusInstanceName; + private String grafanaWorkspaceId; + private String grafanaFolderUid; private String grafanaDatasourceUid; @@ -113,6 +115,10 @@ public static class Data { private String dbInstanceStatus; + private String securityGroupId; + + private String vswitchId; + private String resourceGroupId; private List tags; @@ -221,6 +227,14 @@ public void setPrometheusInstanceName(String prometheusInstanceName) { this.prometheusInstanceName = prometheusInstanceName; } + public String getGrafanaWorkspaceId() { + return this.grafanaWorkspaceId; + } + + public void setGrafanaWorkspaceId(String grafanaWorkspaceId) { + this.grafanaWorkspaceId = grafanaWorkspaceId; + } + public String getGrafanaFolderUid() { return this.grafanaFolderUid; } @@ -301,6 +315,22 @@ public void setDbInstanceStatus(String dbInstanceStatus) { this.dbInstanceStatus = dbInstanceStatus; } + public String getSecurityGroupId() { + return this.securityGroupId; + } + + public void setSecurityGroupId(String securityGroupId) { + this.securityGroupId = securityGroupId; + } + + public String getVswitchId() { + return this.vswitchId; + } + + public void setVswitchId(String vswitchId) { + this.vswitchId = vswitchId; + } + public String getResourceGroupId() { return this.resourceGroupId; } diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DescribeIMRobotsRequest.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DescribeIMRobotsRequest.java index a7301a38a3..1803492323 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DescribeIMRobotsRequest.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DescribeIMRobotsRequest.java @@ -25,12 +25,12 @@ public class DescribeIMRobotsRequest extends RpcAcsRequest { - private Long size; - private String robotIds; private String robotName; + private Long size; + private Long page; public DescribeIMRobotsRequest() { super("ARMS", "2019-08-08", "DescribeIMRobots", "arms"); @@ -41,17 +41,6 @@ public DescribeIMRobotsRequest() { } catch (Exception e) {} } - public Long getSize() { - return this.size; - } - - public void setSize(Long size) { - this.size = size; - if(size != null){ - putQueryParameter("Size", size.toString()); - } - } - public String getRobotIds() { return this.robotIds; } @@ -74,6 +63,17 @@ public void setRobotName(String robotName) { } } + public Long getSize() { + return this.size; + } + + public void setSize(Long size) { + this.size = size; + if(size != null){ + putQueryParameter("Size", size.toString()); + } + } + public Long getPage() { return this.page; } diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DescribeWebhookContactsRequest.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DescribeWebhookContactsRequest.java index 6863ab2393..f07dc5e99c 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DescribeWebhookContactsRequest.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DescribeWebhookContactsRequest.java @@ -25,13 +25,13 @@ public class DescribeWebhookContactsRequest extends RpcAcsRequest { - private Long size; - private String webhookName; - private Long page; + private String contactIds; + + private Long size; - private String contactIds; + private Long page; public DescribeWebhookContactsRequest() { super("ARMS", "2019-08-08", "DescribeWebhookContacts", "arms"); setMethod(MethodType.GET); @@ -41,17 +41,6 @@ public DescribeWebhookContactsRequest() { } catch (Exception e) {} } - public Long getSize() { - return this.size; - } - - public void setSize(Long size) { - this.size = size; - if(size != null){ - putQueryParameter("Size", size.toString()); - } - } - public String getWebhookName() { return this.webhookName; } @@ -63,17 +52,6 @@ public void setWebhookName(String webhookName) { } } - public Long getPage() { - return this.page; - } - - public void setPage(Long page) { - this.page = page; - if(page != null){ - putQueryParameter("Page", page.toString()); - } - } - public String getContactIds() { return this.contactIds; } @@ -83,6 +61,28 @@ public void setContactIds(String contactIds) { if(contactIds != null){ putQueryParameter("ContactIds", contactIds); } + } + + public Long getSize() { + return this.size; + } + + public void setSize(Long size) { + this.size = size; + if(size != null){ + putQueryParameter("Size", size.toString()); + } + } + + public Long getPage() { + return this.page; + } + + public void setPage(Long page) { + this.page = page; + if(page != null){ + putQueryParameter("Page", page.toString()); + } } @Override diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetPrometheusRemoteWriteRequest.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DoInsightsActionRequest.java similarity index 55% rename from aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetPrometheusRemoteWriteRequest.java rename to aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DoInsightsActionRequest.java index 79885e529a..4c53389fed 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetPrometheusRemoteWriteRequest.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DoInsightsActionRequest.java @@ -15,6 +15,7 @@ package com.aliyuncs.arms.model.v20190808; import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; import com.aliyuncs.http.MethodType; import com.aliyuncs.arms.Endpoint; @@ -22,14 +23,15 @@ * @author auto create * @version */ -public class GetPrometheusRemoteWriteRequest extends RpcAcsRequest { +public class DoInsightsActionRequest extends RpcAcsRequest { - private String clusterId; + private String data; - private String remoteWriteName; - public GetPrometheusRemoteWriteRequest() { - super("ARMS", "2019-08-08", "GetPrometheusRemoteWrite", "arms"); + private String module; + public DoInsightsActionRequest() { + super("ARMS", "2019-08-08", "DoInsightsAction", "arms"); + setProtocol(ProtocolType.HTTPS); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); @@ -37,31 +39,31 @@ public GetPrometheusRemoteWriteRequest() { } catch (Exception e) {} } - public String getClusterId() { - return this.clusterId; + public String getData() { + return this.data; } - public void setClusterId(String clusterId) { - this.clusterId = clusterId; - if(clusterId != null){ - putQueryParameter("ClusterId", clusterId); + public void setData(String data) { + this.data = data; + if(data != null){ + putBodyParameter("Data", data); } } - public String getRemoteWriteName() { - return this.remoteWriteName; + public String getModule() { + return this.module; } - public void setRemoteWriteName(String remoteWriteName) { - this.remoteWriteName = remoteWriteName; - if(remoteWriteName != null){ - putQueryParameter("RemoteWriteName", remoteWriteName); + public void setModule(String module) { + this.module = module; + if(module != null){ + putBodyParameter("Module", module); } } @Override - public Class getResponseClass() { - return GetPrometheusRemoteWriteResponse.class; + public Class getResponseClass() { + return DoInsightsActionResponse.class; } } diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/AddPrometheusRemoteWriteResponse.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DoInsightsActionResponse.java similarity index 80% rename from aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/AddPrometheusRemoteWriteResponse.java rename to aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DoInsightsActionResponse.java index c56103f788..3342cf0de8 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/AddPrometheusRemoteWriteResponse.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DoInsightsActionResponse.java @@ -15,24 +15,24 @@ package com.aliyuncs.arms.model.v20190808; import com.aliyuncs.AcsResponse; -import com.aliyuncs.arms.transform.v20190808.AddPrometheusRemoteWriteResponseUnmarshaller; +import com.aliyuncs.arms.transform.v20190808.DoInsightsActionResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ -public class AddPrometheusRemoteWriteResponse extends AcsResponse { +public class DoInsightsActionResponse extends AcsResponse { private String requestId; - private String data; + private Integer code; private Boolean success; private String message; - private Integer code; + private String data; public String getRequestId() { return this.requestId; @@ -42,12 +42,12 @@ public void setRequestId(String requestId) { this.requestId = requestId; } - public String getData() { - return this.data; + public Integer getCode() { + return this.code; } - public void setData(String data) { - this.data = data; + public void setCode(Integer code) { + this.code = code; } public Boolean getSuccess() { @@ -66,17 +66,17 @@ public void setMessage(String message) { this.message = message; } - public Integer getCode() { - return this.code; + public String getData() { + return this.data; } - public void setCode(Integer code) { - this.code = code; + public void setData(String data) { + this.data = data; } @Override - public AddPrometheusRemoteWriteResponse getInstance(UnmarshallerContext context) { - return AddPrometheusRemoteWriteResponseUnmarshaller.unmarshall(this, context); + public DoInsightsActionResponse getInstance(UnmarshallerContext context) { + return DoInsightsActionResponseUnmarshaller.unmarshall(this, context); } @Override diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetAlertRulesResponse.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetAlertRulesResponse.java index d53cf864c1..5ed1529408 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetAlertRulesResponse.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetAlertRulesResponse.java @@ -89,7 +89,7 @@ public void setAlertRules(List alertRules) { public static class AlertRulesItem { - private Float alertId; + private Long alertId; private String alertName; @@ -141,11 +141,11 @@ public static class AlertRulesItem { private Filters filters; - public Float getAlertId() { + public Long getAlertId() { return this.alertId; } - public void setAlertId(Float alertId) { + public void setAlertId(Long alertId) { this.alertId = alertId; } @@ -442,7 +442,7 @@ public void setAlertRuleItems(List alertRuleItems) { public static class AlertRuleItemsItem { - private Float n; + private Long n; private String metricKey; @@ -452,11 +452,11 @@ public static class AlertRuleItemsItem { private String value; - public Float getN() { + public Long getN() { return this.n; } - public void setN(Float n) { + public void setN(Long n) { this.n = n; } diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetGrafanaWorkspaceResponse.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetGrafanaWorkspaceResponse.java index 5383ba8037..f9556f8724 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetGrafanaWorkspaceResponse.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetGrafanaWorkspaceResponse.java @@ -103,6 +103,8 @@ public static class Data { private String grafanaWorkspaceDomain; + private String grafanaWorkspaceDomainStatus; + private Boolean commercial; private String grafanaWorkspaceName; @@ -203,6 +205,14 @@ public void setGrafanaWorkspaceDomain(String grafanaWorkspaceDomain) { this.grafanaWorkspaceDomain = grafanaWorkspaceDomain; } + public String getGrafanaWorkspaceDomainStatus() { + return this.grafanaWorkspaceDomainStatus; + } + + public void setGrafanaWorkspaceDomainStatus(String grafanaWorkspaceDomainStatus) { + this.grafanaWorkspaceDomainStatus = grafanaWorkspaceDomainStatus; + } + public Boolean getCommercial() { return this.commercial; } diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetPrometheusInstanceResponse.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetPrometheusInstanceResponse.java index 0e7cd98106..fb26b3dd6a 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetPrometheusInstanceResponse.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetPrometheusInstanceResponse.java @@ -103,6 +103,8 @@ public static class Data { private String authToken; + private String accessType; + private String paymentType; private Integer storageDuration; @@ -115,8 +117,16 @@ public static class Data { private String resourceType; + private String enableAuthToken; + + private String product; + + private String dbInstanceStatus; + private List tags; + private List surpportAuthTypes; + public String getClusterId() { return this.clusterId; } @@ -261,6 +271,14 @@ public void setAuthToken(String authToken) { this.authToken = authToken; } + public String getAccessType() { + return this.accessType; + } + + public void setAccessType(String accessType) { + this.accessType = accessType; + } + public String getPaymentType() { return this.paymentType; } @@ -309,6 +327,30 @@ public void setResourceType(String resourceType) { this.resourceType = resourceType; } + public String getEnableAuthToken() { + return this.enableAuthToken; + } + + public void setEnableAuthToken(String enableAuthToken) { + this.enableAuthToken = enableAuthToken; + } + + public String getProduct() { + return this.product; + } + + public void setProduct(String product) { + this.product = product; + } + + public String getDbInstanceStatus() { + return this.dbInstanceStatus; + } + + public void setDbInstanceStatus(String dbInstanceStatus) { + this.dbInstanceStatus = dbInstanceStatus; + } + public List getTags() { return this.tags; } @@ -317,6 +359,14 @@ public void setTags(List tags) { this.tags = tags; } + public List getSurpportAuthTypes() { + return this.surpportAuthTypes; + } + + public void setSurpportAuthTypes(List surpportAuthTypes) { + this.surpportAuthTypes = surpportAuthTypes; + } + public static class TagsItem { private String tagKey; diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DeletePrometheusRemoteWriteRequest.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumAppInfoRequest.java similarity index 54% rename from aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DeletePrometheusRemoteWriteRequest.java rename to aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumAppInfoRequest.java index 6eb94969c3..b9e72c3c84 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/DeletePrometheusRemoteWriteRequest.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumAppInfoRequest.java @@ -15,6 +15,7 @@ package com.aliyuncs.arms.model.v20190808; import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; import com.aliyuncs.http.MethodType; import com.aliyuncs.arms.Endpoint; @@ -22,14 +23,15 @@ * @author auto create * @version */ -public class DeletePrometheusRemoteWriteRequest extends RpcAcsRequest { +public class GetRumAppInfoRequest extends RpcAcsRequest { - private String remoteWriteNames; + private String appGroup; - private String clusterId; - public DeletePrometheusRemoteWriteRequest() { - super("ARMS", "2019-08-08", "DeletePrometheusRemoteWrite", "arms"); + private String pid; + public GetRumAppInfoRequest() { + super("ARMS", "2019-08-08", "GetRumAppInfo", "arms"); + setProtocol(ProtocolType.HTTPS); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); @@ -37,31 +39,31 @@ public DeletePrometheusRemoteWriteRequest() { } catch (Exception e) {} } - public String getRemoteWriteNames() { - return this.remoteWriteNames; + public String getAppGroup() { + return this.appGroup; } - public void setRemoteWriteNames(String remoteWriteNames) { - this.remoteWriteNames = remoteWriteNames; - if(remoteWriteNames != null){ - putQueryParameter("RemoteWriteNames", remoteWriteNames); + public void setAppGroup(String appGroup) { + this.appGroup = appGroup; + if(appGroup != null){ + putQueryParameter("AppGroup", appGroup); } } - public String getClusterId() { - return this.clusterId; + public String getPid() { + return this.pid; } - public void setClusterId(String clusterId) { - this.clusterId = clusterId; - if(clusterId != null){ - putQueryParameter("ClusterId", clusterId); + public void setPid(String pid) { + this.pid = pid; + if(pid != null){ + putQueryParameter("Pid", pid); } } @Override - public Class getResponseClass() { - return DeletePrometheusRemoteWriteResponse.class; + public Class getResponseClass() { + return GetRumAppInfoResponse.class; } } diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumAppInfoResponse.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumAppInfoResponse.java new file mode 100644 index 0000000000..5a6eb7d7ee --- /dev/null +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumAppInfoResponse.java @@ -0,0 +1,36 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.arms.model.v20190808; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.arms.transform.v20190808.GetRumAppInfoResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetRumAppInfoResponse extends AcsResponse { + + @Override + public GetRumAppInfoResponse getInstance(UnmarshallerContext context) { + return GetRumAppInfoResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumAppsRequest.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumAppsRequest.java new file mode 100644 index 0000000000..8c7fa8a6b3 --- /dev/null +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumAppsRequest.java @@ -0,0 +1,137 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.arms.model.v20190808; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.arms.Endpoint; + +/** + * @author auto create + * @version + */ +public class GetRumAppsRequest extends RpcAcsRequest { + + + @SerializedName("tags") + private List tags; + + private String resourceGroupId; + + private String appName; + + private String appGroup; + + private String appId; + public GetRumAppsRequest() { + super("ARMS", "2019-08-08", "GetRumApps", "arms"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + try { + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); + } catch (Exception e) {} + } + + public List getTags() { + return this.tags; + } + + public void setTags(List tags) { + this.tags = tags; + if (tags != null) { + putQueryParameter("Tags" , new Gson().toJson(tags)); + } + } + + public String getResourceGroupId() { + return this.resourceGroupId; + } + + public void setResourceGroupId(String resourceGroupId) { + this.resourceGroupId = resourceGroupId; + if(resourceGroupId != null){ + putQueryParameter("ResourceGroupId", resourceGroupId); + } + } + + public String getAppName() { + return this.appName; + } + + public void setAppName(String appName) { + this.appName = appName; + if(appName != null){ + putQueryParameter("AppName", appName); + } + } + + public String getAppGroup() { + return this.appGroup; + } + + public void setAppGroup(String appGroup) { + this.appGroup = appGroup; + if(appGroup != null){ + putQueryParameter("AppGroup", appGroup); + } + } + + public String getAppId() { + return this.appId; + } + + public void setAppId(String appId) { + this.appId = appId; + if(appId != null){ + putQueryParameter("AppId", appId); + } + } + + public static class Tags { + + @SerializedName("Value") + private String value; + + @SerializedName("Key") + private String key; + + public String getValue() { + return this.value; + } + + public void setValue(String value) { + this.value = value; + } + + public String getKey() { + return this.key; + } + + public void setKey(String key) { + this.key = key; + } + } + + @Override + public Class getResponseClass() { + return GetRumAppsResponse.class; + } + +} diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumAppsResponse.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumAppsResponse.java new file mode 100644 index 0000000000..cada4dec5d --- /dev/null +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumAppsResponse.java @@ -0,0 +1,336 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.arms.model.v20190808; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.arms.transform.v20190808.GetRumAppsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetRumAppsResponse extends AcsResponse { + + private String requestId; + + private Integer code; + + private Boolean success; + + private String message; + + private Integer httpStatusCode; + + private List appList; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public List getAppList() { + return this.appList; + } + + public void setAppList(List appList) { + this.appList = appList; + } + + public static class AppListItem { + + private Object createTime; + + private String name; + + private String pid; + + private String type; + + private String nickName; + + private String regionId; + + private String appType; + + private String status; + + private String resourceGroupId; + + private Boolean isSubscription; + + private String description; + + private String packageName; + + private String endpoint; + + private String slsProject; + + private String slsLogstore; + + private List tags; + + private List serviceDomainConfigs; + + public Object getCreateTime() { + return this.createTime; + } + + public void setCreateTime(Object createTime) { + this.createTime = createTime; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getPid() { + return this.pid; + } + + public void setPid(String pid) { + this.pid = pid; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public String getNickName() { + return this.nickName; + } + + public void setNickName(String nickName) { + this.nickName = nickName; + } + + public String getRegionId() { + return this.regionId; + } + + public void setRegionId(String regionId) { + this.regionId = regionId; + } + + public String getAppType() { + return this.appType; + } + + public void setAppType(String appType) { + this.appType = appType; + } + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getResourceGroupId() { + return this.resourceGroupId; + } + + public void setResourceGroupId(String resourceGroupId) { + this.resourceGroupId = resourceGroupId; + } + + public Boolean getIsSubscription() { + return this.isSubscription; + } + + public void setIsSubscription(Boolean isSubscription) { + this.isSubscription = isSubscription; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getPackageName() { + return this.packageName; + } + + public void setPackageName(String packageName) { + this.packageName = packageName; + } + + public String getEndpoint() { + return this.endpoint; + } + + public void setEndpoint(String endpoint) { + this.endpoint = endpoint; + } + + public String getSlsProject() { + return this.slsProject; + } + + public void setSlsProject(String slsProject) { + this.slsProject = slsProject; + } + + public String getSlsLogstore() { + return this.slsLogstore; + } + + public void setSlsLogstore(String slsLogstore) { + this.slsLogstore = slsLogstore; + } + + public List getTags() { + return this.tags; + } + + public void setTags(List tags) { + this.tags = tags; + } + + public List getServiceDomainConfigs() { + return this.serviceDomainConfigs; + } + + public void setServiceDomainConfigs(List serviceDomainConfigs) { + this.serviceDomainConfigs = serviceDomainConfigs; + } + + public static class TagsItem { + + private String key; + + private String value; + + public String getKey() { + return this.key; + } + + public void setKey(String key) { + this.key = key; + } + + public String getValue() { + return this.value; + } + + public void setValue(String value) { + this.value = value; + } + } + + public static class ServiceDomainConfigsItem { + + private String domain; + + private String description; + + private String tracing; + + private List propagatorTypes; + + public String getDomain() { + return this.domain; + } + + public void setDomain(String domain) { + this.domain = domain; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getTracing() { + return this.tracing; + } + + public void setTracing(String tracing) { + this.tracing = tracing; + } + + public List getPropagatorTypes() { + return this.propagatorTypes; + } + + public void setPropagatorTypes(List propagatorTypes) { + this.propagatorTypes = propagatorTypes; + } + } + } + + @Override + public GetRumAppsResponse getInstance(UnmarshallerContext context) { + return GetRumAppsResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumDataForPageRequest.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumDataForPageRequest.java new file mode 100644 index 0000000000..04b7787908 --- /dev/null +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumDataForPageRequest.java @@ -0,0 +1,134 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.arms.model.v20190808; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.arms.Endpoint; + +/** + * @author auto create + * @version + */ +public class GetRumDataForPageRequest extends RpcAcsRequest { + + + private String query; + + private Integer endTime; + + private String pid; + + private Integer currentPage; + + private Integer startTime; + + private String appGroup; + + private Integer pageSize; + public GetRumDataForPageRequest() { + super("ARMS", "2019-08-08", "GetRumDataForPage", "arms"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + try { + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); + } catch (Exception e) {} + } + + public String getQuery() { + return this.query; + } + + public void setQuery(String query) { + this.query = query; + if(query != null){ + putQueryParameter("Query", query); + } + } + + public Integer getEndTime() { + return this.endTime; + } + + public void setEndTime(Integer endTime) { + this.endTime = endTime; + if(endTime != null){ + putQueryParameter("EndTime", endTime.toString()); + } + } + + public String getPid() { + return this.pid; + } + + public void setPid(String pid) { + this.pid = pid; + if(pid != null){ + putQueryParameter("Pid", pid); + } + } + + public Integer getCurrentPage() { + return this.currentPage; + } + + public void setCurrentPage(Integer currentPage) { + this.currentPage = currentPage; + if(currentPage != null){ + putQueryParameter("CurrentPage", currentPage.toString()); + } + } + + public Integer getStartTime() { + return this.startTime; + } + + public void setStartTime(Integer startTime) { + this.startTime = startTime; + if(startTime != null){ + putQueryParameter("StartTime", startTime.toString()); + } + } + + public String getAppGroup() { + return this.appGroup; + } + + public void setAppGroup(String appGroup) { + this.appGroup = appGroup; + if(appGroup != null){ + putQueryParameter("AppGroup", appGroup); + } + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + if(pageSize != null){ + putQueryParameter("PageSize", pageSize.toString()); + } + } + + @Override + public Class getResponseClass() { + return GetRumDataForPageResponse.class; + } + +} diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumDataForPageResponse.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumDataForPageResponse.java new file mode 100644 index 0000000000..6fdce04381 --- /dev/null +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumDataForPageResponse.java @@ -0,0 +1,171 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.arms.model.v20190808; + +import java.util.List; +import java.util.Map; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.arms.transform.v20190808.GetRumDataForPageResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetRumDataForPageResponse extends AcsResponse { + + private String requestId; + + private String code; + + private String success; + + private String message; + + private String httpStatusCode; + + private Data data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getSuccess() { + return this.success; + } + + public void setSuccess(String success) { + this.success = success; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public String getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(String httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private String total; + + private String page; + + private String pageSize; + + private String authentication; + + private String completion; + + private String preference; + + private List> items; + + public String getTotal() { + return this.total; + } + + public void setTotal(String total) { + this.total = total; + } + + public String getPage() { + return this.page; + } + + public void setPage(String page) { + this.page = page; + } + + public String getPageSize() { + return this.pageSize; + } + + public void setPageSize(String pageSize) { + this.pageSize = pageSize; + } + + public String getAuthentication() { + return this.authentication; + } + + public void setAuthentication(String authentication) { + this.authentication = authentication; + } + + public String getCompletion() { + return this.completion; + } + + public void setCompletion(String completion) { + this.completion = completion; + } + + public String getPreference() { + return this.preference; + } + + public void setPreference(String preference) { + this.preference = preference; + } + + public List> getItems() { + return this.items; + } + + public void setItems(List> items) { + this.items = items; + } + } + + @Override + public GetRumDataForPageResponse getInstance(UnmarshallerContext context) { + return GetRumDataForPageResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumExceptionStackRequest.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumExceptionStackRequest.java new file mode 100644 index 0000000000..d9f90b63a1 --- /dev/null +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumExceptionStackRequest.java @@ -0,0 +1,108 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.arms.model.v20190808; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.arms.Endpoint; + +/** + * @author auto create + * @version + */ +public class GetRumExceptionStackRequest extends RpcAcsRequest { + + + private String sourcemapType; + + private String exceptionThreadId; + + private String pid; + + private String exceptionBinaryImages; + + private String exceptionStack; + public GetRumExceptionStackRequest() { + super("ARMS", "2019-08-08", "GetRumExceptionStack", "arms"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + try { + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); + } catch (Exception e) {} + } + + public String getSourcemapType() { + return this.sourcemapType; + } + + public void setSourcemapType(String sourcemapType) { + this.sourcemapType = sourcemapType; + if(sourcemapType != null){ + putQueryParameter("SourcemapType", sourcemapType); + } + } + + public String getExceptionThreadId() { + return this.exceptionThreadId; + } + + public void setExceptionThreadId(String exceptionThreadId) { + this.exceptionThreadId = exceptionThreadId; + if(exceptionThreadId != null){ + putQueryParameter("ExceptionThreadId", exceptionThreadId); + } + } + + public String getPid() { + return this.pid; + } + + public void setPid(String pid) { + this.pid = pid; + if(pid != null){ + putQueryParameter("Pid", pid); + } + } + + public String getExceptionBinaryImages() { + return this.exceptionBinaryImages; + } + + public void setExceptionBinaryImages(String exceptionBinaryImages) { + this.exceptionBinaryImages = exceptionBinaryImages; + if(exceptionBinaryImages != null){ + putQueryParameter("ExceptionBinaryImages", exceptionBinaryImages); + } + } + + public String getExceptionStack() { + return this.exceptionStack; + } + + public void setExceptionStack(String exceptionStack) { + this.exceptionStack = exceptionStack; + if(exceptionStack != null){ + putQueryParameter("ExceptionStack", exceptionStack); + } + } + + @Override + public Class getResponseClass() { + return GetRumExceptionStackResponse.class; + } + +} diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumExceptionStackResponse.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumExceptionStackResponse.java new file mode 100644 index 0000000000..b3176df7e4 --- /dev/null +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumExceptionStackResponse.java @@ -0,0 +1,120 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.arms.model.v20190808; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.arms.transform.v20190808.GetRumExceptionStackResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetRumExceptionStackResponse extends AcsResponse { + + private String requestId; + + private String code; + + private String success; + + private String message; + + private String httpStatusCode; + + private Data data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getSuccess() { + return this.success; + } + + public void setSuccess(String success) { + this.success = success; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public String getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(String httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private String threadId; + + private List lines; + + public String getThreadId() { + return this.threadId; + } + + public void setThreadId(String threadId) { + this.threadId = threadId; + } + + public List getLines() { + return this.lines; + } + + public void setLines(List lines) { + this.lines = lines; + } + } + + @Override + public GetRumExceptionStackResponse getInstance(UnmarshallerContext context) { + return GetRumExceptionStackResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumOcuStatisticDataRequest.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumOcuStatisticDataRequest.java new file mode 100644 index 0000000000..dd3ad504fa --- /dev/null +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumOcuStatisticDataRequest.java @@ -0,0 +1,175 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.arms.model.v20190808; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.arms.Endpoint; + +/** + * @author auto create + * @version + */ +public class GetRumOcuStatisticDataRequest extends RpcAcsRequest { + + + private Long endTime; + + private Long startTime; + + @SerializedName("filter") + private List filter; + + private Integer pageSize; + + private Integer page; + + private String queryType; + + @SerializedName("group") + private List group; + public GetRumOcuStatisticDataRequest() { + super("ARMS", "2019-08-08", "GetRumOcuStatisticData", "arms"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.GET); + try { + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); + } catch (Exception e) {} + } + + public Long getEndTime() { + return this.endTime; + } + + public void setEndTime(Long endTime) { + this.endTime = endTime; + if(endTime != null){ + putQueryParameter("EndTime", endTime.toString()); + } + } + + public Long getStartTime() { + return this.startTime; + } + + public void setStartTime(Long startTime) { + this.startTime = startTime; + if(startTime != null){ + putQueryParameter("StartTime", startTime.toString()); + } + } + + public List getFilter() { + return this.filter; + } + + public void setFilter(List filter) { + this.filter = filter; + if (filter != null) { + putQueryParameter("Filter" , new Gson().toJson(filter)); + } + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + if(pageSize != null){ + putQueryParameter("PageSize", pageSize.toString()); + } + } + + public Integer getPage() { + return this.page; + } + + public void setPage(Integer page) { + this.page = page; + if(page != null){ + putQueryParameter("Page", page.toString()); + } + } + + public String getQueryType() { + return this.queryType; + } + + public void setQueryType(String queryType) { + this.queryType = queryType; + if(queryType != null){ + putQueryParameter("QueryType", queryType); + } + } + + public List getGroup() { + return this.group; + } + + public void setGroup(List group) { + this.group = group; + if (group != null) { + putQueryParameter("Group" , new Gson().toJson(group)); + } + } + + public static class Filter { + + @SerializedName("OpType") + private String opType; + + @SerializedName("Value") + private Object value; + + @SerializedName("Key") + private String key; + + public String getOpType() { + return this.opType; + } + + public void setOpType(String opType) { + this.opType = opType; + } + + public Object getValue() { + return this.value; + } + + public void setValue(Object value) { + this.value = value; + } + + public String getKey() { + return this.key; + } + + public void setKey(String key) { + this.key = key; + } + } + + @Override + public Class getResponseClass() { + return GetRumOcuStatisticDataResponse.class; + } + +} diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumOcuStatisticDataResponse.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumOcuStatisticDataResponse.java new file mode 100644 index 0000000000..725fb41ce1 --- /dev/null +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumOcuStatisticDataResponse.java @@ -0,0 +1,131 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.arms.model.v20190808; + +import java.util.List; +import java.util.Map; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.arms.transform.v20190808.GetRumOcuStatisticDataResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetRumOcuStatisticDataResponse extends AcsResponse { + + private String requestId; + + private Long code; + + private String message; + + private Data data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Long getCode() { + return this.code; + } + + public void setCode(Long code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private Integer total; + + private Integer page; + + private Integer pageSize; + + private Boolean complete; + + private List> items; + + public Integer getTotal() { + return this.total; + } + + public void setTotal(Integer total) { + this.total = total; + } + + public Integer getPage() { + return this.page; + } + + public void setPage(Integer page) { + this.page = page; + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + public Boolean getComplete() { + return this.complete; + } + + public void setComplete(Boolean complete) { + this.complete = complete; + } + + public List> getItems() { + return this.items; + } + + public void setItems(List> items) { + this.items = items; + } + } + + @Override + public GetRumOcuStatisticDataResponse getInstance(UnmarshallerContext context) { + return GetRumOcuStatisticDataResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumUploadFilesRequest.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumUploadFilesRequest.java new file mode 100644 index 0000000000..e8cc0bd3ec --- /dev/null +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumUploadFilesRequest.java @@ -0,0 +1,82 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.arms.model.v20190808; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.arms.Endpoint; + +/** + * @author auto create + * @version + */ +public class GetRumUploadFilesRequest extends RpcAcsRequest { + + + private String versionId; + + private String appType; + + private String pid; + public GetRumUploadFilesRequest() { + super("ARMS", "2019-08-08", "GetRumUploadFiles", "arms"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + try { + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); + } catch (Exception e) {} + } + + public String getVersionId() { + return this.versionId; + } + + public void setVersionId(String versionId) { + this.versionId = versionId; + if(versionId != null){ + putQueryParameter("VersionId", versionId); + } + } + + public String getAppType() { + return this.appType; + } + + public void setAppType(String appType) { + this.appType = appType; + if(appType != null){ + putQueryParameter("AppType", appType); + } + } + + public String getPid() { + return this.pid; + } + + public void setPid(String pid) { + this.pid = pid; + if(pid != null){ + putQueryParameter("Pid", pid); + } + } + + @Override + public Class getResponseClass() { + return GetRumUploadFilesResponse.class; + } + +} diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumUploadFilesResponse.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumUploadFilesResponse.java new file mode 100644 index 0000000000..5ff67d7367 --- /dev/null +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetRumUploadFilesResponse.java @@ -0,0 +1,150 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.arms.model.v20190808; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.arms.transform.v20190808.GetRumUploadFilesResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetRumUploadFilesResponse extends AcsResponse { + + private String requestId; + + private Integer code; + + private String message; + + private Integer httpStatusCode; + + private Boolean success; + + private List data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public List getData() { + return this.data; + } + + public void setData(List data) { + this.data = data; + } + + public static class DataItem { + + private String fileName; + + private String uuid; + + private String size; + + private Object lastModifiedTime; + + private String versionId; + + public String getFileName() { + return this.fileName; + } + + public void setFileName(String fileName) { + this.fileName = fileName; + } + + public String getUuid() { + return this.uuid; + } + + public void setUuid(String uuid) { + this.uuid = uuid; + } + + public String getSize() { + return this.size; + } + + public void setSize(String size) { + this.size = size; + } + + public Object getLastModifiedTime() { + return this.lastModifiedTime; + } + + public void setLastModifiedTime(Object lastModifiedTime) { + this.lastModifiedTime = lastModifiedTime; + } + + public String getVersionId() { + return this.versionId; + } + + public void setVersionId(String versionId) { + this.versionId = versionId; + } + } + + @Override + public GetRumUploadFilesResponse getInstance(UnmarshallerContext context) { + return GetRumUploadFilesResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListPrometheusRemoteWritesRequest.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetTraceAppConfigRequest.java similarity index 64% rename from aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListPrometheusRemoteWritesRequest.java rename to aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetTraceAppConfigRequest.java index 85186d3389..b3275da0df 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListPrometheusRemoteWritesRequest.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetTraceAppConfigRequest.java @@ -15,6 +15,7 @@ package com.aliyuncs.arms.model.v20190808; import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; import com.aliyuncs.http.MethodType; import com.aliyuncs.arms.Endpoint; @@ -22,12 +23,13 @@ * @author auto create * @version */ -public class ListPrometheusRemoteWritesRequest extends RpcAcsRequest { +public class GetTraceAppConfigRequest extends RpcAcsRequest { - private String clusterId; - public ListPrometheusRemoteWritesRequest() { - super("ARMS", "2019-08-08", "ListPrometheusRemoteWrites", "arms"); + private String pid; + public GetTraceAppConfigRequest() { + super("ARMS", "2019-08-08", "GetTraceAppConfig", "arms"); + setProtocol(ProtocolType.HTTPS); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); @@ -35,20 +37,20 @@ public ListPrometheusRemoteWritesRequest() { } catch (Exception e) {} } - public String getClusterId() { - return this.clusterId; + public String getPid() { + return this.pid; } - public void setClusterId(String clusterId) { - this.clusterId = clusterId; - if(clusterId != null){ - putQueryParameter("ClusterId", clusterId); + public void setPid(String pid) { + this.pid = pid; + if(pid != null){ + putQueryParameter("Pid", pid); } } @Override - public Class getResponseClass() { - return ListPrometheusRemoteWritesResponse.class; + public Class getResponseClass() { + return GetTraceAppConfigResponse.class; } } diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/UpdatePrometheusRemoteWriteResponse.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetTraceAppConfigResponse.java similarity index 75% rename from aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/UpdatePrometheusRemoteWriteResponse.java rename to aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetTraceAppConfigResponse.java index 1c55579590..f8bb4eaf9c 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/UpdatePrometheusRemoteWriteResponse.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetTraceAppConfigResponse.java @@ -15,24 +15,24 @@ package com.aliyuncs.arms.model.v20190808; import com.aliyuncs.AcsResponse; -import com.aliyuncs.arms.transform.v20190808.UpdatePrometheusRemoteWriteResponseUnmarshaller; +import com.aliyuncs.arms.transform.v20190808.GetTraceAppConfigResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ -public class UpdatePrometheusRemoteWriteResponse extends AcsResponse { +public class GetTraceAppConfigResponse extends AcsResponse { private String requestId; private String data; - private Boolean success; - private String message; - private Integer code; + private Long code; + + private Boolean success; public String getRequestId() { return this.requestId; @@ -50,14 +50,6 @@ public void setData(String data) { this.data = data; } - public Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - public String getMessage() { return this.message; } @@ -66,17 +58,25 @@ public void setMessage(String message) { this.message = message; } - public Integer getCode() { + public Long getCode() { return this.code; } - public void setCode(Integer code) { + public void setCode(Long code) { this.code = code; } + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + @Override - public UpdatePrometheusRemoteWriteResponse getInstance(UnmarshallerContext context) { - return UpdatePrometheusRemoteWriteResponseUnmarshaller.unmarshall(this, context); + public GetTraceAppConfigResponse getInstance(UnmarshallerContext context) { + return GetTraceAppConfigResponseUnmarshaller.unmarshall(this, context); } @Override diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetTraceAppResponse.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetTraceAppResponse.java index 8678917a1d..8cc4a3bf4f 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetTraceAppResponse.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/GetTraceAppResponse.java @@ -69,6 +69,10 @@ public static class TraceApp { private String resourceGroupId; + private String clusterId; + + private String language; + private List tags; private List labels; @@ -161,6 +165,22 @@ public void setResourceGroupId(String resourceGroupId) { this.resourceGroupId = resourceGroupId; } + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + } + + public String getLanguage() { + return this.language; + } + + public void setLanguage(String language) { + this.language = language; + } + public List getTags() { return this.tags; } diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListAddonsResponse.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListAddonsResponse.java index a01d7ebe47..2839094fb1 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListAddonsResponse.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListAddonsResponse.java @@ -319,6 +319,8 @@ public static class Dependencies { private List services; + private List clusterTypes; + public Map getFeatures() { return this.features; } @@ -334,6 +336,14 @@ public List getServices() { public void setServices(List services) { this.services = services; } + + public List getClusterTypes() { + return this.clusterTypes; + } + + public void setClusterTypes(List clusterTypes) { + this.clusterTypes = clusterTypes; + } } public static class Policies { diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListAlertEventsRequest.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListAlertEventsRequest.java index daa7878325..4d3ca15d89 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListAlertEventsRequest.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListAlertEventsRequest.java @@ -35,6 +35,8 @@ public class ListAlertEventsRequest extends RpcAcsRequest alarms; + private List notificationPolicies; + public String getAlertName() { return this.alertName; } @@ -221,6 +225,14 @@ public void setHandlerName(String handlerName) { this.handlerName = handlerName; } + public Long getTriggerCount() { + return this.triggerCount; + } + + public void setTriggerCount(Long triggerCount) { + this.triggerCount = triggerCount; + } + public List getAlarms() { return this.alarms; } @@ -229,6 +241,14 @@ public void setAlarms(List alarms) { this.alarms = alarms; } + public List getNotificationPolicies() { + return this.notificationPolicies; + } + + public void setNotificationPolicies(List notificationPolicies) { + this.notificationPolicies = notificationPolicies; + } + public static class AlarmsItem { private Long alarmId; @@ -271,6 +291,29 @@ public void setCreateTime(String createTime) { this.createTime = createTime; } } + + public static class NotificationPolicy { + + private Long id; + + private String name; + + public Long getId() { + return this.id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + } } } diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListAlertsRequest.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListAlertsRequest.java index a44494be4c..da3fef53e4 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListAlertsRequest.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListAlertsRequest.java @@ -27,6 +27,8 @@ public class ListAlertsRequest extends RpcAcsRequest { private String severity; + private String owner; + private String integrationType; private String alertName; @@ -66,6 +68,17 @@ public void setSeverity(String severity) { } } + public String getOwner() { + return this.owner; + } + + public void setOwner(String owner) { + this.owner = owner; + if(owner != null){ + putQueryParameter("Owner", owner); + } + } + public String getIntegrationType() { return this.integrationType; } diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListEnvironmentFeaturesRequest.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListEnvironmentFeaturesRequest.java index 2a37bc311b..d78fcbfa41 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListEnvironmentFeaturesRequest.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListEnvironmentFeaturesRequest.java @@ -25,6 +25,8 @@ public class ListEnvironmentFeaturesRequest extends RpcAcsRequest { + private String aliyunLang; + private String environmentId; public ListEnvironmentFeaturesRequest() { super("ARMS", "2019-08-08", "ListEnvironmentFeatures", "arms"); @@ -35,6 +37,17 @@ public ListEnvironmentFeaturesRequest() { } catch (Exception e) {} } + public String getAliyunLang() { + return this.aliyunLang; + } + + public void setAliyunLang(String aliyunLang) { + this.aliyunLang = aliyunLang; + if(aliyunLang != null){ + putQueryParameter("AliyunLang", aliyunLang); + } + } + public String getEnvironmentId() { return this.environmentId; } diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListEnvironmentsRequest.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListEnvironmentsRequest.java index 8b015574ec..7dfa347e99 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListEnvironmentsRequest.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListEnvironmentsRequest.java @@ -28,6 +28,8 @@ public class ListEnvironmentsRequest extends RpcAcsRequest { + private String filterRegionIds; + private String resourceGroupId; private String addonName; @@ -37,7 +39,9 @@ public class ListEnvironmentsRequest extends RpcAcsRequest tag; - private String bindResourceId; + private String bindResourceId; + + private String feePackage; public ListEnvironmentsRequest() { super("ARMS", "2019-08-08", "ListEnvironments", "arms"); setMethod(MethodType.POST); @@ -47,6 +51,17 @@ public ListEnvironmentsRequest() { } catch (Exception e) {} } + public String getFilterRegionIds() { + return this.filterRegionIds; + } + + public void setFilterRegionIds(String filterRegionIds) { + this.filterRegionIds = filterRegionIds; + if(filterRegionIds != null){ + putQueryParameter("FilterRegionIds", filterRegionIds); + } + } + public String getResourceGroupId() { return this.resourceGroupId; } @@ -102,6 +117,17 @@ public void setBindResourceId(String bindResourceId) { } } + public String getFeePackage() { + return this.feePackage; + } + + public void setFeePackage(String feePackage) { + this.feePackage = feePackage; + if(feePackage != null){ + putQueryParameter("FeePackage", feePackage); + } + } + public static class Tag { @SerializedName("Value") diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListEnvironmentsResponse.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListEnvironmentsResponse.java index e81de3c163..5402bf09ca 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListEnvironmentsResponse.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListEnvironmentsResponse.java @@ -139,6 +139,8 @@ public static class EnvironmentsItem { private String managedType; + private String feePackage; + private List addons; private List features; @@ -305,6 +307,14 @@ public void setManagedType(String managedType) { this.managedType = managedType; } + public String getFeePackage() { + return this.feePackage; + } + + public void setFeePackage(String feePackage) { + this.feePackage = feePackage; + } + public List getAddons() { return this.addons; } diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListGrafanaWorkspaceResponse.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListGrafanaWorkspaceResponse.java index 0f0fbb86c9..e7e434f509 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListGrafanaWorkspaceResponse.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListGrafanaWorkspaceResponse.java @@ -103,6 +103,8 @@ public static class GrafanaWorkspace { private String grafanaWorkspaceDomain; + private String grafanaWorkspaceDomainStatus; + private Boolean commercial; private String grafanaWorkspaceName; @@ -203,6 +205,14 @@ public void setGrafanaWorkspaceDomain(String grafanaWorkspaceDomain) { this.grafanaWorkspaceDomain = grafanaWorkspaceDomain; } + public String getGrafanaWorkspaceDomainStatus() { + return this.grafanaWorkspaceDomainStatus; + } + + public void setGrafanaWorkspaceDomainStatus(String grafanaWorkspaceDomainStatus) { + this.grafanaWorkspaceDomainStatus = grafanaWorkspaceDomainStatus; + } + public Boolean getCommercial() { return this.commercial; } diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListIntegrationRequest.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListIntegrationRequest.java index 8c313693d0..78b79c4ad7 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListIntegrationRequest.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListIntegrationRequest.java @@ -25,12 +25,12 @@ public class ListIntegrationRequest extends RpcAcsRequest { + private Boolean isDetail; + private Long size; private String integrationName; - private Boolean isDetail; - private Long page; private String integrationProductType; @@ -43,6 +43,17 @@ public ListIntegrationRequest() { } catch (Exception e) {} } + public Boolean getIsDetail() { + return this.isDetail; + } + + public void setIsDetail(Boolean isDetail) { + this.isDetail = isDetail; + if(isDetail != null){ + putQueryParameter("IsDetail", isDetail.toString()); + } + } + public Long getSize() { return this.size; } @@ -65,17 +76,6 @@ public void setIntegrationName(String integrationName) { } } - public Boolean getIsDetail() { - return this.isDetail; - } - - public void setIsDetail(Boolean isDetail) { - this.isDetail = isDetail; - if(isDetail != null){ - putQueryParameter("IsDetail", isDetail.toString()); - } - } - public Long getPage() { return this.page; } diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListNotificationPoliciesResponse.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListNotificationPoliciesResponse.java index 80dd0d13b4..dece1ae510 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListNotificationPoliciesResponse.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListNotificationPoliciesResponse.java @@ -105,6 +105,8 @@ public static class Policies { private Boolean directedMode; + private String state; + private List matchingRules; private GroupRule groupRule; @@ -177,6 +179,14 @@ public void setDirectedMode(Boolean directedMode) { this.directedMode = directedMode; } + public String getState() { + return this.state; + } + + public void setState(String state) { + this.state = state; + } + public List getMatchingRules() { return this.matchingRules; } diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListSilencePoliciesRequest.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListSilencePoliciesRequest.java index 337a2b7480..78332ab031 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListSilencePoliciesRequest.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListSilencePoliciesRequest.java @@ -25,12 +25,12 @@ public class ListSilencePoliciesRequest extends RpcAcsRequest { + private Boolean isDetail; + private Long size; private String name; - private Boolean isDetail; - private Long page; public ListSilencePoliciesRequest() { super("ARMS", "2019-08-08", "ListSilencePolicies", "arms"); @@ -41,6 +41,17 @@ public ListSilencePoliciesRequest() { } catch (Exception e) {} } + public Boolean getIsDetail() { + return this.isDetail; + } + + public void setIsDetail(Boolean isDetail) { + this.isDetail = isDetail; + if(isDetail != null){ + putQueryParameter("IsDetail", isDetail.toString()); + } + } + public Long getSize() { return this.size; } @@ -63,17 +74,6 @@ public void setName(String name) { } } - public Boolean getIsDetail() { - return this.isDetail; - } - - public void setIsDetail(Boolean isDetail) { - this.isDetail = isDetail; - if(isDetail != null){ - putQueryParameter("IsDetail", isDetail.toString()); - } - } - public Long getPage() { return this.page; } diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListSilencePoliciesResponse.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListSilencePoliciesResponse.java index 1ed5a1434e..65a253d867 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListSilencePoliciesResponse.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/ListSilencePoliciesResponse.java @@ -93,6 +93,8 @@ public static class Policies { private String name; + private String state; + private List matchingRules; public Long getId() { @@ -111,6 +113,14 @@ public void setName(String name) { this.name = name; } + public String getState() { + return this.state; + } + + public void setState(String state) { + this.state = state; + } + public List getMatchingRules() { return this.matchingRules; } diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/QueryCommercialUsageResponse.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/QueryCommercialUsageResponse.java index 0ad36a4949..a6f9620cc1 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/QueryCommercialUsageResponse.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/QueryCommercialUsageResponse.java @@ -26,7 +26,9 @@ */ public class QueryCommercialUsageResponse extends AcsResponse { - private String code; + private Integer code; + + private Integer httpStatusCode; private String message; @@ -36,14 +38,22 @@ public class QueryCommercialUsageResponse extends AcsResponse { private Data data; - public String getCode() { + public Integer getCode() { return this.code; } - public void setCode(String code) { + public void setCode(Integer code) { this.code = code; } + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + public String getMessage() { return this.message; } diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/UpdateIntegrationRequest.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/UpdateIntegrationRequest.java index 2271874193..b707d3fc4c 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/UpdateIntegrationRequest.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/UpdateIntegrationRequest.java @@ -25,10 +25,6 @@ public class UpdateIntegrationRequest extends RpcAcsRequest { - private String fieldRedefineRules; - - private String stat; - private String initiativeRecoverValue; private String liveness; @@ -37,8 +33,6 @@ public class UpdateIntegrationRequest extends RpcAcsRequest { - - - private String clusterId; - - private String remoteWriteName; - - private String remoteWriteYaml; - public UpdatePrometheusRemoteWriteRequest() { - super("ARMS", "2019-08-08", "UpdatePrometheusRemoteWrite", "arms"); - setMethod(MethodType.POST); - try { - com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); - com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); - } catch (Exception e) {} - } - - public String getClusterId() { - return this.clusterId; - } - - public void setClusterId(String clusterId) { - this.clusterId = clusterId; - if(clusterId != null){ - putQueryParameter("ClusterId", clusterId); - } - } - - public String getRemoteWriteName() { - return this.remoteWriteName; - } - - public void setRemoteWriteName(String remoteWriteName) { - this.remoteWriteName = remoteWriteName; - if(remoteWriteName != null){ - putQueryParameter("RemoteWriteName", remoteWriteName); - } - } - - public String getRemoteWriteYaml() { - return this.remoteWriteYaml; - } - - public void setRemoteWriteYaml(String remoteWriteYaml) { - this.remoteWriteYaml = remoteWriteYaml; - if(remoteWriteYaml != null){ - putBodyParameter("RemoteWriteYaml", remoteWriteYaml); - } - } - - @Override - public Class getResponseClass() { - return UpdatePrometheusRemoteWriteResponse.class; - } - -} diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/UpdateRumAppRequest.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/UpdateRumAppRequest.java new file mode 100644 index 0000000000..66d3f960e2 --- /dev/null +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/UpdateRumAppRequest.java @@ -0,0 +1,160 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.arms.model.v20190808; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.arms.Endpoint; + +/** + * @author auto create + * @version + */ +public class UpdateRumAppRequest extends RpcAcsRequest { + + + private Boolean restart; + + private Boolean autoRestart; + + private String description; + + private String pid; + + private Boolean stop; + + private String nickname; + + private String serviceDomainOperationJson; + + private Boolean isSubscribe; + + private String bonreeSDKConfigJson; + public UpdateRumAppRequest() { + super("ARMS", "2019-08-08", "UpdateRumApp", "arms"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + try { + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); + } catch (Exception e) {} + } + + public Boolean getRestart() { + return this.restart; + } + + public void setRestart(Boolean restart) { + this.restart = restart; + if(restart != null){ + putQueryParameter("Restart", restart.toString()); + } + } + + public Boolean getAutoRestart() { + return this.autoRestart; + } + + public void setAutoRestart(Boolean autoRestart) { + this.autoRestart = autoRestart; + if(autoRestart != null){ + putQueryParameter("AutoRestart", autoRestart.toString()); + } + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + if(description != null){ + putQueryParameter("Description", description); + } + } + + public String getPid() { + return this.pid; + } + + public void setPid(String pid) { + this.pid = pid; + if(pid != null){ + putQueryParameter("Pid", pid); + } + } + + public Boolean getStop() { + return this.stop; + } + + public void setStop(Boolean stop) { + this.stop = stop; + if(stop != null){ + putQueryParameter("Stop", stop.toString()); + } + } + + public String getNickname() { + return this.nickname; + } + + public void setNickname(String nickname) { + this.nickname = nickname; + if(nickname != null){ + putQueryParameter("Nickname", nickname); + } + } + + public String getServiceDomainOperationJson() { + return this.serviceDomainOperationJson; + } + + public void setServiceDomainOperationJson(String serviceDomainOperationJson) { + this.serviceDomainOperationJson = serviceDomainOperationJson; + if(serviceDomainOperationJson != null){ + putQueryParameter("ServiceDomainOperationJson", serviceDomainOperationJson); + } + } + + public Boolean getIsSubscribe() { + return this.isSubscribe; + } + + public void setIsSubscribe(Boolean isSubscribe) { + this.isSubscribe = isSubscribe; + if(isSubscribe != null){ + putQueryParameter("IsSubscribe", isSubscribe.toString()); + } + } + + public String getBonreeSDKConfigJson() { + return this.bonreeSDKConfigJson; + } + + public void setBonreeSDKConfigJson(String bonreeSDKConfigJson) { + this.bonreeSDKConfigJson = bonreeSDKConfigJson; + if(bonreeSDKConfigJson != null){ + putQueryParameter("BonreeSDKConfigJson", bonreeSDKConfigJson); + } + } + + @Override + public Class getResponseClass() { + return UpdateRumAppResponse.class; + } + +} diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/UpdateRumAppResponse.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/UpdateRumAppResponse.java new file mode 100644 index 0000000000..4db88a5c7a --- /dev/null +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/UpdateRumAppResponse.java @@ -0,0 +1,139 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.arms.model.v20190808; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.arms.transform.v20190808.UpdateRumAppResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class UpdateRumAppResponse extends AcsResponse { + + private String requestId; + + private String code; + + private String success; + + private String message; + + private String httpStatusCode; + + private Data data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getSuccess() { + return this.success; + } + + public void setSuccess(String success) { + this.success = success; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public String getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(String httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private String config; + + private Integer usage; + + private Integer limit; + + private Boolean limited; + + public String getConfig() { + return this.config; + } + + public void setConfig(String config) { + this.config = config; + } + + public Integer getUsage() { + return this.usage; + } + + public void setUsage(Integer usage) { + this.usage = usage; + } + + public Integer getLimit() { + return this.limit; + } + + public void setLimit(Integer limit) { + this.limit = limit; + } + + public Boolean getLimited() { + return this.limited; + } + + public void setLimited(Boolean limited) { + this.limited = limited; + } + } + + @Override + public UpdateRumAppResponse getInstance(UnmarshallerContext context) { + return UpdateRumAppResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/UpdateRumFileStatusRequest.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/UpdateRumFileStatusRequest.java new file mode 100644 index 0000000000..eaa9ddde8a --- /dev/null +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/UpdateRumFileStatusRequest.java @@ -0,0 +1,121 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.arms.model.v20190808; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.arms.Endpoint; + +/** + * @author auto create + * @version + */ +public class UpdateRumFileStatusRequest extends RpcAcsRequest { + + + private String pid; + + private String uuid; + + private String versionId; + + private String fileName; + + private String size; + + private String status; + public UpdateRumFileStatusRequest() { + super("ARMS", "2019-08-08", "UpdateRumFileStatus", "arms"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + try { + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); + } catch (Exception e) {} + } + + public String getPid() { + return this.pid; + } + + public void setPid(String pid) { + this.pid = pid; + if(pid != null){ + putQueryParameter("Pid", pid); + } + } + + public String getUuid() { + return this.uuid; + } + + public void setUuid(String uuid) { + this.uuid = uuid; + if(uuid != null){ + putQueryParameter("Uuid", uuid); + } + } + + public String getVersionId() { + return this.versionId; + } + + public void setVersionId(String versionId) { + this.versionId = versionId; + if(versionId != null){ + putQueryParameter("VersionId", versionId); + } + } + + public String getFileName() { + return this.fileName; + } + + public void setFileName(String fileName) { + this.fileName = fileName; + if(fileName != null){ + putQueryParameter("FileName", fileName); + } + } + + public String getSize() { + return this.size; + } + + public void setSize(String size) { + this.size = size; + if(size != null){ + putQueryParameter("Size", size); + } + } + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + if(status != null){ + putQueryParameter("Status", status); + } + } + + @Override + public Class getResponseClass() { + return UpdateRumFileStatusResponse.class; + } + +} diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/UpdateRumFileStatusResponse.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/UpdateRumFileStatusResponse.java new file mode 100644 index 0000000000..59f0337fd7 --- /dev/null +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/UpdateRumFileStatusResponse.java @@ -0,0 +1,46 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.arms.model.v20190808; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.arms.transform.v20190808.UpdateRumFileStatusResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class UpdateRumFileStatusResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public UpdateRumFileStatusResponse getInstance(UnmarshallerContext context) { + return UpdateRumFileStatusResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/AddPrometheusRemoteWriteResponseUnmarshaller.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/AddPrometheusRemoteWriteResponseUnmarshaller.java deleted file mode 100644 index fb520e9bc5..0000000000 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/AddPrometheusRemoteWriteResponseUnmarshaller.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.arms.transform.v20190808; - -import com.aliyuncs.arms.model.v20190808.AddPrometheusRemoteWriteResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class AddPrometheusRemoteWriteResponseUnmarshaller { - - public static AddPrometheusRemoteWriteResponse unmarshall(AddPrometheusRemoteWriteResponse addPrometheusRemoteWriteResponse, UnmarshallerContext _ctx) { - - addPrometheusRemoteWriteResponse.setRequestId(_ctx.stringValue("AddPrometheusRemoteWriteResponse.RequestId")); - addPrometheusRemoteWriteResponse.setData(_ctx.stringValue("AddPrometheusRemoteWriteResponse.Data")); - addPrometheusRemoteWriteResponse.setSuccess(_ctx.booleanValue("AddPrometheusRemoteWriteResponse.Success")); - addPrometheusRemoteWriteResponse.setMessage(_ctx.stringValue("AddPrometheusRemoteWriteResponse.Message")); - addPrometheusRemoteWriteResponse.setCode(_ctx.integerValue("AddPrometheusRemoteWriteResponse.Code")); - - return addPrometheusRemoteWriteResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/CreateGrafanaWorkspaceResponseUnmarshaller.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/CreateGrafanaWorkspaceResponseUnmarshaller.java index c301cda50a..0300902db1 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/CreateGrafanaWorkspaceResponseUnmarshaller.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/CreateGrafanaWorkspaceResponseUnmarshaller.java @@ -42,6 +42,7 @@ public static CreateGrafanaWorkspaceResponse unmarshall(CreateGrafanaWorkspaceRe data.setGrafanaWorkspaceIp(_ctx.stringValue("CreateGrafanaWorkspaceResponse.Data.grafanaWorkspaceIp")); data.setSnatIp(_ctx.stringValue("CreateGrafanaWorkspaceResponse.Data.snatIp")); data.setGrafanaWorkspaceDomain(_ctx.stringValue("CreateGrafanaWorkspaceResponse.Data.grafanaWorkspaceDomain")); + data.setGrafanaWorkspaceDomainStatus(_ctx.stringValue("CreateGrafanaWorkspaceResponse.Data.grafanaWorkspaceDomainStatus")); data.setCommercial(_ctx.booleanValue("CreateGrafanaWorkspaceResponse.Data.commercial")); data.setGrafanaWorkspaceName(_ctx.stringValue("CreateGrafanaWorkspaceResponse.Data.grafanaWorkspaceName")); data.setGrafanaVersion(_ctx.stringValue("CreateGrafanaWorkspaceResponse.Data.grafanaVersion")); diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/CreateOrUpdateNotificationPolicyResponseUnmarshaller.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/CreateOrUpdateNotificationPolicyResponseUnmarshaller.java index b2ce48cb90..bfd3c3e0ef 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/CreateOrUpdateNotificationPolicyResponseUnmarshaller.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/CreateOrUpdateNotificationPolicyResponseUnmarshaller.java @@ -43,6 +43,7 @@ public static CreateOrUpdateNotificationPolicyResponse unmarshall(CreateOrUpdate notificationPolicy.setRepeatInterval(_ctx.longValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.RepeatInterval")); notificationPolicy.setIntegrationId(_ctx.longValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.IntegrationId")); notificationPolicy.setDirectedMode(_ctx.booleanValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.DirectedMode")); + notificationPolicy.setState(_ctx.stringValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.State")); GroupRule groupRule = new GroupRule(); groupRule.setGroupWait(_ctx.longValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.GroupRule.GroupWait")); diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/CreateOrUpdateSilencePolicyResponseUnmarshaller.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/CreateOrUpdateSilencePolicyResponseUnmarshaller.java index 53e7693477..2a1c5cd494 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/CreateOrUpdateSilencePolicyResponseUnmarshaller.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/CreateOrUpdateSilencePolicyResponseUnmarshaller.java @@ -33,6 +33,7 @@ public static CreateOrUpdateSilencePolicyResponse unmarshall(CreateOrUpdateSilen SilencePolicy silencePolicy = new SilencePolicy(); silencePolicy.setId(_ctx.longValue("CreateOrUpdateSilencePolicyResponse.SilencePolicy.Id")); silencePolicy.setName(_ctx.stringValue("CreateOrUpdateSilencePolicyResponse.SilencePolicy.Name")); + silencePolicy.setState(_ctx.stringValue("CreateOrUpdateSilencePolicyResponse.SilencePolicy.State")); List matchingRules = new ArrayList(); for (int i = 0; i < _ctx.lengthValue("CreateOrUpdateSilencePolicyResponse.SilencePolicy.MatchingRules.Length"); i++) { diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/CreateRumAppResponseUnmarshaller.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/CreateRumAppResponseUnmarshaller.java new file mode 100644 index 0000000000..d411c3bbe4 --- /dev/null +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/CreateRumAppResponseUnmarshaller.java @@ -0,0 +1,41 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.arms.transform.v20190808; + +import com.aliyuncs.arms.model.v20190808.CreateRumAppResponse; +import com.aliyuncs.arms.model.v20190808.CreateRumAppResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CreateRumAppResponseUnmarshaller { + + public static CreateRumAppResponse unmarshall(CreateRumAppResponse createRumAppResponse, UnmarshallerContext _ctx) { + + createRumAppResponse.setRequestId(_ctx.stringValue("CreateRumAppResponse.RequestId")); + createRumAppResponse.setCode(_ctx.integerValue("CreateRumAppResponse.Code")); + createRumAppResponse.setSuccess(_ctx.booleanValue("CreateRumAppResponse.Success")); + createRumAppResponse.setMessage(_ctx.stringValue("CreateRumAppResponse.Message")); + createRumAppResponse.setHttpStatusCode(_ctx.integerValue("CreateRumAppResponse.HttpStatusCode")); + createRumAppResponse.setResourceGroupId(_ctx.stringValue("CreateRumAppResponse.ResourceGroupId")); + + Data data = new Data(); + data.setPid(_ctx.stringValue("CreateRumAppResponse.Data.Pid")); + data.setEndpoint(_ctx.stringValue("CreateRumAppResponse.Data.Endpoint")); + data.setCdnDomain(_ctx.stringValue("CreateRumAppResponse.Data.CdnDomain")); + createRumAppResponse.setData(data); + + return createRumAppResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/CreateRumUploadFileUrlResponseUnmarshaller.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/CreateRumUploadFileUrlResponseUnmarshaller.java new file mode 100644 index 0000000000..2b4e6730cc --- /dev/null +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/CreateRumUploadFileUrlResponseUnmarshaller.java @@ -0,0 +1,34 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.arms.transform.v20190808; + +import com.aliyuncs.arms.model.v20190808.CreateRumUploadFileUrlResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CreateRumUploadFileUrlResponseUnmarshaller { + + public static CreateRumUploadFileUrlResponse unmarshall(CreateRumUploadFileUrlResponse createRumUploadFileUrlResponse, UnmarshallerContext _ctx) { + + createRumUploadFileUrlResponse.setRequestId(_ctx.stringValue("CreateRumUploadFileUrlResponse.RequestId")); + createRumUploadFileUrlResponse.setCode(_ctx.integerValue("CreateRumUploadFileUrlResponse.Code")); + createRumUploadFileUrlResponse.setSuccess(_ctx.booleanValue("CreateRumUploadFileUrlResponse.Success")); + createRumUploadFileUrlResponse.setMessage(_ctx.stringValue("CreateRumUploadFileUrlResponse.Message")); + createRumUploadFileUrlResponse.setHttpStatusCode(_ctx.integerValue("CreateRumUploadFileUrlResponse.HttpStatusCode")); + createRumUploadFileUrlResponse.setData(_ctx.stringValue("CreateRumUploadFileUrlResponse.Data")); + + return createRumUploadFileUrlResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/DeletePrometheusRemoteWriteResponseUnmarshaller.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/DeletePrometheusRemoteWriteResponseUnmarshaller.java deleted file mode 100644 index f0047c4170..0000000000 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/DeletePrometheusRemoteWriteResponseUnmarshaller.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.arms.transform.v20190808; - -import com.aliyuncs.arms.model.v20190808.DeletePrometheusRemoteWriteResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class DeletePrometheusRemoteWriteResponseUnmarshaller { - - public static DeletePrometheusRemoteWriteResponse unmarshall(DeletePrometheusRemoteWriteResponse deletePrometheusRemoteWriteResponse, UnmarshallerContext _ctx) { - - deletePrometheusRemoteWriteResponse.setRequestId(_ctx.stringValue("DeletePrometheusRemoteWriteResponse.RequestId")); - deletePrometheusRemoteWriteResponse.setData(_ctx.stringValue("DeletePrometheusRemoteWriteResponse.Data")); - deletePrometheusRemoteWriteResponse.setSuccess(_ctx.booleanValue("DeletePrometheusRemoteWriteResponse.Success")); - deletePrometheusRemoteWriteResponse.setMessage(_ctx.stringValue("DeletePrometheusRemoteWriteResponse.Message")); - deletePrometheusRemoteWriteResponse.setCode(_ctx.integerValue("DeletePrometheusRemoteWriteResponse.Code")); - - return deletePrometheusRemoteWriteResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/DeleteRumAppResponseUnmarshaller.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/DeleteRumAppResponseUnmarshaller.java new file mode 100644 index 0000000000..390d58e1e4 --- /dev/null +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/DeleteRumAppResponseUnmarshaller.java @@ -0,0 +1,35 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.arms.transform.v20190808; + +import com.aliyuncs.arms.model.v20190808.DeleteRumAppResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DeleteRumAppResponseUnmarshaller { + + public static DeleteRumAppResponse unmarshall(DeleteRumAppResponse deleteRumAppResponse, UnmarshallerContext _ctx) { + + deleteRumAppResponse.setRequestId(_ctx.stringValue("DeleteRumAppResponse.RequestId")); + deleteRumAppResponse.setCode(_ctx.integerValue("DeleteRumAppResponse.Code")); + deleteRumAppResponse.setSuccess(_ctx.booleanValue("DeleteRumAppResponse.Success")); + deleteRumAppResponse.setMessage(_ctx.stringValue("DeleteRumAppResponse.Message")); + deleteRumAppResponse.setHttpStatusCode(_ctx.integerValue("DeleteRumAppResponse.HttpStatusCode")); + deleteRumAppResponse.setResult(_ctx.stringValue("DeleteRumAppResponse.Result")); + deleteRumAppResponse.setResourceGroupId(_ctx.stringValue("DeleteRumAppResponse.ResourceGroupId")); + + return deleteRumAppResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/DeleteRumUploadFileResponseUnmarshaller.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/DeleteRumUploadFileResponseUnmarshaller.java new file mode 100644 index 0000000000..f2e3599d9b --- /dev/null +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/DeleteRumUploadFileResponseUnmarshaller.java @@ -0,0 +1,34 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.arms.transform.v20190808; + +import com.aliyuncs.arms.model.v20190808.DeleteRumUploadFileResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DeleteRumUploadFileResponseUnmarshaller { + + public static DeleteRumUploadFileResponse unmarshall(DeleteRumUploadFileResponse deleteRumUploadFileResponse, UnmarshallerContext _ctx) { + + deleteRumUploadFileResponse.setRequestId(_ctx.stringValue("DeleteRumUploadFileResponse.RequestId")); + deleteRumUploadFileResponse.setCode(_ctx.integerValue("DeleteRumUploadFileResponse.Code")); + deleteRumUploadFileResponse.setSuccess(_ctx.booleanValue("DeleteRumUploadFileResponse.Success")); + deleteRumUploadFileResponse.setMessage(_ctx.stringValue("DeleteRumUploadFileResponse.Message")); + deleteRumUploadFileResponse.setHttpStatusCode(_ctx.integerValue("DeleteRumUploadFileResponse.HttpStatusCode")); + deleteRumUploadFileResponse.setData(_ctx.stringValue("DeleteRumUploadFileResponse.Data")); + + return deleteRumUploadFileResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/DescribeEnvironmentFeatureResponseUnmarshaller.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/DescribeEnvironmentFeatureResponseUnmarshaller.java index acf4bd7a61..dbf518beda 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/DescribeEnvironmentFeatureResponseUnmarshaller.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/DescribeEnvironmentFeatureResponseUnmarshaller.java @@ -55,6 +55,15 @@ public static DescribeEnvironmentFeatureResponse unmarshall(DescribeEnvironmentF featureStatus.setName(_ctx.stringValue("DescribeEnvironmentFeatureResponse.Data.FeatureStatus.Name")); featureStatus.setNamespace(_ctx.stringValue("DescribeEnvironmentFeatureResponse.Data.FeatureStatus.Namespace")); featureStatus.setStatus(_ctx.stringValue("DescribeEnvironmentFeatureResponse.Data.FeatureStatus.Status")); + featureStatus.setSecurityGroupId(_ctx.stringValue("DescribeEnvironmentFeatureResponse.Data.FeatureStatus.SecurityGroupId")); + featureStatus.setVSwitchId(_ctx.stringValue("DescribeEnvironmentFeatureResponse.Data.FeatureStatus.VSwitchId")); + featureStatus.setBindResourceId(_ctx.stringValue("DescribeEnvironmentFeatureResponse.Data.FeatureStatus.BindResourceId")); + + List ips = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeEnvironmentFeatureResponse.Data.FeatureStatus.Ips.Length"); i++) { + ips.add(_ctx.stringValue("DescribeEnvironmentFeatureResponse.Data.FeatureStatus.Ips["+ i +"]")); + } + featureStatus.setIps(ips); List featureContainers = new ArrayList(); for (int i = 0; i < _ctx.lengthValue("DescribeEnvironmentFeatureResponse.Data.FeatureStatus.FeatureContainers.Length"); i++) { diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/DescribeEnvironmentResponseUnmarshaller.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/DescribeEnvironmentResponseUnmarshaller.java index dede583416..404ac8ba62 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/DescribeEnvironmentResponseUnmarshaller.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/DescribeEnvironmentResponseUnmarshaller.java @@ -45,6 +45,7 @@ public static DescribeEnvironmentResponse unmarshall(DescribeEnvironmentResponse data.setBindVpcCidr(_ctx.stringValue("DescribeEnvironmentResponse.Data.BindVpcCidr")); data.setPrometheusInstanceId(_ctx.stringValue("DescribeEnvironmentResponse.Data.PrometheusInstanceId")); data.setPrometheusInstanceName(_ctx.stringValue("DescribeEnvironmentResponse.Data.PrometheusInstanceName")); + data.setGrafanaWorkspaceId(_ctx.stringValue("DescribeEnvironmentResponse.Data.GrafanaWorkspaceId")); data.setGrafanaFolderUid(_ctx.stringValue("DescribeEnvironmentResponse.Data.GrafanaFolderUid")); data.setGrafanaDatasourceUid(_ctx.stringValue("DescribeEnvironmentResponse.Data.GrafanaDatasourceUid")); data.setVpcId(_ctx.stringValue("DescribeEnvironmentResponse.Data.VpcId")); @@ -55,6 +56,8 @@ public static DescribeEnvironmentResponse unmarshall(DescribeEnvironmentResponse data.setManagedType(_ctx.stringValue("DescribeEnvironmentResponse.Data.ManagedType")); data.setFeePackage(_ctx.stringValue("DescribeEnvironmentResponse.Data.FeePackage")); data.setDbInstanceStatus(_ctx.stringValue("DescribeEnvironmentResponse.Data.DbInstanceStatus")); + data.setSecurityGroupId(_ctx.stringValue("DescribeEnvironmentResponse.Data.SecurityGroupId")); + data.setVswitchId(_ctx.stringValue("DescribeEnvironmentResponse.Data.VswitchId")); data.setResourceGroupId(_ctx.stringValue("DescribeEnvironmentResponse.Data.ResourceGroupId")); List tags = new ArrayList(); diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/DoInsightsActionResponseUnmarshaller.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/DoInsightsActionResponseUnmarshaller.java new file mode 100644 index 0000000000..d1a1981a0d --- /dev/null +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/DoInsightsActionResponseUnmarshaller.java @@ -0,0 +1,33 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.arms.transform.v20190808; + +import com.aliyuncs.arms.model.v20190808.DoInsightsActionResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DoInsightsActionResponseUnmarshaller { + + public static DoInsightsActionResponse unmarshall(DoInsightsActionResponse doInsightsActionResponse, UnmarshallerContext _ctx) { + + doInsightsActionResponse.setRequestId(_ctx.stringValue("DoInsightsActionResponse.RequestId")); + doInsightsActionResponse.setCode(_ctx.integerValue("DoInsightsActionResponse.Code")); + doInsightsActionResponse.setSuccess(_ctx.booleanValue("DoInsightsActionResponse.Success")); + doInsightsActionResponse.setMessage(_ctx.stringValue("DoInsightsActionResponse.Message")); + doInsightsActionResponse.setData(_ctx.stringValue("DoInsightsActionResponse.Data")); + + return doInsightsActionResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetAlertRulesResponseUnmarshaller.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetAlertRulesResponseUnmarshaller.java index 6624df4b07..7e9150f9ba 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetAlertRulesResponseUnmarshaller.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetAlertRulesResponseUnmarshaller.java @@ -45,7 +45,7 @@ public static GetAlertRulesResponse unmarshall(GetAlertRulesResponse getAlertRul List alertRules = new ArrayList(); for (int i = 0; i < _ctx.lengthValue("GetAlertRulesResponse.PageBean.AlertRules.Length"); i++) { AlertRulesItem alertRulesItem = new AlertRulesItem(); - alertRulesItem.setAlertId(_ctx.floatValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].AlertId")); + alertRulesItem.setAlertId(_ctx.longValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].AlertId")); alertRulesItem.setAlertName(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].AlertName")); alertRulesItem.setUserId(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].UserId")); alertRulesItem.setRegionId(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].RegionId")); @@ -78,7 +78,7 @@ public static GetAlertRulesResponse unmarshall(GetAlertRulesResponse getAlertRul List alertRuleItems = new ArrayList(); for (int j = 0; j < _ctx.lengthValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].AlertRuleContent.AlertRuleItems.Length"); j++) { AlertRuleItemsItem alertRuleItemsItem = new AlertRuleItemsItem(); - alertRuleItemsItem.setN(_ctx.floatValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].AlertRuleContent.AlertRuleItems["+ j +"].N")); + alertRuleItemsItem.setN(_ctx.longValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].AlertRuleContent.AlertRuleItems["+ j +"].N")); alertRuleItemsItem.setMetricKey(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].AlertRuleContent.AlertRuleItems["+ j +"].MetricKey")); alertRuleItemsItem.setAggregate(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].AlertRuleContent.AlertRuleItems["+ j +"].Aggregate")); alertRuleItemsItem.setOperator(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].AlertRuleContent.AlertRuleItems["+ j +"].Operator")); diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetGrafanaWorkspaceResponseUnmarshaller.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetGrafanaWorkspaceResponseUnmarshaller.java index b22ad4ffcd..51a4423348 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetGrafanaWorkspaceResponseUnmarshaller.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetGrafanaWorkspaceResponseUnmarshaller.java @@ -42,6 +42,7 @@ public static GetGrafanaWorkspaceResponse unmarshall(GetGrafanaWorkspaceResponse data.setGrafanaWorkspaceIp(_ctx.stringValue("GetGrafanaWorkspaceResponse.Data.grafanaWorkspaceIp")); data.setSnatIp(_ctx.stringValue("GetGrafanaWorkspaceResponse.Data.snatIp")); data.setGrafanaWorkspaceDomain(_ctx.stringValue("GetGrafanaWorkspaceResponse.Data.grafanaWorkspaceDomain")); + data.setGrafanaWorkspaceDomainStatus(_ctx.stringValue("GetGrafanaWorkspaceResponse.Data.grafanaWorkspaceDomainStatus")); data.setCommercial(_ctx.booleanValue("GetGrafanaWorkspaceResponse.Data.commercial")); data.setGrafanaWorkspaceName(_ctx.stringValue("GetGrafanaWorkspaceResponse.Data.grafanaWorkspaceName")); data.setGrafanaVersion(_ctx.stringValue("GetGrafanaWorkspaceResponse.Data.grafanaVersion")); diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetPrometheusInstanceResponseUnmarshaller.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetPrometheusInstanceResponseUnmarshaller.java index 4b851f9b83..f08e945df4 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetPrometheusInstanceResponseUnmarshaller.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetPrometheusInstanceResponseUnmarshaller.java @@ -50,12 +50,22 @@ public static GetPrometheusInstanceResponse unmarshall(GetPrometheusInstanceResp data.setHttpApiIntraUrl(_ctx.stringValue("GetPrometheusInstanceResponse.Data.HttpApiIntraUrl")); data.setHttpApiInterUrl(_ctx.stringValue("GetPrometheusInstanceResponse.Data.HttpApiInterUrl")); data.setAuthToken(_ctx.stringValue("GetPrometheusInstanceResponse.Data.AuthToken")); + data.setAccessType(_ctx.stringValue("GetPrometheusInstanceResponse.Data.AccessType")); data.setPaymentType(_ctx.stringValue("GetPrometheusInstanceResponse.Data.PaymentType")); data.setStorageDuration(_ctx.integerValue("GetPrometheusInstanceResponse.Data.StorageDuration")); data.setArchiveDuration(_ctx.integerValue("GetPrometheusInstanceResponse.Data.ArchiveDuration")); data.setGrafanaInstanceId(_ctx.stringValue("GetPrometheusInstanceResponse.Data.GrafanaInstanceId")); data.setResourceGroupId(_ctx.stringValue("GetPrometheusInstanceResponse.Data.ResourceGroupId")); data.setResourceType(_ctx.stringValue("GetPrometheusInstanceResponse.Data.ResourceType")); + data.setEnableAuthToken(_ctx.stringValue("GetPrometheusInstanceResponse.Data.EnableAuthToken")); + data.setProduct(_ctx.stringValue("GetPrometheusInstanceResponse.Data.Product")); + data.setDbInstanceStatus(_ctx.stringValue("GetPrometheusInstanceResponse.Data.DbInstanceStatus")); + + List surpportAuthTypes = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetPrometheusInstanceResponse.Data.SurpportAuthTypes.Length"); i++) { + surpportAuthTypes.add(_ctx.stringValue("GetPrometheusInstanceResponse.Data.SurpportAuthTypes["+ i +"]")); + } + data.setSurpportAuthTypes(surpportAuthTypes); List tags = new ArrayList(); for (int i = 0; i < _ctx.lengthValue("GetPrometheusInstanceResponse.Data.Tags.Length"); i++) { diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetPrometheusRemoteWriteResponseUnmarshaller.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetPrometheusRemoteWriteResponseUnmarshaller.java deleted file mode 100644 index 243ba520e9..0000000000 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetPrometheusRemoteWriteResponseUnmarshaller.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.arms.transform.v20190808; - -import com.aliyuncs.arms.model.v20190808.GetPrometheusRemoteWriteResponse; -import com.aliyuncs.arms.model.v20190808.GetPrometheusRemoteWriteResponse.Data; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class GetPrometheusRemoteWriteResponseUnmarshaller { - - public static GetPrometheusRemoteWriteResponse unmarshall(GetPrometheusRemoteWriteResponse getPrometheusRemoteWriteResponse, UnmarshallerContext _ctx) { - - getPrometheusRemoteWriteResponse.setRequestId(_ctx.stringValue("GetPrometheusRemoteWriteResponse.RequestId")); - getPrometheusRemoteWriteResponse.setSuccess(_ctx.booleanValue("GetPrometheusRemoteWriteResponse.Success")); - getPrometheusRemoteWriteResponse.setMessage(_ctx.stringValue("GetPrometheusRemoteWriteResponse.Message")); - getPrometheusRemoteWriteResponse.setCode(_ctx.integerValue("GetPrometheusRemoteWriteResponse.Code")); - - Data data = new Data(); - data.setClusterId(_ctx.stringValue("GetPrometheusRemoteWriteResponse.Data.ClusterId")); - data.setRemoteWriteName(_ctx.stringValue("GetPrometheusRemoteWriteResponse.Data.RemoteWriteName")); - data.setRemoteWriteYaml(_ctx.stringValue("GetPrometheusRemoteWriteResponse.Data.RemoteWriteYaml")); - getPrometheusRemoteWriteResponse.setData(data); - - return getPrometheusRemoteWriteResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetRumAppInfoResponseUnmarshaller.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetRumAppInfoResponseUnmarshaller.java new file mode 100644 index 0000000000..bac7935ef5 --- /dev/null +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetRumAppInfoResponseUnmarshaller.java @@ -0,0 +1,28 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.arms.transform.v20190808; + +import com.aliyuncs.arms.model.v20190808.GetRumAppInfoResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetRumAppInfoResponseUnmarshaller { + + public static GetRumAppInfoResponse unmarshall(GetRumAppInfoResponse getRumAppInfoResponse, UnmarshallerContext _ctx) { + + + return getRumAppInfoResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetRumAppsResponseUnmarshaller.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetRumAppsResponseUnmarshaller.java new file mode 100644 index 0000000000..2e88f4e201 --- /dev/null +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetRumAppsResponseUnmarshaller.java @@ -0,0 +1,88 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.arms.transform.v20190808; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.arms.model.v20190808.GetRumAppsResponse; +import com.aliyuncs.arms.model.v20190808.GetRumAppsResponse.AppListItem; +import com.aliyuncs.arms.model.v20190808.GetRumAppsResponse.AppListItem.ServiceDomainConfigsItem; +import com.aliyuncs.arms.model.v20190808.GetRumAppsResponse.AppListItem.TagsItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetRumAppsResponseUnmarshaller { + + public static GetRumAppsResponse unmarshall(GetRumAppsResponse getRumAppsResponse, UnmarshallerContext _ctx) { + + getRumAppsResponse.setRequestId(_ctx.stringValue("GetRumAppsResponse.RequestId")); + getRumAppsResponse.setCode(_ctx.integerValue("GetRumAppsResponse.Code")); + getRumAppsResponse.setSuccess(_ctx.booleanValue("GetRumAppsResponse.Success")); + getRumAppsResponse.setMessage(_ctx.stringValue("GetRumAppsResponse.Message")); + getRumAppsResponse.setHttpStatusCode(_ctx.integerValue("GetRumAppsResponse.HttpStatusCode")); + + List appList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetRumAppsResponse.AppList.Length"); i++) { + AppListItem appListItem = new AppListItem(); + appListItem.setName(_ctx.stringValue("GetRumAppsResponse.AppList["+ i +"].Name")); + appListItem.setPid(_ctx.stringValue("GetRumAppsResponse.AppList["+ i +"].Pid")); + appListItem.setType(_ctx.stringValue("GetRumAppsResponse.AppList["+ i +"].Type")); + appListItem.setNickName(_ctx.stringValue("GetRumAppsResponse.AppList["+ i +"].NickName")); + appListItem.setRegionId(_ctx.stringValue("GetRumAppsResponse.AppList["+ i +"].RegionId")); + appListItem.setAppType(_ctx.stringValue("GetRumAppsResponse.AppList["+ i +"].AppType")); + appListItem.setStatus(_ctx.stringValue("GetRumAppsResponse.AppList["+ i +"].Status")); + appListItem.setResourceGroupId(_ctx.stringValue("GetRumAppsResponse.AppList["+ i +"].ResourceGroupId")); + appListItem.setIsSubscription(_ctx.booleanValue("GetRumAppsResponse.AppList["+ i +"].IsSubscription")); + appListItem.setDescription(_ctx.stringValue("GetRumAppsResponse.AppList["+ i +"].Description")); + appListItem.setPackageName(_ctx.stringValue("GetRumAppsResponse.AppList["+ i +"].PackageName")); + appListItem.setEndpoint(_ctx.stringValue("GetRumAppsResponse.AppList["+ i +"].Endpoint")); + appListItem.setSlsProject(_ctx.stringValue("GetRumAppsResponse.AppList["+ i +"].SlsProject")); + appListItem.setSlsLogstore(_ctx.stringValue("GetRumAppsResponse.AppList["+ i +"].SlsLogstore")); + + List tags = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("GetRumAppsResponse.AppList["+ i +"].Tags.Length"); j++) { + TagsItem tagsItem = new TagsItem(); + tagsItem.setKey(_ctx.stringValue("GetRumAppsResponse.AppList["+ i +"].Tags["+ j +"].Key")); + tagsItem.setValue(_ctx.stringValue("GetRumAppsResponse.AppList["+ i +"].Tags["+ j +"].Value")); + + tags.add(tagsItem); + } + appListItem.setTags(tags); + + List serviceDomainConfigs = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("GetRumAppsResponse.AppList["+ i +"].ServiceDomainConfigs.Length"); j++) { + ServiceDomainConfigsItem serviceDomainConfigsItem = new ServiceDomainConfigsItem(); + serviceDomainConfigsItem.setDomain(_ctx.stringValue("GetRumAppsResponse.AppList["+ i +"].ServiceDomainConfigs["+ j +"].Domain")); + serviceDomainConfigsItem.setDescription(_ctx.stringValue("GetRumAppsResponse.AppList["+ i +"].ServiceDomainConfigs["+ j +"].Description")); + serviceDomainConfigsItem.setTracing(_ctx.stringValue("GetRumAppsResponse.AppList["+ i +"].ServiceDomainConfigs["+ j +"].Tracing")); + + List propagatorTypes = new ArrayList(); + for (int k = 0; k < _ctx.lengthValue("GetRumAppsResponse.AppList["+ i +"].ServiceDomainConfigs["+ j +"].PropagatorTypes.Length"); k++) { + propagatorTypes.add(_ctx.stringValue("GetRumAppsResponse.AppList["+ i +"].ServiceDomainConfigs["+ j +"].PropagatorTypes["+ k +"]")); + } + serviceDomainConfigsItem.setPropagatorTypes(propagatorTypes); + + serviceDomainConfigs.add(serviceDomainConfigsItem); + } + appListItem.setServiceDomainConfigs(serviceDomainConfigs); + + appList.add(appListItem); + } + getRumAppsResponse.setAppList(appList); + + return getRumAppsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetRumDataForPageResponseUnmarshaller.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetRumDataForPageResponseUnmarshaller.java new file mode 100644 index 0000000000..b9cf705b26 --- /dev/null +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetRumDataForPageResponseUnmarshaller.java @@ -0,0 +1,50 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.arms.transform.v20190808; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.arms.model.v20190808.GetRumDataForPageResponse; +import com.aliyuncs.arms.model.v20190808.GetRumDataForPageResponse.Data; +import java.util.Map; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetRumDataForPageResponseUnmarshaller { + + public static GetRumDataForPageResponse unmarshall(GetRumDataForPageResponse getRumDataForPageResponse, UnmarshallerContext _ctx) { + + getRumDataForPageResponse.setRequestId(_ctx.stringValue("GetRumDataForPageResponse.RequestId")); + getRumDataForPageResponse.setCode(_ctx.stringValue("GetRumDataForPageResponse.Code")); + getRumDataForPageResponse.setSuccess(_ctx.stringValue("GetRumDataForPageResponse.Success")); + getRumDataForPageResponse.setMessage(_ctx.stringValue("GetRumDataForPageResponse.Message")); + getRumDataForPageResponse.setHttpStatusCode(_ctx.stringValue("GetRumDataForPageResponse.HttpStatusCode")); + + Data data = new Data(); + data.setTotal(_ctx.stringValue("GetRumDataForPageResponse.Data.Total")); + data.setPage(_ctx.stringValue("GetRumDataForPageResponse.Data.Page")); + data.setPageSize(_ctx.stringValue("GetRumDataForPageResponse.Data.PageSize")); + data.setAuthentication(_ctx.stringValue("GetRumDataForPageResponse.Data.Authentication")); + data.setCompletion(_ctx.stringValue("GetRumDataForPageResponse.Data.Completion")); + data.setPreference(_ctx.stringValue("GetRumDataForPageResponse.Data.Preference")); + + List> items = _ctx.listMapValue("GetRumDataForPageResponse.Data.Items"); + data.setItems(items); + getRumDataForPageResponse.setData(data); + + return getRumDataForPageResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetRumExceptionStackResponseUnmarshaller.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetRumExceptionStackResponseUnmarshaller.java new file mode 100644 index 0000000000..f4ba16677f --- /dev/null +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetRumExceptionStackResponseUnmarshaller.java @@ -0,0 +1,47 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.arms.transform.v20190808; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.arms.model.v20190808.GetRumExceptionStackResponse; +import com.aliyuncs.arms.model.v20190808.GetRumExceptionStackResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetRumExceptionStackResponseUnmarshaller { + + public static GetRumExceptionStackResponse unmarshall(GetRumExceptionStackResponse getRumExceptionStackResponse, UnmarshallerContext _ctx) { + + getRumExceptionStackResponse.setRequestId(_ctx.stringValue("GetRumExceptionStackResponse.RequestId")); + getRumExceptionStackResponse.setCode(_ctx.stringValue("GetRumExceptionStackResponse.Code")); + getRumExceptionStackResponse.setSuccess(_ctx.stringValue("GetRumExceptionStackResponse.Success")); + getRumExceptionStackResponse.setMessage(_ctx.stringValue("GetRumExceptionStackResponse.Message")); + getRumExceptionStackResponse.setHttpStatusCode(_ctx.stringValue("GetRumExceptionStackResponse.HttpStatusCode")); + + Data data = new Data(); + data.setThreadId(_ctx.stringValue("GetRumExceptionStackResponse.Data.ThreadId")); + + List lines = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetRumExceptionStackResponse.Data.Lines.Length"); i++) { + lines.add(_ctx.stringValue("GetRumExceptionStackResponse.Data.Lines["+ i +"]")); + } + data.setLines(lines); + getRumExceptionStackResponse.setData(data); + + return getRumExceptionStackResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetRumOcuStatisticDataResponseUnmarshaller.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetRumOcuStatisticDataResponseUnmarshaller.java new file mode 100644 index 0000000000..1e78348804 --- /dev/null +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetRumOcuStatisticDataResponseUnmarshaller.java @@ -0,0 +1,46 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.arms.transform.v20190808; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.arms.model.v20190808.GetRumOcuStatisticDataResponse; +import com.aliyuncs.arms.model.v20190808.GetRumOcuStatisticDataResponse.Data; +import java.util.Map; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetRumOcuStatisticDataResponseUnmarshaller { + + public static GetRumOcuStatisticDataResponse unmarshall(GetRumOcuStatisticDataResponse getRumOcuStatisticDataResponse, UnmarshallerContext _ctx) { + + getRumOcuStatisticDataResponse.setRequestId(_ctx.stringValue("GetRumOcuStatisticDataResponse.RequestId")); + getRumOcuStatisticDataResponse.setCode(_ctx.longValue("GetRumOcuStatisticDataResponse.Code")); + getRumOcuStatisticDataResponse.setMessage(_ctx.stringValue("GetRumOcuStatisticDataResponse.Message")); + + Data data = new Data(); + data.setTotal(_ctx.integerValue("GetRumOcuStatisticDataResponse.Data.Total")); + data.setPage(_ctx.integerValue("GetRumOcuStatisticDataResponse.Data.Page")); + data.setPageSize(_ctx.integerValue("GetRumOcuStatisticDataResponse.Data.PageSize")); + data.setComplete(_ctx.booleanValue("GetRumOcuStatisticDataResponse.Data.Complete")); + + List> items = _ctx.listMapValue("GetRumOcuStatisticDataResponse.Data.Items"); + data.setItems(items); + getRumOcuStatisticDataResponse.setData(data); + + return getRumOcuStatisticDataResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetRumUploadFilesResponseUnmarshaller.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetRumUploadFilesResponseUnmarshaller.java new file mode 100644 index 0000000000..bf80b62603 --- /dev/null +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetRumUploadFilesResponseUnmarshaller.java @@ -0,0 +1,49 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.arms.transform.v20190808; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.arms.model.v20190808.GetRumUploadFilesResponse; +import com.aliyuncs.arms.model.v20190808.GetRumUploadFilesResponse.DataItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetRumUploadFilesResponseUnmarshaller { + + public static GetRumUploadFilesResponse unmarshall(GetRumUploadFilesResponse getRumUploadFilesResponse, UnmarshallerContext _ctx) { + + getRumUploadFilesResponse.setRequestId(_ctx.stringValue("GetRumUploadFilesResponse.RequestId")); + getRumUploadFilesResponse.setCode(_ctx.integerValue("GetRumUploadFilesResponse.Code")); + getRumUploadFilesResponse.setMessage(_ctx.stringValue("GetRumUploadFilesResponse.Message")); + getRumUploadFilesResponse.setHttpStatusCode(_ctx.integerValue("GetRumUploadFilesResponse.HttpStatusCode")); + getRumUploadFilesResponse.setSuccess(_ctx.booleanValue("GetRumUploadFilesResponse.Success")); + + List data = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetRumUploadFilesResponse.Data.Length"); i++) { + DataItem dataItem = new DataItem(); + dataItem.setFileName(_ctx.stringValue("GetRumUploadFilesResponse.Data["+ i +"].FileName")); + dataItem.setUuid(_ctx.stringValue("GetRumUploadFilesResponse.Data["+ i +"].Uuid")); + dataItem.setSize(_ctx.stringValue("GetRumUploadFilesResponse.Data["+ i +"].Size")); + dataItem.setVersionId(_ctx.stringValue("GetRumUploadFilesResponse.Data["+ i +"].VersionId")); + + data.add(dataItem); + } + getRumUploadFilesResponse.setData(data); + + return getRumUploadFilesResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetTraceAppConfigResponseUnmarshaller.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetTraceAppConfigResponseUnmarshaller.java new file mode 100644 index 0000000000..f823b19056 --- /dev/null +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetTraceAppConfigResponseUnmarshaller.java @@ -0,0 +1,33 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.arms.transform.v20190808; + +import com.aliyuncs.arms.model.v20190808.GetTraceAppConfigResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetTraceAppConfigResponseUnmarshaller { + + public static GetTraceAppConfigResponse unmarshall(GetTraceAppConfigResponse getTraceAppConfigResponse, UnmarshallerContext _ctx) { + + getTraceAppConfigResponse.setRequestId(_ctx.stringValue("GetTraceAppConfigResponse.RequestId")); + getTraceAppConfigResponse.setData(_ctx.stringValue("GetTraceAppConfigResponse.Data")); + getTraceAppConfigResponse.setMessage(_ctx.stringValue("GetTraceAppConfigResponse.Message")); + getTraceAppConfigResponse.setCode(_ctx.longValue("GetTraceAppConfigResponse.Code")); + getTraceAppConfigResponse.setSuccess(_ctx.booleanValue("GetTraceAppConfigResponse.Success")); + + return getTraceAppConfigResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetTraceAppResponseUnmarshaller.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetTraceAppResponseUnmarshaller.java index d67a5abfaf..26bd7f34f5 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetTraceAppResponseUnmarshaller.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/GetTraceAppResponseUnmarshaller.java @@ -41,6 +41,8 @@ public static GetTraceAppResponse unmarshall(GetTraceAppResponse getTraceAppResp traceApp.setRegionId(_ctx.stringValue("GetTraceAppResponse.TraceApp.RegionId")); traceApp.setSource(_ctx.stringValue("GetTraceAppResponse.TraceApp.Source")); traceApp.setResourceGroupId(_ctx.stringValue("GetTraceAppResponse.TraceApp.ResourceGroupId")); + traceApp.setClusterId(_ctx.stringValue("GetTraceAppResponse.TraceApp.ClusterId")); + traceApp.setLanguage(_ctx.stringValue("GetTraceAppResponse.TraceApp.Language")); List labels = new ArrayList(); for (int i = 0; i < _ctx.lengthValue("GetTraceAppResponse.TraceApp.Labels.Length"); i++) { diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/ListAddonsResponseUnmarshaller.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/ListAddonsResponseUnmarshaller.java index 68fc54c470..02f8c45ac2 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/ListAddonsResponseUnmarshaller.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/ListAddonsResponseUnmarshaller.java @@ -91,6 +91,12 @@ public static ListAddonsResponse unmarshall(ListAddonsResponse listAddonsRespons services.add(_ctx.stringValue("ListAddonsResponse.Data["+ i +"].Environments["+ j +"].Dependencies.Services["+ k +"]")); } dependencies.setServices(services); + + List clusterTypes = new ArrayList(); + for (int k = 0; k < _ctx.lengthValue("ListAddonsResponse.Data["+ i +"].Environments["+ j +"].Dependencies.ClusterTypes.Length"); k++) { + clusterTypes.add(_ctx.stringValue("ListAddonsResponse.Data["+ i +"].Environments["+ j +"].Dependencies.ClusterTypes["+ k +"]")); + } + dependencies.setClusterTypes(clusterTypes); environmentsItem.setDependencies(dependencies); Policies policies = new Policies(); diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/ListAlertEventsResponseUnmarshaller.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/ListAlertEventsResponseUnmarshaller.java index 7dfc20b531..104acf36de 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/ListAlertEventsResponseUnmarshaller.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/ListAlertEventsResponseUnmarshaller.java @@ -20,7 +20,8 @@ import com.aliyuncs.arms.model.v20190808.ListAlertEventsResponse; import com.aliyuncs.arms.model.v20190808.ListAlertEventsResponse.PageBean; import com.aliyuncs.arms.model.v20190808.ListAlertEventsResponse.PageBean.EventsItem; -import com.aliyuncs.arms.model.v20190808.ListAlertEventsResponse.PageBean.EventsItem.AlarmsItem; +import com.aliyuncs.arms.model.v20190808.ListAlertEventsResponse.PageBean.EventsItem.AlarmsItem; +import com.aliyuncs.arms.model.v20190808.ListAlertEventsResponse.PageBean.EventsItem.NotificationPolicy; import com.aliyuncs.transform.UnmarshallerContext; @@ -51,6 +52,7 @@ public static ListAlertEventsResponse unmarshall(ListAlertEventsResponse listAle eventsItem.setAnnotations(_ctx.stringValue("ListAlertEventsResponse.PageBean.Events["+ i +"].Annotations")); eventsItem.setLabels(_ctx.stringValue("ListAlertEventsResponse.PageBean.Events["+ i +"].Labels")); eventsItem.setHandlerName(_ctx.stringValue("ListAlertEventsResponse.PageBean.Events["+ i +"].HandlerName")); + eventsItem.setTriggerCount(_ctx.longValue("ListAlertEventsResponse.PageBean.Events["+ i +"].TriggerCount")); List alarms = new ArrayList(); for (int j = 0; j < _ctx.lengthValue("ListAlertEventsResponse.PageBean.Events["+ i +"].Alarms.Length"); j++) { @@ -64,6 +66,16 @@ public static ListAlertEventsResponse unmarshall(ListAlertEventsResponse listAle } eventsItem.setAlarms(alarms); + List notificationPolicies = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("ListAlertEventsResponse.PageBean.Events["+ i +"].NotificationPolicies.Length"); j++) { + NotificationPolicy notificationPolicy = new NotificationPolicy(); + notificationPolicy.setId(_ctx.longValue("ListAlertEventsResponse.PageBean.Events["+ i +"].NotificationPolicies["+ j +"].Id")); + notificationPolicy.setName(_ctx.stringValue("ListAlertEventsResponse.PageBean.Events["+ i +"].NotificationPolicies["+ j +"].Name")); + + notificationPolicies.add(notificationPolicy); + } + eventsItem.setNotificationPolicies(notificationPolicies); + events.add(eventsItem); } pageBean.setEvents(events); diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/ListEnvironmentsResponseUnmarshaller.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/ListEnvironmentsResponseUnmarshaller.java index c914064997..5e8d249d78 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/ListEnvironmentsResponseUnmarshaller.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/ListEnvironmentsResponseUnmarshaller.java @@ -61,6 +61,7 @@ public static ListEnvironmentsResponse unmarshall(ListEnvironmentsResponse listE environmentsItem.setReleaseCount(_ctx.integerValue("ListEnvironmentsResponse.Data.Environments["+ i +"].ReleaseCount")); environmentsItem.setLatestReleaseCreateTime(_ctx.stringValue("ListEnvironmentsResponse.Data.Environments["+ i +"].LatestReleaseCreateTime")); environmentsItem.setManagedType(_ctx.stringValue("ListEnvironmentsResponse.Data.Environments["+ i +"].ManagedType")); + environmentsItem.setFeePackage(_ctx.stringValue("ListEnvironmentsResponse.Data.Environments["+ i +"].FeePackage")); List addons = new ArrayList(); for (int j = 0; j < _ctx.lengthValue("ListEnvironmentsResponse.Data.Environments["+ i +"].Addons.Length"); j++) { diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/ListGrafanaWorkspaceResponseUnmarshaller.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/ListGrafanaWorkspaceResponseUnmarshaller.java index 61d9e0a99f..6952701175 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/ListGrafanaWorkspaceResponseUnmarshaller.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/ListGrafanaWorkspaceResponseUnmarshaller.java @@ -44,6 +44,7 @@ public static ListGrafanaWorkspaceResponse unmarshall(ListGrafanaWorkspaceRespon grafanaWorkspace.setGrafanaWorkspaceIp(_ctx.stringValue("ListGrafanaWorkspaceResponse.Data["+ i +"].grafanaWorkspaceIp")); grafanaWorkspace.setSnatIp(_ctx.stringValue("ListGrafanaWorkspaceResponse.Data["+ i +"].snatIp")); grafanaWorkspace.setGrafanaWorkspaceDomain(_ctx.stringValue("ListGrafanaWorkspaceResponse.Data["+ i +"].grafanaWorkspaceDomain")); + grafanaWorkspace.setGrafanaWorkspaceDomainStatus(_ctx.stringValue("ListGrafanaWorkspaceResponse.Data["+ i +"].grafanaWorkspaceDomainStatus")); grafanaWorkspace.setCommercial(_ctx.booleanValue("ListGrafanaWorkspaceResponse.Data["+ i +"].commercial")); grafanaWorkspace.setGrafanaWorkspaceName(_ctx.stringValue("ListGrafanaWorkspaceResponse.Data["+ i +"].grafanaWorkspaceName")); grafanaWorkspace.setGrafanaVersion(_ctx.stringValue("ListGrafanaWorkspaceResponse.Data["+ i +"].grafanaVersion")); diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/ListNotificationPoliciesResponseUnmarshaller.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/ListNotificationPoliciesResponseUnmarshaller.java index d9d9937249..2723e15047 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/ListNotificationPoliciesResponseUnmarshaller.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/ListNotificationPoliciesResponseUnmarshaller.java @@ -51,6 +51,7 @@ public static ListNotificationPoliciesResponse unmarshall(ListNotificationPolici policies.setEscalationPolicyId(_ctx.longValue("ListNotificationPoliciesResponse.PageBean.NotificationPolicies["+ i +"].EscalationPolicyId")); policies.setIntegrationId(_ctx.longValue("ListNotificationPoliciesResponse.PageBean.NotificationPolicies["+ i +"].IntegrationId")); policies.setDirectedMode(_ctx.booleanValue("ListNotificationPoliciesResponse.PageBean.NotificationPolicies["+ i +"].DirectedMode")); + policies.setState(_ctx.stringValue("ListNotificationPoliciesResponse.PageBean.NotificationPolicies["+ i +"].State")); GroupRule groupRule = new GroupRule(); groupRule.setGroupWait(_ctx.longValue("ListNotificationPoliciesResponse.PageBean.NotificationPolicies["+ i +"].GroupRule.GroupWait")); diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/ListPrometheusRemoteWritesResponseUnmarshaller.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/ListPrometheusRemoteWritesResponseUnmarshaller.java deleted file mode 100644 index 52d09752a9..0000000000 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/ListPrometheusRemoteWritesResponseUnmarshaller.java +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.arms.transform.v20190808; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.arms.model.v20190808.ListPrometheusRemoteWritesResponse; -import com.aliyuncs.arms.model.v20190808.ListPrometheusRemoteWritesResponse.RemoteWrite; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListPrometheusRemoteWritesResponseUnmarshaller { - - public static ListPrometheusRemoteWritesResponse unmarshall(ListPrometheusRemoteWritesResponse listPrometheusRemoteWritesResponse, UnmarshallerContext _ctx) { - - listPrometheusRemoteWritesResponse.setRequestId(_ctx.stringValue("ListPrometheusRemoteWritesResponse.RequestId")); - listPrometheusRemoteWritesResponse.setSuccess(_ctx.booleanValue("ListPrometheusRemoteWritesResponse.Success")); - listPrometheusRemoteWritesResponse.setMessage(_ctx.stringValue("ListPrometheusRemoteWritesResponse.Message")); - listPrometheusRemoteWritesResponse.setCode(_ctx.integerValue("ListPrometheusRemoteWritesResponse.Code")); - - List data = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListPrometheusRemoteWritesResponse.Data.Length"); i++) { - RemoteWrite remoteWrite = new RemoteWrite(); - remoteWrite.setClusterId(_ctx.stringValue("ListPrometheusRemoteWritesResponse.Data["+ i +"].ClusterId")); - remoteWrite.setRemoteWriteName(_ctx.stringValue("ListPrometheusRemoteWritesResponse.Data["+ i +"].RemoteWriteName")); - remoteWrite.setRemoteWriteYaml(_ctx.stringValue("ListPrometheusRemoteWritesResponse.Data["+ i +"].RemoteWriteYaml")); - - data.add(remoteWrite); - } - listPrometheusRemoteWritesResponse.setData(data); - - return listPrometheusRemoteWritesResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/ListSilencePoliciesResponseUnmarshaller.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/ListSilencePoliciesResponseUnmarshaller.java index 2739049294..334f1fde21 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/ListSilencePoliciesResponseUnmarshaller.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/ListSilencePoliciesResponseUnmarshaller.java @@ -41,6 +41,7 @@ public static ListSilencePoliciesResponse unmarshall(ListSilencePoliciesResponse Policies policies = new Policies(); policies.setId(_ctx.longValue("ListSilencePoliciesResponse.PageBean.SilencePolicies["+ i +"].Id")); policies.setName(_ctx.stringValue("ListSilencePoliciesResponse.PageBean.SilencePolicies["+ i +"].Name")); + policies.setState(_ctx.stringValue("ListSilencePoliciesResponse.PageBean.SilencePolicies["+ i +"].State")); List matchingRules = new ArrayList(); for (int j = 0; j < _ctx.lengthValue("ListSilencePoliciesResponse.PageBean.SilencePolicies["+ i +"].MatchingRules.Length"); j++) { diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/QueryCommercialUsageResponseUnmarshaller.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/QueryCommercialUsageResponseUnmarshaller.java index 03fcb7bb6d..cf5a0970f0 100644 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/QueryCommercialUsageResponseUnmarshaller.java +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/QueryCommercialUsageResponseUnmarshaller.java @@ -28,7 +28,8 @@ public class QueryCommercialUsageResponseUnmarshaller { public static QueryCommercialUsageResponse unmarshall(QueryCommercialUsageResponse queryCommercialUsageResponse, UnmarshallerContext _ctx) { queryCommercialUsageResponse.setRequestId(_ctx.stringValue("QueryCommercialUsageResponse.RequestId")); - queryCommercialUsageResponse.setCode(_ctx.stringValue("QueryCommercialUsageResponse.Code")); + queryCommercialUsageResponse.setCode(_ctx.integerValue("QueryCommercialUsageResponse.Code")); + queryCommercialUsageResponse.setHttpStatusCode(_ctx.integerValue("QueryCommercialUsageResponse.HttpStatusCode")); queryCommercialUsageResponse.setMessage(_ctx.stringValue("QueryCommercialUsageResponse.Message")); queryCommercialUsageResponse.setSuccess(_ctx.booleanValue("QueryCommercialUsageResponse.Success")); diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/UpdatePrometheusRemoteWriteResponseUnmarshaller.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/UpdatePrometheusRemoteWriteResponseUnmarshaller.java deleted file mode 100644 index 9b662537dd..0000000000 --- a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/UpdatePrometheusRemoteWriteResponseUnmarshaller.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.arms.transform.v20190808; - -import com.aliyuncs.arms.model.v20190808.UpdatePrometheusRemoteWriteResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class UpdatePrometheusRemoteWriteResponseUnmarshaller { - - public static UpdatePrometheusRemoteWriteResponse unmarshall(UpdatePrometheusRemoteWriteResponse updatePrometheusRemoteWriteResponse, UnmarshallerContext _ctx) { - - updatePrometheusRemoteWriteResponse.setRequestId(_ctx.stringValue("UpdatePrometheusRemoteWriteResponse.RequestId")); - updatePrometheusRemoteWriteResponse.setData(_ctx.stringValue("UpdatePrometheusRemoteWriteResponse.Data")); - updatePrometheusRemoteWriteResponse.setSuccess(_ctx.booleanValue("UpdatePrometheusRemoteWriteResponse.Success")); - updatePrometheusRemoteWriteResponse.setMessage(_ctx.stringValue("UpdatePrometheusRemoteWriteResponse.Message")); - updatePrometheusRemoteWriteResponse.setCode(_ctx.integerValue("UpdatePrometheusRemoteWriteResponse.Code")); - - return updatePrometheusRemoteWriteResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/UpdateRumAppResponseUnmarshaller.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/UpdateRumAppResponseUnmarshaller.java new file mode 100644 index 0000000000..0711472fc8 --- /dev/null +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/UpdateRumAppResponseUnmarshaller.java @@ -0,0 +1,41 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.arms.transform.v20190808; + +import com.aliyuncs.arms.model.v20190808.UpdateRumAppResponse; +import com.aliyuncs.arms.model.v20190808.UpdateRumAppResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class UpdateRumAppResponseUnmarshaller { + + public static UpdateRumAppResponse unmarshall(UpdateRumAppResponse updateRumAppResponse, UnmarshallerContext _ctx) { + + updateRumAppResponse.setRequestId(_ctx.stringValue("UpdateRumAppResponse.RequestId")); + updateRumAppResponse.setCode(_ctx.stringValue("UpdateRumAppResponse.Code")); + updateRumAppResponse.setSuccess(_ctx.stringValue("UpdateRumAppResponse.Success")); + updateRumAppResponse.setMessage(_ctx.stringValue("UpdateRumAppResponse.Message")); + updateRumAppResponse.setHttpStatusCode(_ctx.stringValue("UpdateRumAppResponse.HttpStatusCode")); + + Data data = new Data(); + data.setConfig(_ctx.stringValue("UpdateRumAppResponse.Data.Config")); + data.setUsage(_ctx.integerValue("UpdateRumAppResponse.Data.Usage")); + data.setLimit(_ctx.integerValue("UpdateRumAppResponse.Data.Limit")); + data.setLimited(_ctx.booleanValue("UpdateRumAppResponse.Data.Limited")); + updateRumAppResponse.setData(data); + + return updateRumAppResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/UpdateRumFileStatusResponseUnmarshaller.java b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/UpdateRumFileStatusResponseUnmarshaller.java new file mode 100644 index 0000000000..6670b19c4b --- /dev/null +++ b/aliyun-java-sdk-arms/src/main/java/com/aliyuncs/arms/transform/v20190808/UpdateRumFileStatusResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.arms.transform.v20190808; + +import com.aliyuncs.arms.model.v20190808.UpdateRumFileStatusResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class UpdateRumFileStatusResponseUnmarshaller { + + public static UpdateRumFileStatusResponse unmarshall(UpdateRumFileStatusResponse updateRumFileStatusResponse, UnmarshallerContext _ctx) { + + updateRumFileStatusResponse.setRequestId(_ctx.stringValue("UpdateRumFileStatusResponse.RequestId")); + + return updateRumFileStatusResponse; + } +} \ No newline at end of file