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

com.aliyuncs.dms_enterprise.model.v20181101.GetTableTopologyResponse 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.dms_enterprise.model.v20181101;

import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.dms_enterprise.transform.v20181101.GetTableTopologyResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

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

	private String requestId;

	private Boolean success;

	private String errorMessage;

	private String errorCode;

	private TableTopology tableTopology;

	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 getErrorMessage() {
		return this.errorMessage;
	}

	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}

	public String getErrorCode() {
		return this.errorCode;
	}

	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}

	public TableTopology getTableTopology() {
		return this.tableTopology;
	}

	public void setTableTopology(TableTopology tableTopology) {
		this.tableTopology = tableTopology;
	}

	public static class TableTopology {

		private String tableGuid;

		private String tableName;

		private Boolean logic;

		private List tableTopologyInfoList;

		public String getTableGuid() {
			return this.tableGuid;
		}

		public void setTableGuid(String tableGuid) {
			this.tableGuid = tableGuid;
		}

		public String getTableName() {
			return this.tableName;
		}

		public void setTableName(String tableName) {
			this.tableName = tableName;
		}

		public Boolean getLogic() {
			return this.logic;
		}

		public void setLogic(Boolean logic) {
			this.logic = logic;
		}

		public List getTableTopologyInfoList() {
			return this.tableTopologyInfoList;
		}

		public void setTableTopologyInfoList(List tableTopologyInfoList) {
			this.tableTopologyInfoList = tableTopologyInfoList;
		}

		public static class TableTopologyInfo {

			private String tableNameList;

			private String tableNameExpr;

			private Long tableCount;

			private Long dbId;

			private String dbSearchName;

			private Long instanceId;

			private String regionId;

			private String instanceResourceId;

			private String instanceSource;

			private String dbName;

			private String dbType;

			public String getTableNameList() {
				return this.tableNameList;
			}

			public void setTableNameList(String tableNameList) {
				this.tableNameList = tableNameList;
			}

			public String getTableNameExpr() {
				return this.tableNameExpr;
			}

			public void setTableNameExpr(String tableNameExpr) {
				this.tableNameExpr = tableNameExpr;
			}

			public Long getTableCount() {
				return this.tableCount;
			}

			public void setTableCount(Long tableCount) {
				this.tableCount = tableCount;
			}

			public Long getDbId() {
				return this.dbId;
			}

			public void setDbId(Long dbId) {
				this.dbId = dbId;
			}

			public String getDbSearchName() {
				return this.dbSearchName;
			}

			public void setDbSearchName(String dbSearchName) {
				this.dbSearchName = dbSearchName;
			}

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

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

			public String getRegionId() {
				return this.regionId;
			}

			public void setRegionId(String regionId) {
				this.regionId = regionId;
			}

			public String getInstanceResourceId() {
				return this.instanceResourceId;
			}

			public void setInstanceResourceId(String instanceResourceId) {
				this.instanceResourceId = instanceResourceId;
			}

			public String getInstanceSource() {
				return this.instanceSource;
			}

			public void setInstanceSource(String instanceSource) {
				this.instanceSource = instanceSource;
			}

			public String getDbName() {
				return this.dbName;
			}

			public void setDbName(String dbName) {
				this.dbName = dbName;
			}

			public String getDbType() {
				return this.dbType;
			}

			public void setDbType(String dbType) {
				this.dbType = dbType;
			}
		}
	}

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy