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

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

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

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

public class ListMachineGroupResponse extends Response {
	/**
	 * 
	 */
	private static final long serialVersionUID = 4626637425501553843L;
	protected int total  = 0;
	protected int count = 0;
	protected List machineGroups = new ArrayList();
	
	public ListMachineGroupResponse(Map headers, int count, int total, List machineGroups) {
		super(headers);
		this.total = total;
		this.count = count;
		SetMachineGroups(machineGroups);
	}

	public int GetTotal() {
		return total;
	}

	public int GetCount() {
		return count;
	}

	public List GetMachineGroups() {
		return machineGroups;
	}

	private void SetMachineGroups(List machineGroups) {
		this.machineGroups = new ArrayList();
		for (String machineGroup:machineGroups) {
			this.machineGroups.add(machineGroup);
		}
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy