All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyuncs.ecs.model.v20140526.DescribeTerminalSessionsResponse Maven / Gradle / Ivy

Go to download

Aliyun Open API SDK for Java Copyright (C) Alibaba Cloud Computing All rights reserved. 版权所有 (C)阿里云计算有限公司 http://www.aliyun.com

The newest version!
/*
 * 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.model.v20140526;

import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.ecs.transform.v20140526.DescribeTerminalSessionsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

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

	private String requestId;

	private String nextToken;

	private List sessions;

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

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

	public String getNextToken() {
		return this.nextToken;
	}

	public void setNextToken(String nextToken) {
		this.nextToken = nextToken;
	}

	public List getSessions() {
		return this.sessions;
	}

	public void setSessions(List sessions) {
		this.sessions = sessions;
	}

	public static class Session {

		private String creationTime;

		private String targetServer;

		private Integer portNumber;

		private String principalId;

		private String username;

		private String clientIP;

		private String identityType;

		private String sessionId;

		private List connections;

		public String getCreationTime() {
			return this.creationTime;
		}

		public void setCreationTime(String creationTime) {
			this.creationTime = creationTime;
		}

		public String getTargetServer() {
			return this.targetServer;
		}

		public void setTargetServer(String targetServer) {
			this.targetServer = targetServer;
		}

		public Integer getPortNumber() {
			return this.portNumber;
		}

		public void setPortNumber(Integer portNumber) {
			this.portNumber = portNumber;
		}

		public String getPrincipalId() {
			return this.principalId;
		}

		public void setPrincipalId(String principalId) {
			this.principalId = principalId;
		}

		public String getUsername() {
			return this.username;
		}

		public void setUsername(String username) {
			this.username = username;
		}

		public String getClientIP() {
			return this.clientIP;
		}

		public void setClientIP(String clientIP) {
			this.clientIP = clientIP;
		}

		public String getIdentityType() {
			return this.identityType;
		}

		public void setIdentityType(String identityType) {
			this.identityType = identityType;
		}

		public String getSessionId() {
			return this.sessionId;
		}

		public void setSessionId(String sessionId) {
			this.sessionId = sessionId;
		}

		public List getConnections() {
			return this.connections;
		}

		public void setConnections(List connections) {
			this.connections = connections;
		}

		public static class Connection {

			private String closedReason;

			private String endTime;

			private String status;

			private String startTime;

			private String instanceId;

			public String getClosedReason() {
				return this.closedReason;
			}

			public void setClosedReason(String closedReason) {
				this.closedReason = closedReason;
			}

			public String getEndTime() {
				return this.endTime;
			}

			public void setEndTime(String endTime) {
				this.endTime = endTime;
			}

			public String getStatus() {
				return this.status;
			}

			public void setStatus(String status) {
				this.status = status;
			}

			public String getStartTime() {
				return this.startTime;
			}

			public void setStartTime(String startTime) {
				this.startTime = startTime;
			}

			public String getInstanceId() {
				return this.instanceId;
			}

			public void setInstanceId(String instanceId) {
				this.instanceId = instanceId;
			}
		}
	}

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy