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.
42 lines
907 B
PHTML
42 lines
907 B
PHTML
5 years ago
|
<?php
|
||
|
/**
|
||
|
* Copyright (C) Alibaba Cloud Computing
|
||
|
* All rights reserved
|
||
|
*/
|
||
|
|
||
|
require_once realpath(dirname(__FILE__) . '/Response.php');
|
||
|
|
||
|
/**
|
||
|
* The response of the GetCursor API from log service.
|
||
|
*
|
||
|
* @author log service dev
|
||
|
*/
|
||
|
class Aliyun_Log_Models_GetCursorResponse extends Aliyun_Log_Models_Response {
|
||
|
/**
|
||
|
* @var string cursor
|
||
|
*
|
||
|
*/
|
||
|
private $cursor;
|
||
|
/**
|
||
|
* Aliyun_Log_Models_GetCursorResponse constructor
|
||
|
*
|
||
|
* @param array $resp
|
||
|
* GetLogs HTTP response body
|
||
|
* @param array $header
|
||
|
* GetLogs HTTP response header
|
||
|
*/
|
||
|
public function __construct($resp, $header) {
|
||
|
parent::__construct ( $header );
|
||
|
$this->cursor = $resp['cursor'];
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Get cursor from the response
|
||
|
*
|
||
|
* @return string cursor
|
||
|
*/
|
||
|
public function getCursor(){
|
||
|
return $this->cursor;
|
||
|
}
|
||
|
}
|