{"modulePath":"github.com/hostinger/mail-api-cli","version":"v1.11.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package client\n\nPackage client provides primitives to interact with the openapi HTTP API.\n\nCode generated by github.com/hostinger/public-api-generator/cli version (devel) DO NOT EDIT.\n\n## Functions\n\n```go\nfunc NewCreateCalendarEventRequest(server string, mailboxResourceId string, calendarUuid openapi_types.UUID, body CreateCalendarEventJSONRequestBody) (*http.Request, error)\n```\nNewCreateCalendarEventRequest calls the generic CreateCalendarEvent builder with application/json body\n\n```go\nfunc NewCreateCalendarEventRequestWithBody(server string, mailboxResourceId string, calendarUuid openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)\n```\nNewCreateCalendarEventRequestWithBody constructs an http.Request for the CreateCalendarEvent method, with any body, and a specified content type\n\n```go\nfunc NewCreateCalendarRequest(server string, mailboxResourceId string, body CreateCalendarJSONRequestBody) (*http.Request, error)\n```\nNewCreateCalendarRequest calls the generic CreateCalendar builder with application/json body\n\n```go\nfunc NewCreateCalendarRequestWithBody(server string, mailboxResourceId string, contentType string, body io.Reader) (*http.Request, error)\n```\nNewCreateCalendarRequestWithBody constructs an http.Request for the CreateCalendar method, with any body, and a specified content type\n\n```go\nfunc NewCreateFolderRequest(server string, mailboxResourceId string, body CreateFolderJSONRequestBody) (*http.Request, error)\n```\nNewCreateFolderRequest calls the generic CreateFolder builder with application/json body\n\n```go\nfunc NewCreateFolderRequestWithBody(server string, mailboxResourceId string, contentType string, body io.Reader) (*http.Request, error)\n```\nNewCreateFolderRequestWithBody constructs an http.Request for the CreateFolder method, with any body, and a specified content type\n\n```go\nfunc NewCreateWebhookRequest(server string, mailboxResourceId string, body CreateWebhookJSONRequestBody) (*http.Request, error)\n```\nNewCreateWebhookRequest calls the generic CreateWebhook builder with application/json body\n\n```go\nfunc NewCreateWebhookRequestWithBody(server string, mailboxResourceId string, contentType string, body io.Reader) (*http.Request, error)\n```\nNewCreateWebhookRequestWithBody constructs an http.Request for the CreateWebhook method, with any body, and a specified content type\n\n```go\nfunc NewDeleteAllMessagesRequest(server string, mailboxResourceId string, folder string) (*http.Request, error)\n```\nNewDeleteAllMessagesRequest constructs an http.Request for the DeleteAllMessages method\n\n```go\nfunc NewDeleteCalendarEventRequest(server string, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *DeleteCalendarEventParams) (*http.Request, error)\n```\nNewDeleteCalendarEventRequest constructs an http.Request for the DeleteCalendarEvent method\n\n```go\nfunc NewDeleteCalendarRequest(server string, mailboxResourceId string, calendarUuid openapi_types.UUID) (*http.Request, error)\n```\nNewDeleteCalendarRequest constructs an http.Request for the DeleteCalendar method\n\n```go\nfunc NewDeleteFolderRequest(server string, mailboxResourceId string, folder string) (*http.Request, error)\n```\nNewDeleteFolderRequest constructs an http.Request for the DeleteFolder method\n\n```go\nfunc NewDeleteMessageRequest(server string, mailboxResourceId string, folder string, uid int) (*http.Request, error)\n```\nNewDeleteMessageRequest constructs an http.Request for the DeleteMessage method\n\n```go\nfunc NewDeleteMessagesRequest(server string, mailboxResourceId string, folder string, body DeleteMessagesJSONRequestBody) (*http.Request, error)\n```\nNewDeleteMessagesRequest calls the generic DeleteMessages builder with application/json body\n\n```go\nfunc NewDeleteMessagesRequestWithBody(server string, mailboxResourceId string, folder string, contentType string, body io.Reader) (*http.Request, error)\n```\nNewDeleteMessagesRequestWithBody constructs an http.Request for the DeleteMessages method, with any body, and a specified content type\n\n```go\nfunc NewDeleteWebhookRequest(server string, mailboxResourceId string, webhook openapi_types.UUID) (*http.Request, error)\n```\nNewDeleteWebhookRequest constructs an http.Request for the DeleteWebhook method\n\n```go\nfunc NewGetCalendarEventRequest(server string, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *GetCalendarEventParams) (*http.Request, error)\n```\nNewGetCalendarEventRequest constructs an http.Request for the GetCalendarEvent method\n\n```go\nfunc NewGetCalendarRequest(server string, mailboxResourceId string, calendarUuid openapi_types.UUID) (*http.Request, error)\n```\nNewGetCalendarRequest constructs an http.Request for the GetCalendar method\n\n```go\nfunc NewGetCurrentAccountRequest(server string) (*http.Request, error)\n```\nNewGetCurrentAccountRequest constructs an http.Request for the GetCurrentAccount method\n\n```go\nfunc NewGetMessageAttachmentRequest(server string, mailboxResourceId string, folder string, uid int, attachmentId string) (*http.Request, error)\n```\nNewGetMessageAttachmentRequest constructs an http.Request for the GetMessageAttachment method\n\n```go\nfunc NewGetMessageRequest(server string, mailboxResourceId string, folder string, uid int) (*http.Request, error)\n```\nNewGetMessageRequest constructs an http.Request for the GetMessage method\n\n```go\nfunc NewGetMessageSourceRequest(server string, mailboxResourceId string, folder string, uid int) (*http.Request, error)\n```\nNewGetMessageSourceRequest constructs an http.Request for the GetMessageSource method\n\n```go\nfunc NewGetMessageTextRequest(server string, mailboxResourceId string, folder string, uid int) (*http.Request, error)\n```\nNewGetMessageTextRequest constructs an http.Request for the GetMessageText method\n\n```go\nfunc NewGetQuotaRequest(server string, mailboxResourceId string) (*http.Request, error)\n```\nNewGetQuotaRequest constructs an http.Request for the GetQuota method\n\n```go\nfunc NewGetWebhookRequest(server string, mailboxResourceId string, webhook openapi_types.UUID) (*http.Request, error)\n```\nNewGetWebhookRequest constructs an http.Request for the GetWebhook method\n\n```go\nfunc NewListCalendarEventsRequest(server string, mailboxResourceId string, calendarUuid openapi_types.UUID, params *ListCalendarEventsParams) (*http.Request, error)\n```\nNewListCalendarEventsRequest constructs an http.Request for the ListCalendarEvents method\n\n```go\nfunc NewListCalendarsRequest(server string, mailboxResourceId string, params *ListCalendarsParams) (*http.Request, error)\n```\nNewListCalendarsRequest constructs an http.Request for the ListCalendars method\n\n```go\nfunc NewListFoldersRequest(server string, mailboxResourceId string, params *ListFoldersParams) (*http.Request, error)\n```\nNewListFoldersRequest constructs an http.Request for the ListFolders method\n\n```go\nfunc NewListMessagesRequest(server string, mailboxResourceId string, folder string, params *ListMessagesParams) (*http.Request, error)\n```\nNewListMessagesRequest constructs an http.Request for the ListMessages method\n\n```go\nfunc NewListWebhooksRequest(server string, mailboxResourceId string, params *ListWebhooksParams) (*http.Request, error)\n```\nNewListWebhooksRequest constructs an http.Request for the ListWebhooks method\n\n```go\nfunc NewMoveMessageRequest(server string, mailboxResourceId string, folder string, uid int, body MoveMessageJSONRequestBody) (*http.Request, error)\n```\nNewMoveMessageRequest calls the generic MoveMessage builder with application/json body\n\n```go\nfunc NewMoveMessageRequestWithBody(server string, mailboxResourceId string, folder string, uid int, contentType string, body io.Reader) (*http.Request, error)\n```\nNewMoveMessageRequestWithBody constructs an http.Request for the MoveMessage method, with any body, and a specified content type\n\n```go\nfunc NewMoveMessagesRequest(server string, mailboxResourceId string, folder string, body MoveMessagesJSONRequestBody) (*http.Request, error)\n```\nNewMoveMessagesRequest calls the generic MoveMessages builder with application/json body\n\n```go\nfunc NewMoveMessagesRequestWithBody(server string, mailboxResourceId string, folder string, contentType string, body io.Reader) (*http.Request, error)\n```\nNewMoveMessagesRequestWithBody constructs an http.Request for the MoveMessages method, with any body, and a specified content type\n\n```go\nfunc NewPatchMessageRequest(server string, mailboxResourceId string, folder string, uid int, body PatchMessageJSONRequestBody) (*http.Request, error)\n```\nNewPatchMessageRequest calls the generic PatchMessage builder with application/json body\n\n```go\nfunc NewPatchMessageRequestWithBody(server string, mailboxResourceId string, folder string, uid int, contentType string, body io.Reader) (*http.Request, error)\n```\nNewPatchMessageRequestWithBody constructs an http.Request for the PatchMessage method, with any body, and a specified content type\n\n```go\nfunc NewRegenerateWebhookSecretRequest(server string, mailboxResourceId string, webhook openapi_types.UUID) (*http.Request, error)\n```\nNewRegenerateWebhookSecretRequest constructs an http.Request for the RegenerateWebhookSecret method\n\n```go\nfunc NewReplyToCalendarEventRequest(server string, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *ReplyToCalendarEventParams, body ReplyToCalendarEventJSONRequestBody) (*http.Request, error)\n```\nNewReplyToCalendarEventRequest calls the generic ReplyToCalendarEvent builder with application/json body\n\n```go\nfunc NewReplyToCalendarEventRequestWithBody(server string, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *ReplyToCalendarEventParams, contentType string, body io.Reader) (*http.Request, error)\n```\nNewReplyToCalendarEventRequestWithBody constructs an http.Request for the ReplyToCalendarEvent method, with any body, and a specified content type\n\n```go\nfunc NewRescheduleCalendarEventRequest(server string, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *RescheduleCalendarEventParams, body RescheduleCalendarEventJSONRequestBody) (*http.Request, error)\n```\nNewRescheduleCalendarEventRequest calls the generic RescheduleCalendarEvent builder with application/json body\n\n```go\nfunc NewRescheduleCalendarEventRequestWithBody(server string, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *RescheduleCalendarEventParams, contentType string, body io.Reader) (*http.Request, error)\n```\nNewRescheduleCalendarEventRequestWithBody constructs an http.Request for the RescheduleCalendarEvent method, with any body, and a specified content type\n\n```go\nfunc NewSearchMessagesRequest(server string, mailboxResourceId string, folder string, params *SearchMessagesParams, body SearchMessagesJSONRequestBody) (*http.Request, error)\n```\nNewSearchMessagesRequest calls the generic SearchMessages builder with application/json body\n\n```go\nfunc NewSearchMessagesRequestWithBody(server string, mailboxResourceId string, folder string, params *SearchMessagesParams, contentType string, body io.Reader) (*http.Request, error)\n```\nNewSearchMessagesRequestWithBody constructs an http.Request for the SearchMessages method, with any body, and a specified content type\n\n```go\nfunc NewSendEmailRequest(server string, mailboxResourceId string, body SendEmailJSONRequestBody) (*http.Request, error)\n```\nNewSendEmailRequest calls the generic SendEmail builder with application/json body\n\n```go\nfunc NewSendEmailRequestWithBody(server string, mailboxResourceId string, contentType string, body io.Reader) (*http.Request, error)\n```\nNewSendEmailRequestWithBody constructs an http.Request for the SendEmail method, with any body, and a specified content type\n\n```go\nfunc NewSubmitFeedbackRequest(server string, mailboxResourceId string, body SubmitFeedbackJSONRequestBody) (*http.Request, error)\n```\nNewSubmitFeedbackRequest calls the generic SubmitFeedback builder with application/json body\n\n```go\nfunc NewSubmitFeedbackRequestWithBody(server string, mailboxResourceId string, contentType string, body io.Reader) (*http.Request, error)\n```\nNewSubmitFeedbackRequestWithBody constructs an http.Request for the SubmitFeedback method, with any body, and a specified content type\n\n```go\nfunc NewTestWebhookRequest(server string, mailboxResourceId string, webhook openapi_types.UUID) (*http.Request, error)\n```\nNewTestWebhookRequest constructs an http.Request for the TestWebhook method\n\n```go\nfunc NewUpdateCalendarEventRequest(server string, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *UpdateCalendarEventParams, body UpdateCalendarEventJSONRequestBody) (*http.Request, error)\n```\nNewUpdateCalendarEventRequest calls the generic UpdateCalendarEvent builder with application/json body\n\n```go\nfunc NewUpdateCalendarEventRequestWithBody(server string, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *UpdateCalendarEventParams, contentType string, body io.Reader) (*http.Request, error)\n```\nNewUpdateCalendarEventRequestWithBody constructs an http.Request for the UpdateCalendarEvent method, with any body, and a specified content type\n\n```go\nfunc NewUpdateCalendarRequest(server string, mailboxResourceId string, calendarUuid openapi_types.UUID, body UpdateCalendarJSONRequestBody) (*http.Request, error)\n```\nNewUpdateCalendarRequest calls the generic UpdateCalendar builder with application/json body\n\n```go\nfunc NewUpdateCalendarRequestWithBody(server string, mailboxResourceId string, calendarUuid openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)\n```\nNewUpdateCalendarRequestWithBody constructs an http.Request for the UpdateCalendar method, with any body, and a specified content type\n\n```go\nfunc NewUpdateFolderRequest(server string, mailboxResourceId string, folder string, body UpdateFolderJSONRequestBody) (*http.Request, error)\n```\nNewUpdateFolderRequest calls the generic UpdateFolder builder with application/json body\n\n```go\nfunc NewUpdateFolderRequestWithBody(server string, mailboxResourceId string, folder string, contentType string, body io.Reader) (*http.Request, error)\n```\nNewUpdateFolderRequestWithBody constructs an http.Request for the UpdateFolder method, with any body, and a specified content type\n\n```go\nfunc NewUpdateMessageFlagsRequest(server string, mailboxResourceId string, folder string, body UpdateMessageFlagsJSONRequestBody) (*http.Request, error)\n```\nNewUpdateMessageFlagsRequest calls the generic UpdateMessageFlags builder with application/json body\n\n```go\nfunc NewUpdateMessageFlagsRequestWithBody(server string, mailboxResourceId string, folder string, contentType string, body io.Reader) (*http.Request, error)\n```\nNewUpdateMessageFlagsRequestWithBody constructs an http.Request for the UpdateMessageFlags method, with any body, and a specified content type\n\n```go\nfunc NewUpdateWebhookRequest(server string, mailboxResourceId string, webhook openapi_types.UUID, body UpdateWebhookJSONRequestBody) (*http.Request, error)\n```\nNewUpdateWebhookRequest calls the generic UpdateWebhook builder with application/json body\n\n```go\nfunc NewUpdateWebhookRequestWithBody(server string, mailboxResourceId string, webhook openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)\n```\nNewUpdateWebhookRequestWithBody constructs an http.Request for the UpdateWebhook method, with any body, and a specified content type\n\n## Types\n\n```go\ntype Client struct {\n\t// The endpoint of the server conforming to this interface, with scheme,\n\t// https://api.deepmap.com for example. This can contain a path relative\n\t// to the server, such as https://api.deepmap.com/dev-test, and all the\n\t// paths in the swagger spec will be appended to the server.\n\tServer string\n\n\t// Doer for performing requests, typically a *http.Client with any\n\t// customized settings, such as certificate chains.\n\tClient HttpRequestDoer\n\n\t// A list of callbacks for modifying requests which are generated before sending over\n\t// the network.\n\tRequestEditors []RequestEditorFn\n}\n```\nClient which conforms to the OpenAPI3 specification for this service.\n\n```go\nfunc NewClient(server string, opts ...ClientOption) (*Client, error)\n```\nCreates a new Client, with reasonable defaults\n\n```go\nfunc (c *Client) CreateCalendar(ctx context.Context, mailboxResourceId string, body CreateCalendarJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nCreateCalendar Create calendar\n\nCreate a calendar owned by the mailbox. The number of calendars a mailbox can own is limited; when the limit is reached the request fails with \\`400\\` and code \\`ERR\\_CALENDAR\\_LIMIT\\_REACHED\\`.\n\nTakes a body of the \\`application/json\\` content type.\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/calendars (the \\`CreateCalendar\\` operationId).\n\n```go\nfunc (c *Client) CreateCalendarEvent(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, body CreateCalendarEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nCreateCalendarEvent Create calendar event\n\nCreate an event in one calendar of the mailbox. \\`calendarUuid\\` comes from \\`listCalendars\\`: use the calendar with \\`default\\` true unless another one is named. A calendar the mailbox can only read is rejected with \\`403\\` and code \\`ERR\\_EVENT\\_NOT\\_EDITABLE\\`. The mailbox becomes the organizer and every address in \\`attendees\\` immediately receives an email invitation, which cannot be recalled. Without attendees no email is sent. A timed event needs \\`allDay\\` false, \\`start\\`, \\`end\\` and \\`timeZone\\`. An all-day event needs \\`allDay\\` true and a \\`start\\` date; \\`end\\` is optional. Set \\`recurrenceRule\\` for a repeating event and \\`reminder\\` for an alarm. Returns the created event. Its \\`uuid\\` is the \\`eventUuid\\` for \\`getCalendarEvent\\`, \\`updateCalendarEvent\\`, \\`rescheduleCalendarEvent\\` and \\`deleteCalendarEvent\\`.\n\nTakes a body of the \\`application/json\\` content type.\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events (the \\`CreateCalendarEvent\\` operationId).\n\n```go\nfunc (c *Client) CreateCalendarEventWithBody(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nCreateCalendarEventWithBody Create calendar event\n\nCreate an event in one calendar of the mailbox. \\`calendarUuid\\` comes from \\`listCalendars\\`: use the calendar with \\`default\\` true unless another one is named. A calendar the mailbox can only read is rejected with \\`403\\` and code \\`ERR\\_EVENT\\_NOT\\_EDITABLE\\`. The mailbox becomes the organizer and every address in \\`attendees\\` immediately receives an email invitation, which cannot be recalled. Without attendees no email is sent. A timed event needs \\`allDay\\` false, \\`start\\`, \\`end\\` and \\`timeZone\\`. An all-day event needs \\`allDay\\` true and a \\`start\\` date; \\`end\\` is optional. Set \\`recurrenceRule\\` for a repeating event and \\`reminder\\` for an alarm. Returns the created event. Its \\`uuid\\` is the \\`eventUuid\\` for \\`getCalendarEvent\\`, \\`updateCalendarEvent\\`, \\`rescheduleCalendarEvent\\` and \\`deleteCalendarEvent\\`.\n\nTakes any type of body and a specified content type.\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events (the \\`CreateCalendarEvent\\` operationId).\n\n```go\nfunc (c *Client) CreateCalendarWithBody(ctx context.Context, mailboxResourceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nCreateCalendarWithBody Create calendar\n\nCreate a calendar owned by the mailbox. The number of calendars a mailbox can own is limited; when the limit is reached the request fails with \\`400\\` and code \\`ERR\\_CALENDAR\\_LIMIT\\_REACHED\\`.\n\nTakes any type of body and a specified content type.\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/calendars (the \\`CreateCalendar\\` operationId).\n\n```go\nfunc (c *Client) CreateFolder(ctx context.Context, mailboxResourceId string, body CreateFolderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nCreateFolder Create folder\n\nCreate a new folder in the managed mailbox.\n\nTakes a body of the \\`application/json\\` content type.\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders (the \\`CreateFolder\\` operationId).\n\n```go\nfunc (c *Client) CreateFolderWithBody(ctx context.Context, mailboxResourceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nCreateFolderWithBody Create folder\n\nCreate a new folder in the managed mailbox.\n\nTakes any type of body and a specified content type.\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders (the \\`CreateFolder\\` operationId).\n\n```go\nfunc (c *Client) CreateWebhook(ctx context.Context, mailboxResourceId string, body CreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nCreateWebhook Create webhook\n\nCreate a webhook. The response includes the one-time \\`secret\\` — store it securely as it is never returned again.\n\nTakes a body of the \\`application/json\\` content type.\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/webhooks (the \\`CreateWebhook\\` operationId).\n\n```go\nfunc (c *Client) CreateWebhookWithBody(ctx context.Context, mailboxResourceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nCreateWebhookWithBody Create webhook\n\nCreate a webhook. The response includes the one-time \\`secret\\` — store it securely as it is never returned again.\n\nTakes any type of body and a specified content type.\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/webhooks (the \\`CreateWebhook\\` operationId).\n\n```go\nfunc (c *Client) DeleteAllMessages(ctx context.Context, mailboxResourceId string, folder string, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nDeleteAllMessages Delete all messages\n\nPermanently delete every message in a folder (empty the folder).\n\nCorresponds with DELETE /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages (the \\`DeleteAllMessages\\` operationId).\n\n```go\nfunc (c *Client) DeleteCalendar(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nDeleteCalendar Delete calendar\n\nDelete a calendar owned by the mailbox together with all its events, or remove a calendar shared with the mailbox from its list. This cannot be undone. A calendar that cannot be deleted is rejected with \\`403\\` and code \\`ERR\\_CALENDAR\\_NOT\\_DELETABLE\\`.\n\nCorresponds with DELETE /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid} (the \\`DeleteCalendar\\` operationId).\n\n```go\nfunc (c *Client) DeleteCalendarEvent(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *DeleteCalendarEventParams, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nDeleteCalendarEvent Delete calendar event\n\nDelete an event, one occurrence of a recurring event, or a recurring event from one occurrence on. This cannot be undone. \\`calendarUuid\\` and \\`eventUuid\\` come from \\`listCalendarEvents\\`. For a one-off event omit \\`scope\\` and \\`recurrenceId\\`. For a recurring event, \\`scope\\` \\`this\\` removes only the occurrence at \\`recurrenceId\\`, \\`future\\` removes it and every later one, \\`all\\` (the default) deletes the whole series. An event with \\`editable\\` true can be deleted with any scope, and its attendees receive a cancellation or the updated series by email. An invitation from someone else on the own calendar of the mailbox can be deleted with \\`all\\` or \\`this\\`: the organizer receives a decline for the removed occurrences. Any other event is rejected with \\`403\\` and code \\`ERR\\_EVENT\\_NOT\\_EDITABLE\\`. \\`notifyAttendees\\` false deletes without sending any email.\n\nCorresponds with DELETE /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events/{eventUuid} (the \\`DeleteCalendarEvent\\` operationId).\n\n```go\nfunc (c *Client) DeleteFolder(ctx context.Context, mailboxResourceId string, folder string, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nDeleteFolder Delete folder\n\nDelete a folder and all of its subfolders.\n\nCorresponds with DELETE /api/v1/mailboxes/{mailboxResourceId}/folders/{folder} (the \\`DeleteFolder\\` operationId).\n\n```go\nfunc (c *Client) DeleteMessage(ctx context.Context, mailboxResourceId string, folder string, uid int, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nDeleteMessage Delete message\n\nPermanently delete a single message.\n\nCorresponds with DELETE /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid} (the \\`DeleteMessage\\` operationId).\n\n```go\nfunc (c *Client) DeleteMessages(ctx context.Context, mailboxResourceId string, folder string, body DeleteMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nDeleteMessages Delete messages\n\nPermanently delete multiple messages from a folder.\n\nTakes a body of the \\`application/json\\` content type.\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/delete (the \\`DeleteMessages\\` operationId).\n\n```go\nfunc (c *Client) DeleteMessagesWithBody(ctx context.Context, mailboxResourceId string, folder string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nDeleteMessagesWithBody Delete messages\n\nPermanently delete multiple messages from a folder.\n\nTakes any type of body and a specified content type.\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/delete (the \\`DeleteMessages\\` operationId).\n\n```go\nfunc (c *Client) DeleteWebhook(ctx context.Context, mailboxResourceId string, webhook openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nDeleteWebhook Delete webhook\n\nDelete a webhook.\n\nCorresponds with DELETE /api/v1/mailboxes/{mailboxResourceId}/webhooks/{webhook} (the \\`DeleteWebhook\\` operationId).\n\n```go\nfunc (c *Client) GetCalendar(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nGetCalendar Get calendar\n\nRetrieve one calendar of a mailbox: its name, description, color, whether it is the default calendar and whether it is shown in the calendar view. It does not return events; use \\`listCalendarEvents\\` for those.\n\nCorresponds with GET /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid} (the \\`GetCalendar\\` operationId).\n\n```go\nfunc (c *Client) GetCalendarEvent(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *GetCalendarEventParams, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nGetCalendarEvent Get calendar event\n\nRetrieve the full details of one event: title, times, description, location, meeting link, recurrence rule, reminder, organizer, attendees with their answers, and its \\`etag\\`. \\`calendarUuid\\` and \\`eventUuid\\` come from \\`listCalendarEvents\\` (the \\`calendarUuid\\` and \\`uuid\\` of an item). For one occurrence of a recurring event pass the \\`recurrenceId\\` of the item; without it the whole series is returned and \\`recurrenceId\\` is null. A \\`recurrenceId\\` that matches no occurrence returns \\`404\\`. Call it before \\`updateCalendarEvent\\`, which replaces every field, so the values that should stay can be sent back. \\`replyable\\` true means the mailbox was invited by someone else and can answer with \\`replyToCalendarEvent\\`. \\`editable\\` true means the event can be changed or moved.\n\nCorresponds with GET /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events/{eventUuid} (the \\`GetCalendarEvent\\` operationId).\n\n```go\nfunc (c *Client) GetCurrentAccount(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nGetCurrentAccount Get the authenticated account\n\nReturns the authenticated account and the mailboxes it can manage.\n\nCorresponds with GET /api/v1/me (the \\`GetCurrentAccount\\` operationId).\n\n```go\nfunc (c *Client) GetMessage(ctx context.Context, mailboxResourceId string, folder string, uid int, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nGetMessage Get message\n\nRetrieve a single message by UID.\n\nCorresponds with GET /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid} (the \\`GetMessage\\` operationId).\n\n```go\nfunc (c *Client) GetMessageAttachment(ctx context.Context, mailboxResourceId string, folder string, uid int, attachmentId string, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nGetMessageAttachment Download message attachment\n\nDownload a message attachment as \\`application/octet-stream\\`.\n\nCorresponds with GET /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid}/attachments/{attachmentId} (the \\`GetMessageAttachment\\` operationId).\n\n```go\nfunc (c *Client) GetMessageSource(ctx context.Context, mailboxResourceId string, folder string, uid int, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nGetMessageSource Get message source\n\nRetrieve raw RFC822 source of a message as \\`message/rfc822\\` attachment. Does not change the message \\`\\\\Seen\\` flag.\n\nCorresponds with GET /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid}/source (the \\`GetMessageSource\\` operationId).\n\n```go\nfunc (c *Client) GetMessageText(ctx context.Context, mailboxResourceId string, folder string, uid int, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nGetMessageText Get message text content\n\nRetrieve rendered text (plain + HTML) of a message. Does not change the message \\`\\\\Seen\\` flag.\n\nCorresponds with GET /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid}/text (the \\`GetMessageText\\` operationId).\n\n```go\nfunc (c *Client) GetQuota(ctx context.Context, mailboxResourceId string, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nGetQuota Get mailbox quota\n\nRetrieve storage and message quota usage for the managed mailbox.\n\nCorresponds with GET /api/v1/mailboxes/{mailboxResourceId}/quota (the \\`GetQuota\\` operationId).\n\n```go\nfunc (c *Client) GetWebhook(ctx context.Context, mailboxResourceId string, webhook openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nGetWebhook Get webhook\n\nRetrieve a single webhook by id.\n\nCorresponds with GET /api/v1/mailboxes/{mailboxResourceId}/webhooks/{webhook} (the \\`GetWebhook\\` operationId).\n\n```go\nfunc (c *Client) ListCalendarEvents(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, params *ListCalendarEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nListCalendarEvents List calendar events\n\nList the events of one calendar that overlap a time range. It covers one calendar only: get the calendars from \\`listCalendars\\` and call it for each. The range runs from \\`start\\` (inclusive) to \\`end\\` (exclusive), at most 32 days; for a longer period call it again with the next range. Recurring events are expanded: each occurrence is a separate item with the same \\`uuid\\` and its own \\`recurrenceId\\`. Results are not paginated. Items hold summary fields only. For description, location, attendees and organizer call \\`getCalendarEvent\\` with the \\`calendarUuid\\`, \\`uuid\\` (as \\`eventUuid\\`) and \\`recurrenceId\\` of the item. Times are in UTC; \\`timeZone\\` is the zone the event was created in. \\`participationStatus\\` is the answer of the mailbox to an invitation from someone else, null for its own events. \\`status\\` CANCELLED means the organizer cancelled the event.\n\nCorresponds with GET /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events (the \\`ListCalendarEvents\\` operationId).\n\n```go\nfunc (c *Client) ListCalendars(ctx context.Context, mailboxResourceId string, params *ListCalendarsParams, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nListCalendars List calendars\n\nList the calendars of a mailbox: its own calendars and the calendars shared with it, in display order. Call it first to get the \\`calendarUuid\\` every calendar event operation needs: the \\`uuid\\` of each calendar. The calendar with \\`default\\` true is where new events go unless another one is named. \\`visible\\` false means the calendar is hidden in the calendar view; its events still exist.\n\nCorresponds with GET /api/v1/mailboxes/{mailboxResourceId}/calendars (the \\`ListCalendars\\` operationId).\n\n```go\nfunc (c *Client) ListFolders(ctx context.Context, mailboxResourceId string, params *ListFoldersParams, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nListFolders List folders\n\nRetrieve a paginated list of folders in the managed mailbox.\n\nCorresponds with GET /api/v1/mailboxes/{mailboxResourceId}/folders (the \\`ListFolders\\` operationId).\n\n```go\nfunc (c *Client) ListMessages(ctx context.Context, mailboxResourceId string, folder string, params *ListMessagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nListMessages List messages\n\nList messages in a folder. Use POST /search for filtering. Sort fields: uid, date, size (prefix with \\`-\\` for descending). Default \\`-uid\\`.\n\nCorresponds with GET /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages (the \\`ListMessages\\` operationId).\n\n```go\nfunc (c *Client) ListWebhooks(ctx context.Context, mailboxResourceId string, params *ListWebhooksParams, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nListWebhooks List webhooks\n\nList webhooks for a mailbox.\n\nCorresponds with GET /api/v1/mailboxes/{mailboxResourceId}/webhooks (the \\`ListWebhooks\\` operationId).\n\n```go\nfunc (c *Client) MoveMessage(ctx context.Context, mailboxResourceId string, folder string, uid int, body MoveMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nMoveMessage Move message\n\nMove a single message to a target folder.\n\nTakes a body of the \\`application/json\\` content type.\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid}/move (the \\`MoveMessage\\` operationId).\n\n```go\nfunc (c *Client) MoveMessageWithBody(ctx context.Context, mailboxResourceId string, folder string, uid int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nMoveMessageWithBody Move message\n\nMove a single message to a target folder.\n\nTakes any type of body and a specified content type.\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid}/move (the \\`MoveMessage\\` operationId).\n\n```go\nfunc (c *Client) MoveMessages(ctx context.Context, mailboxResourceId string, folder string, body MoveMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nMoveMessages Move messages\n\nMove multiple messages from a source folder to a target folder.\n\nTakes a body of the \\`application/json\\` content type.\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/move (the \\`MoveMessages\\` operationId).\n\n```go\nfunc (c *Client) MoveMessagesWithBody(ctx context.Context, mailboxResourceId string, folder string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nMoveMessagesWithBody Move messages\n\nMove multiple messages from a source folder to a target folder.\n\nTakes any type of body and a specified content type.\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/move (the \\`MoveMessages\\` operationId).\n\n```go\nfunc (c *Client) PatchMessage(ctx context.Context, mailboxResourceId string, folder string, uid int, body PatchMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nPatchMessage Update message flags\n\nAdd and/or remove flags on a single message. Returns the updated message.\n\nTakes a body of the \\`application/json\\` content type.\n\nCorresponds with PATCH /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid} (the \\`PatchMessage\\` operationId).\n\n```go\nfunc (c *Client) PatchMessageWithBody(ctx context.Context, mailboxResourceId string, folder string, uid int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nPatchMessageWithBody Update message flags\n\nAdd and/or remove flags on a single message. Returns the updated message.\n\nTakes any type of body and a specified content type.\n\nCorresponds with PATCH /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid} (the \\`PatchMessage\\` operationId).\n\n```go\nfunc (c *Client) RegenerateWebhookSecret(ctx context.Context, mailboxResourceId string, webhook openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nRegenerateWebhookSecret Regenerate webhook secret\n\nRegenerate the webhook secret. The previous secret is immediately invalidated. The new secret is returned once.\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/webhooks/{webhook}/regenerate-secret (the \\`RegenerateWebhookSecret\\` operationId).\n\n```go\nfunc (c *Client) ReplyToCalendarEvent(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *ReplyToCalendarEventParams, body ReplyToCalendarEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nReplyToCalendarEvent Reply to calendar event\n\nAnswer an invitation from someone else: accept, decline or tentatively accept. It saves the answer on the event and emails it to the organizer, which cannot be recalled. \\`calendarUuid\\` and \\`eventUuid\\` come from \\`listCalendarEvents\\`. It works only when \\`getCalendarEvent\\` returns \\`replyable\\` true. An event the mailbox organizes or is not invited to is rejected with \\`403\\` and code \\`ERR\\_EVENT\\_NOT\\_REPLYABLE\\`, an event the organizer cancelled with \\`409\\` and code \\`ERR\\_EVENT\\_CANCELLED\\`. Send the \\`recurrenceId\\` of an item to answer one occurrence of a recurring event, or omit it to answer the whole series. Returns the event with the new \\`participationStatus\\`.\n\nTakes a body of the \\`application/json\\` content type.\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events/{eventUuid}/reply (the \\`ReplyToCalendarEvent\\` operationId).\n\n```go\nfunc (c *Client) ReplyToCalendarEventWithBody(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *ReplyToCalendarEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nReplyToCalendarEventWithBody Reply to calendar event\n\nAnswer an invitation from someone else: accept, decline or tentatively accept. It saves the answer on the event and emails it to the organizer, which cannot be recalled. \\`calendarUuid\\` and \\`eventUuid\\` come from \\`listCalendarEvents\\`. It works only when \\`getCalendarEvent\\` returns \\`replyable\\` true. An event the mailbox organizes or is not invited to is rejected with \\`403\\` and code \\`ERR\\_EVENT\\_NOT\\_REPLYABLE\\`, an event the organizer cancelled with \\`409\\` and code \\`ERR\\_EVENT\\_CANCELLED\\`. Send the \\`recurrenceId\\` of an item to answer one occurrence of a recurring event, or omit it to answer the whole series. Returns the event with the new \\`participationStatus\\`.\n\nTakes any type of body and a specified content type.\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events/{eventUuid}/reply (the \\`ReplyToCalendarEvent\\` operationId).\n\n```go\nfunc (c *Client) RescheduleCalendarEvent(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *RescheduleCalendarEventParams, body RescheduleCalendarEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nRescheduleCalendarEvent Reschedule calendar event\n\nMove an event to another time or change its length, keeping everything else (title, attendees, description and so on) as stored, so the event does not have to be fetched first. To change other fields use \\`updateCalendarEvent\\`. \\`calendarUuid\\` and \\`eventUuid\\` come from \\`listCalendarEvents\\`. Only an event with \\`editable\\` true can be moved; any other is rejected with \\`403\\` and code \\`ERR\\_EVENT\\_NOT\\_EDITABLE\\`. For a recurring event, \\`scope\\` \\`this\\` moves only the occurrence at \\`recurrenceId\\`, \\`future\\` ends the series before that occurrence and starts a new one with a new \\`uuid\\`, \\`all\\` (the default) moves the whole series: only the time of day and the length apply and the series keeps the date of its first occurrence. Attendees receive an email update unless \\`notifyAttendees\\` is false. Returns the moved event, or the moved occurrence for \\`scope\\` \\`this\\`.\n\nTakes a body of the \\`application/json\\` content type.\n\nCorresponds with PUT /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events/{eventUuid}/reschedule (the \\`RescheduleCalendarEvent\\` operationId).\n\n```go\nfunc (c *Client) RescheduleCalendarEventWithBody(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *RescheduleCalendarEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nRescheduleCalendarEventWithBody Reschedule calendar event\n\nMove an event to another time or change its length, keeping everything else (title, attendees, description and so on) as stored, so the event does not have to be fetched first. To change other fields use \\`updateCalendarEvent\\`. \\`calendarUuid\\` and \\`eventUuid\\` come from \\`listCalendarEvents\\`. Only an event with \\`editable\\` true can be moved; any other is rejected with \\`403\\` and code \\`ERR\\_EVENT\\_NOT\\_EDITABLE\\`. For a recurring event, \\`scope\\` \\`this\\` moves only the occurrence at \\`recurrenceId\\`, \\`future\\` ends the series before that occurrence and starts a new one with a new \\`uuid\\`, \\`all\\` (the default) moves the whole series: only the time of day and the length apply and the series keeps the date of its first occurrence. Attendees receive an email update unless \\`notifyAttendees\\` is false. Returns the moved event, or the moved occurrence for \\`scope\\` \\`this\\`.\n\nTakes any type of body and a specified content type.\n\nCorresponds with PUT /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events/{eventUuid}/reschedule (the \\`RescheduleCalendarEvent\\` operationId).\n\n```go\nfunc (c *Client) SearchMessages(ctx context.Context, mailboxResourceId string, folder string, params *SearchMessagesParams, body SearchMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nSearchMessages Search messages\n\nSearch messages in a folder. Filters in body; pagination and sort via query (\\`page\\`, \\`perPage\\`, \\`sort\\`).\n\nTakes a body of the \\`application/json\\` content type.\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/search (the \\`SearchMessages\\` operationId).\n\n```go\nfunc (c *Client) SearchMessagesWithBody(ctx context.Context, mailboxResourceId string, folder string, params *SearchMessagesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nSearchMessagesWithBody Search messages\n\nSearch messages in a folder. Filters in body; pagination and sort via query (\\`page\\`, \\`perPage\\`, \\`sort\\`).\n\nTakes any type of body and a specified content type.\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/search (the \\`SearchMessages\\` operationId).\n\n```go\nfunc (c *Client) SendEmail(ctx context.Context, mailboxResourceId string, body SendEmailJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nSendEmail Send email\n\nSend a message from the managed mailbox. The message is accepted for delivery and dispatched within a few seconds; a copy is saved to INBOX.Sent once it is sent. A delivery failure after acceptance is not reported on this call.\n\nTakes a body of the \\`application/json\\` content type.\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/send (the \\`SendEmail\\` operationId).\n\n```go\nfunc (c *Client) SendEmailWithBody(ctx context.Context, mailboxResourceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nSendEmailWithBody Send email\n\nSend a message from the managed mailbox. The message is accepted for delivery and dispatched within a few seconds; a copy is saved to INBOX.Sent once it is sent. A delivery failure after acceptance is not reported on this call.\n\nTakes any type of body and a specified content type.\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/send (the \\`SendEmail\\` operationId).\n\n```go\nfunc (c *Client) SubmitFeedback(ctx context.Context, mailboxResourceId string, body SubmitFeedbackJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nSubmitFeedback Submit feedback\n\nSend the user's feedback about the Hostinger Email API to the Hostinger mail team.\n\nOnly call this when the user explicitly asks to send feedback, report a problem, or request a feature. Send the user's own words; never include tokens, passwords or email contents. The message is capped at 2000 characters.\n\nA \\`429\\` (\\`ERR\\_FEEDBACK\\_RATE\\_LIMIT\\`) means feedback for this customer was submitted less than ten seconds ago; wait and retry.\n\nTakes a body of the \\`application/json\\` content type.\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/feedback (the \\`SubmitFeedback\\` operationId).\n\n```go\nfunc (c *Client) SubmitFeedbackWithBody(ctx context.Context, mailboxResourceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nSubmitFeedbackWithBody Submit feedback\n\nSend the user's feedback about the Hostinger Email API to the Hostinger mail team.\n\nOnly call this when the user explicitly asks to send feedback, report a problem, or request a feature. Send the user's own words; never include tokens, passwords or email contents. The message is capped at 2000 characters.\n\nA \\`429\\` (\\`ERR\\_FEEDBACK\\_RATE\\_LIMIT\\`) means feedback for this customer was submitted less than ten seconds ago; wait and retry.\n\nTakes any type of body and a specified content type.\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/feedback (the \\`SubmitFeedback\\` operationId).\n\n```go\nfunc (c *Client) TestWebhook(ctx context.Context, mailboxResourceId string, webhook openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nTestWebhook Test webhook\n\nSend a test delivery to the webhook URL and return the upstream response.\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/webhooks/{webhook}/test (the \\`TestWebhook\\` operationId).\n\n```go\nfunc (c *Client) UpdateCalendar(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, body UpdateCalendarJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nUpdateCalendar Update calendar\n\nUpdate the name, description, color and visibility of a calendar. Name, description and color replace the stored values: an omitted \\`description\\` is cleared and an omitted \\`color\\` resets to the default color. An omitted \\`visible\\` keeps the current value.\n\nTakes a body of the \\`application/json\\` content type.\n\nCorresponds with PUT /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid} (the \\`UpdateCalendar\\` operationId).\n\n```go\nfunc (c *Client) UpdateCalendarEvent(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *UpdateCalendarEventParams, body UpdateCalendarEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nUpdateCalendarEvent Update calendar event\n\nChange the details of an event: title, times, description, location, attendees, recurrence and so on. Every field replaces the stored value and an omitted optional field is cleared, so call \\`getCalendarEvent\\` first and send back the values that should stay. To only move an event in time, use \\`rescheduleCalendarEvent\\`. Only an event with \\`editable\\` true can be changed; any other is rejected with \\`403\\` and code \\`ERR\\_EVENT\\_NOT\\_EDITABLE\\`. For a recurring event, \\`scope\\` \\`this\\` changes only the occurrence at \\`recurrenceId\\`, \\`future\\` ends the series before that occurrence and starts a new one with a new \\`uuid\\`, \\`all\\` (the default) changes the whole series, keeping the date of its first occurrence. Attendees receive an email update, added attendees an invitation and removed ones a cancellation, unless \\`notifyAttendees\\` is false. Returns the changed event, or the changed occurrence for \\`scope\\` \\`this\\`.\n\nTakes a body of the \\`application/json\\` content type.\n\nCorresponds with PUT /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events/{eventUuid} (the \\`UpdateCalendarEvent\\` operationId).\n\n```go\nfunc (c *Client) UpdateCalendarEventWithBody(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *UpdateCalendarEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nUpdateCalendarEventWithBody Update calendar event\n\nChange the details of an event: title, times, description, location, attendees, recurrence and so on. Every field replaces the stored value and an omitted optional field is cleared, so call \\`getCalendarEvent\\` first and send back the values that should stay. To only move an event in time, use \\`rescheduleCalendarEvent\\`. Only an event with \\`editable\\` true can be changed; any other is rejected with \\`403\\` and code \\`ERR\\_EVENT\\_NOT\\_EDITABLE\\`. For a recurring event, \\`scope\\` \\`this\\` changes only the occurrence at \\`recurrenceId\\`, \\`future\\` ends the series before that occurrence and starts a new one with a new \\`uuid\\`, \\`all\\` (the default) changes the whole series, keeping the date of its first occurrence. Attendees receive an email update, added attendees an invitation and removed ones a cancellation, unless \\`notifyAttendees\\` is false. Returns the changed event, or the changed occurrence for \\`scope\\` \\`this\\`.\n\nTakes any type of body and a specified content type.\n\nCorresponds with PUT /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events/{eventUuid} (the \\`UpdateCalendarEvent\\` operationId).\n\n```go\nfunc (c *Client) UpdateCalendarWithBody(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nUpdateCalendarWithBody Update calendar\n\nUpdate the name, description, color and visibility of a calendar. Name, description and color replace the stored values: an omitted \\`description\\` is cleared and an omitted \\`color\\` resets to the default color. An omitted \\`visible\\` keeps the current value.\n\nTakes any type of body and a specified content type.\n\nCorresponds with PUT /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid} (the \\`UpdateCalendar\\` operationId).\n\n```go\nfunc (c *Client) UpdateFolder(ctx context.Context, mailboxResourceId string, folder string, body UpdateFolderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nUpdateFolder Update folder\n\nRename an existing folder.\n\nTakes a body of the \\`application/json\\` content type.\n\nCorresponds with PUT /api/v1/mailboxes/{mailboxResourceId}/folders/{folder} (the \\`UpdateFolder\\` operationId).\n\n```go\nfunc (c *Client) UpdateFolderWithBody(ctx context.Context, mailboxResourceId string, folder string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nUpdateFolderWithBody Update folder\n\nRename an existing folder.\n\nTakes any type of body and a specified content type.\n\nCorresponds with PUT /api/v1/mailboxes/{mailboxResourceId}/folders/{folder} (the \\`UpdateFolder\\` operationId).\n\n```go\nfunc (c *Client) UpdateMessageFlags(ctx context.Context, mailboxResourceId string, folder string, body UpdateMessageFlagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nUpdateMessageFlags Update flags on multiple messages\n\nAdd and/or remove flags on multiple messages. Returns 200 when all UIDs succeed, 207 with per-UID outcome when some fail.\n\nTakes a body of the \\`application/json\\` content type.\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/flags (the \\`UpdateMessageFlags\\` operationId).\n\n```go\nfunc (c *Client) UpdateMessageFlagsWithBody(ctx context.Context, mailboxResourceId string, folder string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nUpdateMessageFlagsWithBody Update flags on multiple messages\n\nAdd and/or remove flags on multiple messages. Returns 200 when all UIDs succeed, 207 with per-UID outcome when some fail.\n\nTakes any type of body and a specified content type.\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/flags (the \\`UpdateMessageFlags\\` operationId).\n\n```go\nfunc (c *Client) UpdateWebhook(ctx context.Context, mailboxResourceId string, webhook openapi_types.UUID, body UpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nUpdateWebhook Update webhook\n\nPartially update a webhook.\n\nTakes a body of the \\`application/json\\` content type.\n\nCorresponds with PATCH /api/v1/mailboxes/{mailboxResourceId}/webhooks/{webhook} (the \\`UpdateWebhook\\` operationId).\n\n```go\nfunc (c *Client) UpdateWebhookWithBody(ctx context.Context, mailboxResourceId string, webhook openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n```\nUpdateWebhookWithBody Update webhook\n\nPartially update a webhook.\n\nTakes any type of body and a specified content type.\n\nCorresponds with PATCH /api/v1/mailboxes/{mailboxResourceId}/webhooks/{webhook} (the \\`UpdateWebhook\\` operationId).\n\n```go\ntype ClientInterface interface {\n\n\t// ListCalendars List calendars\n\t//\n\t// List the calendars of a mailbox: its own calendars and the calendars shared with it, in display order. Call it first to get the `calendarUuid` every calendar event operation needs: the `uuid` of each calendar. The calendar with `default` true is where new events go unless another one is named. `visible` false means the calendar is hidden in the calendar view; its events still exist.\n\t//\n\t// Corresponds with GET /api/v1/mailboxes/{mailboxResourceId}/calendars (the `ListCalendars` operationId).\n\tListCalendars(ctx context.Context, mailboxResourceId string, params *ListCalendarsParams, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// CreateCalendarWithBody Create calendar\n\t//\n\t// Create a calendar owned by the mailbox. The number of calendars a mailbox can own is limited; when the limit is reached the request fails with `400` and code `ERR_CALENDAR_LIMIT_REACHED`.\n\t//\n\t// Takes any type of body and a specified content type.\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/calendars (the `CreateCalendar` operationId).\n\tCreateCalendarWithBody(ctx context.Context, mailboxResourceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// CreateCalendar Create calendar\n\t//\n\t// Create a calendar owned by the mailbox. The number of calendars a mailbox can own is limited; when the limit is reached the request fails with `400` and code `ERR_CALENDAR_LIMIT_REACHED`.\n\t//\n\t// Takes a body of the `application/json` content type.\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/calendars (the `CreateCalendar` operationId).\n\tCreateCalendar(ctx context.Context, mailboxResourceId string, body CreateCalendarJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// DeleteCalendar Delete calendar\n\t//\n\t// Delete a calendar owned by the mailbox together with all its events, or remove a calendar shared with the mailbox from its list. This cannot be undone. A calendar that cannot be deleted is rejected with `403` and code `ERR_CALENDAR_NOT_DELETABLE`.\n\t//\n\t// Corresponds with DELETE /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid} (the `DeleteCalendar` operationId).\n\tDeleteCalendar(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// GetCalendar Get calendar\n\t//\n\t// Retrieve one calendar of a mailbox: its name, description, color, whether it is the default calendar and whether it is shown in the calendar view. It does not return events; use `listCalendarEvents` for those.\n\t//\n\t// Corresponds with GET /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid} (the `GetCalendar` operationId).\n\tGetCalendar(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// UpdateCalendarWithBody Update calendar\n\t//\n\t// Update the name, description, color and visibility of a calendar. Name, description and color replace the stored values: an omitted `description` is cleared and an omitted `color` resets to the default color. An omitted `visible` keeps the current value.\n\t//\n\t// Takes any type of body and a specified content type.\n\t//\n\t// Corresponds with PUT /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid} (the `UpdateCalendar` operationId).\n\tUpdateCalendarWithBody(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// UpdateCalendar Update calendar\n\t//\n\t// Update the name, description, color and visibility of a calendar. Name, description and color replace the stored values: an omitted `description` is cleared and an omitted `color` resets to the default color. An omitted `visible` keeps the current value.\n\t//\n\t// Takes a body of the `application/json` content type.\n\t//\n\t// Corresponds with PUT /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid} (the `UpdateCalendar` operationId).\n\tUpdateCalendar(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, body UpdateCalendarJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// ListCalendarEvents List calendar events\n\t//\n\t// List the events of one calendar that overlap a time range. It covers one calendar only: get the calendars from `listCalendars` and call it for each. The range runs from `start` (inclusive) to `end` (exclusive), at most 32 days; for a longer period call it again with the next range. Recurring events are expanded: each occurrence is a separate item with the same `uuid` and its own `recurrenceId`. Results are not paginated.\n\t// Items hold summary fields only. For description, location, attendees and organizer call `getCalendarEvent` with the `calendarUuid`, `uuid` (as `eventUuid`) and `recurrenceId` of the item. Times are in UTC; `timeZone` is the zone the event was created in. `participationStatus` is the answer of the mailbox to an invitation from someone else, null for its own events. `status` CANCELLED means the organizer cancelled the event.\n\t//\n\t// Corresponds with GET /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events (the `ListCalendarEvents` operationId).\n\tListCalendarEvents(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, params *ListCalendarEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// CreateCalendarEventWithBody Create calendar event\n\t//\n\t// Create an event in one calendar of the mailbox. `calendarUuid` comes from `listCalendars`: use the calendar with `default` true unless another one is named. A calendar the mailbox can only read is rejected with `403` and code `ERR_EVENT_NOT_EDITABLE`.\n\t// The mailbox becomes the organizer and every address in `attendees` immediately receives an email invitation, which cannot be recalled. Without attendees no email is sent.\n\t// A timed event needs `allDay` false, `start`, `end` and `timeZone`. An all-day event needs `allDay` true and a `start` date; `end` is optional. Set `recurrenceRule` for a repeating event and `reminder` for an alarm.\n\t// Returns the created event. Its `uuid` is the `eventUuid` for `getCalendarEvent`, `updateCalendarEvent`, `rescheduleCalendarEvent` and `deleteCalendarEvent`.\n\t//\n\t// Takes any type of body and a specified content type.\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events (the `CreateCalendarEvent` operationId).\n\tCreateCalendarEventWithBody(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// CreateCalendarEvent Create calendar event\n\t//\n\t// Create an event in one calendar of the mailbox. `calendarUuid` comes from `listCalendars`: use the calendar with `default` true unless another one is named. A calendar the mailbox can only read is rejected with `403` and code `ERR_EVENT_NOT_EDITABLE`.\n\t// The mailbox becomes the organizer and every address in `attendees` immediately receives an email invitation, which cannot be recalled. Without attendees no email is sent.\n\t// A timed event needs `allDay` false, `start`, `end` and `timeZone`. An all-day event needs `allDay` true and a `start` date; `end` is optional. Set `recurrenceRule` for a repeating event and `reminder` for an alarm.\n\t// Returns the created event. Its `uuid` is the `eventUuid` for `getCalendarEvent`, `updateCalendarEvent`, `rescheduleCalendarEvent` and `deleteCalendarEvent`.\n\t//\n\t// Takes a body of the `application/json` content type.\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events (the `CreateCalendarEvent` operationId).\n\tCreateCalendarEvent(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, body CreateCalendarEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// DeleteCalendarEvent Delete calendar event\n\t//\n\t// Delete an event, one occurrence of a recurring event, or a recurring event from one occurrence on. This cannot be undone. `calendarUuid` and `eventUuid` come from `listCalendarEvents`.\n\t// For a one-off event omit `scope` and `recurrenceId`. For a recurring event, `scope` `this` removes only the occurrence at `recurrenceId`, `future` removes it and every later one, `all` (the default) deletes the whole series.\n\t// An event with `editable` true can be deleted with any scope, and its attendees receive a cancellation or the updated series by email. An invitation from someone else on the own calendar of the mailbox can be deleted with `all` or `this`: the organizer receives a decline for the removed occurrences. Any other event is rejected with `403` and code `ERR_EVENT_NOT_EDITABLE`. `notifyAttendees` false deletes without sending any email.\n\t//\n\t// Corresponds with DELETE /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events/{eventUuid} (the `DeleteCalendarEvent` operationId).\n\tDeleteCalendarEvent(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *DeleteCalendarEventParams, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// GetCalendarEvent Get calendar event\n\t//\n\t// Retrieve the full details of one event: title, times, description, location, meeting link, recurrence rule, reminder, organizer, attendees with their answers, and its `etag`. `calendarUuid` and `eventUuid` come from `listCalendarEvents` (the `calendarUuid` and `uuid` of an item). For one occurrence of a recurring event pass the `recurrenceId` of the item; without it the whole series is returned and `recurrenceId` is null. A `recurrenceId` that matches no occurrence returns `404`.\n\t// Call it before `updateCalendarEvent`, which replaces every field, so the values that should stay can be sent back. `replyable` true means the mailbox was invited by someone else and can answer with `replyToCalendarEvent`. `editable` true means the event can be changed or moved.\n\t//\n\t// Corresponds with GET /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events/{eventUuid} (the `GetCalendarEvent` operationId).\n\tGetCalendarEvent(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *GetCalendarEventParams, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// UpdateCalendarEventWithBody Update calendar event\n\t//\n\t// Change the details of an event: title, times, description, location, attendees, recurrence and so on. Every field replaces the stored value and an omitted optional field is cleared, so call `getCalendarEvent` first and send back the values that should stay. To only move an event in time, use `rescheduleCalendarEvent`. Only an event with `editable` true can be changed; any other is rejected with `403` and code `ERR_EVENT_NOT_EDITABLE`.\n\t// For a recurring event, `scope` `this` changes only the occurrence at `recurrenceId`, `future` ends the series before that occurrence and starts a new one with a new `uuid`, `all` (the default) changes the whole series, keeping the date of its first occurrence.\n\t// Attendees receive an email update, added attendees an invitation and removed ones a cancellation, unless `notifyAttendees` is false. Returns the changed event, or the changed occurrence for `scope` `this`.\n\t//\n\t// Takes any type of body and a specified content type.\n\t//\n\t// Corresponds with PUT /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events/{eventUuid} (the `UpdateCalendarEvent` operationId).\n\tUpdateCalendarEventWithBody(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *UpdateCalendarEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// UpdateCalendarEvent Update calendar event\n\t//\n\t// Change the details of an event: title, times, description, location, attendees, recurrence and so on. Every field replaces the stored value and an omitted optional field is cleared, so call `getCalendarEvent` first and send back the values that should stay. To only move an event in time, use `rescheduleCalendarEvent`. Only an event with `editable` true can be changed; any other is rejected with `403` and code `ERR_EVENT_NOT_EDITABLE`.\n\t// For a recurring event, `scope` `this` changes only the occurrence at `recurrenceId`, `future` ends the series before that occurrence and starts a new one with a new `uuid`, `all` (the default) changes the whole series, keeping the date of its first occurrence.\n\t// Attendees receive an email update, added attendees an invitation and removed ones a cancellation, unless `notifyAttendees` is false. Returns the changed event, or the changed occurrence for `scope` `this`.\n\t//\n\t// Takes a body of the `application/json` content type.\n\t//\n\t// Corresponds with PUT /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events/{eventUuid} (the `UpdateCalendarEvent` operationId).\n\tUpdateCalendarEvent(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *UpdateCalendarEventParams, body UpdateCalendarEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// ReplyToCalendarEventWithBody Reply to calendar event\n\t//\n\t// Answer an invitation from someone else: accept, decline or tentatively accept. It saves the answer on the event and emails it to the organizer, which cannot be recalled. `calendarUuid` and `eventUuid` come from `listCalendarEvents`.\n\t// It works only when `getCalendarEvent` returns `replyable` true. An event the mailbox organizes or is not invited to is rejected with `403` and code `ERR_EVENT_NOT_REPLYABLE`, an event the organizer cancelled with `409` and code `ERR_EVENT_CANCELLED`. Send the `recurrenceId` of an item to answer one occurrence of a recurring event, or omit it to answer the whole series. Returns the event with the new `participationStatus`.\n\t//\n\t// Takes any type of body and a specified content type.\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events/{eventUuid}/reply (the `ReplyToCalendarEvent` operationId).\n\tReplyToCalendarEventWithBody(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *ReplyToCalendarEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// ReplyToCalendarEvent Reply to calendar event\n\t//\n\t// Answer an invitation from someone else: accept, decline or tentatively accept. It saves the answer on the event and emails it to the organizer, which cannot be recalled. `calendarUuid` and `eventUuid` come from `listCalendarEvents`.\n\t// It works only when `getCalendarEvent` returns `replyable` true. An event the mailbox organizes or is not invited to is rejected with `403` and code `ERR_EVENT_NOT_REPLYABLE`, an event the organizer cancelled with `409` and code `ERR_EVENT_CANCELLED`. Send the `recurrenceId` of an item to answer one occurrence of a recurring event, or omit it to answer the whole series. Returns the event with the new `participationStatus`.\n\t//\n\t// Takes a body of the `application/json` content type.\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events/{eventUuid}/reply (the `ReplyToCalendarEvent` operationId).\n\tReplyToCalendarEvent(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *ReplyToCalendarEventParams, body ReplyToCalendarEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// RescheduleCalendarEventWithBody Reschedule calendar event\n\t//\n\t// Move an event to another time or change its length, keeping everything else (title, attendees, description and so on) as stored, so the event does not have to be fetched first. To change other fields use `updateCalendarEvent`. `calendarUuid` and `eventUuid` come from `listCalendarEvents`. Only an event with `editable` true can be moved; any other is rejected with `403` and code `ERR_EVENT_NOT_EDITABLE`.\n\t// For a recurring event, `scope` `this` moves only the occurrence at `recurrenceId`, `future` ends the series before that occurrence and starts a new one with a new `uuid`, `all` (the default) moves the whole series: only the time of day and the length apply and the series keeps the date of its first occurrence.\n\t// Attendees receive an email update unless `notifyAttendees` is false. Returns the moved event, or the moved occurrence for `scope` `this`.\n\t//\n\t// Takes any type of body and a specified content type.\n\t//\n\t// Corresponds with PUT /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events/{eventUuid}/reschedule (the `RescheduleCalendarEvent` operationId).\n\tRescheduleCalendarEventWithBody(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *RescheduleCalendarEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// RescheduleCalendarEvent Reschedule calendar event\n\t//\n\t// Move an event to another time or change its length, keeping everything else (title, attendees, description and so on) as stored, so the event does not have to be fetched first. To change other fields use `updateCalendarEvent`. `calendarUuid` and `eventUuid` come from `listCalendarEvents`. Only an event with `editable` true can be moved; any other is rejected with `403` and code `ERR_EVENT_NOT_EDITABLE`.\n\t// For a recurring event, `scope` `this` moves only the occurrence at `recurrenceId`, `future` ends the series before that occurrence and starts a new one with a new `uuid`, `all` (the default) moves the whole series: only the time of day and the length apply and the series keeps the date of its first occurrence.\n\t// Attendees receive an email update unless `notifyAttendees` is false. Returns the moved event, or the moved occurrence for `scope` `this`.\n\t//\n\t// Takes a body of the `application/json` content type.\n\t//\n\t// Corresponds with PUT /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events/{eventUuid}/reschedule (the `RescheduleCalendarEvent` operationId).\n\tRescheduleCalendarEvent(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *RescheduleCalendarEventParams, body RescheduleCalendarEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// SubmitFeedbackWithBody Submit feedback\n\t//\n\t// Send the user's feedback about the Hostinger Email API to the Hostinger mail team.\n\t//\n\t// Only call this when the user explicitly asks to send feedback, report a problem, or request a feature. Send the user's own words; never include tokens, passwords or email contents. The message is capped at 2000 characters.\n\t//\n\t// A `429` (`ERR_FEEDBACK_RATE_LIMIT`) means feedback for this customer was submitted less than ten seconds ago; wait and retry.\n\t//\n\t// Takes any type of body and a specified content type.\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/feedback (the `SubmitFeedback` operationId).\n\tSubmitFeedbackWithBody(ctx context.Context, mailboxResourceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// SubmitFeedback Submit feedback\n\t//\n\t// Send the user's feedback about the Hostinger Email API to the Hostinger mail team.\n\t//\n\t// Only call this when the user explicitly asks to send feedback, report a problem, or request a feature. Send the user's own words; never include tokens, passwords or email contents. The message is capped at 2000 characters.\n\t//\n\t// A `429` (`ERR_FEEDBACK_RATE_LIMIT`) means feedback for this customer was submitted less than ten seconds ago; wait and retry.\n\t//\n\t// Takes a body of the `application/json` content type.\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/feedback (the `SubmitFeedback` operationId).\n\tSubmitFeedback(ctx context.Context, mailboxResourceId string, body SubmitFeedbackJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// ListFolders List folders\n\t//\n\t// Retrieve a paginated list of folders in the managed mailbox.\n\t//\n\t// Corresponds with GET /api/v1/mailboxes/{mailboxResourceId}/folders (the `ListFolders` operationId).\n\tListFolders(ctx context.Context, mailboxResourceId string, params *ListFoldersParams, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// CreateFolderWithBody Create folder\n\t//\n\t// Create a new folder in the managed mailbox.\n\t//\n\t// Takes any type of body and a specified content type.\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders (the `CreateFolder` operationId).\n\tCreateFolderWithBody(ctx context.Context, mailboxResourceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// CreateFolder Create folder\n\t//\n\t// Create a new folder in the managed mailbox.\n\t//\n\t// Takes a body of the `application/json` content type.\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders (the `CreateFolder` operationId).\n\tCreateFolder(ctx context.Context, mailboxResourceId string, body CreateFolderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// DeleteFolder Delete folder\n\t//\n\t// Delete a folder and all of its subfolders.\n\t//\n\t// Corresponds with DELETE /api/v1/mailboxes/{mailboxResourceId}/folders/{folder} (the `DeleteFolder` operationId).\n\tDeleteFolder(ctx context.Context, mailboxResourceId string, folder string, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// UpdateFolderWithBody Update folder\n\t//\n\t// Rename an existing folder.\n\t//\n\t// Takes any type of body and a specified content type.\n\t//\n\t// Corresponds with PUT /api/v1/mailboxes/{mailboxResourceId}/folders/{folder} (the `UpdateFolder` operationId).\n\tUpdateFolderWithBody(ctx context.Context, mailboxResourceId string, folder string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// UpdateFolder Update folder\n\t//\n\t// Rename an existing folder.\n\t//\n\t// Takes a body of the `application/json` content type.\n\t//\n\t// Corresponds with PUT /api/v1/mailboxes/{mailboxResourceId}/folders/{folder} (the `UpdateFolder` operationId).\n\tUpdateFolder(ctx context.Context, mailboxResourceId string, folder string, body UpdateFolderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// DeleteAllMessages Delete all messages\n\t//\n\t// Permanently delete every message in a folder (empty the folder).\n\t//\n\t// Corresponds with DELETE /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages (the `DeleteAllMessages` operationId).\n\tDeleteAllMessages(ctx context.Context, mailboxResourceId string, folder string, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// ListMessages List messages\n\t//\n\t// List messages in a folder. Use POST /search for filtering. Sort fields: uid, date, size (prefix with `-` for descending). Default `-uid`.\n\t//\n\t// Corresponds with GET /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages (the `ListMessages` operationId).\n\tListMessages(ctx context.Context, mailboxResourceId string, folder string, params *ListMessagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// DeleteMessagesWithBody Delete messages\n\t//\n\t// Permanently delete multiple messages from a folder.\n\t//\n\t// Takes any type of body and a specified content type.\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/delete (the `DeleteMessages` operationId).\n\tDeleteMessagesWithBody(ctx context.Context, mailboxResourceId string, folder string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// DeleteMessages Delete messages\n\t//\n\t// Permanently delete multiple messages from a folder.\n\t//\n\t// Takes a body of the `application/json` content type.\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/delete (the `DeleteMessages` operationId).\n\tDeleteMessages(ctx context.Context, mailboxResourceId string, folder string, body DeleteMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// UpdateMessageFlagsWithBody Update flags on multiple messages\n\t//\n\t// Add and/or remove flags on multiple messages. Returns 200 when all UIDs succeed, 207 with per-UID outcome when some fail.\n\t//\n\t// Takes any type of body and a specified content type.\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/flags (the `UpdateMessageFlags` operationId).\n\tUpdateMessageFlagsWithBody(ctx context.Context, mailboxResourceId string, folder string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// UpdateMessageFlags Update flags on multiple messages\n\t//\n\t// Add and/or remove flags on multiple messages. Returns 200 when all UIDs succeed, 207 with per-UID outcome when some fail.\n\t//\n\t// Takes a body of the `application/json` content type.\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/flags (the `UpdateMessageFlags` operationId).\n\tUpdateMessageFlags(ctx context.Context, mailboxResourceId string, folder string, body UpdateMessageFlagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// MoveMessagesWithBody Move messages\n\t//\n\t// Move multiple messages from a source folder to a target folder.\n\t//\n\t// Takes any type of body and a specified content type.\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/move (the `MoveMessages` operationId).\n\tMoveMessagesWithBody(ctx context.Context, mailboxResourceId string, folder string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// MoveMessages Move messages\n\t//\n\t// Move multiple messages from a source folder to a target folder.\n\t//\n\t// Takes a body of the `application/json` content type.\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/move (the `MoveMessages` operationId).\n\tMoveMessages(ctx context.Context, mailboxResourceId string, folder string, body MoveMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// SearchMessagesWithBody Search messages\n\t//\n\t// Search messages in a folder. Filters in body; pagination and sort via query (`page`, `perPage`, `sort`).\n\t//\n\t// Takes any type of body and a specified content type.\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/search (the `SearchMessages` operationId).\n\tSearchMessagesWithBody(ctx context.Context, mailboxResourceId string, folder string, params *SearchMessagesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// SearchMessages Search messages\n\t//\n\t// Search messages in a folder. Filters in body; pagination and sort via query (`page`, `perPage`, `sort`).\n\t//\n\t// Takes a body of the `application/json` content type.\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/search (the `SearchMessages` operationId).\n\tSearchMessages(ctx context.Context, mailboxResourceId string, folder string, params *SearchMessagesParams, body SearchMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// DeleteMessage Delete message\n\t//\n\t// Permanently delete a single message.\n\t//\n\t// Corresponds with DELETE /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid} (the `DeleteMessage` operationId).\n\tDeleteMessage(ctx context.Context, mailboxResourceId string, folder string, uid int, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// GetMessage Get message\n\t//\n\t// Retrieve a single message by UID.\n\t//\n\t// Corresponds with GET /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid} (the `GetMessage` operationId).\n\tGetMessage(ctx context.Context, mailboxResourceId string, folder string, uid int, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// PatchMessageWithBody Update message flags\n\t//\n\t// Add and/or remove flags on a single message. Returns the updated message.\n\t//\n\t// Takes any type of body and a specified content type.\n\t//\n\t// Corresponds with PATCH /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid} (the `PatchMessage` operationId).\n\tPatchMessageWithBody(ctx context.Context, mailboxResourceId string, folder string, uid int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// PatchMessage Update message flags\n\t//\n\t// Add and/or remove flags on a single message. Returns the updated message.\n\t//\n\t// Takes a body of the `application/json` content type.\n\t//\n\t// Corresponds with PATCH /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid} (the `PatchMessage` operationId).\n\tPatchMessage(ctx context.Context, mailboxResourceId string, folder string, uid int, body PatchMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// GetMessageAttachment Download message attachment\n\t//\n\t// Download a message attachment as `application/octet-stream`.\n\t//\n\t// Corresponds with GET /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid}/attachments/{attachmentId} (the `GetMessageAttachment` operationId).\n\tGetMessageAttachment(ctx context.Context, mailboxResourceId string, folder string, uid int, attachmentId string, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// MoveMessageWithBody Move message\n\t//\n\t// Move a single message to a target folder.\n\t//\n\t// Takes any type of body and a specified content type.\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid}/move (the `MoveMessage` operationId).\n\tMoveMessageWithBody(ctx context.Context, mailboxResourceId string, folder string, uid int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// MoveMessage Move message\n\t//\n\t// Move a single message to a target folder.\n\t//\n\t// Takes a body of the `application/json` content type.\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid}/move (the `MoveMessage` operationId).\n\tMoveMessage(ctx context.Context, mailboxResourceId string, folder string, uid int, body MoveMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// GetMessageSource Get message source\n\t//\n\t// Retrieve raw RFC822 source of a message as `message/rfc822` attachment. Does not change the message `\\Seen` flag.\n\t//\n\t// Corresponds with GET /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid}/source (the `GetMessageSource` operationId).\n\tGetMessageSource(ctx context.Context, mailboxResourceId string, folder string, uid int, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// GetMessageText Get message text content\n\t//\n\t// Retrieve rendered text (plain + HTML) of a message. Does not change the message `\\Seen` flag.\n\t//\n\t// Corresponds with GET /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid}/text (the `GetMessageText` operationId).\n\tGetMessageText(ctx context.Context, mailboxResourceId string, folder string, uid int, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// GetQuota Get mailbox quota\n\t//\n\t// Retrieve storage and message quota usage for the managed mailbox.\n\t//\n\t// Corresponds with GET /api/v1/mailboxes/{mailboxResourceId}/quota (the `GetQuota` operationId).\n\tGetQuota(ctx context.Context, mailboxResourceId string, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// SendEmailWithBody Send email\n\t//\n\t// Send a message from the managed mailbox. The message is accepted for delivery and dispatched within a few seconds; a copy is saved to INBOX.Sent once it is sent. A delivery failure after acceptance is not reported on this call.\n\t//\n\t// Takes any type of body and a specified content type.\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/send (the `SendEmail` operationId).\n\tSendEmailWithBody(ctx context.Context, mailboxResourceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// SendEmail Send email\n\t//\n\t// Send a message from the managed mailbox. The message is accepted for delivery and dispatched within a few seconds; a copy is saved to INBOX.Sent once it is sent. A delivery failure after acceptance is not reported on this call.\n\t//\n\t// Takes a body of the `application/json` content type.\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/send (the `SendEmail` operationId).\n\tSendEmail(ctx context.Context, mailboxResourceId string, body SendEmailJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// ListWebhooks List webhooks\n\t//\n\t// List webhooks for a mailbox.\n\t//\n\t// Corresponds with GET /api/v1/mailboxes/{mailboxResourceId}/webhooks (the `ListWebhooks` operationId).\n\tListWebhooks(ctx context.Context, mailboxResourceId string, params *ListWebhooksParams, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// CreateWebhookWithBody Create webhook\n\t//\n\t// Create a webhook. The response includes the one-time `secret` — store it securely as it is never returned again.\n\t//\n\t// Takes any type of body and a specified content type.\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/webhooks (the `CreateWebhook` operationId).\n\tCreateWebhookWithBody(ctx context.Context, mailboxResourceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// CreateWebhook Create webhook\n\t//\n\t// Create a webhook. The response includes the one-time `secret` — store it securely as it is never returned again.\n\t//\n\t// Takes a body of the `application/json` content type.\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/webhooks (the `CreateWebhook` operationId).\n\tCreateWebhook(ctx context.Context, mailboxResourceId string, body CreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// DeleteWebhook Delete webhook\n\t//\n\t// Delete a webhook.\n\t//\n\t// Corresponds with DELETE /api/v1/mailboxes/{mailboxResourceId}/webhooks/{webhook} (the `DeleteWebhook` operationId).\n\tDeleteWebhook(ctx context.Context, mailboxResourceId string, webhook openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// GetWebhook Get webhook\n\t//\n\t// Retrieve a single webhook by id.\n\t//\n\t// Corresponds with GET /api/v1/mailboxes/{mailboxResourceId}/webhooks/{webhook} (the `GetWebhook` operationId).\n\tGetWebhook(ctx context.Context, mailboxResourceId string, webhook openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// UpdateWebhookWithBody Update webhook\n\t//\n\t// Partially update a webhook.\n\t//\n\t// Takes any type of body and a specified content type.\n\t//\n\t// Corresponds with PATCH /api/v1/mailboxes/{mailboxResourceId}/webhooks/{webhook} (the `UpdateWebhook` operationId).\n\tUpdateWebhookWithBody(ctx context.Context, mailboxResourceId string, webhook openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// UpdateWebhook Update webhook\n\t//\n\t// Partially update a webhook.\n\t//\n\t// Takes a body of the `application/json` content type.\n\t//\n\t// Corresponds with PATCH /api/v1/mailboxes/{mailboxResourceId}/webhooks/{webhook} (the `UpdateWebhook` operationId).\n\tUpdateWebhook(ctx context.Context, mailboxResourceId string, webhook openapi_types.UUID, body UpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// RegenerateWebhookSecret Regenerate webhook secret\n\t//\n\t// Regenerate the webhook secret. The previous secret is immediately invalidated. The new secret is returned once.\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/webhooks/{webhook}/regenerate-secret (the `RegenerateWebhookSecret` operationId).\n\tRegenerateWebhookSecret(ctx context.Context, mailboxResourceId string, webhook openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// TestWebhook Test webhook\n\t//\n\t// Send a test delivery to the webhook URL and return the upstream response.\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/webhooks/{webhook}/test (the `TestWebhook` operationId).\n\tTestWebhook(ctx context.Context, mailboxResourceId string, webhook openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)\n\n\t// GetCurrentAccount Get the authenticated account\n\t//\n\t// Returns the authenticated account and the mailboxes it can manage.\n\t//\n\t// Corresponds with GET /api/v1/me (the `GetCurrentAccount` operationId).\n\tGetCurrentAccount(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)\n}\n```\nThe interface specification for the client above.\n\n```go\ntype ClientOption func(*Client) error\n```\nClientOption allows setting custom parameters during construction\n\n```go\nfunc WithBaseURL(baseURL string) ClientOption\n```\nWithBaseURL overrides the baseURL.\n\n```go\nfunc WithHTTPClient(doer HttpRequestDoer) ClientOption\n```\nWithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.\n\n```go\nfunc WithRequestEditorFn(fn RequestEditorFn) ClientOption\n```\nWithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.\n\n```go\ntype ClientWithResponses struct {\n\tClientInterface\n}\n```\nClientWithResponses builds on ClientInterface to offer response payloads\n\n```go\nfunc NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)\n```\nNewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling\n\n```go\nfunc (c *ClientWithResponses) CreateCalendarEventWithBodyWithResponse(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCalendarEventResponse, error)\n```\nCreateCalendarEventWithBodyWithResponse Create calendar event\n\nCreate an event in one calendar of the mailbox. \\`calendarUuid\\` comes from \\`listCalendars\\`: use the calendar with \\`default\\` true unless another one is named. A calendar the mailbox can only read is rejected with \\`403\\` and code \\`ERR\\_EVENT\\_NOT\\_EDITABLE\\`. The mailbox becomes the organizer and every address in \\`attendees\\` immediately receives an email invitation, which cannot be recalled. Without attendees no email is sent. A timed event needs \\`allDay\\` false, \\`start\\`, \\`end\\` and \\`timeZone\\`. An all-day event needs \\`allDay\\` true and a \\`start\\` date; \\`end\\` is optional. Set \\`recurrenceRule\\` for a repeating event and \\`reminder\\` for an alarm. Returns the created event. Its \\`uuid\\` is the \\`eventUuid\\` for \\`getCalendarEvent\\`, \\`updateCalendarEvent\\`, \\`rescheduleCalendarEvent\\` and \\`deleteCalendarEvent\\`.\n\nTakes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events (the \\`CreateCalendarEvent\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) CreateCalendarEventWithResponse(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, body CreateCalendarEventJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCalendarEventResponse, error)\n```\nCreateCalendarEventWithResponse Create calendar event\n\nCreate an event in one calendar of the mailbox. \\`calendarUuid\\` comes from \\`listCalendars\\`: use the calendar with \\`default\\` true unless another one is named. A calendar the mailbox can only read is rejected with \\`403\\` and code \\`ERR\\_EVENT\\_NOT\\_EDITABLE\\`. The mailbox becomes the organizer and every address in \\`attendees\\` immediately receives an email invitation, which cannot be recalled. Without attendees no email is sent. A timed event needs \\`allDay\\` false, \\`start\\`, \\`end\\` and \\`timeZone\\`. An all-day event needs \\`allDay\\` true and a \\`start\\` date; \\`end\\` is optional. Set \\`recurrenceRule\\` for a repeating event and \\`reminder\\` for an alarm. Returns the created event. Its \\`uuid\\` is the \\`eventUuid\\` for \\`getCalendarEvent\\`, \\`updateCalendarEvent\\`, \\`rescheduleCalendarEvent\\` and \\`deleteCalendarEvent\\`.\n\nTakes a body of the \\`application/json\\` content type, and returns a wrapper object for the known response body format(s).\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events (the \\`CreateCalendarEvent\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) CreateCalendarWithBodyWithResponse(ctx context.Context, mailboxResourceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCalendarResponse, error)\n```\nCreateCalendarWithBodyWithResponse Create calendar\n\nCreate a calendar owned by the mailbox. The number of calendars a mailbox can own is limited; when the limit is reached the request fails with \\`400\\` and code \\`ERR\\_CALENDAR\\_LIMIT\\_REACHED\\`.\n\nTakes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/calendars (the \\`CreateCalendar\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) CreateCalendarWithResponse(ctx context.Context, mailboxResourceId string, body CreateCalendarJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCalendarResponse, error)\n```\nCreateCalendarWithResponse Create calendar\n\nCreate a calendar owned by the mailbox. The number of calendars a mailbox can own is limited; when the limit is reached the request fails with \\`400\\` and code \\`ERR\\_CALENDAR\\_LIMIT\\_REACHED\\`.\n\nTakes a body of the \\`application/json\\` content type, and returns a wrapper object for the known response body format(s).\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/calendars (the \\`CreateCalendar\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) CreateFolderWithBodyWithResponse(ctx context.Context, mailboxResourceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFolderResponse, error)\n```\nCreateFolderWithBodyWithResponse Create folder\n\nCreate a new folder in the managed mailbox.\n\nTakes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders (the \\`CreateFolder\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) CreateFolderWithResponse(ctx context.Context, mailboxResourceId string, body CreateFolderJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFolderResponse, error)\n```\nCreateFolderWithResponse Create folder\n\nCreate a new folder in the managed mailbox.\n\nTakes a body of the \\`application/json\\` content type, and returns a wrapper object for the known response body format(s).\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders (the \\`CreateFolder\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) CreateWebhookWithBodyWithResponse(ctx context.Context, mailboxResourceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWebhookResponse, error)\n```\nCreateWebhookWithBodyWithResponse Create webhook\n\nCreate a webhook. The response includes the one-time \\`secret\\` — store it securely as it is never returned again.\n\nTakes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/webhooks (the \\`CreateWebhook\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) CreateWebhookWithResponse(ctx context.Context, mailboxResourceId string, body CreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWebhookResponse, error)\n```\nCreateWebhookWithResponse Create webhook\n\nCreate a webhook. The response includes the one-time \\`secret\\` — store it securely as it is never returned again.\n\nTakes a body of the \\`application/json\\` content type, and returns a wrapper object for the known response body format(s).\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/webhooks (the \\`CreateWebhook\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) DeleteAllMessagesWithResponse(ctx context.Context, mailboxResourceId string, folder string, reqEditors ...RequestEditorFn) (*DeleteAllMessagesResponse, error)\n```\nDeleteAllMessagesWithResponse Delete all messages\n\nPermanently delete every message in a folder (empty the folder).\n\nReturns a wrapper object for the known response body format(s).\n\nCorresponds with DELETE /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages (the \\`DeleteAllMessages\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) DeleteCalendarEventWithResponse(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *DeleteCalendarEventParams, reqEditors ...RequestEditorFn) (*DeleteCalendarEventResponse, error)\n```\nDeleteCalendarEventWithResponse Delete calendar event\n\nDelete an event, one occurrence of a recurring event, or a recurring event from one occurrence on. This cannot be undone. \\`calendarUuid\\` and \\`eventUuid\\` come from \\`listCalendarEvents\\`. For a one-off event omit \\`scope\\` and \\`recurrenceId\\`. For a recurring event, \\`scope\\` \\`this\\` removes only the occurrence at \\`recurrenceId\\`, \\`future\\` removes it and every later one, \\`all\\` (the default) deletes the whole series. An event with \\`editable\\` true can be deleted with any scope, and its attendees receive a cancellation or the updated series by email. An invitation from someone else on the own calendar of the mailbox can be deleted with \\`all\\` or \\`this\\`: the organizer receives a decline for the removed occurrences. Any other event is rejected with \\`403\\` and code \\`ERR\\_EVENT\\_NOT\\_EDITABLE\\`. \\`notifyAttendees\\` false deletes without sending any email.\n\nReturns a wrapper object for the known response body format(s).\n\nCorresponds with DELETE /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events/{eventUuid} (the \\`DeleteCalendarEvent\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) DeleteCalendarWithResponse(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteCalendarResponse, error)\n```\nDeleteCalendarWithResponse Delete calendar\n\nDelete a calendar owned by the mailbox together with all its events, or remove a calendar shared with the mailbox from its list. This cannot be undone. A calendar that cannot be deleted is rejected with \\`403\\` and code \\`ERR\\_CALENDAR\\_NOT\\_DELETABLE\\`.\n\nReturns a wrapper object for the known response body format(s).\n\nCorresponds with DELETE /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid} (the \\`DeleteCalendar\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) DeleteFolderWithResponse(ctx context.Context, mailboxResourceId string, folder string, reqEditors ...RequestEditorFn) (*DeleteFolderResponse, error)\n```\nDeleteFolderWithResponse Delete folder\n\nDelete a folder and all of its subfolders.\n\nReturns a wrapper object for the known response body format(s).\n\nCorresponds with DELETE /api/v1/mailboxes/{mailboxResourceId}/folders/{folder} (the \\`DeleteFolder\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) DeleteMessageWithResponse(ctx context.Context, mailboxResourceId string, folder string, uid int, reqEditors ...RequestEditorFn) (*DeleteMessageResponse, error)\n```\nDeleteMessageWithResponse Delete message\n\nPermanently delete a single message.\n\nReturns a wrapper object for the known response body format(s).\n\nCorresponds with DELETE /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid} (the \\`DeleteMessage\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) DeleteMessagesWithBodyWithResponse(ctx context.Context, mailboxResourceId string, folder string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteMessagesResponse, error)\n```\nDeleteMessagesWithBodyWithResponse Delete messages\n\nPermanently delete multiple messages from a folder.\n\nTakes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/delete (the \\`DeleteMessages\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) DeleteMessagesWithResponse(ctx context.Context, mailboxResourceId string, folder string, body DeleteMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteMessagesResponse, error)\n```\nDeleteMessagesWithResponse Delete messages\n\nPermanently delete multiple messages from a folder.\n\nTakes a body of the \\`application/json\\` content type, and returns a wrapper object for the known response body format(s).\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/delete (the \\`DeleteMessages\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) DeleteWebhookWithResponse(ctx context.Context, mailboxResourceId string, webhook openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteWebhookResponse, error)\n```\nDeleteWebhookWithResponse Delete webhook\n\nDelete a webhook.\n\nReturns a wrapper object for the known response body format(s).\n\nCorresponds with DELETE /api/v1/mailboxes/{mailboxResourceId}/webhooks/{webhook} (the \\`DeleteWebhook\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) GetCalendarEventWithResponse(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *GetCalendarEventParams, reqEditors ...RequestEditorFn) (*GetCalendarEventResponse, error)\n```\nGetCalendarEventWithResponse Get calendar event\n\nRetrieve the full details of one event: title, times, description, location, meeting link, recurrence rule, reminder, organizer, attendees with their answers, and its \\`etag\\`. \\`calendarUuid\\` and \\`eventUuid\\` come from \\`listCalendarEvents\\` (the \\`calendarUuid\\` and \\`uuid\\` of an item). For one occurrence of a recurring event pass the \\`recurrenceId\\` of the item; without it the whole series is returned and \\`recurrenceId\\` is null. A \\`recurrenceId\\` that matches no occurrence returns \\`404\\`. Call it before \\`updateCalendarEvent\\`, which replaces every field, so the values that should stay can be sent back. \\`replyable\\` true means the mailbox was invited by someone else and can answer with \\`replyToCalendarEvent\\`. \\`editable\\` true means the event can be changed or moved.\n\nReturns a wrapper object for the known response body format(s).\n\nCorresponds with GET /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events/{eventUuid} (the \\`GetCalendarEvent\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) GetCalendarWithResponse(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetCalendarResponse, error)\n```\nGetCalendarWithResponse Get calendar\n\nRetrieve one calendar of a mailbox: its name, description, color, whether it is the default calendar and whether it is shown in the calendar view. It does not return events; use \\`listCalendarEvents\\` for those.\n\nReturns a wrapper object for the known response body format(s).\n\nCorresponds with GET /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid} (the \\`GetCalendar\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) GetCurrentAccountWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentAccountResponse, error)\n```\nGetCurrentAccountWithResponse Get the authenticated account\n\nReturns the authenticated account and the mailboxes it can manage.\n\nReturns a wrapper object for the known response body format(s).\n\nCorresponds with GET /api/v1/me (the \\`GetCurrentAccount\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) GetMessageAttachmentWithResponse(ctx context.Context, mailboxResourceId string, folder string, uid int, attachmentId string, reqEditors ...RequestEditorFn) (*GetMessageAttachmentResponse, error)\n```\nGetMessageAttachmentWithResponse Download message attachment\n\nDownload a message attachment as \\`application/octet-stream\\`.\n\nReturns a wrapper object for the known response body format(s).\n\nCorresponds with GET /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid}/attachments/{attachmentId} (the \\`GetMessageAttachment\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) GetMessageSourceWithResponse(ctx context.Context, mailboxResourceId string, folder string, uid int, reqEditors ...RequestEditorFn) (*GetMessageSourceResponse, error)\n```\nGetMessageSourceWithResponse Get message source\n\nRetrieve raw RFC822 source of a message as \\`message/rfc822\\` attachment. Does not change the message \\`\\\\Seen\\` flag.\n\nReturns a wrapper object for the known response body format(s).\n\nCorresponds with GET /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid}/source (the \\`GetMessageSource\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) GetMessageTextWithResponse(ctx context.Context, mailboxResourceId string, folder string, uid int, reqEditors ...RequestEditorFn) (*GetMessageTextResponse, error)\n```\nGetMessageTextWithResponse Get message text content\n\nRetrieve rendered text (plain + HTML) of a message. Does not change the message \\`\\\\Seen\\` flag.\n\nReturns a wrapper object for the known response body format(s).\n\nCorresponds with GET /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid}/text (the \\`GetMessageText\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) GetMessageWithResponse(ctx context.Context, mailboxResourceId string, folder string, uid int, reqEditors ...RequestEditorFn) (*GetMessageResponse, error)\n```\nGetMessageWithResponse Get message\n\nRetrieve a single message by UID.\n\nReturns a wrapper object for the known response body format(s).\n\nCorresponds with GET /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid} (the \\`GetMessage\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) GetQuotaWithResponse(ctx context.Context, mailboxResourceId string, reqEditors ...RequestEditorFn) (*GetQuotaResponse, error)\n```\nGetQuotaWithResponse Get mailbox quota\n\nRetrieve storage and message quota usage for the managed mailbox.\n\nReturns a wrapper object for the known response body format(s).\n\nCorresponds with GET /api/v1/mailboxes/{mailboxResourceId}/quota (the \\`GetQuota\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) GetWebhookWithResponse(ctx context.Context, mailboxResourceId string, webhook openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetWebhookResponse, error)\n```\nGetWebhookWithResponse Get webhook\n\nRetrieve a single webhook by id.\n\nReturns a wrapper object for the known response body format(s).\n\nCorresponds with GET /api/v1/mailboxes/{mailboxResourceId}/webhooks/{webhook} (the \\`GetWebhook\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) ListCalendarEventsWithResponse(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, params *ListCalendarEventsParams, reqEditors ...RequestEditorFn) (*ListCalendarEventsResponse, error)\n```\nListCalendarEventsWithResponse List calendar events\n\nList the events of one calendar that overlap a time range. It covers one calendar only: get the calendars from \\`listCalendars\\` and call it for each. The range runs from \\`start\\` (inclusive) to \\`end\\` (exclusive), at most 32 days; for a longer period call it again with the next range. Recurring events are expanded: each occurrence is a separate item with the same \\`uuid\\` and its own \\`recurrenceId\\`. Results are not paginated. Items hold summary fields only. For description, location, attendees and organizer call \\`getCalendarEvent\\` with the \\`calendarUuid\\`, \\`uuid\\` (as \\`eventUuid\\`) and \\`recurrenceId\\` of the item. Times are in UTC; \\`timeZone\\` is the zone the event was created in. \\`participationStatus\\` is the answer of the mailbox to an invitation from someone else, null for its own events. \\`status\\` CANCELLED means the organizer cancelled the event.\n\nReturns a wrapper object for the known response body format(s).\n\nCorresponds with GET /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events (the \\`ListCalendarEvents\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) ListCalendarsWithResponse(ctx context.Context, mailboxResourceId string, params *ListCalendarsParams, reqEditors ...RequestEditorFn) (*ListCalendarsResponse, error)\n```\nListCalendarsWithResponse List calendars\n\nList the calendars of a mailbox: its own calendars and the calendars shared with it, in display order. Call it first to get the \\`calendarUuid\\` every calendar event operation needs: the \\`uuid\\` of each calendar. The calendar with \\`default\\` true is where new events go unless another one is named. \\`visible\\` false means the calendar is hidden in the calendar view; its events still exist.\n\nReturns a wrapper object for the known response body format(s).\n\nCorresponds with GET /api/v1/mailboxes/{mailboxResourceId}/calendars (the \\`ListCalendars\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) ListFoldersWithResponse(ctx context.Context, mailboxResourceId string, params *ListFoldersParams, reqEditors ...RequestEditorFn) (*ListFoldersResponse, error)\n```\nListFoldersWithResponse List folders\n\nRetrieve a paginated list of folders in the managed mailbox.\n\nReturns a wrapper object for the known response body format(s).\n\nCorresponds with GET /api/v1/mailboxes/{mailboxResourceId}/folders (the \\`ListFolders\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) ListMessagesWithResponse(ctx context.Context, mailboxResourceId string, folder string, params *ListMessagesParams, reqEditors ...RequestEditorFn) (*ListMessagesResponse, error)\n```\nListMessagesWithResponse List messages\n\nList messages in a folder. Use POST /search for filtering. Sort fields: uid, date, size (prefix with \\`-\\` for descending). Default \\`-uid\\`.\n\nReturns a wrapper object for the known response body format(s).\n\nCorresponds with GET /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages (the \\`ListMessages\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) ListWebhooksWithResponse(ctx context.Context, mailboxResourceId string, params *ListWebhooksParams, reqEditors ...RequestEditorFn) (*ListWebhooksResponse, error)\n```\nListWebhooksWithResponse List webhooks\n\nList webhooks for a mailbox.\n\nReturns a wrapper object for the known response body format(s).\n\nCorresponds with GET /api/v1/mailboxes/{mailboxResourceId}/webhooks (the \\`ListWebhooks\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) MoveMessageWithBodyWithResponse(ctx context.Context, mailboxResourceId string, folder string, uid int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MoveMessageResponse, error)\n```\nMoveMessageWithBodyWithResponse Move message\n\nMove a single message to a target folder.\n\nTakes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid}/move (the \\`MoveMessage\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) MoveMessageWithResponse(ctx context.Context, mailboxResourceId string, folder string, uid int, body MoveMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*MoveMessageResponse, error)\n```\nMoveMessageWithResponse Move message\n\nMove a single message to a target folder.\n\nTakes a body of the \\`application/json\\` content type, and returns a wrapper object for the known response body format(s).\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid}/move (the \\`MoveMessage\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) MoveMessagesWithBodyWithResponse(ctx context.Context, mailboxResourceId string, folder string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MoveMessagesResponse, error)\n```\nMoveMessagesWithBodyWithResponse Move messages\n\nMove multiple messages from a source folder to a target folder.\n\nTakes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/move (the \\`MoveMessages\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) MoveMessagesWithResponse(ctx context.Context, mailboxResourceId string, folder string, body MoveMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*MoveMessagesResponse, error)\n```\nMoveMessagesWithResponse Move messages\n\nMove multiple messages from a source folder to a target folder.\n\nTakes a body of the \\`application/json\\` content type, and returns a wrapper object for the known response body format(s).\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/move (the \\`MoveMessages\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) PatchMessageWithBodyWithResponse(ctx context.Context, mailboxResourceId string, folder string, uid int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchMessageResponse, error)\n```\nPatchMessageWithBodyWithResponse Update message flags\n\nAdd and/or remove flags on a single message. Returns the updated message.\n\nTakes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).\n\nCorresponds with PATCH /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid} (the \\`PatchMessage\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) PatchMessageWithResponse(ctx context.Context, mailboxResourceId string, folder string, uid int, body PatchMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchMessageResponse, error)\n```\nPatchMessageWithResponse Update message flags\n\nAdd and/or remove flags on a single message. Returns the updated message.\n\nTakes a body of the \\`application/json\\` content type, and returns a wrapper object for the known response body format(s).\n\nCorresponds with PATCH /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid} (the \\`PatchMessage\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) RegenerateWebhookSecretWithResponse(ctx context.Context, mailboxResourceId string, webhook openapi_types.UUID, reqEditors ...RequestEditorFn) (*RegenerateWebhookSecretResponse, error)\n```\nRegenerateWebhookSecretWithResponse Regenerate webhook secret\n\nRegenerate the webhook secret. The previous secret is immediately invalidated. The new secret is returned once.\n\nReturns a wrapper object for the known response body format(s).\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/webhooks/{webhook}/regenerate-secret (the \\`RegenerateWebhookSecret\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) ReplyToCalendarEventWithBodyWithResponse(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *ReplyToCalendarEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplyToCalendarEventResponse, error)\n```\nReplyToCalendarEventWithBodyWithResponse Reply to calendar event\n\nAnswer an invitation from someone else: accept, decline or tentatively accept. It saves the answer on the event and emails it to the organizer, which cannot be recalled. \\`calendarUuid\\` and \\`eventUuid\\` come from \\`listCalendarEvents\\`. It works only when \\`getCalendarEvent\\` returns \\`replyable\\` true. An event the mailbox organizes or is not invited to is rejected with \\`403\\` and code \\`ERR\\_EVENT\\_NOT\\_REPLYABLE\\`, an event the organizer cancelled with \\`409\\` and code \\`ERR\\_EVENT\\_CANCELLED\\`. Send the \\`recurrenceId\\` of an item to answer one occurrence of a recurring event, or omit it to answer the whole series. Returns the event with the new \\`participationStatus\\`.\n\nTakes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events/{eventUuid}/reply (the \\`ReplyToCalendarEvent\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) ReplyToCalendarEventWithResponse(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *ReplyToCalendarEventParams, body ReplyToCalendarEventJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplyToCalendarEventResponse, error)\n```\nReplyToCalendarEventWithResponse Reply to calendar event\n\nAnswer an invitation from someone else: accept, decline or tentatively accept. It saves the answer on the event and emails it to the organizer, which cannot be recalled. \\`calendarUuid\\` and \\`eventUuid\\` come from \\`listCalendarEvents\\`. It works only when \\`getCalendarEvent\\` returns \\`replyable\\` true. An event the mailbox organizes or is not invited to is rejected with \\`403\\` and code \\`ERR\\_EVENT\\_NOT\\_REPLYABLE\\`, an event the organizer cancelled with \\`409\\` and code \\`ERR\\_EVENT\\_CANCELLED\\`. Send the \\`recurrenceId\\` of an item to answer one occurrence of a recurring event, or omit it to answer the whole series. Returns the event with the new \\`participationStatus\\`.\n\nTakes a body of the \\`application/json\\` content type, and returns a wrapper object for the known response body format(s).\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events/{eventUuid}/reply (the \\`ReplyToCalendarEvent\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) RescheduleCalendarEventWithBodyWithResponse(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *RescheduleCalendarEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RescheduleCalendarEventResponse, error)\n```\nRescheduleCalendarEventWithBodyWithResponse Reschedule calendar event\n\nMove an event to another time or change its length, keeping everything else (title, attendees, description and so on) as stored, so the event does not have to be fetched first. To change other fields use \\`updateCalendarEvent\\`. \\`calendarUuid\\` and \\`eventUuid\\` come from \\`listCalendarEvents\\`. Only an event with \\`editable\\` true can be moved; any other is rejected with \\`403\\` and code \\`ERR\\_EVENT\\_NOT\\_EDITABLE\\`. For a recurring event, \\`scope\\` \\`this\\` moves only the occurrence at \\`recurrenceId\\`, \\`future\\` ends the series before that occurrence and starts a new one with a new \\`uuid\\`, \\`all\\` (the default) moves the whole series: only the time of day and the length apply and the series keeps the date of its first occurrence. Attendees receive an email update unless \\`notifyAttendees\\` is false. Returns the moved event, or the moved occurrence for \\`scope\\` \\`this\\`.\n\nTakes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).\n\nCorresponds with PUT /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events/{eventUuid}/reschedule (the \\`RescheduleCalendarEvent\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) RescheduleCalendarEventWithResponse(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *RescheduleCalendarEventParams, body RescheduleCalendarEventJSONRequestBody, reqEditors ...RequestEditorFn) (*RescheduleCalendarEventResponse, error)\n```\nRescheduleCalendarEventWithResponse Reschedule calendar event\n\nMove an event to another time or change its length, keeping everything else (title, attendees, description and so on) as stored, so the event does not have to be fetched first. To change other fields use \\`updateCalendarEvent\\`. \\`calendarUuid\\` and \\`eventUuid\\` come from \\`listCalendarEvents\\`. Only an event with \\`editable\\` true can be moved; any other is rejected with \\`403\\` and code \\`ERR\\_EVENT\\_NOT\\_EDITABLE\\`. For a recurring event, \\`scope\\` \\`this\\` moves only the occurrence at \\`recurrenceId\\`, \\`future\\` ends the series before that occurrence and starts a new one with a new \\`uuid\\`, \\`all\\` (the default) moves the whole series: only the time of day and the length apply and the series keeps the date of its first occurrence. Attendees receive an email update unless \\`notifyAttendees\\` is false. Returns the moved event, or the moved occurrence for \\`scope\\` \\`this\\`.\n\nTakes a body of the \\`application/json\\` content type, and returns a wrapper object for the known response body format(s).\n\nCorresponds with PUT /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events/{eventUuid}/reschedule (the \\`RescheduleCalendarEvent\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) SearchMessagesWithBodyWithResponse(ctx context.Context, mailboxResourceId string, folder string, params *SearchMessagesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchMessagesResponse, error)\n```\nSearchMessagesWithBodyWithResponse Search messages\n\nSearch messages in a folder. Filters in body; pagination and sort via query (\\`page\\`, \\`perPage\\`, \\`sort\\`).\n\nTakes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/search (the \\`SearchMessages\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) SearchMessagesWithResponse(ctx context.Context, mailboxResourceId string, folder string, params *SearchMessagesParams, body SearchMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchMessagesResponse, error)\n```\nSearchMessagesWithResponse Search messages\n\nSearch messages in a folder. Filters in body; pagination and sort via query (\\`page\\`, \\`perPage\\`, \\`sort\\`).\n\nTakes a body of the \\`application/json\\` content type, and returns a wrapper object for the known response body format(s).\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/search (the \\`SearchMessages\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) SendEmailWithBodyWithResponse(ctx context.Context, mailboxResourceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendEmailResponse, error)\n```\nSendEmailWithBodyWithResponse Send email\n\nSend a message from the managed mailbox. The message is accepted for delivery and dispatched within a few seconds; a copy is saved to INBOX.Sent once it is sent. A delivery failure after acceptance is not reported on this call.\n\nTakes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/send (the \\`SendEmail\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) SendEmailWithResponse(ctx context.Context, mailboxResourceId string, body SendEmailJSONRequestBody, reqEditors ...RequestEditorFn) (*SendEmailResponse, error)\n```\nSendEmailWithResponse Send email\n\nSend a message from the managed mailbox. The message is accepted for delivery and dispatched within a few seconds; a copy is saved to INBOX.Sent once it is sent. A delivery failure after acceptance is not reported on this call.\n\nTakes a body of the \\`application/json\\` content type, and returns a wrapper object for the known response body format(s).\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/send (the \\`SendEmail\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) SubmitFeedbackWithBodyWithResponse(ctx context.Context, mailboxResourceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SubmitFeedbackResponse, error)\n```\nSubmitFeedbackWithBodyWithResponse Submit feedback\n\nSend the user's feedback about the Hostinger Email API to the Hostinger mail team.\n\nOnly call this when the user explicitly asks to send feedback, report a problem, or request a feature. Send the user's own words; never include tokens, passwords or email contents. The message is capped at 2000 characters.\n\nA \\`429\\` (\\`ERR\\_FEEDBACK\\_RATE\\_LIMIT\\`) means feedback for this customer was submitted less than ten seconds ago; wait and retry.\n\nTakes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/feedback (the \\`SubmitFeedback\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) SubmitFeedbackWithResponse(ctx context.Context, mailboxResourceId string, body SubmitFeedbackJSONRequestBody, reqEditors ...RequestEditorFn) (*SubmitFeedbackResponse, error)\n```\nSubmitFeedbackWithResponse Submit feedback\n\nSend the user's feedback about the Hostinger Email API to the Hostinger mail team.\n\nOnly call this when the user explicitly asks to send feedback, report a problem, or request a feature. Send the user's own words; never include tokens, passwords or email contents. The message is capped at 2000 characters.\n\nA \\`429\\` (\\`ERR\\_FEEDBACK\\_RATE\\_LIMIT\\`) means feedback for this customer was submitted less than ten seconds ago; wait and retry.\n\nTakes a body of the \\`application/json\\` content type, and returns a wrapper object for the known response body format(s).\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/feedback (the \\`SubmitFeedback\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) TestWebhookWithResponse(ctx context.Context, mailboxResourceId string, webhook openapi_types.UUID, reqEditors ...RequestEditorFn) (*TestWebhookResponse, error)\n```\nTestWebhookWithResponse Test webhook\n\nSend a test delivery to the webhook URL and return the upstream response.\n\nReturns a wrapper object for the known response body format(s).\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/webhooks/{webhook}/test (the \\`TestWebhook\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) UpdateCalendarEventWithBodyWithResponse(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *UpdateCalendarEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCalendarEventResponse, error)\n```\nUpdateCalendarEventWithBodyWithResponse Update calendar event\n\nChange the details of an event: title, times, description, location, attendees, recurrence and so on. Every field replaces the stored value and an omitted optional field is cleared, so call \\`getCalendarEvent\\` first and send back the values that should stay. To only move an event in time, use \\`rescheduleCalendarEvent\\`. Only an event with \\`editable\\` true can be changed; any other is rejected with \\`403\\` and code \\`ERR\\_EVENT\\_NOT\\_EDITABLE\\`. For a recurring event, \\`scope\\` \\`this\\` changes only the occurrence at \\`recurrenceId\\`, \\`future\\` ends the series before that occurrence and starts a new one with a new \\`uuid\\`, \\`all\\` (the default) changes the whole series, keeping the date of its first occurrence. Attendees receive an email update, added attendees an invitation and removed ones a cancellation, unless \\`notifyAttendees\\` is false. Returns the changed event, or the changed occurrence for \\`scope\\` \\`this\\`.\n\nTakes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).\n\nCorresponds with PUT /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events/{eventUuid} (the \\`UpdateCalendarEvent\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) UpdateCalendarEventWithResponse(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *UpdateCalendarEventParams, body UpdateCalendarEventJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCalendarEventResponse, error)\n```\nUpdateCalendarEventWithResponse Update calendar event\n\nChange the details of an event: title, times, description, location, attendees, recurrence and so on. Every field replaces the stored value and an omitted optional field is cleared, so call \\`getCalendarEvent\\` first and send back the values that should stay. To only move an event in time, use \\`rescheduleCalendarEvent\\`. Only an event with \\`editable\\` true can be changed; any other is rejected with \\`403\\` and code \\`ERR\\_EVENT\\_NOT\\_EDITABLE\\`. For a recurring event, \\`scope\\` \\`this\\` changes only the occurrence at \\`recurrenceId\\`, \\`future\\` ends the series before that occurrence and starts a new one with a new \\`uuid\\`, \\`all\\` (the default) changes the whole series, keeping the date of its first occurrence. Attendees receive an email update, added attendees an invitation and removed ones a cancellation, unless \\`notifyAttendees\\` is false. Returns the changed event, or the changed occurrence for \\`scope\\` \\`this\\`.\n\nTakes a body of the \\`application/json\\` content type, and returns a wrapper object for the known response body format(s).\n\nCorresponds with PUT /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events/{eventUuid} (the \\`UpdateCalendarEvent\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) UpdateCalendarWithBodyWithResponse(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCalendarResponse, error)\n```\nUpdateCalendarWithBodyWithResponse Update calendar\n\nUpdate the name, description, color and visibility of a calendar. Name, description and color replace the stored values: an omitted \\`description\\` is cleared and an omitted \\`color\\` resets to the default color. An omitted \\`visible\\` keeps the current value.\n\nTakes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).\n\nCorresponds with PUT /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid} (the \\`UpdateCalendar\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) UpdateCalendarWithResponse(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, body UpdateCalendarJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCalendarResponse, error)\n```\nUpdateCalendarWithResponse Update calendar\n\nUpdate the name, description, color and visibility of a calendar. Name, description and color replace the stored values: an omitted \\`description\\` is cleared and an omitted \\`color\\` resets to the default color. An omitted \\`visible\\` keeps the current value.\n\nTakes a body of the \\`application/json\\` content type, and returns a wrapper object for the known response body format(s).\n\nCorresponds with PUT /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid} (the \\`UpdateCalendar\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) UpdateFolderWithBodyWithResponse(ctx context.Context, mailboxResourceId string, folder string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFolderResponse, error)\n```\nUpdateFolderWithBodyWithResponse Update folder\n\nRename an existing folder.\n\nTakes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).\n\nCorresponds with PUT /api/v1/mailboxes/{mailboxResourceId}/folders/{folder} (the \\`UpdateFolder\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) UpdateFolderWithResponse(ctx context.Context, mailboxResourceId string, folder string, body UpdateFolderJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateFolderResponse, error)\n```\nUpdateFolderWithResponse Update folder\n\nRename an existing folder.\n\nTakes a body of the \\`application/json\\` content type, and returns a wrapper object for the known response body format(s).\n\nCorresponds with PUT /api/v1/mailboxes/{mailboxResourceId}/folders/{folder} (the \\`UpdateFolder\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) UpdateMessageFlagsWithBodyWithResponse(ctx context.Context, mailboxResourceId string, folder string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMessageFlagsResponse, error)\n```\nUpdateMessageFlagsWithBodyWithResponse Update flags on multiple messages\n\nAdd and/or remove flags on multiple messages. Returns 200 when all UIDs succeed, 207 with per-UID outcome when some fail.\n\nTakes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/flags (the \\`UpdateMessageFlags\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) UpdateMessageFlagsWithResponse(ctx context.Context, mailboxResourceId string, folder string, body UpdateMessageFlagsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMessageFlagsResponse, error)\n```\nUpdateMessageFlagsWithResponse Update flags on multiple messages\n\nAdd and/or remove flags on multiple messages. Returns 200 when all UIDs succeed, 207 with per-UID outcome when some fail.\n\nTakes a body of the \\`application/json\\` content type, and returns a wrapper object for the known response body format(s).\n\nCorresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/flags (the \\`UpdateMessageFlags\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) UpdateWebhookWithBodyWithResponse(ctx context.Context, mailboxResourceId string, webhook openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWebhookResponse, error)\n```\nUpdateWebhookWithBodyWithResponse Update webhook\n\nPartially update a webhook.\n\nTakes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).\n\nCorresponds with PATCH /api/v1/mailboxes/{mailboxResourceId}/webhooks/{webhook} (the \\`UpdateWebhook\\` operationId).\n\n```go\nfunc (c *ClientWithResponses) UpdateWebhookWithResponse(ctx context.Context, mailboxResourceId string, webhook openapi_types.UUID, body UpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWebhookResponse, error)\n```\nUpdateWebhookWithResponse Update webhook\n\nPartially update a webhook.\n\nTakes a body of the \\`application/json\\` content type, and returns a wrapper object for the known response body format(s).\n\nCorresponds with PATCH /api/v1/mailboxes/{mailboxResourceId}/webhooks/{webhook} (the \\`UpdateWebhook\\` operationId).\n\n```go\ntype ClientWithResponsesInterface interface {\n\n\t// ListCalendarsWithResponse List calendars\n\t//\n\t// List the calendars of a mailbox: its own calendars and the calendars shared with it, in display order. Call it first to get the `calendarUuid` every calendar event operation needs: the `uuid` of each calendar. The calendar with `default` true is where new events go unless another one is named. `visible` false means the calendar is hidden in the calendar view; its events still exist.\n\t//\n\t// Returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with GET /api/v1/mailboxes/{mailboxResourceId}/calendars (the `ListCalendars` operationId).\n\tListCalendarsWithResponse(ctx context.Context, mailboxResourceId string, params *ListCalendarsParams, reqEditors ...RequestEditorFn) (*ListCalendarsResponse, error)\n\n\t// CreateCalendarWithBodyWithResponse Create calendar\n\t//\n\t// Create a calendar owned by the mailbox. The number of calendars a mailbox can own is limited; when the limit is reached the request fails with `400` and code `ERR_CALENDAR_LIMIT_REACHED`.\n\t//\n\t// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/calendars (the `CreateCalendar` operationId).\n\tCreateCalendarWithBodyWithResponse(ctx context.Context, mailboxResourceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCalendarResponse, error)\n\n\t// CreateCalendarWithResponse Create calendar\n\t//\n\t// Create a calendar owned by the mailbox. The number of calendars a mailbox can own is limited; when the limit is reached the request fails with `400` and code `ERR_CALENDAR_LIMIT_REACHED`.\n\t//\n\t// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/calendars (the `CreateCalendar` operationId).\n\tCreateCalendarWithResponse(ctx context.Context, mailboxResourceId string, body CreateCalendarJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCalendarResponse, error)\n\n\t// DeleteCalendarWithResponse Delete calendar\n\t//\n\t// Delete a calendar owned by the mailbox together with all its events, or remove a calendar shared with the mailbox from its list. This cannot be undone. A calendar that cannot be deleted is rejected with `403` and code `ERR_CALENDAR_NOT_DELETABLE`.\n\t//\n\t// Returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with DELETE /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid} (the `DeleteCalendar` operationId).\n\tDeleteCalendarWithResponse(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteCalendarResponse, error)\n\n\t// GetCalendarWithResponse Get calendar\n\t//\n\t// Retrieve one calendar of a mailbox: its name, description, color, whether it is the default calendar and whether it is shown in the calendar view. It does not return events; use `listCalendarEvents` for those.\n\t//\n\t// Returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with GET /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid} (the `GetCalendar` operationId).\n\tGetCalendarWithResponse(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetCalendarResponse, error)\n\n\t// UpdateCalendarWithBodyWithResponse Update calendar\n\t//\n\t// Update the name, description, color and visibility of a calendar. Name, description and color replace the stored values: an omitted `description` is cleared and an omitted `color` resets to the default color. An omitted `visible` keeps the current value.\n\t//\n\t// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with PUT /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid} (the `UpdateCalendar` operationId).\n\tUpdateCalendarWithBodyWithResponse(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCalendarResponse, error)\n\n\t// UpdateCalendarWithResponse Update calendar\n\t//\n\t// Update the name, description, color and visibility of a calendar. Name, description and color replace the stored values: an omitted `description` is cleared and an omitted `color` resets to the default color. An omitted `visible` keeps the current value.\n\t//\n\t// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with PUT /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid} (the `UpdateCalendar` operationId).\n\tUpdateCalendarWithResponse(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, body UpdateCalendarJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCalendarResponse, error)\n\n\t// ListCalendarEventsWithResponse List calendar events\n\t//\n\t// List the events of one calendar that overlap a time range. It covers one calendar only: get the calendars from `listCalendars` and call it for each. The range runs from `start` (inclusive) to `end` (exclusive), at most 32 days; for a longer period call it again with the next range. Recurring events are expanded: each occurrence is a separate item with the same `uuid` and its own `recurrenceId`. Results are not paginated.\n\t// Items hold summary fields only. For description, location, attendees and organizer call `getCalendarEvent` with the `calendarUuid`, `uuid` (as `eventUuid`) and `recurrenceId` of the item. Times are in UTC; `timeZone` is the zone the event was created in. `participationStatus` is the answer of the mailbox to an invitation from someone else, null for its own events. `status` CANCELLED means the organizer cancelled the event.\n\t//\n\t// Returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with GET /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events (the `ListCalendarEvents` operationId).\n\tListCalendarEventsWithResponse(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, params *ListCalendarEventsParams, reqEditors ...RequestEditorFn) (*ListCalendarEventsResponse, error)\n\n\t// CreateCalendarEventWithBodyWithResponse Create calendar event\n\t//\n\t// Create an event in one calendar of the mailbox. `calendarUuid` comes from `listCalendars`: use the calendar with `default` true unless another one is named. A calendar the mailbox can only read is rejected with `403` and code `ERR_EVENT_NOT_EDITABLE`.\n\t// The mailbox becomes the organizer and every address in `attendees` immediately receives an email invitation, which cannot be recalled. Without attendees no email is sent.\n\t// A timed event needs `allDay` false, `start`, `end` and `timeZone`. An all-day event needs `allDay` true and a `start` date; `end` is optional. Set `recurrenceRule` for a repeating event and `reminder` for an alarm.\n\t// Returns the created event. Its `uuid` is the `eventUuid` for `getCalendarEvent`, `updateCalendarEvent`, `rescheduleCalendarEvent` and `deleteCalendarEvent`.\n\t//\n\t// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events (the `CreateCalendarEvent` operationId).\n\tCreateCalendarEventWithBodyWithResponse(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCalendarEventResponse, error)\n\n\t// CreateCalendarEventWithResponse Create calendar event\n\t//\n\t// Create an event in one calendar of the mailbox. `calendarUuid` comes from `listCalendars`: use the calendar with `default` true unless another one is named. A calendar the mailbox can only read is rejected with `403` and code `ERR_EVENT_NOT_EDITABLE`.\n\t// The mailbox becomes the organizer and every address in `attendees` immediately receives an email invitation, which cannot be recalled. Without attendees no email is sent.\n\t// A timed event needs `allDay` false, `start`, `end` and `timeZone`. An all-day event needs `allDay` true and a `start` date; `end` is optional. Set `recurrenceRule` for a repeating event and `reminder` for an alarm.\n\t// Returns the created event. Its `uuid` is the `eventUuid` for `getCalendarEvent`, `updateCalendarEvent`, `rescheduleCalendarEvent` and `deleteCalendarEvent`.\n\t//\n\t// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events (the `CreateCalendarEvent` operationId).\n\tCreateCalendarEventWithResponse(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, body CreateCalendarEventJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCalendarEventResponse, error)\n\n\t// DeleteCalendarEventWithResponse Delete calendar event\n\t//\n\t// Delete an event, one occurrence of a recurring event, or a recurring event from one occurrence on. This cannot be undone. `calendarUuid` and `eventUuid` come from `listCalendarEvents`.\n\t// For a one-off event omit `scope` and `recurrenceId`. For a recurring event, `scope` `this` removes only the occurrence at `recurrenceId`, `future` removes it and every later one, `all` (the default) deletes the whole series.\n\t// An event with `editable` true can be deleted with any scope, and its attendees receive a cancellation or the updated series by email. An invitation from someone else on the own calendar of the mailbox can be deleted with `all` or `this`: the organizer receives a decline for the removed occurrences. Any other event is rejected with `403` and code `ERR_EVENT_NOT_EDITABLE`. `notifyAttendees` false deletes without sending any email.\n\t//\n\t// Returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with DELETE /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events/{eventUuid} (the `DeleteCalendarEvent` operationId).\n\tDeleteCalendarEventWithResponse(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *DeleteCalendarEventParams, reqEditors ...RequestEditorFn) (*DeleteCalendarEventResponse, error)\n\n\t// GetCalendarEventWithResponse Get calendar event\n\t//\n\t// Retrieve the full details of one event: title, times, description, location, meeting link, recurrence rule, reminder, organizer, attendees with their answers, and its `etag`. `calendarUuid` and `eventUuid` come from `listCalendarEvents` (the `calendarUuid` and `uuid` of an item). For one occurrence of a recurring event pass the `recurrenceId` of the item; without it the whole series is returned and `recurrenceId` is null. A `recurrenceId` that matches no occurrence returns `404`.\n\t// Call it before `updateCalendarEvent`, which replaces every field, so the values that should stay can be sent back. `replyable` true means the mailbox was invited by someone else and can answer with `replyToCalendarEvent`. `editable` true means the event can be changed or moved.\n\t//\n\t// Returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with GET /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events/{eventUuid} (the `GetCalendarEvent` operationId).\n\tGetCalendarEventWithResponse(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *GetCalendarEventParams, reqEditors ...RequestEditorFn) (*GetCalendarEventResponse, error)\n\n\t// UpdateCalendarEventWithBodyWithResponse Update calendar event\n\t//\n\t// Change the details of an event: title, times, description, location, attendees, recurrence and so on. Every field replaces the stored value and an omitted optional field is cleared, so call `getCalendarEvent` first and send back the values that should stay. To only move an event in time, use `rescheduleCalendarEvent`. Only an event with `editable` true can be changed; any other is rejected with `403` and code `ERR_EVENT_NOT_EDITABLE`.\n\t// For a recurring event, `scope` `this` changes only the occurrence at `recurrenceId`, `future` ends the series before that occurrence and starts a new one with a new `uuid`, `all` (the default) changes the whole series, keeping the date of its first occurrence.\n\t// Attendees receive an email update, added attendees an invitation and removed ones a cancellation, unless `notifyAttendees` is false. Returns the changed event, or the changed occurrence for `scope` `this`.\n\t//\n\t// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with PUT /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events/{eventUuid} (the `UpdateCalendarEvent` operationId).\n\tUpdateCalendarEventWithBodyWithResponse(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *UpdateCalendarEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCalendarEventResponse, error)\n\n\t// UpdateCalendarEventWithResponse Update calendar event\n\t//\n\t// Change the details of an event: title, times, description, location, attendees, recurrence and so on. Every field replaces the stored value and an omitted optional field is cleared, so call `getCalendarEvent` first and send back the values that should stay. To only move an event in time, use `rescheduleCalendarEvent`. Only an event with `editable` true can be changed; any other is rejected with `403` and code `ERR_EVENT_NOT_EDITABLE`.\n\t// For a recurring event, `scope` `this` changes only the occurrence at `recurrenceId`, `future` ends the series before that occurrence and starts a new one with a new `uuid`, `all` (the default) changes the whole series, keeping the date of its first occurrence.\n\t// Attendees receive an email update, added attendees an invitation and removed ones a cancellation, unless `notifyAttendees` is false. Returns the changed event, or the changed occurrence for `scope` `this`.\n\t//\n\t// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with PUT /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events/{eventUuid} (the `UpdateCalendarEvent` operationId).\n\tUpdateCalendarEventWithResponse(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *UpdateCalendarEventParams, body UpdateCalendarEventJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCalendarEventResponse, error)\n\n\t// ReplyToCalendarEventWithBodyWithResponse Reply to calendar event\n\t//\n\t// Answer an invitation from someone else: accept, decline or tentatively accept. It saves the answer on the event and emails it to the organizer, which cannot be recalled. `calendarUuid` and `eventUuid` come from `listCalendarEvents`.\n\t// It works only when `getCalendarEvent` returns `replyable` true. An event the mailbox organizes or is not invited to is rejected with `403` and code `ERR_EVENT_NOT_REPLYABLE`, an event the organizer cancelled with `409` and code `ERR_EVENT_CANCELLED`. Send the `recurrenceId` of an item to answer one occurrence of a recurring event, or omit it to answer the whole series. Returns the event with the new `participationStatus`.\n\t//\n\t// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events/{eventUuid}/reply (the `ReplyToCalendarEvent` operationId).\n\tReplyToCalendarEventWithBodyWithResponse(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *ReplyToCalendarEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplyToCalendarEventResponse, error)\n\n\t// ReplyToCalendarEventWithResponse Reply to calendar event\n\t//\n\t// Answer an invitation from someone else: accept, decline or tentatively accept. It saves the answer on the event and emails it to the organizer, which cannot be recalled. `calendarUuid` and `eventUuid` come from `listCalendarEvents`.\n\t// It works only when `getCalendarEvent` returns `replyable` true. An event the mailbox organizes or is not invited to is rejected with `403` and code `ERR_EVENT_NOT_REPLYABLE`, an event the organizer cancelled with `409` and code `ERR_EVENT_CANCELLED`. Send the `recurrenceId` of an item to answer one occurrence of a recurring event, or omit it to answer the whole series. Returns the event with the new `participationStatus`.\n\t//\n\t// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events/{eventUuid}/reply (the `ReplyToCalendarEvent` operationId).\n\tReplyToCalendarEventWithResponse(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *ReplyToCalendarEventParams, body ReplyToCalendarEventJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplyToCalendarEventResponse, error)\n\n\t// RescheduleCalendarEventWithBodyWithResponse Reschedule calendar event\n\t//\n\t// Move an event to another time or change its length, keeping everything else (title, attendees, description and so on) as stored, so the event does not have to be fetched first. To change other fields use `updateCalendarEvent`. `calendarUuid` and `eventUuid` come from `listCalendarEvents`. Only an event with `editable` true can be moved; any other is rejected with `403` and code `ERR_EVENT_NOT_EDITABLE`.\n\t// For a recurring event, `scope` `this` moves only the occurrence at `recurrenceId`, `future` ends the series before that occurrence and starts a new one with a new `uuid`, `all` (the default) moves the whole series: only the time of day and the length apply and the series keeps the date of its first occurrence.\n\t// Attendees receive an email update unless `notifyAttendees` is false. Returns the moved event, or the moved occurrence for `scope` `this`.\n\t//\n\t// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with PUT /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events/{eventUuid}/reschedule (the `RescheduleCalendarEvent` operationId).\n\tRescheduleCalendarEventWithBodyWithResponse(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *RescheduleCalendarEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RescheduleCalendarEventResponse, error)\n\n\t// RescheduleCalendarEventWithResponse Reschedule calendar event\n\t//\n\t// Move an event to another time or change its length, keeping everything else (title, attendees, description and so on) as stored, so the event does not have to be fetched first. To change other fields use `updateCalendarEvent`. `calendarUuid` and `eventUuid` come from `listCalendarEvents`. Only an event with `editable` true can be moved; any other is rejected with `403` and code `ERR_EVENT_NOT_EDITABLE`.\n\t// For a recurring event, `scope` `this` moves only the occurrence at `recurrenceId`, `future` ends the series before that occurrence and starts a new one with a new `uuid`, `all` (the default) moves the whole series: only the time of day and the length apply and the series keeps the date of its first occurrence.\n\t// Attendees receive an email update unless `notifyAttendees` is false. Returns the moved event, or the moved occurrence for `scope` `this`.\n\t//\n\t// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with PUT /api/v1/mailboxes/{mailboxResourceId}/calendars/{calendarUuid}/events/{eventUuid}/reschedule (the `RescheduleCalendarEvent` operationId).\n\tRescheduleCalendarEventWithResponse(ctx context.Context, mailboxResourceId string, calendarUuid openapi_types.UUID, eventUuid openapi_types.UUID, params *RescheduleCalendarEventParams, body RescheduleCalendarEventJSONRequestBody, reqEditors ...RequestEditorFn) (*RescheduleCalendarEventResponse, error)\n\n\t// SubmitFeedbackWithBodyWithResponse Submit feedback\n\t//\n\t// Send the user's feedback about the Hostinger Email API to the Hostinger mail team.\n\t//\n\t// Only call this when the user explicitly asks to send feedback, report a problem, or request a feature. Send the user's own words; never include tokens, passwords or email contents. The message is capped at 2000 characters.\n\t//\n\t// A `429` (`ERR_FEEDBACK_RATE_LIMIT`) means feedback for this customer was submitted less than ten seconds ago; wait and retry.\n\t//\n\t// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/feedback (the `SubmitFeedback` operationId).\n\tSubmitFeedbackWithBodyWithResponse(ctx context.Context, mailboxResourceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SubmitFeedbackResponse, error)\n\n\t// SubmitFeedbackWithResponse Submit feedback\n\t//\n\t// Send the user's feedback about the Hostinger Email API to the Hostinger mail team.\n\t//\n\t// Only call this when the user explicitly asks to send feedback, report a problem, or request a feature. Send the user's own words; never include tokens, passwords or email contents. The message is capped at 2000 characters.\n\t//\n\t// A `429` (`ERR_FEEDBACK_RATE_LIMIT`) means feedback for this customer was submitted less than ten seconds ago; wait and retry.\n\t//\n\t// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/feedback (the `SubmitFeedback` operationId).\n\tSubmitFeedbackWithResponse(ctx context.Context, mailboxResourceId string, body SubmitFeedbackJSONRequestBody, reqEditors ...RequestEditorFn) (*SubmitFeedbackResponse, error)\n\n\t// ListFoldersWithResponse List folders\n\t//\n\t// Retrieve a paginated list of folders in the managed mailbox.\n\t//\n\t// Returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with GET /api/v1/mailboxes/{mailboxResourceId}/folders (the `ListFolders` operationId).\n\tListFoldersWithResponse(ctx context.Context, mailboxResourceId string, params *ListFoldersParams, reqEditors ...RequestEditorFn) (*ListFoldersResponse, error)\n\n\t// CreateFolderWithBodyWithResponse Create folder\n\t//\n\t// Create a new folder in the managed mailbox.\n\t//\n\t// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders (the `CreateFolder` operationId).\n\tCreateFolderWithBodyWithResponse(ctx context.Context, mailboxResourceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFolderResponse, error)\n\n\t// CreateFolderWithResponse Create folder\n\t//\n\t// Create a new folder in the managed mailbox.\n\t//\n\t// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders (the `CreateFolder` operationId).\n\tCreateFolderWithResponse(ctx context.Context, mailboxResourceId string, body CreateFolderJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFolderResponse, error)\n\n\t// DeleteFolderWithResponse Delete folder\n\t//\n\t// Delete a folder and all of its subfolders.\n\t//\n\t// Returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with DELETE /api/v1/mailboxes/{mailboxResourceId}/folders/{folder} (the `DeleteFolder` operationId).\n\tDeleteFolderWithResponse(ctx context.Context, mailboxResourceId string, folder string, reqEditors ...RequestEditorFn) (*DeleteFolderResponse, error)\n\n\t// UpdateFolderWithBodyWithResponse Update folder\n\t//\n\t// Rename an existing folder.\n\t//\n\t// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with PUT /api/v1/mailboxes/{mailboxResourceId}/folders/{folder} (the `UpdateFolder` operationId).\n\tUpdateFolderWithBodyWithResponse(ctx context.Context, mailboxResourceId string, folder string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFolderResponse, error)\n\n\t// UpdateFolderWithResponse Update folder\n\t//\n\t// Rename an existing folder.\n\t//\n\t// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with PUT /api/v1/mailboxes/{mailboxResourceId}/folders/{folder} (the `UpdateFolder` operationId).\n\tUpdateFolderWithResponse(ctx context.Context, mailboxResourceId string, folder string, body UpdateFolderJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateFolderResponse, error)\n\n\t// DeleteAllMessagesWithResponse Delete all messages\n\t//\n\t// Permanently delete every message in a folder (empty the folder).\n\t//\n\t// Returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with DELETE /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages (the `DeleteAllMessages` operationId).\n\tDeleteAllMessagesWithResponse(ctx context.Context, mailboxResourceId string, folder string, reqEditors ...RequestEditorFn) (*DeleteAllMessagesResponse, error)\n\n\t// ListMessagesWithResponse List messages\n\t//\n\t// List messages in a folder. Use POST /search for filtering. Sort fields: uid, date, size (prefix with `-` for descending). Default `-uid`.\n\t//\n\t// Returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with GET /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages (the `ListMessages` operationId).\n\tListMessagesWithResponse(ctx context.Context, mailboxResourceId string, folder string, params *ListMessagesParams, reqEditors ...RequestEditorFn) (*ListMessagesResponse, error)\n\n\t// DeleteMessagesWithBodyWithResponse Delete messages\n\t//\n\t// Permanently delete multiple messages from a folder.\n\t//\n\t// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/delete (the `DeleteMessages` operationId).\n\tDeleteMessagesWithBodyWithResponse(ctx context.Context, mailboxResourceId string, folder string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteMessagesResponse, error)\n\n\t// DeleteMessagesWithResponse Delete messages\n\t//\n\t// Permanently delete multiple messages from a folder.\n\t//\n\t// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/delete (the `DeleteMessages` operationId).\n\tDeleteMessagesWithResponse(ctx context.Context, mailboxResourceId string, folder string, body DeleteMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteMessagesResponse, error)\n\n\t// UpdateMessageFlagsWithBodyWithResponse Update flags on multiple messages\n\t//\n\t// Add and/or remove flags on multiple messages. Returns 200 when all UIDs succeed, 207 with per-UID outcome when some fail.\n\t//\n\t// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/flags (the `UpdateMessageFlags` operationId).\n\tUpdateMessageFlagsWithBodyWithResponse(ctx context.Context, mailboxResourceId string, folder string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMessageFlagsResponse, error)\n\n\t// UpdateMessageFlagsWithResponse Update flags on multiple messages\n\t//\n\t// Add and/or remove flags on multiple messages. Returns 200 when all UIDs succeed, 207 with per-UID outcome when some fail.\n\t//\n\t// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/flags (the `UpdateMessageFlags` operationId).\n\tUpdateMessageFlagsWithResponse(ctx context.Context, mailboxResourceId string, folder string, body UpdateMessageFlagsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMessageFlagsResponse, error)\n\n\t// MoveMessagesWithBodyWithResponse Move messages\n\t//\n\t// Move multiple messages from a source folder to a target folder.\n\t//\n\t// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/move (the `MoveMessages` operationId).\n\tMoveMessagesWithBodyWithResponse(ctx context.Context, mailboxResourceId string, folder string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MoveMessagesResponse, error)\n\n\t// MoveMessagesWithResponse Move messages\n\t//\n\t// Move multiple messages from a source folder to a target folder.\n\t//\n\t// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/move (the `MoveMessages` operationId).\n\tMoveMessagesWithResponse(ctx context.Context, mailboxResourceId string, folder string, body MoveMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*MoveMessagesResponse, error)\n\n\t// SearchMessagesWithBodyWithResponse Search messages\n\t//\n\t// Search messages in a folder. Filters in body; pagination and sort via query (`page`, `perPage`, `sort`).\n\t//\n\t// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/search (the `SearchMessages` operationId).\n\tSearchMessagesWithBodyWithResponse(ctx context.Context, mailboxResourceId string, folder string, params *SearchMessagesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchMessagesResponse, error)\n\n\t// SearchMessagesWithResponse Search messages\n\t//\n\t// Search messages in a folder. Filters in body; pagination and sort via query (`page`, `perPage`, `sort`).\n\t//\n\t// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/search (the `SearchMessages` operationId).\n\tSearchMessagesWithResponse(ctx context.Context, mailboxResourceId string, folder string, params *SearchMessagesParams, body SearchMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchMessagesResponse, error)\n\n\t// DeleteMessageWithResponse Delete message\n\t//\n\t// Permanently delete a single message.\n\t//\n\t// Returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with DELETE /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid} (the `DeleteMessage` operationId).\n\tDeleteMessageWithResponse(ctx context.Context, mailboxResourceId string, folder string, uid int, reqEditors ...RequestEditorFn) (*DeleteMessageResponse, error)\n\n\t// GetMessageWithResponse Get message\n\t//\n\t// Retrieve a single message by UID.\n\t//\n\t// Returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with GET /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid} (the `GetMessage` operationId).\n\tGetMessageWithResponse(ctx context.Context, mailboxResourceId string, folder string, uid int, reqEditors ...RequestEditorFn) (*GetMessageResponse, error)\n\n\t// PatchMessageWithBodyWithResponse Update message flags\n\t//\n\t// Add and/or remove flags on a single message. Returns the updated message.\n\t//\n\t// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with PATCH /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid} (the `PatchMessage` operationId).\n\tPatchMessageWithBodyWithResponse(ctx context.Context, mailboxResourceId string, folder string, uid int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchMessageResponse, error)\n\n\t// PatchMessageWithResponse Update message flags\n\t//\n\t// Add and/or remove flags on a single message. Returns the updated message.\n\t//\n\t// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with PATCH /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid} (the `PatchMessage` operationId).\n\tPatchMessageWithResponse(ctx context.Context, mailboxResourceId string, folder string, uid int, body PatchMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchMessageResponse, error)\n\n\t// GetMessageAttachmentWithResponse Download message attachment\n\t//\n\t// Download a message attachment as `application/octet-stream`.\n\t//\n\t// Returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with GET /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid}/attachments/{attachmentId} (the `GetMessageAttachment` operationId).\n\tGetMessageAttachmentWithResponse(ctx context.Context, mailboxResourceId string, folder string, uid int, attachmentId string, reqEditors ...RequestEditorFn) (*GetMessageAttachmentResponse, error)\n\n\t// MoveMessageWithBodyWithResponse Move message\n\t//\n\t// Move a single message to a target folder.\n\t//\n\t// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid}/move (the `MoveMessage` operationId).\n\tMoveMessageWithBodyWithResponse(ctx context.Context, mailboxResourceId string, folder string, uid int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MoveMessageResponse, error)\n\n\t// MoveMessageWithResponse Move message\n\t//\n\t// Move a single message to a target folder.\n\t//\n\t// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid}/move (the `MoveMessage` operationId).\n\tMoveMessageWithResponse(ctx context.Context, mailboxResourceId string, folder string, uid int, body MoveMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*MoveMessageResponse, error)\n\n\t// GetMessageSourceWithResponse Get message source\n\t//\n\t// Retrieve raw RFC822 source of a message as `message/rfc822` attachment. Does not change the message `\\Seen` flag.\n\t//\n\t// Returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with GET /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid}/source (the `GetMessageSource` operationId).\n\tGetMessageSourceWithResponse(ctx context.Context, mailboxResourceId string, folder string, uid int, reqEditors ...RequestEditorFn) (*GetMessageSourceResponse, error)\n\n\t// GetMessageTextWithResponse Get message text content\n\t//\n\t// Retrieve rendered text (plain + HTML) of a message. Does not change the message `\\Seen` flag.\n\t//\n\t// Returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with GET /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid}/text (the `GetMessageText` operationId).\n\tGetMessageTextWithResponse(ctx context.Context, mailboxResourceId string, folder string, uid int, reqEditors ...RequestEditorFn) (*GetMessageTextResponse, error)\n\n\t// GetQuotaWithResponse Get mailbox quota\n\t//\n\t// Retrieve storage and message quota usage for the managed mailbox.\n\t//\n\t// Returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with GET /api/v1/mailboxes/{mailboxResourceId}/quota (the `GetQuota` operationId).\n\tGetQuotaWithResponse(ctx context.Context, mailboxResourceId string, reqEditors ...RequestEditorFn) (*GetQuotaResponse, error)\n\n\t// SendEmailWithBodyWithResponse Send email\n\t//\n\t// Send a message from the managed mailbox. The message is accepted for delivery and dispatched within a few seconds; a copy is saved to INBOX.Sent once it is sent. A delivery failure after acceptance is not reported on this call.\n\t//\n\t// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/send (the `SendEmail` operationId).\n\tSendEmailWithBodyWithResponse(ctx context.Context, mailboxResourceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendEmailResponse, error)\n\n\t// SendEmailWithResponse Send email\n\t//\n\t// Send a message from the managed mailbox. The message is accepted for delivery and dispatched within a few seconds; a copy is saved to INBOX.Sent once it is sent. A delivery failure after acceptance is not reported on this call.\n\t//\n\t// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/send (the `SendEmail` operationId).\n\tSendEmailWithResponse(ctx context.Context, mailboxResourceId string, body SendEmailJSONRequestBody, reqEditors ...RequestEditorFn) (*SendEmailResponse, error)\n\n\t// ListWebhooksWithResponse List webhooks\n\t//\n\t// List webhooks for a mailbox.\n\t//\n\t// Returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with GET /api/v1/mailboxes/{mailboxResourceId}/webhooks (the `ListWebhooks` operationId).\n\tListWebhooksWithResponse(ctx context.Context, mailboxResourceId string, params *ListWebhooksParams, reqEditors ...RequestEditorFn) (*ListWebhooksResponse, error)\n\n\t// CreateWebhookWithBodyWithResponse Create webhook\n\t//\n\t// Create a webhook. The response includes the one-time `secret` — store it securely as it is never returned again.\n\t//\n\t// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/webhooks (the `CreateWebhook` operationId).\n\tCreateWebhookWithBodyWithResponse(ctx context.Context, mailboxResourceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWebhookResponse, error)\n\n\t// CreateWebhookWithResponse Create webhook\n\t//\n\t// Create a webhook. The response includes the one-time `secret` — store it securely as it is never returned again.\n\t//\n\t// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/webhooks (the `CreateWebhook` operationId).\n\tCreateWebhookWithResponse(ctx context.Context, mailboxResourceId string, body CreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWebhookResponse, error)\n\n\t// DeleteWebhookWithResponse Delete webhook\n\t//\n\t// Delete a webhook.\n\t//\n\t// Returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with DELETE /api/v1/mailboxes/{mailboxResourceId}/webhooks/{webhook} (the `DeleteWebhook` operationId).\n\tDeleteWebhookWithResponse(ctx context.Context, mailboxResourceId string, webhook openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteWebhookResponse, error)\n\n\t// GetWebhookWithResponse Get webhook\n\t//\n\t// Retrieve a single webhook by id.\n\t//\n\t// Returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with GET /api/v1/mailboxes/{mailboxResourceId}/webhooks/{webhook} (the `GetWebhook` operationId).\n\tGetWebhookWithResponse(ctx context.Context, mailboxResourceId string, webhook openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetWebhookResponse, error)\n\n\t// UpdateWebhookWithBodyWithResponse Update webhook\n\t//\n\t// Partially update a webhook.\n\t//\n\t// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with PATCH /api/v1/mailboxes/{mailboxResourceId}/webhooks/{webhook} (the `UpdateWebhook` operationId).\n\tUpdateWebhookWithBodyWithResponse(ctx context.Context, mailboxResourceId string, webhook openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWebhookResponse, error)\n\n\t// UpdateWebhookWithResponse Update webhook\n\t//\n\t// Partially update a webhook.\n\t//\n\t// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with PATCH /api/v1/mailboxes/{mailboxResourceId}/webhooks/{webhook} (the `UpdateWebhook` operationId).\n\tUpdateWebhookWithResponse(ctx context.Context, mailboxResourceId string, webhook openapi_types.UUID, body UpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWebhookResponse, error)\n\n\t// RegenerateWebhookSecretWithResponse Regenerate webhook secret\n\t//\n\t// Regenerate the webhook secret. The previous secret is immediately invalidated. The new secret is returned once.\n\t//\n\t// Returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/webhooks/{webhook}/regenerate-secret (the `RegenerateWebhookSecret` operationId).\n\tRegenerateWebhookSecretWithResponse(ctx context.Context, mailboxResourceId string, webhook openapi_types.UUID, reqEditors ...RequestEditorFn) (*RegenerateWebhookSecretResponse, error)\n\n\t// TestWebhookWithResponse Test webhook\n\t//\n\t// Send a test delivery to the webhook URL and return the upstream response.\n\t//\n\t// Returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with POST /api/v1/mailboxes/{mailboxResourceId}/webhooks/{webhook}/test (the `TestWebhook` operationId).\n\tTestWebhookWithResponse(ctx context.Context, mailboxResourceId string, webhook openapi_types.UUID, reqEditors ...RequestEditorFn) (*TestWebhookResponse, error)\n\n\t// GetCurrentAccountWithResponse Get the authenticated account\n\t//\n\t// Returns the authenticated account and the mailboxes it can manage.\n\t//\n\t// Returns a wrapper object for the known response body format(s).\n\t//\n\t// Corresponds with GET /api/v1/me (the `GetCurrentAccount` operationId).\n\tGetCurrentAccountWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentAccountResponse, error)\n}\n```\nClientWithResponsesInterface is the interface specification for the client with responses above.\n\n```go\ntype CommonResponseBadGatewayResponse = Error\n```\nCommonResponseBadGatewayResponse Standard error envelope. Frontend translations key off \\`code\\`, never off \\`error\\`.\n\n```go\ntype CommonResponseCalendarLimitReachedResponse = Error\n```\nCommonResponseCalendarLimitReachedResponse Standard error envelope. Frontend translations key off \\`code\\`, never off \\`error\\`.\n\n```go\ntype CommonResponseConflictResponse = Error\n```\nCommonResponseConflictResponse Standard error envelope. Frontend translations key off \\`code\\`, never off \\`error\\`.\n\n```go\ntype CommonResponseEventAttendeeLimitReachedResponse = Error\n```\nCommonResponseEventAttendeeLimitReachedResponse Standard error envelope. Frontend translations key off \\`code\\`, never off \\`error\\`.\n\n```go\ntype CommonResponseForbiddenResponse = Error\n```\nCommonResponseForbiddenResponse Standard error envelope. Frontend translations key off \\`code\\`, never off \\`error\\`.\n\n```go\ntype CommonResponseGatewayTimeoutResponse = Error\n```\nCommonResponseGatewayTimeoutResponse Standard error envelope. Frontend translations key off \\`code\\`, never off \\`error\\`.\n\n```go\ntype CommonResponseInternalServerErrorResponse = Error\n```\nCommonResponseInternalServerErrorResponse Standard error envelope. Frontend translations key off \\`code\\`, never off \\`error\\`.\n\n```go\ntype CommonResponseNotFoundResponse = Error\n```\nCommonResponseNotFoundResponse Standard error envelope. Frontend translations key off \\`code\\`, never off \\`error\\`.\n\n```go\ntype CommonResponsePreconditionFailedResponse = Error\n```\nCommonResponsePreconditionFailedResponse Standard error envelope. Frontend translations key off \\`code\\`, never off \\`error\\`.\n\n```go\ntype CommonResponseTooManyRequestsResponse = Error\n```\nCommonResponseTooManyRequestsResponse Standard error envelope. Frontend translations key off \\`code\\`, never off \\`error\\`.\n\n```go\ntype CommonResponseUnauthorizedResponse = Error\n```\nCommonResponseUnauthorizedResponse Standard error envelope. Frontend translations key off \\`code\\`, never off \\`error\\`.\n\n```go\ntype CommonResponseValidationFailedResponse = Error\n```\nCommonResponseValidationFailedResponse Standard error envelope. Frontend translations key off \\`code\\`, never off \\`error\\`.\n\n```go\ntype CreateCalendarEventJSONRequestBody = V1CalendarEventsCreateRequest\n```\nCreateCalendarEventJSONRequestBody defines body for CreateCalendarEvent for application/json ContentType.\n\n```go\ntype CreateCalendarEventResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON201 the response for an HTTP 201 `application/json` response\n\tJSON201 *V1CalendarEventsResource\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON404 the response for an HTTP 404 `application/json` response\n\tJSON404 *CommonResponseNotFoundResponse\n\t// JSON422 the response for an HTTP 422 `application/json` response\n\tJSON422 *CommonResponseValidationFailedResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n}\n```\n\n```go\nfunc ParseCreateCalendarEventResponse(rsp *http.Response) (*CreateCalendarEventResponse, error)\n```\nParseCreateCalendarEventResponse parses an HTTP response from a CreateCalendarEventWithResponse call\n\n```go\nfunc (r CreateCalendarEventResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r CreateCalendarEventResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r CreateCalendarEventResponse) GetJSON201() *V1CalendarEventsResource\n```\nGetJSON201 returns the response for an HTTP 201 \\`application/json\\` response\n\n```go\nfunc (r CreateCalendarEventResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r CreateCalendarEventResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r CreateCalendarEventResponse) GetJSON404() *CommonResponseNotFoundResponse\n```\nGetJSON404 returns the response for an HTTP 404 \\`application/json\\` response\n\n```go\nfunc (r CreateCalendarEventResponse) GetJSON422() *CommonResponseValidationFailedResponse\n```\nGetJSON422 returns the response for an HTTP 422 \\`application/json\\` response\n\n```go\nfunc (r CreateCalendarEventResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r CreateCalendarEventResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r CreateCalendarEventResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r CreateCalendarEventResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype CreateCalendarJSONRequestBody = V1CalendarsCreateRequest\n```\nCreateCalendarJSONRequestBody defines body for CreateCalendar for application/json ContentType.\n\n```go\ntype CreateCalendarResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON201 the response for an HTTP 201 `application/json` response\n\tJSON201 *V1CalendarsResource\n\t// JSON400 the response for an HTTP 400 `application/json` response\n\tJSON400 *CommonResponseCalendarLimitReachedResponse\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON422 the response for an HTTP 422 `application/json` response\n\tJSON422 *CommonResponseValidationFailedResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n}\n```\n\n```go\nfunc ParseCreateCalendarResponse(rsp *http.Response) (*CreateCalendarResponse, error)\n```\nParseCreateCalendarResponse parses an HTTP response from a CreateCalendarWithResponse call\n\n```go\nfunc (r CreateCalendarResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r CreateCalendarResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r CreateCalendarResponse) GetJSON201() *V1CalendarsResource\n```\nGetJSON201 returns the response for an HTTP 201 \\`application/json\\` response\n\n```go\nfunc (r CreateCalendarResponse) GetJSON400() *CommonResponseCalendarLimitReachedResponse\n```\nGetJSON400 returns the response for an HTTP 400 \\`application/json\\` response\n\n```go\nfunc (r CreateCalendarResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r CreateCalendarResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r CreateCalendarResponse) GetJSON422() *CommonResponseValidationFailedResponse\n```\nGetJSON422 returns the response for an HTTP 422 \\`application/json\\` response\n\n```go\nfunc (r CreateCalendarResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r CreateCalendarResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r CreateCalendarResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r CreateCalendarResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype CreateFolderJSONRequestBody = V1FoldersCreateRequest\n```\nCreateFolderJSONRequestBody defines body for CreateFolder for application/json ContentType.\n\n```go\ntype CreateFolderResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON201 the response for an HTTP 201 `application/json` response\n\tJSON201 *V1FoldersResource\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON409 the response for an HTTP 409 `application/json` response\n\tJSON409 *CommonResponseConflictResponse\n\t// JSON422 the response for an HTTP 422 `application/json` response\n\tJSON422 *CommonResponseValidationFailedResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n}\n```\n\n```go\nfunc ParseCreateFolderResponse(rsp *http.Response) (*CreateFolderResponse, error)\n```\nParseCreateFolderResponse parses an HTTP response from a CreateFolderWithResponse call\n\n```go\nfunc (r CreateFolderResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r CreateFolderResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r CreateFolderResponse) GetJSON201() *V1FoldersResource\n```\nGetJSON201 returns the response for an HTTP 201 \\`application/json\\` response\n\n```go\nfunc (r CreateFolderResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r CreateFolderResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r CreateFolderResponse) GetJSON409() *CommonResponseConflictResponse\n```\nGetJSON409 returns the response for an HTTP 409 \\`application/json\\` response\n\n```go\nfunc (r CreateFolderResponse) GetJSON422() *CommonResponseValidationFailedResponse\n```\nGetJSON422 returns the response for an HTTP 422 \\`application/json\\` response\n\n```go\nfunc (r CreateFolderResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r CreateFolderResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r CreateFolderResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r CreateFolderResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype CreateWebhookJSONRequestBody = V1WebhooksCreateRequest\n```\nCreateWebhookJSONRequestBody defines body for CreateWebhook for application/json ContentType.\n\n```go\ntype CreateWebhookResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON201 the response for an HTTP 201 `application/json` response\n\tJSON201 *V1WebhooksResourceWithSecret\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON422 the response for an HTTP 422 `application/json` response\n\tJSON422 *CommonResponseValidationFailedResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n}\n```\n\n```go\nfunc ParseCreateWebhookResponse(rsp *http.Response) (*CreateWebhookResponse, error)\n```\nParseCreateWebhookResponse parses an HTTP response from a CreateWebhookWithResponse call\n\n```go\nfunc (r CreateWebhookResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r CreateWebhookResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r CreateWebhookResponse) GetJSON201() *V1WebhooksResourceWithSecret\n```\nGetJSON201 returns the response for an HTTP 201 \\`application/json\\` response\n\n```go\nfunc (r CreateWebhookResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r CreateWebhookResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r CreateWebhookResponse) GetJSON422() *CommonResponseValidationFailedResponse\n```\nGetJSON422 returns the response for an HTTP 422 \\`application/json\\` response\n\n```go\nfunc (r CreateWebhookResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r CreateWebhookResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r CreateWebhookResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r CreateWebhookResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype DeleteAllMessagesResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON404 the response for an HTTP 404 `application/json` response\n\tJSON404 *CommonResponseNotFoundResponse\n\t// JSON422 the response for an HTTP 422 `application/json` response\n\tJSON422 *CommonResponseValidationFailedResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n}\n```\n\n```go\nfunc ParseDeleteAllMessagesResponse(rsp *http.Response) (*DeleteAllMessagesResponse, error)\n```\nParseDeleteAllMessagesResponse parses an HTTP response from a DeleteAllMessagesWithResponse call\n\n```go\nfunc (r DeleteAllMessagesResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r DeleteAllMessagesResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r DeleteAllMessagesResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r DeleteAllMessagesResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r DeleteAllMessagesResponse) GetJSON404() *CommonResponseNotFoundResponse\n```\nGetJSON404 returns the response for an HTTP 404 \\`application/json\\` response\n\n```go\nfunc (r DeleteAllMessagesResponse) GetJSON422() *CommonResponseValidationFailedResponse\n```\nGetJSON422 returns the response for an HTTP 422 \\`application/json\\` response\n\n```go\nfunc (r DeleteAllMessagesResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r DeleteAllMessagesResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r DeleteAllMessagesResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r DeleteAllMessagesResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype DeleteCalendarEventParams struct {\n\t// Scope For a recurring event: `this` removes the occurrence at `recurrenceId`, `future` removes it and every later one, `all` deletes the whole series. Omitted means `all`. Required when `recurrenceId` is sent.\n\tScope *DeleteCalendarEventParamsScope `form:\"scope,omitempty\" json:\"scope,omitempty\"`\n\n\t// RecurrenceId `recurrenceId` of one occurrence, copied unchanged from a `listCalendarEvents` item. Required when `scope` is `this` or `future`. A value that matches no occurrence, or any value on a one-off event, returns `404`.\n\tRecurrenceId *time.Time `form:\"recurrenceId,omitempty\" json:\"recurrenceId,omitempty\"`\n\n\t// NotifyAttendees `false` deletes without emailing attendees a cancellation or update, or the organizer a decline. Omitted means `true`.\n\tNotifyAttendees *DeleteCalendarEventParamsNotifyAttendees `form:\"notifyAttendees,omitempty\" json:\"notifyAttendees,omitempty\"`\n\n\t// IfMatch Optional `etag` from `getCalendarEvent`. When the event changed since that call, nothing is deleted and the request fails with `412`: fetch the event again and retry. Omit it to apply the request to the current version.\n\tIfMatch *string `json:\"If-Match,omitempty\"`\n}\n```\nDeleteCalendarEventParams defines parameters for DeleteCalendarEvent.\n\n```go\ntype DeleteCalendarEventParamsNotifyAttendees string\n```\nDeleteCalendarEventParamsNotifyAttendees defines parameters for DeleteCalendarEvent.\n\n```go\nconst (\n\tFalse DeleteCalendarEventParamsNotifyAttendees = \"false\"\n\tN0    DeleteCalendarEventParamsNotifyAttendees = \"0\"\n\tN1    DeleteCalendarEventParamsNotifyAttendees = \"1\"\n\tTrue  DeleteCalendarEventParamsNotifyAttendees = \"true\"\n)\n```\nDefines values for DeleteCalendarEventParamsNotifyAttendees.\n\n```go\nfunc (e DeleteCalendarEventParamsNotifyAttendees) Valid() bool\n```\nValid indicates whether the value is a known member of the DeleteCalendarEventParamsNotifyAttendees enum.\n\n```go\ntype DeleteCalendarEventParamsScope string\n```\nDeleteCalendarEventParamsScope defines parameters for DeleteCalendarEvent.\n\n```go\nconst (\n\tDeleteCalendarEventParamsScopeAll    DeleteCalendarEventParamsScope = \"all\"\n\tDeleteCalendarEventParamsScopeFuture DeleteCalendarEventParamsScope = \"future\"\n\tDeleteCalendarEventParamsScopeThis   DeleteCalendarEventParamsScope = \"this\"\n)\n```\nDefines values for DeleteCalendarEventParamsScope.\n\n```go\nfunc (e DeleteCalendarEventParamsScope) Valid() bool\n```\nValid indicates whether the value is a known member of the DeleteCalendarEventParamsScope enum.\n\n```go\ntype DeleteCalendarEventResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON404 the response for an HTTP 404 `application/json` response\n\tJSON404 *CommonResponseNotFoundResponse\n\t// JSON412 the response for an HTTP 412 `application/json` response\n\tJSON412 *CommonResponsePreconditionFailedResponse\n\t// JSON422 the response for an HTTP 422 `application/json` response\n\tJSON422 *CommonResponseValidationFailedResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n}\n```\n\n```go\nfunc ParseDeleteCalendarEventResponse(rsp *http.Response) (*DeleteCalendarEventResponse, error)\n```\nParseDeleteCalendarEventResponse parses an HTTP response from a DeleteCalendarEventWithResponse call\n\n```go\nfunc (r DeleteCalendarEventResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r DeleteCalendarEventResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r DeleteCalendarEventResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r DeleteCalendarEventResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r DeleteCalendarEventResponse) GetJSON404() *CommonResponseNotFoundResponse\n```\nGetJSON404 returns the response for an HTTP 404 \\`application/json\\` response\n\n```go\nfunc (r DeleteCalendarEventResponse) GetJSON412() *CommonResponsePreconditionFailedResponse\n```\nGetJSON412 returns the response for an HTTP 412 \\`application/json\\` response\n\n```go\nfunc (r DeleteCalendarEventResponse) GetJSON422() *CommonResponseValidationFailedResponse\n```\nGetJSON422 returns the response for an HTTP 422 \\`application/json\\` response\n\n```go\nfunc (r DeleteCalendarEventResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r DeleteCalendarEventResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r DeleteCalendarEventResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r DeleteCalendarEventResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype DeleteCalendarResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON404 the response for an HTTP 404 `application/json` response\n\tJSON404 *CommonResponseNotFoundResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n}\n```\n\n```go\nfunc ParseDeleteCalendarResponse(rsp *http.Response) (*DeleteCalendarResponse, error)\n```\nParseDeleteCalendarResponse parses an HTTP response from a DeleteCalendarWithResponse call\n\n```go\nfunc (r DeleteCalendarResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r DeleteCalendarResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r DeleteCalendarResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r DeleteCalendarResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r DeleteCalendarResponse) GetJSON404() *CommonResponseNotFoundResponse\n```\nGetJSON404 returns the response for an HTTP 404 \\`application/json\\` response\n\n```go\nfunc (r DeleteCalendarResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r DeleteCalendarResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r DeleteCalendarResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r DeleteCalendarResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype DeleteFolderResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON404 the response for an HTTP 404 `application/json` response\n\tJSON404 *CommonResponseNotFoundResponse\n\t// JSON409 the response for an HTTP 409 `application/json` response\n\tJSON409 *CommonResponseConflictResponse\n\t// JSON422 the response for an HTTP 422 `application/json` response\n\tJSON422 *CommonResponseValidationFailedResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n}\n```\n\n```go\nfunc ParseDeleteFolderResponse(rsp *http.Response) (*DeleteFolderResponse, error)\n```\nParseDeleteFolderResponse parses an HTTP response from a DeleteFolderWithResponse call\n\n```go\nfunc (r DeleteFolderResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r DeleteFolderResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r DeleteFolderResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r DeleteFolderResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r DeleteFolderResponse) GetJSON404() *CommonResponseNotFoundResponse\n```\nGetJSON404 returns the response for an HTTP 404 \\`application/json\\` response\n\n```go\nfunc (r DeleteFolderResponse) GetJSON409() *CommonResponseConflictResponse\n```\nGetJSON409 returns the response for an HTTP 409 \\`application/json\\` response\n\n```go\nfunc (r DeleteFolderResponse) GetJSON422() *CommonResponseValidationFailedResponse\n```\nGetJSON422 returns the response for an HTTP 422 \\`application/json\\` response\n\n```go\nfunc (r DeleteFolderResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r DeleteFolderResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r DeleteFolderResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r DeleteFolderResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype DeleteMessageResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON422 the response for an HTTP 422 `application/json` response\n\tJSON422 *CommonResponseValidationFailedResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n}\n```\n\n```go\nfunc ParseDeleteMessageResponse(rsp *http.Response) (*DeleteMessageResponse, error)\n```\nParseDeleteMessageResponse parses an HTTP response from a DeleteMessageWithResponse call\n\n```go\nfunc (r DeleteMessageResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r DeleteMessageResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r DeleteMessageResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r DeleteMessageResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r DeleteMessageResponse) GetJSON422() *CommonResponseValidationFailedResponse\n```\nGetJSON422 returns the response for an HTTP 422 \\`application/json\\` response\n\n```go\nfunc (r DeleteMessageResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r DeleteMessageResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r DeleteMessageResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r DeleteMessageResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype DeleteMessagesJSONRequestBody = V1FolderMessagesDeleteBulkRequest\n```\nDeleteMessagesJSONRequestBody defines body for DeleteMessages for application/json ContentType.\n\n```go\ntype DeleteMessagesResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON422 the response for an HTTP 422 `application/json` response\n\tJSON422 *CommonResponseValidationFailedResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n}\n```\n\n```go\nfunc ParseDeleteMessagesResponse(rsp *http.Response) (*DeleteMessagesResponse, error)\n```\nParseDeleteMessagesResponse parses an HTTP response from a DeleteMessagesWithResponse call\n\n```go\nfunc (r DeleteMessagesResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r DeleteMessagesResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r DeleteMessagesResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r DeleteMessagesResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r DeleteMessagesResponse) GetJSON422() *CommonResponseValidationFailedResponse\n```\nGetJSON422 returns the response for an HTTP 422 \\`application/json\\` response\n\n```go\nfunc (r DeleteMessagesResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r DeleteMessagesResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r DeleteMessagesResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r DeleteMessagesResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype DeleteWebhookResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON404 the response for an HTTP 404 `application/json` response\n\tJSON404 *CommonResponseNotFoundResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n}\n```\n\n```go\nfunc ParseDeleteWebhookResponse(rsp *http.Response) (*DeleteWebhookResponse, error)\n```\nParseDeleteWebhookResponse parses an HTTP response from a DeleteWebhookWithResponse call\n\n```go\nfunc (r DeleteWebhookResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r DeleteWebhookResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r DeleteWebhookResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r DeleteWebhookResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r DeleteWebhookResponse) GetJSON404() *CommonResponseNotFoundResponse\n```\nGetJSON404 returns the response for an HTTP 404 \\`application/json\\` response\n\n```go\nfunc (r DeleteWebhookResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r DeleteWebhookResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r DeleteWebhookResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r DeleteWebhookResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype Error struct {\n\t// Code Machine-readable error code in SCREAMING_SNAKE_CASE.\n\t//\n\t// Example: ERR_NOT_FOUND\n\tCode string `json:\"code\"`\n\n\t// Error Human-readable error message.\n\t//\n\t// Example: Resource not found.\n\tError string `json:\"error\"`\n\n\t// Params Additional structured context for the error. May be omitted.\n\tParams *map[string]interface{} `json:\"params,omitempty\"`\n}\n```\nError Standard error envelope. Frontend translations key off \\`code\\`, never off \\`error\\`.\n\n```go\ntype GetCalendarEventParams struct {\n\t// RecurrenceId `recurrenceId` of one occurrence, copied unchanged from a `listCalendarEvents` item. Omit it for a one-off event or for the whole series.\n\tRecurrenceId *time.Time `form:\"recurrenceId,omitempty\" json:\"recurrenceId,omitempty\"`\n}\n```\nGetCalendarEventParams defines parameters for GetCalendarEvent.\n\n```go\ntype GetCalendarEventResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON200 the response for an HTTP 200 `application/json` response\n\tJSON200 *V1CalendarEventsResource\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON404 the response for an HTTP 404 `application/json` response\n\tJSON404 *CommonResponseNotFoundResponse\n\t// JSON422 the response for an HTTP 422 `application/json` response\n\tJSON422 *CommonResponseValidationFailedResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n}\n```\n\n```go\nfunc ParseGetCalendarEventResponse(rsp *http.Response) (*GetCalendarEventResponse, error)\n```\nParseGetCalendarEventResponse parses an HTTP response from a GetCalendarEventWithResponse call\n\n```go\nfunc (r GetCalendarEventResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r GetCalendarEventResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r GetCalendarEventResponse) GetJSON200() *V1CalendarEventsResource\n```\nGetJSON200 returns the response for an HTTP 200 \\`application/json\\` response\n\n```go\nfunc (r GetCalendarEventResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r GetCalendarEventResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r GetCalendarEventResponse) GetJSON404() *CommonResponseNotFoundResponse\n```\nGetJSON404 returns the response for an HTTP 404 \\`application/json\\` response\n\n```go\nfunc (r GetCalendarEventResponse) GetJSON422() *CommonResponseValidationFailedResponse\n```\nGetJSON422 returns the response for an HTTP 422 \\`application/json\\` response\n\n```go\nfunc (r GetCalendarEventResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r GetCalendarEventResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r GetCalendarEventResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r GetCalendarEventResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype GetCalendarResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON200 the response for an HTTP 200 `application/json` response\n\tJSON200 *V1CalendarsResource\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON404 the response for an HTTP 404 `application/json` response\n\tJSON404 *CommonResponseNotFoundResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n}\n```\n\n```go\nfunc ParseGetCalendarResponse(rsp *http.Response) (*GetCalendarResponse, error)\n```\nParseGetCalendarResponse parses an HTTP response from a GetCalendarWithResponse call\n\n```go\nfunc (r GetCalendarResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r GetCalendarResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r GetCalendarResponse) GetJSON200() *V1CalendarsResource\n```\nGetJSON200 returns the response for an HTTP 200 \\`application/json\\` response\n\n```go\nfunc (r GetCalendarResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r GetCalendarResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r GetCalendarResponse) GetJSON404() *CommonResponseNotFoundResponse\n```\nGetJSON404 returns the response for an HTTP 404 \\`application/json\\` response\n\n```go\nfunc (r GetCalendarResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r GetCalendarResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r GetCalendarResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r GetCalendarResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype GetCurrentAccountResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON200 the response for an HTTP 200 `application/json` response\n\tJSON200 *V1MeResource\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n}\n```\n\n```go\nfunc ParseGetCurrentAccountResponse(rsp *http.Response) (*GetCurrentAccountResponse, error)\n```\nParseGetCurrentAccountResponse parses an HTTP response from a GetCurrentAccountWithResponse call\n\n```go\nfunc (r GetCurrentAccountResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r GetCurrentAccountResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r GetCurrentAccountResponse) GetJSON200() *V1MeResource\n```\nGetJSON200 returns the response for an HTTP 200 \\`application/json\\` response\n\n```go\nfunc (r GetCurrentAccountResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r GetCurrentAccountResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r GetCurrentAccountResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r GetCurrentAccountResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r GetCurrentAccountResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype GetMessageAttachmentResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON404 the response for an HTTP 404 `application/json` response\n\tJSON404 *CommonResponseNotFoundResponse\n\t// JSON422 the response for an HTTP 422 `application/json` response\n\tJSON422 *CommonResponseValidationFailedResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n\t// JSON504 the response for an HTTP 504 `application/json` response\n\tJSON504 *CommonResponseGatewayTimeoutResponse\n}\n```\n\n```go\nfunc ParseGetMessageAttachmentResponse(rsp *http.Response) (*GetMessageAttachmentResponse, error)\n```\nParseGetMessageAttachmentResponse parses an HTTP response from a GetMessageAttachmentWithResponse call\n\n```go\nfunc (r GetMessageAttachmentResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r GetMessageAttachmentResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r GetMessageAttachmentResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r GetMessageAttachmentResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r GetMessageAttachmentResponse) GetJSON404() *CommonResponseNotFoundResponse\n```\nGetJSON404 returns the response for an HTTP 404 \\`application/json\\` response\n\n```go\nfunc (r GetMessageAttachmentResponse) GetJSON422() *CommonResponseValidationFailedResponse\n```\nGetJSON422 returns the response for an HTTP 422 \\`application/json\\` response\n\n```go\nfunc (r GetMessageAttachmentResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r GetMessageAttachmentResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r GetMessageAttachmentResponse) GetJSON504() *CommonResponseGatewayTimeoutResponse\n```\nGetJSON504 returns the response for an HTTP 504 \\`application/json\\` response\n\n```go\nfunc (r GetMessageAttachmentResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r GetMessageAttachmentResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype GetMessageResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON200 the response for an HTTP 200 `application/json` response\n\tJSON200 *V1FolderMessagesResource\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON404 the response for an HTTP 404 `application/json` response\n\tJSON404 *CommonResponseNotFoundResponse\n\t// JSON422 the response for an HTTP 422 `application/json` response\n\tJSON422 *CommonResponseValidationFailedResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n}\n```\n\n```go\nfunc ParseGetMessageResponse(rsp *http.Response) (*GetMessageResponse, error)\n```\nParseGetMessageResponse parses an HTTP response from a GetMessageWithResponse call\n\n```go\nfunc (r GetMessageResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r GetMessageResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r GetMessageResponse) GetJSON200() *V1FolderMessagesResource\n```\nGetJSON200 returns the response for an HTTP 200 \\`application/json\\` response\n\n```go\nfunc (r GetMessageResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r GetMessageResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r GetMessageResponse) GetJSON404() *CommonResponseNotFoundResponse\n```\nGetJSON404 returns the response for an HTTP 404 \\`application/json\\` response\n\n```go\nfunc (r GetMessageResponse) GetJSON422() *CommonResponseValidationFailedResponse\n```\nGetJSON422 returns the response for an HTTP 422 \\`application/json\\` response\n\n```go\nfunc (r GetMessageResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r GetMessageResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r GetMessageResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r GetMessageResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype GetMessageSourceResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON404 the response for an HTTP 404 `application/json` response\n\tJSON404 *CommonResponseNotFoundResponse\n\t// JSON422 the response for an HTTP 422 `application/json` response\n\tJSON422 *CommonResponseValidationFailedResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n\t// JSON504 the response for an HTTP 504 `application/json` response\n\tJSON504 *CommonResponseGatewayTimeoutResponse\n}\n```\n\n```go\nfunc ParseGetMessageSourceResponse(rsp *http.Response) (*GetMessageSourceResponse, error)\n```\nParseGetMessageSourceResponse parses an HTTP response from a GetMessageSourceWithResponse call\n\n```go\nfunc (r GetMessageSourceResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r GetMessageSourceResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r GetMessageSourceResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r GetMessageSourceResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r GetMessageSourceResponse) GetJSON404() *CommonResponseNotFoundResponse\n```\nGetJSON404 returns the response for an HTTP 404 \\`application/json\\` response\n\n```go\nfunc (r GetMessageSourceResponse) GetJSON422() *CommonResponseValidationFailedResponse\n```\nGetJSON422 returns the response for an HTTP 422 \\`application/json\\` response\n\n```go\nfunc (r GetMessageSourceResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r GetMessageSourceResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r GetMessageSourceResponse) GetJSON504() *CommonResponseGatewayTimeoutResponse\n```\nGetJSON504 returns the response for an HTTP 504 \\`application/json\\` response\n\n```go\nfunc (r GetMessageSourceResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r GetMessageSourceResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype GetMessageTextResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON200 the response for an HTTP 200 `application/json` response\n\tJSON200 *V1FolderMessagesMessageTextResource\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON404 the response for an HTTP 404 `application/json` response\n\tJSON404 *CommonResponseNotFoundResponse\n\t// JSON422 the response for an HTTP 422 `application/json` response\n\tJSON422 *CommonResponseValidationFailedResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n}\n```\n\n```go\nfunc ParseGetMessageTextResponse(rsp *http.Response) (*GetMessageTextResponse, error)\n```\nParseGetMessageTextResponse parses an HTTP response from a GetMessageTextWithResponse call\n\n```go\nfunc (r GetMessageTextResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r GetMessageTextResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r GetMessageTextResponse) GetJSON200() *V1FolderMessagesMessageTextResource\n```\nGetJSON200 returns the response for an HTTP 200 \\`application/json\\` response\n\n```go\nfunc (r GetMessageTextResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r GetMessageTextResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r GetMessageTextResponse) GetJSON404() *CommonResponseNotFoundResponse\n```\nGetJSON404 returns the response for an HTTP 404 \\`application/json\\` response\n\n```go\nfunc (r GetMessageTextResponse) GetJSON422() *CommonResponseValidationFailedResponse\n```\nGetJSON422 returns the response for an HTTP 422 \\`application/json\\` response\n\n```go\nfunc (r GetMessageTextResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r GetMessageTextResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r GetMessageTextResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r GetMessageTextResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype GetQuotaResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON200 the response for an HTTP 200 `application/json` response\n\tJSON200 *V1QuotaResource\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n}\n```\n\n```go\nfunc ParseGetQuotaResponse(rsp *http.Response) (*GetQuotaResponse, error)\n```\nParseGetQuotaResponse parses an HTTP response from a GetQuotaWithResponse call\n\n```go\nfunc (r GetQuotaResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r GetQuotaResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r GetQuotaResponse) GetJSON200() *V1QuotaResource\n```\nGetJSON200 returns the response for an HTTP 200 \\`application/json\\` response\n\n```go\nfunc (r GetQuotaResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r GetQuotaResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r GetQuotaResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r GetQuotaResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r GetQuotaResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r GetQuotaResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype GetWebhookResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON200 the response for an HTTP 200 `application/json` response\n\tJSON200 *V1WebhooksResource\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON404 the response for an HTTP 404 `application/json` response\n\tJSON404 *CommonResponseNotFoundResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n}\n```\n\n```go\nfunc ParseGetWebhookResponse(rsp *http.Response) (*GetWebhookResponse, error)\n```\nParseGetWebhookResponse parses an HTTP response from a GetWebhookWithResponse call\n\n```go\nfunc (r GetWebhookResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r GetWebhookResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r GetWebhookResponse) GetJSON200() *V1WebhooksResource\n```\nGetJSON200 returns the response for an HTTP 200 \\`application/json\\` response\n\n```go\nfunc (r GetWebhookResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r GetWebhookResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r GetWebhookResponse) GetJSON404() *CommonResponseNotFoundResponse\n```\nGetJSON404 returns the response for an HTTP 404 \\`application/json\\` response\n\n```go\nfunc (r GetWebhookResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r GetWebhookResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r GetWebhookResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r GetWebhookResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype HttpRequestDoer interface {\n\tDo(req *http.Request) (*http.Response, error)\n}\n```\nDoer performs HTTP requests.\n\nThe standard http.Client implements this interface.\n\n```go\ntype ListCalendarEventsParams struct {\n\t// Start Start of the range, inclusive. ISO 8601 date-time with offset.\n\tStart time.Time `form:\"start\" json:\"start\"`\n\n\t// End End of the range, exclusive. ISO 8601 date-time after `start` and at most 32 days after it.\n\tEnd time.Time `form:\"end\" json:\"end\"`\n\n\t// TimeZone IANA time zone used to place all-day events and events without a time zone on days, also across a daylight saving change. Defaults to the fixed offset of `start`.\n\tTimeZone *string `form:\"timeZone,omitempty\" json:\"timeZone,omitempty\"`\n}\n```\nListCalendarEventsParams defines parameters for ListCalendarEvents.\n\n```go\ntype ListCalendarEventsResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON200 the response for an HTTP 200 `application/json` response\n\tJSON200 *V1CalendarEventsCollection\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON404 the response for an HTTP 404 `application/json` response\n\tJSON404 *CommonResponseNotFoundResponse\n\t// JSON422 the response for an HTTP 422 `application/json` response\n\tJSON422 *CommonResponseValidationFailedResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n}\n```\n\n```go\nfunc ParseListCalendarEventsResponse(rsp *http.Response) (*ListCalendarEventsResponse, error)\n```\nParseListCalendarEventsResponse parses an HTTP response from a ListCalendarEventsWithResponse call\n\n```go\nfunc (r ListCalendarEventsResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r ListCalendarEventsResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r ListCalendarEventsResponse) GetJSON200() *V1CalendarEventsCollection\n```\nGetJSON200 returns the response for an HTTP 200 \\`application/json\\` response\n\n```go\nfunc (r ListCalendarEventsResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r ListCalendarEventsResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r ListCalendarEventsResponse) GetJSON404() *CommonResponseNotFoundResponse\n```\nGetJSON404 returns the response for an HTTP 404 \\`application/json\\` response\n\n```go\nfunc (r ListCalendarEventsResponse) GetJSON422() *CommonResponseValidationFailedResponse\n```\nGetJSON422 returns the response for an HTTP 422 \\`application/json\\` response\n\n```go\nfunc (r ListCalendarEventsResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r ListCalendarEventsResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r ListCalendarEventsResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r ListCalendarEventsResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype ListCalendarsParams struct {\n\t// Page Page number (1-based).\n\tPage *int `form:\"page,omitempty\" json:\"page,omitempty\"`\n\n\t// PerPage Items per page (max 200).\n\tPerPage *int `form:\"perPage,omitempty\" json:\"perPage,omitempty\"`\n}\n```\nListCalendarsParams defines parameters for ListCalendars.\n\n```go\ntype ListCalendarsResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON200 the response for an HTTP 200 `application/json` response\n\tJSON200 *V1CalendarsCollection\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON422 the response for an HTTP 422 `application/json` response\n\tJSON422 *CommonResponseValidationFailedResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n}\n```\n\n```go\nfunc ParseListCalendarsResponse(rsp *http.Response) (*ListCalendarsResponse, error)\n```\nParseListCalendarsResponse parses an HTTP response from a ListCalendarsWithResponse call\n\n```go\nfunc (r ListCalendarsResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r ListCalendarsResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r ListCalendarsResponse) GetJSON200() *V1CalendarsCollection\n```\nGetJSON200 returns the response for an HTTP 200 \\`application/json\\` response\n\n```go\nfunc (r ListCalendarsResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r ListCalendarsResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r ListCalendarsResponse) GetJSON422() *CommonResponseValidationFailedResponse\n```\nGetJSON422 returns the response for an HTTP 422 \\`application/json\\` response\n\n```go\nfunc (r ListCalendarsResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r ListCalendarsResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r ListCalendarsResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r ListCalendarsResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype ListFoldersParams struct {\n\t// Page Page number (1-based).\n\tPage *int `form:\"page,omitempty\" json:\"page,omitempty\"`\n\n\t// PerPage Items per page (max 100).\n\tPerPage *int `form:\"perPage,omitempty\" json:\"perPage,omitempty\"`\n}\n```\nListFoldersParams defines parameters for ListFolders.\n\n```go\ntype ListFoldersResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON200 the response for an HTTP 200 `application/json` response\n\tJSON200 *V1FoldersCollection\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON422 the response for an HTTP 422 `application/json` response\n\tJSON422 *CommonResponseValidationFailedResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n}\n```\n\n```go\nfunc ParseListFoldersResponse(rsp *http.Response) (*ListFoldersResponse, error)\n```\nParseListFoldersResponse parses an HTTP response from a ListFoldersWithResponse call\n\n```go\nfunc (r ListFoldersResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r ListFoldersResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r ListFoldersResponse) GetJSON200() *V1FoldersCollection\n```\nGetJSON200 returns the response for an HTTP 200 \\`application/json\\` response\n\n```go\nfunc (r ListFoldersResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r ListFoldersResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r ListFoldersResponse) GetJSON422() *CommonResponseValidationFailedResponse\n```\nGetJSON422 returns the response for an HTTP 422 \\`application/json\\` response\n\n```go\nfunc (r ListFoldersResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r ListFoldersResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r ListFoldersResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r ListFoldersResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype ListMessagesParams struct {\n\t// Page Page number (1-based).\n\tPage *int `form:\"page,omitempty\" json:\"page,omitempty\"`\n\n\t// PerPage Items per page (max 100).\n\tPerPage *int `form:\"perPage,omitempty\" json:\"perPage,omitempty\"`\n\n\t// Sort Sort field with optional `-` prefix for descending. Allowed: uid, date, size.\n\tSort *string `form:\"sort,omitempty\" json:\"sort,omitempty\"`\n}\n```\nListMessagesParams defines parameters for ListMessages.\n\n```go\ntype ListMessagesResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON200 the response for an HTTP 200 `application/json` response\n\tJSON200 *V1FolderMessagesCollection\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON422 the response for an HTTP 422 `application/json` response\n\tJSON422 *CommonResponseValidationFailedResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n}\n```\n\n```go\nfunc ParseListMessagesResponse(rsp *http.Response) (*ListMessagesResponse, error)\n```\nParseListMessagesResponse parses an HTTP response from a ListMessagesWithResponse call\n\n```go\nfunc (r ListMessagesResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r ListMessagesResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r ListMessagesResponse) GetJSON200() *V1FolderMessagesCollection\n```\nGetJSON200 returns the response for an HTTP 200 \\`application/json\\` response\n\n```go\nfunc (r ListMessagesResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r ListMessagesResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r ListMessagesResponse) GetJSON422() *CommonResponseValidationFailedResponse\n```\nGetJSON422 returns the response for an HTTP 422 \\`application/json\\` response\n\n```go\nfunc (r ListMessagesResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r ListMessagesResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r ListMessagesResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r ListMessagesResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype ListWebhooksParams struct {\n\t// Status Return only webhooks with this status.\n\tStatus *ListWebhooksParamsStatus `form:\"status,omitempty\" json:\"status,omitempty\"`\n\n\t// Page Page number (1-based).\n\tPage *int `form:\"page,omitempty\" json:\"page,omitempty\"`\n\n\t// PerPage Items per page (max 1000).\n\tPerPage *int `form:\"perPage,omitempty\" json:\"perPage,omitempty\"`\n}\n```\nListWebhooksParams defines parameters for ListWebhooks.\n\n```go\ntype ListWebhooksParamsStatus string\n```\nListWebhooksParamsStatus defines parameters for ListWebhooks.\n\n```go\nconst (\n\tListWebhooksParamsStatusActive   ListWebhooksParamsStatus = \"active\"\n\tListWebhooksParamsStatusDisabled ListWebhooksParamsStatus = \"disabled\"\n\tListWebhooksParamsStatusPaused   ListWebhooksParamsStatus = \"paused\"\n)\n```\nDefines values for ListWebhooksParamsStatus.\n\n```go\nfunc (e ListWebhooksParamsStatus) Valid() bool\n```\nValid indicates whether the value is a known member of the ListWebhooksParamsStatus enum.\n\n```go\ntype ListWebhooksResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON200 the response for an HTTP 200 `application/json` response\n\tJSON200 *V1WebhooksCollection\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON422 the response for an HTTP 422 `application/json` response\n\tJSON422 *CommonResponseValidationFailedResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n}\n```\n\n```go\nfunc ParseListWebhooksResponse(rsp *http.Response) (*ListWebhooksResponse, error)\n```\nParseListWebhooksResponse parses an HTTP response from a ListWebhooksWithResponse call\n\n```go\nfunc (r ListWebhooksResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r ListWebhooksResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r ListWebhooksResponse) GetJSON200() *V1WebhooksCollection\n```\nGetJSON200 returns the response for an HTTP 200 \\`application/json\\` response\n\n```go\nfunc (r ListWebhooksResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r ListWebhooksResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r ListWebhooksResponse) GetJSON422() *CommonResponseValidationFailedResponse\n```\nGetJSON422 returns the response for an HTTP 422 \\`application/json\\` response\n\n```go\nfunc (r ListWebhooksResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r ListWebhooksResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r ListWebhooksResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r ListWebhooksResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype MoveMessageJSONRequestBody = V1FolderMessagesMoveRequest\n```\nMoveMessageJSONRequestBody defines body for MoveMessage for application/json ContentType.\n\n```go\ntype MoveMessageResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON422 the response for an HTTP 422 `application/json` response\n\tJSON422 *CommonResponseValidationFailedResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n}\n```\n\n```go\nfunc ParseMoveMessageResponse(rsp *http.Response) (*MoveMessageResponse, error)\n```\nParseMoveMessageResponse parses an HTTP response from a MoveMessageWithResponse call\n\n```go\nfunc (r MoveMessageResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r MoveMessageResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r MoveMessageResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r MoveMessageResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r MoveMessageResponse) GetJSON422() *CommonResponseValidationFailedResponse\n```\nGetJSON422 returns the response for an HTTP 422 \\`application/json\\` response\n\n```go\nfunc (r MoveMessageResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r MoveMessageResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r MoveMessageResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r MoveMessageResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype MoveMessagesJSONRequestBody = V1FolderMessagesMoveBulkRequest\n```\nMoveMessagesJSONRequestBody defines body for MoveMessages for application/json ContentType.\n\n```go\ntype MoveMessagesResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON422 the response for an HTTP 422 `application/json` response\n\tJSON422 *CommonResponseValidationFailedResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n}\n```\n\n```go\nfunc ParseMoveMessagesResponse(rsp *http.Response) (*MoveMessagesResponse, error)\n```\nParseMoveMessagesResponse parses an HTTP response from a MoveMessagesWithResponse call\n\n```go\nfunc (r MoveMessagesResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r MoveMessagesResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r MoveMessagesResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r MoveMessagesResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r MoveMessagesResponse) GetJSON422() *CommonResponseValidationFailedResponse\n```\nGetJSON422 returns the response for an HTTP 422 \\`application/json\\` response\n\n```go\nfunc (r MoveMessagesResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r MoveMessagesResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r MoveMessagesResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r MoveMessagesResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype Pagination struct {\n\t// Page Current page number (1-based).\n\t//\n\t// Example: 1\n\tPage int `json:\"page\"`\n\n\t// PerPage Items per page.\n\t//\n\t// Example: 25\n\tPerPage int `json:\"perPage\"`\n\n\t// Total Total number of items across all pages.\n\t//\n\t// Example: 137\n\tTotal int `json:\"total\"`\n\n\t// TotalPages Total number of pages.\n\t//\n\t// Example: 6\n\tTotalPages int `json:\"totalPages\"`\n}\n```\nPagination Pagination metadata for paginated collections.\n\n```go\ntype PatchMessageJSONRequestBody = V1FolderMessagesFlagsRequest\n```\nPatchMessageJSONRequestBody defines body for PatchMessage for application/json ContentType.\n\n```go\ntype PatchMessageResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON200 the response for an HTTP 200 `application/json` response\n\tJSON200 *V1FolderMessagesResource\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON404 the response for an HTTP 404 `application/json` response\n\tJSON404 *CommonResponseNotFoundResponse\n\t// JSON422 the response for an HTTP 422 `application/json` response\n\tJSON422 *CommonResponseValidationFailedResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n}\n```\n\n```go\nfunc ParsePatchMessageResponse(rsp *http.Response) (*PatchMessageResponse, error)\n```\nParsePatchMessageResponse parses an HTTP response from a PatchMessageWithResponse call\n\n```go\nfunc (r PatchMessageResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r PatchMessageResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r PatchMessageResponse) GetJSON200() *V1FolderMessagesResource\n```\nGetJSON200 returns the response for an HTTP 200 \\`application/json\\` response\n\n```go\nfunc (r PatchMessageResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r PatchMessageResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r PatchMessageResponse) GetJSON404() *CommonResponseNotFoundResponse\n```\nGetJSON404 returns the response for an HTTP 404 \\`application/json\\` response\n\n```go\nfunc (r PatchMessageResponse) GetJSON422() *CommonResponseValidationFailedResponse\n```\nGetJSON422 returns the response for an HTTP 422 \\`application/json\\` response\n\n```go\nfunc (r PatchMessageResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r PatchMessageResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r PatchMessageResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r PatchMessageResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype RegenerateWebhookSecretResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON200 the response for an HTTP 200 `application/json` response\n\tJSON200 *V1WebhooksResourceWithSecret\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON404 the response for an HTTP 404 `application/json` response\n\tJSON404 *CommonResponseNotFoundResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n}\n```\n\n```go\nfunc ParseRegenerateWebhookSecretResponse(rsp *http.Response) (*RegenerateWebhookSecretResponse, error)\n```\nParseRegenerateWebhookSecretResponse parses an HTTP response from a RegenerateWebhookSecretWithResponse call\n\n```go\nfunc (r RegenerateWebhookSecretResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r RegenerateWebhookSecretResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r RegenerateWebhookSecretResponse) GetJSON200() *V1WebhooksResourceWithSecret\n```\nGetJSON200 returns the response for an HTTP 200 \\`application/json\\` response\n\n```go\nfunc (r RegenerateWebhookSecretResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r RegenerateWebhookSecretResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r RegenerateWebhookSecretResponse) GetJSON404() *CommonResponseNotFoundResponse\n```\nGetJSON404 returns the response for an HTTP 404 \\`application/json\\` response\n\n```go\nfunc (r RegenerateWebhookSecretResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r RegenerateWebhookSecretResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r RegenerateWebhookSecretResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r RegenerateWebhookSecretResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype ReplyToCalendarEventJSONRequestBody = V1CalendarEventsReplyRequest\n```\nReplyToCalendarEventJSONRequestBody defines body for ReplyToCalendarEvent for application/json ContentType.\n\n```go\ntype ReplyToCalendarEventParams struct {\n\t// IfMatch Optional `etag` from `getCalendarEvent`. When the event changed since that call, the answer is not saved and the request fails with `412`: fetch the event again and retry. Omit it to apply the request to the current version.\n\tIfMatch *string `json:\"If-Match,omitempty\"`\n}\n```\nReplyToCalendarEventParams defines parameters for ReplyToCalendarEvent.\n\n```go\ntype ReplyToCalendarEventResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON200 the response for an HTTP 200 `application/json` response\n\tJSON200 *V1CalendarEventsResource\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON404 the response for an HTTP 404 `application/json` response\n\tJSON404 *CommonResponseNotFoundResponse\n\t// JSON409 the response for an HTTP 409 `application/json` response\n\tJSON409 *CommonResponseConflictResponse\n\t// JSON412 the response for an HTTP 412 `application/json` response\n\tJSON412 *CommonResponsePreconditionFailedResponse\n\t// JSON422 the response for an HTTP 422 `application/json` response\n\tJSON422 *CommonResponseValidationFailedResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n}\n```\n\n```go\nfunc ParseReplyToCalendarEventResponse(rsp *http.Response) (*ReplyToCalendarEventResponse, error)\n```\nParseReplyToCalendarEventResponse parses an HTTP response from a ReplyToCalendarEventWithResponse call\n\n```go\nfunc (r ReplyToCalendarEventResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r ReplyToCalendarEventResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r ReplyToCalendarEventResponse) GetJSON200() *V1CalendarEventsResource\n```\nGetJSON200 returns the response for an HTTP 200 \\`application/json\\` response\n\n```go\nfunc (r ReplyToCalendarEventResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r ReplyToCalendarEventResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r ReplyToCalendarEventResponse) GetJSON404() *CommonResponseNotFoundResponse\n```\nGetJSON404 returns the response for an HTTP 404 \\`application/json\\` response\n\n```go\nfunc (r ReplyToCalendarEventResponse) GetJSON409() *CommonResponseConflictResponse\n```\nGetJSON409 returns the response for an HTTP 409 \\`application/json\\` response\n\n```go\nfunc (r ReplyToCalendarEventResponse) GetJSON412() *CommonResponsePreconditionFailedResponse\n```\nGetJSON412 returns the response for an HTTP 412 \\`application/json\\` response\n\n```go\nfunc (r ReplyToCalendarEventResponse) GetJSON422() *CommonResponseValidationFailedResponse\n```\nGetJSON422 returns the response for an HTTP 422 \\`application/json\\` response\n\n```go\nfunc (r ReplyToCalendarEventResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r ReplyToCalendarEventResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r ReplyToCalendarEventResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r ReplyToCalendarEventResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype RequestEditorFn func(ctx context.Context, req *http.Request) error\n```\nRequestEditorFn is the function signature for the RequestEditor callback function\n\n```go\ntype RescheduleCalendarEventJSONRequestBody = V1CalendarEventsRescheduleRequest\n```\nRescheduleCalendarEventJSONRequestBody defines body for RescheduleCalendarEvent for application/json ContentType.\n\n```go\ntype RescheduleCalendarEventParams struct {\n\t// IfMatch Optional `etag` from `getCalendarEvent`. When the event changed since that call, nothing is changed and the request fails with `412`: fetch the event again and retry. Omit it to apply the request to the current version.\n\tIfMatch *string `json:\"If-Match,omitempty\"`\n}\n```\nRescheduleCalendarEventParams defines parameters for RescheduleCalendarEvent.\n\n```go\ntype RescheduleCalendarEventResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON200 the response for an HTTP 200 `application/json` response\n\tJSON200 *V1CalendarEventsResource\n\t// JSON400 the response for an HTTP 400 `application/json` response\n\tJSON400 *CommonResponseEventAttendeeLimitReachedResponse\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON404 the response for an HTTP 404 `application/json` response\n\tJSON404 *CommonResponseNotFoundResponse\n\t// JSON412 the response for an HTTP 412 `application/json` response\n\tJSON412 *CommonResponsePreconditionFailedResponse\n\t// JSON422 the response for an HTTP 422 `application/json` response\n\tJSON422 *CommonResponseValidationFailedResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n}\n```\n\n```go\nfunc ParseRescheduleCalendarEventResponse(rsp *http.Response) (*RescheduleCalendarEventResponse, error)\n```\nParseRescheduleCalendarEventResponse parses an HTTP response from a RescheduleCalendarEventWithResponse call\n\n```go\nfunc (r RescheduleCalendarEventResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r RescheduleCalendarEventResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r RescheduleCalendarEventResponse) GetJSON200() *V1CalendarEventsResource\n```\nGetJSON200 returns the response for an HTTP 200 \\`application/json\\` response\n\n```go\nfunc (r RescheduleCalendarEventResponse) GetJSON400() *CommonResponseEventAttendeeLimitReachedResponse\n```\nGetJSON400 returns the response for an HTTP 400 \\`application/json\\` response\n\n```go\nfunc (r RescheduleCalendarEventResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r RescheduleCalendarEventResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r RescheduleCalendarEventResponse) GetJSON404() *CommonResponseNotFoundResponse\n```\nGetJSON404 returns the response for an HTTP 404 \\`application/json\\` response\n\n```go\nfunc (r RescheduleCalendarEventResponse) GetJSON412() *CommonResponsePreconditionFailedResponse\n```\nGetJSON412 returns the response for an HTTP 412 \\`application/json\\` response\n\n```go\nfunc (r RescheduleCalendarEventResponse) GetJSON422() *CommonResponseValidationFailedResponse\n```\nGetJSON422 returns the response for an HTTP 422 \\`application/json\\` response\n\n```go\nfunc (r RescheduleCalendarEventResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r RescheduleCalendarEventResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r RescheduleCalendarEventResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r RescheduleCalendarEventResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype SearchMessagesJSONRequestBody = V1FolderMessagesSearchRequest\n```\nSearchMessagesJSONRequestBody defines body for SearchMessages for application/json ContentType.\n\n```go\ntype SearchMessagesParams struct {\n\t// Page Page number (1-based).\n\tPage *int `form:\"page,omitempty\" json:\"page,omitempty\"`\n\n\t// PerPage Items per page (max 100).\n\tPerPage *int `form:\"perPage,omitempty\" json:\"perPage,omitempty\"`\n\n\t// Sort Sort field with optional `-` prefix for descending. Allowed: uid, date, size.\n\tSort *string `form:\"sort,omitempty\" json:\"sort,omitempty\"`\n}\n```\nSearchMessagesParams defines parameters for SearchMessages.\n\n```go\ntype SearchMessagesResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON200 the response for an HTTP 200 `application/json` response\n\tJSON200 *V1FolderMessagesCollection\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON422 the response for an HTTP 422 `application/json` response\n\tJSON422 *CommonResponseValidationFailedResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n\t// JSON504 the response for an HTTP 504 `application/json` response\n\tJSON504 *CommonResponseGatewayTimeoutResponse\n}\n```\n\n```go\nfunc ParseSearchMessagesResponse(rsp *http.Response) (*SearchMessagesResponse, error)\n```\nParseSearchMessagesResponse parses an HTTP response from a SearchMessagesWithResponse call\n\n```go\nfunc (r SearchMessagesResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r SearchMessagesResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r SearchMessagesResponse) GetJSON200() *V1FolderMessagesCollection\n```\nGetJSON200 returns the response for an HTTP 200 \\`application/json\\` response\n\n```go\nfunc (r SearchMessagesResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r SearchMessagesResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r SearchMessagesResponse) GetJSON422() *CommonResponseValidationFailedResponse\n```\nGetJSON422 returns the response for an HTTP 422 \\`application/json\\` response\n\n```go\nfunc (r SearchMessagesResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r SearchMessagesResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r SearchMessagesResponse) GetJSON504() *CommonResponseGatewayTimeoutResponse\n```\nGetJSON504 returns the response for an HTTP 504 \\`application/json\\` response\n\n```go\nfunc (r SearchMessagesResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r SearchMessagesResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype SendEmailJSONRequestBody = V1SendRequest\n```\nSendEmailJSONRequestBody defines body for SendEmail for application/json ContentType.\n\n```go\ntype SendEmailResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON422 the response for an HTTP 422 `application/json` response\n\tJSON422 *CommonResponseValidationFailedResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n\t// JSON504 the response for an HTTP 504 `application/json` response\n\tJSON504 *CommonResponseGatewayTimeoutResponse\n}\n```\n\n```go\nfunc ParseSendEmailResponse(rsp *http.Response) (*SendEmailResponse, error)\n```\nParseSendEmailResponse parses an HTTP response from a SendEmailWithResponse call\n\n```go\nfunc (r SendEmailResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r SendEmailResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r SendEmailResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r SendEmailResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r SendEmailResponse) GetJSON422() *CommonResponseValidationFailedResponse\n```\nGetJSON422 returns the response for an HTTP 422 \\`application/json\\` response\n\n```go\nfunc (r SendEmailResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r SendEmailResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r SendEmailResponse) GetJSON504() *CommonResponseGatewayTimeoutResponse\n```\nGetJSON504 returns the response for an HTTP 504 \\`application/json\\` response\n\n```go\nfunc (r SendEmailResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r SendEmailResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype SubmitFeedbackJSONRequestBody = V1FeedbackSubmitRequest\n```\nSubmitFeedbackJSONRequestBody defines body for SubmitFeedback for application/json ContentType.\n\n```go\ntype SubmitFeedbackResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON422 the response for an HTTP 422 `application/json` response\n\tJSON422 *CommonResponseValidationFailedResponse\n\t// JSON429 the response for an HTTP 429 `application/json` response\n\tJSON429 *CommonResponseTooManyRequestsResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n\t// JSON504 the response for an HTTP 504 `application/json` response\n\tJSON504 *CommonResponseGatewayTimeoutResponse\n}\n```\n\n```go\nfunc ParseSubmitFeedbackResponse(rsp *http.Response) (*SubmitFeedbackResponse, error)\n```\nParseSubmitFeedbackResponse parses an HTTP response from a SubmitFeedbackWithResponse call\n\n```go\nfunc (r SubmitFeedbackResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r SubmitFeedbackResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r SubmitFeedbackResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r SubmitFeedbackResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r SubmitFeedbackResponse) GetJSON422() *CommonResponseValidationFailedResponse\n```\nGetJSON422 returns the response for an HTTP 422 \\`application/json\\` response\n\n```go\nfunc (r SubmitFeedbackResponse) GetJSON429() *CommonResponseTooManyRequestsResponse\n```\nGetJSON429 returns the response for an HTTP 429 \\`application/json\\` response\n\n```go\nfunc (r SubmitFeedbackResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r SubmitFeedbackResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r SubmitFeedbackResponse) GetJSON504() *CommonResponseGatewayTimeoutResponse\n```\nGetJSON504 returns the response for an HTTP 504 \\`application/json\\` response\n\n```go\nfunc (r SubmitFeedbackResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r SubmitFeedbackResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype TestWebhookResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON200 the response for an HTTP 200 `application/json` response\n\tJSON200 *V1WebhooksTestResult\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON404 the response for an HTTP 404 `application/json` response\n\tJSON404 *CommonResponseNotFoundResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n}\n```\n\n```go\nfunc ParseTestWebhookResponse(rsp *http.Response) (*TestWebhookResponse, error)\n```\nParseTestWebhookResponse parses an HTTP response from a TestWebhookWithResponse call\n\n```go\nfunc (r TestWebhookResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r TestWebhookResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r TestWebhookResponse) GetJSON200() *V1WebhooksTestResult\n```\nGetJSON200 returns the response for an HTTP 200 \\`application/json\\` response\n\n```go\nfunc (r TestWebhookResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r TestWebhookResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r TestWebhookResponse) GetJSON404() *CommonResponseNotFoundResponse\n```\nGetJSON404 returns the response for an HTTP 404 \\`application/json\\` response\n\n```go\nfunc (r TestWebhookResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r TestWebhookResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r TestWebhookResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r TestWebhookResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype UpdateCalendarEventJSONRequestBody = V1CalendarEventsUpdateRequest\n```\nUpdateCalendarEventJSONRequestBody defines body for UpdateCalendarEvent for application/json ContentType.\n\n```go\ntype UpdateCalendarEventParams struct {\n\t// IfMatch Optional `etag` from `getCalendarEvent`. When the event changed since that call, nothing is changed and the request fails with `412`: fetch the event again and retry. Omit it to apply the request to the current version.\n\tIfMatch *string `json:\"If-Match,omitempty\"`\n}\n```\nUpdateCalendarEventParams defines parameters for UpdateCalendarEvent.\n\n```go\ntype UpdateCalendarEventResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON200 the response for an HTTP 200 `application/json` response\n\tJSON200 *V1CalendarEventsResource\n\t// JSON400 the response for an HTTP 400 `application/json` response\n\tJSON400 *CommonResponseEventAttendeeLimitReachedResponse\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON404 the response for an HTTP 404 `application/json` response\n\tJSON404 *CommonResponseNotFoundResponse\n\t// JSON412 the response for an HTTP 412 `application/json` response\n\tJSON412 *CommonResponsePreconditionFailedResponse\n\t// JSON422 the response for an HTTP 422 `application/json` response\n\tJSON422 *CommonResponseValidationFailedResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n}\n```\n\n```go\nfunc ParseUpdateCalendarEventResponse(rsp *http.Response) (*UpdateCalendarEventResponse, error)\n```\nParseUpdateCalendarEventResponse parses an HTTP response from a UpdateCalendarEventWithResponse call\n\n```go\nfunc (r UpdateCalendarEventResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r UpdateCalendarEventResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r UpdateCalendarEventResponse) GetJSON200() *V1CalendarEventsResource\n```\nGetJSON200 returns the response for an HTTP 200 \\`application/json\\` response\n\n```go\nfunc (r UpdateCalendarEventResponse) GetJSON400() *CommonResponseEventAttendeeLimitReachedResponse\n```\nGetJSON400 returns the response for an HTTP 400 \\`application/json\\` response\n\n```go\nfunc (r UpdateCalendarEventResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r UpdateCalendarEventResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r UpdateCalendarEventResponse) GetJSON404() *CommonResponseNotFoundResponse\n```\nGetJSON404 returns the response for an HTTP 404 \\`application/json\\` response\n\n```go\nfunc (r UpdateCalendarEventResponse) GetJSON412() *CommonResponsePreconditionFailedResponse\n```\nGetJSON412 returns the response for an HTTP 412 \\`application/json\\` response\n\n```go\nfunc (r UpdateCalendarEventResponse) GetJSON422() *CommonResponseValidationFailedResponse\n```\nGetJSON422 returns the response for an HTTP 422 \\`application/json\\` response\n\n```go\nfunc (r UpdateCalendarEventResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r UpdateCalendarEventResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r UpdateCalendarEventResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r UpdateCalendarEventResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype UpdateCalendarJSONRequestBody = V1CalendarsUpdateRequest\n```\nUpdateCalendarJSONRequestBody defines body for UpdateCalendar for application/json ContentType.\n\n```go\ntype UpdateCalendarResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON200 the response for an HTTP 200 `application/json` response\n\tJSON200 *V1CalendarsResource\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON404 the response for an HTTP 404 `application/json` response\n\tJSON404 *CommonResponseNotFoundResponse\n\t// JSON422 the response for an HTTP 422 `application/json` response\n\tJSON422 *CommonResponseValidationFailedResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n}\n```\n\n```go\nfunc ParseUpdateCalendarResponse(rsp *http.Response) (*UpdateCalendarResponse, error)\n```\nParseUpdateCalendarResponse parses an HTTP response from a UpdateCalendarWithResponse call\n\n```go\nfunc (r UpdateCalendarResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r UpdateCalendarResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r UpdateCalendarResponse) GetJSON200() *V1CalendarsResource\n```\nGetJSON200 returns the response for an HTTP 200 \\`application/json\\` response\n\n```go\nfunc (r UpdateCalendarResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r UpdateCalendarResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r UpdateCalendarResponse) GetJSON404() *CommonResponseNotFoundResponse\n```\nGetJSON404 returns the response for an HTTP 404 \\`application/json\\` response\n\n```go\nfunc (r UpdateCalendarResponse) GetJSON422() *CommonResponseValidationFailedResponse\n```\nGetJSON422 returns the response for an HTTP 422 \\`application/json\\` response\n\n```go\nfunc (r UpdateCalendarResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r UpdateCalendarResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r UpdateCalendarResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r UpdateCalendarResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype UpdateFolderJSONRequestBody = V1FoldersUpdateRequest\n```\nUpdateFolderJSONRequestBody defines body for UpdateFolder for application/json ContentType.\n\n```go\ntype UpdateFolderResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON200 the response for an HTTP 200 `application/json` response\n\tJSON200 *V1FoldersResource\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON409 the response for an HTTP 409 `application/json` response\n\tJSON409 *CommonResponseConflictResponse\n\t// JSON422 the response for an HTTP 422 `application/json` response\n\tJSON422 *CommonResponseValidationFailedResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n}\n```\n\n```go\nfunc ParseUpdateFolderResponse(rsp *http.Response) (*UpdateFolderResponse, error)\n```\nParseUpdateFolderResponse parses an HTTP response from a UpdateFolderWithResponse call\n\n```go\nfunc (r UpdateFolderResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r UpdateFolderResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r UpdateFolderResponse) GetJSON200() *V1FoldersResource\n```\nGetJSON200 returns the response for an HTTP 200 \\`application/json\\` response\n\n```go\nfunc (r UpdateFolderResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r UpdateFolderResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r UpdateFolderResponse) GetJSON409() *CommonResponseConflictResponse\n```\nGetJSON409 returns the response for an HTTP 409 \\`application/json\\` response\n\n```go\nfunc (r UpdateFolderResponse) GetJSON422() *CommonResponseValidationFailedResponse\n```\nGetJSON422 returns the response for an HTTP 422 \\`application/json\\` response\n\n```go\nfunc (r UpdateFolderResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r UpdateFolderResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r UpdateFolderResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r UpdateFolderResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype UpdateMessageFlagsJSONRequestBody = V1FolderMessagesFlagsBulkRequest\n```\nUpdateMessageFlagsJSONRequestBody defines body for UpdateMessageFlags for application/json ContentType.\n\n```go\ntype UpdateMessageFlagsResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON200 the response for an HTTP 200 `application/json` response\n\tJSON200 *V1FolderMessagesUpdateFlagsResult\n\t// JSON207 the response for an HTTP 207 `application/json` response\n\tJSON207 *V1FolderMessagesUpdateFlagsResult\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON422 the response for an HTTP 422 `application/json` response\n\tJSON422 *CommonResponseValidationFailedResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n}\n```\n\n```go\nfunc ParseUpdateMessageFlagsResponse(rsp *http.Response) (*UpdateMessageFlagsResponse, error)\n```\nParseUpdateMessageFlagsResponse parses an HTTP response from a UpdateMessageFlagsWithResponse call\n\n```go\nfunc (r UpdateMessageFlagsResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r UpdateMessageFlagsResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r UpdateMessageFlagsResponse) GetJSON200() *V1FolderMessagesUpdateFlagsResult\n```\nGetJSON200 returns the response for an HTTP 200 \\`application/json\\` response\n\n```go\nfunc (r UpdateMessageFlagsResponse) GetJSON207() *V1FolderMessagesUpdateFlagsResult\n```\nGetJSON207 returns the response for an HTTP 207 \\`application/json\\` response\n\n```go\nfunc (r UpdateMessageFlagsResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r UpdateMessageFlagsResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r UpdateMessageFlagsResponse) GetJSON422() *CommonResponseValidationFailedResponse\n```\nGetJSON422 returns the response for an HTTP 422 \\`application/json\\` response\n\n```go\nfunc (r UpdateMessageFlagsResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r UpdateMessageFlagsResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r UpdateMessageFlagsResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r UpdateMessageFlagsResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype UpdateWebhookJSONRequestBody = V1WebhooksUpdateRequest\n```\nUpdateWebhookJSONRequestBody defines body for UpdateWebhook for application/json ContentType.\n\n```go\ntype UpdateWebhookResponse struct {\n\tBody         []byte\n\tHTTPResponse *http.Response\n\t// JSON200 the response for an HTTP 200 `application/json` response\n\tJSON200 *V1WebhooksResource\n\t// JSON401 the response for an HTTP 401 `application/json` response\n\tJSON401 *CommonResponseUnauthorizedResponse\n\t// JSON403 the response for an HTTP 403 `application/json` response\n\tJSON403 *CommonResponseForbiddenResponse\n\t// JSON404 the response for an HTTP 404 `application/json` response\n\tJSON404 *CommonResponseNotFoundResponse\n\t// JSON422 the response for an HTTP 422 `application/json` response\n\tJSON422 *CommonResponseValidationFailedResponse\n\t// JSON500 the response for an HTTP 500 `application/json` response\n\tJSON500 *CommonResponseInternalServerErrorResponse\n\t// JSON502 the response for an HTTP 502 `application/json` response\n\tJSON502 *CommonResponseBadGatewayResponse\n}\n```\n\n```go\nfunc ParseUpdateWebhookResponse(rsp *http.Response) (*UpdateWebhookResponse, error)\n```\nParseUpdateWebhookResponse parses an HTTP response from a UpdateWebhookWithResponse call\n\n```go\nfunc (r UpdateWebhookResponse) ContentType() string\n```\nContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers\n\n```go\nfunc (r UpdateWebhookResponse) GetBody() []byte\n```\nGetBody returns the raw response body bytes\n\n```go\nfunc (r UpdateWebhookResponse) GetJSON200() *V1WebhooksResource\n```\nGetJSON200 returns the response for an HTTP 200 \\`application/json\\` response\n\n```go\nfunc (r UpdateWebhookResponse) GetJSON401() *CommonResponseUnauthorizedResponse\n```\nGetJSON401 returns the response for an HTTP 401 \\`application/json\\` response\n\n```go\nfunc (r UpdateWebhookResponse) GetJSON403() *CommonResponseForbiddenResponse\n```\nGetJSON403 returns the response for an HTTP 403 \\`application/json\\` response\n\n```go\nfunc (r UpdateWebhookResponse) GetJSON404() *CommonResponseNotFoundResponse\n```\nGetJSON404 returns the response for an HTTP 404 \\`application/json\\` response\n\n```go\nfunc (r UpdateWebhookResponse) GetJSON422() *CommonResponseValidationFailedResponse\n```\nGetJSON422 returns the response for an HTTP 422 \\`application/json\\` response\n\n```go\nfunc (r UpdateWebhookResponse) GetJSON500() *CommonResponseInternalServerErrorResponse\n```\nGetJSON500 returns the response for an HTTP 500 \\`application/json\\` response\n\n```go\nfunc (r UpdateWebhookResponse) GetJSON502() *CommonResponseBadGatewayResponse\n```\nGetJSON502 returns the response for an HTTP 502 \\`application/json\\` response\n\n```go\nfunc (r UpdateWebhookResponse) Status() string\n```\nStatus returns HTTPResponse.Status\n\n```go\nfunc (r UpdateWebhookResponse) StatusCode() int\n```\nStatusCode returns HTTPResponse.StatusCode\n\n```go\ntype V1CalendarEventsAttendee struct {\n\t// Email Example: john@example.com\n\tEmail openapi_types.Email `json:\"email\"`\n\n\t// Name Example: John\n\tName *string `json:\"name\"`\n\n\t// ParticipationStatus Answer of the attendee. NEEDS-ACTION means no answer yet.\n\t//\n\t// Example: NEEDS-ACTION\n\tParticipationStatus V1CalendarEventsAttendeeParticipationStatus `json:\"participationStatus\"`\n}\n```\nV1CalendarEventsAttendee Attendee of an event with their answer to the invitation.\n\n```go\ntype V1CalendarEventsAttendeeInput struct {\n\t// Email Email address of the attendee.\n\t//\n\t// Example: john@example.com\n\tEmail openapi_types.Email `json:\"email\"`\n\n\t// Name Display name of the attendee, null when unknown.\n\t//\n\t// Example: John\n\tName *string `json:\"name,omitempty\"`\n}\n```\nV1CalendarEventsAttendeeInput Person to invite to an event.\n\n```go\ntype V1CalendarEventsAttendeeParticipationStatus string\n```\nV1CalendarEventsAttendeeParticipationStatus Answer of the attendee. NEEDS-ACTION means no answer yet.\n\nExample: NEEDS-ACTION\n\n```go\nconst (\n\tV1CalendarEventsAttendeeParticipationStatusACCEPTED    V1CalendarEventsAttendeeParticipationStatus = \"ACCEPTED\"\n\tV1CalendarEventsAttendeeParticipationStatusDECLINED    V1CalendarEventsAttendeeParticipationStatus = \"DECLINED\"\n\tV1CalendarEventsAttendeeParticipationStatusDELEGATED   V1CalendarEventsAttendeeParticipationStatus = \"DELEGATED\"\n\tV1CalendarEventsAttendeeParticipationStatusNEEDSACTION V1CalendarEventsAttendeeParticipationStatus = \"NEEDS-ACTION\"\n\tV1CalendarEventsAttendeeParticipationStatusTENTATIVE   V1CalendarEventsAttendeeParticipationStatus = \"TENTATIVE\"\n)\n```\nDefines values for V1CalendarEventsAttendeeParticipationStatus.\n\n```go\nfunc (e V1CalendarEventsAttendeeParticipationStatus) Valid() bool\n```\nValid indicates whether the value is a known member of the V1CalendarEventsAttendeeParticipationStatus enum.\n\n```go\ntype V1CalendarEventsCollection struct {\n\tData []V1CalendarEventsEventListItem `json:\"data\"`\n\tMeta struct {\n\t\t// Truncated Whether some events were left out because the calendar holds too many to list in one request.\n\t\t//\n\t\t// Example: false\n\t\tTruncated bool `json:\"truncated\"`\n\t} `json:\"meta\"`\n}\n```\nV1CalendarEventsCollection Calendar events overlapping the requested time range. Not paginated.\n\n```go\ntype V1CalendarEventsCreateRequest struct {\n\t// AllDay `true` for an all-day event (dates only, `timeZone` ignored), `false` for an event at a time of day.\n\t//\n\t// Example: false\n\tAllDay bool `json:\"allDay\"`\n\n\t// Attendees People to invite; each receives an email invitation. Unique addresses, at most 100 not counting the mailbox itself, across all occurrences. The own address of the mailbox is stored as accepted and not invited. Omitted, null or empty for none.\n\tAttendees *[]V1CalendarEventsAttendeeInput `json:\"attendees,omitempty\"`\n\n\t// Color Color of the event as #RRGGBB or #RRGGBBAA. Omitted or null uses the calendar color.\n\t//\n\t// Example: #251951\n\tColor *string `json:\"color,omitempty\"`\n\n\t// Description Notes of the event. Omitted or null for none.\n\t//\n\t// Example: Bring the notes.\n\tDescription *string `json:\"description,omitempty\"`\n\n\t// End Exclusive end, same format as `start`. Required for a timed event and not before `start`. For an all-day event the day after the last day (2026-09-29 for one day on 2026-09-28); omitted means one day.\n\t//\n\t// Example: 2026-09-28T14:00:00+03:00\n\tEnd *string `json:\"end,omitempty\"`\n\n\t// Location Place of the event. Omitted or null for none.\n\t//\n\t// Example: Room 4\n\tLocation *string `json:\"location,omitempty\"`\n\n\t// MeetingLink http or https URL of the online meeting. Omitted or null for none.\n\t//\n\t// Example: https://meet.example.com/abc-defg-hij\n\tMeetingLink *string `json:\"meetingLink,omitempty\"`\n\n\t// RecurrenceRule Omitted or null for a one-off event. A repeating event sends every field of the rule, null when unused: `frequency` DAILY, WEEKLY, MONTHLY or YEARLY, `interval` 1 to 1000, and `count` or `until` to end it, not both.\n\tRecurrenceRule *V1CalendarEventsRecurrenceRule `json:\"recurrenceRule,omitempty\"`\n\n\t// Reminder Alarm before the start: `value` 0 to 1000 and `unit`. Omitted or null for none.\n\tReminder *V1CalendarEventsReminder `json:\"reminder,omitempty\"`\n\n\t// Start ISO 8601 date-time with offset; without an offset it is read as UTC. For an all-day event a date is enough (2026-09-28).\n\t//\n\t// Example: 2026-09-28T13:00:00+03:00\n\tStart string `json:\"start\"`\n\n\t// TimeZone IANA time zone of the event. Required when `allDay` is false, ignored when `allDay` is true.\n\t//\n\t// Example: Europe/Vilnius\n\tTimeZone *string `json:\"timeZone,omitempty\"`\n\n\t// Title Title of the event.\n\t//\n\t// Example: Planning\n\tTitle string `json:\"title\"`\n}\n```\nV1CalendarEventsCreateRequest Body for creating a calendar event.\n\n```go\ntype V1CalendarEventsEvent struct {\n\t// AllDay Example: false\n\tAllDay    bool                       `json:\"allDay\"`\n\tAttendees []V1CalendarEventsAttendee `json:\"attendees\"`\n\n\t// CalendarUuid Identifier of the calendar the event is stored in.\n\t//\n\t// Example: 42c370e3-48ae-4286-90c5-d952f28c67cc\n\tCalendarUuid openapi_types.UUID `json:\"calendarUuid\"`\n\n\t// Color Color of the event. The calendar color when the event has none or is an invitation from someone else.\n\t//\n\t// Example: #673de6\n\tColor *string `json:\"color\"`\n\n\t// Description Example: Bring the notes.\n\tDescription *string `json:\"description\"`\n\n\t// Editable Whether `updateCalendarEvent`, `rescheduleCalendarEvent` and `deleteCalendarEvent` can change the event.\n\t//\n\t// Example: true\n\tEditable bool `json:\"editable\"`\n\n\t// End Exclusive end, same form as `start`. When `allDay` is true, midnight of the day after the last day of the event (2026-09-30T00:00:00.000000Z for a one-day event on 2026-09-29).\n\t//\n\t// Example: 2026-09-28T11:00:00.000000Z\n\tEnd time.Time `json:\"end\"`\n\n\t// Etag Version of the event. Send it as `If-Match` on a write to fail instead of overwriting a newer version.\n\t//\n\t// Example: 3c9f1a2b8e04\n\tEtag string `json:\"etag\"`\n\n\t// Location Example: Room 4\n\tLocation *string `json:\"location\"`\n\n\t// MeetingLink Example: https://meet.example.com/abc-defg-hij\n\tMeetingLink *string `json:\"meetingLink\"`\n\n\t// Organizer Who organizes the event. Null when the event has no organizer.\n\tOrganizer *V1CalendarEventsOrganizer `json:\"organizer\"`\n\n\t// ParticipationStatus Answer of the mailbox to an invitation from someone else. Null for its own events.\n\t//\n\t// Example: ACCEPTED\n\tParticipationStatus *V1CalendarEventsEventParticipationStatus `json:\"participationStatus\"`\n\n\t// RecurrenceId Identifies one occurrence of a recurring event. Null for a one-off event or for the series itself.\n\t//\n\t// Example: 2026-09-28T10:00:00.000000Z\n\tRecurrenceId *time.Time `json:\"recurrenceId\"`\n\n\t// RecurrenceRule How the event repeats. Null for a one-off event.\n\tRecurrenceRule *V1CalendarEventsRecurrenceRule `json:\"recurrenceRule\"`\n\n\t// Reminder Alarm before the start. Null for none.\n\tReminder *V1CalendarEventsReminder `json:\"reminder\"`\n\n\t// Replyable Whether the mailbox is invited by someone else and the event is not cancelled, so `replyToCalendarEvent` can answer it.\n\t//\n\t// Example: false\n\tReplyable bool `json:\"replyable\"`\n\n\t// Start Start in UTC. When `allDay` is true, the date at midnight (2026-09-29T00:00:00.000000Z). An event stored without a time zone keeps its wall-clock time (09:00 is 09:00:00.000000Z).\n\t//\n\t// Example: 2026-09-28T10:00:00.000000Z\n\tStart time.Time `json:\"start\"`\n\n\t// Status CANCELLED when the organizer cancelled the event, CONFIRMED otherwise.\n\t//\n\t// Example: CONFIRMED\n\tStatus V1CalendarEventsEventStatus `json:\"status\"`\n\n\t// TimeZone IANA time zone the event is stored in. Null when it has none.\n\t//\n\t// Example: Europe/Vilnius\n\tTimeZone *string `json:\"timeZone\"`\n\n\t// Title Example: Planning\n\tTitle string `json:\"title\"`\n\n\t// Uuid Event identifier, the `eventUuid` of the calendar event endpoints. Every occurrence of a recurring event has the same uuid.\n\t//\n\t// Example: a1b2c3d4-e5f6-7890-abcd-ef1234567890\n\tUuid openapi_types.UUID `json:\"uuid\"`\n}\n```\nV1CalendarEventsEvent Full details of one calendar event. Requested without \\`recurrenceId\\`, a recurring event is the series itself and \\`recurrenceId\\` is null; with it, one occurrence of the series.\n\n```go\ntype V1CalendarEventsEventListItem struct {\n\t// AllDay Example: false\n\tAllDay bool `json:\"allDay\"`\n\n\t// CalendarUuid Identifier of the calendar the event is stored in.\n\t//\n\t// Example: 42c370e3-48ae-4286-90c5-d952f28c67cc\n\tCalendarUuid openapi_types.UUID `json:\"calendarUuid\"`\n\n\t// Color Color of the event. The calendar color when the event has none or is an invitation from someone else.\n\t//\n\t// Example: #673de6\n\tColor *string `json:\"color\"`\n\n\t// Editable Whether `updateCalendarEvent`, `rescheduleCalendarEvent` and `deleteCalendarEvent` can change the event.\n\t//\n\t// Example: true\n\tEditable bool `json:\"editable\"`\n\n\t// End Exclusive end, same form as `start`. When `allDay` is true, midnight of the day after the last day of the event (2026-09-30T00:00:00.000000Z for a one-day event on 2026-09-29).\n\t//\n\t// Example: 2026-09-28T11:00:00.000000Z\n\tEnd time.Time `json:\"end\"`\n\n\t// ParticipationStatus Answer of the mailbox to an invitation from someone else. Null for its own events.\n\t//\n\t// Example: ACCEPTED\n\tParticipationStatus *V1CalendarEventsEventListItemParticipationStatus `json:\"participationStatus\"`\n\n\t// RecurrenceId Identifies one occurrence of a recurring event. Null for a one-off event or for the series itself.\n\t//\n\t// Example: 2026-09-28T10:00:00.000000Z\n\tRecurrenceId *time.Time `json:\"recurrenceId\"`\n\n\t// Start Start in UTC. When `allDay` is true, the date at midnight (2026-09-29T00:00:00.000000Z). An event stored without a time zone keeps its wall-clock time (09:00 is 09:00:00.000000Z).\n\t//\n\t// Example: 2026-09-28T10:00:00.000000Z\n\tStart time.Time `json:\"start\"`\n\n\t// Status CANCELLED when the organizer cancelled the event, CONFIRMED otherwise.\n\t//\n\t// Example: CONFIRMED\n\tStatus V1CalendarEventsEventListItemStatus `json:\"status\"`\n\n\t// TimeZone IANA time zone the event is stored in. Null when it has none.\n\t//\n\t// Example: Europe/Vilnius\n\tTimeZone *string `json:\"timeZone\"`\n\n\t// Title Example: Planning\n\tTitle string `json:\"title\"`\n\n\t// Uuid Event identifier, the `eventUuid` of the calendar event endpoints. Every occurrence of a recurring event has the same uuid.\n\t//\n\t// Example: a1b2c3d4-e5f6-7890-abcd-ef1234567890\n\tUuid openapi_types.UUID `json:\"uuid\"`\n}\n```\nV1CalendarEventsEventListItem Summary of one calendar event or of one occurrence of a recurring event.\n\n```go\ntype V1CalendarEventsEventListItemParticipationStatus string\n```\nV1CalendarEventsEventListItemParticipationStatus Answer of the mailbox to an invitation from someone else. Null for its own events.\n\nExample: ACCEPTED\n\n```go\nconst (\n\tV1CalendarEventsEventListItemParticipationStatusACCEPTED    V1CalendarEventsEventListItemParticipationStatus = \"ACCEPTED\"\n\tV1CalendarEventsEventListItemParticipationStatusDECLINED    V1CalendarEventsEventListItemParticipationStatus = \"DECLINED\"\n\tV1CalendarEventsEventListItemParticipationStatusDELEGATED   V1CalendarEventsEventListItemParticipationStatus = \"DELEGATED\"\n\tV1CalendarEventsEventListItemParticipationStatusNEEDSACTION V1CalendarEventsEventListItemParticipationStatus = \"NEEDS-ACTION\"\n\tV1CalendarEventsEventListItemParticipationStatusTENTATIVE   V1CalendarEventsEventListItemParticipationStatus = \"TENTATIVE\"\n)\n```\nDefines values for V1CalendarEventsEventListItemParticipationStatus.\n\n```go\nfunc (e V1CalendarEventsEventListItemParticipationStatus) Valid() bool\n```\nValid indicates whether the value is a known member of the V1CalendarEventsEventListItemParticipationStatus enum.\n\n```go\ntype V1CalendarEventsEventListItemStatus string\n```\nV1CalendarEventsEventListItemStatus CANCELLED when the organizer cancelled the event, CONFIRMED otherwise.\n\nExample: CONFIRMED\n\n```go\nconst (\n\tV1CalendarEventsEventListItemStatusCANCELLED V1CalendarEventsEventListItemStatus = \"CANCELLED\"\n\tV1CalendarEventsEventListItemStatusCONFIRMED V1CalendarEventsEventListItemStatus = \"CONFIRMED\"\n)\n```\nDefines values for V1CalendarEventsEventListItemStatus.\n\n```go\nfunc (e V1CalendarEventsEventListItemStatus) Valid() bool\n```\nValid indicates whether the value is a known member of the V1CalendarEventsEventListItemStatus enum.\n\n```go\ntype V1CalendarEventsEventParticipationStatus string\n```\nV1CalendarEventsEventParticipationStatus Answer of the mailbox to an invitation from someone else. Null for its own events.\n\nExample: ACCEPTED\n\n```go\nconst (\n\tV1CalendarEventsEventParticipationStatusACCEPTED    V1CalendarEventsEventParticipationStatus = \"ACCEPTED\"\n\tV1CalendarEventsEventParticipationStatusDECLINED    V1CalendarEventsEventParticipationStatus = \"DECLINED\"\n\tV1CalendarEventsEventParticipationStatusDELEGATED   V1CalendarEventsEventParticipationStatus = \"DELEGATED\"\n\tV1CalendarEventsEventParticipationStatusNEEDSACTION V1CalendarEventsEventParticipationStatus = \"NEEDS-ACTION\"\n\tV1CalendarEventsEventParticipationStatusTENTATIVE   V1CalendarEventsEventParticipationStatus = \"TENTATIVE\"\n)\n```\nDefines values for V1CalendarEventsEventParticipationStatus.\n\n```go\nfunc (e V1CalendarEventsEventParticipationStatus) Valid() bool\n```\nValid indicates whether the value is a known member of the V1CalendarEventsEventParticipationStatus enum.\n\n```go\ntype V1CalendarEventsEventStatus string\n```\nV1CalendarEventsEventStatus CANCELLED when the organizer cancelled the event, CONFIRMED otherwise.\n\nExample: CONFIRMED\n\n```go\nconst (\n\tV1CalendarEventsEventStatusCANCELLED V1CalendarEventsEventStatus = \"CANCELLED\"\n\tV1CalendarEventsEventStatusCONFIRMED V1CalendarEventsEventStatus = \"CONFIRMED\"\n)\n```\nDefines values for V1CalendarEventsEventStatus.\n\n```go\nfunc (e V1CalendarEventsEventStatus) Valid() bool\n```\nValid indicates whether the value is a known member of the V1CalendarEventsEventStatus enum.\n\n```go\ntype V1CalendarEventsOrganizer struct {\n\t// Email Example: jane@example.com\n\tEmail openapi_types.Email `json:\"email\"`\n\n\t// Name Example: Jane\n\tName *string `json:\"name\"`\n}\n```\nV1CalendarEventsOrganizer Organizer of an event.\n\n```go\ntype V1CalendarEventsRecurrenceDay struct {\n\t// Day Example: friday\n\tDay V1CalendarEventsRecurrenceDayDay `json:\"day\"`\n\n\t// Position Which such weekday in the month or year, for a MONTHLY or YEARLY rule only: 1 is the first, -1 the last, never 0. Null means every such weekday and is the only value allowed for other frequencies.\n\t//\n\t// Example: -1\n\tPosition *int `json:\"position\"`\n}\n```\nV1CalendarEventsRecurrenceDay One weekday of a recurrence rule.\n\n```go\ntype V1CalendarEventsRecurrenceDayDay string\n```\nV1CalendarEventsRecurrenceDayDay Example: friday\n\n```go\nconst (\n\tV1CalendarEventsRecurrenceDayDayFriday    V1CalendarEventsRecurrenceDayDay = \"friday\"\n\tV1CalendarEventsRecurrenceDayDayMonday    V1CalendarEventsRecurrenceDayDay = \"monday\"\n\tV1CalendarEventsRecurrenceDayDaySaturday  V1CalendarEventsRecurrenceDayDay = \"saturday\"\n\tV1CalendarEventsRecurrenceDayDaySunday    V1CalendarEventsRecurrenceDayDay = \"sunday\"\n\tV1CalendarEventsRecurrenceDayDayThursday  V1CalendarEventsRecurrenceDayDay = \"thursday\"\n\tV1CalendarEventsRecurrenceDayDayTuesday   V1CalendarEventsRecurrenceDayDay = \"tuesday\"\n\tV1CalendarEventsRecurrenceDayDayWednesday V1CalendarEventsRecurrenceDayDay = \"wednesday\"\n)\n```\nDefines values for V1CalendarEventsRecurrenceDayDay.\n\n```go\nfunc (e V1CalendarEventsRecurrenceDayDay) Valid() bool\n```\nValid indicates whether the value is a known member of the V1CalendarEventsRecurrenceDayDay enum.\n\n```go\ntype V1CalendarEventsRecurrenceRule struct {\n\t// ByDay Weekdays the event repeats on. Null when unused.\n\tByDay *[]V1CalendarEventsRecurrenceDay `json:\"byDay\"`\n\n\t// ByMonth Months, 1 is January. Null when unused.\n\tByMonth *[]int `json:\"byMonth\"`\n\n\t// ByMonthDay Days of the month, 1 to 31. Negative values count from the end of the month: -1 is the last day. Always null for a WEEKLY rule.\n\tByMonthDay *[]int `json:\"byMonthDay\"`\n\n\t// Count Number of occurrences after which the series ends, at most 1000 when writing. Never set together with `until`.\n\t//\n\t// Example: 10\n\tCount *int `json:\"count\"`\n\n\t// Frequency Unit of repetition. Only DAILY, WEEKLY, MONTHLY and YEARLY can be written; SECONDLY, MINUTELY and HOURLY appear only on events created by other calendar applications.\n\t//\n\t// Example: WEEKLY\n\tFrequency V1CalendarEventsRecurrenceRuleFrequency `json:\"frequency\"`\n\n\t// Interval Repeat every this many units of `frequency`. 1 to 1000 when writing.\n\t//\n\t// Example: 1\n\tInterval int `json:\"interval\"`\n\n\t// Until Moment after which the series ends, not before the start of the event. Never set together with `count`.\n\tUntil *time.Time `json:\"until\"`\n\n\t// WeekStart First day of the week used by the rule. Null when not set.\n\t//\n\t// Example: monday\n\tWeekStart *V1CalendarEventsRecurrenceRuleWeekStart `json:\"weekStart\"`\n}\n```\nV1CalendarEventsRecurrenceRule How an event repeats. Every field is always present, null when unused.\n\n```go\ntype V1CalendarEventsRecurrenceRuleFrequency string\n```\nV1CalendarEventsRecurrenceRuleFrequency Unit of repetition. Only DAILY, WEEKLY, MONTHLY and YEARLY can be written; SECONDLY, MINUTELY and HOURLY appear only on events created by other calendar applications.\n\nExample: WEEKLY\n\n```go\nconst (\n\tDAILY    V1CalendarEventsRecurrenceRuleFrequency = \"DAILY\"\n\tHOURLY   V1CalendarEventsRecurrenceRuleFrequency = \"HOURLY\"\n\tMINUTELY V1CalendarEventsRecurrenceRuleFrequency = \"MINUTELY\"\n\tMONTHLY  V1CalendarEventsRecurrenceRuleFrequency = \"MONTHLY\"\n\tSECONDLY V1CalendarEventsRecurrenceRuleFrequency = \"SECONDLY\"\n\tWEEKLY   V1CalendarEventsRecurrenceRuleFrequency = \"WEEKLY\"\n\tYEARLY   V1CalendarEventsRecurrenceRuleFrequency = \"YEARLY\"\n)\n```\nDefines values for V1CalendarEventsRecurrenceRuleFrequency.\n\n```go\nfunc (e V1CalendarEventsRecurrenceRuleFrequency) Valid() bool\n```\nValid indicates whether the value is a known member of the V1CalendarEventsRecurrenceRuleFrequency enum.\n\n```go\ntype V1CalendarEventsRecurrenceRuleWeekStart string\n```\nV1CalendarEventsRecurrenceRuleWeekStart First day of the week used by the rule. Null when not set.\n\nExample: monday\n\n```go\nconst (\n\tV1CalendarEventsRecurrenceRuleWeekStartFriday    V1CalendarEventsRecurrenceRuleWeekStart = \"friday\"\n\tV1CalendarEventsRecurrenceRuleWeekStartMonday    V1CalendarEventsRecurrenceRuleWeekStart = \"monday\"\n\tV1CalendarEventsRecurrenceRuleWeekStartSaturday  V1CalendarEventsRecurrenceRuleWeekStart = \"saturday\"\n\tV1CalendarEventsRecurrenceRuleWeekStartSunday    V1CalendarEventsRecurrenceRuleWeekStart = \"sunday\"\n\tV1CalendarEventsRecurrenceRuleWeekStartThursday  V1CalendarEventsRecurrenceRuleWeekStart = \"thursday\"\n\tV1CalendarEventsRecurrenceRuleWeekStartTuesday   V1CalendarEventsRecurrenceRuleWeekStart = \"tuesday\"\n\tV1CalendarEventsRecurrenceRuleWeekStartWednesday V1CalendarEventsRecurrenceRuleWeekStart = \"wednesday\"\n)\n```\nDefines values for V1CalendarEventsRecurrenceRuleWeekStart.\n\n```go\nfunc (e V1CalendarEventsRecurrenceRuleWeekStart) Valid() bool\n```\nValid indicates whether the value is a known member of the V1CalendarEventsRecurrenceRuleWeekStart enum.\n\n```go\ntype V1CalendarEventsReminder struct {\n\t// Unit Example: minutes\n\tUnit V1CalendarEventsReminderUnit `json:\"unit\"`\n\n\t// Value How many units before the start. 0 is at the start time. At most 1000 when writing.\n\t//\n\t// Example: 15\n\tValue int `json:\"value\"`\n}\n```\nV1CalendarEventsReminder Alarm of an event: how long before the start it fires.\n\n```go\ntype V1CalendarEventsReminderUnit string\n```\nV1CalendarEventsReminderUnit Example: minutes\n\n```go\nconst (\n\tDays    V1CalendarEventsReminderUnit = \"days\"\n\tHours   V1CalendarEventsReminderUnit = \"hours\"\n\tMinutes V1CalendarEventsReminderUnit = \"minutes\"\n\tWeeks   V1CalendarEventsReminderUnit = \"weeks\"\n)\n```\nDefines values for V1CalendarEventsReminderUnit.\n\n```go\nfunc (e V1CalendarEventsReminderUnit) Valid() bool\n```\nValid indicates whether the value is a known member of the V1CalendarEventsReminderUnit enum.\n\n```go\ntype V1CalendarEventsReplyRequest struct {\n\t// ParticipationStatus The answer to the invitation.\n\t//\n\t// Example: ACCEPTED\n\tParticipationStatus V1CalendarEventsReplyRequestParticipationStatus `json:\"participationStatus\"`\n\n\t// RecurrenceId `recurrenceId` of one occurrence, copied unchanged from a `listCalendarEvents` item, to answer only that occurrence. Omitted or null answers the whole event.\n\t//\n\t// Example: 2026-10-05T07:00:00.000000Z\n\tRecurrenceId *time.Time `json:\"recurrenceId,omitempty\"`\n}\n```\nV1CalendarEventsReplyRequest Body for answering an invitation.\n\n```go\ntype V1CalendarEventsReplyRequestParticipationStatus string\n```\nV1CalendarEventsReplyRequestParticipationStatus The answer to the invitation.\n\nExample: ACCEPTED\n\n```go\nconst (\n\tV1CalendarEventsReplyRequestParticipationStatusACCEPTED  V1CalendarEventsReplyRequestParticipationStatus = \"ACCEPTED\"\n\tV1CalendarEventsReplyRequestParticipationStatusDECLINED  V1CalendarEventsReplyRequestParticipationStatus = \"DECLINED\"\n\tV1CalendarEventsReplyRequestParticipationStatusTENTATIVE V1CalendarEventsReplyRequestParticipationStatus = \"TENTATIVE\"\n)\n```\nDefines values for V1CalendarEventsReplyRequestParticipationStatus.\n\n```go\nfunc (e V1CalendarEventsReplyRequestParticipationStatus) Valid() bool\n```\nValid indicates whether the value is a known member of the V1CalendarEventsReplyRequestParticipationStatus enum.\n\n```go\ntype V1CalendarEventsRescheduleRequest struct {\n\t// AllDay `true` for an all-day event (dates only, `timeZone` ignored), `false` for an event at a time of day.\n\t//\n\t// Example: false\n\tAllDay bool `json:\"allDay\"`\n\n\t// End Exclusive end, same format as `start`. Required for a timed event and not before `start`. For an all-day event the day after the last day (2026-09-29 for one day on 2026-09-28); omitted means one day.\n\t//\n\t// Example: 2026-09-28T14:00:00+03:00\n\tEnd *string `json:\"end,omitempty\"`\n\n\t// NotifyAttendees `false` saves the change without emailing attendees, and copies of the event in the calendars of other Hostinger mailboxes are not updated. Omitted or null means `true`.\n\t//\n\t// Example: true\n\tNotifyAttendees *bool `json:\"notifyAttendees,omitempty\"`\n\n\t// RecurrenceId `recurrenceId` of one occurrence, copied unchanged from a `listCalendarEvents` item. Required when `scope` is `this` or `future`, ignored for `all`.\n\t//\n\t// Example: 2026-10-05T07:00:00.000000Z\n\tRecurrenceId *time.Time `json:\"recurrenceId,omitempty\"`\n\n\t// Scope For a recurring event: `this` moves the occurrence at `recurrenceId`, `future` moves it and every later one, `all` moves the whole series. Omitted or null means `all`. Required when `recurrenceId` is sent.\n\t//\n\t// Example: all\n\tScope *V1CalendarEventsRescheduleRequestScope `json:\"scope,omitempty\"`\n\n\t// Start ISO 8601 date-time with offset; without an offset it is read as UTC. For an all-day event a date is enough (2026-09-28).\n\t//\n\t// Example: 2026-09-28T13:00:00+03:00\n\tStart string `json:\"start\"`\n\n\t// TimeZone IANA time zone of the event. Required when `allDay` is false, ignored when `allDay` is true.\n\t//\n\t// Example: Europe/Vilnius\n\tTimeZone *string `json:\"timeZone,omitempty\"`\n}\n```\nV1CalendarEventsRescheduleRequest Body for moving a calendar event to another time or changing its length.\n\n```go\ntype V1CalendarEventsRescheduleRequestScope string\n```\nV1CalendarEventsRescheduleRequestScope For a recurring event: \\`this\\` moves the occurrence at \\`recurrenceId\\`, \\`future\\` moves it and every later one, \\`all\\` moves the whole series. Omitted or null means \\`all\\`. Required when \\`recurrenceId\\` is sent.\n\nExample: all\n\n```go\nconst (\n\tV1CalendarEventsRescheduleRequestScopeAll    V1CalendarEventsRescheduleRequestScope = \"all\"\n\tV1CalendarEventsRescheduleRequestScopeFuture V1CalendarEventsRescheduleRequestScope = \"future\"\n\tV1CalendarEventsRescheduleRequestScopeThis   V1CalendarEventsRescheduleRequestScope = \"this\"\n)\n```\nDefines values for V1CalendarEventsRescheduleRequestScope.\n\n```go\nfunc (e V1CalendarEventsRescheduleRequestScope) Valid() bool\n```\nValid indicates whether the value is a known member of the V1CalendarEventsRescheduleRequestScope enum.\n\n```go\ntype V1CalendarEventsResource struct {\n\t// Data Full details of one calendar event. Requested without `recurrenceId`, a recurring event is the series itself and `recurrenceId` is null; with it, one occurrence of the series.\n\tData V1CalendarEventsEvent `json:\"data\"`\n}\n```\nV1CalendarEventsResource Single calendar event payload.\n\n```go\ntype V1CalendarEventsUpdateRequest struct {\n\t// AllDay `true` for an all-day event (dates only, `timeZone` ignored), `false` for an event at a time of day.\n\t//\n\t// Example: false\n\tAllDay bool `json:\"allDay\"`\n\n\t// Attendees Full list of invited people. Added addresses receive an invitation and removed ones a cancellation. Unique addresses, at most 100 not counting the mailbox itself, across all occurrences. The own address of the mailbox is stored as accepted and not invited. Omitted, null or empty for none.\n\tAttendees *[]V1CalendarEventsAttendeeInput `json:\"attendees,omitempty\"`\n\n\t// Color Color of the event as #RRGGBB or #RRGGBBAA. Omitted or null uses the calendar color.\n\t//\n\t// Example: #251951\n\tColor *string `json:\"color,omitempty\"`\n\n\t// Description Notes of the event. Omitted or null clears it.\n\t//\n\t// Example: Bring the notes.\n\tDescription *string `json:\"description,omitempty\"`\n\n\t// End Exclusive end, same format as `start`. Required for a timed event and not before `start`. For an all-day event the day after the last day (2026-09-29 for one day on 2026-09-28); omitted means one day.\n\t//\n\t// Example: 2026-09-28T14:00:00+03:00\n\tEnd *string `json:\"end,omitempty\"`\n\n\t// Location Place of the event. Omitted or null clears it.\n\t//\n\t// Example: Room 4\n\tLocation *string `json:\"location,omitempty\"`\n\n\t// MeetingLink http or https URL of the online meeting. Omitted or null clears it.\n\t//\n\t// Example: https://meet.example.com/abc-defg-hij\n\tMeetingLink *string `json:\"meetingLink,omitempty\"`\n\n\t// NotifyAttendees `false` saves the change without emailing attendees, and copies of the event in the calendars of other Hostinger mailboxes are not updated. Omitted or null means `true`.\n\t//\n\t// Example: true\n\tNotifyAttendees *bool `json:\"notifyAttendees,omitempty\"`\n\n\t// RecurrenceId `recurrenceId` of one occurrence, copied unchanged from a `listCalendarEvents` item. Required when `scope` is `this` or `future`, ignored for `all`.\n\t//\n\t// Example: 2026-10-05T07:00:00.000000Z\n\tRecurrenceId *time.Time `json:\"recurrenceId,omitempty\"`\n\n\t// RecurrenceRule Omitted or null makes it a one-off event. A repeating event sends every field of the rule, null when unused: `frequency` DAILY, WEEKLY, MONTHLY or YEARLY, `interval` 1 to 1000, and `count` or `until` to end it, not both.\n\tRecurrenceRule *V1CalendarEventsRecurrenceRule `json:\"recurrenceRule,omitempty\"`\n\n\t// Reminder Alarm before the start: `value` 0 to 1000 and `unit`. Omitted or null clears it.\n\tReminder *V1CalendarEventsReminder `json:\"reminder,omitempty\"`\n\n\t// Scope For a recurring event: `this` changes the occurrence at `recurrenceId`, `future` changes it and every later one, `all` changes the whole series. Omitted or null means `all`. Required when `recurrenceId` is sent.\n\t//\n\t// Example: all\n\tScope *V1CalendarEventsUpdateRequestScope `json:\"scope,omitempty\"`\n\n\t// Start ISO 8601 date-time with offset; without an offset it is read as UTC. For an all-day event a date is enough (2026-09-28).\n\t//\n\t// Example: 2026-09-28T13:00:00+03:00\n\tStart string `json:\"start\"`\n\n\t// TimeZone IANA time zone of the event. Required when `allDay` is false, ignored when `allDay` is true.\n\t//\n\t// Example: Europe/Vilnius\n\tTimeZone *string `json:\"timeZone,omitempty\"`\n\n\t// Title Title of the event.\n\t//\n\t// Example: Planning\n\tTitle string `json:\"title\"`\n}\n```\nV1CalendarEventsUpdateRequest Body for updating a calendar event. Every field replaces the stored value and an omitted optional field is cleared.\n\n```go\ntype V1CalendarEventsUpdateRequestScope string\n```\nV1CalendarEventsUpdateRequestScope For a recurring event: \\`this\\` changes the occurrence at \\`recurrenceId\\`, \\`future\\` changes it and every later one, \\`all\\` changes the whole series. Omitted or null means \\`all\\`. Required when \\`recurrenceId\\` is sent.\n\nExample: all\n\n```go\nconst (\n\tV1CalendarEventsUpdateRequestScopeAll    V1CalendarEventsUpdateRequestScope = \"all\"\n\tV1CalendarEventsUpdateRequestScopeFuture V1CalendarEventsUpdateRequestScope = \"future\"\n\tV1CalendarEventsUpdateRequestScopeThis   V1CalendarEventsUpdateRequestScope = \"this\"\n)\n```\nDefines values for V1CalendarEventsUpdateRequestScope.\n\n```go\nfunc (e V1CalendarEventsUpdateRequestScope) Valid() bool\n```\nValid indicates whether the value is a known member of the V1CalendarEventsUpdateRequestScope enum.\n\n```go\ntype V1CalendarsCalendar struct {\n\t// Color Hex color as #RRGGBB or #RRGGBBAA.\n\t//\n\t// Example: #673de6\n\tColor *string `json:\"color\"`\n\n\t// Default Whether this is the default calendar of the mailbox. New events go here unless another calendar is named.\n\t//\n\t// Example: true\n\tDefault bool `json:\"default\"`\n\n\t// Description Example: Team schedule\n\tDescription *string `json:\"description\"`\n\n\t// DisplayName Example: Work\n\tDisplayName *string `json:\"displayName\"`\n\n\t// Uuid Calendar identifier, the `calendarUuid` of the calendar and calendar event endpoints.\n\t//\n\t// Example: 42c370e3-48ae-4286-90c5-d952f28c67cc\n\tUuid openapi_types.UUID `json:\"uuid\"`\n\n\t// Visible Whether the mailbox shows the calendar in its calendar view. A preference of this mailbox, not shared with other users of the calendar. Events of a hidden calendar still exist.\n\t//\n\t// Example: true\n\tVisible bool `json:\"visible\"`\n}\n```\nV1CalendarsCalendar Calendar of a managed mailbox: one it owns or one shared with it.\n\n```go\ntype V1CalendarsCollection struct {\n\tData []V1CalendarsCalendar `json:\"data\"`\n\n\t// Pagination Pagination metadata for paginated collections.\n\tPagination Pagination `json:\"pagination\"`\n}\n```\nV1CalendarsCollection Paginated list of calendars.\n\n```go\ntype V1CalendarsCreateRequest struct {\n\t// Color Hex color as #RRGGBB or #RRGGBBAA. Omitted or null uses the default color.\n\t//\n\t// Example: #251951\n\tColor *string `json:\"color,omitempty\"`\n\n\t// Description Optional free-text note about the calendar.\n\t//\n\t// Example: Team schedule\n\tDescription *string `json:\"description,omitempty\"`\n\n\t// DisplayName Name of the calendar.\n\t//\n\t// Example: Work\n\tDisplayName string `json:\"displayName\"`\n\n\t// Visible Whether the mailbox shows the calendar in its calendar view. Omitted or null means true.\n\t//\n\t// Example: true\n\tVisible *bool `json:\"visible,omitempty\"`\n}\n```\nV1CalendarsCreateRequest Body for creating a calendar.\n\n```go\ntype V1CalendarsResource struct {\n\t// Data Calendar of a managed mailbox: one it owns or one shared with it.\n\tData V1CalendarsCalendar `json:\"data\"`\n}\n```\nV1CalendarsResource Single calendar payload.\n\n```go\ntype V1CalendarsUpdateRequest struct {\n\t// Color Hex color as #RRGGBB or #RRGGBBAA. Omitted or null resets it to the default color.\n\t//\n\t// Example: #251951\n\tColor *string `json:\"color,omitempty\"`\n\n\t// Description Free-text note about the calendar. Omitted or null clears it.\n\t//\n\t// Example: Team schedule\n\tDescription *string `json:\"description,omitempty\"`\n\n\t// DisplayName Name of the calendar.\n\t//\n\t// Example: Work\n\tDisplayName string `json:\"displayName\"`\n\n\t// Visible Whether the mailbox shows the calendar in its calendar view. Omitted or null keeps the current value.\n\t//\n\t// Example: true\n\tVisible *bool `json:\"visible,omitempty\"`\n}\n```\nV1CalendarsUpdateRequest Body for updating a calendar. Name, description and color replace the stored values.\n\n```go\ntype V1FeedbackSubmitRequest struct {\n\t// Message The user's feedback in their own words. Never include tokens, passwords or email contents.\n\t//\n\t// Example: Sending a message with a 10 MB attachment fails with a timeout.\n\tMessage string `json:\"message\"`\n\n\t// Score The user's rating of the Hostinger Email API: 1 (poor) to 10 (excellent).\n\t//\n\t// Example: 3\n\tScore int `json:\"score\"`\n}\n```\nV1FeedbackSubmitRequest Feedback the user wants to send to the Hostinger mail team. The message is scrubbed of tokens, JWTs and key/secret/password values before validation and storage, so the length limit applies to the scrubbed text.\n\n```go\ntype V1FolderMessagesCollection struct {\n\tData []V1FolderMessagesMessage `json:\"data\"`\n\n\t// Pagination Pagination metadata for paginated collections.\n\tPagination Pagination `json:\"pagination\"`\n}\n```\nV1FolderMessagesCollection Paginated list of messages.\n\n```go\ntype V1FolderMessagesDeleteBulkRequest struct {\n\t// Uids Message UIDs to delete. 1-100 entries, each \u003e 0.\n\t//\n\t// Example: [42,43,44]\n\tUids []int `json:\"uids\"`\n}\n```\nV1FolderMessagesDeleteBulkRequest Body for permanently deleting multiple messages.\n\n```go\ntype V1FolderMessagesFlagsBulkRequest struct {\n\t// AddFlags IMAP flags to set on every listed message, e.g. \\Seen, \\Flagged, \\Answered, $forwarded.\n\t//\n\t// Example: [\"\\\\Seen\",\"\\\\Flagged\",\"$forwarded\"]\n\tAddFlags *[]string `json:\"addFlags,omitempty\"`\n\n\t// RemoveFlags IMAP flags to clear from every listed message.\n\t//\n\t// Example: [\"\\\\Seen\"]\n\tRemoveFlags *[]string `json:\"removeFlags,omitempty\"`\n\n\t// Uids Message UIDs to update. 1-100 entries, each \u003e 0.\n\t//\n\t// Example: [42,43,44]\n\tUids []int `json:\"uids\"`\n}\n```\nV1FolderMessagesFlagsBulkRequest Add and/or remove flags on multiple messages. At least one of addFlags or removeFlags must be set.\n\n```go\ntype V1FolderMessagesFlagsRequest struct {\n\t// AddFlags IMAP flags to set on the message, e.g. \\Seen, \\Flagged, \\Answered, $forwarded.\n\t//\n\t// Example: [\"\\\\Seen\",\"\\\\Flagged\",\"$forwarded\"]\n\tAddFlags *[]string `json:\"addFlags,omitempty\"`\n\n\t// RemoveFlags IMAP flags to clear from the message.\n\t//\n\t// Example: [\"\\\\Seen\"]\n\tRemoveFlags *[]string `json:\"removeFlags,omitempty\"`\n}\n```\nV1FolderMessagesFlagsRequest Add and/or remove flags on a message. At least one of addFlags or removeFlags must be set.\n\n```go\ntype V1FolderMessagesMessage struct {\n\tAttachments []V1FolderMessagesMessageAttachment `json:\"attachments\"`\n\tBcc         []V1FolderMessagesMessageAddress    `json:\"bcc\"`\n\tCc          []V1FolderMessagesMessageAddress    `json:\"cc\"`\n\n\t// Date Example: 2024-01-15T10:30:00.000Z\n\tDate time.Time `json:\"date\"`\n\n\t// Flags Example: [\"\\\\Seen\",\"\\\\Flagged\"]\n\tFlags []string                     `json:\"flags\"`\n\tFrom  V1FolderMessagesMessage_From `json:\"from\"`\n\n\t// InReplyTo Example: \u003c0987654321@example.com\u003e\n\tInReplyTo *string `json:\"inReplyTo\"`\n\n\t// MessageId Example: \u003c1234567890@example.com\u003e\n\tMessageId *string `json:\"messageId\"`\n\n\t// Path Example: INBOX\n\tPath string `json:\"path\"`\n\n\t// Size Example: 2048\n\tSize int `json:\"size\"`\n\n\t// Subject Example: Test Email Subject\n\tSubject *string                          `json:\"subject\"`\n\tTo      []V1FolderMessagesMessageAddress `json:\"to\"`\n\n\t// Uid Example: 123\n\tUid int `json:\"uid\"`\n\n\t// Unseen Example: false\n\tUnseen bool `json:\"unseen\"`\n}\n```\nV1FolderMessagesMessage A message in a folder of the managed mailbox.\n\n```go\ntype V1FolderMessagesMessageAddress struct {\n\t// Address Example: john@example.com\n\tAddress string `json:\"address\"`\n\n\t// Name Example: John Doe\n\tName string `json:\"name\"`\n}\n```\nV1FolderMessagesMessageAddress A single email address with optional display name.\n\n```go\ntype V1FolderMessagesMessageAttachment struct {\n\t// ContentId Example: \u003cattachment@example.com\u003e\n\tContentId *string `json:\"contentId\"`\n\n\t// ContentType Example: application/pdf\n\tContentType string `json:\"contentType\"`\n\n\t// Filename Example: document.pdf\n\tFilename *string `json:\"filename\"`\n\n\t// Id Opaque attachment identifier. Use as the {attachmentId} path parameter on the download endpoint.\n\t//\n\t// Example: YXR0YWNobWVudDpJTkJPWDoxMjM6MS4y\n\tId string `json:\"id\"`\n\n\t// Inline Example: false\n\tInline bool `json:\"inline\"`\n\n\t// SizeBytes Example: 1024\n\tSizeBytes int `json:\"sizeBytes\"`\n}\n```\nV1FolderMessagesMessageAttachment Attachment metadata attached to a message.\n\n```go\ntype V1FolderMessagesMessageFrom1 = map[string]interface{}\n```\nV1FolderMessagesMessageFrom1 defines model for V1FolderMessagesMessage.From.1.\n\n```go\ntype V1FolderMessagesMessageText struct {\n\t// Html Example: \u003cp\u003eHello world\u003c/p\u003e\n\tHtml string `json:\"html\"`\n\n\t// Text Example: Hello world\n\tText string `json:\"text\"`\n}\n```\nV1FolderMessagesMessageText Rendered text and HTML parts of a message.\n\n```go\ntype V1FolderMessagesMessageTextResource struct {\n\t// Data Rendered text and HTML parts of a message.\n\tData V1FolderMessagesMessageText `json:\"data\"`\n}\n```\nV1FolderMessagesMessageTextResource Single message text payload.\n\n```go\ntype V1FolderMessagesMessage_From struct {\n\t// contains filtered or unexported fields\n}\n```\nV1FolderMessagesMessage\\_From defines model for V1FolderMessagesMessage.From.\n\n```go\nfunc (t V1FolderMessagesMessage_From) AsV1FolderMessagesMessageAddress() (V1FolderMessagesMessageAddress, error)\n```\nAsV1FolderMessagesMessageAddress returns the union data inside the V1FolderMessagesMessage\\_From as a V1FolderMessagesMessageAddress\n\n```go\nfunc (t V1FolderMessagesMessage_From) AsV1FolderMessagesMessageFrom1() (V1FolderMessagesMessageFrom1, error)\n```\nAsV1FolderMessagesMessageFrom1 returns the union data inside the V1FolderMessagesMessage\\_From as a V1FolderMessagesMessageFrom1\n\n```go\nfunc (t *V1FolderMessagesMessage_From) FromV1FolderMessagesMessageAddress(v V1FolderMessagesMessageAddress) error\n```\nFromV1FolderMessagesMessageAddress overwrites any union data inside the V1FolderMessagesMessage\\_From as the provided V1FolderMessagesMessageAddress\n\n```go\nfunc (t *V1FolderMessagesMessage_From) FromV1FolderMessagesMessageFrom1(v V1FolderMessagesMessageFrom1) error\n```\nFromV1FolderMessagesMessageFrom1 overwrites any union data inside the V1FolderMessagesMessage\\_From as the provided V1FolderMessagesMessageFrom1\n\n```go\nfunc (t V1FolderMessagesMessage_From) MarshalJSON() ([]byte, error)\n```\n\n```go\nfunc (t *V1FolderMessagesMessage_From) MergeV1FolderMessagesMessageAddress(v V1FolderMessagesMessageAddress) error\n```\nMergeV1FolderMessagesMessageAddress performs a merge with any union data inside the V1FolderMessagesMessage\\_From, using the provided V1FolderMessagesMessageAddress\n\n```go\nfunc (t *V1FolderMessagesMessage_From) MergeV1FolderMessagesMessageFrom1(v V1FolderMessagesMessageFrom1) error\n```\nMergeV1FolderMessagesMessageFrom1 performs a merge with any union data inside the V1FolderMessagesMessage\\_From, using the provided V1FolderMessagesMessageFrom1\n\n```go\nfunc (t *V1FolderMessagesMessage_From) UnmarshalJSON(b []byte) error\n```\n\n```go\ntype V1FolderMessagesMoveBulkRequest struct {\n\t// TargetFolder Destination folder path.\n\t//\n\t// Example: INBOX.Sent\n\tTargetFolder string `json:\"targetFolder\"`\n\n\t// Uids Message UIDs to move. 1-100 entries, each \u003e 0.\n\t//\n\t// Example: [42,43,44]\n\tUids []int `json:\"uids\"`\n}\n```\nV1FolderMessagesMoveBulkRequest Body for moving multiple messages to a target folder.\n\n```go\ntype V1FolderMessagesMoveRequest struct {\n\t// TargetFolder Destination folder path.\n\t//\n\t// Example: INBOX.Sent\n\tTargetFolder string `json:\"targetFolder\"`\n}\n```\nV1FolderMessagesMoveRequest Body for moving a single message to a target folder.\n\n```go\ntype V1FolderMessagesResource struct {\n\t// Data A message in a folder of the managed mailbox.\n\tData V1FolderMessagesMessage `json:\"data\"`\n}\n```\nV1FolderMessagesResource Single message payload.\n\n```go\ntype V1FolderMessagesSearchRequest struct {\n\t// Before Only messages received before this date (YYYY-MM-DD).\n\t//\n\t// Example: 2024-12-31\n\tBefore *openapi_types.Date `json:\"before,omitempty\"`\n\n\t// Body Case-insensitive substring match on the message body only (headers excluded). OR-combined with subject/from/to/cc.\n\t//\n\t// Example: important\n\tBody *string `json:\"body,omitempty\"`\n\n\t// Cc Case-insensitive substring match on the Cc header. OR-combined with subject/from/to/body.\n\t//\n\t// Example: team@example.com\n\tCc *string `json:\"cc,omitempty\"`\n\n\t// Flags Only messages carrying all of these IMAP flags, e.g. \\Seen, \\Flagged, \\Answered, $forwarded.\n\t//\n\t// Example: [\"\\\\Seen\",\"\\\\Flagged\"]\n\tFlags *[]string `json:\"flags,omitempty\"`\n\n\t// From Case-insensitive substring match on the From header. OR-combined with subject/to/cc/body.\n\t//\n\t// Example: john@example.com\n\tFrom *string `json:\"from,omitempty\"`\n\n\t// Header Match a specific header as Name:value, e.g. X-Custom-Header:value. Value match is a substring.\n\t//\n\t// Example: X-Custom-Header:value\n\tHeader *string `json:\"header,omitempty\"`\n\n\t// Larger Only messages larger than this size in bytes.\n\t//\n\t// Example: 1024\n\tLarger *int `json:\"larger,omitempty\"`\n\n\t// Since Only messages received on or after this date (YYYY-MM-DD).\n\t//\n\t// Example: 2024-01-01\n\tSince *openapi_types.Date `json:\"since,omitempty\"`\n\n\t// Smaller Only messages smaller than this size in bytes.\n\t//\n\t// Example: 1048576\n\tSmaller *int `json:\"smaller,omitempty\"`\n\n\t// Subject Case-insensitive substring match on the Subject header. OR-combined with from/to/cc/body.\n\t//\n\t// Example: meeting\n\tSubject *string `json:\"subject,omitempty\"`\n\n\t// Text Case-insensitive substring match across headers and body.\n\t//\n\t// Example: urgent\n\tText *string `json:\"text,omitempty\"`\n\n\t// To Case-insensitive substring match on the To header. OR-combined with subject/from/cc/body.\n\t//\n\t// Example: jane@example.com\n\tTo *string `json:\"to,omitempty\"`\n\n\t// Uid IMAP UID set: single UID, range (1:100), open range (100:*), or comma-separated list.\n\t//\n\t// Example: 1:100\n\tUid *string `json:\"uid,omitempty\"`\n}\n```\nV1FolderMessagesSearchRequest Search criteria. All fields optional. subject, from, to, cc and body are alternatives (a message matching any one of them qualifies); all other fields are combined with AND.\n\n```go\ntype V1FolderMessagesUpdateFlagsResult struct {\n\tData struct {\n\t\tFailed []struct {\n\t\t\t// Reason Example: Failed to update message flags\n\t\t\tReason string `json:\"reason\"`\n\n\t\t\t// Uid Example: 44\n\t\t\tUid int `json:\"uid\"`\n\t\t} `json:\"failed\"`\n\n\t\t// Successful Example: [42,43]\n\t\tSuccessful []int `json:\"successful\"`\n\t} `json:\"data\"`\n}\n```\nV1FolderMessagesUpdateFlagsResult Per-UID outcome of a bulk flag update. 200 when every UID succeeded, 207 when at least one failed.\n\n```go\ntype V1FoldersCollection struct {\n\tData []V1FoldersFolder `json:\"data\"`\n\n\t// Pagination Pagination metadata for paginated collections.\n\tPagination Pagination `json:\"pagination\"`\n}\n```\nV1FoldersCollection Paginated list of folders.\n\n```go\ntype V1FoldersCreateRequest struct {\n\t// Name Folder name. Length 1-100 after trimming.\n\t//\n\t// Example: Projects\n\tName string `json:\"name\"`\n}\n```\nV1FoldersCreateRequest Body for creating a folder.\n\n```go\ntype V1FoldersFolder struct {\n\t// Delimiter Hierarchy delimiter used by the IMAP server.\n\t//\n\t// Example: .\n\tDelimiter string `json:\"delimiter\"`\n\n\t// MessageCount Total number of messages in the folder.\n\t//\n\t// Example: 42\n\tMessageCount int `json:\"messageCount\"`\n\n\t// Name Leaf name of the folder.\n\t//\n\t// Example: Sent\n\tName string `json:\"name\"`\n\n\t// Path Full hierarchical folder path including the delimiter.\n\t//\n\t// Example: INBOX.Sent\n\tPath string `json:\"path\"`\n\n\t// SpecialUse IMAP SPECIAL-USE attribute (RFC 6154). `null` for regular folders.\n\t//\n\t// Example: \\Sent\n\tSpecialUse *string `json:\"specialUse\"`\n\n\t// UnreadCount Number of unread messages in the folder.\n\t//\n\t// Example: 5\n\tUnreadCount int `json:\"unreadCount\"`\n}\n```\nV1FoldersFolder A folder (IMAP mailbox) in the managed mailbox.\n\n```go\ntype V1FoldersResource struct {\n\t// Data A folder (IMAP mailbox) in the managed mailbox.\n\tData V1FoldersFolder `json:\"data\"`\n}\n```\nV1FoldersResource Single folder payload.\n\n```go\ntype V1FoldersUpdateRequest struct {\n\t// Name New folder name. Length 1-100 after trimming.\n\t//\n\t// Example: Archive\n\tName string `json:\"name\"`\n}\n```\nV1FoldersUpdateRequest Body for renaming a folder.\n\n```go\ntype V1MeMailbox struct {\n\t// Address Email address of the mailbox.\n\t//\n\t// Example: user@example.com\n\tAddress openapi_types.Email `json:\"address\"`\n\n\t// ResourceId Unique identifier of the mailbox.\n\t//\n\t// Example: AC1a2b3c4d5e6f7g\n\tResourceId string `json:\"resourceId\"`\n}\n```\nV1MeMailbox A mailbox the authenticated API token can manage.\n\n```go\ntype V1MeResource struct {\n\tData struct {\n\t\t// Mailboxes Mailboxes that the authenticated API token can manage.\n\t\tMailboxes []V1MeMailbox `json:\"mailboxes\"`\n\n\t\t// OrderResourceId Identifier of the order this API token is scoped to.\n\t\t//\n\t\t// Example: OR1a2b3c4d5e6f7g\n\t\tOrderResourceId string `json:\"orderResourceId\"`\n\t} `json:\"data\"`\n}\n```\nV1MeResource Authenticated account payload.\n\n```go\ntype V1QuotaQuota struct {\n\t// Quotas Per-resource quota breakdown reported by the IMAP server.\n\tQuotas []V1QuotaQuotaResource `json:\"quotas\"`\n\n\t// Supported Whether the IMAP server reports quota information for this mailbox.\n\t//\n\t// Example: true\n\tSupported bool `json:\"supported\"`\n\n\t// TotalLimit Aggregate storage limit across all resources, in bytes.\n\t//\n\t// Example: 1073741824\n\tTotalLimit int `json:\"totalLimit\"`\n\n\t// TotalPercentage Aggregate storage usage as a percentage of the total limit.\n\t//\n\t// Example: 0\n\tTotalPercentage int `json:\"totalPercentage\"`\n\n\t// TotalUsage Aggregate storage usage across all resources, in bytes.\n\t//\n\t// Example: 1048576\n\tTotalUsage int `json:\"totalUsage\"`\n}\n```\nV1QuotaQuota Storage and message quota usage for the managed mailbox.\n\n```go\ntype V1QuotaQuotaResource struct {\n\t// Limit Maximum allowed value for the resource (bytes for STORAGE, count for MESSAGE).\n\t//\n\t// Example: 1073741824\n\tLimit int `json:\"limit\"`\n\n\t// Percentage Usage as a percentage of the limit.\n\t//\n\t// Example: 0\n\tPercentage int `json:\"percentage\"`\n\n\t// ResourceName Name of the quota resource as reported by the IMAP server.\n\t//\n\t// Example: STORAGE\n\tResourceName string `json:\"resourceName\"`\n\n\t// Usage Current usage of the resource (bytes for STORAGE, count for MESSAGE).\n\t//\n\t// Example: 1048576\n\tUsage int `json:\"usage\"`\n}\n```\nV1QuotaQuotaResource Usage and limit for a single IMAP quota resource.\n\n```go\ntype V1QuotaResource struct {\n\t// Data Storage and message quota usage for the managed mailbox.\n\tData V1QuotaQuota `json:\"data\"`\n}\n```\nV1QuotaResource Mailbox quota payload.\n\n```go\ntype V1SendAttachment struct {\n\t// Cid Content-ID for inline images. Reference from HTML as \u003cimg src=\"cid:logo\"\u003e.\n\t//\n\t// Example: logo\n\tCid *string `json:\"cid,omitempty\"`\n\n\t// Content Attachment body. Base64-encoded by default; set encoding to switch.\n\t//\n\t// Example: JVBERi0xLjQK...\n\tContent string `json:\"content\"`\n\n\t// ContentType MIME type of the attachment, e.g. application/pdf. Not inferred from filename; set it explicitly so clients render the attachment correctly.\n\t//\n\t// Example: application/pdf\n\tContentType *string `json:\"contentType,omitempty\"`\n\n\t// Encoding Encoding of content. Defaults to base64.\n\t//\n\t// Example: base64\n\tEncoding *string `json:\"encoding,omitempty\"`\n\n\t// Filename File name shown to the recipient, including extension.\n\t//\n\t// Example: invoice.pdf\n\tFilename string `json:\"filename\"`\n}\n```\nV1SendAttachment Attachment payload for outgoing mail. Supports regular attachments and inline images linked via Content-ID.\n\n```go\ntype V1SendMessageRef struct {\n\t// Folder Folder containing the source message.\n\t//\n\t// Example: INBOX\n\tFolder string `json:\"folder\"`\n\n\t// Uid UID of the source message.\n\t//\n\t// Example: 123\n\tUid int `json:\"uid\"`\n}\n```\nV1SendMessageRef Reference to a source message by UID within a folder, used for reply/forward threading. Both fields are required.\n\n```go\ntype V1SendRequest struct {\n\t// Attachments Files to attach. Inline images set cid; regular attachments omit it.\n\tAttachments *[]V1SendAttachment `json:\"attachments,omitempty\"`\n\n\t// Bcc Blind-carbon-copy recipient email addresses. Not visible to other recipients.\n\t//\n\t// Example: [\"bcc@example.com\"]\n\tBcc *[]openapi_types.Email `json:\"bcc,omitempty\"`\n\n\t// Cc Carbon-copy recipient email addresses.\n\t//\n\t// Example: [\"cc@example.com\"]\n\tCc *[]openapi_types.Email `json:\"cc,omitempty\"`\n\n\t// DisplayName Sender display name shown in the From header alongside the mailbox address.\n\t//\n\t// Example: John Doe\n\tDisplayName *string `json:\"displayName,omitempty\"`\n\n\t// ForwardOf Source message this forwards, as an object {uid, folder} — not the Message-ID header string. Copies its Message-Id/References into In-Reply-To/References and flags it $forwarded. Mutually exclusive with inReplyTo.\n\tForwardOf *V1SendMessageRef `json:\"forwardOf,omitempty\"`\n\n\t// Html HTML body. Optional; if both text and html are omitted the message is sent without a body. Inline images are referenced via cid: URLs matching attachment cid values.\n\t//\n\t// Example: \u003cp\u003eHTML body\u003c/p\u003e\n\tHtml *string `json:\"html,omitempty\"`\n\n\t// InReplyTo Source message this is a reply to, as an object {uid, folder} — not the Message-ID header string. Copies its Message-Id/References into In-Reply-To/References and flags it \\Answered. Mutually exclusive with forwardOf.\n\tInReplyTo *V1SendMessageRef `json:\"inReplyTo,omitempty\"`\n\n\t// Subject Message subject line.\n\t//\n\t// Example: Hello\n\tSubject *string `json:\"subject,omitempty\"`\n\n\t// Text Plain-text body. Optional; if both text and html are omitted the message is sent without a body.\n\t//\n\t// Example: Plain body\n\tText *string `json:\"text,omitempty\"`\n\n\t// To Primary recipient email addresses.\n\t//\n\t// Example: [\"recipient@example.com\"]\n\tTo *[]openapi_types.Email `json:\"to,omitempty\"`\n}\n```\nV1SendRequest Outgoing message payload. At least one of to, cc, or bcc must be present.\n\n```go\ntype V1WebhooksCollection struct {\n\tData []V1WebhooksWebhook `json:\"data\"`\n\n\t// Pagination Pagination metadata for paginated collections.\n\tPagination Pagination `json:\"pagination\"`\n}\n```\nV1WebhooksCollection Paginated list of webhooks.\n\n```go\ntype V1WebhooksCreateRequest struct {\n\t// Description Optional free-text note about the webhook purpose.\n\t//\n\t// Example: Notifies CRM on new mail\n\tDescription *string `json:\"description,omitempty\"`\n\n\t// Events Event types that trigger a delivery.\n\t//\n\t// Example: [\"message.received\"]\n\tEvents []V1WebhooksCreateRequestEvents `json:\"events\"`\n\n\t// Name Human-readable webhook name.\n\t//\n\t// Example: New message notifier\n\tName string `json:\"name\"`\n\n\t// Status Initial delivery state. Only active webhooks receive events.\n\t//\n\t// Example: active\n\tStatus *V1WebhooksCreateRequestStatus `json:\"status,omitempty\"`\n\n\t// Url HTTPS endpoint that receives POST deliveries, authenticated with the webhook secret as `Authorization: Bearer \u003csecret\u003e`. Must be a public domain name (no IPs or internal hosts).\n\t//\n\t// Example: https://example.com/webhooks/incoming\n\tUrl string `json:\"url\"`\n}\n```\nV1WebhooksCreateRequest Body for creating a webhook.\n\n```go\ntype V1WebhooksCreateRequestEvents string\n```\nV1WebhooksCreateRequestEvents defines model for V1WebhooksCreateRequest.Events.\n\n```go\nconst (\n\tV1WebhooksCreateRequestEventsMessageReceived V1WebhooksCreateRequestEvents = \"message.received\"\n)\n```\nDefines values for V1WebhooksCreateRequestEvents.\n\n```go\nfunc (e V1WebhooksCreateRequestEvents) Valid() bool\n```\nValid indicates whether the value is a known member of the V1WebhooksCreateRequestEvents enum.\n\n```go\ntype V1WebhooksCreateRequestStatus string\n```\nV1WebhooksCreateRequestStatus Initial delivery state. Only active webhooks receive events.\n\nExample: active\n\n```go\nconst (\n\tV1WebhooksCreateRequestStatusActive   V1WebhooksCreateRequestStatus = \"active\"\n\tV1WebhooksCreateRequestStatusDisabled V1WebhooksCreateRequestStatus = \"disabled\"\n\tV1WebhooksCreateRequestStatusPaused   V1WebhooksCreateRequestStatus = \"paused\"\n)\n```\nDefines values for V1WebhooksCreateRequestStatus.\n\n```go\nfunc (e V1WebhooksCreateRequestStatus) Valid() bool\n```\nValid indicates whether the value is a known member of the V1WebhooksCreateRequestStatus enum.\n\n```go\ntype V1WebhooksResource struct {\n\t// Data Webhook configured for a managed mailbox.\n\tData V1WebhooksWebhook `json:\"data\"`\n}\n```\nV1WebhooksResource Single webhook payload.\n\n```go\ntype V1WebhooksResourceWithSecret struct {\n\t// Data Webhook payload that includes the one-time `secret`. Returned at creation and after secret regeneration. The secret is delivered as a bearer token on every webhook request (`Authorization: Bearer \u003csecret\u003e`); store it securely as it is not returned again.\n\tData V1WebhooksWebhookWithSecret `json:\"data\"`\n}\n```\nV1WebhooksResourceWithSecret Single webhook payload including the one-time secret.\n\n```go\ntype V1WebhooksTestResult struct {\n\tData struct {\n\t\t// Error Example: Connection refused\n\t\tError *string `json:\"error,omitempty\"`\n\n\t\t// HttpStatus Example: 200\n\t\tHttpStatus int `json:\"httpStatus\"`\n\n\t\t// Success Example: true\n\t\tSuccess *bool `json:\"success,omitempty\"`\n\t} `json:\"data\"`\n}\n```\nV1WebhooksTestResult Result of a webhook test delivery.\n\n```go\ntype V1WebhooksUpdateRequest struct {\n\t// Description Free-text note about the webhook purpose. Send null to clear.\n\t//\n\t// Example: Updated description\n\tDescription *string `json:\"description,omitempty\"`\n\n\t// Events Event types that trigger a delivery. Replaces the current list.\n\t//\n\t// Example: [\"message.received\"]\n\tEvents *[]V1WebhooksUpdateRequestEvents `json:\"events,omitempty\"`\n\n\t// Name Human-readable webhook name.\n\t//\n\t// Example: Renamed webhook\n\tName *string `json:\"name,omitempty\"`\n\n\t// Status Delivery state. Only active webhooks receive events; paused keeps config but stops deliveries.\n\t//\n\t// Example: paused\n\tStatus *V1WebhooksUpdateRequestStatus `json:\"status,omitempty\"`\n\n\t// Url HTTPS endpoint that receives POST deliveries, authenticated with the webhook secret as `Authorization: Bearer \u003csecret\u003e`. Must be a public domain name (no IPs or internal hosts).\n\t//\n\t// Example: https://example.com/webhooks/new\n\tUrl *string `json:\"url,omitempty\"`\n}\n```\nV1WebhooksUpdateRequest Body for partially updating a webhook. All fields optional; only present fields are applied.\n\n```go\ntype V1WebhooksUpdateRequestEvents string\n```\nV1WebhooksUpdateRequestEvents defines model for V1WebhooksUpdateRequest.Events.\n\n```go\nconst (\n\tV1WebhooksUpdateRequestEventsMessageReceived V1WebhooksUpdateRequestEvents = \"message.received\"\n)\n```\nDefines values for V1WebhooksUpdateRequestEvents.\n\n```go\nfunc (e V1WebhooksUpdateRequestEvents) Valid() bool\n```\nValid indicates whether the value is a known member of the V1WebhooksUpdateRequestEvents enum.\n\n```go\ntype V1WebhooksUpdateRequestStatus string\n```\nV1WebhooksUpdateRequestStatus Delivery state. Only active webhooks receive events; paused keeps config but stops deliveries.\n\nExample: paused\n\n```go\nconst (\n\tV1WebhooksUpdateRequestStatusActive   V1WebhooksUpdateRequestStatus = \"active\"\n\tV1WebhooksUpdateRequestStatusDisabled V1WebhooksUpdateRequestStatus = \"disabled\"\n\tV1WebhooksUpdateRequestStatusPaused   V1WebhooksUpdateRequestStatus = \"paused\"\n)\n```\nDefines values for V1WebhooksUpdateRequestStatus.\n\n```go\nfunc (e V1WebhooksUpdateRequestStatus) Valid() bool\n```\nValid indicates whether the value is a known member of the V1WebhooksUpdateRequestStatus enum.\n\n```go\ntype V1WebhooksWebhook struct {\n\t// AccountResourceId Resource ID of the mailbox this webhook is attached to.\n\t//\n\t// Example: AC1a2b3c4d5e6f7g\n\tAccountResourceId string `json:\"accountResourceId\"`\n\n\t// CreatedAt Example: 2026-04-07T12:00:00+00:00\n\tCreatedAt time.Time `json:\"createdAt\"`\n\n\t// Description Example: Notifies our CRM when a new email arrives\n\tDescription *string                   `json:\"description\"`\n\tEvents      []V1WebhooksWebhookEvents `json:\"events\"`\n\n\t// Id Unique webhook identifier (UUID v7).\n\t//\n\t// Example: 019683f8-1234-7abc-8def-0123456789ab\n\tId openapi_types.UUID `json:\"id\"`\n\n\t// Mailbox Email address of the mailbox.\n\t//\n\t// Example: user@example.com\n\tMailbox string `json:\"mailbox\"`\n\n\t// Name Example: New message notifier\n\tName string `json:\"name\"`\n\n\t// Status Example: active\n\tStatus V1WebhooksWebhookStatus `json:\"status\"`\n\n\t// UpdatedAt Example: 2026-04-07T12:00:00+00:00\n\tUpdatedAt time.Time `json:\"updatedAt\"`\n\n\t// Url Example: https://example.com/webhooks/incoming\n\tUrl string `json:\"url\"`\n}\n```\nV1WebhooksWebhook Webhook configured for a managed mailbox.\n\n```go\ntype V1WebhooksWebhookEvents string\n```\nV1WebhooksWebhookEvents Example: message.received\n\n```go\nconst (\n\tV1WebhooksWebhookEventsMessageReceived V1WebhooksWebhookEvents = \"message.received\"\n)\n```\nDefines values for V1WebhooksWebhookEvents.\n\n```go\nfunc (e V1WebhooksWebhookEvents) Valid() bool\n```\nValid indicates whether the value is a known member of the V1WebhooksWebhookEvents enum.\n\n```go\ntype V1WebhooksWebhookStatus string\n```\nV1WebhooksWebhookStatus Example: active\n\n```go\nconst (\n\tV1WebhooksWebhookStatusActive   V1WebhooksWebhookStatus = \"active\"\n\tV1WebhooksWebhookStatusDisabled V1WebhooksWebhookStatus = \"disabled\"\n\tV1WebhooksWebhookStatusPaused   V1WebhooksWebhookStatus = \"paused\"\n)\n```\nDefines values for V1WebhooksWebhookStatus.\n\n```go\nfunc (e V1WebhooksWebhookStatus) Valid() bool\n```\nValid indicates whether the value is a known member of the V1WebhooksWebhookStatus enum.\n\n```go\ntype V1WebhooksWebhookWithSecret struct {\n\t// AccountResourceId Resource ID of the mailbox this webhook is attached to.\n\t//\n\t// Example: AC1a2b3c4d5e6f7g\n\tAccountResourceId string `json:\"accountResourceId\"`\n\n\t// CreatedAt Example: 2026-04-07T12:00:00+00:00\n\tCreatedAt time.Time `json:\"createdAt\"`\n\n\t// Description Example: Notifies our CRM when a new email arrives\n\tDescription *string                             `json:\"description\"`\n\tEvents      []V1WebhooksWebhookWithSecretEvents `json:\"events\"`\n\n\t// Id Unique webhook identifier (UUID v7).\n\t//\n\t// Example: 019683f8-1234-7abc-8def-0123456789ab\n\tId openapi_types.UUID `json:\"id\"`\n\n\t// Mailbox Email address of the mailbox.\n\t//\n\t// Example: user@example.com\n\tMailbox string `json:\"mailbox\"`\n\n\t// Name Example: New message notifier\n\tName string `json:\"name\"`\n\n\t// Secret Example: 4a6f8b2d1e9c3f7a0b5d8e2c4f1a7b3d9e6c2f8a1b4d7e0c3f6a9b2d5e8c1f4\n\tSecret string `json:\"secret\"`\n\n\t// Status Example: active\n\tStatus V1WebhooksWebhookWithSecretStatus `json:\"status\"`\n\n\t// UpdatedAt Example: 2026-04-07T12:00:00+00:00\n\tUpdatedAt time.Time `json:\"updatedAt\"`\n\n\t// Url Example: https://example.com/webhooks/incoming\n\tUrl string `json:\"url\"`\n}\n```\nV1WebhooksWebhookWithSecret Webhook payload that includes the one-time \\`secret\\`. Returned at creation and after secret regeneration. The secret is delivered as a bearer token on every webhook request (\\`Authorization: Bearer \\\u003csecret\u003e\\`); store it securely as it is not returned again.\n\n```go\ntype V1WebhooksWebhookWithSecretEvents string\n```\nV1WebhooksWebhookWithSecretEvents Example: message.received\n\n```go\nconst (\n\tV1WebhooksWebhookWithSecretEventsMessageReceived V1WebhooksWebhookWithSecretEvents = \"message.received\"\n)\n```\nDefines values for V1WebhooksWebhookWithSecretEvents.\n\n```go\nfunc (e V1WebhooksWebhookWithSecretEvents) Valid() bool\n```\nValid indicates whether the value is a known member of the V1WebhooksWebhookWithSecretEvents enum.\n\n```go\ntype V1WebhooksWebhookWithSecretStatus string\n```\nV1WebhooksWebhookWithSecretStatus Example: active\n\n```go\nconst (\n\tV1WebhooksWebhookWithSecretStatusActive   V1WebhooksWebhookWithSecretStatus = \"active\"\n\tV1WebhooksWebhookWithSecretStatusDisabled V1WebhooksWebhookWithSecretStatus = \"disabled\"\n\tV1WebhooksWebhookWithSecretStatusPaused   V1WebhooksWebhookWithSecretStatus = \"paused\"\n)\n```\nDefines values for V1WebhooksWebhookWithSecretStatus.\n\n```go\nfunc (e V1WebhooksWebhookWithSecretStatus) Valid() bool\n```\nValid indicates whether the value is a known member of the V1WebhooksWebhookWithSecretStatus enum.\n\n","path":"github.com/hostinger/mail-api-cli/client","name":"client","synopsis":"Package client provides primitives to interact with the openapi HTTP API.","isRedistributable":true}
