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

com.emc.storageos.model.usergroup.UserGroupList Maven / Gradle / Ivy

There is a newer version: 3.5.0.0
Show newest version
/*
 * Copyright (c) 2015 EMC Corporation
 * All Rights Reserved
 */

package com.emc.storageos.model.usergroup;

import com.emc.storageos.model.NamedRelatedResourceRep;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.ArrayList;
import java.util.List;

/**
 * Class for the REST response for the GET List API
 * of the UserGroup
 * 
 * @valid none
 */

@XmlRootElement(name = "user_groups")
public class UserGroupList {
    private List userGroupList;

    public UserGroupList() {
    }

    public UserGroupList(List userGroupList) {
        this.userGroupList = userGroupList;
    }

    @XmlElement(name = "user_group")
    public List getUserGroups() {
        if (userGroupList == null) {
            userGroupList = new ArrayList();
        }
        return userGroupList;
    }

    public void setUserGroups(List userGroupList) {
        this.userGroupList = userGroupList;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy