'EndDate', 'isGlobe' => 'IsGlobe', 'ownerId' => 'OwnerId', 'pageIndex' => 'PageIndex', 'pageSize' => 'PageSize', 'resourceOwnerAccount' => 'ResourceOwnerAccount', 'resourceOwnerId' => 'ResourceOwnerId', 'startDate' => 'StartDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endDate) { $res['EndDate'] = $this->endDate; } if (null !== $this->isGlobe) { $res['IsGlobe'] = $this->isGlobe; } if (null !== $this->ownerId) { $res['OwnerId'] = $this->ownerId; } if (null !== $this->pageIndex) { $res['PageIndex'] = $this->pageIndex; } if (null !== $this->pageSize) { $res['PageSize'] = $this->pageSize; } if (null !== $this->resourceOwnerAccount) { $res['ResourceOwnerAccount'] = $this->resourceOwnerAccount; } if (null !== $this->resourceOwnerId) { $res['ResourceOwnerId'] = $this->resourceOwnerId; } if (null !== $this->startDate) { $res['StartDate'] = $this->startDate; } return $res; } /** * @param array $map * * @return QuerySendStatisticsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['EndDate'])) { $model->endDate = $map['EndDate']; } if (isset($map['IsGlobe'])) { $model->isGlobe = $map['IsGlobe']; } if (isset($map['OwnerId'])) { $model->ownerId = $map['OwnerId']; } if (isset($map['PageIndex'])) { $model->pageIndex = $map['PageIndex']; } if (isset($map['PageSize'])) { $model->pageSize = $map['PageSize']; } if (isset($map['ResourceOwnerAccount'])) { $model->resourceOwnerAccount = $map['ResourceOwnerAccount']; } if (isset($map['ResourceOwnerId'])) { $model->resourceOwnerId = $map['ResourceOwnerId']; } if (isset($map['StartDate'])) { $model->startDate = $map['StartDate']; } return $model; } }