/*
 * 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.dypnsapi.model.v20170525;

import com.aliyuncs.AcsResponse;
import com.aliyuncs.dypnsapi.transform.v20170525.GetSmsAuthTokensResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

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

	private String code;

	private String message;

	private String requestId;

	private Data data;

	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 Data getData() {
		return this.data;
	}

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

	public static class Data {

		private String bizToken;

		private String stsAccessKeySecret;

		private String stsAccessKeyId;

		private Long expireTime;

		private String stsToken;

		public String getBizToken() {
			return this.bizToken;
		}

		public void setBizToken(String bizToken) {
			this.bizToken = bizToken;
		}

		public String getStsAccessKeySecret() {
			return this.stsAccessKeySecret;
		}

		public void setStsAccessKeySecret(String stsAccessKeySecret) {
			this.stsAccessKeySecret = stsAccessKeySecret;
		}

		public String getStsAccessKeyId() {
			return this.stsAccessKeyId;
		}

		public void setStsAccessKeyId(String stsAccessKeyId) {
			this.stsAccessKeyId = stsAccessKeyId;
		}

		public Long getExpireTime() {
			return this.expireTime;
		}

		public void setExpireTime(Long expireTime) {
			this.expireTime = expireTime;
		}

		public String getStsToken() {
			return this.stsToken;
		}

		public void setStsToken(String stsToken) {
			this.stsToken = stsToken;
		}
	}

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

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