CalendarApi class

Constructors

CalendarApi([ApiClient? apiClient])

Properties

apiClient → ApiClient
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

createCalendarEvent(CreateEventRequest createEventRequest, {String? xWorkspaceID}) → Future<CreateCalendarEvent201Response?>
Create a calendar event.
createCalendarEventWithHttpInfo(CreateEventRequest createEventRequest, {String? xWorkspaceID}) → Future<Response>
Create a calendar event.
deleteCalendarEvent(String id, String accountId, {String? xWorkspaceID}) → Future<CalendarOperationResult?>
Delete an event.
deleteCalendarEventWithHttpInfo(String id, String accountId, {String? xWorkspaceID}) → Future<Response>
Delete an event.
getCalendarCapabilities(String accountId) → Future<CalendarCapabilitiesResponse?>
Per-account capability flags.
getCalendarCapabilitiesWithHttpInfo(String accountId) → Future<Response>
Per-account capability flags.
getCalendarEvent(String id, String accountId, {String? xWorkspaceID}) → Future<SpatioEvent?>
Fetch one event.
getCalendarEventWithHttpInfo(String id, String accountId, {String? xWorkspaceID}) → Future<Response>
Fetch one event.
listCalendarEvents({List<String>? accountIds, List<String>? providers, String? xWorkspaceID, DateTime? timeMin, DateTime? timeMax, int? limit}) → Future<ListCalendarEvents200Response?>
List calendar events across connected accounts.
listCalendarEventsWithHttpInfo({List<String>? accountIds, List<String>? providers, String? xWorkspaceID, DateTime? timeMin, DateTime? timeMax, int? limit}) → Future<Response>
List calendar events across connected accounts.
listCalendarProviders() → Future<CalendarProvidersInfo?>
List supported calendar providers.
listCalendarProvidersWithHttpInfo() → Future<Response>
List supported calendar providers.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
syncCalendar({bool? wait}) → Future<CalendarSyncResponse?>
Trigger a sync across connected calendar accounts.
syncCalendarWithHttpInfo({bool? wait}) → Future<Response>
Trigger a sync across connected calendar accounts.
toString() → String
A string representation of this object.
inherited
updateCalendarEvent(String id, UpdateEventRequest updateEventRequest, {String? xWorkspaceID, String? accountId}) → Future<CreateCalendarEvent201Response?>
Update an event (sparse).
updateCalendarEventWithHttpInfo(String id, UpdateEventRequest updateEventRequest, {String? xWorkspaceID, String? accountId}) → Future<Response>
Update an event (sparse).
workspaceCreateCalendarEvent(String org, String workspace, Map<String, Object> requestBody) → Future<Map<String, Object>?>
Workspace-scoped create-event (RBAC-protected).
workspaceCreateCalendarEventWithHttpInfo(String org, String workspace, Map<String, Object> requestBody) → Future<Response>
Workspace-scoped create-event (RBAC-protected).
workspaceDeleteCalendarEvent(String org, String workspace, String id) → Future<void>
Parameters:
workspaceDeleteCalendarEventWithHttpInfo(String org, String workspace, String id) → Future<Response>
Performs an HTTP 'DELETE /v1/organizations/{org}/workspaces/{workspace}/calendar/events/{id}' operation and returns the Response. Parameters:
workspaceGetCalendarEvent(String org, String workspace, String id) → Future<Map<String, Object>?>
Parameters:
workspaceGetCalendarEventWithHttpInfo(String org, String workspace, String id) → Future<Response>
Performs an HTTP 'GET /v1/organizations/{org}/workspaces/{workspace}/calendar/events/{id}' operation and returns the Response. Parameters:
workspaceListCalendarEvents(String org, String workspace) → Future<Map<String, Object>?>
Workspace-scoped list-events (RBAC-protected).
workspaceListCalendarEventsWithHttpInfo(String org, String workspace) → Future<Response>
Workspace-scoped list-events (RBAC-protected).
workspaceListCalendarProviders(String org, String workspace) → Future<Map<String, Object>?>
Workspace-scoped calendar providers.
workspaceListCalendarProvidersWithHttpInfo(String org, String workspace) → Future<Response>
Workspace-scoped calendar providers.
workspaceUpdateCalendarEvent(String org, String workspace, String id, Map<String, Object> requestBody) → Future<Map<String, Object>?>
Parameters:
workspaceUpdateCalendarEventWithHttpInfo(String org, String workspace, String id, Map<String, Object> requestBody) → Future<Response>
Performs an HTTP 'PATCH /v1/organizations/{org}/workspaces/{workspace}/calendar/events/{id}' operation and returns the Response. Parameters:

Operators

operator ==(Object other) → bool
The equality operator.
inherited