-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
251 changed files
with
24,345 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
106 changes: 106 additions & 0 deletions
106
...sdk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/AddTagToFlinkClusterRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
|
||
} |
76 changes: 76 additions & 0 deletions
76
...dk-arms/src/main/java/com/aliyuncs/arms/model/v20190808/AddTagToFlinkClusterResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} |
80 changes: 80 additions & 0 deletions
80
...k-arms/src/main/java/com/aliyuncs/arms/model/v20190808/BlockAlarmNotificationRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
|
||
} |
86 changes: 86 additions & 0 deletions
86
...-arms/src/main/java/com/aliyuncs/arms/model/v20190808/BlockAlarmNotificationResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} |
Oops, something went wrong.