Пример #1
0
 /**
  * Aliyun_Sls_Models_ListTopicsRequest constructor
  * 
  * @param string $project project name
  * @param string $logstore logstore name
  * @param string $token the start token to list topics
  * @param integer $line max topic counts to return
  */
 public function __construct($project = null, $logstore = null, $token = null, $line = null)
 {
     parent::__construct($project);
     $this->logstore = $logstore;
     $this->token = $token;
     $this->line = $line;
 }
Пример #2
0
 /**
  * Aliyun_Sls_Models_PutLogsRequest cnstructor
  *
  * @param string $project
  *            project name
  * @param string $logstore
  *            logstore name
  * @param string $topic
  *            topic name
  * @param string $source
  *            source of the log
  * @param array $logitems
  *            LogItem array,log data
  */
 public function __construct($project = null, $logstore = null, $topic = null, $source = null, $logitems = null)
 {
     parent::__construct($project);
     $this->logstore = $logstore;
     $this->topic = $topic;
     $this->source = $source;
     $this->logitems = $logitems;
 }
Пример #3
0
 /**
  * Aliyun_Sls_Models_GetHistogramsRequest constructor
  *
  * @param string $project
  *            project name
  * @param string $logstore
  *            logstore name
  * @param integer $from
  *            the begin time
  * @param integer $to
  *            the end time
  * @param string $topic
  *            topic name of logs
  * @param string $query
  *            user defined query
  */
 public function __construct($project = null, $logstore = null, $from = null, $to = null, $topic = null, $query = null)
 {
     parent::__construct($project);
     $this->logstore = $logstore;
     $this->from = $from;
     $this->to = $to;
     $this->topic = $topic;
     $this->query = $query;
 }
Пример #4
0
 /**
  * Aliyun_Sls_Models_GetLogsRequest Constructor
  *
  * @param string $project
  *            project name
  * @param string $logStore
  *            logstore name
  * @param integer $from
  *            the begin time
  * @param integer $to
  *            the end time
  * @param string $topic
  *            topic name of logs
  * @param string $query
  *            user defined query
  * @param integer $line
  *            query return line number
  * @param integer $offset
  *            the log offset to return
  * @param bool $reverse
  *            if reverse is set to true, the query will return the latest logs first
  */
 public function __construct($project = null, $logstore = null, $from = null, $to = null, $topic = null, $query = null, $line = null, $offset = null, $reverse = null)
 {
     parent::__construct($project);
     $this->logstore = $logstore;
     $this->from = $from;
     $this->to = $to;
     $this->topic = $topic;
     $this->query = $query;
     $this->line = $line;
     $this->offset = $offset;
     $this->reverse = $reverse;
 }
 /**
  * Aliyun_Sls_Models_ListLogstoresRequest constructor
  * 
  * @param string $project project name
  */
 public function __construct($project = null)
 {
     parent::__construct($project);
 }