Package com.ibm.cloud.cloudant.v1.model
Class UserContext
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.cloudant.v1.model.UserContext
- All Implemented Interfaces:
 ObjectModel
Schema for the user context of a session.
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder.static interfaceSchema for a security role. - 
Method Summary
Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString 
- 
Method Details
- 
newBuilder
New builder.- Returns:
 - a UserContext builder
 
 - 
db
Gets the db. Database name in the context of the provided operation.- Returns:
 - the db
 
 - 
name
Gets the name. Name of user running the process.- Returns:
 - the name
 
 - 
roles
Gets the roles. List of user roles.- Returns:
 - the roles
 
 
 -