-
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
14 changed files
with
943 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
2024-08-21 Version: 1.0.8 | ||
- Support record for ecs. | ||
|
||
2023-09-14 Version: 1.0.7 | ||
- Supported shortcut login. | ||
|
||
|
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
51 changes: 51 additions & 0 deletions
51
.../main/java/com/aliyuncs/ecs_workbench/model/v20220220/GetInstanceRecordConfigRequest.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,51 @@ | ||
/* | ||
* 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.ecs_workbench.model.v20220220; | ||
|
||
import com.aliyuncs.RpcAcsRequest; | ||
import com.aliyuncs.http.ProtocolType; | ||
import com.aliyuncs.http.MethodType; | ||
|
||
/** | ||
* @author auto create | ||
* @version | ||
*/ | ||
public class GetInstanceRecordConfigRequest extends RpcAcsRequest<GetInstanceRecordConfigResponse> { | ||
|
||
|
||
private String instanceId; | ||
public GetInstanceRecordConfigRequest() { | ||
super("ecs-workbench", "2022-02-20", "GetInstanceRecordConfig", "ecs-workbench"); | ||
setProtocol(ProtocolType.HTTPS); | ||
setMethod(MethodType.POST); | ||
} | ||
|
||
public String getInstanceId() { | ||
return this.instanceId; | ||
} | ||
|
||
public void setInstanceId(String instanceId) { | ||
this.instanceId = instanceId; | ||
if(instanceId != null){ | ||
putBodyParameter("InstanceId", instanceId); | ||
} | ||
} | ||
|
||
@Override | ||
public Class<GetInstanceRecordConfigResponse> getResponseClass() { | ||
return GetInstanceRecordConfigResponse.class; | ||
} | ||
|
||
} |
129 changes: 129 additions & 0 deletions
129
...main/java/com/aliyuncs/ecs_workbench/model/v20220220/GetInstanceRecordConfigResponse.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,129 @@ | ||
/* | ||
* 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.ecs_workbench.model.v20220220; | ||
|
||
import com.aliyuncs.AcsResponse; | ||
import com.aliyuncs.ecs_workbench.transform.v20220220.GetInstanceRecordConfigResponseUnmarshaller; | ||
import com.aliyuncs.transform.UnmarshallerContext; | ||
|
||
/** | ||
* @author auto create | ||
* @version | ||
*/ | ||
public class GetInstanceRecordConfigResponse extends AcsResponse { | ||
|
||
private String requestId; | ||
|
||
private Boolean success; | ||
|
||
private String code; | ||
|
||
private String message; | ||
|
||
private Root root; | ||
|
||
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 String getCode() { | ||
return this.code; | ||
} | ||
|
||
public void setCode(String code) { | ||
this.code = code; | ||
} | ||
|
||
public String getMessage() { | ||
return this.message; | ||
} | ||
|
||
public void setMessage(String message) { | ||
this.message = message; | ||
} | ||
|
||
public Root getRoot() { | ||
return this.root; | ||
} | ||
|
||
public void setRoot(Root root) { | ||
this.root = root; | ||
} | ||
|
||
public static class Root { | ||
|
||
private String instanceId; | ||
|
||
private String parentId; | ||
|
||
private String recordStorageTarget; | ||
|
||
private Integer expirationDays; | ||
|
||
public String getInstanceId() { | ||
return this.instanceId; | ||
} | ||
|
||
public void setInstanceId(String instanceId) { | ||
this.instanceId = instanceId; | ||
} | ||
|
||
public String getParentId() { | ||
return this.parentId; | ||
} | ||
|
||
public void setParentId(String parentId) { | ||
this.parentId = parentId; | ||
} | ||
|
||
public String getRecordStorageTarget() { | ||
return this.recordStorageTarget; | ||
} | ||
|
||
public void setRecordStorageTarget(String recordStorageTarget) { | ||
this.recordStorageTarget = recordStorageTarget; | ||
} | ||
|
||
public Integer getExpirationDays() { | ||
return this.expirationDays; | ||
} | ||
|
||
public void setExpirationDays(Integer expirationDays) { | ||
this.expirationDays = expirationDays; | ||
} | ||
} | ||
|
||
@Override | ||
public GetInstanceRecordConfigResponse getInstance(UnmarshallerContext context) { | ||
return GetInstanceRecordConfigResponseUnmarshaller.unmarshall(this, context); | ||
} | ||
|
||
@Override | ||
public boolean checkShowJsonItemName() { | ||
return false; | ||
} | ||
} |
77 changes: 77 additions & 0 deletions
77
.../src/main/java/com/aliyuncs/ecs_workbench/model/v20220220/ListInstanceRecordsRequest.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,77 @@ | ||
/* | ||
* 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.ecs_workbench.model.v20220220; | ||
|
||
import com.aliyuncs.RpcAcsRequest; | ||
import com.aliyuncs.http.ProtocolType; | ||
import com.aliyuncs.http.MethodType; | ||
|
||
/** | ||
* @author auto create | ||
* @version | ||
*/ | ||
public class ListInstanceRecordsRequest extends RpcAcsRequest<ListInstanceRecordsResponse> { | ||
|
||
|
||
private Integer pageNumber; | ||
|
||
private String instanceId; | ||
|
||
private Integer pageSize; | ||
public ListInstanceRecordsRequest() { | ||
super("ecs-workbench", "2022-02-20", "ListInstanceRecords", "ecs-workbench"); | ||
setProtocol(ProtocolType.HTTPS); | ||
setMethod(MethodType.POST); | ||
} | ||
|
||
public Integer getPageNumber() { | ||
return this.pageNumber; | ||
} | ||
|
||
public void setPageNumber(Integer pageNumber) { | ||
this.pageNumber = pageNumber; | ||
if(pageNumber != null){ | ||
putBodyParameter("PageNumber", pageNumber.toString()); | ||
} | ||
} | ||
|
||
public String getInstanceId() { | ||
return this.instanceId; | ||
} | ||
|
||
public void setInstanceId(String instanceId) { | ||
this.instanceId = instanceId; | ||
if(instanceId != null){ | ||
putBodyParameter("InstanceId", instanceId); | ||
} | ||
} | ||
|
||
public Integer getPageSize() { | ||
return this.pageSize; | ||
} | ||
|
||
public void setPageSize(Integer pageSize) { | ||
this.pageSize = pageSize; | ||
if(pageSize != null){ | ||
putBodyParameter("PageSize", pageSize.toString()); | ||
} | ||
} | ||
|
||
@Override | ||
public Class<ListInstanceRecordsResponse> getResponseClass() { | ||
return ListInstanceRecordsResponse.class; | ||
} | ||
|
||
} |
Oops, something went wrong.