content: package com.alipay.api.request;
  
  import java.util.Map;
  
  import com.alipay.api.AlipayRequest;
  import com.alipay.api.internal.util.AlipayHashMap;
  import com.alipay.api.response.AlipayOpenAiAgentChatResponse;
  import com.alipay.api.AlipayObject;
  
  /**
   * ALIPAY API: alipay.open.ai.agent.chat request
   * 
   * @author auto create
   * @since 1.0, 2025-05-12 14:12:27
   */
  public class AlipayOpenAiAgentChatRequest implements AlipayRequest<AlipayOpenAiAgentChatResponse> {
  
  	private AlipayHashMap udfParams; // add user-defined text parameters
  	private String apiVersion="1.0";
  
  	/** 
  	* 该能力为智能体开放对话服务，开发者可基于O站开放生态，通过智能体编排能力快速搭建智能体服务能力并且可通过以智能体应用为主体发起openapi调用。 
  	 */
  	private String bizContent;
  
  	public void setBizContent(String bizContent) {
  		this.bizContent = bizContent;
  	}
  	public String getBizContent() {
  		return this.bizContent;
  	}
  	private String terminalType;
  	private String terminalInfo;	
  	private String prodCode;
  	private String notifyUrl;
  	private String returnUrl;
  	private boolean needEncrypt=false;
  	private AlipayObject bizModel=null;
  
  	public String getNotifyUrl() {
  		return this.notifyUrl;
  	}
  
  	public void setNotifyUrl(String notifyUrl) {
  		this.notifyUrl = notifyUrl;
  	}
  
  	public String getReturnUrl() {
  		return this.returnUrl;
  	}
  
  	public void setReturnUrl(String returnUrl) {
  		this.returnUrl = returnUrl;
  	}
  
  	public String getApiVersion() {
  		return this.apiVersion;
  	}
  
  	public void setApiVersion(String apiVersion) {
  		this.apiVersion = apiVersion;
  	}
  
  	public void setTerminalType(String terminalType){
  		this.terminalType=terminalType;
  	}
  
      public String getTerminalType(){
      	return this.terminalType;
      }
  
      public void setTerminalInfo(String terminalInfo){
      	this.terminalInfo=terminalInfo;
      }
  
      public String getTerminalInfo(){
      	return this.terminalInfo;
      }	
  
  	public void setProdCode(String prodCode) {
  		this.prodCode=prodCode;
  	}
  
  	public String getProdCode() {
  		return this.prodCode; 
  	}
  
  	public String getApiMethodName() {
  		return "alipay.open.ai.agent.chat";
  	}
  
  	public Map<String, String> getTextParams() {		
  		AlipayHashMap txtParams = new AlipayHashMap();
  		txtParams.put("biz_content", this.bizContent);
  		if(udfParams != null) {
  			txtParams.putAll(this.udfParams);
  		}
  		return txtParams;
  	}
  
  	public void putOtherTextParam(String key, String value) {
  		if(this.udfParams == null) {
  			this.udfParams = new AlipayHashMap();
  		}
  		this.udfParams.put(key, value);
  	}
  
  	public Class<AlipayOpenAiAgentChatResponse> getResponseClass() {
  		return AlipayOpenAiAgentChatResponse.class;
  	}
  	
  
      public boolean isNeedEncrypt() {
      
        return this.needEncrypt;
      }
  
  
      public void setNeedEncrypt(boolean needEncrypt) {
      
           this.needEncrypt=needEncrypt;
      }
      
      public AlipayObject getBizModel() {
      
        return this.bizModel;
      }
  
  
      public void setBizModel(AlipayObject bizModel) {
      
           this.bizModel=bizModel;
      }
  	
  	
  }
  