<?php
/**
 * dingtalk API: dingtalk.oapi.process.instance.terminate request
 * 
 * @author auto create
 * @since 1.0, 2020.09.09
 */
class OapiProcessInstanceTerminateRequest
{
	/** 
	 * 终止审批请求
	 **/
	private $request;
	
	private $apiParas = array();
	
	public function setRequest($request)
	{
		$this->request = $request;
		$this->apiParas["request"] = $request;
	}

	public function getRequest()
	{
		return $this->request;
	}

	public function getApiMethodName()
	{
		return "dingtalk.oapi.process.instance.terminate";
	}
	
	public function getApiParas()
	{
		return $this->apiParas;
	}
	
	public function check()
	{
		
	}
	
	public function putOtherTextParam($key, $value) {
		$this->apiParas[$key] = $value;
		$this->$key = $value;
	}
}
