The response of the ListLogstores API from sls.

author sls_dev
package SLS_PHP_SDK
inherited_from \Aliyun_Sls_Models_Response

 Methods

Aliyun_Sls_Models_ListLogstoresResponse constructor

__construct(array $resp, array $header) 
inherited_from \Aliyun_Sls_Models_Response::__construct()

Parameters

$resp

array

ListLogstores HTTP response body

$header

array

ListLogstores HTTP response header

Aliyun_Sls_Models_Response constructor

__construct($headers) 
Inherited

Parameters

$headers

Get all http headers

getAllHeaders() : array
Inherited

Returns

arrayHTTP response header

Get total count of logstores from the response

getCount() : integer

Returns

integerthe number of total logstores from the response

Get specified http header

getHeader(string $key) : string
Inherited

Parameters

$key

string

key to get header

Returns

stringHTTP response header. '' will be return if not set.

Get all the logstores from the response

getLogstores() : array

Returns

arrayall logstore

Get the request id of the response. '' will be return if not set.

getRequestId() : string
Inherited

Returns

stringrequest id

 Properties

 

the number of total logstores from the response

$count : integer

Default

 

HTTP response header

$headers : array

Default

 

all logstore

$logstores : array

Default