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

org.igniterealtime.restclient.entity.UserGroupsEntity Maven / Gradle / Ivy

Go to download

Java REST API Client for the Openfire to manage Openfire instances by sending an REST/HTTP request to the server

There is a newer version: 1.1.5
Show newest version
package org.igniterealtime.restclient.entity;

import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * The Class UserGroupsEntity.
 */
@XmlRootElement(name = "groups")
public class UserGroupsEntity {

	/** The group names. */
	private List groupNames;

	/**
	 * Instantiates a new user groups entity.
	 */
	public UserGroupsEntity() {

	}

	/**
	 * Instantiates a new user groups entity.
	 *
	 * @param groupNames
	 *            the group names
	 */
	public UserGroupsEntity(List groupNames) {
		this.groupNames = groupNames;
	}

	/**
	 * Gets the group names.
	 *
	 * @return the group names
	 */
	@XmlElement(name = "groupname")
	public List getGroupNames() {
		return groupNames;
	}

	/**
	 * Sets the group names.
	 *
	 * @param groupNames
	 *            the new group names
	 */
	public void setGroupNames(List groupNames) {
		this.groupNames = groupNames;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy