| 1234567891011121314151617181920212223242526272829303132333435363738 |
- <?php
- namespace UnionOpenExchangeDeviceSupply;
- class SupplyDeviceReq{
- private $params=array();
- function __construct(){
- $this->params["@type"]="com.jd.union.open.gateway.api.dto.exchange.SupplyDeviceReq";
- }
-
- private $uuid;
-
- public function setUuid($uuid){
- $this->params['uuid'] = $uuid;
- }
- public function getUuid(){
- return $this->uuid;
- }
-
- private $deviceInfoList;
-
- public function setDeviceInfoList($deviceInfoList){
- $size = count($deviceInfoList);
- for ($i=0; $i<$size; $i++){
- $deviceInfoList [$i] = $deviceInfoList [$i] ->getInstance();
- }
- $this->params['deviceInfoList'] = $deviceInfoList;
- }
-
-
- function getInstance(){
- return $this->params;
- }
- }
- ?>
|