Skip to content

Commit

Permalink
Generated 2019-08-08 for ARMS.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Apr 29, 2024
1 parent 5948337 commit 141d948
Show file tree
Hide file tree
Showing 251 changed files with 24,345 additions and 131 deletions.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-arms/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2024-04-29 Version: 2.8.35
- Generated 2019-08-08 for `ARMS`.

2023-05-26 Version: 2.8.34
- Add solution to response for GetAlerts Api.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-arms/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-arms</artifactId>
<packaging>jar</packaging>
<version>2.8.34</version>
<version>2.8.35</version>
<name>aliyun-java-sdk-arms</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java
Expand Down
Original file line number Diff line number Diff line change
@@ -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.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.arms.Endpoint;

/**
* @author auto create
* @version
*/
public class AddTagToFlinkClusterRequest extends RpcAcsRequest<AddTagToFlinkClusterResponse> {


private String flinkWorkSpaceName;

private String clusterId;

private String targetUserId;

private String resourceGroupId;

private String flinkWorkSpaceId;
public AddTagToFlinkClusterRequest() {
super("ARMS", "2019-08-08", "AddTagToFlinkCluster", "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 getFlinkWorkSpaceName() {
return this.flinkWorkSpaceName;
}

public void setFlinkWorkSpaceName(String flinkWorkSpaceName) {
this.flinkWorkSpaceName = flinkWorkSpaceName;
if(flinkWorkSpaceName != null){
putQueryParameter("FlinkWorkSpaceName", flinkWorkSpaceName);
}
}

public String getClusterId() {
return this.clusterId;
}

public void setClusterId(String clusterId) {
this.clusterId = clusterId;
if(clusterId != null){
putQueryParameter("ClusterId", clusterId);
}
}

public String getTargetUserId() {
return this.targetUserId;
}

public void setTargetUserId(String targetUserId) {
this.targetUserId = targetUserId;
if(targetUserId != null){
putQueryParameter("TargetUserId", targetUserId);
}
}

public String getResourceGroupId() {
return this.resourceGroupId;
}

public void setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
if(resourceGroupId != null){
putQueryParameter("ResourceGroupId", resourceGroupId);
}
}

public String getFlinkWorkSpaceId() {
return this.flinkWorkSpaceId;
}

public void setFlinkWorkSpaceId(String flinkWorkSpaceId) {
this.flinkWorkSpaceId = flinkWorkSpaceId;
if(flinkWorkSpaceId != null){
putQueryParameter("FlinkWorkSpaceId", flinkWorkSpaceId);
}
}

@Override
public Class<AddTagToFlinkClusterResponse> getResponseClass() {
return AddTagToFlinkClusterResponse.class;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
/*
* 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.AddTagToFlinkClusterResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

/**
* @author auto create
* @version
*/
public class AddTagToFlinkClusterResponse extends AcsResponse {

private String requestId;

private Boolean success;

private Integer code;

private String data;

public String getRequestId() {
return this.requestId;
}

public void setRequestId(String requestId) {
this.requestId = requestId;
}

public Boolean getSuccess() {
return this.success;
}

public void setSuccess(Boolean success) {
this.success = success;
}

public Integer getCode() {
return this.code;
}

public void setCode(Integer code) {
this.code = code;
}

public String getData() {
return this.data;
}

public void setData(String data) {
this.data = data;
}

@Override
public AddTagToFlinkClusterResponse getInstance(UnmarshallerContext context) {
return AddTagToFlinkClusterResponseUnmarshaller.unmarshall(this, context);
}

@Override
public boolean checkShowJsonItemName() {
return false;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
/*
* 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.MethodType;
import com.aliyuncs.arms.Endpoint;

/**
* @author auto create
* @version
*/
public class BlockAlarmNotificationRequest extends RpcAcsRequest<BlockAlarmNotificationResponse> {


private Long timeout;

private Long handlerId;

private Long alarmId;
public BlockAlarmNotificationRequest() {
super("ARMS", "2019-08-08", "BlockAlarmNotification", "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 Long getTimeout() {
return this.timeout;
}

public void setTimeout(Long timeout) {
this.timeout = timeout;
if(timeout != null){
putQueryParameter("Timeout", timeout.toString());
}
}

public Long getHandlerId() {
return this.handlerId;
}

public void setHandlerId(Long handlerId) {
this.handlerId = handlerId;
if(handlerId != null){
putQueryParameter("HandlerId", handlerId.toString());
}
}

public Long getAlarmId() {
return this.alarmId;
}

public void setAlarmId(Long alarmId) {
this.alarmId = alarmId;
if(alarmId != null){
putQueryParameter("AlarmId", alarmId.toString());
}
}

@Override
public Class<BlockAlarmNotificationResponse> getResponseClass() {
return BlockAlarmNotificationResponse.class;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
/*
* 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.BlockAlarmNotificationResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

/**
* @author auto create
* @version
*/
public class BlockAlarmNotificationResponse extends AcsResponse {

private String requestId;

private Boolean result;

private Long code;

private Boolean success;

private String message;

public String getRequestId() {
return this.requestId;
}

public void setRequestId(String requestId) {
this.requestId = requestId;
}

public Boolean getResult() {
return this.result;
}

public void setResult(Boolean result) {
this.result = result;
}

public Long getCode() {
return this.code;
}

public void setCode(Long 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;
}

@Override
public BlockAlarmNotificationResponse getInstance(UnmarshallerContext context) {
return BlockAlarmNotificationResponseUnmarshaller.unmarshall(this, context);
}

@Override
public boolean checkShowJsonItemName() {
return false;
}
}
Loading

0 comments on commit 141d948

Please sign in to comment.