Package software.xdev.sessionize.api
Class SpeakersApi
java.lang.Object
software.xdev.sessionize.client.BaseApi
software.xdev.sessionize.api.SpeakersApi
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAllSpeakers(String endpointId) getAllSpeakers(String endpointId, Map<String, String> additionalHeaders) getAllSpeakersEmails(String endpointId, String s) Undocumented endpoint for retrieving the speakers with emailsUndocumented endpoint for retrieving the speakers with emails<T> TinvokeAPI(String url, String method, Object request, com.fasterxml.jackson.core.type.TypeReference<T> returnType, Map<String, String> additionalHeaders) Directly invoke the API for the given URL.Methods inherited from class software.xdev.sessionize.client.BaseApi
getApiClient, invokeAPI, invokeAPI, invokeAPI, invokeAPI, invokeAPI, invokeAPI, setApiClient
-
Constructor Details
-
SpeakersApi
public SpeakersApi() -
SpeakersApi
-
-
Method Details
-
getAllSpeakers
- Parameters:
endpointId- (required)- Returns:
- List<Speaker>
- Throws:
ApiException- if fails to make API call
-
getAllSpeakers
public List<Speaker> getAllSpeakers(String endpointId, Map<String, String> additionalHeaders) throws ApiException- Parameters:
endpointId- (required)additionalHeaders- additionalHeaders for this call- Returns:
- List<Speaker>
- Throws:
ApiException- if fails to make API call
-
getAllSpeakersEmails
Undocumented endpoint for retrieving the speakers with emails- Parameters:
endpointId- (required)s- Special key that is only available/retrievable for unlocked admins (Contacting Sessionize-Support is required) (required)- Returns:
- List<SpeakerWithEmail>
- Throws:
ApiException- if fails to make API call
-
getAllSpeakersEmails
public List<SpeakerWithEmail> getAllSpeakersEmails(String endpointId, String s, Map<String, String> additionalHeaders) throws ApiExceptionUndocumented endpoint for retrieving the speakers with emails- Parameters:
endpointId- (required)s- Special key that is only available/retrievable for unlocked admins (Contacting Sessionize-Support is required) (required)additionalHeaders- additionalHeaders for this call- Returns:
- List<SpeakerWithEmail>
- Throws:
ApiException- if fails to make API call
-
invokeAPI
public <T> T invokeAPI(String url, String method, Object request, com.fasterxml.jackson.core.type.TypeReference<T> returnType, Map<String, String> additionalHeaders) throws ApiExceptionDescription copied from class:BaseApiDirectly invoke the API for the given URL. Useful if the API returns direct links/URLs for subsequent requests.- Specified by:
invokeAPIin classBaseApi- Parameters:
url- The URL for the request, either full URL or only the path.method- The HTTP method for the request.request- The request object.returnType- The return type.additionalHeaders- Additional headers for the request.- Returns:
- The API response in the specified type.
- Throws:
ApiException- if fails to make API call.
-