123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <?php
- /**
- * dingtalk API: dingtalk.oapi.role.deleterole request
- *
- * @author auto create
- * @since 1.0, 2018.07.25
- */
- class OapiRoleDeleteroleRequest
- {
- /**
- * 角色id
- **/
- private $roleId;
-
- private $apiParas = array();
-
- public function setRoleId($roleId)
- {
- $this->roleId = $roleId;
- $this->apiParas["role_id"] = $roleId;
- }
- public function getRoleId()
- {
- return $this->roleId;
- }
- public function getApiMethodName()
- {
- return "dingtalk.oapi.role.deleterole";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- RequestCheckUtil::checkNotNull($this->roleId,"roleId");
- }
-
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|