1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <?php
- /**
- * dingtalk API: dingtalk.corp.device.manage.unbind request
- *
- * @author auto create
- * @since 1.0, 2018.07.25
- */
- class CorpDeviceManageUnbindRequest
- {
- /**
- * 设备ID
- **/
- private $deviceId;
-
- /**
- * 设备服务商ID
- **/
- private $deviceServiceId;
-
- private $apiParas = array();
-
- public function setDeviceId($deviceId)
- {
- $this->deviceId = $deviceId;
- $this->apiParas["device_id"] = $deviceId;
- }
- public function getDeviceId()
- {
- return $this->deviceId;
- }
- public function setDeviceServiceId($deviceServiceId)
- {
- $this->deviceServiceId = $deviceServiceId;
- $this->apiParas["device_service_id"] = $deviceServiceId;
- }
- public function getDeviceServiceId()
- {
- return $this->deviceServiceId;
- }
- public function getApiMethodName()
- {
- return "dingtalk.corp.device.manage.unbind";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- RequestCheckUtil::checkNotNull($this->deviceId,"deviceId");
- RequestCheckUtil::checkNotNull($this->deviceServiceId,"deviceServiceId");
- }
-
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|