123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <?php
- /**
- * dingtalk API: dingtalk.oapi.authorization.rbac.role.member.remove request
- *
- * @author auto create
- * @since 1.0, 2021.01.20
- */
- class OapiAuthorizationRbacRoleMemberRemoveRequest
- {
- /**
- * 微应用agenId,需要联系权限平台配置
- **/
- private $agentId;
-
- /**
- * 管理组id
- **/
- private $openRoleId;
-
- /**
- * 被删除的成员类表
- **/
- private $removeMembers;
-
- private $apiParas = array();
-
- public function setAgentId($agentId)
- {
- $this->agentId = $agentId;
- $this->apiParas["agent_id"] = $agentId;
- }
- public function getAgentId()
- {
- return $this->agentId;
- }
- public function setOpenRoleId($openRoleId)
- {
- $this->openRoleId = $openRoleId;
- $this->apiParas["open_role_id"] = $openRoleId;
- }
- public function getOpenRoleId()
- {
- return $this->openRoleId;
- }
- public function setRemoveMembers($removeMembers)
- {
- $this->removeMembers = $removeMembers;
- $this->apiParas["remove_members"] = $removeMembers;
- }
- public function getRemoveMembers()
- {
- return $this->removeMembers;
- }
- public function getApiMethodName()
- {
- return "dingtalk.oapi.authorization.rbac.role.member.remove";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- RequestCheckUtil::checkNotNull($this->agentId,"agentId");
- RequestCheckUtil::checkNotNull($this->openRoleId,"openRoleId");
- }
-
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|