package com.platform.plugs.live.config;

import lombok.Data;

/**
 * @Author weiyan
 * @Date 2020/4/9 09:32
 **/
@Data
public class LiveAudioConfig {
	
	private String appKey;
	
	private String regionId;
	/**
	 * 服务总结点
	 */
	private String endpointName;
	/**
	 * 产品名称
	 */
	private String product;
	/**
	 * 域名
	 */
	private String domainName;
	/**
	 * API的版本号
	 */
	private String apiVersion;
	/**
	 * post提交的action
	 */
	private String postRequestAction;
	/**
	 * get提交的action
	 */
	private String getRequestAction;
	
	/**
     * accessKeyId
     */
	private String accessKeyId;
	/**
     * accessKeySecret
     */
	private String accessKeySecret;
	/**
	 * 回调域名
	 * */
	private String callbackDomainName;
	
	
	public LiveAudioConfig(String appKey, String regionId, String endpointName,  String domainName,
			String apiVersion,String accessKeyId,String accessKeySecret) {
		this.appKey = appKey;
		this.regionId = regionId;
		this.endpointName = endpointName;
		this.domainName = domainName;
		this.apiVersion = apiVersion;
		this.accessKeyId = accessKeyId;
		this.accessKeySecret = accessKeySecret;
	}


	public LiveAudioConfig(String appKey, String regionId, String endpointName, String product, String domainName,
			String apiVersion, String postRequestAction, String getRequestAction, String accessKeyId,
			String accessKeySecret, String callbackDomainName) {
		super();
		this.appKey = appKey;
		this.regionId = regionId;
		this.endpointName = endpointName;
		this.product = product;
		this.domainName = domainName;
		this.apiVersion = apiVersion;
		this.postRequestAction = postRequestAction;
		this.getRequestAction = getRequestAction;
		this.accessKeyId = accessKeyId;
		this.accessKeySecret = accessKeySecret;
		this.callbackDomainName = callbackDomainName;
	}
	
}
