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

com.emc.storageos.model.auth.ACLAssignments Maven / Gradle / Ivy

There is a newer version: 3.5.0.0
Show newest version
/*
 * Copyright (c) 2013 EMC Corporation
 * All Rights Reserved
 */
package com.emc.storageos.model.auth;

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

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import org.codehaus.jackson.annotate.JsonProperty;

@XmlRootElement(name = "acl_assignments")
public class ACLAssignments {

    /**
     * The returned list of ACL assignments.
     * 
     * @valid none
     */
    private List assignments;

    public ACLAssignments() {
    }

    public ACLAssignments(List assignments) {
        this.assignments = assignments;
    }

    @XmlElement(name = "acl_assignment")
    @JsonProperty("acl")
    public List getAssignments() {
        if (assignments == null) {
            assignments = new ArrayList();
        }
        return assignments;
    }

    public void setAssignments(List assignments) {
        this.assignments = assignments;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy