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

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

There is a newer version: 0.6.3
Show newest version
package com.aliyun.openservices.log.response;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public class ListConfigResponse extends Response {
	/**
	 * 
	 */
	private static final long serialVersionUID = -4384808355083772083L;
	protected int total = 0;
	protected int count = 0;
	protected List configs = new ArrayList();
	
	public ListConfigResponse(Map headers, int count, int total, List configs) {
		super(headers);
		this.total = total;
		this.count = count;
		SetConfigs(configs);
	}

	public int GetTotal() {
		return total;
	}


	public int GetCount() {
		return count;
	}

	public List GetConfigs() {
		return configs;
	}

	private void SetConfigs(List configs) {
		this.configs = new ArrayList();
		for (String config:configs) {
			this.configs.add(config);
		}
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy