123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- <?php
- /**
- * dingtalk API: dingtalk.oapi.workspace.corp.member.add request
- *
- * @author auto create
- * @since 1.0, 2020.03.15
- */
- class OapiWorkspaceCorpMemberAddRequest
- {
- /**
- * 加人的成员列表
- **/
- private $memberAddDtoList;
-
- /**
- * 目标加人组织
- **/
- private $targetCorpId;
-
- private $apiParas = array();
-
- public function setMemberAddDtoList($memberAddDtoList)
- {
- $this->memberAddDtoList = $memberAddDtoList;
- $this->apiParas["member_add_dto_list"] = $memberAddDtoList;
- }
- public function getMemberAddDtoList()
- {
- return $this->memberAddDtoList;
- }
- public function setTargetCorpId($targetCorpId)
- {
- $this->targetCorpId = $targetCorpId;
- $this->apiParas["target_corp_id"] = $targetCorpId;
- }
- public function getTargetCorpId()
- {
- return $this->targetCorpId;
- }
- public function getApiMethodName()
- {
- return "dingtalk.oapi.workspace.corp.member.add";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- }
-
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|