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

com.aliyuncs.oceanbasepro.model.v20190901.DescribeProcessStatsCompositionResponse 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.oceanbasepro.model.v20190901;

import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.oceanbasepro.transform.v20190901.DescribeProcessStatsCompositionResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

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

	private String requestId;

	private Data data;

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

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

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

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

	public static class Data {

		private Integer totalSessionCount;

		private Integer activeSessionCount;

		private Integer idleSessionCount;

		private String obVersion;

		private List allProcessList;

		private SessionStatistics sessionStatistics;

		public Integer getTotalSessionCount() {
			return this.totalSessionCount;
		}

		public void setTotalSessionCount(Integer totalSessionCount) {
			this.totalSessionCount = totalSessionCount;
		}

		public Integer getActiveSessionCount() {
			return this.activeSessionCount;
		}

		public void setActiveSessionCount(Integer activeSessionCount) {
			this.activeSessionCount = activeSessionCount;
		}

		public Integer getIdleSessionCount() {
			return this.idleSessionCount;
		}

		public void setIdleSessionCount(Integer idleSessionCount) {
			this.idleSessionCount = idleSessionCount;
		}

		public String getObVersion() {
			return this.obVersion;
		}

		public void setObVersion(String obVersion) {
			this.obVersion = obVersion;
		}

		public List getAllProcessList() {
			return this.allProcessList;
		}

		public void setAllProcessList(List allProcessList) {
			this.allProcessList = allProcessList;
		}

		public SessionStatistics getSessionStatistics() {
			return this.sessionStatistics;
		}

		public void setSessionStatistics(SessionStatistics sessionStatistics) {
			this.sessionStatistics = sessionStatistics;
		}

		public static class AllProcessListItem {

			private String sqlText;

			private String tenantId;

			private String database;

			private String user;

			private Long executeTime;

			private Long cpuTime;

			private String serverIp;

			private String clientIp;

			private Long sessionId;

			private String proxySessId;

			private String command;

			private String status;

			private String sqlId;

			private String traceId;

			private String planId;

			public String getSqlText() {
				return this.sqlText;
			}

			public void setSqlText(String sqlText) {
				this.sqlText = sqlText;
			}

			public String getTenantId() {
				return this.tenantId;
			}

			public void setTenantId(String tenantId) {
				this.tenantId = tenantId;
			}

			public String getDatabase() {
				return this.database;
			}

			public void setDatabase(String database) {
				this.database = database;
			}

			public String getUser() {
				return this.user;
			}

			public void setUser(String user) {
				this.user = user;
			}

			public Long getExecuteTime() {
				return this.executeTime;
			}

			public void setExecuteTime(Long executeTime) {
				this.executeTime = executeTime;
			}

			public Long getCpuTime() {
				return this.cpuTime;
			}

			public void setCpuTime(Long cpuTime) {
				this.cpuTime = cpuTime;
			}

			public String getServerIp() {
				return this.serverIp;
			}

			public void setServerIp(String serverIp) {
				this.serverIp = serverIp;
			}

			public String getClientIp() {
				return this.clientIp;
			}

			public void setClientIp(String clientIp) {
				this.clientIp = clientIp;
			}

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

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

			public String getProxySessId() {
				return this.proxySessId;
			}

			public void setProxySessId(String proxySessId) {
				this.proxySessId = proxySessId;
			}

			public String getCommand() {
				return this.command;
			}

			public void setCommand(String command) {
				this.command = command;
			}

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

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

			public String getSqlId() {
				return this.sqlId;
			}

			public void setSqlId(String sqlId) {
				this.sqlId = sqlId;
			}

			public String getTraceId() {
				return this.traceId;
			}

			public void setTraceId(String traceId) {
				this.traceId = traceId;
			}

			public String getPlanId() {
				return this.planId;
			}

			public void setPlanId(String planId) {
				this.planId = planId;
			}
		}

		public static class SessionStatistics {

			private List userStatistics;

			private List sourceStatistics;

			private List dataBaseStatistics;

			public List getUserStatistics() {
				return this.userStatistics;
			}

			public void setUserStatistics(List userStatistics) {
				this.userStatistics = userStatistics;
			}

			public List getSourceStatistics() {
				return this.sourceStatistics;
			}

			public void setSourceStatistics(List sourceStatistics) {
				this.sourceStatistics = sourceStatistics;
			}

			public List getDataBaseStatistics() {
				return this.dataBaseStatistics;
			}

			public void setDataBaseStatistics(List dataBaseStatistics) {
				this.dataBaseStatistics = dataBaseStatistics;
			}

			public static class UserStatisticsItem {

				private String metricValue;

				private Long activeCount;

				private Long totalCount;

				private String type;

				public String getMetricValue() {
					return this.metricValue;
				}

				public void setMetricValue(String metricValue) {
					this.metricValue = metricValue;
				}

				public Long getActiveCount() {
					return this.activeCount;
				}

				public void setActiveCount(Long activeCount) {
					this.activeCount = activeCount;
				}

				public Long getTotalCount() {
					return this.totalCount;
				}

				public void setTotalCount(Long totalCount) {
					this.totalCount = totalCount;
				}

				public String getType() {
					return this.type;
				}

				public void setType(String type) {
					this.type = type;
				}
			}

			public static class SourceStatisticsItem {

				private String metricValue;

				private Long activeCount;

				private Long totalCount;

				private String type;

				public String getMetricValue() {
					return this.metricValue;
				}

				public void setMetricValue(String metricValue) {
					this.metricValue = metricValue;
				}

				public Long getActiveCount() {
					return this.activeCount;
				}

				public void setActiveCount(Long activeCount) {
					this.activeCount = activeCount;
				}

				public Long getTotalCount() {
					return this.totalCount;
				}

				public void setTotalCount(Long totalCount) {
					this.totalCount = totalCount;
				}

				public String getType() {
					return this.type;
				}

				public void setType(String type) {
					this.type = type;
				}
			}

			public static class DataBaseStatisticsItem {

				private String metricValue;

				private Long activeCount;

				private Long totalCount;

				private String type;

				public String getMetricValue() {
					return this.metricValue;
				}

				public void setMetricValue(String metricValue) {
					this.metricValue = metricValue;
				}

				public Long getActiveCount() {
					return this.activeCount;
				}

				public void setActiveCount(Long activeCount) {
					this.activeCount = activeCount;
				}

				public Long getTotalCount() {
					return this.totalCount;
				}

				public void setTotalCount(Long totalCount) {
					this.totalCount = totalCount;
				}

				public String getType() {
					return this.type;
				}

				public void setType(String type) {
					this.type = type;
				}
			}
		}
	}

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy