12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- <?php
- /**
- * dingtalk API: dingtalk.oapi.rhino.cooperation.carrier.get request
- *
- * @author auto create
- * @since 1.0, 2020.03.04
- */
- class OapiRhinoCooperationCarrierGetRequest
- {
- /**
- * 载具id
- **/
- private $carrierId;
-
- /**
- * 租户id
- **/
- private $tenantId;
-
- /**
- * 业务参数[这里先预留],这里是用户ID,比如钉钉用户ID
- **/
- private $userid;
-
- private $apiParas = array();
-
- public function setCarrierId($carrierId)
- {
- $this->carrierId = $carrierId;
- $this->apiParas["carrier_id"] = $carrierId;
- }
- public function getCarrierId()
- {
- return $this->carrierId;
- }
- public function setTenantId($tenantId)
- {
- $this->tenantId = $tenantId;
- $this->apiParas["tenant_id"] = $tenantId;
- }
- public function getTenantId()
- {
- return $this->tenantId;
- }
- public function setUserid($userid)
- {
- $this->userid = $userid;
- $this->apiParas["userid"] = $userid;
- }
- public function getUserid()
- {
- return $this->userid;
- }
- public function getApiMethodName()
- {
- return "dingtalk.oapi.rhino.cooperation.carrier.get";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- }
-
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|