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

com.alipay.api.domain.AlipayIserviceCliveConnectCloseModel Maven / Gradle / Ivy

package com.alipay.api.domain;

import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;

/**
 * 关闭会话
 *
 * @author auto create
 * @since 1.0, 2023-11-23 14:57:15
 */
public class AlipayIserviceCliveConnectCloseModel extends AlipayObject {

	private static final long serialVersionUID = 5669316899129457597L;

	/**
	 * 会话关闭原因
SELF_CLOSE:主动关闭
OVERTIME_CLOSE:超时关闭
NO_HEARTBEAT_CLOSE:心跳断开关闭
	 */
	@ApiField("close_type")
	private String closeType;

	/**
	 * 若是会话已经建立,关闭时必须传该conversation_id来请求关闭。若未建立,传visitor_token来请求关闭。
visitor_token 和 conversation_id 不能同时为空。
	 */
	@ApiField("conversation_id")
	private String conversationId;

	/**
	 * 访问DT的渠道
11:LINKS
12:HELLO_BIKE
	 */
	@ApiField("src")
	private String src;

	/**
	 * DT端定义的访客token,标识唯一的访客,在connect成功的时候有给发起方返回。若是会话未建立,关闭时传该token进行关闭。visitor_token 和 conversation_id 不能同时为空。
	 */
	@ApiField("visitor_token")
	private String visitorToken;

	public String getCloseType() {
		return this.closeType;
	}
	public void setCloseType(String closeType) {
		this.closeType = closeType;
	}

	public String getConversationId() {
		return this.conversationId;
	}
	public void setConversationId(String conversationId) {
		this.conversationId = conversationId;
	}

	public String getSrc() {
		return this.src;
	}
	public void setSrc(String src) {
		this.src = src;
	}

	public String getVisitorToken() {
		return this.visitorToken;
	}
	public void setVisitorToken(String visitorToken) {
		this.visitorToken = visitorToken;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy