| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <?php
- /**
- * TOP API: taobao.openim.ioscert.sandbox.set request
- *
- * @author auto create
- * @since 1.0, 2015.07.01
- */
- class OpenimIoscertSandboxSetRequest
- {
- /**
- * 证书内容,base64编码
- **/
- private $cert;
-
- /**
- * 系统自动生成
- **/
- private $password;
-
- private $apiParas = array();
-
- public function setCert($cert)
- {
- $this->cert = $cert;
- $this->apiParas["cert"] = $cert;
- }
- public function getCert()
- {
- return $this->cert;
- }
- public function setPassword($password)
- {
- $this->password = $password;
- $this->apiParas["password"] = $password;
- }
- public function getPassword()
- {
- return $this->password;
- }
- public function getApiMethodName()
- {
- return "taobao.openim.ioscert.sandbox.set";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- RequestCheckUtil::checkNotNull($this->cert,"cert");
- }
-
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|