@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2022-11-05T00:31:27.098Z") public class Permission extends Object
Constructor and Description |
---|
Permission() |
Modifier and Type | Method and Description |
---|---|
Permission |
accessLevel(AccessLevel accessLevel) |
Permission |
entityId(String entityId) |
Permission |
entityType(EntityType entityType) |
boolean |
equals(Object o) |
AccessLevel |
getAccessLevel()
Get accessLevel
|
DateTime |
getCreatedOn()
The date and time the permission was created.
|
String |
getEntityId()
The ID of the entity which requires permissions to access.
|
EntityType |
getEntityType()
Get entityType
|
String |
getGuid()
A unique ID automatically generated on creation of a Permission.
|
DateTime |
getModifiedOn()
The date and time the permission was last modified.
|
String |
getType()
Permission
|
String |
getUserId()
The ID of the user granted this Permission.
|
Long |
getVersion()
The optimistic locking version of the permission.
|
Permission |
guid(String guid) |
int |
hashCode() |
void |
setAccessLevel(AccessLevel accessLevel) |
void |
setEntityId(String entityId) |
void |
setEntityType(EntityType entityType) |
void |
setGuid(String guid) |
void |
setUserId(String userId) |
void |
setVersion(Long version) |
String |
toString() |
Permission |
userId(String userId) |
Permission |
version(Long version) |
public Permission guid(String guid)
public String getGuid()
public void setGuid(String guid)
public Permission userId(String userId)
public String getUserId()
public void setUserId(String userId)
public Permission accessLevel(AccessLevel accessLevel)
public AccessLevel getAccessLevel()
public void setAccessLevel(AccessLevel accessLevel)
public Permission entityType(EntityType entityType)
public EntityType getEntityType()
public void setEntityType(EntityType entityType)
public Permission entityId(String entityId)
public String getEntityId()
public void setEntityId(String entityId)
public DateTime getCreatedOn()
public DateTime getModifiedOn()
public Permission version(Long version)
public Long getVersion()
public void setVersion(Long version)
public String getType()
Copyright © 2022 Sage Bionetworks. All rights reserved.