<?php
/**
 * dingtalk API: dingtalk.oapi.attendance.group.positions.remove request
 * 
 * @author auto create
 * @since 1.0, 2020.04.09
 */
class OapiAttendanceGroupPositionsRemoveRequest
{
	/** 
	 * 考勤组id
	 **/
	private $groupKey;
	
	/** 
	 * 操作人userId
	 **/
	private $opUserid;
	
	/** 
	 * wifiKeyList
	 **/
	private $wifiKeyList;
	
	private $apiParas = array();
	
	public function setGroupKey($groupKey)
	{
		$this->groupKey = $groupKey;
		$this->apiParas["group_key"] = $groupKey;
	}

	public function getGroupKey()
	{
		return $this->groupKey;
	}

	public function setOpUserid($opUserid)
	{
		$this->opUserid = $opUserid;
		$this->apiParas["op_userid"] = $opUserid;
	}

	public function getOpUserid()
	{
		return $this->opUserid;
	}

	public function setWifiKeyList($wifiKeyList)
	{
		$this->wifiKeyList = $wifiKeyList;
		$this->apiParas["wifi_key_list"] = $wifiKeyList;
	}

	public function getWifiKeyList()
	{
		return $this->wifiKeyList;
	}

	public function getApiMethodName()
	{
		return "dingtalk.oapi.attendance.group.positions.remove";
	}
	
	public function getApiParas()
	{
		return $this->apiParas;
	}
	
	public function check()
	{
		
		RequestCheckUtil::checkNotNull($this->groupKey,"groupKey");
		RequestCheckUtil::checkNotNull($this->wifiKeyList,"wifiKeyList");
		RequestCheckUtil::checkMaxListSize($this->wifiKeyList,100,"wifiKeyList");
	}
	
	public function putOtherTextParam($key, $value) {
		$this->apiParas[$key] = $value;
		$this->$key = $value;
	}
}
