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

com.aliyuncs.v5.dts.model.v20200101.DescribeSubscriptionInstancesResponse 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.v5.dts.model.v20200101;

import java.util.List;
import com.aliyuncs.v5.AcsResponse;
import com.aliyuncs.v5.dts.transform.v20200101.DescribeSubscriptionInstancesResponseUnmarshaller;
import com.aliyuncs.v5.transform.UnmarshallerContext;

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

	private String errCode;

	private String errMessage;

	private Integer pageNumber;

	private Integer pageRecordCount;

	private String requestId;

	private String success;

	private Long totalRecordCount;

	private List subscriptionInstances;

	public String getErrCode() {
		return this.errCode;
	}

	public void setErrCode(String errCode) {
		this.errCode = errCode;
	}

	public String getErrMessage() {
		return this.errMessage;
	}

	public void setErrMessage(String errMessage) {
		this.errMessage = errMessage;
	}

	public Integer getPageNumber() {
		return this.pageNumber;
	}

	public void setPageNumber(Integer pageNumber) {
		this.pageNumber = pageNumber;
	}

	public Integer getPageRecordCount() {
		return this.pageRecordCount;
	}

	public void setPageRecordCount(Integer pageRecordCount) {
		this.pageRecordCount = pageRecordCount;
	}

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

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

	public String getSuccess() {
		return this.success;
	}

	public void setSuccess(String success) {
		this.success = success;
	}

	public Long getTotalRecordCount() {
		return this.totalRecordCount;
	}

	public void setTotalRecordCount(Long totalRecordCount) {
		this.totalRecordCount = totalRecordCount;
	}

	public List getSubscriptionInstances() {
		return this.subscriptionInstances;
	}

	public void setSubscriptionInstances(List subscriptionInstances) {
		this.subscriptionInstances = subscriptionInstances;
	}

	public static class SubscriptionInstance {

		private String beginTimestamp;

		private String consumptionCheckpoint;

		private String consumptionClient;

		private String endTimestamp;

		private String errorMessage;

		private String payType;

		private String status;

		private String subscribeTopic;

		private String subscriptionInstanceID;

		private String subscriptionInstanceName;

		private String jobCreateTime;

		private String instanceCreateTime;

		private List subscriptionObject;

		private List tags;

		private SourceEndpoint sourceEndpoint;

		private SubscriptionDataType subscriptionDataType;

		private SubscriptionHost subscriptionHost;

		public String getBeginTimestamp() {
			return this.beginTimestamp;
		}

		public void setBeginTimestamp(String beginTimestamp) {
			this.beginTimestamp = beginTimestamp;
		}

		public String getConsumptionCheckpoint() {
			return this.consumptionCheckpoint;
		}

		public void setConsumptionCheckpoint(String consumptionCheckpoint) {
			this.consumptionCheckpoint = consumptionCheckpoint;
		}

		public String getConsumptionClient() {
			return this.consumptionClient;
		}

		public void setConsumptionClient(String consumptionClient) {
			this.consumptionClient = consumptionClient;
		}

		public String getEndTimestamp() {
			return this.endTimestamp;
		}

		public void setEndTimestamp(String endTimestamp) {
			this.endTimestamp = endTimestamp;
		}

		public String getErrorMessage() {
			return this.errorMessage;
		}

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

		public String getPayType() {
			return this.payType;
		}

		public void setPayType(String payType) {
			this.payType = payType;
		}

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

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

		public String getSubscribeTopic() {
			return this.subscribeTopic;
		}

		public void setSubscribeTopic(String subscribeTopic) {
			this.subscribeTopic = subscribeTopic;
		}

		public String getSubscriptionInstanceID() {
			return this.subscriptionInstanceID;
		}

		public void setSubscriptionInstanceID(String subscriptionInstanceID) {
			this.subscriptionInstanceID = subscriptionInstanceID;
		}

		public String getSubscriptionInstanceName() {
			return this.subscriptionInstanceName;
		}

		public void setSubscriptionInstanceName(String subscriptionInstanceName) {
			this.subscriptionInstanceName = subscriptionInstanceName;
		}

		public String getJobCreateTime() {
			return this.jobCreateTime;
		}

		public void setJobCreateTime(String jobCreateTime) {
			this.jobCreateTime = jobCreateTime;
		}

		public String getInstanceCreateTime() {
			return this.instanceCreateTime;
		}

		public void setInstanceCreateTime(String instanceCreateTime) {
			this.instanceCreateTime = instanceCreateTime;
		}

		public List getSubscriptionObject() {
			return this.subscriptionObject;
		}

		public void setSubscriptionObject(List subscriptionObject) {
			this.subscriptionObject = subscriptionObject;
		}

		public List getTags() {
			return this.tags;
		}

		public void setTags(List tags) {
			this.tags = tags;
		}

		public SourceEndpoint getSourceEndpoint() {
			return this.sourceEndpoint;
		}

		public void setSourceEndpoint(SourceEndpoint sourceEndpoint) {
			this.sourceEndpoint = sourceEndpoint;
		}

		public SubscriptionDataType getSubscriptionDataType() {
			return this.subscriptionDataType;
		}

		public void setSubscriptionDataType(SubscriptionDataType subscriptionDataType) {
			this.subscriptionDataType = subscriptionDataType;
		}

		public SubscriptionHost getSubscriptionHost() {
			return this.subscriptionHost;
		}

		public void setSubscriptionHost(SubscriptionHost subscriptionHost) {
			this.subscriptionHost = subscriptionHost;
		}

		public static class SynchronousObject {

			private String databaseName;

			private String wholeDatabase;

			private List tableList;

			public String getDatabaseName() {
				return this.databaseName;
			}

			public void setDatabaseName(String databaseName) {
				this.databaseName = databaseName;
			}

			public String getWholeDatabase() {
				return this.wholeDatabase;
			}

			public void setWholeDatabase(String wholeDatabase) {
				this.wholeDatabase = wholeDatabase;
			}

			public List getTableList() {
				return this.tableList;
			}

			public void setTableList(List tableList) {
				this.tableList = tableList;
			}
		}

		public static class Tag {

			private String key;

			private String value;

			public String getKey() {
				return this.key;
			}

			public void setKey(String key) {
				this.key = key;
			}

			public String getValue() {
				return this.value;
			}

			public void setValue(String value) {
				this.value = value;
			}
		}

		public static class SourceEndpoint {

			private String instanceID;

			private String instanceType;

			public String getInstanceID() {
				return this.instanceID;
			}

			public void setInstanceID(String instanceID) {
				this.instanceID = instanceID;
			}

			public String getInstanceType() {
				return this.instanceType;
			}

			public void setInstanceType(String instanceType) {
				this.instanceType = instanceType;
			}
		}

		public static class SubscriptionDataType {

			private Boolean dDL;

			private Boolean dML;

			public Boolean getDDL() {
				return this.dDL;
			}

			public void setDDL(Boolean dDL) {
				this.dDL = dDL;
			}

			public Boolean getDML() {
				return this.dML;
			}

			public void setDML(Boolean dML) {
				this.dML = dML;
			}
		}

		public static class SubscriptionHost {

			private String privateHost;

			private String publicHost;

			private String vPCHost;

			public String getPrivateHost() {
				return this.privateHost;
			}

			public void setPrivateHost(String privateHost) {
				this.privateHost = privateHost;
			}

			public String getPublicHost() {
				return this.publicHost;
			}

			public void setPublicHost(String publicHost) {
				this.publicHost = publicHost;
			}

			public String getVPCHost() {
				return this.vPCHost;
			}

			public void setVPCHost(String vPCHost) {
				this.vPCHost = vPCHost;
			}
		}
	}

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy