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

com.emc.storageos.model.usergroup.UserGroupBulkRestRep 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.BulkRestRep;

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

/**
 * Class that encapsulates the REST representation of a list of
 * user groups for the /bulk POST api request.
 */

@XmlRootElement(name = "bulk_user_groups")
public class UserGroupBulkRestRep extends BulkRestRep {
    private List userGroups;

    /**
     * List of user groups
     * 
     * @valid none
     */
    @XmlElement(name = "user_group")
    public List getUserGroups() {
        if (userGroups == null) {
            userGroups = new ArrayList();
        }
        return userGroups;
    }

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

    public UserGroupBulkRestRep() {
    }

    public UserGroupBulkRestRep(List userGroups) {
        this.userGroups = userGroups;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy