CopaServer
Change of Plan Application
 All Classes Functions Pages
Public Member Functions | List of all members
unicopa.copa.base.com.request.RemoveRoleFromUserRequest Class Reference

Remove a role from a user previously given to him. More...

Inheritance diagram for unicopa.copa.base.com.request.RemoveRoleFromUserRequest:
Inheritance graph
Collaboration diagram for unicopa.copa.base.com.request.RemoveRoleFromUserRequest:
Collaboration graph

Public Member Functions

 RemoveRoleFromUserRequest (int eventID, String userEmail, UserRole role)
 Create the request. More...
 
int getEventID ()
 
String getUserEmail ()
 
UserRole getRole ()
 

Additional Inherited Members

- Static Public Member Functions inherited from unicopa.copa.base.com.request.AbstractRequest
static UserRole getRequiredPermissionLevel ()
 
static AbstractRequest deserialize (String json) throws APIException
 
- Static Protected Attributes inherited from unicopa.copa.base.com.request.AbstractRequest
static UserRole requiredPermissionLevel = UserRole.ADMINISTRATOR
 

Detailed Description

Remove a role from a user previously given to him.

Author
Felix Wiemuth

Constructor & Destructor Documentation

unicopa.copa.base.com.request.RemoveRoleFromUserRequest.RemoveRoleFromUserRequest ( int  eventID,
String  userEmail,
UserRole  role 
)

Create the request.

Parameters
eventIDthe ID of the event where a user should lose a role
userEmailthe email of the user who should lose the role
rolethe role to remove from the user

The documentation for this class was generated from the following file: