<?php
/**
 * dingtalk API: dingtalk.oapi.role.getrolegroup request
 * 
 * @author auto create
 * @since 1.0, 2019.07.03
 */
class OapiRoleGetrolegroupRequest
{
	/** 
	 * 角色组的Id
	 **/
	private $groupId;
	
	private $apiParas = array();
	
	public function setGroupId($groupId)
	{
		$this->groupId = $groupId;
		$this->apiParas["group_id"] = $groupId;
	}

	public function getGroupId()
	{
		return $this->groupId;
	}

	public function getApiMethodName()
	{
		return "dingtalk.oapi.role.getrolegroup";
	}
	
	public function getApiParas()
	{
		return $this->apiParas;
	}
	
	public function check()
	{
		
		RequestCheckUtil::checkNotNull($this->groupId,"groupId");
	}
	
	public function putOtherTextParam($key, $value) {
		$this->apiParas[$key] = $value;
		$this->$key = $value;
	}
}
