/*
 * 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.arms.model.v20190808;

import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.arms.transform.v20190808.DescribeContactsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

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

	private String requestId;

	private PageBean pageBean;

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

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

	public PageBean getPageBean() {
		return this.pageBean;
	}

	public void setPageBean(PageBean pageBean) {
		this.pageBean = pageBean;
	}

	public static class PageBean {

		private Long total;

		private Long page;

		private Long size;

		private List<Contacts> alertContacts;

		public Long getTotal() {
			return this.total;
		}

		public void setTotal(Long total) {
			this.total = total;
		}

		public Long getPage() {
			return this.page;
		}

		public void setPage(Long page) {
			this.page = page;
		}

		public Long getSize() {
			return this.size;
		}

		public void setSize(Long size) {
			this.size = size;
		}

		public List<Contacts> getAlertContacts() {
			return this.alertContacts;
		}

		public void setAlertContacts(List<Contacts> alertContacts) {
			this.alertContacts = alertContacts;
		}

		public static class Contacts {

			private Float contactId;

			private String contactName;

			private String phone;

			private String email;

			private Boolean isVerify;

			private Long reissueSendNotice;

			private Boolean isEmailVerify;

			private Long armsContactId;

			private String dingRobotUrl;

			private String webhook;

			public Float getContactId() {
				return this.contactId;
			}

			public void setContactId(Float contactId) {
				this.contactId = contactId;
			}

			public String getContactName() {
				return this.contactName;
			}

			public void setContactName(String contactName) {
				this.contactName = contactName;
			}

			public String getPhone() {
				return this.phone;
			}

			public void setPhone(String phone) {
				this.phone = phone;
			}

			public String getEmail() {
				return this.email;
			}

			public void setEmail(String email) {
				this.email = email;
			}

			public Boolean getIsVerify() {
				return this.isVerify;
			}

			public void setIsVerify(Boolean isVerify) {
				this.isVerify = isVerify;
			}

			public Long getReissueSendNotice() {
				return this.reissueSendNotice;
			}

			public void setReissueSendNotice(Long reissueSendNotice) {
				this.reissueSendNotice = reissueSendNotice;
			}

			public Boolean getIsEmailVerify() {
				return this.isEmailVerify;
			}

			public void setIsEmailVerify(Boolean isEmailVerify) {
				this.isEmailVerify = isEmailVerify;
			}

			public Long getArmsContactId() {
				return this.armsContactId;
			}

			public void setArmsContactId(Long armsContactId) {
				this.armsContactId = armsContactId;
			}

			public String getDingRobotUrl() {
				return this.dingRobotUrl;
			}

			public void setDingRobotUrl(String dingRobotUrl) {
				this.dingRobotUrl = dingRobotUrl;
			}

			public String getWebhook() {
				return this.webhook;
			}

			public void setWebhook(String webhook) {
				this.webhook = webhook;
			}
		}
	}

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

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