You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
766 B
48 lines
766 B
<?php
|
|
/**
|
|
* dingtalk API: dingtalk.oapi.crm.objectmeta.describe request
|
|
*
|
|
* @author auto create
|
|
* @since 1.0, 2020.06.04
|
|
*/
|
|
class OapiCrmObjectmetaDescribeRequest
|
|
{
|
|
/**
|
|
* 目标名称
|
|
**/
|
|
private $name;
|
|
|
|
private $apiParas = array();
|
|
|
|
public function setName($name)
|
|
{
|
|
$this->name = $name;
|
|
$this->apiParas["name"] = $name;
|
|
}
|
|
|
|
public function getName()
|
|
{
|
|
return $this->name;
|
|
}
|
|
|
|
public function getApiMethodName()
|
|
{
|
|
return "dingtalk.oapi.crm.objectmeta.describe";
|
|
}
|
|
|
|
public function getApiParas()
|
|
{
|
|
return $this->apiParas;
|
|
}
|
|
|
|
public function check()
|
|
{
|
|
|
|
RequestCheckUtil::checkNotNull($this->name,"name");
|
|
}
|
|
|
|
public function putOtherTextParam($key, $value) {
|
|
$this->apiParas[$key] = $value;
|
|
$this->$key = $value;
|
|
}
|
|
}
|
|
|