|
| 1 | +/* |
| 2 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
| 3 | + * you may not use this file except in compliance with the License. |
| 4 | + * You may obtain a copy of the License at |
| 5 | + * |
| 6 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 7 | + * |
| 8 | + * Unless required by applicable law or agreed to in writing, software |
| 9 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 10 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 11 | + * See the License for the specific language governing permissions and |
| 12 | + * limitations under the License. |
| 13 | + */ |
| 14 | + |
| 15 | +package com.aliyuncs.ecs_workbench.model.v20220220; |
| 16 | + |
| 17 | +import java.util.List; |
| 18 | +import com.aliyuncs.AcsResponse; |
| 19 | +import com.aliyuncs.ecs_workbench.transform.v20220220.ListTerminalCommandsResponseUnmarshaller; |
| 20 | +import com.aliyuncs.transform.UnmarshallerContext; |
| 21 | + |
| 22 | +/** |
| 23 | + * @author auto create |
| 24 | + * @version |
| 25 | + */ |
| 26 | +public class ListTerminalCommandsResponse extends AcsResponse { |
| 27 | + |
| 28 | + private Integer totalCount; |
| 29 | + |
| 30 | + private Integer pageSize; |
| 31 | + |
| 32 | + private Integer pageNumber; |
| 33 | + |
| 34 | + private String requestId; |
| 35 | + |
| 36 | + private List<TerminalCommandListItem> terminalCommandList; |
| 37 | + |
| 38 | + public Integer getTotalCount() { |
| 39 | + return this.totalCount; |
| 40 | + } |
| 41 | + |
| 42 | + public void setTotalCount(Integer totalCount) { |
| 43 | + this.totalCount = totalCount; |
| 44 | + } |
| 45 | + |
| 46 | + public Integer getPageSize() { |
| 47 | + return this.pageSize; |
| 48 | + } |
| 49 | + |
| 50 | + public void setPageSize(Integer pageSize) { |
| 51 | + this.pageSize = pageSize; |
| 52 | + } |
| 53 | + |
| 54 | + public Integer getPageNumber() { |
| 55 | + return this.pageNumber; |
| 56 | + } |
| 57 | + |
| 58 | + public void setPageNumber(Integer pageNumber) { |
| 59 | + this.pageNumber = pageNumber; |
| 60 | + } |
| 61 | + |
| 62 | + public String getRequestId() { |
| 63 | + return this.requestId; |
| 64 | + } |
| 65 | + |
| 66 | + public void setRequestId(String requestId) { |
| 67 | + this.requestId = requestId; |
| 68 | + } |
| 69 | + |
| 70 | + public List<TerminalCommandListItem> getTerminalCommandList() { |
| 71 | + return this.terminalCommandList; |
| 72 | + } |
| 73 | + |
| 74 | + public void setTerminalCommandList(List<TerminalCommandListItem> terminalCommandList) { |
| 75 | + this.terminalCommandList = terminalCommandList; |
| 76 | + } |
| 77 | + |
| 78 | + public static class TerminalCommandListItem { |
| 79 | + |
| 80 | + private String createTime; |
| 81 | + |
| 82 | + private String commandLine; |
| 83 | + |
| 84 | + private String loginUser; |
| 85 | + |
| 86 | + private String executePath; |
| 87 | + |
| 88 | + public String getCreateTime() { |
| 89 | + return this.createTime; |
| 90 | + } |
| 91 | + |
| 92 | + public void setCreateTime(String createTime) { |
| 93 | + this.createTime = createTime; |
| 94 | + } |
| 95 | + |
| 96 | + public String getCommandLine() { |
| 97 | + return this.commandLine; |
| 98 | + } |
| 99 | + |
| 100 | + public void setCommandLine(String commandLine) { |
| 101 | + this.commandLine = commandLine; |
| 102 | + } |
| 103 | + |
| 104 | + public String getLoginUser() { |
| 105 | + return this.loginUser; |
| 106 | + } |
| 107 | + |
| 108 | + public void setLoginUser(String loginUser) { |
| 109 | + this.loginUser = loginUser; |
| 110 | + } |
| 111 | + |
| 112 | + public String getExecutePath() { |
| 113 | + return this.executePath; |
| 114 | + } |
| 115 | + |
| 116 | + public void setExecutePath(String executePath) { |
| 117 | + this.executePath = executePath; |
| 118 | + } |
| 119 | + } |
| 120 | + |
| 121 | + @Override |
| 122 | + public ListTerminalCommandsResponse getInstance(UnmarshallerContext context) { |
| 123 | + return ListTerminalCommandsResponseUnmarshaller.unmarshall(this, context); |
| 124 | + } |
| 125 | + |
| 126 | + @Override |
| 127 | + public boolean checkShowJsonItemName() { |
| 128 | + return false; |
| 129 | + } |
| 130 | +} |
0 commit comments