Package net.troja.eve.esi.api
Class CalendarApi
- java.lang.Object
-
- net.troja.eve.esi.api.CalendarApi
-
public class CalendarApi extends Object
-
-
Constructor Summary
Constructors Constructor Description CalendarApi()CalendarApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()List<CharacterCalendarResponse>getCharactersCharacterIdCalendar(Integer characterId, String datasource, Integer fromEvent, String ifNoneMatch, String token)List calendar event summaries Get 50 event summaries from the calendar.okhttp3.CallgetCharactersCharacterIdCalendarAsync(Integer characterId, String datasource, Integer fromEvent, String ifNoneMatch, String token, ApiCallback<List<CharacterCalendarResponse>> _callback)List calendar event summaries (asynchronously) Get 50 event summaries from the calendar.okhttp3.CallgetCharactersCharacterIdCalendarCall(Integer characterId, String datasource, Integer fromEvent, String ifNoneMatch, String token, ApiCallback _callback)Build call for getCharactersCharacterIdCalendarCharacterCalendarEventResponsegetCharactersCharacterIdCalendarEventId(Integer characterId, Integer eventId, String datasource, String ifNoneMatch, String token)Get an event Get all the information for a specific event --- This route is cached for up to 5 seconds SSO Scope: esi-calendar.read_calendar_events.v1okhttp3.CallgetCharactersCharacterIdCalendarEventIdAsync(Integer characterId, Integer eventId, String datasource, String ifNoneMatch, String token, ApiCallback<CharacterCalendarEventResponse> _callback)Get an event (asynchronously) Get all the information for a specific event --- This route is cached for up to 5 seconds SSO Scope: esi-calendar.read_calendar_events.v1List<CharacterCalendarAttendeesResponse>getCharactersCharacterIdCalendarEventIdAttendees(Integer characterId, Integer eventId, String datasource, String ifNoneMatch, String token)Get attendees Get all invited attendees for a given event --- This route is cached for up to 600 seconds SSO Scope: esi-calendar.read_calendar_events.v1okhttp3.CallgetCharactersCharacterIdCalendarEventIdAttendeesAsync(Integer characterId, Integer eventId, String datasource, String ifNoneMatch, String token, ApiCallback<List<CharacterCalendarAttendeesResponse>> _callback)Get attendees (asynchronously) Get all invited attendees for a given event --- This route is cached for up to 600 seconds SSO Scope: esi-calendar.read_calendar_events.v1okhttp3.CallgetCharactersCharacterIdCalendarEventIdAttendeesCall(Integer characterId, Integer eventId, String datasource, String ifNoneMatch, String token, ApiCallback _callback)Build call for getCharactersCharacterIdCalendarEventIdAttendeesApiResponse<List<CharacterCalendarAttendeesResponse>>getCharactersCharacterIdCalendarEventIdAttendeesWithHttpInfo(Integer characterId, Integer eventId, String datasource, String ifNoneMatch, String token)Get attendees Get all invited attendees for a given event --- This route is cached for up to 600 seconds SSO Scope: esi-calendar.read_calendar_events.v1okhttp3.CallgetCharactersCharacterIdCalendarEventIdCall(Integer characterId, Integer eventId, String datasource, String ifNoneMatch, String token, ApiCallback _callback)Build call for getCharactersCharacterIdCalendarEventIdApiResponse<CharacterCalendarEventResponse>getCharactersCharacterIdCalendarEventIdWithHttpInfo(Integer characterId, Integer eventId, String datasource, String ifNoneMatch, String token)Get an event Get all the information for a specific event --- This route is cached for up to 5 seconds SSO Scope: esi-calendar.read_calendar_events.v1ApiResponse<List<CharacterCalendarResponse>>getCharactersCharacterIdCalendarWithHttpInfo(Integer characterId, String datasource, Integer fromEvent, String ifNoneMatch, String token)List calendar event summaries Get 50 event summaries from the calendar.voidputCharactersCharacterIdCalendarEventId(Integer characterId, Integer eventId, CharacterCalendarEvent response, String datasource, String token)Respond to an event Set your response status to an event --- This route is cached for up to 5 seconds SSO Scope: esi-calendar.respond_calendar_events.v1okhttp3.CallputCharactersCharacterIdCalendarEventIdAsync(Integer characterId, Integer eventId, CharacterCalendarEvent response, String datasource, String token, ApiCallback<Void> _callback)Respond to an event (asynchronously) Set your response status to an event --- This route is cached for up to 5 seconds SSO Scope: esi-calendar.respond_calendar_events.v1okhttp3.CallputCharactersCharacterIdCalendarEventIdCall(Integer characterId, Integer eventId, CharacterCalendarEvent response, String datasource, String token, ApiCallback _callback)Build call for putCharactersCharacterIdCalendarEventIdApiResponse<Void>putCharactersCharacterIdCalendarEventIdWithHttpInfo(Integer characterId, Integer eventId, CharacterCalendarEvent response, String datasource, String token)Respond to an event Set your response status to an event --- This route is cached for up to 5 seconds SSO Scope: esi-calendar.respond_calendar_events.v1voidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
CalendarApi
public CalendarApi()
-
CalendarApi
public CalendarApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getCharactersCharacterIdCalendarCall
public okhttp3.Call getCharactersCharacterIdCalendarCall(Integer characterId, String datasource, Integer fromEvent, String ifNoneMatch, String token, ApiCallback _callback) throws ApiException
Build call for getCharactersCharacterIdCalendar- Parameters:
characterId- An EVE character ID (required)datasource- The server name you would like data from (optional, default to tranquility)fromEvent- The event ID to retrieve events from (optional)ifNoneMatch- ETag from a previous request. A 304 will be returned if this matches the current ETag (optional)token- Access token to use if unable to set a header (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getCharactersCharacterIdCalendar
public List<CharacterCalendarResponse> getCharactersCharacterIdCalendar(Integer characterId, String datasource, Integer fromEvent, String ifNoneMatch, String token) throws ApiException
List calendar event summaries Get 50 event summaries from the calendar. If no from_event ID is given, the resource will return the next 50 chronological event summaries from now. If a from_event ID is specified, it will return the next 50 chronological event summaries from after that event --- This route is cached for up to 5 seconds SSO Scope: esi-calendar.read_calendar_events.v1- Parameters:
characterId- An EVE character ID (required)datasource- The server name you would like data from (optional, default to tranquility)fromEvent- The event ID to retrieve events from (optional)ifNoneMatch- ETag from a previous request. A 304 will be returned if this matches the current ETag (optional)token- Access token to use if unable to set a header (optional)- Returns:
- List<CharacterCalendarResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCharactersCharacterIdCalendarWithHttpInfo
public ApiResponse<List<CharacterCalendarResponse>> getCharactersCharacterIdCalendarWithHttpInfo(Integer characterId, String datasource, Integer fromEvent, String ifNoneMatch, String token) throws ApiException
List calendar event summaries Get 50 event summaries from the calendar. If no from_event ID is given, the resource will return the next 50 chronological event summaries from now. If a from_event ID is specified, it will return the next 50 chronological event summaries from after that event --- This route is cached for up to 5 seconds SSO Scope: esi-calendar.read_calendar_events.v1- Parameters:
characterId- An EVE character ID (required)datasource- The server name you would like data from (optional, default to tranquility)fromEvent- The event ID to retrieve events from (optional)ifNoneMatch- ETag from a previous request. A 304 will be returned if this matches the current ETag (optional)token- Access token to use if unable to set a header (optional)- Returns:
- ApiResponse<List<CharacterCalendarResponse>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCharactersCharacterIdCalendarAsync
public okhttp3.Call getCharactersCharacterIdCalendarAsync(Integer characterId, String datasource, Integer fromEvent, String ifNoneMatch, String token, ApiCallback<List<CharacterCalendarResponse>> _callback) throws ApiException
List calendar event summaries (asynchronously) Get 50 event summaries from the calendar. If no from_event ID is given, the resource will return the next 50 chronological event summaries from now. If a from_event ID is specified, it will return the next 50 chronological event summaries from after that event --- This route is cached for up to 5 seconds SSO Scope: esi-calendar.read_calendar_events.v1- Parameters:
characterId- An EVE character ID (required)datasource- The server name you would like data from (optional, default to tranquility)fromEvent- The event ID to retrieve events from (optional)ifNoneMatch- ETag from a previous request. A 304 will be returned if this matches the current ETag (optional)token- Access token to use if unable to set a header (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
getCharactersCharacterIdCalendarEventIdCall
public okhttp3.Call getCharactersCharacterIdCalendarEventIdCall(Integer characterId, Integer eventId, String datasource, String ifNoneMatch, String token, ApiCallback _callback) throws ApiException
Build call for getCharactersCharacterIdCalendarEventId- Parameters:
characterId- An EVE character ID (required)eventId- The id of the event requested (required)datasource- The server name you would like data from (optional, default to tranquility)ifNoneMatch- ETag from a previous request. A 304 will be returned if this matches the current ETag (optional)token- Access token to use if unable to set a header (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getCharactersCharacterIdCalendarEventId
public CharacterCalendarEventResponse getCharactersCharacterIdCalendarEventId(Integer characterId, Integer eventId, String datasource, String ifNoneMatch, String token) throws ApiException
Get an event Get all the information for a specific event --- This route is cached for up to 5 seconds SSO Scope: esi-calendar.read_calendar_events.v1- Parameters:
characterId- An EVE character ID (required)eventId- The id of the event requested (required)datasource- The server name you would like data from (optional, default to tranquility)ifNoneMatch- ETag from a previous request. A 304 will be returned if this matches the current ETag (optional)token- Access token to use if unable to set a header (optional)- Returns:
- CharacterCalendarEventResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCharactersCharacterIdCalendarEventIdWithHttpInfo
public ApiResponse<CharacterCalendarEventResponse> getCharactersCharacterIdCalendarEventIdWithHttpInfo(Integer characterId, Integer eventId, String datasource, String ifNoneMatch, String token) throws ApiException
Get an event Get all the information for a specific event --- This route is cached for up to 5 seconds SSO Scope: esi-calendar.read_calendar_events.v1- Parameters:
characterId- An EVE character ID (required)eventId- The id of the event requested (required)datasource- The server name you would like data from (optional, default to tranquility)ifNoneMatch- ETag from a previous request. A 304 will be returned if this matches the current ETag (optional)token- Access token to use if unable to set a header (optional)- Returns:
- ApiResponse<CharacterCalendarEventResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCharactersCharacterIdCalendarEventIdAsync
public okhttp3.Call getCharactersCharacterIdCalendarEventIdAsync(Integer characterId, Integer eventId, String datasource, String ifNoneMatch, String token, ApiCallback<CharacterCalendarEventResponse> _callback) throws ApiException
Get an event (asynchronously) Get all the information for a specific event --- This route is cached for up to 5 seconds SSO Scope: esi-calendar.read_calendar_events.v1- Parameters:
characterId- An EVE character ID (required)eventId- The id of the event requested (required)datasource- The server name you would like data from (optional, default to tranquility)ifNoneMatch- ETag from a previous request. A 304 will be returned if this matches the current ETag (optional)token- Access token to use if unable to set a header (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
getCharactersCharacterIdCalendarEventIdAttendeesCall
public okhttp3.Call getCharactersCharacterIdCalendarEventIdAttendeesCall(Integer characterId, Integer eventId, String datasource, String ifNoneMatch, String token, ApiCallback _callback) throws ApiException
Build call for getCharactersCharacterIdCalendarEventIdAttendees- Parameters:
characterId- An EVE character ID (required)eventId- The id of the event requested (required)datasource- The server name you would like data from (optional, default to tranquility)ifNoneMatch- ETag from a previous request. A 304 will be returned if this matches the current ETag (optional)token- Access token to use if unable to set a header (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getCharactersCharacterIdCalendarEventIdAttendees
public List<CharacterCalendarAttendeesResponse> getCharactersCharacterIdCalendarEventIdAttendees(Integer characterId, Integer eventId, String datasource, String ifNoneMatch, String token) throws ApiException
Get attendees Get all invited attendees for a given event --- This route is cached for up to 600 seconds SSO Scope: esi-calendar.read_calendar_events.v1- Parameters:
characterId- An EVE character ID (required)eventId- The id of the event requested (required)datasource- The server name you would like data from (optional, default to tranquility)ifNoneMatch- ETag from a previous request. A 304 will be returned if this matches the current ETag (optional)token- Access token to use if unable to set a header (optional)- Returns:
- List<CharacterCalendarAttendeesResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCharactersCharacterIdCalendarEventIdAttendeesWithHttpInfo
public ApiResponse<List<CharacterCalendarAttendeesResponse>> getCharactersCharacterIdCalendarEventIdAttendeesWithHttpInfo(Integer characterId, Integer eventId, String datasource, String ifNoneMatch, String token) throws ApiException
Get attendees Get all invited attendees for a given event --- This route is cached for up to 600 seconds SSO Scope: esi-calendar.read_calendar_events.v1- Parameters:
characterId- An EVE character ID (required)eventId- The id of the event requested (required)datasource- The server name you would like data from (optional, default to tranquility)ifNoneMatch- ETag from a previous request. A 304 will be returned if this matches the current ETag (optional)token- Access token to use if unable to set a header (optional)- Returns:
- ApiResponse<List<CharacterCalendarAttendeesResponse>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCharactersCharacterIdCalendarEventIdAttendeesAsync
public okhttp3.Call getCharactersCharacterIdCalendarEventIdAttendeesAsync(Integer characterId, Integer eventId, String datasource, String ifNoneMatch, String token, ApiCallback<List<CharacterCalendarAttendeesResponse>> _callback) throws ApiException
Get attendees (asynchronously) Get all invited attendees for a given event --- This route is cached for up to 600 seconds SSO Scope: esi-calendar.read_calendar_events.v1- Parameters:
characterId- An EVE character ID (required)eventId- The id of the event requested (required)datasource- The server name you would like data from (optional, default to tranquility)ifNoneMatch- ETag from a previous request. A 304 will be returned if this matches the current ETag (optional)token- Access token to use if unable to set a header (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
putCharactersCharacterIdCalendarEventIdCall
public okhttp3.Call putCharactersCharacterIdCalendarEventIdCall(Integer characterId, Integer eventId, CharacterCalendarEvent response, String datasource, String token, ApiCallback _callback) throws ApiException
Build call for putCharactersCharacterIdCalendarEventId- Parameters:
characterId- An EVE character ID (required)eventId- The ID of the event requested (required)response- (required)datasource- The server name you would like data from (optional, default to tranquility)token- Access token to use if unable to set a header (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
putCharactersCharacterIdCalendarEventId
public void putCharactersCharacterIdCalendarEventId(Integer characterId, Integer eventId, CharacterCalendarEvent response, String datasource, String token) throws ApiException
Respond to an event Set your response status to an event --- This route is cached for up to 5 seconds SSO Scope: esi-calendar.respond_calendar_events.v1- Parameters:
characterId- An EVE character ID (required)eventId- The ID of the event requested (required)response- (required)datasource- The server name you would like data from (optional, default to tranquility)token- Access token to use if unable to set a header (optional)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
putCharactersCharacterIdCalendarEventIdWithHttpInfo
public ApiResponse<Void> putCharactersCharacterIdCalendarEventIdWithHttpInfo(Integer characterId, Integer eventId, CharacterCalendarEvent response, String datasource, String token) throws ApiException
Respond to an event Set your response status to an event --- This route is cached for up to 5 seconds SSO Scope: esi-calendar.respond_calendar_events.v1- Parameters:
characterId- An EVE character ID (required)eventId- The ID of the event requested (required)response- (required)datasource- The server name you would like data from (optional, default to tranquility)token- Access token to use if unable to set a header (optional)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
putCharactersCharacterIdCalendarEventIdAsync
public okhttp3.Call putCharactersCharacterIdCalendarEventIdAsync(Integer characterId, Integer eventId, CharacterCalendarEvent response, String datasource, String token, ApiCallback<Void> _callback) throws ApiException
Respond to an event (asynchronously) Set your response status to an event --- This route is cached for up to 5 seconds SSO Scope: esi-calendar.respond_calendar_events.v1- Parameters:
characterId- An EVE character ID (required)eventId- The ID of the event requested (required)response- (required)datasource- The server name you would like data from (optional, default to tranquility)token- Access token to use if unable to set a header (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
-