com.aliyun.openservices.log.response.ListLogStoresResponse Maven / Gradle / Ivy
/*
* Copyright (C) Alibaba Cloud Computing All rights reserved.
*/
package com.aliyun.openservices.log.response;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
/**
* The response of the ListLogStore API from sls server
*
* @author sls_dev
*
*/
public class ListLogStoresResponse extends Response {
/**
*
*/
private static final long serialVersionUID = 4382847396623177901L;
private ArrayList mLogStores = new ArrayList();
private int mTotal;
/**
* Construct the response with http headers
*
* @param headers
* http headers
*/
public ListLogStoresResponse(Map headers) {
super(headers);
}
/**
* Get log store number from the response
*
* @return log store count
*/
public int GetCount() {
return mLogStores.size();
}
/**
* Set log stores to the response
*
* @param logStores
* log stores
*/
public void SetLogStores(List logStores) {
mLogStores = new ArrayList(logStores);
}
/**
* Get all the log stores from the response
*
* @return log stores
*/
public ArrayList GetLogStores() {
return mLogStores;
}
public int GetTotal() {
return mTotal;
}
public void SetTotal(int mTotal) {
this.mTotal = mTotal;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy