public class PermissionsRepresentation extends LinkCollection
Java class for PermissionsSummary complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PermissionsSummary">
<complexContent>
<extension base="{https://phenotips.org/rest-commons/}LinkCollection">
<sequence>
<element name="owner" type="{https://phenotips.org/rest-permissions/}OwnerSummary"/>
<element name="visibility" type="{https://phenotips.org/rest-permissions/}VisibilitySummary"/>
<element name="collaborators" type="{https://phenotips.org/rest-permissions/}CollaboratorsCollection"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected CollaboratorsRepresentation |
collaborators |
protected OwnerRepresentation |
owner |
protected VisibilityRepresentation |
visibility |
links| Constructor and Description |
|---|
PermissionsRepresentation() |
| Modifier and Type | Method and Description |
|---|---|
CollaboratorsRepresentation |
getCollaborators()
Gets the value of the collaborators property.
|
OwnerRepresentation |
getOwner()
Gets the value of the owner property.
|
VisibilityRepresentation |
getVisibility()
Gets the value of the visibility property.
|
void |
setCollaborators(CollaboratorsRepresentation value)
Sets the value of the collaborators property.
|
void |
setOwner(OwnerRepresentation value)
Sets the value of the owner property.
|
void |
setVisibility(VisibilityRepresentation value)
Sets the value of the visibility property.
|
PermissionsRepresentation |
withCollaborators(CollaboratorsRepresentation value) |
PermissionsRepresentation |
withOwner(OwnerRepresentation value) |
PermissionsRepresentation |
withVisibility(VisibilityRepresentation value) |
getLinks, withLinks, withLinksprotected OwnerRepresentation owner
protected VisibilityRepresentation visibility
protected CollaboratorsRepresentation collaborators
public OwnerRepresentation getOwner()
OwnerRepresentationpublic void setOwner(OwnerRepresentation value)
value - allowed object is
OwnerRepresentationpublic VisibilityRepresentation getVisibility()
VisibilityRepresentationpublic void setVisibility(VisibilityRepresentation value)
value - allowed object is
VisibilityRepresentationpublic CollaboratorsRepresentation getCollaborators()
CollaboratorsRepresentationpublic void setCollaborators(CollaboratorsRepresentation value)
value - allowed object is
CollaboratorsRepresentationpublic PermissionsRepresentation withOwner(OwnerRepresentation value)
public PermissionsRepresentation withVisibility(VisibilityRepresentation value)
public PermissionsRepresentation withCollaborators(CollaboratorsRepresentation value)
Copyright © 2011–2018 University of Toronto, Computational Biology Lab. All rights reserved.