All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.openservices.log.response.ListLogStoresResponse Maven / Gradle / Ivy

There is a newer version: 0.6.115
Show newest version
/*
 * 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