You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
893 B
PHP
46 lines
893 B
PHP
<?php
|
|
/**
|
|
* Copyright (C) Alibaba Cloud Computing
|
|
* All rights reserved
|
|
*/
|
|
|
|
require_once realpath(dirname(__FILE__) . '/Request.php');
|
|
|
|
/**
|
|
* The request used to get logs by a query from log service.
|
|
*
|
|
* @author log service dev
|
|
*/
|
|
class Aliyun_Log_Models_GetProjectLogsRequest extends Aliyun_Log_Models_Request {
|
|
|
|
/**
|
|
* @var string user defined query
|
|
*/
|
|
private $query;
|
|
|
|
|
|
/**
|
|
* Aliyun_Log_Models_GetProjectLogsRequest Constructor
|
|
* @param string $query
|
|
* user defined query
|
|
*/
|
|
public function __construct($project = null, $query = null ) {
|
|
parent::__construct ( $project );
|
|
|
|
$this->query = $query;
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
* Get user defined query
|
|
*
|
|
* @return string user defined query
|
|
*/
|
|
public function getQuery() {
|
|
return $this->query;
|
|
}
|
|
|
|
|
|
}
|