Package software.xdev.sched.api
Class RoleApi
java.lang.Object
software.xdev.sched.api.RoleApi
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class RoleApi
extends Object
-
Constructor Details
-
RoleApi
public RoleApi() -
RoleApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
addRole
public String addRole(String username, String role, String sessions, String sendEmail) throws ApiException - Parameters:
username
- (required)role
- Currently one of the following: attendee, speaker, artist, sponsor, exhibitor (required)sessions
- Comma separated string of session id's which the user will be connected to (optional)sendEmail
- Default is 1 (on), Set to 0 (off). Whether to send e-mail with login credentials to user (optional)- Returns:
- String
- Throws:
ApiException
- if fails to make API call
-
addRole
public String addRole(String username, String role, String sessions, String sendEmail, Map<String, String> additionalHeaders) throws ApiException- Parameters:
username
- (required)role
- Currently one of the following: attendee, speaker, artist, sponsor, exhibitor (required)sessions
- Comma separated string of session id's which the user will be connected to (optional)sendEmail
- Default is 1 (on), Set to 0 (off). Whether to send e-mail with login credentials to user (optional)additionalHeaders
- additionalHeaders for this call- Returns:
- String
- Throws:
ApiException
- if fails to make API call
-
deleteRole
- Parameters:
username
- (required)role
- Currently one of the following: attendee, speaker, artist, sponsor, exhibitor (required)sessions
- Comma separated string of session id's which the user will be disconnected from. If no sessions provided, the user will be disconnected from all sessions associated with given role (optional)- Returns:
- String
- Throws:
ApiException
- if fails to make API call
-
deleteRole
public String deleteRole(String username, String role, String sessions, Map<String, String> additionalHeaders) throws ApiException- Parameters:
username
- (required)role
- Currently one of the following: attendee, speaker, artist, sponsor, exhibitor (required)sessions
- Comma separated string of session id's which the user will be disconnected from. If no sessions provided, the user will be disconnected from all sessions associated with given role (optional)additionalHeaders
- additionalHeaders for this call- Returns:
- String
- Throws:
ApiException
- if fails to make API call
-