com.emc.storageos.model.auth.RoleAssignments Maven / Gradle / Ivy
/*
* 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;
import com.emc.storageos.model.RestLinkRep;
@XmlRootElement(name = "role_assignments_create")
public class RoleAssignments {
/**
* Link to this resource.
*
* @valid none
*/
private RestLinkRep selfLink;
/**
* List of role assignments that are assigned/being assigned.
*
* @valid none
*/
private List assignments;
public RoleAssignments() {
}
@XmlElement(name = "link")
public RestLinkRep getSelfLink() {
return selfLink;
}
public void setSelfLink(RestLinkRep selfLink) {
this.selfLink = selfLink;
}
@XmlElement(name = "role_assignment")
@JsonProperty("role_assignments")
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