/*
 * 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.mscopensubscription.model.v20210713;

import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.mscopensubscription.transform.v20210713.GetSubscriptionItemResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

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

	private Boolean success;

	private String code;

	private String message;

	private String requestId;

	private SubscriptionItem subscriptionItem;

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

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

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMessage() {
		return this.message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

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

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

	public SubscriptionItem getSubscriptionItem() {
		return this.subscriptionItem;
	}

	public void setSubscriptionItem(SubscriptionItem subscriptionItem) {
		this.subscriptionItem = subscriptionItem;
	}

	public static class SubscriptionItem {

		private String description;

		private Integer smsStatus;

		private String channel;

		private Integer emailStatus;

		private Integer itemId;

		private Integer pmsgStatus;

		private Integer webhookStatus;

		private String itemName;

		private Integer ttsStatus;

		private List<Long> contactIds;

		private List<Long> webhookIds;

		public String getDescription() {
			return this.description;
		}

		public void setDescription(String description) {
			this.description = description;
		}

		public Integer getSmsStatus() {
			return this.smsStatus;
		}

		public void setSmsStatus(Integer smsStatus) {
			this.smsStatus = smsStatus;
		}

		public String getChannel() {
			return this.channel;
		}

		public void setChannel(String channel) {
			this.channel = channel;
		}

		public Integer getEmailStatus() {
			return this.emailStatus;
		}

		public void setEmailStatus(Integer emailStatus) {
			this.emailStatus = emailStatus;
		}

		public Integer getItemId() {
			return this.itemId;
		}

		public void setItemId(Integer itemId) {
			this.itemId = itemId;
		}

		public Integer getPmsgStatus() {
			return this.pmsgStatus;
		}

		public void setPmsgStatus(Integer pmsgStatus) {
			this.pmsgStatus = pmsgStatus;
		}

		public Integer getWebhookStatus() {
			return this.webhookStatus;
		}

		public void setWebhookStatus(Integer webhookStatus) {
			this.webhookStatus = webhookStatus;
		}

		public String getItemName() {
			return this.itemName;
		}

		public void setItemName(String itemName) {
			this.itemName = itemName;
		}

		public Integer getTtsStatus() {
			return this.ttsStatus;
		}

		public void setTtsStatus(Integer ttsStatus) {
			this.ttsStatus = ttsStatus;
		}

		public List<Long> getContactIds() {
			return this.contactIds;
		}

		public void setContactIds(List<Long> contactIds) {
			this.contactIds = contactIds;
		}

		public List<Long> getWebhookIds() {
			return this.webhookIds;
		}

		public void setWebhookIds(List<Long> webhookIds) {
			this.webhookIds = webhookIds;
		}
	}

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

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