Documentation
¶
Overview ¶
Package generated provides primitives to interact with the HEY HTTP API.
Code generated by oapi-codegen. DO NOT EDIT.
Index ¶
- Constants
- func IsIdempotent(operationId string) bool
- func NewAddPostingsToBoxGroupRequest(server string, body AddPostingsToBoxGroupJSONRequestBody) (*http.Request, error)
- func NewAddPostingsToBoxGroupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAdvancedSearchRequest(server string, params *AdvancedSearchParams) (*http.Request, error)
- func NewBubbleUpPostingsNowRequest(server string, body BubbleUpPostingsNowJSONRequestBody) (*http.Request, error)
- func NewBubbleUpPostingsNowRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewBulkUpdateClearancesRequest(server string, body BulkUpdateClearancesJSONRequestBody) (*http.Request, error)
- func NewBulkUpdateClearancesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewBundleContactRequest(server string, contactId int64) (*http.Request, error)
- func NewCancelPostingsBubbleUpRequest(server string, params *CancelPostingsBubbleUpParams) (*http.Request, error)
- func NewCompleteCalendarTodoRequest(server string, todoId int64) (*http.Request, error)
- func NewCompleteHabitRequest(server string, day string, habitId int64) (*http.Request, error)
- func NewCreateBoxDesignationRequest(server string, boxId int64, body CreateBoxDesignationJSONRequestBody) (*http.Request, error)
- func NewCreateBoxDesignationRequestWithBody(server string, boxId int64, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateBoxGroupRequest(server string, boxId int64, body CreateBoxGroupJSONRequestBody) (*http.Request, error)
- func NewCreateBoxGroupRequestWithBody(server string, boxId int64, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateBulkReplyRequest(server string, body CreateBulkReplyJSONRequestBody) (*http.Request, error)
- func NewCreateBulkReplyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateCalendarTodoRequest(server string, body CreateCalendarTodoJSONRequestBody) (*http.Request, error)
- func NewCreateCalendarTodoRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateContactRequest(server string, body CreateContactJSONRequestBody) (*http.Request, error)
- func NewCreateContactRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateDirectUploadRequest(server string, body CreateDirectUploadJSONRequestBody) (*http.Request, error)
- func NewCreateDirectUploadRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateFolderForPostingsRequest(server string, body CreateFolderForPostingsJSONRequestBody) (*http.Request, error)
- func NewCreateFolderForPostingsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateHabitRequest(server string, body CreateHabitJSONRequestBody) (*http.Request, error)
- func NewCreateHabitRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateMessageRequest(server string, body CreateMessageJSONRequestBody) (*http.Request, error)
- func NewCreateMessageRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateReplyRequest(server string, entryId int64, body CreateReplyJSONRequestBody) (*http.Request, error)
- func NewCreateReplyRequestWithBody(server string, entryId int64, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateStickyRequest(server string, body CreateStickyJSONRequestBody) (*http.Request, error)
- func NewCreateStickyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateTimeTrackRequest(server string, body CreateTimeTrackJSONRequestBody) (*http.Request, error)
- func NewCreateTimeTrackRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateWorkflowStagingRequest(server string, topicId int64, workflowId int64) (*http.Request, error)
- func NewDeleteBoxDesignationRequest(server string, boxId int64, designationId int64) (*http.Request, error)
- func NewDeleteBoxGroupRequest(server string, boxId int64, groupId int64) (*http.Request, error)
- func NewDeleteCalendarTodoRequest(server string, todoId int64) (*http.Request, error)
- func NewDeleteContactNoteRequest(server string, contactId int64) (*http.Request, error)
- func NewDeleteDraftRequest(server string, entryId int64) (*http.Request, error)
- func NewDeleteHabitRequest(server string, habitId int64) (*http.Request, error)
- func NewDeleteStickyRequest(server string, stickyId int64) (*http.Request, error)
- func NewDeleteTimeTrackRequest(server string, timeTrackId int64) (*http.Request, error)
- func NewEmptySpamRequest(server string) (*http.Request, error)
- func NewEmptyTrashRequest(server string) (*http.Request, error)
- func NewFilePostingsRequest(server string, body FilePostingsJSONRequestBody) (*http.Request, error)
- func NewFilePostingsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetAdvancedSearchFiltersRequest(server string) (*http.Request, error)
- func NewGetAsideboxRequest(server string, params *GetAsideboxParams) (*http.Request, error)
- func NewGetBoxPostingChangesRequest(server string, boxId int64, params *GetBoxPostingChangesParams) (*http.Request, error)
- func NewGetBoxRequest(server string, boxId int64, params *GetBoxParams) (*http.Request, error)
- func NewGetBubbleboxRequest(server string, params *GetBubbleboxParams) (*http.Request, error)
- func NewGetBundleUnseenPostingsRequest(server string, postingId int64, params *GetBundleUnseenPostingsParams) (*http.Request, error)
- func NewGetCalendarDayRequest(server string, day string) (*http.Request, error)
- func NewGetCalendarRecordingsRequest(server string, calendarId int64, params *GetCalendarRecordingsParams) (*http.Request, error)
- func NewGetCalendarWeekRequest(server string, week string) (*http.Request, error)
- func NewGetCalendarYearRequest(server string, year string) (*http.Request, error)
- func NewGetClearancesRequest(server string, params *GetClearancesParams) (*http.Request, error)
- func NewGetCollectionRequest(server string, collectionId int64, params *GetCollectionParams) (*http.Request, error)
- func NewGetContactNoteRequest(server string, contactId int64) (*http.Request, error)
- func NewGetContactRequest(server string, contactId int64, params *GetContactParams) (*http.Request, error)
- func NewGetEverythingTopicsRequest(server string, params *GetEverythingTopicsParams) (*http.Request, error)
- func NewGetFeedboxRequest(server string, params *GetFeedboxParams) (*http.Request, error)
- func NewGetFolderRequest(server string, folderId int64, params *GetFolderParams) (*http.Request, error)
- func NewGetIdentityRequest(server string) (*http.Request, error)
- func NewGetImboxRequest(server string, params *GetImboxParams) (*http.Request, error)
- func NewGetImboxSeenRequest(server string, params *GetImboxSeenParams) (*http.Request, error)
- func NewGetJournalEntryRequest(server string, day string) (*http.Request, error)
- func NewGetLaterboxRequest(server string, params *GetLaterboxParams) (*http.Request, error)
- func NewGetMessageEditRequest(server string, messageId int64) (*http.Request, error)
- func NewGetMessageRequest(server string, messageId int64) (*http.Request, error)
- func NewGetMyClearancesRequest(server string, params *GetMyClearancesParams) (*http.Request, error)
- func NewGetNavigationRequest(server string) (*http.Request, error)
- func NewGetOngoingTimeTrackRequest(server string) (*http.Request, error)
- func NewGetSentTopicsRequest(server string, params *GetSentTopicsParams) (*http.Request, error)
- func NewGetSpamTopicsRequest(server string, params *GetSpamTopicsParams) (*http.Request, error)
- func NewGetTopicEntriesRequest(server string, topicId int64, params *GetTopicEntriesParams) (*http.Request, error)
- func NewGetTopicPublicationRequest(server string, topicId int64) (*http.Request, error)
- func NewGetTopicRequest(server string, topicId int64) (*http.Request, error)
- func NewGetTrailboxRequest(server string, params *GetTrailboxParams) (*http.Request, error)
- func NewGetTrashTopicsRequest(server string, params *GetTrashTopicsParams) (*http.Request, error)
- func NewGetWorkflowRequest(server string, workflowId int64) (*http.Request, error)
- func NewHideContactRequest(server string, contactId int64) (*http.Request, error)
- func NewListBoxGroupsRequest(server string, boxId int64) (*http.Request, error)
- func NewListBoxesRequest(server string) (*http.Request, error)
- func NewListCalendarDaysRequest(server string, params *ListCalendarDaysParams) (*http.Request, error)
- func NewListCalendarWeeksRequest(server string, params *ListCalendarWeeksParams) (*http.Request, error)
- func NewListCalendarsRequest(server string) (*http.Request, error)
- func NewListClipsRequest(server string, params *ListClipsParams) (*http.Request, error)
- func NewListCollectionsRequest(server string) (*http.Request, error)
- func NewListContactsRequest(server string, params *ListContactsParams) (*http.Request, error)
- func NewListDraftsRequest(server string, params *ListDraftsParams) (*http.Request, error)
- func NewListJournalEntriesRequest(server string, params *ListJournalEntriesParams) (*http.Request, error)
- func NewListSnippetsRequest(server string) (*http.Request, error)
- func NewListStickiesRequest(server string, params *ListStickiesParams) (*http.Request, error)
- func NewListTimeTrackCategoriesRequest(server string) (*http.Request, error)
- func NewListTimeTracksRequest(server string, params *ListTimeTracksParams) (*http.Request, error)
- func NewMarkBoxSeenRequest(server string, boxId int64) (*http.Request, error)
- func NewMarkEntrySpamRequest(server string, entryId int64) (*http.Request, error)
- func NewMarkPostingsSeenRequest(server string, body MarkPostingsSeenJSONRequestBody) (*http.Request, error)
- func NewMarkPostingsSeenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewMarkPostingsSpamRequest(server string, body MarkPostingsSpamJSONRequestBody) (*http.Request, error)
- func NewMarkPostingsSpamRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewMarkPostingsUnseenRequest(server string, body MarkPostingsUnseenJSONRequestBody) (*http.Request, error)
- func NewMarkPostingsUnseenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewMarkTopicHamRequest(server string, topicId int64) (*http.Request, error)
- func NewMovePostingsRequest(server string, body MovePostingsJSONRequestBody) (*http.Request, error)
- func NewMovePostingsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewMoveStickyRequest(server string, body MoveStickyJSONRequestBody) (*http.Request, error)
- func NewMoveStickyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewMoveTopicRequest(server string, topicId int64, body MoveTopicJSONRequestBody) (*http.Request, error)
- func NewMoveTopicRequestWithBody(server string, topicId int64, contentType string, body io.Reader) (*http.Request, error)
- func NewMoveWorkflowStagingRequest(server string, topicId int64, workflowId int64, ...) (*http.Request, error)
- func NewMoveWorkflowStagingRequestWithBody(server string, topicId int64, workflowId int64, contentType string, ...) (*http.Request, error)
- func NewMutePostingsRequest(server string, body MutePostingsJSONRequestBody) (*http.Request, error)
- func NewMutePostingsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewNewBulkReplyRequest(server string, params *NewBulkReplyParams) (*http.Request, error)
- func NewNewEntryForwardRequest(server string, entryId int64) (*http.Request, error)
- func NewNewEntryReplyRequest(server string, entryId int64) (*http.Request, error)
- func NewPuntClearancesRequest(server string) (*http.Request, error)
- func NewRemovePostingsFromBoxGroupRequest(server string, params *RemovePostingsFromBoxGroupParams) (*http.Request, error)
- func NewRestoreTopicRequest(server string, topicId int64) (*http.Request, error)
- func NewResumeHabitRequest(server string, habitId int64) (*http.Request, error)
- func NewRevealContactRequest(server string, contactId int64) (*http.Request, error)
- func NewSchedulePostingsBubbleUpRequest(server string, body SchedulePostingsBubbleUpJSONRequestBody) (*http.Request, error)
- func NewSchedulePostingsBubbleUpRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewStartTimeTrackRequest(server string) (*http.Request, error)
- func NewStopHabitRequest(server string, habitId int64) (*http.Request, error)
- func NewToggleCalendarRequest(server string, calendarId int64) (*http.Request, error)
- func NewTrashPostingsRequest(server string, body TrashPostingsJSONRequestBody) (*http.Request, error)
- func NewTrashPostingsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTrashTopicRequest(server string, topicId int64, params *TrashTopicParams) (*http.Request, error)
- func NewUnbundleContactRequest(server string, contactId int64) (*http.Request, error)
- func NewUncompleteCalendarTodoRequest(server string, todoId int64) (*http.Request, error)
- func NewUncompleteHabitRequest(server string, day string, habitId int64) (*http.Request, error)
- func NewUnfilePostingsRequest(server string, params *UnfilePostingsParams) (*http.Request, error)
- func NewUnmutePostingsRequest(server string, params *UnmutePostingsParams) (*http.Request, error)
- func NewUpdateCalendarTodoRequest(server string, todoId int64, body UpdateCalendarTodoJSONRequestBody) (*http.Request, error)
- func NewUpdateCalendarTodoRequestWithBody(server string, todoId int64, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateClearanceRequest(server string, clearanceId int64, body UpdateClearanceJSONRequestBody) (*http.Request, error)
- func NewUpdateClearanceRequestWithBody(server string, clearanceId int64, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateCollectionRequest(server string, collectionId int64, body UpdateCollectionJSONRequestBody) (*http.Request, error)
- func NewUpdateCollectionRequestWithBody(server string, collectionId int64, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateContactClearanceRequest(server string, contactId int64, body UpdateContactClearanceJSONRequestBody) (*http.Request, error)
- func NewUpdateContactClearanceRequestWithBody(server string, contactId int64, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateContactNoteRequest(server string, contactId int64, body UpdateContactNoteJSONRequestBody) (*http.Request, error)
- func NewUpdateContactNoteRequestWithBody(server string, contactId int64, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateContactRequest(server string, contactId int64, body UpdateContactJSONRequestBody) (*http.Request, error)
- func NewUpdateContactRequestWithBody(server string, contactId int64, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateFirstWeekDayRequest(server string, body UpdateFirstWeekDayJSONRequestBody) (*http.Request, error)
- func NewUpdateFirstWeekDayRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateHabitRequest(server string, habitId int64, body UpdateHabitJSONRequestBody) (*http.Request, error)
- func NewUpdateHabitRequestWithBody(server string, habitId int64, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateJournalEntryRequest(server string, day string, body UpdateJournalEntryJSONRequestBody) (*http.Request, error)
- func NewUpdateJournalEntryRequestWithBody(server string, day string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateMessageRequest(server string, messageId int64, body UpdateMessageJSONRequestBody) (*http.Request, error)
- func NewUpdateMessageRequestWithBody(server string, messageId int64, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateMyClearanceRequest(server string, clearanceId int64, body UpdateMyClearanceJSONRequestBody) (*http.Request, error)
- func NewUpdateMyClearanceRequestWithBody(server string, clearanceId int64, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateStickyRequest(server string, stickyId int64, body UpdateStickyJSONRequestBody) (*http.Request, error)
- func NewUpdateStickyRequestWithBody(server string, stickyId int64, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateTimeFormatRequest(server string, body UpdateTimeFormatJSONRequestBody) (*http.Request, error)
- func NewUpdateTimeFormatRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateTimeTrackRequest(server string, timeTrackId int64, body UpdateTimeTrackJSONRequestBody) (*http.Request, error)
- func NewUpdateTimeTrackRequestWithBody(server string, timeTrackId int64, contentType string, body io.Reader) (*http.Request, error)
- type APIError
- func AsAPIError(err error) *APIError
- func NewAPIError(status int, msg string) *APIError
- func NewAmbiguousError(resource string, matches []string) *APIError
- func NewAuthError(msg string) *APIError
- func NewForbiddenError(msg string) *APIError
- func NewForbiddenScopeError() *APIError
- func NewNetworkError(cause error) *APIError
- func NewNotFoundError(resource, identifier string) *APIError
- func NewNotFoundErrorWithHint(resource, identifier, hint string) *APIError
- func NewRateLimitError(retryAfter int) *APIError
- func NewUsageError(msg string) *APIError
- func NewUsageErrorWithHint(msg, hint string) *APIError
- func ParseHTTPError(resp *http.Response) *APIError
- type Account
- type AddPostingsToBoxGroupJSONRequestBody
- type AddPostingsToBoxGroupRequestContent
- type AddPostingsToBoxGroupResponse
- func (r AddPostingsToBoxGroupResponse) ContentType() string
- func (r AddPostingsToBoxGroupResponse) GetBody() []byte
- func (r AddPostingsToBoxGroupResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r AddPostingsToBoxGroupResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r AddPostingsToBoxGroupResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r AddPostingsToBoxGroupResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r AddPostingsToBoxGroupResponse) Status() string
- func (r AddPostingsToBoxGroupResponse) StatusCode() int
- type Addressed
- type AddressedSender
- type AdvancedSearchFilters
- type AdvancedSearchParams
- type AdvancedSearchResponse
- func (r AdvancedSearchResponse) ContentType() string
- func (r AdvancedSearchResponse) GetBody() []byte
- func (r AdvancedSearchResponse) GetJSON200() *AdvancedSearchResponseContent
- func (r AdvancedSearchResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r AdvancedSearchResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r AdvancedSearchResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r AdvancedSearchResponse) Status() string
- func (r AdvancedSearchResponse) StatusCode() int
- type AdvancedSearchResponseContent
- type AdvancedSearchResult
- type AttachedEntry
- type Attendance
- type AuthTransport
- type BadRequestErrorResponseContent
- type Box
- type BoxGroup
- type BoxGroupsResponse
- type BoxShowResponse
- type BubbleUpPostingsNowJSONRequestBody
- type BubbleUpPostingsNowResponse
- func (r BubbleUpPostingsNowResponse) ContentType() string
- func (r BubbleUpPostingsNowResponse) GetBody() []byte
- func (r BubbleUpPostingsNowResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r BubbleUpPostingsNowResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r BubbleUpPostingsNowResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r BubbleUpPostingsNowResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r BubbleUpPostingsNowResponse) Status() string
- func (r BubbleUpPostingsNowResponse) StatusCode() int
- type BubbleUpSchedule
- type BulkReplyDelivery
- type BulkReplyDraft
- type BulkReplyEntry
- type BulkReplyMessagePayload
- type BulkReplyRequestContent
- type BulkUpdateClearancesJSONRequestBody
- type BulkUpdateClearancesRequestContent
- type BulkUpdateClearancesResponse
- func (r BulkUpdateClearancesResponse) ContentType() string
- func (r BulkUpdateClearancesResponse) GetBody() []byte
- func (r BulkUpdateClearancesResponse) GetJSON200() *BulkUpdateClearancesResponseContent
- func (r BulkUpdateClearancesResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r BulkUpdateClearancesResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r BulkUpdateClearancesResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r BulkUpdateClearancesResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r BulkUpdateClearancesResponse) Status() string
- func (r BulkUpdateClearancesResponse) StatusCode() int
- type BulkUpdateClearancesResponseContent
- type BundleContactResponse
- func (r BundleContactResponse) ContentType() string
- func (r BundleContactResponse) GetBody() []byte
- func (r BundleContactResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r BundleContactResponse) GetJSON403() *ForbiddenErrorResponseContent
- func (r BundleContactResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r BundleContactResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r BundleContactResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r BundleContactResponse) Status() string
- func (r BundleContactResponse) StatusCode() int
- type CachingTransport
- type Calendar
- type CalendarDayListPayload
- type CalendarListPayload
- type CalendarPeriod
- type CalendarRecordingsResponse
- type CalendarSelection
- type CalendarTodoChanges
- type CalendarTodoPayload
- type CalendarWeekListPayload
- type CalendarWithRecordingChangesUrl
- type CalendarYear
- type CalendarYearDay
- type CampfiresService
- type CancelPostingsBubbleUpParams
- type CancelPostingsBubbleUpResponse
- func (r CancelPostingsBubbleUpResponse) ContentType() string
- func (r CancelPostingsBubbleUpResponse) GetBody() []byte
- func (r CancelPostingsBubbleUpResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r CancelPostingsBubbleUpResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r CancelPostingsBubbleUpResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r CancelPostingsBubbleUpResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r CancelPostingsBubbleUpResponse) Status() string
- func (r CancelPostingsBubbleUpResponse) StatusCode() int
- type CardsService
- type Clearance
- type ClearanceListResponse
- type ClearanceSummary
- type Client
- func (c *Client) AddPostingsToBoxGroup(ctx context.Context, body AddPostingsToBoxGroupJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AddPostingsToBoxGroupWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AdvancedSearch(ctx context.Context, params *AdvancedSearchParams, ...) (*http.Response, error)
- func (c *Client) BubbleUpPostingsNow(ctx context.Context, body BubbleUpPostingsNowJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) BubbleUpPostingsNowWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) BulkUpdateClearances(ctx context.Context, body BulkUpdateClearancesJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) BulkUpdateClearancesWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) BundleContact(ctx context.Context, contactId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) Campfires() *CampfiresService
- func (c *Client) CancelPostingsBubbleUp(ctx context.Context, params *CancelPostingsBubbleUpParams, ...) (*http.Response, error)
- func (c *Client) Cards() *CardsService
- func (c *Client) Comments() *CommentsService
- func (c *Client) CompleteCalendarTodo(ctx context.Context, todoId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CompleteHabit(ctx context.Context, day string, habitId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CreateBoxDesignation(ctx context.Context, boxId int64, body CreateBoxDesignationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateBoxDesignationWithBody(ctx context.Context, boxId int64, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateBoxGroup(ctx context.Context, boxId int64, body CreateBoxGroupJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateBoxGroupWithBody(ctx context.Context, boxId int64, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateBulkReply(ctx context.Context, body CreateBulkReplyJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateBulkReplyWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateCalendarTodo(ctx context.Context, body CreateCalendarTodoJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateCalendarTodoWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateContact(ctx context.Context, body CreateContactJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateContactWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateDirectUpload(ctx context.Context, body CreateDirectUploadJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateDirectUploadWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateFolderForPostings(ctx context.Context, body CreateFolderForPostingsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateFolderForPostingsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateHabit(ctx context.Context, body CreateHabitJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateHabitWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateMessage(ctx context.Context, body CreateMessageJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateMessageWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateReply(ctx context.Context, entryId int64, body CreateReplyJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateReplyWithBody(ctx context.Context, entryId int64, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateSticky(ctx context.Context, body CreateStickyJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateStickyWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateTimeTrack(ctx context.Context, body CreateTimeTrackJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateTimeTrackWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateWorkflowStaging(ctx context.Context, topicId int64, workflowId int64, ...) (*http.Response, error)
- func (c *Client) DeleteBoxDesignation(ctx context.Context, boxId int64, designationId int64, ...) (*http.Response, error)
- func (c *Client) DeleteBoxGroup(ctx context.Context, boxId int64, groupId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteCalendarTodo(ctx context.Context, todoId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteContactNote(ctx context.Context, contactId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteDraft(ctx context.Context, entryId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteHabit(ctx context.Context, habitId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteSticky(ctx context.Context, stickyId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteTimeTrack(ctx context.Context, timeTrackId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) Documents() *DocumentsService
- func (c *Client) EmptySpam(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) EmptyTrash(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) Events() *EventsService
- func (c *Client) FilePostings(ctx context.Context, body FilePostingsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) FilePostingsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetAdvancedSearchFilters(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAsidebox(ctx context.Context, params *GetAsideboxParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetBox(ctx context.Context, boxId int64, params *GetBoxParams, ...) (*http.Response, error)
- func (c *Client) GetBoxPostingChanges(ctx context.Context, boxId int64, params *GetBoxPostingChangesParams, ...) (*http.Response, error)
- func (c *Client) GetBubblebox(ctx context.Context, params *GetBubbleboxParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetBundleUnseenPostings(ctx context.Context, postingId int64, params *GetBundleUnseenPostingsParams, ...) (*http.Response, error)
- func (c *Client) GetCalendarDay(ctx context.Context, day string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCalendarRecordings(ctx context.Context, calendarId int64, params *GetCalendarRecordingsParams, ...) (*http.Response, error)
- func (c *Client) GetCalendarWeek(ctx context.Context, week string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCalendarYear(ctx context.Context, year string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetClearances(ctx context.Context, params *GetClearancesParams, ...) (*http.Response, error)
- func (c *Client) GetCollection(ctx context.Context, collectionId int64, params *GetCollectionParams, ...) (*http.Response, error)
- func (c *Client) GetContact(ctx context.Context, contactId int64, params *GetContactParams, ...) (*http.Response, error)
- func (c *Client) GetContactNote(ctx context.Context, contactId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetEverythingTopics(ctx context.Context, params *GetEverythingTopicsParams, ...) (*http.Response, error)
- func (c *Client) GetFeedbox(ctx context.Context, params *GetFeedboxParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetFolder(ctx context.Context, folderId int64, params *GetFolderParams, ...) (*http.Response, error)
- func (c *Client) GetIdentity(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetImbox(ctx context.Context, params *GetImboxParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetImboxSeen(ctx context.Context, params *GetImboxSeenParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetJournalEntry(ctx context.Context, day string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetLaterbox(ctx context.Context, params *GetLaterboxParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMessage(ctx context.Context, messageId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMessageEdit(ctx context.Context, messageId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMyClearances(ctx context.Context, params *GetMyClearancesParams, ...) (*http.Response, error)
- func (c *Client) GetNavigation(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetOngoingTimeTrack(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSentTopics(ctx context.Context, params *GetSentTopicsParams, ...) (*http.Response, error)
- func (c *Client) GetSpamTopics(ctx context.Context, params *GetSpamTopicsParams, ...) (*http.Response, error)
- func (c *Client) GetTopic(ctx context.Context, topicId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetTopicEntries(ctx context.Context, topicId int64, params *GetTopicEntriesParams, ...) (*http.Response, error)
- func (c *Client) GetTopicPublication(ctx context.Context, topicId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetTrailbox(ctx context.Context, params *GetTrailboxParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetTrashTopics(ctx context.Context, params *GetTrashTopicsParams, ...) (*http.Response, error)
- func (c *Client) GetWorkflow(ctx context.Context, workflowId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) HideContact(ctx context.Context, contactId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListBoxGroups(ctx context.Context, boxId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListBoxes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListCalendarDays(ctx context.Context, params *ListCalendarDaysParams, ...) (*http.Response, error)
- func (c *Client) ListCalendarWeeks(ctx context.Context, params *ListCalendarWeeksParams, ...) (*http.Response, error)
- func (c *Client) ListCalendars(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListClips(ctx context.Context, params *ListClipsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListCollections(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListContacts(ctx context.Context, params *ListContactsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListDrafts(ctx context.Context, params *ListDraftsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListJournalEntries(ctx context.Context, params *ListJournalEntriesParams, ...) (*http.Response, error)
- func (c *Client) ListSnippets(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListStickies(ctx context.Context, params *ListStickiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListTimeTrackCategories(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListTimeTracks(ctx context.Context, params *ListTimeTracksParams, ...) (*http.Response, error)
- func (c *Client) MarkBoxSeen(ctx context.Context, boxId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) MarkEntrySpam(ctx context.Context, entryId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) MarkPostingsSeen(ctx context.Context, body MarkPostingsSeenJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) MarkPostingsSeenWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) MarkPostingsSpam(ctx context.Context, body MarkPostingsSpamJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) MarkPostingsSpamWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) MarkPostingsUnseen(ctx context.Context, body MarkPostingsUnseenJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) MarkPostingsUnseenWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) MarkTopicHam(ctx context.Context, topicId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) Messages() *MessagesService
- func (c *Client) MovePostings(ctx context.Context, body MovePostingsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) MovePostingsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) MoveSticky(ctx context.Context, body MoveStickyJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) MoveStickyWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) MoveTopic(ctx context.Context, topicId int64, body MoveTopicJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) MoveTopicWithBody(ctx context.Context, topicId int64, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) MoveWorkflowStaging(ctx context.Context, topicId int64, workflowId int64, ...) (*http.Response, error)
- func (c *Client) MoveWorkflowStagingWithBody(ctx context.Context, topicId int64, workflowId int64, contentType string, ...) (*http.Response, error)
- func (c *Client) MutePostings(ctx context.Context, body MutePostingsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) MutePostingsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) NewBulkReply(ctx context.Context, params *NewBulkReplyParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) NewEntryForward(ctx context.Context, entryId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) NewEntryReply(ctx context.Context, entryId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) People() *PeopleService
- func (c *Client) Projects() *ProjectsService
- func (c *Client) PuntClearances(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) Recordings() *RecordingsService
- func (c *Client) RemovePostingsFromBoxGroup(ctx context.Context, params *RemovePostingsFromBoxGroupParams, ...) (*http.Response, error)
- func (c *Client) RestoreTopic(ctx context.Context, topicId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ResumeHabit(ctx context.Context, habitId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RevealContact(ctx context.Context, contactId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SchedulePostingsBubbleUp(ctx context.Context, body SchedulePostingsBubbleUpJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SchedulePostingsBubbleUpWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) Schedules() *SchedulesService
- func (c *Client) StartTimeTrack(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) StopHabit(ctx context.Context, habitId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) Templates() *TemplatesService
- func (c *Client) Todos() *TodosService
- func (c *Client) ToggleCalendar(ctx context.Context, calendarId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TrashPostings(ctx context.Context, body TrashPostingsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) TrashPostingsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TrashTopic(ctx context.Context, topicId int64, params *TrashTopicParams, ...) (*http.Response, error)
- func (c *Client) UnbundleContact(ctx context.Context, contactId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UncompleteCalendarTodo(ctx context.Context, todoId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UncompleteHabit(ctx context.Context, day string, habitId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UnfilePostings(ctx context.Context, params *UnfilePostingsParams, ...) (*http.Response, error)
- func (c *Client) UnmutePostings(ctx context.Context, params *UnmutePostingsParams, ...) (*http.Response, error)
- func (c *Client) UpdateCalendarTodo(ctx context.Context, todoId int64, body UpdateCalendarTodoJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateCalendarTodoWithBody(ctx context.Context, todoId int64, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateClearance(ctx context.Context, clearanceId int64, body UpdateClearanceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateClearanceWithBody(ctx context.Context, clearanceId int64, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateCollection(ctx context.Context, collectionId int64, body UpdateCollectionJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateCollectionWithBody(ctx context.Context, collectionId int64, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateContact(ctx context.Context, contactId int64, body UpdateContactJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateContactClearance(ctx context.Context, contactId int64, ...) (*http.Response, error)
- func (c *Client) UpdateContactClearanceWithBody(ctx context.Context, contactId int64, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateContactNote(ctx context.Context, contactId int64, body UpdateContactNoteJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateContactNoteWithBody(ctx context.Context, contactId int64, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateContactWithBody(ctx context.Context, contactId int64, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateFirstWeekDay(ctx context.Context, body UpdateFirstWeekDayJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateFirstWeekDayWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateHabit(ctx context.Context, habitId int64, body UpdateHabitJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateHabitWithBody(ctx context.Context, habitId int64, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateJournalEntry(ctx context.Context, day string, body UpdateJournalEntryJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateJournalEntryWithBody(ctx context.Context, day string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateMessage(ctx context.Context, messageId int64, body UpdateMessageJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateMessageWithBody(ctx context.Context, messageId int64, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateMyClearance(ctx context.Context, clearanceId int64, body UpdateMyClearanceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateMyClearanceWithBody(ctx context.Context, clearanceId int64, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateSticky(ctx context.Context, stickyId int64, body UpdateStickyJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateStickyWithBody(ctx context.Context, stickyId int64, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateTimeFormat(ctx context.Context, body UpdateTimeFormatJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateTimeFormatWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateTimeTrack(ctx context.Context, timeTrackId int64, body UpdateTimeTrackJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateTimeTrackWithBody(ctx context.Context, timeTrackId int64, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) Uploads() *UploadsService
- func (c *Client) Vaults() *VaultsService
- func (c *Client) Webhooks() *WebhooksService
- type ClientInterface
- type ClientOption
- func WithAuthTransport(tokenProvider TokenProvider, userAgent string) ClientOption
- func WithBaseURL(baseURL string) ClientOption
- func WithCachingTransport(cache ResponseCache) ClientOption
- func WithHTTPClient(doer HttpRequestDoer) ClientOption
- func WithLogger(logger *slog.Logger) ClientOption
- func WithRequestEditorFn(fn RequestEditorFn) ClientOption
- func WithRetryConfig(cfg RetryConfig) ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AddPostingsToBoxGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AddPostingsToBoxGroupResponse, error)
- func (c *ClientWithResponses) AddPostingsToBoxGroupWithResponse(ctx context.Context, body AddPostingsToBoxGroupJSONRequestBody, ...) (*AddPostingsToBoxGroupResponse, error)
- func (c *ClientWithResponses) AdvancedSearchWithResponse(ctx context.Context, params *AdvancedSearchParams, ...) (*AdvancedSearchResponse, error)
- func (c *ClientWithResponses) BubbleUpPostingsNowWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*BubbleUpPostingsNowResponse, error)
- func (c *ClientWithResponses) BubbleUpPostingsNowWithResponse(ctx context.Context, body BubbleUpPostingsNowJSONRequestBody, ...) (*BubbleUpPostingsNowResponse, error)
- func (c *ClientWithResponses) BulkUpdateClearancesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*BulkUpdateClearancesResponse, error)
- func (c *ClientWithResponses) BulkUpdateClearancesWithResponse(ctx context.Context, body BulkUpdateClearancesJSONRequestBody, ...) (*BulkUpdateClearancesResponse, error)
- func (c *ClientWithResponses) BundleContactWithResponse(ctx context.Context, contactId int64, reqEditors ...RequestEditorFn) (*BundleContactResponse, error)
- func (c *ClientWithResponses) CancelPostingsBubbleUpWithResponse(ctx context.Context, params *CancelPostingsBubbleUpParams, ...) (*CancelPostingsBubbleUpResponse, error)
- func (c *ClientWithResponses) CompleteCalendarTodoWithResponse(ctx context.Context, todoId int64, reqEditors ...RequestEditorFn) (*CompleteCalendarTodoResponse, error)
- func (c *ClientWithResponses) CompleteHabitWithResponse(ctx context.Context, day string, habitId int64, reqEditors ...RequestEditorFn) (*CompleteHabitResponse, error)
- func (c *ClientWithResponses) CreateBoxDesignationWithBodyWithResponse(ctx context.Context, boxId int64, contentType string, body io.Reader, ...) (*CreateBoxDesignationResponse, error)
- func (c *ClientWithResponses) CreateBoxDesignationWithResponse(ctx context.Context, boxId int64, body CreateBoxDesignationJSONRequestBody, ...) (*CreateBoxDesignationResponse, error)
- func (c *ClientWithResponses) CreateBoxGroupWithBodyWithResponse(ctx context.Context, boxId int64, contentType string, body io.Reader, ...) (*CreateBoxGroupResponse, error)
- func (c *ClientWithResponses) CreateBoxGroupWithResponse(ctx context.Context, boxId int64, body CreateBoxGroupJSONRequestBody, ...) (*CreateBoxGroupResponse, error)
- func (c *ClientWithResponses) CreateBulkReplyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateBulkReplyResponse, error)
- func (c *ClientWithResponses) CreateBulkReplyWithResponse(ctx context.Context, body CreateBulkReplyJSONRequestBody, ...) (*CreateBulkReplyResponse, error)
- func (c *ClientWithResponses) CreateCalendarTodoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateCalendarTodoResponse, error)
- func (c *ClientWithResponses) CreateCalendarTodoWithResponse(ctx context.Context, body CreateCalendarTodoJSONRequestBody, ...) (*CreateCalendarTodoResponse, error)
- func (c *ClientWithResponses) CreateContactWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateContactResponse, error)
- func (c *ClientWithResponses) CreateContactWithResponse(ctx context.Context, body CreateContactJSONRequestBody, ...) (*CreateContactResponse, error)
- func (c *ClientWithResponses) CreateDirectUploadWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateDirectUploadResponse, error)
- func (c *ClientWithResponses) CreateDirectUploadWithResponse(ctx context.Context, body CreateDirectUploadJSONRequestBody, ...) (*CreateDirectUploadResponse, error)
- func (c *ClientWithResponses) CreateFolderForPostingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateFolderForPostingsResponse, error)
- func (c *ClientWithResponses) CreateFolderForPostingsWithResponse(ctx context.Context, body CreateFolderForPostingsJSONRequestBody, ...) (*CreateFolderForPostingsResponse, error)
- func (c *ClientWithResponses) CreateHabitWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateHabitResponse, error)
- func (c *ClientWithResponses) CreateHabitWithResponse(ctx context.Context, body CreateHabitJSONRequestBody, ...) (*CreateHabitResponse, error)
- func (c *ClientWithResponses) CreateMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateMessageResponse, error)
- func (c *ClientWithResponses) CreateMessageWithResponse(ctx context.Context, body CreateMessageJSONRequestBody, ...) (*CreateMessageResponse, error)
- func (c *ClientWithResponses) CreateReplyWithBodyWithResponse(ctx context.Context, entryId int64, contentType string, body io.Reader, ...) (*CreateReplyResponse, error)
- func (c *ClientWithResponses) CreateReplyWithResponse(ctx context.Context, entryId int64, body CreateReplyJSONRequestBody, ...) (*CreateReplyResponse, error)
- func (c *ClientWithResponses) CreateStickyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateStickyResponse, error)
- func (c *ClientWithResponses) CreateStickyWithResponse(ctx context.Context, body CreateStickyJSONRequestBody, ...) (*CreateStickyResponse, error)
- func (c *ClientWithResponses) CreateTimeTrackWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateTimeTrackResponse, error)
- func (c *ClientWithResponses) CreateTimeTrackWithResponse(ctx context.Context, body CreateTimeTrackJSONRequestBody, ...) (*CreateTimeTrackResponse, error)
- func (c *ClientWithResponses) CreateWorkflowStagingWithResponse(ctx context.Context, topicId int64, workflowId int64, ...) (*CreateWorkflowStagingResponse, error)
- func (c *ClientWithResponses) DeleteBoxDesignationWithResponse(ctx context.Context, boxId int64, designationId int64, ...) (*DeleteBoxDesignationResponse, error)
- func (c *ClientWithResponses) DeleteBoxGroupWithResponse(ctx context.Context, boxId int64, groupId int64, reqEditors ...RequestEditorFn) (*DeleteBoxGroupResponse, error)
- func (c *ClientWithResponses) DeleteCalendarTodoWithResponse(ctx context.Context, todoId int64, reqEditors ...RequestEditorFn) (*DeleteCalendarTodoResponse, error)
- func (c *ClientWithResponses) DeleteContactNoteWithResponse(ctx context.Context, contactId int64, reqEditors ...RequestEditorFn) (*DeleteContactNoteResponse, error)
- func (c *ClientWithResponses) DeleteDraftWithResponse(ctx context.Context, entryId int64, reqEditors ...RequestEditorFn) (*DeleteDraftResponse, error)
- func (c *ClientWithResponses) DeleteHabitWithResponse(ctx context.Context, habitId int64, reqEditors ...RequestEditorFn) (*DeleteHabitResponse, error)
- func (c *ClientWithResponses) DeleteStickyWithResponse(ctx context.Context, stickyId int64, reqEditors ...RequestEditorFn) (*DeleteStickyResponse, error)
- func (c *ClientWithResponses) DeleteTimeTrackWithResponse(ctx context.Context, timeTrackId int64, reqEditors ...RequestEditorFn) (*DeleteTimeTrackResponse, error)
- func (c *ClientWithResponses) EmptySpamWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*EmptySpamResponse, error)
- func (c *ClientWithResponses) EmptyTrashWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*EmptyTrashResponse, error)
- func (c *ClientWithResponses) FilePostingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*FilePostingsResponse, error)
- func (c *ClientWithResponses) FilePostingsWithResponse(ctx context.Context, body FilePostingsJSONRequestBody, ...) (*FilePostingsResponse, error)
- func (c *ClientWithResponses) GetAdvancedSearchFiltersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAdvancedSearchFiltersResponse, error)
- func (c *ClientWithResponses) GetAsideboxWithResponse(ctx context.Context, params *GetAsideboxParams, reqEditors ...RequestEditorFn) (*GetAsideboxResponse, error)
- func (c *ClientWithResponses) GetBoxPostingChangesWithResponse(ctx context.Context, boxId int64, params *GetBoxPostingChangesParams, ...) (*GetBoxPostingChangesResponse, error)
- func (c *ClientWithResponses) GetBoxWithResponse(ctx context.Context, boxId int64, params *GetBoxParams, ...) (*GetBoxResponse, error)
- func (c *ClientWithResponses) GetBubbleboxWithResponse(ctx context.Context, params *GetBubbleboxParams, reqEditors ...RequestEditorFn) (*GetBubbleboxResponse, error)
- func (c *ClientWithResponses) GetBundleUnseenPostingsWithResponse(ctx context.Context, postingId int64, params *GetBundleUnseenPostingsParams, ...) (*GetBundleUnseenPostingsResponse, error)
- func (c *ClientWithResponses) GetCalendarDayWithResponse(ctx context.Context, day string, reqEditors ...RequestEditorFn) (*GetCalendarDayResponse, error)
- func (c *ClientWithResponses) GetCalendarRecordingsWithResponse(ctx context.Context, calendarId int64, params *GetCalendarRecordingsParams, ...) (*GetCalendarRecordingsResponse, error)
- func (c *ClientWithResponses) GetCalendarWeekWithResponse(ctx context.Context, week string, reqEditors ...RequestEditorFn) (*GetCalendarWeekResponse, error)
- func (c *ClientWithResponses) GetCalendarYearWithResponse(ctx context.Context, year string, reqEditors ...RequestEditorFn) (*GetCalendarYearResponse, error)
- func (c *ClientWithResponses) GetClearancesWithResponse(ctx context.Context, params *GetClearancesParams, ...) (*GetClearancesResponse, error)
- func (c *ClientWithResponses) GetCollectionWithResponse(ctx context.Context, collectionId int64, params *GetCollectionParams, ...) (*GetCollectionResponse, error)
- func (c *ClientWithResponses) GetContactNoteWithResponse(ctx context.Context, contactId int64, reqEditors ...RequestEditorFn) (*GetContactNoteResponse, error)
- func (c *ClientWithResponses) GetContactWithResponse(ctx context.Context, contactId int64, params *GetContactParams, ...) (*GetContactResponse, error)
- func (c *ClientWithResponses) GetEverythingTopicsWithResponse(ctx context.Context, params *GetEverythingTopicsParams, ...) (*GetEverythingTopicsResponse, error)
- func (c *ClientWithResponses) GetFeedboxWithResponse(ctx context.Context, params *GetFeedboxParams, reqEditors ...RequestEditorFn) (*GetFeedboxResponse, error)
- func (c *ClientWithResponses) GetFolderWithResponse(ctx context.Context, folderId int64, params *GetFolderParams, ...) (*GetFolderResponse, error)
- func (c *ClientWithResponses) GetIdentityWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetIdentityResponse, error)
- func (c *ClientWithResponses) GetImboxSeenWithResponse(ctx context.Context, params *GetImboxSeenParams, reqEditors ...RequestEditorFn) (*GetImboxSeenResponse, error)
- func (c *ClientWithResponses) GetImboxWithResponse(ctx context.Context, params *GetImboxParams, reqEditors ...RequestEditorFn) (*GetImboxResponse, error)
- func (c *ClientWithResponses) GetJournalEntryWithResponse(ctx context.Context, day string, reqEditors ...RequestEditorFn) (*GetJournalEntryResponse, error)
- func (c *ClientWithResponses) GetLaterboxWithResponse(ctx context.Context, params *GetLaterboxParams, reqEditors ...RequestEditorFn) (*GetLaterboxResponse, error)
- func (c *ClientWithResponses) GetMessageEditWithResponse(ctx context.Context, messageId int64, reqEditors ...RequestEditorFn) (*GetMessageEditResponse, error)
- func (c *ClientWithResponses) GetMessageWithResponse(ctx context.Context, messageId int64, reqEditors ...RequestEditorFn) (*GetMessageResponse, error)
- func (c *ClientWithResponses) GetMyClearancesWithResponse(ctx context.Context, params *GetMyClearancesParams, ...) (*GetMyClearancesResponse, error)
- func (c *ClientWithResponses) GetNavigationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetNavigationResponse, error)
- func (c *ClientWithResponses) GetOngoingTimeTrackWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOngoingTimeTrackResponse, error)
- func (c *ClientWithResponses) GetSentTopicsWithResponse(ctx context.Context, params *GetSentTopicsParams, ...) (*GetSentTopicsResponse, error)
- func (c *ClientWithResponses) GetSpamTopicsWithResponse(ctx context.Context, params *GetSpamTopicsParams, ...) (*GetSpamTopicsResponse, error)
- func (c *ClientWithResponses) GetTopicEntriesWithResponse(ctx context.Context, topicId int64, params *GetTopicEntriesParams, ...) (*GetTopicEntriesResponse, error)
- func (c *ClientWithResponses) GetTopicPublicationWithResponse(ctx context.Context, topicId int64, reqEditors ...RequestEditorFn) (*GetTopicPublicationResponse, error)
- func (c *ClientWithResponses) GetTopicWithResponse(ctx context.Context, topicId int64, reqEditors ...RequestEditorFn) (*GetTopicResponse, error)
- func (c *ClientWithResponses) GetTrailboxWithResponse(ctx context.Context, params *GetTrailboxParams, reqEditors ...RequestEditorFn) (*GetTrailboxResponse, error)
- func (c *ClientWithResponses) GetTrashTopicsWithResponse(ctx context.Context, params *GetTrashTopicsParams, ...) (*GetTrashTopicsResponse, error)
- func (c *ClientWithResponses) GetWorkflowWithResponse(ctx context.Context, workflowId int64, reqEditors ...RequestEditorFn) (*GetWorkflowResponse, error)
- func (c *ClientWithResponses) HideContactWithResponse(ctx context.Context, contactId int64, reqEditors ...RequestEditorFn) (*HideContactResponse, error)
- func (c *ClientWithResponses) ListBoxGroupsWithResponse(ctx context.Context, boxId int64, reqEditors ...RequestEditorFn) (*ListBoxGroupsResponse, error)
- func (c *ClientWithResponses) ListBoxesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListBoxesResponse, error)
- func (c *ClientWithResponses) ListCalendarDaysWithResponse(ctx context.Context, params *ListCalendarDaysParams, ...) (*ListCalendarDaysResponse, error)
- func (c *ClientWithResponses) ListCalendarWeeksWithResponse(ctx context.Context, params *ListCalendarWeeksParams, ...) (*ListCalendarWeeksResponse, error)
- func (c *ClientWithResponses) ListCalendarsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListCalendarsResponse, error)
- func (c *ClientWithResponses) ListClipsWithResponse(ctx context.Context, params *ListClipsParams, reqEditors ...RequestEditorFn) (*ListClipsResponse, error)
- func (c *ClientWithResponses) ListCollectionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListCollectionsResponse, error)
- func (c *ClientWithResponses) ListContactsWithResponse(ctx context.Context, params *ListContactsParams, reqEditors ...RequestEditorFn) (*ListContactsResponse, error)
- func (c *ClientWithResponses) ListDraftsWithResponse(ctx context.Context, params *ListDraftsParams, reqEditors ...RequestEditorFn) (*ListDraftsResponse, error)
- func (c *ClientWithResponses) ListJournalEntriesWithResponse(ctx context.Context, params *ListJournalEntriesParams, ...) (*ListJournalEntriesResponse, error)
- func (c *ClientWithResponses) ListSnippetsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSnippetsResponse, error)
- func (c *ClientWithResponses) ListStickiesWithResponse(ctx context.Context, params *ListStickiesParams, reqEditors ...RequestEditorFn) (*ListStickiesResponse, error)
- func (c *ClientWithResponses) ListTimeTrackCategoriesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListTimeTrackCategoriesResponse, error)
- func (c *ClientWithResponses) ListTimeTracksWithResponse(ctx context.Context, params *ListTimeTracksParams, ...) (*ListTimeTracksResponse, error)
- func (c *ClientWithResponses) MarkBoxSeenWithResponse(ctx context.Context, boxId int64, reqEditors ...RequestEditorFn) (*MarkBoxSeenResponse, error)
- func (c *ClientWithResponses) MarkEntrySpamWithResponse(ctx context.Context, entryId int64, reqEditors ...RequestEditorFn) (*MarkEntrySpamResponse, error)
- func (c *ClientWithResponses) MarkPostingsSeenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*MarkPostingsSeenResponse, error)
- func (c *ClientWithResponses) MarkPostingsSeenWithResponse(ctx context.Context, body MarkPostingsSeenJSONRequestBody, ...) (*MarkPostingsSeenResponse, error)
- func (c *ClientWithResponses) MarkPostingsSpamWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*MarkPostingsSpamResponse, error)
- func (c *ClientWithResponses) MarkPostingsSpamWithResponse(ctx context.Context, body MarkPostingsSpamJSONRequestBody, ...) (*MarkPostingsSpamResponse, error)
- func (c *ClientWithResponses) MarkPostingsUnseenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*MarkPostingsUnseenResponse, error)
- func (c *ClientWithResponses) MarkPostingsUnseenWithResponse(ctx context.Context, body MarkPostingsUnseenJSONRequestBody, ...) (*MarkPostingsUnseenResponse, error)
- func (c *ClientWithResponses) MarkTopicHamWithResponse(ctx context.Context, topicId int64, reqEditors ...RequestEditorFn) (*MarkTopicHamResponse, error)
- func (c *ClientWithResponses) MovePostingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*MovePostingsResponse, error)
- func (c *ClientWithResponses) MovePostingsWithResponse(ctx context.Context, body MovePostingsJSONRequestBody, ...) (*MovePostingsResponse, error)
- func (c *ClientWithResponses) MoveStickyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*MoveStickyResponse, error)
- func (c *ClientWithResponses) MoveStickyWithResponse(ctx context.Context, body MoveStickyJSONRequestBody, ...) (*MoveStickyResponse, error)
- func (c *ClientWithResponses) MoveTopicWithBodyWithResponse(ctx context.Context, topicId int64, contentType string, body io.Reader, ...) (*MoveTopicResponse, error)
- func (c *ClientWithResponses) MoveTopicWithResponse(ctx context.Context, topicId int64, body MoveTopicJSONRequestBody, ...) (*MoveTopicResponse, error)
- func (c *ClientWithResponses) MoveWorkflowStagingWithBodyWithResponse(ctx context.Context, topicId int64, workflowId int64, contentType string, ...) (*MoveWorkflowStagingResponse, error)
- func (c *ClientWithResponses) MoveWorkflowStagingWithResponse(ctx context.Context, topicId int64, workflowId int64, ...) (*MoveWorkflowStagingResponse, error)
- func (c *ClientWithResponses) MutePostingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*MutePostingsResponse, error)
- func (c *ClientWithResponses) MutePostingsWithResponse(ctx context.Context, body MutePostingsJSONRequestBody, ...) (*MutePostingsResponse, error)
- func (c *ClientWithResponses) NewBulkReplyWithResponse(ctx context.Context, params *NewBulkReplyParams, reqEditors ...RequestEditorFn) (*NewBulkReplyResponse, error)
- func (c *ClientWithResponses) NewEntryForwardWithResponse(ctx context.Context, entryId int64, reqEditors ...RequestEditorFn) (*NewEntryForwardResponse, error)
- func (c *ClientWithResponses) NewEntryReplyWithResponse(ctx context.Context, entryId int64, reqEditors ...RequestEditorFn) (*NewEntryReplyResponse, error)
- func (c *ClientWithResponses) PuntClearancesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PuntClearancesResponse, error)
- func (c *ClientWithResponses) RemovePostingsFromBoxGroupWithResponse(ctx context.Context, params *RemovePostingsFromBoxGroupParams, ...) (*RemovePostingsFromBoxGroupResponse, error)
- func (c *ClientWithResponses) RestoreTopicWithResponse(ctx context.Context, topicId int64, reqEditors ...RequestEditorFn) (*RestoreTopicResponse, error)
- func (c *ClientWithResponses) ResumeHabitWithResponse(ctx context.Context, habitId int64, reqEditors ...RequestEditorFn) (*ResumeHabitResponse, error)
- func (c *ClientWithResponses) RevealContactWithResponse(ctx context.Context, contactId int64, reqEditors ...RequestEditorFn) (*RevealContactResponse, error)
- func (c *ClientWithResponses) SchedulePostingsBubbleUpWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SchedulePostingsBubbleUpResponse, error)
- func (c *ClientWithResponses) SchedulePostingsBubbleUpWithResponse(ctx context.Context, body SchedulePostingsBubbleUpJSONRequestBody, ...) (*SchedulePostingsBubbleUpResponse, error)
- func (c *ClientWithResponses) StartTimeTrackWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*StartTimeTrackResponse, error)
- func (c *ClientWithResponses) StopHabitWithResponse(ctx context.Context, habitId int64, reqEditors ...RequestEditorFn) (*StopHabitResponse, error)
- func (c *ClientWithResponses) ToggleCalendarWithResponse(ctx context.Context, calendarId int64, reqEditors ...RequestEditorFn) (*ToggleCalendarResponse, error)
- func (c *ClientWithResponses) TrashPostingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TrashPostingsResponse, error)
- func (c *ClientWithResponses) TrashPostingsWithResponse(ctx context.Context, body TrashPostingsJSONRequestBody, ...) (*TrashPostingsResponse, error)
- func (c *ClientWithResponses) TrashTopicWithResponse(ctx context.Context, topicId int64, params *TrashTopicParams, ...) (*TrashTopicResponse, error)
- func (c *ClientWithResponses) UnbundleContactWithResponse(ctx context.Context, contactId int64, reqEditors ...RequestEditorFn) (*UnbundleContactResponse, error)
- func (c *ClientWithResponses) UncompleteCalendarTodoWithResponse(ctx context.Context, todoId int64, reqEditors ...RequestEditorFn) (*UncompleteCalendarTodoResponse, error)
- func (c *ClientWithResponses) UncompleteHabitWithResponse(ctx context.Context, day string, habitId int64, reqEditors ...RequestEditorFn) (*UncompleteHabitResponse, error)
- func (c *ClientWithResponses) UnfilePostingsWithResponse(ctx context.Context, params *UnfilePostingsParams, ...) (*UnfilePostingsResponse, error)
- func (c *ClientWithResponses) UnmutePostingsWithResponse(ctx context.Context, params *UnmutePostingsParams, ...) (*UnmutePostingsResponse, error)
- func (c *ClientWithResponses) UpdateCalendarTodoWithBodyWithResponse(ctx context.Context, todoId int64, contentType string, body io.Reader, ...) (*UpdateCalendarTodoResponse, error)
- func (c *ClientWithResponses) UpdateCalendarTodoWithResponse(ctx context.Context, todoId int64, body UpdateCalendarTodoJSONRequestBody, ...) (*UpdateCalendarTodoResponse, error)
- func (c *ClientWithResponses) UpdateClearanceWithBodyWithResponse(ctx context.Context, clearanceId int64, contentType string, body io.Reader, ...) (*UpdateClearanceResponse, error)
- func (c *ClientWithResponses) UpdateClearanceWithResponse(ctx context.Context, clearanceId int64, body UpdateClearanceJSONRequestBody, ...) (*UpdateClearanceResponse, error)
- func (c *ClientWithResponses) UpdateCollectionWithBodyWithResponse(ctx context.Context, collectionId int64, contentType string, body io.Reader, ...) (*UpdateCollectionResponse, error)
- func (c *ClientWithResponses) UpdateCollectionWithResponse(ctx context.Context, collectionId int64, body UpdateCollectionJSONRequestBody, ...) (*UpdateCollectionResponse, error)
- func (c *ClientWithResponses) UpdateContactClearanceWithBodyWithResponse(ctx context.Context, contactId int64, contentType string, body io.Reader, ...) (*UpdateContactClearanceResponse, error)
- func (c *ClientWithResponses) UpdateContactClearanceWithResponse(ctx context.Context, contactId int64, ...) (*UpdateContactClearanceResponse, error)
- func (c *ClientWithResponses) UpdateContactNoteWithBodyWithResponse(ctx context.Context, contactId int64, contentType string, body io.Reader, ...) (*UpdateContactNoteResponse, error)
- func (c *ClientWithResponses) UpdateContactNoteWithResponse(ctx context.Context, contactId int64, body UpdateContactNoteJSONRequestBody, ...) (*UpdateContactNoteResponse, error)
- func (c *ClientWithResponses) UpdateContactWithBodyWithResponse(ctx context.Context, contactId int64, contentType string, body io.Reader, ...) (*UpdateContactResponse, error)
- func (c *ClientWithResponses) UpdateContactWithResponse(ctx context.Context, contactId int64, body UpdateContactJSONRequestBody, ...) (*UpdateContactResponse, error)
- func (c *ClientWithResponses) UpdateFirstWeekDayWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UpdateFirstWeekDayResponse, error)
- func (c *ClientWithResponses) UpdateFirstWeekDayWithResponse(ctx context.Context, body UpdateFirstWeekDayJSONRequestBody, ...) (*UpdateFirstWeekDayResponse, error)
- func (c *ClientWithResponses) UpdateHabitWithBodyWithResponse(ctx context.Context, habitId int64, contentType string, body io.Reader, ...) (*UpdateHabitResponse, error)
- func (c *ClientWithResponses) UpdateHabitWithResponse(ctx context.Context, habitId int64, body UpdateHabitJSONRequestBody, ...) (*UpdateHabitResponse, error)
- func (c *ClientWithResponses) UpdateJournalEntryWithBodyWithResponse(ctx context.Context, day string, contentType string, body io.Reader, ...) (*UpdateJournalEntryResponse, error)
- func (c *ClientWithResponses) UpdateJournalEntryWithResponse(ctx context.Context, day string, body UpdateJournalEntryJSONRequestBody, ...) (*UpdateJournalEntryResponse, error)
- func (c *ClientWithResponses) UpdateMessageWithBodyWithResponse(ctx context.Context, messageId int64, contentType string, body io.Reader, ...) (*UpdateMessageResponse, error)
- func (c *ClientWithResponses) UpdateMessageWithResponse(ctx context.Context, messageId int64, body UpdateMessageJSONRequestBody, ...) (*UpdateMessageResponse, error)
- func (c *ClientWithResponses) UpdateMyClearanceWithBodyWithResponse(ctx context.Context, clearanceId int64, contentType string, body io.Reader, ...) (*UpdateMyClearanceResponse, error)
- func (c *ClientWithResponses) UpdateMyClearanceWithResponse(ctx context.Context, clearanceId int64, body UpdateMyClearanceJSONRequestBody, ...) (*UpdateMyClearanceResponse, error)
- func (c *ClientWithResponses) UpdateStickyWithBodyWithResponse(ctx context.Context, stickyId int64, contentType string, body io.Reader, ...) (*UpdateStickyResponse, error)
- func (c *ClientWithResponses) UpdateStickyWithResponse(ctx context.Context, stickyId int64, body UpdateStickyJSONRequestBody, ...) (*UpdateStickyResponse, error)
- func (c *ClientWithResponses) UpdateTimeFormatWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UpdateTimeFormatResponse, error)
- func (c *ClientWithResponses) UpdateTimeFormatWithResponse(ctx context.Context, body UpdateTimeFormatJSONRequestBody, ...) (*UpdateTimeFormatResponse, error)
- func (c *ClientWithResponses) UpdateTimeTrackWithBodyWithResponse(ctx context.Context, timeTrackId int64, contentType string, body io.Reader, ...) (*UpdateTimeTrackResponse, error)
- func (c *ClientWithResponses) UpdateTimeTrackWithResponse(ctx context.Context, timeTrackId int64, body UpdateTimeTrackJSONRequestBody, ...) (*UpdateTimeTrackResponse, error)
- type ClientWithResponsesInterface
- type Clip
- type ClipTopic
- type Collection
- type CollectionPayload
- type CollectionWithPostings
- type CommentsService
- type CompleteCalendarTodoResponse
- func (r CompleteCalendarTodoResponse) ContentType() string
- func (r CompleteCalendarTodoResponse) GetBody() []byte
- func (r CompleteCalendarTodoResponse) GetJSON200() *CompleteCalendarTodoResponseContent
- func (r CompleteCalendarTodoResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r CompleteCalendarTodoResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r CompleteCalendarTodoResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r CompleteCalendarTodoResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r CompleteCalendarTodoResponse) Status() string
- func (r CompleteCalendarTodoResponse) StatusCode() int
- type CompleteCalendarTodoResponseContent
- type CompleteHabitResponse
- func (r CompleteHabitResponse) ContentType() string
- func (r CompleteHabitResponse) GetBody() []byte
- func (r CompleteHabitResponse) GetJSON200() *CompleteHabitResponseContent
- func (r CompleteHabitResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r CompleteHabitResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r CompleteHabitResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r CompleteHabitResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r CompleteHabitResponse) Status() string
- func (r CompleteHabitResponse) StatusCode() int
- type CompleteHabitResponseContent
- type ConflictErrorResponseContent
- type Contact
- type ContactDetail
- type ContactNote
- type ContactNotePayload
- type ContactNoteRequestContent
- type ContactPayload
- type ContactRequestContent
- type CreateBoxDesignationJSONRequestBody
- type CreateBoxDesignationRequestContent
- type CreateBoxDesignationResponse
- func (r CreateBoxDesignationResponse) ContentType() string
- func (r CreateBoxDesignationResponse) GetBody() []byte
- func (r CreateBoxDesignationResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r CreateBoxDesignationResponse) GetJSON403() *ForbiddenErrorResponseContent
- func (r CreateBoxDesignationResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r CreateBoxDesignationResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r CreateBoxDesignationResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r CreateBoxDesignationResponse) Status() string
- func (r CreateBoxDesignationResponse) StatusCode() int
- type CreateBoxGroupJSONRequestBody
- type CreateBoxGroupRequestContent
- type CreateBoxGroupResponse
- func (r CreateBoxGroupResponse) ContentType() string
- func (r CreateBoxGroupResponse) GetBody() []byte
- func (r CreateBoxGroupResponse) GetJSON200() *CreateBoxGroupResponseContent
- func (r CreateBoxGroupResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r CreateBoxGroupResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r CreateBoxGroupResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r CreateBoxGroupResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r CreateBoxGroupResponse) Status() string
- func (r CreateBoxGroupResponse) StatusCode() int
- type CreateBoxGroupResponseContent
- type CreateBulkReplyJSONRequestBody
- type CreateBulkReplyResponse
- func (r CreateBulkReplyResponse) ContentType() string
- func (r CreateBulkReplyResponse) GetBody() []byte
- func (r CreateBulkReplyResponse) GetJSON201() *CreateBulkReplyResponseContent
- func (r CreateBulkReplyResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r CreateBulkReplyResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
- func (r CreateBulkReplyResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r CreateBulkReplyResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r CreateBulkReplyResponse) Status() string
- func (r CreateBulkReplyResponse) StatusCode() int
- type CreateBulkReplyResponseContent
- type CreateCalendarTodoJSONRequestBody
- type CreateCalendarTodoRequestContent
- type CreateCalendarTodoResponse
- func (r CreateCalendarTodoResponse) ContentType() string
- func (r CreateCalendarTodoResponse) GetBody() []byte
- func (r CreateCalendarTodoResponse) GetJSON200() *CreateCalendarTodoResponseContent
- func (r CreateCalendarTodoResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r CreateCalendarTodoResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
- func (r CreateCalendarTodoResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r CreateCalendarTodoResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r CreateCalendarTodoResponse) Status() string
- func (r CreateCalendarTodoResponse) StatusCode() int
- type CreateCalendarTodoResponseContent
- type CreateContactJSONRequestBody
- type CreateContactRequestContent
- type CreateContactResponse
- func (r CreateContactResponse) ContentType() string
- func (r CreateContactResponse) GetBody() []byte
- func (r CreateContactResponse) GetJSON201() *CreateContactResponseContent
- func (r CreateContactResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r CreateContactResponse) GetJSON409() *ConflictErrorResponseContent
- func (r CreateContactResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
- func (r CreateContactResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r CreateContactResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r CreateContactResponse) Status() string
- func (r CreateContactResponse) StatusCode() int
- type CreateContactResponseContent
- type CreateDirectUploadJSONRequestBody
- type CreateDirectUploadRequestContent
- type CreateDirectUploadResponse
- func (r CreateDirectUploadResponse) ContentType() string
- func (r CreateDirectUploadResponse) GetBody() []byte
- func (r CreateDirectUploadResponse) GetJSON200() *DirectUpload
- func (r CreateDirectUploadResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r CreateDirectUploadResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
- func (r CreateDirectUploadResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r CreateDirectUploadResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r CreateDirectUploadResponse) Status() string
- func (r CreateDirectUploadResponse) StatusCode() int
- type CreateFolderForPostingsJSONRequestBody
- type CreateFolderForPostingsRequestContent
- type CreateFolderForPostingsResponse
- func (r CreateFolderForPostingsResponse) ContentType() string
- func (r CreateFolderForPostingsResponse) GetBody() []byte
- func (r CreateFolderForPostingsResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r CreateFolderForPostingsResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r CreateFolderForPostingsResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
- func (r CreateFolderForPostingsResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r CreateFolderForPostingsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r CreateFolderForPostingsResponse) Status() string
- func (r CreateFolderForPostingsResponse) StatusCode() int
- type CreateHabitJSONRequestBody
- type CreateHabitResponse
- func (r CreateHabitResponse) ContentType() string
- func (r CreateHabitResponse) GetBody() []byte
- func (r CreateHabitResponse) GetJSON201() *CreateHabitResponseContent
- func (r CreateHabitResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r CreateHabitResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
- func (r CreateHabitResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r CreateHabitResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r CreateHabitResponse) Status() string
- func (r CreateHabitResponse) StatusCode() int
- type CreateHabitResponseContent
- type CreateMessageJSONRequestBody
- type CreateMessageRequestContent
- type CreateMessageResponse
- func (r CreateMessageResponse) ContentType() string
- func (r CreateMessageResponse) GetBody() []byte
- func (r CreateMessageResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r CreateMessageResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
- func (r CreateMessageResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r CreateMessageResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r CreateMessageResponse) Status() string
- func (r CreateMessageResponse) StatusCode() int
- type CreateReplyJSONRequestBody
- type CreateReplyRequestContent
- type CreateReplyResponse
- func (r CreateReplyResponse) ContentType() string
- func (r CreateReplyResponse) GetBody() []byte
- func (r CreateReplyResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r CreateReplyResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r CreateReplyResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
- func (r CreateReplyResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r CreateReplyResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r CreateReplyResponse) Status() string
- func (r CreateReplyResponse) StatusCode() int
- type CreateStickyJSONRequestBody
- type CreateStickyResponse
- func (r CreateStickyResponse) ContentType() string
- func (r CreateStickyResponse) GetBody() []byte
- func (r CreateStickyResponse) GetJSON200() *CreateStickyResponseContent
- func (r CreateStickyResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r CreateStickyResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
- func (r CreateStickyResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r CreateStickyResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r CreateStickyResponse) Status() string
- func (r CreateStickyResponse) StatusCode() int
- type CreateStickyResponseContent
- type CreateTimeTrackJSONRequestBody
- type CreateTimeTrackResponse
- func (r CreateTimeTrackResponse) ContentType() string
- func (r CreateTimeTrackResponse) GetBody() []byte
- func (r CreateTimeTrackResponse) GetJSON200() *CreateTimeTrackResponseContent
- func (r CreateTimeTrackResponse) GetJSON400() *BadRequestErrorResponseContent
- func (r CreateTimeTrackResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r CreateTimeTrackResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
- func (r CreateTimeTrackResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r CreateTimeTrackResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r CreateTimeTrackResponse) Status() string
- func (r CreateTimeTrackResponse) StatusCode() int
- type CreateTimeTrackResponseContent
- type CreateWorkflowStagingResponse
- func (r CreateWorkflowStagingResponse) ContentType() string
- func (r CreateWorkflowStagingResponse) GetBody() []byte
- func (r CreateWorkflowStagingResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r CreateWorkflowStagingResponse) GetJSON403() *ForbiddenErrorResponseContent
- func (r CreateWorkflowStagingResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r CreateWorkflowStagingResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
- func (r CreateWorkflowStagingResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r CreateWorkflowStagingResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r CreateWorkflowStagingResponse) Status() string
- func (r CreateWorkflowStagingResponse) StatusCode() int
- type DeleteBoxDesignationResponse
- func (r DeleteBoxDesignationResponse) ContentType() string
- func (r DeleteBoxDesignationResponse) GetBody() []byte
- func (r DeleteBoxDesignationResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r DeleteBoxDesignationResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r DeleteBoxDesignationResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r DeleteBoxDesignationResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r DeleteBoxDesignationResponse) Status() string
- func (r DeleteBoxDesignationResponse) StatusCode() int
- type DeleteBoxGroupResponse
- func (r DeleteBoxGroupResponse) ContentType() string
- func (r DeleteBoxGroupResponse) GetBody() []byte
- func (r DeleteBoxGroupResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r DeleteBoxGroupResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r DeleteBoxGroupResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r DeleteBoxGroupResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r DeleteBoxGroupResponse) Status() string
- func (r DeleteBoxGroupResponse) StatusCode() int
- type DeleteCalendarTodoResponse
- func (r DeleteCalendarTodoResponse) ContentType() string
- func (r DeleteCalendarTodoResponse) GetBody() []byte
- func (r DeleteCalendarTodoResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r DeleteCalendarTodoResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r DeleteCalendarTodoResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r DeleteCalendarTodoResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r DeleteCalendarTodoResponse) Status() string
- func (r DeleteCalendarTodoResponse) StatusCode() int
- type DeleteContactNoteResponse
- func (r DeleteContactNoteResponse) ContentType() string
- func (r DeleteContactNoteResponse) GetBody() []byte
- func (r DeleteContactNoteResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r DeleteContactNoteResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r DeleteContactNoteResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r DeleteContactNoteResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r DeleteContactNoteResponse) Status() string
- func (r DeleteContactNoteResponse) StatusCode() int
- type DeleteDraftResponse
- func (r DeleteDraftResponse) ContentType() string
- func (r DeleteDraftResponse) GetBody() []byte
- func (r DeleteDraftResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r DeleteDraftResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r DeleteDraftResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r DeleteDraftResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r DeleteDraftResponse) Status() string
- func (r DeleteDraftResponse) StatusCode() int
- type DeleteHabitResponse
- func (r DeleteHabitResponse) ContentType() string
- func (r DeleteHabitResponse) GetBody() []byte
- func (r DeleteHabitResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r DeleteHabitResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r DeleteHabitResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r DeleteHabitResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r DeleteHabitResponse) Status() string
- func (r DeleteHabitResponse) StatusCode() int
- type DeleteStickyResponse
- func (r DeleteStickyResponse) ContentType() string
- func (r DeleteStickyResponse) GetBody() []byte
- func (r DeleteStickyResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r DeleteStickyResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r DeleteStickyResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r DeleteStickyResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r DeleteStickyResponse) Status() string
- func (r DeleteStickyResponse) StatusCode() int
- type DeleteTimeTrackResponse
- func (r DeleteTimeTrackResponse) ContentType() string
- func (r DeleteTimeTrackResponse) GetBody() []byte
- func (r DeleteTimeTrackResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r DeleteTimeTrackResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r DeleteTimeTrackResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r DeleteTimeTrackResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r DeleteTimeTrackResponse) Status() string
- func (r DeleteTimeTrackResponse) StatusCode() int
- type DeletedPosting
- type DirectUpload
- type DirectUploadBlob
- type DirectUploadHeaders
- type DirectUploadTarget
- type DocumentsService
- type Domain
- type DraftMessage
- type EmptySpamResponse
- func (r EmptySpamResponse) ContentType() string
- func (r EmptySpamResponse) GetBody() []byte
- func (r EmptySpamResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r EmptySpamResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r EmptySpamResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r EmptySpamResponse) Status() string
- func (r EmptySpamResponse) StatusCode() int
- type EmptyTrashResponse
- func (r EmptyTrashResponse) ContentType() string
- func (r EmptyTrashResponse) GetBody() []byte
- func (r EmptyTrashResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r EmptyTrashResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r EmptyTrashResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r EmptyTrashResponse) Status() string
- func (r EmptyTrashResponse) StatusCode() int
- type Entry
- type EventsService
- type Extenzion
- type ExternalAccount
- type FilePostingsJSONRequestBody
- type FilePostingsRequestContent
- type FilePostingsResponse
- func (r FilePostingsResponse) ContentType() string
- func (r FilePostingsResponse) GetBody() []byte
- func (r FilePostingsResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r FilePostingsResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r FilePostingsResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r FilePostingsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r FilePostingsResponse) Status() string
- func (r FilePostingsResponse) StatusCode() int
- type FirstWeekDayParams
- type FirstWeekDayPreference
- type Folder
- type FolderPayload
- type FolderWithPostings
- type ForbiddenErrorResponseContent
- type GetAdvancedSearchFiltersResponse
- func (r GetAdvancedSearchFiltersResponse) ContentType() string
- func (r GetAdvancedSearchFiltersResponse) GetBody() []byte
- func (r GetAdvancedSearchFiltersResponse) GetJSON200() *GetAdvancedSearchFiltersResponseContent
- func (r GetAdvancedSearchFiltersResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r GetAdvancedSearchFiltersResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r GetAdvancedSearchFiltersResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r GetAdvancedSearchFiltersResponse) Status() string
- func (r GetAdvancedSearchFiltersResponse) StatusCode() int
- type GetAdvancedSearchFiltersResponseContent
- type GetAsideboxParams
- type GetAsideboxResponse
- func (r GetAsideboxResponse) ContentType() string
- func (r GetAsideboxResponse) GetBody() []byte
- func (r GetAsideboxResponse) GetJSON200() *GetAsideboxResponseContent
- func (r GetAsideboxResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r GetAsideboxResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r GetAsideboxResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r GetAsideboxResponse) Status() string
- func (r GetAsideboxResponse) StatusCode() int
- type GetAsideboxResponseContent
- type GetBoxParams
- type GetBoxPostingChangesParams
- type GetBoxPostingChangesResponse
- func (r GetBoxPostingChangesResponse) ContentType() string
- func (r GetBoxPostingChangesResponse) GetBody() []byte
- func (r GetBoxPostingChangesResponse) GetJSON200() *GetBoxPostingChangesResponseContent
- func (r GetBoxPostingChangesResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r GetBoxPostingChangesResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r GetBoxPostingChangesResponse) GetJSON409() *ConflictErrorResponseContent
- func (r GetBoxPostingChangesResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r GetBoxPostingChangesResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r GetBoxPostingChangesResponse) Status() string
- func (r GetBoxPostingChangesResponse) StatusCode() int
- type GetBoxPostingChangesResponseContent
- type GetBoxResponse
- func (r GetBoxResponse) ContentType() string
- func (r GetBoxResponse) GetBody() []byte
- func (r GetBoxResponse) GetJSON200() *GetBoxResponseContent
- func (r GetBoxResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r GetBoxResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r GetBoxResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r GetBoxResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r GetBoxResponse) Status() string
- func (r GetBoxResponse) StatusCode() int
- type GetBoxResponseContent
- type GetBubbleboxParams
- type GetBubbleboxResponse
- func (r GetBubbleboxResponse) ContentType() string
- func (r GetBubbleboxResponse) GetBody() []byte
- func (r GetBubbleboxResponse) GetJSON200() *GetBubbleboxResponseContent
- func (r GetBubbleboxResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r GetBubbleboxResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r GetBubbleboxResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r GetBubbleboxResponse) Status() string
- func (r GetBubbleboxResponse) StatusCode() int
- type GetBubbleboxResponseContent
- type GetBundleUnseenPostingsParams
- type GetBundleUnseenPostingsResponse
- func (r GetBundleUnseenPostingsResponse) ContentType() string
- func (r GetBundleUnseenPostingsResponse) GetBody() []byte
- func (r GetBundleUnseenPostingsResponse) GetJSON200() *GetBundleUnseenPostingsResponseContent
- func (r GetBundleUnseenPostingsResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r GetBundleUnseenPostingsResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r GetBundleUnseenPostingsResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r GetBundleUnseenPostingsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r GetBundleUnseenPostingsResponse) Status() string
- func (r GetBundleUnseenPostingsResponse) StatusCode() int
- type GetBundleUnseenPostingsResponseContent
- type GetCalendarDayResponse
- func (r GetCalendarDayResponse) ContentType() string
- func (r GetCalendarDayResponse) GetBody() []byte
- func (r GetCalendarDayResponse) GetJSON200() *GetCalendarDayResponseContent
- func (r GetCalendarDayResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r GetCalendarDayResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r GetCalendarDayResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r GetCalendarDayResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r GetCalendarDayResponse) Status() string
- func (r GetCalendarDayResponse) StatusCode() int
- type GetCalendarDayResponseContent
- type GetCalendarRecordingsParams
- type GetCalendarRecordingsResponse
- func (r GetCalendarRecordingsResponse) ContentType() string
- func (r GetCalendarRecordingsResponse) GetBody() []byte
- func (r GetCalendarRecordingsResponse) GetJSON200() *GetCalendarRecordingsResponseContent
- func (r GetCalendarRecordingsResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r GetCalendarRecordingsResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r GetCalendarRecordingsResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r GetCalendarRecordingsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r GetCalendarRecordingsResponse) Status() string
- func (r GetCalendarRecordingsResponse) StatusCode() int
- type GetCalendarRecordingsResponseContent
- type GetCalendarWeekResponse
- func (r GetCalendarWeekResponse) ContentType() string
- func (r GetCalendarWeekResponse) GetBody() []byte
- func (r GetCalendarWeekResponse) GetJSON200() *GetCalendarWeekResponseContent
- func (r GetCalendarWeekResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r GetCalendarWeekResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r GetCalendarWeekResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r GetCalendarWeekResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r GetCalendarWeekResponse) Status() string
- func (r GetCalendarWeekResponse) StatusCode() int
- type GetCalendarWeekResponseContent
- type GetCalendarYearResponse
- func (r GetCalendarYearResponse) ContentType() string
- func (r GetCalendarYearResponse) GetBody() []byte
- func (r GetCalendarYearResponse) GetJSON200() *GetCalendarYearResponseContent
- func (r GetCalendarYearResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r GetCalendarYearResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r GetCalendarYearResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r GetCalendarYearResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r GetCalendarYearResponse) Status() string
- func (r GetCalendarYearResponse) StatusCode() int
- type GetCalendarYearResponseContent
- type GetClearancesParams
- type GetClearancesResponse
- func (r GetClearancesResponse) ContentType() string
- func (r GetClearancesResponse) GetBody() []byte
- func (r GetClearancesResponse) GetJSON200() *GetClearancesResponseContent
- func (r GetClearancesResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r GetClearancesResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r GetClearancesResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r GetClearancesResponse) Status() string
- func (r GetClearancesResponse) StatusCode() int
- type GetClearancesResponseContent
- type GetCollectionParams
- type GetCollectionResponse
- func (r GetCollectionResponse) ContentType() string
- func (r GetCollectionResponse) GetBody() []byte
- func (r GetCollectionResponse) GetJSON200() *GetCollectionResponseContent
- func (r GetCollectionResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r GetCollectionResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r GetCollectionResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r GetCollectionResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r GetCollectionResponse) Status() string
- func (r GetCollectionResponse) StatusCode() int
- type GetCollectionResponseContent
- type GetContactNoteResponse
- func (r GetContactNoteResponse) ContentType() string
- func (r GetContactNoteResponse) GetBody() []byte
- func (r GetContactNoteResponse) GetJSON200() *GetContactNoteResponseContent
- func (r GetContactNoteResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r GetContactNoteResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r GetContactNoteResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r GetContactNoteResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r GetContactNoteResponse) Status() string
- func (r GetContactNoteResponse) StatusCode() int
- type GetContactNoteResponseContent
- type GetContactParams
- type GetContactResponse
- func (r GetContactResponse) ContentType() string
- func (r GetContactResponse) GetBody() []byte
- func (r GetContactResponse) GetJSON200() *GetContactResponseContent
- func (r GetContactResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r GetContactResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r GetContactResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r GetContactResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r GetContactResponse) Status() string
- func (r GetContactResponse) StatusCode() int
- type GetContactResponseContent
- type GetEverythingTopicsParams
- type GetEverythingTopicsResponse
- func (r GetEverythingTopicsResponse) ContentType() string
- func (r GetEverythingTopicsResponse) GetBody() []byte
- func (r GetEverythingTopicsResponse) GetJSON200() *GetEverythingTopicsResponseContent
- func (r GetEverythingTopicsResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r GetEverythingTopicsResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r GetEverythingTopicsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r GetEverythingTopicsResponse) Status() string
- func (r GetEverythingTopicsResponse) StatusCode() int
- type GetEverythingTopicsResponseContent
- type GetFeedboxParams
- type GetFeedboxResponse
- func (r GetFeedboxResponse) ContentType() string
- func (r GetFeedboxResponse) GetBody() []byte
- func (r GetFeedboxResponse) GetJSON200() *GetFeedboxResponseContent
- func (r GetFeedboxResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r GetFeedboxResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r GetFeedboxResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r GetFeedboxResponse) Status() string
- func (r GetFeedboxResponse) StatusCode() int
- type GetFeedboxResponseContent
- type GetFolderParams
- type GetFolderResponse
- func (r GetFolderResponse) ContentType() string
- func (r GetFolderResponse) GetBody() []byte
- func (r GetFolderResponse) GetJSON200() *GetFolderResponseContent
- func (r GetFolderResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r GetFolderResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r GetFolderResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r GetFolderResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r GetFolderResponse) Status() string
- func (r GetFolderResponse) StatusCode() int
- type GetFolderResponseContent
- type GetIdentityResponse
- func (r GetIdentityResponse) ContentType() string
- func (r GetIdentityResponse) GetBody() []byte
- func (r GetIdentityResponse) GetJSON200() *GetIdentityResponseContent
- func (r GetIdentityResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r GetIdentityResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r GetIdentityResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r GetIdentityResponse) Status() string
- func (r GetIdentityResponse) StatusCode() int
- type GetIdentityResponseContent
- type GetImboxParams
- type GetImboxResponse
- func (r GetImboxResponse) ContentType() string
- func (r GetImboxResponse) GetBody() []byte
- func (r GetImboxResponse) GetJSON200() *GetImboxResponseContent
- func (r GetImboxResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r GetImboxResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r GetImboxResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r GetImboxResponse) Status() string
- func (r GetImboxResponse) StatusCode() int
- type GetImboxResponseContent
- type GetImboxSeenParams
- type GetImboxSeenResponse
- func (r GetImboxSeenResponse) ContentType() string
- func (r GetImboxSeenResponse) GetBody() []byte
- func (r GetImboxSeenResponse) GetJSON200() *GetImboxSeenResponseContent
- func (r GetImboxSeenResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r GetImboxSeenResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r GetImboxSeenResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r GetImboxSeenResponse) Status() string
- func (r GetImboxSeenResponse) StatusCode() int
- type GetImboxSeenResponseContent
- type GetJournalEntryResponse
- func (r GetJournalEntryResponse) ContentType() string
- func (r GetJournalEntryResponse) GetBody() []byte
- func (r GetJournalEntryResponse) GetJSON200() *GetJournalEntryResponseContent
- func (r GetJournalEntryResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r GetJournalEntryResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r GetJournalEntryResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r GetJournalEntryResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r GetJournalEntryResponse) Status() string
- func (r GetJournalEntryResponse) StatusCode() int
- type GetJournalEntryResponseContent
- type GetLaterboxParams
- type GetLaterboxResponse
- func (r GetLaterboxResponse) ContentType() string
- func (r GetLaterboxResponse) GetBody() []byte
- func (r GetLaterboxResponse) GetJSON200() *GetLaterboxResponseContent
- func (r GetLaterboxResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r GetLaterboxResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r GetLaterboxResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r GetLaterboxResponse) Status() string
- func (r GetLaterboxResponse) StatusCode() int
- type GetLaterboxResponseContent
- type GetMessageEditResponse
- func (r GetMessageEditResponse) ContentType() string
- func (r GetMessageEditResponse) GetBody() []byte
- func (r GetMessageEditResponse) GetJSON200() *GetMessageEditResponseContent
- func (r GetMessageEditResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r GetMessageEditResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r GetMessageEditResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r GetMessageEditResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r GetMessageEditResponse) Status() string
- func (r GetMessageEditResponse) StatusCode() int
- type GetMessageEditResponseContent
- type GetMessageResponse
- func (r GetMessageResponse) ContentType() string
- func (r GetMessageResponse) GetBody() []byte
- func (r GetMessageResponse) GetJSON200() *GetMessageResponseContent
- func (r GetMessageResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r GetMessageResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r GetMessageResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r GetMessageResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r GetMessageResponse) Status() string
- func (r GetMessageResponse) StatusCode() int
- type GetMessageResponseContent
- type GetMyClearancesParams
- type GetMyClearancesResponse
- func (r GetMyClearancesResponse) ContentType() string
- func (r GetMyClearancesResponse) GetBody() []byte
- func (r GetMyClearancesResponse) GetJSON200() *GetMyClearancesResponseContent
- func (r GetMyClearancesResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r GetMyClearancesResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r GetMyClearancesResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r GetMyClearancesResponse) Status() string
- func (r GetMyClearancesResponse) StatusCode() int
- type GetMyClearancesResponseContent
- type GetNavigationResponse
- func (r GetNavigationResponse) ContentType() string
- func (r GetNavigationResponse) GetBody() []byte
- func (r GetNavigationResponse) GetJSON200() *GetNavigationResponseContent
- func (r GetNavigationResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r GetNavigationResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r GetNavigationResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r GetNavigationResponse) Status() string
- func (r GetNavigationResponse) StatusCode() int
- type GetNavigationResponseContent
- type GetOngoingTimeTrackResponse
- func (r GetOngoingTimeTrackResponse) ContentType() string
- func (r GetOngoingTimeTrackResponse) GetBody() []byte
- func (r GetOngoingTimeTrackResponse) GetJSON200() *GetOngoingTimeTrackResponseContent
- func (r GetOngoingTimeTrackResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r GetOngoingTimeTrackResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r GetOngoingTimeTrackResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r GetOngoingTimeTrackResponse) Status() string
- func (r GetOngoingTimeTrackResponse) StatusCode() int
- type GetOngoingTimeTrackResponseContent
- type GetSentTopicsParams
- type GetSentTopicsResponse
- func (r GetSentTopicsResponse) ContentType() string
- func (r GetSentTopicsResponse) GetBody() []byte
- func (r GetSentTopicsResponse) GetJSON200() *GetSentTopicsResponseContent
- func (r GetSentTopicsResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r GetSentTopicsResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r GetSentTopicsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r GetSentTopicsResponse) Status() string
- func (r GetSentTopicsResponse) StatusCode() int
- type GetSentTopicsResponseContent
- type GetSpamTopicsParams
- type GetSpamTopicsResponse
- func (r GetSpamTopicsResponse) ContentType() string
- func (r GetSpamTopicsResponse) GetBody() []byte
- func (r GetSpamTopicsResponse) GetJSON200() *GetSpamTopicsResponseContent
- func (r GetSpamTopicsResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r GetSpamTopicsResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r GetSpamTopicsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r GetSpamTopicsResponse) Status() string
- func (r GetSpamTopicsResponse) StatusCode() int
- type GetSpamTopicsResponseContent
- type GetTopicEntriesParams
- type GetTopicEntriesResponse
- func (r GetTopicEntriesResponse) ContentType() string
- func (r GetTopicEntriesResponse) GetBody() []byte
- func (r GetTopicEntriesResponse) GetJSON200() *GetTopicEntriesResponseContent
- func (r GetTopicEntriesResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r GetTopicEntriesResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r GetTopicEntriesResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r GetTopicEntriesResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r GetTopicEntriesResponse) Status() string
- func (r GetTopicEntriesResponse) StatusCode() int
- type GetTopicEntriesResponseContent
- type GetTopicPublicationResponse
- func (r GetTopicPublicationResponse) ContentType() string
- func (r GetTopicPublicationResponse) GetBody() []byte
- func (r GetTopicPublicationResponse) GetJSON200() *GetTopicPublicationResponseContent
- func (r GetTopicPublicationResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r GetTopicPublicationResponse) GetJSON403() *ForbiddenErrorResponseContent
- func (r GetTopicPublicationResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r GetTopicPublicationResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r GetTopicPublicationResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r GetTopicPublicationResponse) Status() string
- func (r GetTopicPublicationResponse) StatusCode() int
- type GetTopicPublicationResponseContent
- type GetTopicResponse
- func (r GetTopicResponse) ContentType() string
- func (r GetTopicResponse) GetBody() []byte
- func (r GetTopicResponse) GetJSON200() *GetTopicResponseContent
- func (r GetTopicResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r GetTopicResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r GetTopicResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r GetTopicResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r GetTopicResponse) Status() string
- func (r GetTopicResponse) StatusCode() int
- type GetTopicResponseContent
- type GetTrailboxParams
- type GetTrailboxResponse
- func (r GetTrailboxResponse) ContentType() string
- func (r GetTrailboxResponse) GetBody() []byte
- func (r GetTrailboxResponse) GetJSON200() *GetTrailboxResponseContent
- func (r GetTrailboxResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r GetTrailboxResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r GetTrailboxResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r GetTrailboxResponse) Status() string
- func (r GetTrailboxResponse) StatusCode() int
- type GetTrailboxResponseContent
- type GetTrashTopicsParams
- type GetTrashTopicsResponse
- func (r GetTrashTopicsResponse) ContentType() string
- func (r GetTrashTopicsResponse) GetBody() []byte
- func (r GetTrashTopicsResponse) GetJSON200() *GetTrashTopicsResponseContent
- func (r GetTrashTopicsResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r GetTrashTopicsResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r GetTrashTopicsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r GetTrashTopicsResponse) Status() string
- func (r GetTrashTopicsResponse) StatusCode() int
- type GetTrashTopicsResponseContent
- type GetWorkflowResponse
- func (r GetWorkflowResponse) ContentType() string
- func (r GetWorkflowResponse) GetBody() []byte
- func (r GetWorkflowResponse) GetJSON200() *GetWorkflowResponseContent
- func (r GetWorkflowResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r GetWorkflowResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r GetWorkflowResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r GetWorkflowResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r GetWorkflowResponse) Status() string
- func (r GetWorkflowResponse) StatusCode() int
- type GetWorkflowResponseContent
- type HabitPayload
- type HabitRequestContent
- type HideContactResponse
- func (r HideContactResponse) ContentType() string
- func (r HideContactResponse) GetBody() []byte
- func (r HideContactResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r HideContactResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r HideContactResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r HideContactResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r HideContactResponse) Status() string
- func (r HideContactResponse) StatusCode() int
- type HttpRequestDoer
- type Identity
- type InMemoryCache
- type InternalServerErrorResponseContent
- type JoinLink
- type JournalEntryPayload
- type ListBoxGroupsResponse
- func (r ListBoxGroupsResponse) ContentType() string
- func (r ListBoxGroupsResponse) GetBody() []byte
- func (r ListBoxGroupsResponse) GetJSON200() *ListBoxGroupsResponseContent
- func (r ListBoxGroupsResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r ListBoxGroupsResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r ListBoxGroupsResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r ListBoxGroupsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r ListBoxGroupsResponse) Status() string
- func (r ListBoxGroupsResponse) StatusCode() int
- type ListBoxGroupsResponseContent
- type ListBoxesResponse
- func (r ListBoxesResponse) ContentType() string
- func (r ListBoxesResponse) GetBody() []byte
- func (r ListBoxesResponse) GetJSON200() *ListBoxesResponseContent
- func (r ListBoxesResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r ListBoxesResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r ListBoxesResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r ListBoxesResponse) Status() string
- func (r ListBoxesResponse) StatusCode() int
- type ListBoxesResponseContent
- type ListCalendarDaysParams
- type ListCalendarDaysResponse
- func (r ListCalendarDaysResponse) ContentType() string
- func (r ListCalendarDaysResponse) GetBody() []byte
- func (r ListCalendarDaysResponse) GetJSON200() *ListCalendarDaysResponseContent
- func (r ListCalendarDaysResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r ListCalendarDaysResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r ListCalendarDaysResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r ListCalendarDaysResponse) Status() string
- func (r ListCalendarDaysResponse) StatusCode() int
- type ListCalendarDaysResponseContent
- type ListCalendarWeeksParams
- type ListCalendarWeeksResponse
- func (r ListCalendarWeeksResponse) ContentType() string
- func (r ListCalendarWeeksResponse) GetBody() []byte
- func (r ListCalendarWeeksResponse) GetJSON200() *ListCalendarWeeksResponseContent
- func (r ListCalendarWeeksResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r ListCalendarWeeksResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r ListCalendarWeeksResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r ListCalendarWeeksResponse) Status() string
- func (r ListCalendarWeeksResponse) StatusCode() int
- type ListCalendarWeeksResponseContent
- type ListCalendarsResponse
- func (r ListCalendarsResponse) ContentType() string
- func (r ListCalendarsResponse) GetBody() []byte
- func (r ListCalendarsResponse) GetJSON200() *ListCalendarsResponseContent
- func (r ListCalendarsResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r ListCalendarsResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r ListCalendarsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r ListCalendarsResponse) Status() string
- func (r ListCalendarsResponse) StatusCode() int
- type ListCalendarsResponseContent
- type ListClipsParams
- type ListClipsResponse
- func (r ListClipsResponse) ContentType() string
- func (r ListClipsResponse) GetBody() []byte
- func (r ListClipsResponse) GetJSON200() *ListClipsResponseContent
- func (r ListClipsResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r ListClipsResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r ListClipsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r ListClipsResponse) Status() string
- func (r ListClipsResponse) StatusCode() int
- type ListClipsResponseContent
- type ListCollectionsResponse
- func (r ListCollectionsResponse) ContentType() string
- func (r ListCollectionsResponse) GetBody() []byte
- func (r ListCollectionsResponse) GetJSON200() *ListCollectionsResponseContent
- func (r ListCollectionsResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r ListCollectionsResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r ListCollectionsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r ListCollectionsResponse) Status() string
- func (r ListCollectionsResponse) StatusCode() int
- type ListCollectionsResponseContent
- type ListContactsParams
- type ListContactsResponse
- func (r ListContactsResponse) ContentType() string
- func (r ListContactsResponse) GetBody() []byte
- func (r ListContactsResponse) GetJSON200() *ListContactsResponseContent
- func (r ListContactsResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r ListContactsResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r ListContactsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r ListContactsResponse) Status() string
- func (r ListContactsResponse) StatusCode() int
- type ListContactsResponseContent
- type ListDraftsParams
- type ListDraftsResponse
- func (r ListDraftsResponse) ContentType() string
- func (r ListDraftsResponse) GetBody() []byte
- func (r ListDraftsResponse) GetJSON200() *ListDraftsResponseContent
- func (r ListDraftsResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r ListDraftsResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r ListDraftsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r ListDraftsResponse) Status() string
- func (r ListDraftsResponse) StatusCode() int
- type ListDraftsResponseContent
- type ListJournalEntriesParams
- type ListJournalEntriesResponse
- func (r ListJournalEntriesResponse) ContentType() string
- func (r ListJournalEntriesResponse) GetBody() []byte
- func (r ListJournalEntriesResponse) GetJSON200() *ListJournalEntriesResponseContent
- func (r ListJournalEntriesResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r ListJournalEntriesResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r ListJournalEntriesResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r ListJournalEntriesResponse) Status() string
- func (r ListJournalEntriesResponse) StatusCode() int
- type ListJournalEntriesResponseContent
- type ListSnippetsResponse
- func (r ListSnippetsResponse) ContentType() string
- func (r ListSnippetsResponse) GetBody() []byte
- func (r ListSnippetsResponse) GetJSON200() *ListSnippetsResponseContent
- func (r ListSnippetsResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r ListSnippetsResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r ListSnippetsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r ListSnippetsResponse) Status() string
- func (r ListSnippetsResponse) StatusCode() int
- type ListSnippetsResponseContent
- type ListStickiesParams
- type ListStickiesResponse
- func (r ListStickiesResponse) ContentType() string
- func (r ListStickiesResponse) GetBody() []byte
- func (r ListStickiesResponse) GetJSON200() *ListStickiesResponseContent
- func (r ListStickiesResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r ListStickiesResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r ListStickiesResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r ListStickiesResponse) Status() string
- func (r ListStickiesResponse) StatusCode() int
- type ListStickiesResponseContent
- type ListTimeTrackCategoriesResponse
- func (r ListTimeTrackCategoriesResponse) ContentType() string
- func (r ListTimeTrackCategoriesResponse) GetBody() []byte
- func (r ListTimeTrackCategoriesResponse) GetJSON200() *ListTimeTrackCategoriesResponseContent
- func (r ListTimeTrackCategoriesResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r ListTimeTrackCategoriesResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r ListTimeTrackCategoriesResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r ListTimeTrackCategoriesResponse) Status() string
- func (r ListTimeTrackCategoriesResponse) StatusCode() int
- type ListTimeTrackCategoriesResponseContent
- type ListTimeTracksParams
- type ListTimeTracksResponse
- func (r ListTimeTracksResponse) ContentType() string
- func (r ListTimeTracksResponse) GetBody() []byte
- func (r ListTimeTracksResponse) GetJSON200() *ListTimeTracksResponseContent
- func (r ListTimeTracksResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r ListTimeTracksResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r ListTimeTracksResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r ListTimeTracksResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r ListTimeTracksResponse) Status() string
- func (r ListTimeTracksResponse) StatusCode() int
- type ListTimeTracksResponseContent
- type MarkBoxSeenResponse
- func (r MarkBoxSeenResponse) ContentType() string
- func (r MarkBoxSeenResponse) GetBody() []byte
- func (r MarkBoxSeenResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r MarkBoxSeenResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r MarkBoxSeenResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r MarkBoxSeenResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r MarkBoxSeenResponse) Status() string
- func (r MarkBoxSeenResponse) StatusCode() int
- type MarkEntrySpamResponse
- func (r MarkEntrySpamResponse) ContentType() string
- func (r MarkEntrySpamResponse) GetBody() []byte
- func (r MarkEntrySpamResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r MarkEntrySpamResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r MarkEntrySpamResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r MarkEntrySpamResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r MarkEntrySpamResponse) Status() string
- func (r MarkEntrySpamResponse) StatusCode() int
- type MarkPostingsRequestContent
- type MarkPostingsSeenJSONRequestBody
- type MarkPostingsSeenResponse
- func (r MarkPostingsSeenResponse) ContentType() string
- func (r MarkPostingsSeenResponse) GetBody() []byte
- func (r MarkPostingsSeenResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r MarkPostingsSeenResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r MarkPostingsSeenResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r MarkPostingsSeenResponse) Status() string
- func (r MarkPostingsSeenResponse) StatusCode() int
- type MarkPostingsSpamJSONRequestBody
- type MarkPostingsSpamResponse
- func (r MarkPostingsSpamResponse) ContentType() string
- func (r MarkPostingsSpamResponse) GetBody() []byte
- func (r MarkPostingsSpamResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r MarkPostingsSpamResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r MarkPostingsSpamResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r MarkPostingsSpamResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r MarkPostingsSpamResponse) Status() string
- func (r MarkPostingsSpamResponse) StatusCode() int
- type MarkPostingsUnseenJSONRequestBody
- type MarkPostingsUnseenResponse
- func (r MarkPostingsUnseenResponse) ContentType() string
- func (r MarkPostingsUnseenResponse) GetBody() []byte
- func (r MarkPostingsUnseenResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r MarkPostingsUnseenResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r MarkPostingsUnseenResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r MarkPostingsUnseenResponse) Status() string
- func (r MarkPostingsUnseenResponse) StatusCode() int
- type MarkTopicHamResponse
- func (r MarkTopicHamResponse) ContentType() string
- func (r MarkTopicHamResponse) GetBody() []byte
- func (r MarkTopicHamResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r MarkTopicHamResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r MarkTopicHamResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r MarkTopicHamResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r MarkTopicHamResponse) Status() string
- func (r MarkTopicHamResponse) StatusCode() int
- type Message
- type MessageAddressed
- type MessageDraft
- type MessageEditState
- type MessageEntryPayload
- type MessagePayload
- type MessagePostingContext
- type MessagesService
- func (s *MessagesService) Create(ctx context.Context, body CreateMessageJSONRequestBody, ...) (*http.Response, error)
- func (s *MessagesService) CreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (s *MessagesService) Get(ctx context.Context, messageId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (s *MessagesService) Update(ctx context.Context, messageId int64, body UpdateMessageJSONRequestBody, ...) (*http.Response, error)
- func (s *MessagesService) UpdateWithBody(ctx context.Context, messageId int64, contentType string, body io.Reader, ...) (*http.Response, error)
- type MovePostingsJSONRequestBody
- type MovePostingsRequestContent
- type MovePostingsResponse
- func (r MovePostingsResponse) ContentType() string
- func (r MovePostingsResponse) GetBody() []byte
- func (r MovePostingsResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r MovePostingsResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r MovePostingsResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r MovePostingsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r MovePostingsResponse) Status() string
- func (r MovePostingsResponse) StatusCode() int
- type MoveStickyJSONRequestBody
- type MoveStickyRequestContent
- type MoveStickyResponse
- func (r MoveStickyResponse) ContentType() string
- func (r MoveStickyResponse) GetBody() []byte
- func (r MoveStickyResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r MoveStickyResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r MoveStickyResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r MoveStickyResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r MoveStickyResponse) Status() string
- func (r MoveStickyResponse) StatusCode() int
- type MoveTopicJSONRequestBody
- type MoveTopicRequestContent
- type MoveTopicResponse
- func (r MoveTopicResponse) ContentType() string
- func (r MoveTopicResponse) GetBody() []byte
- func (r MoveTopicResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r MoveTopicResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r MoveTopicResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r MoveTopicResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r MoveTopicResponse) Status() string
- func (r MoveTopicResponse) StatusCode() int
- type MoveWorkflowStagingJSONRequestBody
- type MoveWorkflowStagingRequestContent
- type MoveWorkflowStagingResponse
- func (r MoveWorkflowStagingResponse) ContentType() string
- func (r MoveWorkflowStagingResponse) GetBody() []byte
- func (r MoveWorkflowStagingResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r MoveWorkflowStagingResponse) GetJSON403() *ForbiddenErrorResponseContent
- func (r MoveWorkflowStagingResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r MoveWorkflowStagingResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
- func (r MoveWorkflowStagingResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r MoveWorkflowStagingResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r MoveWorkflowStagingResponse) Status() string
- func (r MoveWorkflowStagingResponse) StatusCode() int
- type MutePostingsJSONRequestBody
- type MutePostingsResponse
- func (r MutePostingsResponse) ContentType() string
- func (r MutePostingsResponse) GetBody() []byte
- func (r MutePostingsResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r MutePostingsResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r MutePostingsResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r MutePostingsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r MutePostingsResponse) Status() string
- func (r MutePostingsResponse) StatusCode() int
- type NavigationIcon
- type NavigationItem
- type NavigationResponse
- type NewBulkReplyParams
- type NewBulkReplyResponse
- func (r NewBulkReplyResponse) ContentType() string
- func (r NewBulkReplyResponse) GetBody() []byte
- func (r NewBulkReplyResponse) GetJSON200() *NewBulkReplyResponseContent
- func (r NewBulkReplyResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r NewBulkReplyResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r NewBulkReplyResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r NewBulkReplyResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r NewBulkReplyResponse) Status() string
- func (r NewBulkReplyResponse) StatusCode() int
- type NewBulkReplyResponseContent
- type NewEntryForwardResponse
- func (r NewEntryForwardResponse) ContentType() string
- func (r NewEntryForwardResponse) GetBody() []byte
- func (r NewEntryForwardResponse) GetJSON200() *NewEntryForwardResponseContent
- func (r NewEntryForwardResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r NewEntryForwardResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r NewEntryForwardResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r NewEntryForwardResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r NewEntryForwardResponse) Status() string
- func (r NewEntryForwardResponse) StatusCode() int
- type NewEntryForwardResponseContent
- type NewEntryReplyResponse
- func (r NewEntryReplyResponse) ContentType() string
- func (r NewEntryReplyResponse) GetBody() []byte
- func (r NewEntryReplyResponse) GetJSON200() *NewEntryReplyResponseContent
- func (r NewEntryReplyResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r NewEntryReplyResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r NewEntryReplyResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r NewEntryReplyResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r NewEntryReplyResponse) Status() string
- func (r NewEntryReplyResponse) StatusCode() int
- type NewEntryReplyResponseContent
- type NotFoundErrorResponseContent
- type OperationMetadata
- type Organizer
- type PeopleService
- type Posting
- type PostingNote
- type ProjectsService
- type PuntClearancesResponse
- func (r PuntClearancesResponse) ContentType() string
- func (r PuntClearancesResponse) GetBody() []byte
- func (r PuntClearancesResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r PuntClearancesResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r PuntClearancesResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r PuntClearancesResponse) Status() string
- func (r PuntClearancesResponse) StatusCode() int
- type Recording
- type RecordingsService
- type RecurrenceSchedule
- type Reminder
- type RemovePostingsFromBoxGroupParams
- type RemovePostingsFromBoxGroupResponse
- func (r RemovePostingsFromBoxGroupResponse) ContentType() string
- func (r RemovePostingsFromBoxGroupResponse) GetBody() []byte
- func (r RemovePostingsFromBoxGroupResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r RemovePostingsFromBoxGroupResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r RemovePostingsFromBoxGroupResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r RemovePostingsFromBoxGroupResponse) Status() string
- func (r RemovePostingsFromBoxGroupResponse) StatusCode() int
- type ReplyMessagePayload
- type RequestEditorFn
- type ResponseCache
- type RestoreTopicResponse
- func (r RestoreTopicResponse) ContentType() string
- func (r RestoreTopicResponse) GetBody() []byte
- func (r RestoreTopicResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r RestoreTopicResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r RestoreTopicResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r RestoreTopicResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r RestoreTopicResponse) Status() string
- func (r RestoreTopicResponse) StatusCode() int
- type ResumeHabitResponse
- func (r ResumeHabitResponse) ContentType() string
- func (r ResumeHabitResponse) GetBody() []byte
- func (r ResumeHabitResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r ResumeHabitResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r ResumeHabitResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r ResumeHabitResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r ResumeHabitResponse) Status() string
- func (r ResumeHabitResponse) StatusCode() int
- type RetryConfig
- type RevealContactResponse
- func (r RevealContactResponse) ContentType() string
- func (r RevealContactResponse) GetBody() []byte
- func (r RevealContactResponse) GetJSON200() *RevealContactResponseContent
- func (r RevealContactResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r RevealContactResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r RevealContactResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r RevealContactResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r RevealContactResponse) Status() string
- func (r RevealContactResponse) StatusCode() int
- type RevealContactResponseContent
- type SchedulePostingsBubbleUpJSONRequestBody
- type SchedulePostingsBubbleUpRequestContent
- type SchedulePostingsBubbleUpResponse
- func (r SchedulePostingsBubbleUpResponse) ContentType() string
- func (r SchedulePostingsBubbleUpResponse) GetBody() []byte
- func (r SchedulePostingsBubbleUpResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r SchedulePostingsBubbleUpResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r SchedulePostingsBubbleUpResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r SchedulePostingsBubbleUpResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r SchedulePostingsBubbleUpResponse) Status() string
- func (r SchedulePostingsBubbleUpResponse) StatusCode() int
- type SchedulesService
- type SearchFilterItem
- type SearchMatch
- type Sender
- type SensitiveString
- type ServiceUnavailableErrorResponseContent
- type Snippet
- type StartTimeTrackResponse
- func (r StartTimeTrackResponse) ContentType() string
- func (r StartTimeTrackResponse) GetBody() []byte
- func (r StartTimeTrackResponse) GetJSON200() *StartTimeTrackResponseContent
- func (r StartTimeTrackResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r StartTimeTrackResponse) GetJSON409() *ConflictErrorResponseContent
- func (r StartTimeTrackResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
- func (r StartTimeTrackResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r StartTimeTrackResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r StartTimeTrackResponse) Status() string
- func (r StartTimeTrackResponse) StatusCode() int
- type StartTimeTrackResponseContent
- type StaticTokenProvider
- type Sticky
- type StickyPayload
- type StickyRequestContent
- type StopHabitResponse
- func (r StopHabitResponse) ContentType() string
- func (r StopHabitResponse) GetBody() []byte
- func (r StopHabitResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r StopHabitResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r StopHabitResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r StopHabitResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r StopHabitResponse) Status() string
- func (r StopHabitResponse) StatusCode() int
- type TemplatesService
- type TimeFormatPreference
- type TimeTrackCategory
- type TimeTrackRequestContent
- type TodosService
- type ToggleCalendarResponse
- func (r ToggleCalendarResponse) ContentType() string
- func (r ToggleCalendarResponse) GetBody() []byte
- func (r ToggleCalendarResponse) GetJSON200() *ToggleCalendarResponseContent
- func (r ToggleCalendarResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r ToggleCalendarResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r ToggleCalendarResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r ToggleCalendarResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r ToggleCalendarResponse) Status() string
- func (r ToggleCalendarResponse) StatusCode() int
- type ToggleCalendarResponseContent
- type TokenProvider
- type Topic
- type TopicListResponse
- type TopicPublication
- type TrackedTime
- type TrashPostingsJSONRequestBody
- type TrashPostingsRequestContent
- type TrashPostingsResponse
- func (r TrashPostingsResponse) ContentType() string
- func (r TrashPostingsResponse) GetBody() []byte
- func (r TrashPostingsResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r TrashPostingsResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r TrashPostingsResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r TrashPostingsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r TrashPostingsResponse) Status() string
- func (r TrashPostingsResponse) StatusCode() int
- type TrashTopicParams
- type TrashTopicResponse
- func (r TrashTopicResponse) ContentType() string
- func (r TrashTopicResponse) GetBody() []byte
- func (r TrashTopicResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r TrashTopicResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r TrashTopicResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r TrashTopicResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r TrashTopicResponse) Status() string
- func (r TrashTopicResponse) StatusCode() int
- type UnauthorizedErrorResponseContent
- type UnbundleContactResponse
- func (r UnbundleContactResponse) ContentType() string
- func (r UnbundleContactResponse) GetBody() []byte
- func (r UnbundleContactResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r UnbundleContactResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r UnbundleContactResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r UnbundleContactResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r UnbundleContactResponse) Status() string
- func (r UnbundleContactResponse) StatusCode() int
- type UncompleteCalendarTodoResponse
- func (r UncompleteCalendarTodoResponse) ContentType() string
- func (r UncompleteCalendarTodoResponse) GetBody() []byte
- func (r UncompleteCalendarTodoResponse) GetJSON200() *UncompleteCalendarTodoResponseContent
- func (r UncompleteCalendarTodoResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r UncompleteCalendarTodoResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r UncompleteCalendarTodoResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r UncompleteCalendarTodoResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r UncompleteCalendarTodoResponse) Status() string
- func (r UncompleteCalendarTodoResponse) StatusCode() int
- type UncompleteCalendarTodoResponseContent
- type UncompleteHabitResponse
- func (r UncompleteHabitResponse) ContentType() string
- func (r UncompleteHabitResponse) GetBody() []byte
- func (r UncompleteHabitResponse) GetJSON200() *UncompleteHabitResponseContent
- func (r UncompleteHabitResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r UncompleteHabitResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r UncompleteHabitResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r UncompleteHabitResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r UncompleteHabitResponse) Status() string
- func (r UncompleteHabitResponse) StatusCode() int
- type UncompleteHabitResponseContent
- type UnfilePostingsParams
- type UnfilePostingsResponse
- func (r UnfilePostingsResponse) ContentType() string
- func (r UnfilePostingsResponse) GetBody() []byte
- func (r UnfilePostingsResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r UnfilePostingsResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r UnfilePostingsResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r UnfilePostingsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r UnfilePostingsResponse) Status() string
- func (r UnfilePostingsResponse) StatusCode() int
- type UnmutePostingsParams
- type UnmutePostingsResponse
- func (r UnmutePostingsResponse) ContentType() string
- func (r UnmutePostingsResponse) GetBody() []byte
- func (r UnmutePostingsResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r UnmutePostingsResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r UnmutePostingsResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r UnmutePostingsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r UnmutePostingsResponse) Status() string
- func (r UnmutePostingsResponse) StatusCode() int
- type UnprocessableEntityErrorResponseContent
- type UpdateCalendarTodoJSONRequestBody
- type UpdateCalendarTodoRequestContent
- type UpdateCalendarTodoResponse
- func (r UpdateCalendarTodoResponse) ContentType() string
- func (r UpdateCalendarTodoResponse) GetBody() []byte
- func (r UpdateCalendarTodoResponse) GetJSON200() *UpdateCalendarTodoResponseContent
- func (r UpdateCalendarTodoResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r UpdateCalendarTodoResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r UpdateCalendarTodoResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
- func (r UpdateCalendarTodoResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r UpdateCalendarTodoResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r UpdateCalendarTodoResponse) Status() string
- func (r UpdateCalendarTodoResponse) StatusCode() int
- type UpdateCalendarTodoResponseContent
- type UpdateClearanceJSONRequestBody
- type UpdateClearanceRequestContent
- type UpdateClearanceResponse
- func (r UpdateClearanceResponse) ContentType() string
- func (r UpdateClearanceResponse) GetBody() []byte
- func (r UpdateClearanceResponse) GetJSON200() *UpdateClearanceResponseContent
- func (r UpdateClearanceResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r UpdateClearanceResponse) GetJSON403() *ForbiddenErrorResponseContent
- func (r UpdateClearanceResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r UpdateClearanceResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r UpdateClearanceResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r UpdateClearanceResponse) Status() string
- func (r UpdateClearanceResponse) StatusCode() int
- type UpdateClearanceResponseContent
- type UpdateCollectionJSONRequestBody
- type UpdateCollectionRequestContent
- type UpdateCollectionResponse
- func (r UpdateCollectionResponse) ContentType() string
- func (r UpdateCollectionResponse) GetBody() []byte
- func (r UpdateCollectionResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r UpdateCollectionResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r UpdateCollectionResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
- func (r UpdateCollectionResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r UpdateCollectionResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r UpdateCollectionResponse) Status() string
- func (r UpdateCollectionResponse) StatusCode() int
- type UpdateContactClearanceJSONRequestBody
- type UpdateContactClearanceRequestContent
- type UpdateContactClearanceResponse
- func (r UpdateContactClearanceResponse) ContentType() string
- func (r UpdateContactClearanceResponse) GetBody() []byte
- func (r UpdateContactClearanceResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r UpdateContactClearanceResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r UpdateContactClearanceResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
- func (r UpdateContactClearanceResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r UpdateContactClearanceResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r UpdateContactClearanceResponse) Status() string
- func (r UpdateContactClearanceResponse) StatusCode() int
- type UpdateContactJSONRequestBody
- type UpdateContactNoteJSONRequestBody
- type UpdateContactNoteResponse
- func (r UpdateContactNoteResponse) ContentType() string
- func (r UpdateContactNoteResponse) GetBody() []byte
- func (r UpdateContactNoteResponse) GetJSON200() *UpdateContactNoteResponseContent
- func (r UpdateContactNoteResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r UpdateContactNoteResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r UpdateContactNoteResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
- func (r UpdateContactNoteResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r UpdateContactNoteResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r UpdateContactNoteResponse) Status() string
- func (r UpdateContactNoteResponse) StatusCode() int
- type UpdateContactNoteResponseContent
- type UpdateContactResponse
- func (r UpdateContactResponse) ContentType() string
- func (r UpdateContactResponse) GetBody() []byte
- func (r UpdateContactResponse) GetJSON200() *UpdateContactResponseContent
- func (r UpdateContactResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r UpdateContactResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r UpdateContactResponse) GetJSON409() *ConflictErrorResponseContent
- func (r UpdateContactResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
- func (r UpdateContactResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r UpdateContactResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r UpdateContactResponse) Status() string
- func (r UpdateContactResponse) StatusCode() int
- type UpdateContactResponseContent
- type UpdateFirstWeekDayJSONRequestBody
- type UpdateFirstWeekDayRequestContent
- type UpdateFirstWeekDayResponse
- func (r UpdateFirstWeekDayResponse) ContentType() string
- func (r UpdateFirstWeekDayResponse) GetBody() []byte
- func (r UpdateFirstWeekDayResponse) GetJSON200() *UpdateFirstWeekDayResponseContent
- func (r UpdateFirstWeekDayResponse) GetJSON400() *BadRequestErrorResponseContent
- func (r UpdateFirstWeekDayResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r UpdateFirstWeekDayResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r UpdateFirstWeekDayResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r UpdateFirstWeekDayResponse) Status() string
- func (r UpdateFirstWeekDayResponse) StatusCode() int
- type UpdateFirstWeekDayResponseContent
- type UpdateHabitJSONRequestBody
- type UpdateHabitResponse
- func (r UpdateHabitResponse) ContentType() string
- func (r UpdateHabitResponse) GetBody() []byte
- func (r UpdateHabitResponse) GetJSON200() *UpdateHabitResponseContent
- func (r UpdateHabitResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r UpdateHabitResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r UpdateHabitResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
- func (r UpdateHabitResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r UpdateHabitResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r UpdateHabitResponse) Status() string
- func (r UpdateHabitResponse) StatusCode() int
- type UpdateHabitResponseContent
- type UpdateJournalEntryJSONRequestBody
- type UpdateJournalEntryRequestContent
- type UpdateJournalEntryResponse
- func (r UpdateJournalEntryResponse) ContentType() string
- func (r UpdateJournalEntryResponse) GetBody() []byte
- func (r UpdateJournalEntryResponse) GetJSON200() *UpdateJournalEntryResponseContent
- func (r UpdateJournalEntryResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r UpdateJournalEntryResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r UpdateJournalEntryResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
- func (r UpdateJournalEntryResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r UpdateJournalEntryResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r UpdateJournalEntryResponse) Status() string
- func (r UpdateJournalEntryResponse) StatusCode() int
- type UpdateJournalEntryResponseContent
- type UpdateMessageJSONRequestBody
- type UpdateMessageResponse
- func (r UpdateMessageResponse) ContentType() string
- func (r UpdateMessageResponse) GetBody() []byte
- func (r UpdateMessageResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r UpdateMessageResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r UpdateMessageResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
- func (r UpdateMessageResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r UpdateMessageResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r UpdateMessageResponse) Status() string
- func (r UpdateMessageResponse) StatusCode() int
- type UpdateMyClearanceJSONRequestBody
- type UpdateMyClearanceRequestContent
- type UpdateMyClearanceResponse
- func (r UpdateMyClearanceResponse) ContentType() string
- func (r UpdateMyClearanceResponse) GetBody() []byte
- func (r UpdateMyClearanceResponse) GetJSON200() *UpdateMyClearanceResponseContent
- func (r UpdateMyClearanceResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r UpdateMyClearanceResponse) GetJSON403() *ForbiddenErrorResponseContent
- func (r UpdateMyClearanceResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r UpdateMyClearanceResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r UpdateMyClearanceResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r UpdateMyClearanceResponse) Status() string
- func (r UpdateMyClearanceResponse) StatusCode() int
- type UpdateMyClearanceResponseContent
- type UpdateStickyJSONRequestBody
- type UpdateStickyResponse
- func (r UpdateStickyResponse) ContentType() string
- func (r UpdateStickyResponse) GetBody() []byte
- func (r UpdateStickyResponse) GetJSON200() *UpdateStickyResponseContent
- func (r UpdateStickyResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r UpdateStickyResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r UpdateStickyResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
- func (r UpdateStickyResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r UpdateStickyResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r UpdateStickyResponse) Status() string
- func (r UpdateStickyResponse) StatusCode() int
- type UpdateStickyResponseContent
- type UpdateTimeFormatJSONRequestBody
- type UpdateTimeFormatRequestContent
- type UpdateTimeFormatResponse
- func (r UpdateTimeFormatResponse) ContentType() string
- func (r UpdateTimeFormatResponse) GetBody() []byte
- func (r UpdateTimeFormatResponse) GetJSON200() *UpdateTimeFormatResponseContent
- func (r UpdateTimeFormatResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r UpdateTimeFormatResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r UpdateTimeFormatResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r UpdateTimeFormatResponse) Status() string
- func (r UpdateTimeFormatResponse) StatusCode() int
- type UpdateTimeFormatResponseContent
- type UpdateTimeTrackJSONRequestBody
- type UpdateTimeTrackPayload
- type UpdateTimeTrackRequestContent
- type UpdateTimeTrackResponse
- func (r UpdateTimeTrackResponse) ContentType() string
- func (r UpdateTimeTrackResponse) GetBody() []byte
- func (r UpdateTimeTrackResponse) GetJSON200() *UpdateTimeTrackResponseContent
- func (r UpdateTimeTrackResponse) GetJSON400() *BadRequestErrorResponseContent
- func (r UpdateTimeTrackResponse) GetJSON401() *UnauthorizedErrorResponseContent
- func (r UpdateTimeTrackResponse) GetJSON404() *NotFoundErrorResponseContent
- func (r UpdateTimeTrackResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
- func (r UpdateTimeTrackResponse) GetJSON500() *InternalServerErrorResponseContent
- func (r UpdateTimeTrackResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
- func (r UpdateTimeTrackResponse) Status() string
- func (r UpdateTimeTrackResponse) StatusCode() int
- type UpdateTimeTrackResponseContent
- type UpdatesChannel
- type UploadsService
- type User
- type VaultsService
- type WebhooksService
- type Workflow
- type WorkflowStage
- type WorkflowStagingPayload
Constants ¶
const ( ErrCodeUsage = "usage" ErrCodeNotFound = "not_found" ErrCodeAuth = "auth_required" ErrCodeForbidden = "forbidden" ErrCodeRateLimit = "rate_limit" ErrCodeNetwork = "network" ErrCodeAPI = "api_error" ErrCodeAmbiguous = "ambiguous" )
Error codes for API responses.
Variables ¶
This section is empty.
Functions ¶
func IsIdempotent ¶
IsIdempotent returns whether the given operation is idempotent and safe to retry.
func NewAddPostingsToBoxGroupRequest ¶ added in v0.4.0
func NewAddPostingsToBoxGroupRequest(server string, body AddPostingsToBoxGroupJSONRequestBody) (*http.Request, error)
NewAddPostingsToBoxGroupRequest calls the generic AddPostingsToBoxGroup builder with application/json body
func NewAddPostingsToBoxGroupRequestWithBody ¶ added in v0.4.0
func NewAddPostingsToBoxGroupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAddPostingsToBoxGroupRequestWithBody generates requests for AddPostingsToBoxGroup with any type of body
func NewAdvancedSearchRequest ¶ added in v0.4.0
func NewAdvancedSearchRequest(server string, params *AdvancedSearchParams) (*http.Request, error)
NewAdvancedSearchRequest generates requests for AdvancedSearch
func NewBubbleUpPostingsNowRequest ¶ added in v0.4.0
func NewBubbleUpPostingsNowRequest(server string, body BubbleUpPostingsNowJSONRequestBody) (*http.Request, error)
NewBubbleUpPostingsNowRequest calls the generic BubbleUpPostingsNow builder with application/json body
func NewBubbleUpPostingsNowRequestWithBody ¶ added in v0.4.0
func NewBubbleUpPostingsNowRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewBubbleUpPostingsNowRequestWithBody generates requests for BubbleUpPostingsNow with any type of body
func NewBulkUpdateClearancesRequest ¶ added in v0.7.0
func NewBulkUpdateClearancesRequest(server string, body BulkUpdateClearancesJSONRequestBody) (*http.Request, error)
NewBulkUpdateClearancesRequest calls the generic BulkUpdateClearances builder with application/json body
func NewBulkUpdateClearancesRequestWithBody ¶ added in v0.7.0
func NewBulkUpdateClearancesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewBulkUpdateClearancesRequestWithBody generates requests for BulkUpdateClearances with any type of body
func NewBundleContactRequest ¶ added in v0.4.0
NewBundleContactRequest generates requests for BundleContact
func NewCancelPostingsBubbleUpRequest ¶ added in v0.4.0
func NewCancelPostingsBubbleUpRequest(server string, params *CancelPostingsBubbleUpParams) (*http.Request, error)
NewCancelPostingsBubbleUpRequest generates requests for CancelPostingsBubbleUp
func NewCompleteCalendarTodoRequest ¶
NewCompleteCalendarTodoRequest generates requests for CompleteCalendarTodo
func NewCompleteHabitRequest ¶
NewCompleteHabitRequest generates requests for CompleteHabit
func NewCreateBoxDesignationRequest ¶ added in v0.4.0
func NewCreateBoxDesignationRequest(server string, boxId int64, body CreateBoxDesignationJSONRequestBody) (*http.Request, error)
NewCreateBoxDesignationRequest calls the generic CreateBoxDesignation builder with application/json body
func NewCreateBoxDesignationRequestWithBody ¶ added in v0.4.0
func NewCreateBoxDesignationRequestWithBody(server string, boxId int64, contentType string, body io.Reader) (*http.Request, error)
NewCreateBoxDesignationRequestWithBody generates requests for CreateBoxDesignation with any type of body
func NewCreateBoxGroupRequest ¶ added in v0.4.0
func NewCreateBoxGroupRequest(server string, boxId int64, body CreateBoxGroupJSONRequestBody) (*http.Request, error)
NewCreateBoxGroupRequest calls the generic CreateBoxGroup builder with application/json body
func NewCreateBoxGroupRequestWithBody ¶ added in v0.4.0
func NewCreateBoxGroupRequestWithBody(server string, boxId int64, contentType string, body io.Reader) (*http.Request, error)
NewCreateBoxGroupRequestWithBody generates requests for CreateBoxGroup with any type of body
func NewCreateBulkReplyRequest ¶ added in v0.4.0
func NewCreateBulkReplyRequest(server string, body CreateBulkReplyJSONRequestBody) (*http.Request, error)
NewCreateBulkReplyRequest calls the generic CreateBulkReply builder with application/json body
func NewCreateBulkReplyRequestWithBody ¶ added in v0.4.0
func NewCreateBulkReplyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateBulkReplyRequestWithBody generates requests for CreateBulkReply with any type of body
func NewCreateCalendarTodoRequest ¶
func NewCreateCalendarTodoRequest(server string, body CreateCalendarTodoJSONRequestBody) (*http.Request, error)
NewCreateCalendarTodoRequest calls the generic CreateCalendarTodo builder with application/json body
func NewCreateCalendarTodoRequestWithBody ¶
func NewCreateCalendarTodoRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateCalendarTodoRequestWithBody generates requests for CreateCalendarTodo with any type of body
func NewCreateContactRequest ¶ added in v0.4.0
func NewCreateContactRequest(server string, body CreateContactJSONRequestBody) (*http.Request, error)
NewCreateContactRequest calls the generic CreateContact builder with application/json body
func NewCreateContactRequestWithBody ¶ added in v0.4.0
func NewCreateContactRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateContactRequestWithBody generates requests for CreateContact with any type of body
func NewCreateDirectUploadRequest ¶ added in v0.5.0
func NewCreateDirectUploadRequest(server string, body CreateDirectUploadJSONRequestBody) (*http.Request, error)
NewCreateDirectUploadRequest calls the generic CreateDirectUpload builder with application/json body
func NewCreateDirectUploadRequestWithBody ¶ added in v0.5.0
func NewCreateDirectUploadRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateDirectUploadRequestWithBody generates requests for CreateDirectUpload with any type of body
func NewCreateFolderForPostingsRequest ¶ added in v0.4.0
func NewCreateFolderForPostingsRequest(server string, body CreateFolderForPostingsJSONRequestBody) (*http.Request, error)
NewCreateFolderForPostingsRequest calls the generic CreateFolderForPostings builder with application/json body
func NewCreateFolderForPostingsRequestWithBody ¶ added in v0.4.0
func NewCreateFolderForPostingsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateFolderForPostingsRequestWithBody generates requests for CreateFolderForPostings with any type of body
func NewCreateHabitRequest ¶ added in v0.4.0
func NewCreateHabitRequest(server string, body CreateHabitJSONRequestBody) (*http.Request, error)
NewCreateHabitRequest calls the generic CreateHabit builder with application/json body
func NewCreateHabitRequestWithBody ¶ added in v0.4.0
func NewCreateHabitRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateHabitRequestWithBody generates requests for CreateHabit with any type of body
func NewCreateMessageRequest ¶
func NewCreateMessageRequest(server string, body CreateMessageJSONRequestBody) (*http.Request, error)
NewCreateMessageRequest calls the generic CreateMessage builder with application/json body
func NewCreateMessageRequestWithBody ¶
func NewCreateMessageRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateMessageRequestWithBody generates requests for CreateMessage with any type of body
func NewCreateReplyRequest ¶
func NewCreateReplyRequest(server string, entryId int64, body CreateReplyJSONRequestBody) (*http.Request, error)
NewCreateReplyRequest calls the generic CreateReply builder with application/json body
func NewCreateReplyRequestWithBody ¶
func NewCreateReplyRequestWithBody(server string, entryId int64, contentType string, body io.Reader) (*http.Request, error)
NewCreateReplyRequestWithBody generates requests for CreateReply with any type of body
func NewCreateStickyRequest ¶ added in v0.4.0
func NewCreateStickyRequest(server string, body CreateStickyJSONRequestBody) (*http.Request, error)
NewCreateStickyRequest calls the generic CreateSticky builder with application/json body
func NewCreateStickyRequestWithBody ¶ added in v0.4.0
func NewCreateStickyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateStickyRequestWithBody generates requests for CreateSticky with any type of body
func NewCreateTimeTrackRequest ¶ added in v0.4.0
func NewCreateTimeTrackRequest(server string, body CreateTimeTrackJSONRequestBody) (*http.Request, error)
NewCreateTimeTrackRequest calls the generic CreateTimeTrack builder with application/json body
func NewCreateTimeTrackRequestWithBody ¶ added in v0.4.0
func NewCreateTimeTrackRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateTimeTrackRequestWithBody generates requests for CreateTimeTrack with any type of body
func NewCreateWorkflowStagingRequest ¶ added in v0.12.0
func NewCreateWorkflowStagingRequest(server string, topicId int64, workflowId int64) (*http.Request, error)
NewCreateWorkflowStagingRequest generates requests for CreateWorkflowStaging
func NewDeleteBoxDesignationRequest ¶ added in v0.4.0
func NewDeleteBoxDesignationRequest(server string, boxId int64, designationId int64) (*http.Request, error)
NewDeleteBoxDesignationRequest generates requests for DeleteBoxDesignation
func NewDeleteBoxGroupRequest ¶ added in v0.4.0
NewDeleteBoxGroupRequest generates requests for DeleteBoxGroup
func NewDeleteCalendarTodoRequest ¶
NewDeleteCalendarTodoRequest generates requests for DeleteCalendarTodo
func NewDeleteContactNoteRequest ¶ added in v0.4.0
NewDeleteContactNoteRequest generates requests for DeleteContactNote
func NewDeleteDraftRequest ¶ added in v0.22.0
NewDeleteDraftRequest generates requests for DeleteDraft
func NewDeleteHabitRequest ¶ added in v0.4.0
NewDeleteHabitRequest generates requests for DeleteHabit
func NewDeleteStickyRequest ¶ added in v0.4.0
NewDeleteStickyRequest generates requests for DeleteSticky
func NewDeleteTimeTrackRequest ¶ added in v0.4.0
NewDeleteTimeTrackRequest generates requests for DeleteTimeTrack
func NewEmptySpamRequest ¶ added in v0.4.0
NewEmptySpamRequest generates requests for EmptySpam
func NewEmptyTrashRequest ¶ added in v0.4.0
NewEmptyTrashRequest generates requests for EmptyTrash
func NewFilePostingsRequest ¶ added in v0.4.0
func NewFilePostingsRequest(server string, body FilePostingsJSONRequestBody) (*http.Request, error)
NewFilePostingsRequest calls the generic FilePostings builder with application/json body
func NewFilePostingsRequestWithBody ¶ added in v0.4.0
func NewFilePostingsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewFilePostingsRequestWithBody generates requests for FilePostings with any type of body
func NewGetAdvancedSearchFiltersRequest ¶ added in v0.4.0
NewGetAdvancedSearchFiltersRequest generates requests for GetAdvancedSearchFilters
func NewGetAsideboxRequest ¶
func NewGetAsideboxRequest(server string, params *GetAsideboxParams) (*http.Request, error)
NewGetAsideboxRequest generates requests for GetAsidebox
func NewGetBoxPostingChangesRequest ¶ added in v0.6.0
func NewGetBoxPostingChangesRequest(server string, boxId int64, params *GetBoxPostingChangesParams) (*http.Request, error)
NewGetBoxPostingChangesRequest generates requests for GetBoxPostingChanges
func NewGetBoxRequest ¶
NewGetBoxRequest generates requests for GetBox
func NewGetBubbleboxRequest ¶
func NewGetBubbleboxRequest(server string, params *GetBubbleboxParams) (*http.Request, error)
NewGetBubbleboxRequest generates requests for GetBubblebox
func NewGetBundleUnseenPostingsRequest ¶ added in v0.26.0
func NewGetBundleUnseenPostingsRequest(server string, postingId int64, params *GetBundleUnseenPostingsParams) (*http.Request, error)
NewGetBundleUnseenPostingsRequest generates requests for GetBundleUnseenPostings
func NewGetCalendarDayRequest ¶ added in v0.16.0
NewGetCalendarDayRequest generates requests for GetCalendarDay
func NewGetCalendarRecordingsRequest ¶
func NewGetCalendarRecordingsRequest(server string, calendarId int64, params *GetCalendarRecordingsParams) (*http.Request, error)
NewGetCalendarRecordingsRequest generates requests for GetCalendarRecordings
func NewGetCalendarWeekRequest ¶ added in v0.16.0
NewGetCalendarWeekRequest generates requests for GetCalendarWeek
func NewGetCalendarYearRequest ¶ added in v0.16.0
NewGetCalendarYearRequest generates requests for GetCalendarYear
func NewGetClearancesRequest ¶ added in v0.4.0
func NewGetClearancesRequest(server string, params *GetClearancesParams) (*http.Request, error)
NewGetClearancesRequest generates requests for GetClearances
func NewGetCollectionRequest ¶ added in v0.8.0
func NewGetCollectionRequest(server string, collectionId int64, params *GetCollectionParams) (*http.Request, error)
NewGetCollectionRequest generates requests for GetCollection
func NewGetContactNoteRequest ¶ added in v0.4.0
NewGetContactNoteRequest generates requests for GetContactNote
func NewGetContactRequest ¶
func NewGetContactRequest(server string, contactId int64, params *GetContactParams) (*http.Request, error)
NewGetContactRequest generates requests for GetContact
func NewGetEverythingTopicsRequest ¶
func NewGetEverythingTopicsRequest(server string, params *GetEverythingTopicsParams) (*http.Request, error)
NewGetEverythingTopicsRequest generates requests for GetEverythingTopics
func NewGetFeedboxRequest ¶
func NewGetFeedboxRequest(server string, params *GetFeedboxParams) (*http.Request, error)
NewGetFeedboxRequest generates requests for GetFeedbox
func NewGetFolderRequest ¶ added in v0.4.0
func NewGetFolderRequest(server string, folderId int64, params *GetFolderParams) (*http.Request, error)
NewGetFolderRequest generates requests for GetFolder
func NewGetIdentityRequest ¶
NewGetIdentityRequest generates requests for GetIdentity
func NewGetImboxRequest ¶
func NewGetImboxRequest(server string, params *GetImboxParams) (*http.Request, error)
NewGetImboxRequest generates requests for GetImbox
func NewGetImboxSeenRequest ¶ added in v0.28.0
func NewGetImboxSeenRequest(server string, params *GetImboxSeenParams) (*http.Request, error)
NewGetImboxSeenRequest generates requests for GetImboxSeen
func NewGetJournalEntryRequest ¶
NewGetJournalEntryRequest generates requests for GetJournalEntry
func NewGetLaterboxRequest ¶
func NewGetLaterboxRequest(server string, params *GetLaterboxParams) (*http.Request, error)
NewGetLaterboxRequest generates requests for GetLaterbox
func NewGetMessageEditRequest ¶ added in v0.22.0
NewGetMessageEditRequest generates requests for GetMessageEdit
func NewGetMessageRequest ¶
NewGetMessageRequest generates requests for GetMessage
func NewGetMyClearancesRequest ¶ added in v0.7.0
func NewGetMyClearancesRequest(server string, params *GetMyClearancesParams) (*http.Request, error)
NewGetMyClearancesRequest generates requests for GetMyClearances
func NewGetNavigationRequest ¶
NewGetNavigationRequest generates requests for GetNavigation
func NewGetOngoingTimeTrackRequest ¶
NewGetOngoingTimeTrackRequest generates requests for GetOngoingTimeTrack
func NewGetSentTopicsRequest ¶
func NewGetSentTopicsRequest(server string, params *GetSentTopicsParams) (*http.Request, error)
NewGetSentTopicsRequest generates requests for GetSentTopics
func NewGetSpamTopicsRequest ¶
func NewGetSpamTopicsRequest(server string, params *GetSpamTopicsParams) (*http.Request, error)
NewGetSpamTopicsRequest generates requests for GetSpamTopics
func NewGetTopicEntriesRequest ¶
func NewGetTopicEntriesRequest(server string, topicId int64, params *GetTopicEntriesParams) (*http.Request, error)
NewGetTopicEntriesRequest generates requests for GetTopicEntries
func NewGetTopicPublicationRequest ¶ added in v0.4.0
NewGetTopicPublicationRequest generates requests for GetTopicPublication
func NewGetTopicRequest ¶
NewGetTopicRequest generates requests for GetTopic
func NewGetTrailboxRequest ¶
func NewGetTrailboxRequest(server string, params *GetTrailboxParams) (*http.Request, error)
NewGetTrailboxRequest generates requests for GetTrailbox
func NewGetTrashTopicsRequest ¶
func NewGetTrashTopicsRequest(server string, params *GetTrashTopicsParams) (*http.Request, error)
NewGetTrashTopicsRequest generates requests for GetTrashTopics
func NewGetWorkflowRequest ¶ added in v0.4.0
NewGetWorkflowRequest generates requests for GetWorkflow
func NewHideContactRequest ¶ added in v0.4.0
NewHideContactRequest generates requests for HideContact
func NewListBoxGroupsRequest ¶ added in v0.4.0
NewListBoxGroupsRequest generates requests for ListBoxGroups
func NewListBoxesRequest ¶
NewListBoxesRequest generates requests for ListBoxes
func NewListCalendarDaysRequest ¶ added in v0.16.0
func NewListCalendarDaysRequest(server string, params *ListCalendarDaysParams) (*http.Request, error)
NewListCalendarDaysRequest generates requests for ListCalendarDays
func NewListCalendarWeeksRequest ¶ added in v0.16.0
func NewListCalendarWeeksRequest(server string, params *ListCalendarWeeksParams) (*http.Request, error)
NewListCalendarWeeksRequest generates requests for ListCalendarWeeks
func NewListCalendarsRequest ¶
NewListCalendarsRequest generates requests for ListCalendars
func NewListClipsRequest ¶ added in v0.4.0
func NewListClipsRequest(server string, params *ListClipsParams) (*http.Request, error)
NewListClipsRequest generates requests for ListClips
func NewListCollectionsRequest ¶ added in v0.4.0
NewListCollectionsRequest generates requests for ListCollections
func NewListContactsRequest ¶
func NewListContactsRequest(server string, params *ListContactsParams) (*http.Request, error)
NewListContactsRequest generates requests for ListContacts
func NewListDraftsRequest ¶
func NewListDraftsRequest(server string, params *ListDraftsParams) (*http.Request, error)
NewListDraftsRequest generates requests for ListDrafts
func NewListJournalEntriesRequest ¶ added in v0.15.0
func NewListJournalEntriesRequest(server string, params *ListJournalEntriesParams) (*http.Request, error)
NewListJournalEntriesRequest generates requests for ListJournalEntries
func NewListSnippetsRequest ¶ added in v0.4.0
NewListSnippetsRequest generates requests for ListSnippets
func NewListStickiesRequest ¶ added in v0.4.0
func NewListStickiesRequest(server string, params *ListStickiesParams) (*http.Request, error)
NewListStickiesRequest generates requests for ListStickies
func NewListTimeTrackCategoriesRequest ¶ added in v0.4.0
NewListTimeTrackCategoriesRequest generates requests for ListTimeTrackCategories
func NewListTimeTracksRequest ¶ added in v0.20.0
func NewListTimeTracksRequest(server string, params *ListTimeTracksParams) (*http.Request, error)
NewListTimeTracksRequest generates requests for ListTimeTracks
func NewMarkBoxSeenRequest ¶ added in v0.4.0
NewMarkBoxSeenRequest generates requests for MarkBoxSeen
func NewMarkEntrySpamRequest ¶ added in v0.4.0
NewMarkEntrySpamRequest generates requests for MarkEntrySpam
func NewMarkPostingsSeenRequest ¶ added in v0.2.0
func NewMarkPostingsSeenRequest(server string, body MarkPostingsSeenJSONRequestBody) (*http.Request, error)
NewMarkPostingsSeenRequest calls the generic MarkPostingsSeen builder with application/json body
func NewMarkPostingsSeenRequestWithBody ¶ added in v0.2.0
func NewMarkPostingsSeenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewMarkPostingsSeenRequestWithBody generates requests for MarkPostingsSeen with any type of body
func NewMarkPostingsSpamRequest ¶ added in v0.4.0
func NewMarkPostingsSpamRequest(server string, body MarkPostingsSpamJSONRequestBody) (*http.Request, error)
NewMarkPostingsSpamRequest calls the generic MarkPostingsSpam builder with application/json body
func NewMarkPostingsSpamRequestWithBody ¶ added in v0.4.0
func NewMarkPostingsSpamRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewMarkPostingsSpamRequestWithBody generates requests for MarkPostingsSpam with any type of body
func NewMarkPostingsUnseenRequest ¶ added in v0.2.0
func NewMarkPostingsUnseenRequest(server string, body MarkPostingsUnseenJSONRequestBody) (*http.Request, error)
NewMarkPostingsUnseenRequest calls the generic MarkPostingsUnseen builder with application/json body
func NewMarkPostingsUnseenRequestWithBody ¶ added in v0.2.0
func NewMarkPostingsUnseenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewMarkPostingsUnseenRequestWithBody generates requests for MarkPostingsUnseen with any type of body
func NewMarkTopicHamRequest ¶ added in v0.4.0
NewMarkTopicHamRequest generates requests for MarkTopicHam
func NewMovePostingsRequest ¶ added in v0.4.0
func NewMovePostingsRequest(server string, body MovePostingsJSONRequestBody) (*http.Request, error)
NewMovePostingsRequest calls the generic MovePostings builder with application/json body
func NewMovePostingsRequestWithBody ¶ added in v0.4.0
func NewMovePostingsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewMovePostingsRequestWithBody generates requests for MovePostings with any type of body
func NewMoveStickyRequest ¶ added in v0.4.0
func NewMoveStickyRequest(server string, body MoveStickyJSONRequestBody) (*http.Request, error)
NewMoveStickyRequest calls the generic MoveSticky builder with application/json body
func NewMoveStickyRequestWithBody ¶ added in v0.4.0
func NewMoveStickyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewMoveStickyRequestWithBody generates requests for MoveSticky with any type of body
func NewMoveTopicRequest ¶ added in v0.4.0
func NewMoveTopicRequest(server string, topicId int64, body MoveTopicJSONRequestBody) (*http.Request, error)
NewMoveTopicRequest calls the generic MoveTopic builder with application/json body
func NewMoveTopicRequestWithBody ¶ added in v0.4.0
func NewMoveTopicRequestWithBody(server string, topicId int64, contentType string, body io.Reader) (*http.Request, error)
NewMoveTopicRequestWithBody generates requests for MoveTopic with any type of body
func NewMoveWorkflowStagingRequest ¶ added in v0.12.0
func NewMoveWorkflowStagingRequest(server string, topicId int64, workflowId int64, body MoveWorkflowStagingJSONRequestBody) (*http.Request, error)
NewMoveWorkflowStagingRequest calls the generic MoveWorkflowStaging builder with application/json body
func NewMoveWorkflowStagingRequestWithBody ¶ added in v0.12.0
func NewMoveWorkflowStagingRequestWithBody(server string, topicId int64, workflowId int64, contentType string, body io.Reader) (*http.Request, error)
NewMoveWorkflowStagingRequestWithBody generates requests for MoveWorkflowStaging with any type of body
func NewMutePostingsRequest ¶ added in v0.4.0
func NewMutePostingsRequest(server string, body MutePostingsJSONRequestBody) (*http.Request, error)
NewMutePostingsRequest calls the generic MutePostings builder with application/json body
func NewMutePostingsRequestWithBody ¶ added in v0.4.0
func NewMutePostingsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewMutePostingsRequestWithBody generates requests for MutePostings with any type of body
func NewNewBulkReplyRequest ¶ added in v0.4.0
func NewNewBulkReplyRequest(server string, params *NewBulkReplyParams) (*http.Request, error)
NewNewBulkReplyRequest generates requests for NewBulkReply
func NewNewEntryForwardRequest ¶ added in v0.4.0
NewNewEntryForwardRequest generates requests for NewEntryForward
func NewNewEntryReplyRequest ¶ added in v0.22.0
NewNewEntryReplyRequest generates requests for NewEntryReply
func NewPuntClearancesRequest ¶ added in v0.7.0
NewPuntClearancesRequest generates requests for PuntClearances
func NewRemovePostingsFromBoxGroupRequest ¶ added in v0.4.0
func NewRemovePostingsFromBoxGroupRequest(server string, params *RemovePostingsFromBoxGroupParams) (*http.Request, error)
NewRemovePostingsFromBoxGroupRequest generates requests for RemovePostingsFromBoxGroup
func NewRestoreTopicRequest ¶ added in v0.4.0
NewRestoreTopicRequest generates requests for RestoreTopic
func NewResumeHabitRequest ¶ added in v0.4.0
NewResumeHabitRequest generates requests for ResumeHabit
func NewRevealContactRequest ¶ added in v0.4.0
NewRevealContactRequest generates requests for RevealContact
func NewSchedulePostingsBubbleUpRequest ¶ added in v0.24.0
func NewSchedulePostingsBubbleUpRequest(server string, body SchedulePostingsBubbleUpJSONRequestBody) (*http.Request, error)
NewSchedulePostingsBubbleUpRequest calls the generic SchedulePostingsBubbleUp builder with application/json body
func NewSchedulePostingsBubbleUpRequestWithBody ¶ added in v0.24.0
func NewSchedulePostingsBubbleUpRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSchedulePostingsBubbleUpRequestWithBody generates requests for SchedulePostingsBubbleUp with any type of body
func NewStartTimeTrackRequest ¶
NewStartTimeTrackRequest generates requests for StartTimeTrack
func NewStopHabitRequest ¶ added in v0.4.0
NewStopHabitRequest generates requests for StopHabit
func NewToggleCalendarRequest ¶ added in v0.16.0
NewToggleCalendarRequest generates requests for ToggleCalendar
func NewTrashPostingsRequest ¶ added in v0.4.0
func NewTrashPostingsRequest(server string, body TrashPostingsJSONRequestBody) (*http.Request, error)
NewTrashPostingsRequest calls the generic TrashPostings builder with application/json body
func NewTrashPostingsRequestWithBody ¶ added in v0.4.0
func NewTrashPostingsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTrashPostingsRequestWithBody generates requests for TrashPostings with any type of body
func NewTrashTopicRequest ¶ added in v0.4.0
func NewTrashTopicRequest(server string, topicId int64, params *TrashTopicParams) (*http.Request, error)
NewTrashTopicRequest generates requests for TrashTopic
func NewUnbundleContactRequest ¶ added in v0.4.0
NewUnbundleContactRequest generates requests for UnbundleContact
func NewUncompleteCalendarTodoRequest ¶
NewUncompleteCalendarTodoRequest generates requests for UncompleteCalendarTodo
func NewUncompleteHabitRequest ¶
NewUncompleteHabitRequest generates requests for UncompleteHabit
func NewUnfilePostingsRequest ¶ added in v0.4.0
func NewUnfilePostingsRequest(server string, params *UnfilePostingsParams) (*http.Request, error)
NewUnfilePostingsRequest generates requests for UnfilePostings
func NewUnmutePostingsRequest ¶ added in v0.4.0
func NewUnmutePostingsRequest(server string, params *UnmutePostingsParams) (*http.Request, error)
NewUnmutePostingsRequest generates requests for UnmutePostings
func NewUpdateCalendarTodoRequest ¶ added in v0.14.0
func NewUpdateCalendarTodoRequest(server string, todoId int64, body UpdateCalendarTodoJSONRequestBody) (*http.Request, error)
NewUpdateCalendarTodoRequest calls the generic UpdateCalendarTodo builder with application/json body
func NewUpdateCalendarTodoRequestWithBody ¶ added in v0.14.0
func NewUpdateCalendarTodoRequestWithBody(server string, todoId int64, contentType string, body io.Reader) (*http.Request, error)
NewUpdateCalendarTodoRequestWithBody generates requests for UpdateCalendarTodo with any type of body
func NewUpdateClearanceRequest ¶ added in v0.7.0
func NewUpdateClearanceRequest(server string, clearanceId int64, body UpdateClearanceJSONRequestBody) (*http.Request, error)
NewUpdateClearanceRequest calls the generic UpdateClearance builder with application/json body
func NewUpdateClearanceRequestWithBody ¶ added in v0.7.0
func NewUpdateClearanceRequestWithBody(server string, clearanceId int64, contentType string, body io.Reader) (*http.Request, error)
NewUpdateClearanceRequestWithBody generates requests for UpdateClearance with any type of body
func NewUpdateCollectionRequest ¶ added in v0.4.0
func NewUpdateCollectionRequest(server string, collectionId int64, body UpdateCollectionJSONRequestBody) (*http.Request, error)
NewUpdateCollectionRequest calls the generic UpdateCollection builder with application/json body
func NewUpdateCollectionRequestWithBody ¶ added in v0.4.0
func NewUpdateCollectionRequestWithBody(server string, collectionId int64, contentType string, body io.Reader) (*http.Request, error)
NewUpdateCollectionRequestWithBody generates requests for UpdateCollection with any type of body
func NewUpdateContactClearanceRequest ¶ added in v0.4.0
func NewUpdateContactClearanceRequest(server string, contactId int64, body UpdateContactClearanceJSONRequestBody) (*http.Request, error)
NewUpdateContactClearanceRequest calls the generic UpdateContactClearance builder with application/json body
func NewUpdateContactClearanceRequestWithBody ¶ added in v0.4.0
func NewUpdateContactClearanceRequestWithBody(server string, contactId int64, contentType string, body io.Reader) (*http.Request, error)
NewUpdateContactClearanceRequestWithBody generates requests for UpdateContactClearance with any type of body
func NewUpdateContactNoteRequest ¶ added in v0.4.0
func NewUpdateContactNoteRequest(server string, contactId int64, body UpdateContactNoteJSONRequestBody) (*http.Request, error)
NewUpdateContactNoteRequest calls the generic UpdateContactNote builder with application/json body
func NewUpdateContactNoteRequestWithBody ¶ added in v0.4.0
func NewUpdateContactNoteRequestWithBody(server string, contactId int64, contentType string, body io.Reader) (*http.Request, error)
NewUpdateContactNoteRequestWithBody generates requests for UpdateContactNote with any type of body
func NewUpdateContactRequest ¶ added in v0.4.0
func NewUpdateContactRequest(server string, contactId int64, body UpdateContactJSONRequestBody) (*http.Request, error)
NewUpdateContactRequest calls the generic UpdateContact builder with application/json body
func NewUpdateContactRequestWithBody ¶ added in v0.4.0
func NewUpdateContactRequestWithBody(server string, contactId int64, contentType string, body io.Reader) (*http.Request, error)
NewUpdateContactRequestWithBody generates requests for UpdateContact with any type of body
func NewUpdateFirstWeekDayRequest ¶ added in v0.23.0
func NewUpdateFirstWeekDayRequest(server string, body UpdateFirstWeekDayJSONRequestBody) (*http.Request, error)
NewUpdateFirstWeekDayRequest calls the generic UpdateFirstWeekDay builder with application/json body
func NewUpdateFirstWeekDayRequestWithBody ¶ added in v0.23.0
func NewUpdateFirstWeekDayRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateFirstWeekDayRequestWithBody generates requests for UpdateFirstWeekDay with any type of body
func NewUpdateHabitRequest ¶ added in v0.4.0
func NewUpdateHabitRequest(server string, habitId int64, body UpdateHabitJSONRequestBody) (*http.Request, error)
NewUpdateHabitRequest calls the generic UpdateHabit builder with application/json body
func NewUpdateHabitRequestWithBody ¶ added in v0.4.0
func NewUpdateHabitRequestWithBody(server string, habitId int64, contentType string, body io.Reader) (*http.Request, error)
NewUpdateHabitRequestWithBody generates requests for UpdateHabit with any type of body
func NewUpdateJournalEntryRequest ¶
func NewUpdateJournalEntryRequest(server string, day string, body UpdateJournalEntryJSONRequestBody) (*http.Request, error)
NewUpdateJournalEntryRequest calls the generic UpdateJournalEntry builder with application/json body
func NewUpdateJournalEntryRequestWithBody ¶
func NewUpdateJournalEntryRequestWithBody(server string, day string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateJournalEntryRequestWithBody generates requests for UpdateJournalEntry with any type of body
func NewUpdateMessageRequest ¶ added in v0.22.0
func NewUpdateMessageRequest(server string, messageId int64, body UpdateMessageJSONRequestBody) (*http.Request, error)
NewUpdateMessageRequest calls the generic UpdateMessage builder with application/json body
func NewUpdateMessageRequestWithBody ¶ added in v0.22.0
func NewUpdateMessageRequestWithBody(server string, messageId int64, contentType string, body io.Reader) (*http.Request, error)
NewUpdateMessageRequestWithBody generates requests for UpdateMessage with any type of body
func NewUpdateMyClearanceRequest ¶ added in v0.7.0
func NewUpdateMyClearanceRequest(server string, clearanceId int64, body UpdateMyClearanceJSONRequestBody) (*http.Request, error)
NewUpdateMyClearanceRequest calls the generic UpdateMyClearance builder with application/json body
func NewUpdateMyClearanceRequestWithBody ¶ added in v0.7.0
func NewUpdateMyClearanceRequestWithBody(server string, clearanceId int64, contentType string, body io.Reader) (*http.Request, error)
NewUpdateMyClearanceRequestWithBody generates requests for UpdateMyClearance with any type of body
func NewUpdateStickyRequest ¶ added in v0.4.0
func NewUpdateStickyRequest(server string, stickyId int64, body UpdateStickyJSONRequestBody) (*http.Request, error)
NewUpdateStickyRequest calls the generic UpdateSticky builder with application/json body
func NewUpdateStickyRequestWithBody ¶ added in v0.4.0
func NewUpdateStickyRequestWithBody(server string, stickyId int64, contentType string, body io.Reader) (*http.Request, error)
NewUpdateStickyRequestWithBody generates requests for UpdateSticky with any type of body
func NewUpdateTimeFormatRequest ¶ added in v0.23.0
func NewUpdateTimeFormatRequest(server string, body UpdateTimeFormatJSONRequestBody) (*http.Request, error)
NewUpdateTimeFormatRequest calls the generic UpdateTimeFormat builder with application/json body
func NewUpdateTimeFormatRequestWithBody ¶ added in v0.23.0
func NewUpdateTimeFormatRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateTimeFormatRequestWithBody generates requests for UpdateTimeFormat with any type of body
func NewUpdateTimeTrackRequest ¶
func NewUpdateTimeTrackRequest(server string, timeTrackId int64, body UpdateTimeTrackJSONRequestBody) (*http.Request, error)
NewUpdateTimeTrackRequest calls the generic UpdateTimeTrack builder with application/json body
Types ¶
type APIError ¶
type APIError struct {
// Code is a machine-readable error code.
Code string
// Message is a human-readable error message.
Message string
// Hint provides additional context or suggestions for resolution.
Hint string
// HTTPStatus is the HTTP status code that triggered this error.
HTTPStatus int
// Retryable indicates whether the operation can be retried.
Retryable bool
// Cause is the underlying error, if any.
Cause error
}
APIError is a structured error with code, message, and optional hint.
func AsAPIError ¶
AsAPIError attempts to convert an error to an *APIError. If the error is not an *APIError, it wraps it in one.
func NewAPIError ¶
NewAPIError creates an API error with an HTTP status code.
func NewAmbiguousError ¶
NewAmbiguousError creates an ambiguous match error.
func NewAuthError ¶
NewAuthError creates an authentication error.
func NewForbiddenError ¶
NewForbiddenError creates a forbidden error.
func NewForbiddenScopeError ¶
func NewForbiddenScopeError() *APIError
NewForbiddenScopeError creates a forbidden error due to insufficient scope.
func NewNetworkError ¶
NewNetworkError creates a network error.
func NewNotFoundError ¶
NewNotFoundError creates a not-found error.
func NewNotFoundErrorWithHint ¶
NewNotFoundErrorWithHint creates a not-found error with a hint.
func NewRateLimitError ¶
NewRateLimitError creates a rate-limit error.
func NewUsageErrorWithHint ¶
NewUsageErrorWithHint creates a usage error with a hint.
func ParseHTTPError ¶
ParseHTTPError converts an HTTP response to an appropriate APIError.
func (*APIError) IsRetryable ¶
IsRetryable returns whether this error indicates a retryable condition.
type Account ¶
type Account struct {
Burner bool `json:"burner,omitempty"`
Domain string `json:"domain,omitempty"`
Id int64 `json:"id"`
Name string `json:"name,omitempty"`
Purpose string `json:"purpose,omitempty"`
Readonly bool `json:"readonly,omitempty"`
Status string `json:"status,omitempty"`
Trial bool `json:"trial,omitempty"`
TrialEndsOn types.Date `json:"trial_ends_on,omitempty,omitzero"`
}
Account Account — a HEY account
type AddPostingsToBoxGroupJSONRequestBody ¶ added in v0.4.0
type AddPostingsToBoxGroupJSONRequestBody = AddPostingsToBoxGroupRequestContent
AddPostingsToBoxGroupJSONRequestBody defines body for AddPostingsToBoxGroup for application/json ContentType.
type AddPostingsToBoxGroupRequestContent ¶ added in v0.4.0
type AddPostingsToBoxGroupRequestContent struct {
BoxGroupId int64 `json:"box_group_id"`
BoxId int64 `json:"box_id"`
PostingIds []int64 `json:"posting_ids"`
}
AddPostingsToBoxGroupRequestContent defines model for AddPostingsToBoxGroupRequestContent.
type AddPostingsToBoxGroupResponse ¶ added in v0.4.0
type AddPostingsToBoxGroupResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseAddPostingsToBoxGroupResponse ¶ added in v0.4.0
func ParseAddPostingsToBoxGroupResponse(rsp *http.Response) (*AddPostingsToBoxGroupResponse, error)
ParseAddPostingsToBoxGroupResponse parses an HTTP response from a AddPostingsToBoxGroupWithResponse call
func (AddPostingsToBoxGroupResponse) ContentType ¶ added in v0.4.0
func (r AddPostingsToBoxGroupResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AddPostingsToBoxGroupResponse) GetBody ¶ added in v0.4.0
func (r AddPostingsToBoxGroupResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AddPostingsToBoxGroupResponse) GetJSON401 ¶ added in v0.4.0
func (r AddPostingsToBoxGroupResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (AddPostingsToBoxGroupResponse) GetJSON404 ¶ added in v0.4.0
func (r AddPostingsToBoxGroupResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (AddPostingsToBoxGroupResponse) GetJSON500 ¶ added in v0.4.0
func (r AddPostingsToBoxGroupResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (AddPostingsToBoxGroupResponse) GetJSON503 ¶ added in v0.4.0
func (r AddPostingsToBoxGroupResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (AddPostingsToBoxGroupResponse) Status ¶ added in v0.4.0
func (r AddPostingsToBoxGroupResponse) Status() string
Status returns HTTPResponse.Status
func (AddPostingsToBoxGroupResponse) StatusCode ¶ added in v0.4.0
func (r AddPostingsToBoxGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Addressed ¶
type Addressed struct {
Blindcopied []Contact `json:"blindcopied,omitempty"`
Copied []Contact `json:"copied,omitempty"`
Directly []Contact `json:"directly,omitempty"`
}
Addressed Addressed recipients
type AddressedSender ¶
type AddressedSender struct {
Directly []Contact `json:"directly,omitempty"`
}
AddressedSender AddressedSender — sender context
type AdvancedSearchFilters ¶ added in v0.4.0
type AdvancedSearchFilters struct {
RefineAttachments []SearchFilterItem `json:"refine_attachments,omitempty"`
RefineDates []SearchFilterItem `json:"refine_dates,omitempty"`
RefineIn []SearchFilterItem `json:"refine_in,omitempty"`
RefineLabels []SearchFilterItem `json:"refine_labels,omitempty"`
}
AdvancedSearchFilters AdvancedSearchFilters — the options the advanced search refine form offers
type AdvancedSearchParams ¶ added in v0.4.0
type AdvancedSearchParams struct {
// Q The words to search for
Q *string `form:"q,omitempty" json:"q,omitempty"`
Page *string `form:"page,omitempty" json:"page,omitempty"`
// RefineFrom Refinements, e.g. refine[from], refine[to], refine[subject], refine[exact_phrase],
// refine[required], refine[any], refine[none], refine[date], refine[in], refine[label],
// refine[attachment] — passed through as the page sends them.
RefineFrom *string `form:"refine[from],omitempty" json:"refine[from],omitempty"`
RefineTo *string `form:"refine[to],omitempty" json:"refine[to],omitempty"`
RefineSubject *string `form:"refine[subject],omitempty" json:"refine[subject],omitempty"`
RefineExactPhrase *string `form:"refine[exact_phrase],omitempty" json:"refine[exact_phrase],omitempty"`
RefineRequired *string `form:"refine[required],omitempty" json:"refine[required],omitempty"`
RefineAny *string `form:"refine[any],omitempty" json:"refine[any],omitempty"`
RefineNone *string `form:"refine[none],omitempty" json:"refine[none],omitempty"`
RefineDate *string `form:"refine[date],omitempty" json:"refine[date],omitempty"`
RefineIn *string `form:"refine[in],omitempty" json:"refine[in],omitempty"`
RefineLabel *string `form:"refine[label],omitempty" json:"refine[label],omitempty"`
RefineAttachment *string `form:"refine[attachment],omitempty" json:"refine[attachment],omitempty"`
}
AdvancedSearchParams defines parameters for AdvancedSearch.
type AdvancedSearchResponse ¶ added in v0.4.0
type AdvancedSearchResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AdvancedSearchResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseAdvancedSearchResponse ¶ added in v0.4.0
func ParseAdvancedSearchResponse(rsp *http.Response) (*AdvancedSearchResponse, error)
ParseAdvancedSearchResponse parses an HTTP response from a AdvancedSearchWithResponse call
func (AdvancedSearchResponse) ContentType ¶ added in v0.4.0
func (r AdvancedSearchResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AdvancedSearchResponse) GetBody ¶ added in v0.4.0
func (r AdvancedSearchResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AdvancedSearchResponse) GetJSON200 ¶ added in v0.4.0
func (r AdvancedSearchResponse) GetJSON200() *AdvancedSearchResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AdvancedSearchResponse) GetJSON401 ¶ added in v0.4.0
func (r AdvancedSearchResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (AdvancedSearchResponse) GetJSON500 ¶ added in v0.4.0
func (r AdvancedSearchResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (AdvancedSearchResponse) GetJSON503 ¶ added in v0.4.0
func (r AdvancedSearchResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (AdvancedSearchResponse) Status ¶ added in v0.4.0
func (r AdvancedSearchResponse) Status() string
Status returns HTTPResponse.Status
func (AdvancedSearchResponse) StatusCode ¶ added in v0.4.0
func (r AdvancedSearchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AdvancedSearchResponseContent ¶ added in v0.4.0
type AdvancedSearchResponseContent = AdvancedSearchResult
AdvancedSearchResponseContent defines model for AdvancedSearchResponseContent.
type AdvancedSearchResult ¶ added in v0.4.0
type AdvancedSearchResult struct {
Matches []SearchMatch `json:"matches"`
}
AdvancedSearchResult defines model for AdvancedSearchResult.
type AttachedEntry ¶
type AttachedEntry struct {
AppUrl string `json:"app_url,omitempty"`
Id int64 `json:"id"`
Kind string `json:"kind,omitempty"`
Title string `json:"title,omitempty"`
}
AttachedEntry AttachedEntry — entry reference on a calendar event
type Attendance ¶
type Attendance struct {
EmailAddress string `json:"email_address,omitempty"`
Id int64 `json:"id"`
Name string `json:"name,omitempty"`
Status string `json:"status,omitempty"`
}
Attendance Attendance — calendar event attendee
type AuthTransport ¶
type AuthTransport struct {
// TokenProvider supplies access tokens for requests.
TokenProvider TokenProvider
// Base is the underlying transport. If nil, http.DefaultTransport is used.
Base http.RoundTripper
// UserAgent is the User-Agent header value. If empty, a default is used.
UserAgent string
}
AuthTransport is an http.RoundTripper that adds Bearer token authentication.
type BadRequestErrorResponseContent ¶ added in v0.4.0
type BadRequestErrorResponseContent struct {
Message string `json:"message"`
}
BadRequestErrorResponseContent defines model for BadRequestErrorResponseContent.
type Box ¶
type Box struct {
AppUrl string `json:"app_url,omitempty"`
Id int64 `json:"id"`
Kind string `json:"kind"`
Name string `json:"name"`
PostingChangesUrl string `json:"posting_changes_url,omitempty"`
SignedStreamName string `json:"signed_stream_name,omitempty"`
UpdatesChannels []UpdatesChannel `json:"updates_channels,omitempty"`
Url string `json:"url,omitempty"`
}
Box Box — a HEY mailbox
type BoxGroup ¶ added in v0.4.0
type BoxGroup struct {
Id int64 `json:"id"`
}
BoxGroup BoxGroup — a Set Aside group. The API only ever returns the id.
type BoxGroupsResponse ¶ added in v0.4.0
type BoxGroupsResponse struct {
BoxGroups []BoxGroup `json:"box_groups,omitempty"`
}
BoxGroupsResponse BoxGroupsResponse — the wrapper the groups index answers with
type BoxShowResponse ¶
type BoxShowResponse struct {
AppUrl string `json:"app_url,omitempty"`
Id int64 `json:"id"`
Kind string `json:"kind"`
Name string `json:"name"`
NextHistoryUrl string `json:"next_history_url,omitempty"`
NextIncrementalSyncUrl string `json:"next_incremental_sync_url,omitempty"`
PostingChangesUrl string `json:"posting_changes_url,omitempty"`
Postings []Posting `json:"postings,omitempty"`
SignedStreamName string `json:"signed_stream_name,omitempty"`
UpdatesChannels []UpdatesChannel `json:"updates_channels,omitempty"`
Url string `json:"url,omitempty"`
}
BoxShowResponse BoxShowResponse — box detail with postings. The API can return fields at root level or nested under a `box` key. SDK response decoders normalize the nested variant to flat before decoding.
type BubbleUpPostingsNowJSONRequestBody ¶ added in v0.4.0
type BubbleUpPostingsNowJSONRequestBody = MarkPostingsRequestContent
BubbleUpPostingsNowJSONRequestBody defines body for BubbleUpPostingsNow for application/json ContentType.
type BubbleUpPostingsNowResponse ¶ added in v0.4.0
type BubbleUpPostingsNowResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseBubbleUpPostingsNowResponse ¶ added in v0.4.0
func ParseBubbleUpPostingsNowResponse(rsp *http.Response) (*BubbleUpPostingsNowResponse, error)
ParseBubbleUpPostingsNowResponse parses an HTTP response from a BubbleUpPostingsNowWithResponse call
func (BubbleUpPostingsNowResponse) ContentType ¶ added in v0.4.0
func (r BubbleUpPostingsNowResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (BubbleUpPostingsNowResponse) GetBody ¶ added in v0.4.0
func (r BubbleUpPostingsNowResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (BubbleUpPostingsNowResponse) GetJSON401 ¶ added in v0.4.0
func (r BubbleUpPostingsNowResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (BubbleUpPostingsNowResponse) GetJSON404 ¶ added in v0.4.0
func (r BubbleUpPostingsNowResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (BubbleUpPostingsNowResponse) GetJSON500 ¶ added in v0.4.0
func (r BubbleUpPostingsNowResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (BubbleUpPostingsNowResponse) GetJSON503 ¶ added in v0.4.0
func (r BubbleUpPostingsNowResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (BubbleUpPostingsNowResponse) Status ¶ added in v0.4.0
func (r BubbleUpPostingsNowResponse) Status() string
Status returns HTTPResponse.Status
func (BubbleUpPostingsNowResponse) StatusCode ¶ added in v0.4.0
func (r BubbleUpPostingsNowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BubbleUpSchedule ¶
type BubbleUpSchedule struct {
// BubbleUpAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
BubbleUpAt time.Time `json:"bubble_up_at,omitempty,omitzero"`
SurpriseMe bool `json:"surprise_me,omitempty"`
}
BubbleUpSchedule BubbleUpSchedule
type BulkReplyDelivery ¶ added in v0.4.0
type BulkReplyDelivery struct {
// Delayed True while the send is held open for undo.
Delayed bool `json:"delayed"`
EntriesCount int32 `json:"entries_count"`
Id int64 `json:"id"`
// UndoSendUrl Where to POST to call the replies back, present only while delayed.
UndoSendUrl string `json:"undo_send_url,omitempty"`
}
BulkReplyDelivery defines model for BulkReplyDelivery.
type BulkReplyDraft ¶ added in v0.4.0
type BulkReplyDraft struct {
// Content The prefilled body — the name tag when every thread is on the same account.
Content string `json:"content"`
Entries []BulkReplyEntry `json:"entries"`
}
BulkReplyDraft The reply as HEY would send it: the prefilled content and the entries it goes to.
type BulkReplyEntry ¶ added in v0.4.0
type BulkReplyEntry struct {
// Addressed Addressed recipients
Addressed Addressed `json:"addressed"`
Id int64 `json:"id"`
TopicId int64 `json:"topic_id"`
TopicName string `json:"topic_name"`
}
BulkReplyEntry One thread a bulk reply answers, with the recipients that thread's reply goes to.
type BulkReplyMessagePayload ¶ added in v0.4.0
type BulkReplyMessagePayload struct {
Content string `json:"content"`
}
BulkReplyMessagePayload defines model for BulkReplyMessagePayload.
type BulkReplyRequestContent ¶ added in v0.4.0
type BulkReplyRequestContent struct {
EntryIds []int64 `json:"entry_ids"`
Message BulkReplyMessagePayload `json:"message"`
}
BulkReplyRequestContent Wire format: {entry_ids: [...], message: {content}}
type BulkUpdateClearancesJSONRequestBody ¶ added in v0.7.0
type BulkUpdateClearancesJSONRequestBody = BulkUpdateClearancesRequestContent
BulkUpdateClearancesJSONRequestBody defines body for BulkUpdateClearances for application/json ContentType.
type BulkUpdateClearancesRequestContent ¶ added in v0.7.0
type BulkUpdateClearancesRequestContent struct {
Ids string `json:"ids"`
Spam *bool `json:"spam,omitempty"`
Status string `json:"status"`
}
BulkUpdateClearancesRequestContent defines model for BulkUpdateClearancesRequestContent.
type BulkUpdateClearancesResponse ¶ added in v0.7.0
type BulkUpdateClearancesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BulkUpdateClearancesResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseBulkUpdateClearancesResponse ¶ added in v0.7.0
func ParseBulkUpdateClearancesResponse(rsp *http.Response) (*BulkUpdateClearancesResponse, error)
ParseBulkUpdateClearancesResponse parses an HTTP response from a BulkUpdateClearancesWithResponse call
func (BulkUpdateClearancesResponse) ContentType ¶ added in v0.7.0
func (r BulkUpdateClearancesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (BulkUpdateClearancesResponse) GetBody ¶ added in v0.7.0
func (r BulkUpdateClearancesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (BulkUpdateClearancesResponse) GetJSON200 ¶ added in v0.7.0
func (r BulkUpdateClearancesResponse) GetJSON200() *BulkUpdateClearancesResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (BulkUpdateClearancesResponse) GetJSON401 ¶ added in v0.7.0
func (r BulkUpdateClearancesResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (BulkUpdateClearancesResponse) GetJSON404 ¶ added in v0.7.0
func (r BulkUpdateClearancesResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (BulkUpdateClearancesResponse) GetJSON500 ¶ added in v0.7.0
func (r BulkUpdateClearancesResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (BulkUpdateClearancesResponse) GetJSON503 ¶ added in v0.7.0
func (r BulkUpdateClearancesResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (BulkUpdateClearancesResponse) Status ¶ added in v0.7.0
func (r BulkUpdateClearancesResponse) Status() string
Status returns HTTPResponse.Status
func (BulkUpdateClearancesResponse) StatusCode ¶ added in v0.7.0
func (r BulkUpdateClearancesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BulkUpdateClearancesResponseContent ¶ added in v0.7.0
type BulkUpdateClearancesResponseContent = ClearanceListResponse
BulkUpdateClearancesResponseContent ClearanceListResponse — wire format: {clearances: [...]}
type BundleContactResponse ¶ added in v0.4.0
type BundleContactResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ForbiddenErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseBundleContactResponse ¶ added in v0.4.0
func ParseBundleContactResponse(rsp *http.Response) (*BundleContactResponse, error)
ParseBundleContactResponse parses an HTTP response from a BundleContactWithResponse call
func (BundleContactResponse) ContentType ¶ added in v0.4.0
func (r BundleContactResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (BundleContactResponse) GetBody ¶ added in v0.4.0
func (r BundleContactResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (BundleContactResponse) GetJSON401 ¶ added in v0.4.0
func (r BundleContactResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (BundleContactResponse) GetJSON403 ¶ added in v0.4.0
func (r BundleContactResponse) GetJSON403() *ForbiddenErrorResponseContent
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (BundleContactResponse) GetJSON404 ¶ added in v0.4.0
func (r BundleContactResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (BundleContactResponse) GetJSON500 ¶ added in v0.4.0
func (r BundleContactResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (BundleContactResponse) GetJSON503 ¶ added in v0.4.0
func (r BundleContactResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (BundleContactResponse) Status ¶ added in v0.4.0
func (r BundleContactResponse) Status() string
Status returns HTTPResponse.Status
func (BundleContactResponse) StatusCode ¶ added in v0.4.0
func (r BundleContactResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CachingTransport ¶
type CachingTransport struct {
// Cache stores responses by URL.
Cache ResponseCache
// Base is the underlying transport. If nil, http.DefaultTransport is used.
Base http.RoundTripper
}
CachingTransport is an http.RoundTripper that implements ETag-based caching.
type Calendar ¶
type Calendar struct {
Color string `json:"color,omitempty"`
// CreatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
CreatedAt time.Time `json:"created_at,omitempty,omitzero"`
External bool `json:"external,omitempty"`
Id int64 `json:"id"`
Kind string `json:"kind,omitempty"`
Name string `json:"name,omitempty"`
OccurrencesUrl string `json:"occurrences_url,omitempty"`
Owned bool `json:"owned,omitempty"`
OwnerEmailAddress string `json:"owner_email_address,omitempty"`
Personal bool `json:"personal,omitempty"`
RecordingsUrl string `json:"recordings_url,omitempty"`
// UpdatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
UpdatedAt time.Time `json:"updated_at,omitempty,omitzero"`
Url string `json:"url,omitempty"`
}
Calendar Calendar
type CalendarDayListPayload ¶ added in v0.16.0
type CalendarDayListPayload struct {
Days []CalendarPeriod `json:"days"`
}
CalendarDayListPayload defines model for CalendarDayListPayload.
type CalendarListPayload ¶
type CalendarListPayload struct {
CalendarChangesUrl string `json:"calendar_changes_url,omitempty"`
Calendars []CalendarWithRecordingChangesUrl `json:"calendars,omitempty"`
// SelectedCalendarIds The calendars every period read is drawn from. ToggleCalendar changes this and
// answers the new one, so a client reads it here once — to open on what is already
// on — and takes it from the toggle after that.
SelectedCalendarIds []int64 `json:"selected_calendar_ids,omitempty"`
}
CalendarListPayload CalendarListPayload
type CalendarPeriod ¶ added in v0.16.0
type CalendarPeriod struct {
// EndsAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
EndsAt time.Time `json:"ends_at"`
// Kind "day" or "week"
Kind string `json:"kind"`
// Recordings CalendarRecordingsResponse — recordings grouped by type
Recordings CalendarRecordingsResponse `json:"recordings"`
// StartsAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
StartsAt time.Time `json:"starts_at"`
}
CalendarPeriod CalendarPeriod — a day or a week: its bounds and everything in it, grouped by type. Recurring events arrive expanded into the occurrences that fall inside the window, which is what makes this a different answer than the recordings a calendar lists.
type CalendarRecordingsResponse ¶
CalendarRecordingsResponse CalendarRecordingsResponse — recordings grouped by type
type CalendarSelection ¶ added in v0.16.0
type CalendarSelection struct {
SelectedCalendarIds []int64 `json:"selected_calendar_ids"`
}
CalendarSelection CalendarSelection — the calendars a toggle left switched on
type CalendarTodoChanges ¶ added in v0.14.0
type CalendarTodoChanges struct {
Focused *bool `json:"focused,omitempty"`
// StartsAt Date string (YYYY-MM-DD). The day the todo is filed on.
StartsAt *time.Time `json:"starts_at,omitempty,omitzero"`
Title string `json:"title,omitempty"`
}
CalendarTodoChanges Nothing here is required: a rename sends a title and leaves the day alone.
type CalendarTodoPayload ¶ added in v0.2.0
type CalendarTodoPayload struct {
// StartsAt Date string (YYYY-MM-DD). Defaults to today if omitted.
StartsAt *time.Time `json:"starts_at,omitempty,omitzero"`
Title string `json:"title"`
}
CalendarTodoPayload defines model for CalendarTodoPayload.
type CalendarWeekListPayload ¶ added in v0.16.0
type CalendarWeekListPayload struct {
Weeks []CalendarPeriod `json:"weeks"`
}
CalendarWeekListPayload defines model for CalendarWeekListPayload.
type CalendarWithRecordingChangesUrl ¶
type CalendarWithRecordingChangesUrl struct {
// Calendar Calendar
Calendar Calendar `json:"calendar,omitempty"`
RecordingChangesUrl string `json:"recording_changes_url,omitempty"`
}
CalendarWithRecordingChangesUrl CalendarWithRecordingChangesUrl — wraps calendar with sync URL
type CalendarYear ¶ added in v0.16.0
type CalendarYear struct {
Days []CalendarYearDay `json:"days"`
// EndsAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
EndsAt time.Time `json:"ends_at"`
// Kind "year"
Kind string `json:"kind"`
// PaddingDaysCount Days between the reader's week start and January 1st, so the grid lines up
PaddingDaysCount int32 `json:"padding_days_count"`
// SpannedEvents All-day and multi-day events, oldest first
SpannedEvents []Recording `json:"spanned_events"`
// StartsAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
StartsAt time.Time `json:"starts_at"`
}
CalendarYear CalendarYear — the grid a year is drawn as. A year carries one entry per day plus the events that span more than one, not every recording it holds: a year's worth of expanded occurrences is not something a client asks for by opening a year.
type CalendarYearDay ¶ added in v0.16.0
type CalendarYearDay struct {
Backgrounded bool `json:"backgrounded"`
// StartsAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
StartsAt time.Time `json:"starts_at"`
}
CalendarYearDay defines model for CalendarYearDay.
type CampfiresService ¶
type CampfiresService struct {
// contains filtered or unexported fields
}
CampfiresService provides campfire-related operations.
type CancelPostingsBubbleUpParams ¶ added in v0.4.0
type CancelPostingsBubbleUpParams struct {
// PostingIds Posting ids as a comma-joined string, for verbs that carry no body
PostingIds string `form:"posting_ids" json:"posting_ids"`
}
CancelPostingsBubbleUpParams defines parameters for CancelPostingsBubbleUp.
type CancelPostingsBubbleUpResponse ¶ added in v0.4.0
type CancelPostingsBubbleUpResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseCancelPostingsBubbleUpResponse ¶ added in v0.4.0
func ParseCancelPostingsBubbleUpResponse(rsp *http.Response) (*CancelPostingsBubbleUpResponse, error)
ParseCancelPostingsBubbleUpResponse parses an HTTP response from a CancelPostingsBubbleUpWithResponse call
func (CancelPostingsBubbleUpResponse) ContentType ¶ added in v0.4.0
func (r CancelPostingsBubbleUpResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CancelPostingsBubbleUpResponse) GetBody ¶ added in v0.4.0
func (r CancelPostingsBubbleUpResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CancelPostingsBubbleUpResponse) GetJSON401 ¶ added in v0.4.0
func (r CancelPostingsBubbleUpResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CancelPostingsBubbleUpResponse) GetJSON404 ¶ added in v0.4.0
func (r CancelPostingsBubbleUpResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CancelPostingsBubbleUpResponse) GetJSON500 ¶ added in v0.4.0
func (r CancelPostingsBubbleUpResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (CancelPostingsBubbleUpResponse) GetJSON503 ¶ added in v0.4.0
func (r CancelPostingsBubbleUpResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (CancelPostingsBubbleUpResponse) Status ¶ added in v0.4.0
func (r CancelPostingsBubbleUpResponse) Status() string
Status returns HTTPResponse.Status
func (CancelPostingsBubbleUpResponse) StatusCode ¶ added in v0.4.0
func (r CancelPostingsBubbleUpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CardsService ¶
type CardsService struct {
// contains filtered or unexported fields
}
CardsService provides card-related operations.
type Clearance ¶
type Clearance struct {
// CreatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
CreatedAt time.Time `json:"created_at,omitempty,omitzero"`
Id int64 `json:"id"`
// MostRecentEntry Entry — a message entry within a topic
MostRecentEntry Entry `json:"most_recent_entry,omitempty"`
// Petitioner Contact — the identity of someone in HEY
Petitioner Contact `json:"petitioner,omitempty"`
Status string `json:"status,omitempty"`
// UpdatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
UpdatedAt time.Time `json:"updated_at,omitempty,omitzero"`
}
Clearance Clearance — screening status for a contact
petitioner and most_recent_entry are only filled in by the Screener reads. The contact reads answer a clearance with nothing but its id and status.
type ClearanceListResponse ¶ added in v0.7.0
type ClearanceListResponse struct {
Clearances []Clearance `json:"clearances,omitempty"`
}
ClearanceListResponse ClearanceListResponse — wire format: {clearances: [...]}
type ClearanceSummary ¶ added in v0.4.0
type ClearanceSummary struct {
Clearances []Clearance `json:"clearances,omitempty"`
PendingClearancesCount int32 `json:"pending_clearances_count,omitempty"`
SignedStreamName string `json:"signed_stream_name,omitempty"`
}
ClearanceSummary ClearanceSummary — the Screener's pending count, and the queue itself when asked for
clearances is only present when the read passes include_clearances. Without it HEY answers the count alone, which is what its own apps sync.
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
// RetryConfig for idempotent operations
RetryConfig RetryConfig
// Logger for debug output (optional)
Logger *slog.Logger
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) AddPostingsToBoxGroup ¶ added in v0.4.0
func (c *Client) AddPostingsToBoxGroup(ctx context.Context, body AddPostingsToBoxGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AddPostingsToBoxGroupWithBody ¶ added in v0.4.0
func (*Client) AdvancedSearch ¶ added in v0.4.0
func (c *Client) AdvancedSearch(ctx context.Context, params *AdvancedSearchParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BubbleUpPostingsNow ¶ added in v0.4.0
func (c *Client) BubbleUpPostingsNow(ctx context.Context, body BubbleUpPostingsNowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BubbleUpPostingsNowWithBody ¶ added in v0.4.0
func (*Client) BulkUpdateClearances ¶ added in v0.7.0
func (c *Client) BulkUpdateClearances(ctx context.Context, body BulkUpdateClearancesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BulkUpdateClearancesWithBody ¶ added in v0.7.0
func (*Client) BundleContact ¶ added in v0.4.0
func (*Client) Campfires ¶
func (c *Client) Campfires() *CampfiresService
Campfires returns the CampfiresService.
func (*Client) CancelPostingsBubbleUp ¶ added in v0.4.0
func (c *Client) CancelPostingsBubbleUp(ctx context.Context, params *CancelPostingsBubbleUpParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) Comments ¶
func (c *Client) Comments() *CommentsService
Comments returns the CommentsService.
func (*Client) CompleteCalendarTodo ¶
func (*Client) CompleteHabit ¶
func (*Client) CreateBoxDesignation ¶ added in v0.4.0
func (c *Client) CreateBoxDesignation(ctx context.Context, boxId int64, body CreateBoxDesignationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateBoxDesignationWithBody ¶ added in v0.4.0
func (*Client) CreateBoxGroup ¶ added in v0.4.0
func (c *Client) CreateBoxGroup(ctx context.Context, boxId int64, body CreateBoxGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateBoxGroupWithBody ¶ added in v0.4.0
func (*Client) CreateBulkReply ¶ added in v0.4.0
func (c *Client) CreateBulkReply(ctx context.Context, body CreateBulkReplyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateBulkReplyWithBody ¶ added in v0.4.0
func (*Client) CreateCalendarTodo ¶
func (c *Client) CreateCalendarTodo(ctx context.Context, body CreateCalendarTodoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateCalendarTodoWithBody ¶
func (*Client) CreateContact ¶ added in v0.4.0
func (c *Client) CreateContact(ctx context.Context, body CreateContactJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateContactWithBody ¶ added in v0.4.0
func (*Client) CreateDirectUpload ¶ added in v0.5.0
func (c *Client) CreateDirectUpload(ctx context.Context, body CreateDirectUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateDirectUploadWithBody ¶ added in v0.5.0
func (*Client) CreateFolderForPostings ¶ added in v0.4.0
func (c *Client) CreateFolderForPostings(ctx context.Context, body CreateFolderForPostingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateFolderForPostingsWithBody ¶ added in v0.4.0
func (*Client) CreateHabit ¶ added in v0.4.0
func (c *Client) CreateHabit(ctx context.Context, body CreateHabitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateHabitWithBody ¶ added in v0.4.0
func (*Client) CreateMessage ¶
func (c *Client) CreateMessage(ctx context.Context, body CreateMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateMessageWithBody ¶
func (*Client) CreateReply ¶
func (c *Client) CreateReply(ctx context.Context, entryId int64, body CreateReplyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateReplyWithBody ¶
func (*Client) CreateSticky ¶ added in v0.4.0
func (c *Client) CreateSticky(ctx context.Context, body CreateStickyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateStickyWithBody ¶ added in v0.4.0
func (*Client) CreateTimeTrack ¶ added in v0.4.0
func (c *Client) CreateTimeTrack(ctx context.Context, body CreateTimeTrackJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateTimeTrackWithBody ¶ added in v0.4.0
func (*Client) CreateWorkflowStaging ¶ added in v0.12.0
func (*Client) DeleteBoxDesignation ¶ added in v0.4.0
func (*Client) DeleteBoxGroup ¶ added in v0.4.0
func (*Client) DeleteCalendarTodo ¶
func (*Client) DeleteContactNote ¶ added in v0.4.0
func (*Client) DeleteDraft ¶ added in v0.22.0
func (*Client) DeleteHabit ¶ added in v0.4.0
func (*Client) DeleteSticky ¶ added in v0.4.0
func (*Client) DeleteTimeTrack ¶ added in v0.4.0
func (*Client) Documents ¶
func (c *Client) Documents() *DocumentsService
Documents returns the DocumentsService.
func (*Client) EmptyTrash ¶ added in v0.4.0
func (*Client) FilePostings ¶ added in v0.4.0
func (c *Client) FilePostings(ctx context.Context, body FilePostingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) FilePostingsWithBody ¶ added in v0.4.0
func (*Client) GetAdvancedSearchFilters ¶ added in v0.4.0
func (*Client) GetAsidebox ¶
func (c *Client) GetAsidebox(ctx context.Context, params *GetAsideboxParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetBox ¶
func (c *Client) GetBox(ctx context.Context, boxId int64, params *GetBoxParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetBoxPostingChanges ¶ added in v0.6.0
func (c *Client) GetBoxPostingChanges(ctx context.Context, boxId int64, params *GetBoxPostingChangesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetBubblebox ¶
func (c *Client) GetBubblebox(ctx context.Context, params *GetBubbleboxParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetBundleUnseenPostings ¶ added in v0.26.0
func (c *Client) GetBundleUnseenPostings(ctx context.Context, postingId int64, params *GetBundleUnseenPostingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetCalendarDay ¶ added in v0.16.0
func (*Client) GetCalendarRecordings ¶
func (c *Client) GetCalendarRecordings(ctx context.Context, calendarId int64, params *GetCalendarRecordingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetCalendarWeek ¶ added in v0.16.0
func (*Client) GetCalendarYear ¶ added in v0.16.0
func (*Client) GetClearances ¶ added in v0.4.0
func (c *Client) GetClearances(ctx context.Context, params *GetClearancesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetCollection ¶ added in v0.8.0
func (c *Client) GetCollection(ctx context.Context, collectionId int64, params *GetCollectionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetContact ¶
func (c *Client) GetContact(ctx context.Context, contactId int64, params *GetContactParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetContactNote ¶ added in v0.4.0
func (*Client) GetEverythingTopics ¶
func (c *Client) GetEverythingTopics(ctx context.Context, params *GetEverythingTopicsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetFeedbox ¶
func (c *Client) GetFeedbox(ctx context.Context, params *GetFeedboxParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetFolder ¶ added in v0.4.0
func (c *Client) GetFolder(ctx context.Context, folderId int64, params *GetFolderParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetIdentity ¶
func (*Client) GetImbox ¶
func (c *Client) GetImbox(ctx context.Context, params *GetImboxParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetImboxSeen ¶ added in v0.28.0
func (c *Client) GetImboxSeen(ctx context.Context, params *GetImboxSeenParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetJournalEntry ¶
func (*Client) GetLaterbox ¶
func (c *Client) GetLaterbox(ctx context.Context, params *GetLaterboxParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetMessage ¶
func (*Client) GetMessageEdit ¶ added in v0.22.0
func (*Client) GetMyClearances ¶ added in v0.7.0
func (c *Client) GetMyClearances(ctx context.Context, params *GetMyClearancesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetNavigation ¶
func (*Client) GetOngoingTimeTrack ¶
func (*Client) GetSentTopics ¶
func (c *Client) GetSentTopics(ctx context.Context, params *GetSentTopicsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetSpamTopics ¶
func (c *Client) GetSpamTopics(ctx context.Context, params *GetSpamTopicsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetTopicEntries ¶
func (c *Client) GetTopicEntries(ctx context.Context, topicId int64, params *GetTopicEntriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetTopicPublication ¶ added in v0.4.0
func (*Client) GetTrailbox ¶
func (c *Client) GetTrailbox(ctx context.Context, params *GetTrailboxParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetTrashTopics ¶
func (c *Client) GetTrashTopics(ctx context.Context, params *GetTrashTopicsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetWorkflow ¶ added in v0.4.0
func (*Client) HideContact ¶ added in v0.4.0
func (*Client) ListBoxGroups ¶ added in v0.4.0
func (*Client) ListCalendarDays ¶ added in v0.16.0
func (c *Client) ListCalendarDays(ctx context.Context, params *ListCalendarDaysParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListCalendarWeeks ¶ added in v0.16.0
func (c *Client) ListCalendarWeeks(ctx context.Context, params *ListCalendarWeeksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListCalendars ¶
func (*Client) ListClips ¶ added in v0.4.0
func (c *Client) ListClips(ctx context.Context, params *ListClipsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListCollections ¶ added in v0.4.0
func (*Client) ListContacts ¶
func (c *Client) ListContacts(ctx context.Context, params *ListContactsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListDrafts ¶
func (c *Client) ListDrafts(ctx context.Context, params *ListDraftsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListJournalEntries ¶ added in v0.15.0
func (c *Client) ListJournalEntries(ctx context.Context, params *ListJournalEntriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListSnippets ¶ added in v0.4.0
func (*Client) ListStickies ¶ added in v0.4.0
func (c *Client) ListStickies(ctx context.Context, params *ListStickiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListTimeTrackCategories ¶ added in v0.4.0
func (*Client) ListTimeTracks ¶ added in v0.20.0
func (c *Client) ListTimeTracks(ctx context.Context, params *ListTimeTracksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) MarkBoxSeen ¶ added in v0.4.0
func (*Client) MarkEntrySpam ¶ added in v0.4.0
func (*Client) MarkPostingsSeen ¶ added in v0.2.0
func (c *Client) MarkPostingsSeen(ctx context.Context, body MarkPostingsSeenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) MarkPostingsSeenWithBody ¶ added in v0.2.0
func (*Client) MarkPostingsSpam ¶ added in v0.4.0
func (c *Client) MarkPostingsSpam(ctx context.Context, body MarkPostingsSpamJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) MarkPostingsSpamWithBody ¶ added in v0.4.0
func (*Client) MarkPostingsUnseen ¶ added in v0.2.0
func (c *Client) MarkPostingsUnseen(ctx context.Context, body MarkPostingsUnseenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) MarkPostingsUnseenWithBody ¶ added in v0.2.0
func (*Client) MarkTopicHam ¶ added in v0.4.0
func (*Client) Messages ¶
func (c *Client) Messages() *MessagesService
Messages returns the MessagesService.
func (*Client) MovePostings ¶ added in v0.4.0
func (c *Client) MovePostings(ctx context.Context, body MovePostingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) MovePostingsWithBody ¶ added in v0.4.0
func (*Client) MoveSticky ¶ added in v0.4.0
func (c *Client) MoveSticky(ctx context.Context, body MoveStickyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) MoveStickyWithBody ¶ added in v0.4.0
func (*Client) MoveTopic ¶ added in v0.4.0
func (c *Client) MoveTopic(ctx context.Context, topicId int64, body MoveTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) MoveTopicWithBody ¶ added in v0.4.0
func (*Client) MoveWorkflowStaging ¶ added in v0.12.0
func (c *Client) MoveWorkflowStaging(ctx context.Context, topicId int64, workflowId int64, body MoveWorkflowStagingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) MoveWorkflowStagingWithBody ¶ added in v0.12.0
func (*Client) MutePostings ¶ added in v0.4.0
func (c *Client) MutePostings(ctx context.Context, body MutePostingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) MutePostingsWithBody ¶ added in v0.4.0
func (*Client) NewBulkReply ¶ added in v0.4.0
func (c *Client) NewBulkReply(ctx context.Context, params *NewBulkReplyParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) NewEntryForward ¶ added in v0.4.0
func (*Client) NewEntryReply ¶ added in v0.22.0
func (*Client) Projects ¶
func (c *Client) Projects() *ProjectsService
Projects returns the ProjectsService.
func (*Client) PuntClearances ¶ added in v0.7.0
func (*Client) Recordings ¶
func (c *Client) Recordings() *RecordingsService
Recordings returns the RecordingsService.
func (*Client) RemovePostingsFromBoxGroup ¶ added in v0.4.0
func (c *Client) RemovePostingsFromBoxGroup(ctx context.Context, params *RemovePostingsFromBoxGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RestoreTopic ¶ added in v0.4.0
func (*Client) ResumeHabit ¶ added in v0.4.0
func (*Client) RevealContact ¶ added in v0.4.0
func (*Client) SchedulePostingsBubbleUp ¶ added in v0.24.0
func (c *Client) SchedulePostingsBubbleUp(ctx context.Context, body SchedulePostingsBubbleUpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SchedulePostingsBubbleUpWithBody ¶ added in v0.24.0
func (*Client) Schedules ¶
func (c *Client) Schedules() *SchedulesService
Schedules returns the SchedulesService.
func (*Client) StartTimeTrack ¶
func (*Client) Templates ¶
func (c *Client) Templates() *TemplatesService
Templates returns the TemplatesService.
func (*Client) ToggleCalendar ¶ added in v0.16.0
func (*Client) TrashPostings ¶ added in v0.4.0
func (c *Client) TrashPostings(ctx context.Context, body TrashPostingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TrashPostingsWithBody ¶ added in v0.4.0
func (*Client) TrashTopic ¶ added in v0.4.0
func (c *Client) TrashTopic(ctx context.Context, topicId int64, params *TrashTopicParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UnbundleContact ¶ added in v0.4.0
func (*Client) UncompleteCalendarTodo ¶
func (*Client) UncompleteHabit ¶
func (*Client) UnfilePostings ¶ added in v0.4.0
func (c *Client) UnfilePostings(ctx context.Context, params *UnfilePostingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UnmutePostings ¶ added in v0.4.0
func (c *Client) UnmutePostings(ctx context.Context, params *UnmutePostingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateCalendarTodo ¶ added in v0.14.0
func (c *Client) UpdateCalendarTodo(ctx context.Context, todoId int64, body UpdateCalendarTodoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateCalendarTodoWithBody ¶ added in v0.14.0
func (*Client) UpdateClearance ¶ added in v0.7.0
func (c *Client) UpdateClearance(ctx context.Context, clearanceId int64, body UpdateClearanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateClearanceWithBody ¶ added in v0.7.0
func (*Client) UpdateCollection ¶ added in v0.4.0
func (c *Client) UpdateCollection(ctx context.Context, collectionId int64, body UpdateCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateCollectionWithBody ¶ added in v0.4.0
func (*Client) UpdateContact ¶ added in v0.4.0
func (c *Client) UpdateContact(ctx context.Context, contactId int64, body UpdateContactJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateContactClearance ¶ added in v0.4.0
func (c *Client) UpdateContactClearance(ctx context.Context, contactId int64, body UpdateContactClearanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateContactClearanceWithBody ¶ added in v0.4.0
func (*Client) UpdateContactNote ¶ added in v0.4.0
func (c *Client) UpdateContactNote(ctx context.Context, contactId int64, body UpdateContactNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateContactNoteWithBody ¶ added in v0.4.0
func (*Client) UpdateContactWithBody ¶ added in v0.4.0
func (*Client) UpdateFirstWeekDay ¶ added in v0.23.0
func (c *Client) UpdateFirstWeekDay(ctx context.Context, body UpdateFirstWeekDayJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateFirstWeekDayWithBody ¶ added in v0.23.0
func (*Client) UpdateHabit ¶ added in v0.4.0
func (c *Client) UpdateHabit(ctx context.Context, habitId int64, body UpdateHabitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateHabitWithBody ¶ added in v0.4.0
func (*Client) UpdateJournalEntry ¶
func (c *Client) UpdateJournalEntry(ctx context.Context, day string, body UpdateJournalEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateJournalEntryWithBody ¶
func (*Client) UpdateMessage ¶ added in v0.22.0
func (c *Client) UpdateMessage(ctx context.Context, messageId int64, body UpdateMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateMessageWithBody ¶ added in v0.22.0
func (*Client) UpdateMyClearance ¶ added in v0.7.0
func (c *Client) UpdateMyClearance(ctx context.Context, clearanceId int64, body UpdateMyClearanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateMyClearanceWithBody ¶ added in v0.7.0
func (*Client) UpdateSticky ¶ added in v0.4.0
func (c *Client) UpdateSticky(ctx context.Context, stickyId int64, body UpdateStickyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateStickyWithBody ¶ added in v0.4.0
func (*Client) UpdateTimeFormat ¶ added in v0.23.0
func (c *Client) UpdateTimeFormat(ctx context.Context, body UpdateTimeFormatJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateTimeFormatWithBody ¶ added in v0.23.0
func (*Client) UpdateTimeTrack ¶
func (c *Client) UpdateTimeTrack(ctx context.Context, timeTrackId int64, body UpdateTimeTrackJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateTimeTrackWithBody ¶
func (*Client) Uploads ¶
func (c *Client) Uploads() *UploadsService
Uploads returns the UploadsService.
func (*Client) Webhooks ¶
func (c *Client) Webhooks() *WebhooksService
Webhooks returns the WebhooksService.
type ClientInterface ¶
type ClientInterface interface {
// AdvancedSearch request
AdvancedSearch(ctx context.Context, params *AdvancedSearchParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAdvancedSearchFilters request
GetAdvancedSearchFilters(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListBoxes request
ListBoxes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBox request
GetBox(ctx context.Context, boxId int64, params *GetBoxParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateBoxDesignationWithBody request with any body
CreateBoxDesignationWithBody(ctx context.Context, boxId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateBoxDesignation(ctx context.Context, boxId int64, body CreateBoxDesignationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteBoxDesignation request
DeleteBoxDesignation(ctx context.Context, boxId int64, designationId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListBoxGroups request
ListBoxGroups(ctx context.Context, boxId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateBoxGroupWithBody request with any body
CreateBoxGroupWithBody(ctx context.Context, boxId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateBoxGroup(ctx context.Context, boxId int64, body CreateBoxGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteBoxGroup request
DeleteBoxGroup(ctx context.Context, boxId int64, groupId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// MarkBoxSeen request
MarkBoxSeen(ctx context.Context, boxId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBoxPostingChanges request
GetBoxPostingChanges(ctx context.Context, boxId int64, params *GetBoxPostingChangesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBubblebox request
GetBubblebox(ctx context.Context, params *GetBubbleboxParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateBulkReplyWithBody request with any body
CreateBulkReplyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateBulkReply(ctx context.Context, body CreateBulkReplyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// NewBulkReply request
NewBulkReply(ctx context.Context, params *NewBulkReplyParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListCalendarDays request
ListCalendarDays(ctx context.Context, params *ListCalendarDaysParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCalendarDay request
GetCalendarDay(ctx context.Context, day string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UncompleteHabit request
UncompleteHabit(ctx context.Context, day string, habitId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// CompleteHabit request
CompleteHabit(ctx context.Context, day string, habitId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetJournalEntry request
GetJournalEntry(ctx context.Context, day string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateJournalEntryWithBody request with any body
UpdateJournalEntryWithBody(ctx context.Context, day string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateJournalEntry(ctx context.Context, day string, body UpdateJournalEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateHabitWithBody request with any body
CreateHabitWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateHabit(ctx context.Context, body CreateHabitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteHabit request
DeleteHabit(ctx context.Context, habitId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateHabitWithBody request with any body
UpdateHabitWithBody(ctx context.Context, habitId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateHabit(ctx context.Context, habitId int64, body UpdateHabitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResumeHabit request
ResumeHabit(ctx context.Context, habitId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// StopHabit request
StopHabit(ctx context.Context, habitId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateFirstWeekDayWithBody request with any body
UpdateFirstWeekDayWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateFirstWeekDay(ctx context.Context, body UpdateFirstWeekDayJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListJournalEntries request
ListJournalEntries(ctx context.Context, params *ListJournalEntriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOngoingTimeTrack request
GetOngoingTimeTrack(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// StartTimeTrack request
StartTimeTrack(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListTimeTracks request
ListTimeTracks(ctx context.Context, params *ListTimeTracksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateTimeTrackWithBody request with any body
CreateTimeTrackWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateTimeTrack(ctx context.Context, body CreateTimeTrackJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListTimeTrackCategories request
ListTimeTrackCategories(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteTimeTrack request
DeleteTimeTrack(ctx context.Context, timeTrackId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateTimeTrackWithBody request with any body
UpdateTimeTrackWithBody(ctx context.Context, timeTrackId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateTimeTrack(ctx context.Context, timeTrackId int64, body UpdateTimeTrackJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateCalendarTodoWithBody request with any body
CreateCalendarTodoWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateCalendarTodo(ctx context.Context, body CreateCalendarTodoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteCalendarTodo request
DeleteCalendarTodo(ctx context.Context, todoId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateCalendarTodoWithBody request with any body
UpdateCalendarTodoWithBody(ctx context.Context, todoId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateCalendarTodo(ctx context.Context, todoId int64, body UpdateCalendarTodoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UncompleteCalendarTodo request
UncompleteCalendarTodo(ctx context.Context, todoId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// CompleteCalendarTodo request
CompleteCalendarTodo(ctx context.Context, todoId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListCalendarWeeks request
ListCalendarWeeks(ctx context.Context, params *ListCalendarWeeksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCalendarWeek request
GetCalendarWeek(ctx context.Context, week string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCalendarYear request
GetCalendarYear(ctx context.Context, year string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListCalendars request
ListCalendars(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCalendarRecordings request
GetCalendarRecordings(ctx context.Context, calendarId int64, params *GetCalendarRecordingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ToggleCalendar request
ToggleCalendar(ctx context.Context, calendarId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetClearances request
GetClearances(ctx context.Context, params *GetClearancesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// BulkUpdateClearancesWithBody request with any body
BulkUpdateClearancesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BulkUpdateClearances(ctx context.Context, body BulkUpdateClearancesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PuntClearances request
PuntClearances(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateClearanceWithBody request with any body
UpdateClearanceWithBody(ctx context.Context, clearanceId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateClearance(ctx context.Context, clearanceId int64, body UpdateClearanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListClips request
ListClips(ctx context.Context, params *ListClipsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListCollections request
ListCollections(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCollection request
GetCollection(ctx context.Context, collectionId int64, params *GetCollectionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateCollectionWithBody request with any body
UpdateCollectionWithBody(ctx context.Context, collectionId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateCollection(ctx context.Context, collectionId int64, body UpdateCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListContacts request
ListContacts(ctx context.Context, params *ListContactsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateContactWithBody request with any body
CreateContactWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateContact(ctx context.Context, body CreateContactJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// HideContact request
HideContact(ctx context.Context, contactId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetContact request
GetContact(ctx context.Context, contactId int64, params *GetContactParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateContactWithBody request with any body
UpdateContactWithBody(ctx context.Context, contactId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateContact(ctx context.Context, contactId int64, body UpdateContactJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UnbundleContact request
UnbundleContact(ctx context.Context, contactId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// BundleContact request
BundleContact(ctx context.Context, contactId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateContactClearanceWithBody request with any body
UpdateContactClearanceWithBody(ctx context.Context, contactId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateContactClearance(ctx context.Context, contactId int64, body UpdateContactClearanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteContactNote request
DeleteContactNote(ctx context.Context, contactId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetContactNote request
GetContactNote(ctx context.Context, contactId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateContactNoteWithBody request with any body
UpdateContactNoteWithBody(ctx context.Context, contactId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateContactNote(ctx context.Context, contactId int64, body UpdateContactNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RevealContact request
RevealContact(ctx context.Context, contactId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDrafts request
ListDrafts(ctx context.Context, params *ListDraftsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteDraft request
DeleteDraft(ctx context.Context, entryId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// NewEntryForward request
NewEntryForward(ctx context.Context, entryId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateReplyWithBody request with any body
CreateReplyWithBody(ctx context.Context, entryId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateReply(ctx context.Context, entryId int64, body CreateReplyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// NewEntryReply request
NewEntryReply(ctx context.Context, entryId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// MarkEntrySpam request
MarkEntrySpam(ctx context.Context, entryId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFeedbox request
GetFeedbox(ctx context.Context, params *GetFeedboxParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFolder request
GetFolder(ctx context.Context, folderId int64, params *GetFolderParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetIdentity request
GetIdentity(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateTimeFormatWithBody request with any body
UpdateTimeFormatWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateTimeFormat(ctx context.Context, body UpdateTimeFormatJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetImbox request
GetImbox(ctx context.Context, params *GetImboxParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetImboxSeen request
GetImboxSeen(ctx context.Context, params *GetImboxSeenParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateMessageWithBody request with any body
CreateMessageWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateMessage(ctx context.Context, body CreateMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMessage request
GetMessage(ctx context.Context, messageId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateMessageWithBody request with any body
UpdateMessageWithBody(ctx context.Context, messageId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateMessage(ctx context.Context, messageId int64, body UpdateMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMessageEdit request
GetMessageEdit(ctx context.Context, messageId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMyClearances request
GetMyClearances(ctx context.Context, params *GetMyClearancesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateMyClearanceWithBody request with any body
UpdateMyClearanceWithBody(ctx context.Context, clearanceId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateMyClearance(ctx context.Context, clearanceId int64, body UpdateMyClearanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GetNavigation(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTrailbox request
GetTrailbox(ctx context.Context, params *GetTrailboxParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemovePostingsFromBoxGroup request
RemovePostingsFromBoxGroup(ctx context.Context, params *RemovePostingsFromBoxGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddPostingsToBoxGroupWithBody request with any body
AddPostingsToBoxGroupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddPostingsToBoxGroup(ctx context.Context, body AddPostingsToBoxGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CancelPostingsBubbleUp request
CancelPostingsBubbleUp(ctx context.Context, params *CancelPostingsBubbleUpParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SchedulePostingsBubbleUpWithBody request with any body
SchedulePostingsBubbleUpWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SchedulePostingsBubbleUp(ctx context.Context, body SchedulePostingsBubbleUpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// BubbleUpPostingsNowWithBody request with any body
BubbleUpPostingsNowWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BubbleUpPostingsNow(ctx context.Context, body BubbleUpPostingsNowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UnfilePostings request
UnfilePostings(ctx context.Context, params *UnfilePostingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// FilePostingsWithBody request with any body
FilePostingsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
FilePostings(ctx context.Context, body FilePostingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateFolderForPostingsWithBody request with any body
CreateFolderForPostingsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateFolderForPostings(ctx context.Context, body CreateFolderForPostingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// MovePostingsWithBody request with any body
MovePostingsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
MovePostings(ctx context.Context, body MovePostingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UnmutePostings request
UnmutePostings(ctx context.Context, params *UnmutePostingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// MutePostingsWithBody request with any body
MutePostingsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
MutePostings(ctx context.Context, body MutePostingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// MarkPostingsSeenWithBody request with any body
MarkPostingsSeenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
MarkPostingsSeen(ctx context.Context, body MarkPostingsSeenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// MarkPostingsSpamWithBody request with any body
MarkPostingsSpamWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
MarkPostingsSpam(ctx context.Context, body MarkPostingsSpamJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// TrashPostingsWithBody request with any body
TrashPostingsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
TrashPostings(ctx context.Context, body TrashPostingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// MarkPostingsUnseenWithBody request with any body
MarkPostingsUnseenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
MarkPostingsUnseen(ctx context.Context, body MarkPostingsUnseenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBundleUnseenPostings request
GetBundleUnseenPostings(ctx context.Context, postingId int64, params *GetBundleUnseenPostingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDirectUploadWithBody request with any body
CreateDirectUploadWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateDirectUpload(ctx context.Context, body CreateDirectUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetLaterbox request
GetLaterbox(ctx context.Context, params *GetLaterboxParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAsidebox request
GetAsidebox(ctx context.Context, params *GetAsideboxParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSnippets request
ListSnippets(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListStickies request
ListStickies(ctx context.Context, params *ListStickiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateStickyWithBody request with any body
CreateStickyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSticky(ctx context.Context, body CreateStickyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// MoveStickyWithBody request with any body
MoveStickyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
MoveSticky(ctx context.Context, body MoveStickyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteSticky request
DeleteSticky(ctx context.Context, stickyId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateStickyWithBody request with any body
UpdateStickyWithBody(ctx context.Context, stickyId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateSticky(ctx context.Context, stickyId int64, body UpdateStickyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEverythingTopics request
GetEverythingTopics(ctx context.Context, params *GetEverythingTopicsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSentTopics request
GetSentTopics(ctx context.Context, params *GetSentTopicsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSpamTopics request
GetSpamTopics(ctx context.Context, params *GetSpamTopicsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// EmptySpam request
EmptySpam(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTrashTopics request
GetTrashTopics(ctx context.Context, params *GetTrashTopicsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// EmptyTrash request
EmptyTrash(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTopic request
GetTopic(ctx context.Context, topicId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTopicEntries request
GetTopicEntries(ctx context.Context, topicId int64, params *GetTopicEntriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// MoveTopicWithBody request with any body
MoveTopicWithBody(ctx context.Context, topicId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
MoveTopic(ctx context.Context, topicId int64, body MoveTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTopicPublication request
GetTopicPublication(ctx context.Context, topicId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// RestoreTopic request
RestoreTopic(ctx context.Context, topicId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// MarkTopicHam request
MarkTopicHam(ctx context.Context, topicId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// TrashTopic request
TrashTopic(ctx context.Context, topicId int64, params *TrashTopicParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// MoveWorkflowStagingWithBody request with any body
MoveWorkflowStagingWithBody(ctx context.Context, topicId int64, workflowId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
MoveWorkflowStaging(ctx context.Context, topicId int64, workflowId int64, body MoveWorkflowStagingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateWorkflowStaging request
CreateWorkflowStaging(ctx context.Context, topicId int64, workflowId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWorkflow request
GetWorkflow(ctx context.Context, workflowId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithAuthTransport ¶
func WithAuthTransport(tokenProvider TokenProvider, userAgent string) ClientOption
WithAuthTransport returns a ClientOption that configures authentication.
func WithCachingTransport ¶
func WithCachingTransport(cache ResponseCache) ClientOption
WithCachingTransport returns a ClientOption that enables ETag-based caching.
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithLogger ¶
func WithLogger(logger *slog.Logger) ClientOption
WithLogger allows setting a custom logger for debug output.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
func WithRetryConfig ¶
func WithRetryConfig(cfg RetryConfig) ClientOption
WithRetryConfig allows setting custom retry configuration for idempotent operations.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) AddPostingsToBoxGroupWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) AddPostingsToBoxGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddPostingsToBoxGroupResponse, error)
AddPostingsToBoxGroupWithBodyWithResponse performs a POST /postings/box_groups.json (the `AddPostingsToBoxGroup` operationId) request, with any type of body and a specified content type.
Add a selection of postings to a Set Aside group.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) AddPostingsToBoxGroupWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) AddPostingsToBoxGroupWithResponse(ctx context.Context, body AddPostingsToBoxGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*AddPostingsToBoxGroupResponse, error)
AddPostingsToBoxGroupWithResponse performs a POST /postings/box_groups.json (the `AddPostingsToBoxGroup` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Add a selection of postings to a Set Aside group.
func (*ClientWithResponses) AdvancedSearchWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) AdvancedSearchWithResponse(ctx context.Context, params *AdvancedSearchParams, reqEditors ...RequestEditorFn) (*AdvancedSearchResponse, error)
AdvancedSearchWithResponse performs a GET /advanced_search.json (the `AdvancedSearch` operationId) request.
Get the options the advanced search refine form offers.
Advanced search: message matches grouped by topic as the search page shows them — the topic, its posting id, and the matching entries as summaries (no bodies; read a message with GetMessage). Refinements are the same query parameters the page uses. The next page, if any, is a Link header.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) BubbleUpPostingsNowWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) BubbleUpPostingsNowWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BubbleUpPostingsNowResponse, error)
BubbleUpPostingsNowWithBodyWithResponse performs a POST /postings/bulk_bubble_up_now.json (the `BubbleUpPostingsNow` operationId) request, with any type of body and a specified content type.
Bubble a selection of postings up right now.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) BubbleUpPostingsNowWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) BubbleUpPostingsNowWithResponse(ctx context.Context, body BubbleUpPostingsNowJSONRequestBody, reqEditors ...RequestEditorFn) (*BubbleUpPostingsNowResponse, error)
BubbleUpPostingsNowWithResponse performs a POST /postings/bulk_bubble_up_now.json (the `BubbleUpPostingsNow` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Bubble a selection of postings up right now.
func (*ClientWithResponses) BulkUpdateClearancesWithBodyWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) BulkUpdateClearancesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkUpdateClearancesResponse, error)
BulkUpdateClearancesWithBodyWithResponse performs a PATCH /clearances/bulk.json (the `BulkUpdateClearances` operationId) request, with any type of body and a specified content type.
Screen several senders out at once. ids is a comma-separated list.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) BulkUpdateClearancesWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) BulkUpdateClearancesWithResponse(ctx context.Context, body BulkUpdateClearancesJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkUpdateClearancesResponse, error)
BulkUpdateClearancesWithResponse performs a PATCH /clearances/bulk.json (the `BulkUpdateClearances` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Screen several senders out at once. ids is a comma-separated list.
func (*ClientWithResponses) BundleContactWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) BundleContactWithResponse(ctx context.Context, contactId int64, reqEditors ...RequestEditorFn) (*BundleContactResponse, error)
BundleContactWithResponse performs a POST /contacts/{contactId}/bundle.json (the `BundleContact` operationId) request.
Bundle a contact so their mail arrives grouped.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) CancelPostingsBubbleUpWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CancelPostingsBubbleUpWithResponse(ctx context.Context, params *CancelPostingsBubbleUpParams, reqEditors ...RequestEditorFn) (*CancelPostingsBubbleUpResponse, error)
CancelPostingsBubbleUpWithResponse performs a DELETE /postings/bubble_up.json (the `CancelPostingsBubbleUp` operationId) request.
Cancel a scheduled bubble up for a selection of postings.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) CompleteCalendarTodoWithResponse ¶
func (c *ClientWithResponses) CompleteCalendarTodoWithResponse(ctx context.Context, todoId int64, reqEditors ...RequestEditorFn) (*CompleteCalendarTodoResponse, error)
CompleteCalendarTodoWithResponse performs a POST /calendar/todos/{todoId}/completions (the `CompleteCalendarTodo` operationId) request.
Complete a calendar todo.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) CompleteHabitWithResponse ¶
func (c *ClientWithResponses) CompleteHabitWithResponse(ctx context.Context, day string, habitId int64, reqEditors ...RequestEditorFn) (*CompleteHabitResponse, error)
CompleteHabitWithResponse performs a POST /calendar/days/{day}/habits/{habitId}/completions (the `CompleteHabit` operationId) request.
Complete a habit for a day.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) CreateBoxDesignationWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateBoxDesignationWithBodyWithResponse(ctx context.Context, boxId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBoxDesignationResponse, error)
CreateBoxDesignationWithBodyWithResponse performs a POST /boxes/{boxId}/designations.json (the `CreateBoxDesignation` operationId) request, with any type of body and a specified content type.
Designate a contact to a box, so everything they send lands there ¶
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) CreateBoxDesignationWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateBoxDesignationWithResponse(ctx context.Context, boxId int64, body CreateBoxDesignationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBoxDesignationResponse, error)
CreateBoxDesignationWithResponse performs a POST /boxes/{boxId}/designations.json (the `CreateBoxDesignation` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Designate a contact to a box, so everything they send lands there
func (*ClientWithResponses) CreateBoxGroupWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateBoxGroupWithBodyWithResponse(ctx context.Context, boxId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBoxGroupResponse, error)
CreateBoxGroupWithBodyWithResponse performs a POST /boxes/{boxId}/groups.json (the `CreateBoxGroup` operationId) request, with any type of body and a specified content type.
Create a Set Aside group out of a selection of postings.
This endpoint does not split a comma-joined posting_ids string — send an array.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) CreateBoxGroupWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateBoxGroupWithResponse(ctx context.Context, boxId int64, body CreateBoxGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBoxGroupResponse, error)
CreateBoxGroupWithResponse performs a POST /boxes/{boxId}/groups.json (the `CreateBoxGroup` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Create a Set Aside group out of a selection of postings.
This endpoint does not split a comma-joined posting_ids string — send an array.
func (*ClientWithResponses) CreateBulkReplyWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateBulkReplyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBulkReplyResponse, error)
CreateBulkReplyWithBodyWithResponse performs a POST /bulk_replies.json (the `CreateBulkReply` operationId) request, with any type of body and a specified content type.
Send one reply to every entry. Answers what was sent, not the replies themselves: delivery is queued, and delayed while undo is still possible.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) CreateBulkReplyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateBulkReplyWithResponse(ctx context.Context, body CreateBulkReplyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBulkReplyResponse, error)
CreateBulkReplyWithResponse performs a POST /bulk_replies.json (the `CreateBulkReply` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Send one reply to every entry. Answers what was sent, not the replies themselves: delivery is queued, and delayed while undo is still possible.
func (*ClientWithResponses) CreateCalendarTodoWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateCalendarTodoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCalendarTodoResponse, error)
CreateCalendarTodoWithBodyWithResponse performs a POST /calendar/todos.json (the `CreateCalendarTodo` operationId) request, with any type of body and a specified content type.
Create a calendar todo.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) CreateCalendarTodoWithResponse ¶
func (c *ClientWithResponses) CreateCalendarTodoWithResponse(ctx context.Context, body CreateCalendarTodoJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCalendarTodoResponse, error)
CreateCalendarTodoWithResponse performs a POST /calendar/todos.json (the `CreateCalendarTodo` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Create a calendar todo.
func (*ClientWithResponses) CreateContactWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateContactWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateContactResponse, error)
CreateContactWithBodyWithResponse performs a POST /contacts.json (the `CreateContact` operationId) request, with any type of body and a specified content type.
Add a contact. Answers the contact that was created.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) CreateContactWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateContactWithResponse(ctx context.Context, body CreateContactJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateContactResponse, error)
CreateContactWithResponse performs a POST /contacts.json (the `CreateContact` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Add a contact. Answers the contact that was created.
func (*ClientWithResponses) CreateDirectUploadWithBodyWithResponse ¶ added in v0.5.0
func (c *ClientWithResponses) CreateDirectUploadWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDirectUploadResponse, error)
CreateDirectUploadWithBodyWithResponse performs a POST /rails/active_storage/direct_uploads.json (the `CreateDirectUpload` operationId) request, with any type of body and a specified content type.
Create an Active Storage direct upload for an outgoing attachment. The returned URL is self-authenticating and accepts the raw file bytes via PUT.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) CreateDirectUploadWithResponse ¶ added in v0.5.0
func (c *ClientWithResponses) CreateDirectUploadWithResponse(ctx context.Context, body CreateDirectUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDirectUploadResponse, error)
CreateDirectUploadWithResponse performs a POST /rails/active_storage/direct_uploads.json (the `CreateDirectUpload` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Create an Active Storage direct upload for an outgoing attachment. The returned URL is self-authenticating and accepts the raw file bytes via PUT.
func (*ClientWithResponses) CreateFolderForPostingsWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateFolderForPostingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFolderForPostingsResponse, error)
CreateFolderForPostingsWithBodyWithResponse performs a POST /postings/folders.json (the `CreateFolderForPostings` operationId) request, with any type of body and a specified content type.
Create a folder (label) and file a selection of postings into it.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) CreateFolderForPostingsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateFolderForPostingsWithResponse(ctx context.Context, body CreateFolderForPostingsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFolderForPostingsResponse, error)
CreateFolderForPostingsWithResponse performs a POST /postings/folders.json (the `CreateFolderForPostings` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Create a folder (label) and file a selection of postings into it.
func (*ClientWithResponses) CreateHabitWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateHabitWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateHabitResponse, error)
CreateHabitWithBodyWithResponse performs a POST /calendar/habits.json (the `CreateHabit` operationId) request, with any type of body and a specified content type.
Start a new habit. Answers the created habit as a recording.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) CreateHabitWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateHabitWithResponse(ctx context.Context, body CreateHabitJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateHabitResponse, error)
CreateHabitWithResponse performs a POST /calendar/habits.json (the `CreateHabit` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Start a new habit. Answers the created habit as a recording.
func (*ClientWithResponses) CreateMessageWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMessageResponse, error)
CreateMessageWithBodyWithResponse performs a POST /messages.json (the `CreateMessage` operationId) request, with any type of body and a specified content type.
Create a new message (start a new topic). The acting sender ID must be included; the Go SDK resolves this automatically. Every message is created drafted on HEY's side; without entry.status the server delivers it, while entry.status "drafted" leaves it as a draft and answers 204 with a Location header naming /messages/{entry_id}.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) CreateMessageWithResponse ¶
func (c *ClientWithResponses) CreateMessageWithResponse(ctx context.Context, body CreateMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMessageResponse, error)
CreateMessageWithResponse performs a POST /messages.json (the `CreateMessage` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Create a new message (start a new topic). The acting sender ID must be included; the Go SDK resolves this automatically. Every message is created drafted on HEY's side; without entry.status the server delivers it, while entry.status "drafted" leaves it as a draft and answers 204 with a Location header naming /messages/{entry_id}.
func (*ClientWithResponses) CreateReplyWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateReplyWithBodyWithResponse(ctx context.Context, entryId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateReplyResponse, error)
CreateReplyWithBodyWithResponse performs a POST /entries/{entryId}/replies.json (the `CreateReply` operationId) request, with any type of body and a specified content type.
Reply to an entry.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) CreateReplyWithResponse ¶
func (c *ClientWithResponses) CreateReplyWithResponse(ctx context.Context, entryId int64, body CreateReplyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateReplyResponse, error)
CreateReplyWithResponse performs a POST /entries/{entryId}/replies.json (the `CreateReply` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Reply to an entry.
func (*ClientWithResponses) CreateStickyWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateStickyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateStickyResponse, error)
CreateStickyWithBodyWithResponse performs a POST /stickies.json (the `CreateSticky` operationId) request, with any type of body and a specified content type.
Write a new sticky.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) CreateStickyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateStickyWithResponse(ctx context.Context, body CreateStickyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateStickyResponse, error)
CreateStickyWithResponse performs a POST /stickies.json (the `CreateSticky` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Write a new sticky.
func (*ClientWithResponses) CreateTimeTrackWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateTimeTrackWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTimeTrackResponse, error)
CreateTimeTrackWithBodyWithResponse performs a POST /calendar/time_tracks.json (the `CreateTimeTrack` operationId) request, with any type of body and a specified content type.
Record a finished stretch of time.
JSON callers send the fields flat; Rails wraps them into calendar_time_track itself.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) CreateTimeTrackWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateTimeTrackWithResponse(ctx context.Context, body CreateTimeTrackJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTimeTrackResponse, error)
CreateTimeTrackWithResponse performs a POST /calendar/time_tracks.json (the `CreateTimeTrack` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Record a finished stretch of time.
JSON callers send the fields flat; Rails wraps them into calendar_time_track itself.
func (*ClientWithResponses) CreateWorkflowStagingWithResponse ¶ added in v0.12.0
func (c *ClientWithResponses) CreateWorkflowStagingWithResponse(ctx context.Context, topicId int64, workflowId int64, reqEditors ...RequestEditorFn) (*CreateWorkflowStagingResponse, error)
CreateWorkflowStagingWithResponse performs a POST /topics/{topicId}/workflows/{workflowId}/stagings (the `CreateWorkflowStaging` operationId) request.
Add a topic to a workflow. HEY places it in the first stage.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) DeleteBoxDesignationWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) DeleteBoxDesignationWithResponse(ctx context.Context, boxId int64, designationId int64, reqEditors ...RequestEditorFn) (*DeleteBoxDesignationResponse, error)
DeleteBoxDesignationWithResponse performs a DELETE /boxes/{boxId}/designations/{designationId} (the `DeleteBoxDesignation` operationId) request.
Remove a designation from a box. The id is the designation's, not the contact's.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) DeleteBoxGroupWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) DeleteBoxGroupWithResponse(ctx context.Context, boxId int64, groupId int64, reqEditors ...RequestEditorFn) (*DeleteBoxGroupResponse, error)
DeleteBoxGroupWithResponse performs a DELETE /boxes/{boxId}/groups/{groupId} (the `DeleteBoxGroup` operationId) request.
Break up a Set Aside group, moving its postings back to Previously Seen ¶
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) DeleteCalendarTodoWithResponse ¶
func (c *ClientWithResponses) DeleteCalendarTodoWithResponse(ctx context.Context, todoId int64, reqEditors ...RequestEditorFn) (*DeleteCalendarTodoResponse, error)
DeleteCalendarTodoWithResponse performs a DELETE /calendar/todos/{todoId} (the `DeleteCalendarTodo` operationId) request.
Delete a calendar todo.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) DeleteContactNoteWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) DeleteContactNoteWithResponse(ctx context.Context, contactId int64, reqEditors ...RequestEditorFn) (*DeleteContactNoteResponse, error)
DeleteContactNoteWithResponse performs a DELETE /contacts/{contactId}/note.json (the `DeleteContactNote` operationId) request.
Clear the private note on a contact.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) DeleteDraftWithResponse ¶ added in v0.22.0
func (c *ClientWithResponses) DeleteDraftWithResponse(ctx context.Context, entryId int64, reqEditors ...RequestEditorFn) (*DeleteDraftResponse, error)
DeleteDraftWithResponse performs a DELETE /entries/drafts/{entryId} (the `DeleteDraft` operationId) request.
Trash a draft (Entries::DraftsController#destroy). The id is the draft's entry id, as ListDrafts reports it.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) DeleteHabitWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) DeleteHabitWithResponse(ctx context.Context, habitId int64, reqEditors ...RequestEditorFn) (*DeleteHabitResponse, error)
DeleteHabitWithResponse performs a DELETE /calendar/habits/{habitId} (the `DeleteHabit` operationId) request.
Delete a habit. habitId is the recording's id.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) DeleteStickyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) DeleteStickyWithResponse(ctx context.Context, stickyId int64, reqEditors ...RequestEditorFn) (*DeleteStickyResponse, error)
DeleteStickyWithResponse performs a DELETE /stickies/{stickyId} (the `DeleteSticky` operationId) request.
Throw a sticky away.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) DeleteTimeTrackWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) DeleteTimeTrackWithResponse(ctx context.Context, timeTrackId int64, reqEditors ...RequestEditorFn) (*DeleteTimeTrackResponse, error)
DeleteTimeTrackWithResponse performs a DELETE /calendar/time_tracks/{timeTrackId} (the `DeleteTimeTrack` operationId) request.
Delete a time track. The id is the recording's.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) EmptySpamWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) EmptySpamWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*EmptySpamResponse, error)
EmptySpamWithResponse performs a DELETE /topics/spam/all.json (the `EmptySpam` operationId) request.
Empty the spam box. Runs synchronously, so it can take a while on a large mailbox.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) EmptyTrashWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) EmptyTrashWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*EmptyTrashResponse, error)
EmptyTrashWithResponse performs a DELETE /topics/trash/all.json (the `EmptyTrash` operationId) request.
Empty the trash. Runs synchronously, so it can take a while on a large mailbox.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) FilePostingsWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) FilePostingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FilePostingsResponse, error)
FilePostingsWithBodyWithResponse performs a POST /postings/filings.json (the `FilePostings` operationId) request, with any type of body and a specified content type.
File a selection of postings into an existing folder (label).
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) FilePostingsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) FilePostingsWithResponse(ctx context.Context, body FilePostingsJSONRequestBody, reqEditors ...RequestEditorFn) (*FilePostingsResponse, error)
FilePostingsWithResponse performs a POST /postings/filings.json (the `FilePostings` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
File a selection of postings into an existing folder (label).
func (*ClientWithResponses) GetAdvancedSearchFiltersWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) GetAdvancedSearchFiltersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAdvancedSearchFiltersResponse, error)
GetAdvancedSearchFiltersWithResponse performs a GET /advanced_search_filters.json (the `GetAdvancedSearchFilters` operationId) request.
The advanced search refine form's options: boxes, date ranges, labels and attachment kinds.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetAsideboxWithResponse ¶
func (c *ClientWithResponses) GetAsideboxWithResponse(ctx context.Context, params *GetAsideboxParams, reqEditors ...RequestEditorFn) (*GetAsideboxResponse, error)
GetAsideboxWithResponse performs a GET /set_aside.json (the `GetAsidebox` operationId) request.
Get the Set Aside box.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetBoxPostingChangesWithResponse ¶ added in v0.6.0
func (c *ClientWithResponses) GetBoxPostingChangesWithResponse(ctx context.Context, boxId int64, params *GetBoxPostingChangesParams, reqEditors ...RequestEditorFn) (*GetBoxPostingChangesResponse, error)
GetBoxPostingChangesWithResponse performs a GET /boxes/{boxId}/postings/changes.json (the `GetBoxPostingChanges` operationId) request.
Read what changed among a box's postings since a point in time.
This is the incremental sync feed the mail clients follow rather than re-reading a box. `since` is an ISO 8601 timestamp with milliseconds and is exclusive, and `v` is the client's contract version — the server answers 409 when the caller is too far behind for an increment to carry the difference, which means read the box in full instead. A box's own `posting_changes_url` carries the `since` and `v` to start from, and the `Link` header names the next page while one remains and the next `since` cursor on the last page.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetBoxWithResponse ¶
func (c *ClientWithResponses) GetBoxWithResponse(ctx context.Context, boxId int64, params *GetBoxParams, reqEditors ...RequestEditorFn) (*GetBoxResponse, error)
GetBoxWithResponse performs a GET /boxes/{boxId} (the `GetBox` operationId) request.
Get a specific box.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetBubbleboxWithResponse ¶
func (c *ClientWithResponses) GetBubbleboxWithResponse(ctx context.Context, params *GetBubbleboxParams, reqEditors ...RequestEditorFn) (*GetBubbleboxResponse, error)
GetBubbleboxWithResponse performs a GET /bubble_up.json (the `GetBubblebox` operationId) request.
Get the Bubble Up box.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetBundleUnseenPostingsWithResponse ¶ added in v0.26.0
func (c *ClientWithResponses) GetBundleUnseenPostingsWithResponse(ctx context.Context, postingId int64, params *GetBundleUnseenPostingsParams, reqEditors ...RequestEditorFn) (*GetBundleUnseenPostingsResponse, error)
GetBundleUnseenPostingsWithResponse performs a GET /postings/{postingId}/bundles/unseen.json (the `GetBundleUnseenPostings` operationId) request.
List the unseen postings inside a bundle posting.
A bundle posting groups one contact's unseen mail; this is its contents — the member postings, newest first, paged by cursor like a box. The posting must be a bundle.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetCalendarDayWithResponse ¶ added in v0.16.0
func (c *ClientWithResponses) GetCalendarDayWithResponse(ctx context.Context, day string, reqEditors ...RequestEditorFn) (*GetCalendarDayResponse, error)
GetCalendarDayWithResponse performs a GET /calendar/days/{day} (the `GetCalendarDay` operationId) request.
Get one day.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetCalendarRecordingsWithResponse ¶
func (c *ClientWithResponses) GetCalendarRecordingsWithResponse(ctx context.Context, calendarId int64, params *GetCalendarRecordingsParams, reqEditors ...RequestEditorFn) (*GetCalendarRecordingsResponse, error)
GetCalendarRecordingsWithResponse performs a GET /calendars/{calendarId}/recordings (the `GetCalendarRecordings` operationId) request.
Get recordings for a calendar.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetCalendarWeekWithResponse ¶ added in v0.16.0
func (c *ClientWithResponses) GetCalendarWeekWithResponse(ctx context.Context, week string, reqEditors ...RequestEditorFn) (*GetCalendarWeekResponse, error)
GetCalendarWeekWithResponse performs a GET /calendar/weeks/{week} (the `GetCalendarWeek` operationId) request.
Get one week.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetCalendarYearWithResponse ¶ added in v0.16.0
func (c *ClientWithResponses) GetCalendarYearWithResponse(ctx context.Context, year string, reqEditors ...RequestEditorFn) (*GetCalendarYearResponse, error)
GetCalendarYearWithResponse performs a GET /calendar/years/{year} (the `GetCalendarYear` operationId) request.
Get one year as the grid it is drawn as.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetClearancesWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) GetClearancesWithResponse(ctx context.Context, params *GetClearancesParams, reqEditors ...RequestEditorFn) (*GetClearancesResponse, error)
GetClearancesWithResponse performs a GET /clearances.json (the `GetClearances` operationId) request.
Get the Screener — the pending count, and the senders waiting when asked for them ¶
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetCollectionWithResponse ¶ added in v0.8.0
func (c *ClientWithResponses) GetCollectionWithResponse(ctx context.Context, collectionId int64, params *GetCollectionParams, reqEditors ...RequestEditorFn) (*GetCollectionResponse, error)
GetCollectionWithResponse performs a GET /collections/{collectionId} (the `GetCollection` operationId) request.
Get a collection and one page of its active, accessible threads ¶
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetContactNoteWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) GetContactNoteWithResponse(ctx context.Context, contactId int64, reqEditors ...RequestEditorFn) (*GetContactNoteResponse, error)
GetContactNoteWithResponse performs a GET /contacts/{contactId}/note.json (the `GetContactNote` operationId) request.
Read the private note kept on a contact.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetContactWithResponse ¶
func (c *ClientWithResponses) GetContactWithResponse(ctx context.Context, contactId int64, params *GetContactParams, reqEditors ...RequestEditorFn) (*GetContactResponse, error)
GetContactWithResponse performs a GET /contacts/{contactId} (the `GetContact` operationId) request.
Get a contact, with a page of the threads they are on ¶
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetEverythingTopicsWithResponse ¶
func (c *ClientWithResponses) GetEverythingTopicsWithResponse(ctx context.Context, params *GetEverythingTopicsParams, reqEditors ...RequestEditorFn) (*GetEverythingTopicsResponse, error)
GetEverythingTopicsWithResponse performs a GET /topics/everything.json (the `GetEverythingTopics` operationId) request.
Get all topics (everything view).
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetFeedboxWithResponse ¶
func (c *ClientWithResponses) GetFeedboxWithResponse(ctx context.Context, params *GetFeedboxParams, reqEditors ...RequestEditorFn) (*GetFeedboxResponse, error)
GetFeedboxWithResponse performs a GET /feedbox.json (the `GetFeedbox` operationId) request.
Get the Feed.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetFolderWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) GetFolderWithResponse(ctx context.Context, folderId int64, params *GetFolderParams, reqEditors ...RequestEditorFn) (*GetFolderResponse, error)
GetFolderWithResponse performs a GET /folders/{folderId} (the `GetFolder` operationId) request.
Get a folder (label) and the postings filed in it.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetIdentityWithResponse ¶
func (c *ClientWithResponses) GetIdentityWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetIdentityResponse, error)
GetIdentityWithResponse performs a GET /identity.json (the `GetIdentity` operationId) request.
Get the current identity (authenticated user profile).
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetImboxSeenWithResponse ¶ added in v0.28.0
func (c *ClientWithResponses) GetImboxSeenWithResponse(ctx context.Context, params *GetImboxSeenParams, reqEditors ...RequestEditorFn) (*GetImboxSeenResponse, error)
GetImboxSeenWithResponse performs a GET /imbox/seen.json (the `GetImboxSeen` operationId) request.
Get the Imbox's Previously Seen postings.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetImboxWithResponse ¶
func (c *ClientWithResponses) GetImboxWithResponse(ctx context.Context, params *GetImboxParams, reqEditors ...RequestEditorFn) (*GetImboxResponse, error)
GetImboxWithResponse performs a GET /imbox.json (the `GetImbox` operationId) request.
Get the Imbox.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetJournalEntryWithResponse ¶
func (c *ClientWithResponses) GetJournalEntryWithResponse(ctx context.Context, day string, reqEditors ...RequestEditorFn) (*GetJournalEntryResponse, error)
GetJournalEntryWithResponse performs a GET /calendar/days/{day}/journal_entry (the `GetJournalEntry` operationId) request.
Get journal entry for a day.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetLaterboxWithResponse ¶
func (c *ClientWithResponses) GetLaterboxWithResponse(ctx context.Context, params *GetLaterboxParams, reqEditors ...RequestEditorFn) (*GetLaterboxResponse, error)
GetLaterboxWithResponse performs a GET /reply_later.json (the `GetLaterbox` operationId) request.
Get the Reply Later box.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetMessageEditWithResponse ¶ added in v0.22.0
func (c *ClientWithResponses) GetMessageEditWithResponse(ctx context.Context, messageId int64, reqEditors ...RequestEditorFn) (*GetMessageEditResponse, error)
GetMessageEditWithResponse performs a GET /messages/{messageId}/edit.json (the `GetMessageEdit` operationId) request.
A draft's editable state: content, recipients and scheduled delivery as the composer would load them (GET /messages/{id}/edit).
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetMessageWithResponse ¶
func (c *ClientWithResponses) GetMessageWithResponse(ctx context.Context, messageId int64, reqEditors ...RequestEditorFn) (*GetMessageResponse, error)
GetMessageWithResponse performs a GET /messages/{messageId} (the `GetMessage` operationId) request.
Get a message.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetMyClearancesWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) GetMyClearancesWithResponse(ctx context.Context, params *GetMyClearancesParams, reqEditors ...RequestEditorFn) (*GetMyClearancesResponse, error)
GetMyClearancesWithResponse performs a GET /my/clearances.json (the `GetMyClearances` operationId) request.
The senders already screened in or out.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetNavigationWithResponse ¶
func (c *ClientWithResponses) GetNavigationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetNavigationResponse, error)
GetNavigationWithResponse performs a GET /my/navigation.json (the `GetNavigation` operationId) request.
Get navigation items.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetOngoingTimeTrackWithResponse ¶
func (c *ClientWithResponses) GetOngoingTimeTrackWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOngoingTimeTrackResponse, error)
GetOngoingTimeTrackWithResponse performs a GET /calendar/ongoing_time_track.json (the `GetOngoingTimeTrack` operationId) request.
Get the ongoing time track (404 = no active track; see ADR-004)
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetSentTopicsWithResponse ¶
func (c *ClientWithResponses) GetSentTopicsWithResponse(ctx context.Context, params *GetSentTopicsParams, reqEditors ...RequestEditorFn) (*GetSentTopicsResponse, error)
GetSentTopicsWithResponse performs a GET /topics/sent.json (the `GetSentTopics` operationId) request.
Get sent topics.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetSpamTopicsWithResponse ¶
func (c *ClientWithResponses) GetSpamTopicsWithResponse(ctx context.Context, params *GetSpamTopicsParams, reqEditors ...RequestEditorFn) (*GetSpamTopicsResponse, error)
GetSpamTopicsWithResponse performs a GET /topics/spam.json (the `GetSpamTopics` operationId) request.
Get spam topics.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetTopicEntriesWithResponse ¶
func (c *ClientWithResponses) GetTopicEntriesWithResponse(ctx context.Context, topicId int64, params *GetTopicEntriesParams, reqEditors ...RequestEditorFn) (*GetTopicEntriesResponse, error)
GetTopicEntriesWithResponse performs a GET /topics/{topicId}/entries (the `GetTopicEntries` operationId) request.
Get entries for a topic.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetTopicPublicationWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) GetTopicPublicationWithResponse(ctx context.Context, topicId int64, reqEditors ...RequestEditorFn) (*GetTopicPublicationResponse, error)
GetTopicPublicationWithResponse performs a GET /topics/{topicId}/publication.json (the `GetTopicPublication` operationId) request.
Whether a thread is shared with a public link, and the link ¶
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetTopicWithResponse ¶
func (c *ClientWithResponses) GetTopicWithResponse(ctx context.Context, topicId int64, reqEditors ...RequestEditorFn) (*GetTopicResponse, error)
GetTopicWithResponse performs a GET /topics/{topicId} (the `GetTopic` operationId) request.
Get a topic.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetTrailboxWithResponse ¶
func (c *ClientWithResponses) GetTrailboxWithResponse(ctx context.Context, params *GetTrailboxParams, reqEditors ...RequestEditorFn) (*GetTrailboxResponse, error)
GetTrailboxWithResponse performs a GET /paper_trail.json (the `GetTrailbox` operationId) request.
Get the Paper Trail.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetTrashTopicsWithResponse ¶
func (c *ClientWithResponses) GetTrashTopicsWithResponse(ctx context.Context, params *GetTrashTopicsParams, reqEditors ...RequestEditorFn) (*GetTrashTopicsResponse, error)
GetTrashTopicsWithResponse performs a GET /topics/trash.json (the `GetTrashTopics` operationId) request.
Get trash topics.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetWorkflowWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) GetWorkflowWithResponse(ctx context.Context, workflowId int64, reqEditors ...RequestEditorFn) (*GetWorkflowResponse, error)
GetWorkflowWithResponse performs a GET /workflows/{workflowId} (the `GetWorkflow` operationId) request.
A workflow with its stages.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) HideContactWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) HideContactWithResponse(ctx context.Context, contactId int64, reqEditors ...RequestEditorFn) (*HideContactResponse, error)
HideContactWithResponse performs a DELETE /contacts/{contactId} (the `HideContact` operationId) request.
Hide a contact. Nothing is deleted — RevealContact brings them back.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ListBoxGroupsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListBoxGroupsWithResponse(ctx context.Context, boxId int64, reqEditors ...RequestEditorFn) (*ListBoxGroupsResponse, error)
ListBoxGroupsWithResponse performs a GET /boxes/{boxId}/groups.json (the `ListBoxGroups` operationId) request.
List the Set Aside groups in a box.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ListBoxesWithResponse ¶
func (c *ClientWithResponses) ListBoxesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListBoxesResponse, error)
ListBoxesWithResponse performs a GET /boxes.json (the `ListBoxes` operationId) request.
List all boxes.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ListCalendarDaysWithResponse ¶ added in v0.16.0
func (c *ClientWithResponses) ListCalendarDaysWithResponse(ctx context.Context, params *ListCalendarDaysParams, reqEditors ...RequestEditorFn) (*ListCalendarDaysResponse, error)
ListCalendarDaysWithResponse performs a GET /calendar/days.json (the `ListCalendarDays` operationId) request.
List the days from a date onwards. The server picks how many, so this is a window rather than a page: read the next one by asking from the last day's date.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ListCalendarWeeksWithResponse ¶ added in v0.16.0
func (c *ClientWithResponses) ListCalendarWeeksWithResponse(ctx context.Context, params *ListCalendarWeeksParams, reqEditors ...RequestEditorFn) (*ListCalendarWeeksResponse, error)
ListCalendarWeeksWithResponse performs a GET /calendar/weeks.json (the `ListCalendarWeeks` operationId) request.
List the weeks around a date — nine of them, centered on it.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ListCalendarsWithResponse ¶
func (c *ClientWithResponses) ListCalendarsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListCalendarsResponse, error)
ListCalendarsWithResponse performs a GET /calendars.json (the `ListCalendars` operationId) request.
List calendars.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ListClipsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListClipsWithResponse(ctx context.Context, params *ListClipsParams, reqEditors ...RequestEditorFn) (*ListClipsResponse, error)
ListClipsWithResponse performs a GET /clips.json (the `ListClips` operationId) request.
List clips, newest first ¶
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ListCollectionsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListCollectionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListCollectionsResponse, error)
ListCollectionsWithResponse performs a GET /collections.json (the `ListCollections` operationId) request.
List collections.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ListContactsWithResponse ¶
func (c *ClientWithResponses) ListContactsWithResponse(ctx context.Context, params *ListContactsParams, reqEditors ...RequestEditorFn) (*ListContactsResponse, error)
ListContactsWithResponse performs a GET /contacts.json (the `ListContacts` operationId) request.
List contacts.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ListDraftsWithResponse ¶
func (c *ClientWithResponses) ListDraftsWithResponse(ctx context.Context, params *ListDraftsParams, reqEditors ...RequestEditorFn) (*ListDraftsResponse, error)
ListDraftsWithResponse performs a GET /entries/drafts.json (the `ListDrafts` operationId) request.
List draft messages.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ListJournalEntriesWithResponse ¶ added in v0.15.0
func (c *ClientWithResponses) ListJournalEntriesWithResponse(ctx context.Context, params *ListJournalEntriesParams, reqEditors ...RequestEditorFn) (*ListJournalEntriesResponse, error)
ListJournalEntriesWithResponse performs a GET /calendar/journal_entries (the `ListJournalEntries` operationId) request.
List journal entries newest first. The next page, if any, is a Link header. Pass q to search journal entry content.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ListSnippetsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListSnippetsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSnippetsResponse, error)
ListSnippetsWithResponse performs a GET /snippets.json (the `ListSnippets` operationId) request.
List snippets, alphabetically ¶
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ListStickiesWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListStickiesWithResponse(ctx context.Context, params *ListStickiesParams, reqEditors ...RequestEditorFn) (*ListStickiesResponse, error)
ListStickiesWithResponse performs a GET /stickies.json (the `ListStickies` operationId) request.
List stickies, newest position first ¶
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ListTimeTrackCategoriesWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListTimeTrackCategoriesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListTimeTrackCategoriesResponse, error)
ListTimeTrackCategoriesWithResponse performs a GET /calendar/time_tracks/categories.json (the `ListTimeTrackCategories` operationId) request.
List the calendar's time track categories, alphabetically ¶
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ListTimeTracksWithResponse ¶ added in v0.20.0
func (c *ClientWithResponses) ListTimeTracksWithResponse(ctx context.Context, params *ListTimeTracksParams, reqEditors ...RequestEditorFn) (*ListTimeTracksResponse, error)
ListTimeTracksWithResponse performs a GET /calendar/time_tracks.json (the `ListTimeTracks` operationId) request.
List tracked time — completed tracks only, newest-ended first.
A running track is not here; read that with GetOngoingTimeTrack. The next page, if any, is a Link header, and the last page carries none, so a nil Link is the end of the list rather than an error.
category_id narrows the list to one category and 404s if the calendar has no category by that id.
The calendar's categories come back alongside the tracks, so showing or applying the filter does not need ListTimeTrackCategories as well.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) MarkBoxSeenWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) MarkBoxSeenWithResponse(ctx context.Context, boxId int64, reqEditors ...RequestEditorFn) (*MarkBoxSeenResponse, error)
MarkBoxSeenWithResponse performs a POST /boxes/{boxId}/observation.json (the `MarkBoxSeen` operationId) request.
Mark everything in a box as seen. The work is queued, so the effect is eventually consistent.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) MarkEntrySpamWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) MarkEntrySpamWithResponse(ctx context.Context, entryId int64, reqEditors ...RequestEditorFn) (*MarkEntrySpamResponse, error)
MarkEntrySpamWithResponse performs a PUT /entries/{entryId}/status/spam.json (the `MarkEntrySpam` operationId) request.
Mark an entry as spam. Denies the sender when every thread from them is already spam.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) MarkPostingsSeenWithBodyWithResponse ¶ added in v0.2.0
func (c *ClientWithResponses) MarkPostingsSeenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MarkPostingsSeenResponse, error)
MarkPostingsSeenWithBodyWithResponse performs a POST /postings/seen.json (the `MarkPostingsSeen` operationId) request, with any type of body and a specified content type.
Mark postings as seen.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) MarkPostingsSeenWithResponse ¶ added in v0.2.0
func (c *ClientWithResponses) MarkPostingsSeenWithResponse(ctx context.Context, body MarkPostingsSeenJSONRequestBody, reqEditors ...RequestEditorFn) (*MarkPostingsSeenResponse, error)
MarkPostingsSeenWithResponse performs a POST /postings/seen.json (the `MarkPostingsSeen` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Mark postings as seen.
func (*ClientWithResponses) MarkPostingsSpamWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) MarkPostingsSpamWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MarkPostingsSpamResponse, error)
MarkPostingsSpamWithBodyWithResponse performs a POST /postings/spam.json (the `MarkPostingsSpam` operationId) request, with any type of body and a specified content type.
Mark a selection of postings as spam.
Over ten postings the server hands the work to a background job, so the effect is eventually consistent.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) MarkPostingsSpamWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) MarkPostingsSpamWithResponse(ctx context.Context, body MarkPostingsSpamJSONRequestBody, reqEditors ...RequestEditorFn) (*MarkPostingsSpamResponse, error)
MarkPostingsSpamWithResponse performs a POST /postings/spam.json (the `MarkPostingsSpam` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Mark a selection of postings as spam.
Over ten postings the server hands the work to a background job, so the effect is eventually consistent.
func (*ClientWithResponses) MarkPostingsUnseenWithBodyWithResponse ¶ added in v0.2.0
func (c *ClientWithResponses) MarkPostingsUnseenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MarkPostingsUnseenResponse, error)
MarkPostingsUnseenWithBodyWithResponse performs a POST /postings/unseen.json (the `MarkPostingsUnseen` operationId) request, with any type of body and a specified content type.
Mark postings as unseen.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) MarkPostingsUnseenWithResponse ¶ added in v0.2.0
func (c *ClientWithResponses) MarkPostingsUnseenWithResponse(ctx context.Context, body MarkPostingsUnseenJSONRequestBody, reqEditors ...RequestEditorFn) (*MarkPostingsUnseenResponse, error)
MarkPostingsUnseenWithResponse performs a POST /postings/unseen.json (the `MarkPostingsUnseen` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Mark postings as unseen.
func (*ClientWithResponses) MarkTopicHamWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) MarkTopicHamWithResponse(ctx context.Context, topicId int64, reqEditors ...RequestEditorFn) (*MarkTopicHamResponse, error)
MarkTopicHamWithResponse performs a PUT /topics/{topicId}/status/ham.json (the `MarkTopicHam` operationId) request.
Mark a spam topic as ham. Every other spam topic from the same sender is hammed too.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) MovePostingsWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) MovePostingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MovePostingsResponse, error)
MovePostingsWithBodyWithResponse performs a POST /postings/moves.json (the `MovePostings` operationId) request, with any type of body and a specified content type.
Move postings to a box (bulk). Mirrors HEY's Postings::MovesController: `posting_ids` plus the target `box_id` (an ID from ListBoxes; the box `kind` field identifies imbox, feedbox, asidebox, laterbox, trailbox). Responds 204 No Content.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) MovePostingsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) MovePostingsWithResponse(ctx context.Context, body MovePostingsJSONRequestBody, reqEditors ...RequestEditorFn) (*MovePostingsResponse, error)
MovePostingsWithResponse performs a POST /postings/moves.json (the `MovePostings` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Move postings to a box (bulk). Mirrors HEY's Postings::MovesController: `posting_ids` plus the target `box_id` (an ID from ListBoxes; the box `kind` field identifies imbox, feedbox, asidebox, laterbox, trailbox). Responds 204 No Content.
func (*ClientWithResponses) MoveStickyWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) MoveStickyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MoveStickyResponse, error)
MoveStickyWithBodyWithResponse performs a POST /stickies/moves.json (the `MoveSticky` operationId) request, with any type of body and a specified content type.
Reposition a sticky on the board.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) MoveStickyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) MoveStickyWithResponse(ctx context.Context, body MoveStickyJSONRequestBody, reqEditors ...RequestEditorFn) (*MoveStickyResponse, error)
MoveStickyWithResponse performs a POST /stickies/moves.json (the `MoveSticky` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Reposition a sticky on the board.
func (*ClientWithResponses) MoveTopicWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) MoveTopicWithBodyWithResponse(ctx context.Context, topicId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MoveTopicResponse, error)
MoveTopicWithBodyWithResponse performs a POST /topics/{topicId}/moves.json (the `MoveTopic` operationId) request, with any type of body and a specified content type.
Move a topic to another box.
Answers 204 without moving anything when the acting user has no posting for the topic.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) MoveTopicWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) MoveTopicWithResponse(ctx context.Context, topicId int64, body MoveTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*MoveTopicResponse, error)
MoveTopicWithResponse performs a POST /topics/{topicId}/moves.json (the `MoveTopic` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Move a topic to another box.
Answers 204 without moving anything when the acting user has no posting for the topic.
func (*ClientWithResponses) MoveWorkflowStagingWithBodyWithResponse ¶ added in v0.12.0
func (c *ClientWithResponses) MoveWorkflowStagingWithBodyWithResponse(ctx context.Context, topicId int64, workflowId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MoveWorkflowStagingResponse, error)
MoveWorkflowStagingWithBodyWithResponse performs a PATCH /topics/{topicId}/workflows/{workflowId}/stagings (the `MoveWorkflowStaging` operationId) request, with any type of body and a specified content type.
Move a staged topic to a workflow stage.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) MoveWorkflowStagingWithResponse ¶ added in v0.12.0
func (c *ClientWithResponses) MoveWorkflowStagingWithResponse(ctx context.Context, topicId int64, workflowId int64, body MoveWorkflowStagingJSONRequestBody, reqEditors ...RequestEditorFn) (*MoveWorkflowStagingResponse, error)
MoveWorkflowStagingWithResponse performs a PATCH /topics/{topicId}/workflows/{workflowId}/stagings (the `MoveWorkflowStaging` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Move a staged topic to a workflow stage.
func (*ClientWithResponses) MutePostingsWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) MutePostingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MutePostingsResponse, error)
MutePostingsWithBodyWithResponse performs a POST /postings/mutings.json (the `MutePostings` operationId) request, with any type of body and a specified content type.
Mute postings (bulk) — stop notifications for their threads. Mirrors HEY's Postings::MutingsController#create. Responds 201 Created.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) MutePostingsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) MutePostingsWithResponse(ctx context.Context, body MutePostingsJSONRequestBody, reqEditors ...RequestEditorFn) (*MutePostingsResponse, error)
MutePostingsWithResponse performs a POST /postings/mutings.json (the `MutePostings` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Mute postings (bulk) — stop notifications for their threads. Mirrors HEY's Postings::MutingsController#create. Responds 201 Created.
func (*ClientWithResponses) NewBulkReplyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) NewBulkReplyWithResponse(ctx context.Context, params *NewBulkReplyParams, reqEditors ...RequestEditorFn) (*NewBulkReplyResponse, error)
NewBulkReplyWithResponse performs a GET /bulk_replies/new.json (the `NewBulkReply` operationId) request.
Work out which entries a bulk reply would answer. HEY replies to the last replyable entry of each thread, skipping threads with no reply address, so the postings you hold are not the entries you send to — this resolves them.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) NewEntryForwardWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) NewEntryForwardWithResponse(ctx context.Context, entryId int64, reqEditors ...RequestEditorFn) (*NewEntryForwardResponse, error)
NewEntryForwardWithResponse performs a GET /entries/{entryId}/forwards/new.json (the `NewEntryForward` operationId) request.
Get a prefilled forward of an entry: subject, quoted body and blank recipients. Send it with CreateMessage once the recipients are filled in.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) NewEntryReplyWithResponse ¶ added in v0.22.0
func (c *ClientWithResponses) NewEntryReplyWithResponse(ctx context.Context, entryId int64, reqEditors ...RequestEditorFn) (*NewEntryReplyResponse, error)
NewEntryReplyWithResponse performs a GET /entries/{entryId}/replies/new.json (the `NewEntryReply` operationId) request.
Get a prefilled reply to an entry: the quoted body and, in addressed, the participating contacts a reply goes to as HEY computes them — the sender moved onto the To line and the acting user's own addresses, aliases and catch-alls excluded.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) PuntClearancesWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) PuntClearancesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PuntClearancesResponse, error)
PuntClearancesWithResponse performs a POST /clearances/punt.json (the `PuntClearances` operationId) request.
Clear the Screener — every pending sender is punted and reexamined on their next email.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) RemovePostingsFromBoxGroupWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) RemovePostingsFromBoxGroupWithResponse(ctx context.Context, params *RemovePostingsFromBoxGroupParams, reqEditors ...RequestEditorFn) (*RemovePostingsFromBoxGroupResponse, error)
RemovePostingsFromBoxGroupWithResponse performs a DELETE /postings/box_groups.json (the `RemovePostingsFromBoxGroup` operationId) request.
Remove a selection of postings from their Set Aside group.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) RestoreTopicWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) RestoreTopicWithResponse(ctx context.Context, topicId int64, reqEditors ...RequestEditorFn) (*RestoreTopicResponse, error)
RestoreTopicWithResponse performs a PUT /topics/{topicId}/status/active.json (the `RestoreTopic` operationId) request.
Restore a topic from the trash or the catch-all.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ResumeHabitWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ResumeHabitWithResponse(ctx context.Context, habitId int64, reqEditors ...RequestEditorFn) (*ResumeHabitResponse, error)
ResumeHabitWithResponse performs a DELETE /calendar/habits/{habitId}/stop.json (the `ResumeHabit` operationId) request.
Resume a paused habit.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) RevealContactWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) RevealContactWithResponse(ctx context.Context, contactId int64, reqEditors ...RequestEditorFn) (*RevealContactResponse, error)
RevealContactWithResponse performs a POST /contacts/{contactId}/reveal.json (the `RevealContact` operationId) request.
Put a hidden contact back in the contact list.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) SchedulePostingsBubbleUpWithBodyWithResponse ¶ added in v0.24.0
func (c *ClientWithResponses) SchedulePostingsBubbleUpWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SchedulePostingsBubbleUpResponse, error)
SchedulePostingsBubbleUpWithBodyWithResponse performs a POST /postings/bubble_up.json (the `SchedulePostingsBubbleUp` operationId) request, with any type of body and a specified content type.
Schedule a selection of postings to bubble up.
HEY's scheduler takes a `slot` — today, tomorrow, weekend, next_week, surprise_me or custom — and a custom slot also carries the `date` (YYYY-MM-DD) to bubble up on, at HEY's morning hour. The today slot lands at HEY's evening hour of the current day instead, and both hours are UTC over JSON. An unknown slot, or a custom slot without a date, is a server error rather than a validation response, so callers check both first. Responds 201 Created.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) SchedulePostingsBubbleUpWithResponse ¶ added in v0.24.0
func (c *ClientWithResponses) SchedulePostingsBubbleUpWithResponse(ctx context.Context, body SchedulePostingsBubbleUpJSONRequestBody, reqEditors ...RequestEditorFn) (*SchedulePostingsBubbleUpResponse, error)
SchedulePostingsBubbleUpWithResponse performs a POST /postings/bubble_up.json (the `SchedulePostingsBubbleUp` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Schedule a selection of postings to bubble up.
HEY's scheduler takes a `slot` — today, tomorrow, weekend, next_week, surprise_me or custom — and a custom slot also carries the `date` (YYYY-MM-DD) to bubble up on, at HEY's morning hour. The today slot lands at HEY's evening hour of the current day instead, and both hours are UTC over JSON. An unknown slot, or a custom slot without a date, is a server error rather than a validation response, so callers check both first. Responds 201 Created.
func (*ClientWithResponses) StartTimeTrackWithResponse ¶
func (c *ClientWithResponses) StartTimeTrackWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*StartTimeTrackResponse, error)
StartTimeTrackWithResponse performs a POST /calendar/ongoing_time_track.json (the `StartTimeTrack` operationId) request.
Start a new time track. Takes no body: haystack's Calendar::OngoingTimeTracksController#create ignores request parameters and starts a track with defaults; use UpdateTimeTrack to set notes and category_title, which also stops the track.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) StopHabitWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) StopHabitWithResponse(ctx context.Context, habitId int64, reqEditors ...RequestEditorFn) (*StopHabitResponse, error)
StopHabitWithResponse performs a POST /calendar/habits/{habitId}/stop.json (the `StopHabit` operationId) request.
Pause a habit, so it stops appearing on the calendar ¶
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ToggleCalendarWithResponse ¶ added in v0.16.0
func (c *ClientWithResponses) ToggleCalendarWithResponse(ctx context.Context, calendarId int64, reqEditors ...RequestEditorFn) (*ToggleCalendarResponse, error)
ToggleCalendarWithResponse performs a POST /calendars/{calendarId}/toggle (the `ToggleCalendar` operationId) request.
Switch a calendar in or out of the reader's selection, and answer the selection it left behind. The selection is what every period read is scoped to, so a toggle is how a client changes which calendars a day, week or year is drawn from.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) TrashPostingsWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) TrashPostingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TrashPostingsResponse, error)
TrashPostingsWithBodyWithResponse performs a POST /postings/trash.json (the `TrashPostings` operationId) request, with any type of body and a specified content type.
Move postings to the trash (bulk). Mirrors HEY's Postings::TrashController. For JSON requests the server treats the removal decision as made (shared topics: your access is removed). Responds 204 No Content.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) TrashPostingsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) TrashPostingsWithResponse(ctx context.Context, body TrashPostingsJSONRequestBody, reqEditors ...RequestEditorFn) (*TrashPostingsResponse, error)
TrashPostingsWithResponse performs a POST /postings/trash.json (the `TrashPostings` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Move postings to the trash (bulk). Mirrors HEY's Postings::TrashController. For JSON requests the server treats the removal decision as made (shared topics: your access is removed). Responds 204 No Content.
func (*ClientWithResponses) TrashTopicWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) TrashTopicWithResponse(ctx context.Context, topicId int64, params *TrashTopicParams, reqEditors ...RequestEditorFn) (*TrashTopicResponse, error)
TrashTopicWithResponse performs a PUT /topics/{topicId}/status/trashed.json (the `TrashTopic` operationId) request.
Trash a topic.
A shared topic redirects to the removal confirmation page unless confirm_destroy is set, so always pass it when trashing something that might be shared.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) UnbundleContactWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UnbundleContactWithResponse(ctx context.Context, contactId int64, reqEditors ...RequestEditorFn) (*UnbundleContactResponse, error)
UnbundleContactWithResponse performs a DELETE /contacts/{contactId}/bundle.json (the `UnbundleContact` operationId) request.
Stop bundling a contact's mail.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) UncompleteCalendarTodoWithResponse ¶
func (c *ClientWithResponses) UncompleteCalendarTodoWithResponse(ctx context.Context, todoId int64, reqEditors ...RequestEditorFn) (*UncompleteCalendarTodoResponse, error)
UncompleteCalendarTodoWithResponse performs a DELETE /calendar/todos/{todoId}/completions (the `UncompleteCalendarTodo` operationId) request.
Uncomplete a calendar todo.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) UncompleteHabitWithResponse ¶
func (c *ClientWithResponses) UncompleteHabitWithResponse(ctx context.Context, day string, habitId int64, reqEditors ...RequestEditorFn) (*UncompleteHabitResponse, error)
UncompleteHabitWithResponse performs a DELETE /calendar/days/{day}/habits/{habitId}/completions (the `UncompleteHabit` operationId) request.
Uncomplete a habit for a day.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) UnfilePostingsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UnfilePostingsWithResponse(ctx context.Context, params *UnfilePostingsParams, reqEditors ...RequestEditorFn) (*UnfilePostingsResponse, error)
UnfilePostingsWithResponse performs a DELETE /postings/filings.json (the `UnfilePostings` operationId) request.
Remove a selection of postings from a folder, or from every folder when folder_id is omitted
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) UnmutePostingsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UnmutePostingsWithResponse(ctx context.Context, params *UnmutePostingsParams, reqEditors ...RequestEditorFn) (*UnmutePostingsResponse, error)
UnmutePostingsWithResponse performs a DELETE /postings/mutings.json (the `UnmutePostings` operationId) request.
Unmute postings (bulk). Mirrors HEY's Postings::MutingsController#destroy. `posting_ids` is sent as a comma-separated query string because DELETE carries no body. Responds 201 Created.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) UpdateCalendarTodoWithBodyWithResponse ¶ added in v0.14.0
func (c *ClientWithResponses) UpdateCalendarTodoWithBodyWithResponse(ctx context.Context, todoId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCalendarTodoResponse, error)
UpdateCalendarTodoWithBodyWithResponse performs a PATCH /calendar/todos/{todoId} (the `UpdateCalendarTodo` operationId) request, with any type of body and a specified content type.
Edit a calendar todo. todoId is the recording's id, and every field of the payload is optional: haystack's `wrap_parameters` accepts title, focused and starts_at, and changes only what is sent.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) UpdateCalendarTodoWithResponse ¶ added in v0.14.0
func (c *ClientWithResponses) UpdateCalendarTodoWithResponse(ctx context.Context, todoId int64, body UpdateCalendarTodoJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCalendarTodoResponse, error)
UpdateCalendarTodoWithResponse performs a PATCH /calendar/todos/{todoId} (the `UpdateCalendarTodo` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Edit a calendar todo. todoId is the recording's id, and every field of the payload is optional: haystack's `wrap_parameters` accepts title, focused and starts_at, and changes only what is sent.
func (*ClientWithResponses) UpdateClearanceWithBodyWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) UpdateClearanceWithBodyWithResponse(ctx context.Context, clearanceId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateClearanceResponse, error)
UpdateClearanceWithBodyWithResponse performs a PATCH /clearances/{clearanceId} (the `UpdateClearance` operationId) request, with any type of body and a specified content type.
Screen a sender in or out of the Screener ¶
designation_box_id files everything they send into that box instead of the Imbox. spam marks what is already waiting as spam and trains the filter on it.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) UpdateClearanceWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) UpdateClearanceWithResponse(ctx context.Context, clearanceId int64, body UpdateClearanceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateClearanceResponse, error)
UpdateClearanceWithResponse performs a PATCH /clearances/{clearanceId} (the `UpdateClearance` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Screen a sender in or out of the Screener ¶
designation_box_id files everything they send into that box instead of the Imbox. spam marks what is already waiting as spam and trains the filter on it.
func (*ClientWithResponses) UpdateCollectionWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UpdateCollectionWithBodyWithResponse(ctx context.Context, collectionId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCollectionResponse, error)
UpdateCollectionWithBodyWithResponse performs a PATCH /collections/{collectionId} (the `UpdateCollection` operationId) request, with any type of body and a specified content type.
Rename a collection or change its summary.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) UpdateCollectionWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UpdateCollectionWithResponse(ctx context.Context, collectionId int64, body UpdateCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCollectionResponse, error)
UpdateCollectionWithResponse performs a PATCH /collections/{collectionId} (the `UpdateCollection` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Rename a collection or change its summary.
func (*ClientWithResponses) UpdateContactClearanceWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UpdateContactClearanceWithBodyWithResponse(ctx context.Context, contactId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateContactClearanceResponse, error)
UpdateContactClearanceWithBodyWithResponse performs a PATCH /contacts/{contactId}/clearance.json (the `UpdateContactClearance` operationId) request, with any type of body and a specified content type.
Screen a contact in or out. Status is "approved" or "denied".
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) UpdateContactClearanceWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UpdateContactClearanceWithResponse(ctx context.Context, contactId int64, body UpdateContactClearanceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateContactClearanceResponse, error)
UpdateContactClearanceWithResponse performs a PATCH /contacts/{contactId}/clearance.json (the `UpdateContactClearance` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Screen a contact in or out. Status is "approved" or "denied".
func (*ClientWithResponses) UpdateContactNoteWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UpdateContactNoteWithBodyWithResponse(ctx context.Context, contactId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateContactNoteResponse, error)
UpdateContactNoteWithBodyWithResponse performs a PATCH /contacts/{contactId}/note.json (the `UpdateContactNote` operationId) request, with any type of body and a specified content type.
Write the private note on a contact, replacing whatever was there ¶
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) UpdateContactNoteWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UpdateContactNoteWithResponse(ctx context.Context, contactId int64, body UpdateContactNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateContactNoteResponse, error)
UpdateContactNoteWithResponse performs a PATCH /contacts/{contactId}/note.json (the `UpdateContactNote` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Write the private note on a contact, replacing whatever was there
func (*ClientWithResponses) UpdateContactWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UpdateContactWithBodyWithResponse(ctx context.Context, contactId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateContactResponse, error)
UpdateContactWithBodyWithResponse performs a PATCH /contacts/{contactId} (the `UpdateContact` operationId) request, with any type of body and a specified content type.
Edit a contact. HEY rewrites the whole contact, so send every field: a name, address or alias left out is cleared. Answers the contact, which is not always the one addressed — promoting an alias makes the alias primary.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) UpdateContactWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UpdateContactWithResponse(ctx context.Context, contactId int64, body UpdateContactJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateContactResponse, error)
UpdateContactWithResponse performs a PATCH /contacts/{contactId} (the `UpdateContact` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Edit a contact. HEY rewrites the whole contact, so send every field: a name, address or alias left out is cleared. Answers the contact, which is not always the one addressed — promoting an alias makes the alias primary.
func (*ClientWithResponses) UpdateFirstWeekDayWithBodyWithResponse ¶ added in v0.23.0
func (c *ClientWithResponses) UpdateFirstWeekDayWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFirstWeekDayResponse, error)
UpdateFirstWeekDayWithBodyWithResponse performs a PUT /calendar/identity/first_week_day (the `UpdateFirstWeekDay` operationId) request, with any type of body and a specified content type.
Set which day the identity's calendar weeks start on. Answers the stored preference. The write reaches every HEY client — web, mobile and this SDK read the same identity preference.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) UpdateFirstWeekDayWithResponse ¶ added in v0.23.0
func (c *ClientWithResponses) UpdateFirstWeekDayWithResponse(ctx context.Context, body UpdateFirstWeekDayJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateFirstWeekDayResponse, error)
UpdateFirstWeekDayWithResponse performs a PUT /calendar/identity/first_week_day (the `UpdateFirstWeekDay` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Set which day the identity's calendar weeks start on. Answers the stored preference. The write reaches every HEY client — web, mobile and this SDK read the same identity preference.
func (*ClientWithResponses) UpdateHabitWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UpdateHabitWithBodyWithResponse(ctx context.Context, habitId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateHabitResponse, error)
UpdateHabitWithBodyWithResponse performs a PATCH /calendar/habits/{habitId} (the `UpdateHabit` operationId) request, with any type of body and a specified content type.
Edit a habit. habitId is the recording's id.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) UpdateHabitWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UpdateHabitWithResponse(ctx context.Context, habitId int64, body UpdateHabitJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateHabitResponse, error)
UpdateHabitWithResponse performs a PATCH /calendar/habits/{habitId} (the `UpdateHabit` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Edit a habit. habitId is the recording's id.
func (*ClientWithResponses) UpdateJournalEntryWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateJournalEntryWithBodyWithResponse(ctx context.Context, day string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateJournalEntryResponse, error)
UpdateJournalEntryWithBodyWithResponse performs a PATCH /calendar/days/{day}/journal_entry (the `UpdateJournalEntry` operationId) request, with any type of body and a specified content type.
Update the journal entry for a day: writes (or creates) it and answers the entry as a recording, or 204 when empty content removes it.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) UpdateJournalEntryWithResponse ¶
func (c *ClientWithResponses) UpdateJournalEntryWithResponse(ctx context.Context, day string, body UpdateJournalEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateJournalEntryResponse, error)
UpdateJournalEntryWithResponse performs a PATCH /calendar/days/{day}/journal_entry (the `UpdateJournalEntry` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Update the journal entry for a day: writes (or creates) it and answers the entry as a recording, or 204 when empty content removes it.
func (*ClientWithResponses) UpdateMessageWithBodyWithResponse ¶ added in v0.22.0
func (c *ClientWithResponses) UpdateMessageWithBodyWithResponse(ctx context.Context, messageId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMessageResponse, error)
UpdateMessageWithBodyWithResponse performs a PUT /messages/{messageId} (the `UpdateMessage` operationId) request, with any type of body and a specified content type.
Revise a message entry (MessagesController#update). With entry.status "drafted" the entry is saved as a draft (204 + Location, like CreateMessage); without it a draft is delivered through the undo-delay window. A trashed draft is silently restored first. The revision is not a patch: subject, content and any scheduled delivery are rewritten from this request (an omitted scheduled delivery clears one), while recipients are replaced only when entry.addressed is present.
Not naturally idempotent despite the PUT: without the drafted status this request *delivers*, so a transparent retry after an ambiguous first attempt could send the message again. The client must not retry it.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) UpdateMessageWithResponse ¶ added in v0.22.0
func (c *ClientWithResponses) UpdateMessageWithResponse(ctx context.Context, messageId int64, body UpdateMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMessageResponse, error)
UpdateMessageWithResponse performs a PUT /messages/{messageId} (the `UpdateMessage` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Revise a message entry (MessagesController#update). With entry.status "drafted" the entry is saved as a draft (204 + Location, like CreateMessage); without it a draft is delivered through the undo-delay window. A trashed draft is silently restored first. The revision is not a patch: subject, content and any scheduled delivery are rewritten from this request (an omitted scheduled delivery clears one), while recipients are replaced only when entry.addressed is present.
Not naturally idempotent despite the PUT: without the drafted status this request *delivers*, so a transparent retry after an ambiguous first attempt could send the message again. The client must not retry it.
func (*ClientWithResponses) UpdateMyClearanceWithBodyWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) UpdateMyClearanceWithBodyWithResponse(ctx context.Context, clearanceId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMyClearanceResponse, error)
UpdateMyClearanceWithBodyWithResponse performs a PATCH /my/clearances/{clearanceId} (the `UpdateMyClearance` operationId) request, with any type of body and a specified content type.
Rescreen a sender who was already screened in or out.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) UpdateMyClearanceWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) UpdateMyClearanceWithResponse(ctx context.Context, clearanceId int64, body UpdateMyClearanceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMyClearanceResponse, error)
UpdateMyClearanceWithResponse performs a PATCH /my/clearances/{clearanceId} (the `UpdateMyClearance` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Rescreen a sender who was already screened in or out.
func (*ClientWithResponses) UpdateStickyWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UpdateStickyWithBodyWithResponse(ctx context.Context, stickyId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateStickyResponse, error)
UpdateStickyWithBodyWithResponse performs a PATCH /stickies/{stickyId} (the `UpdateSticky` operationId) request, with any type of body and a specified content type.
Edit a sticky.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) UpdateStickyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UpdateStickyWithResponse(ctx context.Context, stickyId int64, body UpdateStickyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateStickyResponse, error)
UpdateStickyWithResponse performs a PATCH /stickies/{stickyId} (the `UpdateSticky` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Edit a sticky.
func (*ClientWithResponses) UpdateTimeFormatWithBodyWithResponse ¶ added in v0.23.0
func (c *ClientWithResponses) UpdateTimeFormatWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTimeFormatResponse, error)
UpdateTimeFormatWithBodyWithResponse performs a PUT /identity/time_format (the `UpdateTimeFormat` operationId) request, with any type of body and a specified content type.
Set whether HEY renders times on a 12-hour or a 24-hour clock. Answers the stored preference. The parameter is the web toggle's, said honestly: true for the 24-hour clock, false for the 12-hour one.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) UpdateTimeFormatWithResponse ¶ added in v0.23.0
func (c *ClientWithResponses) UpdateTimeFormatWithResponse(ctx context.Context, body UpdateTimeFormatJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateTimeFormatResponse, error)
UpdateTimeFormatWithResponse performs a PUT /identity/time_format (the `UpdateTimeFormat` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Set whether HEY renders times on a 12-hour or a 24-hour clock. Answers the stored preference. The parameter is the web toggle's, said honestly: true for the 24-hour clock, false for the 12-hour one.
func (*ClientWithResponses) UpdateTimeTrackWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateTimeTrackWithBodyWithResponse(ctx context.Context, timeTrackId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTimeTrackResponse, error)
UpdateTimeTrackWithBodyWithResponse performs a PUT /calendar/time_tracks/{timeTrackId} (the `UpdateTimeTrack` operationId) request, with any type of body and a specified content type.
Update a time track (stop by setting ends_at to current time).
Every update completes the track, whether or not ends_at is sent, so this cannot be used to adjust a running track: it stops it.
Only the fields sent are written, so a partial update leaves the rest of the track alone. A starts_at or ends_at the server cannot parse is a 400, not a 422.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) UpdateTimeTrackWithResponse ¶
func (c *ClientWithResponses) UpdateTimeTrackWithResponse(ctx context.Context, timeTrackId int64, body UpdateTimeTrackJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateTimeTrackResponse, error)
UpdateTimeTrackWithResponse performs a PUT /calendar/time_tracks/{timeTrackId} (the `UpdateTimeTrack` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Update a time track (stop by setting ends_at to current time).
Every update completes the track, whether or not ends_at is sent, so this cannot be used to adjust a running track: it stops it.
Only the fields sent are written, so a partial update leaves the rest of the track alone. A starts_at or ends_at the server cannot parse is a 400, not a 422.
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// AdvancedSearchWithResponse performs a GET /advanced_search.json (the `AdvancedSearch` operationId) request.
//
// Get the options the advanced search refine form offers.
//
// Advanced search: message matches grouped by topic as the search page shows them —
// the topic, its posting id, and the matching entries as summaries (no bodies; read a
// message with GetMessage). Refinements are the same query parameters the page uses.
// The next page, if any, is a Link header.
//
// Returns a wrapper object for the known response body format(s).
AdvancedSearchWithResponse(ctx context.Context, params *AdvancedSearchParams, reqEditors ...RequestEditorFn) (*AdvancedSearchResponse, error)
// GetAdvancedSearchFiltersWithResponse performs a GET /advanced_search_filters.json (the `GetAdvancedSearchFilters` operationId) request.
//
// The advanced search refine form's options: boxes, date ranges, labels and attachment kinds.
//
// Returns a wrapper object for the known response body format(s).
GetAdvancedSearchFiltersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAdvancedSearchFiltersResponse, error)
// ListBoxesWithResponse performs a GET /boxes.json (the `ListBoxes` operationId) request.
//
// List all boxes.
//
// Returns a wrapper object for the known response body format(s).
ListBoxesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListBoxesResponse, error)
// GetBoxWithResponse performs a GET /boxes/{boxId} (the `GetBox` operationId) request.
//
// Get a specific box.
//
// Returns a wrapper object for the known response body format(s).
GetBoxWithResponse(ctx context.Context, boxId int64, params *GetBoxParams, reqEditors ...RequestEditorFn) (*GetBoxResponse, error)
// CreateBoxDesignationWithBodyWithResponse performs a POST /boxes/{boxId}/designations.json (the `CreateBoxDesignation` operationId) request,
// with any type of body and a specified content type.
//
// Designate a contact to a box, so everything they send lands there
//
// Returns a wrapper object for the known response body format(s).
CreateBoxDesignationWithBodyWithResponse(ctx context.Context, boxId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBoxDesignationResponse, error)
// CreateBoxDesignationWithResponse performs a POST /boxes/{boxId}/designations.json (the `CreateBoxDesignation` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Designate a contact to a box, so everything they send lands there
CreateBoxDesignationWithResponse(ctx context.Context, boxId int64, body CreateBoxDesignationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBoxDesignationResponse, error)
// DeleteBoxDesignationWithResponse performs a DELETE /boxes/{boxId}/designations/{designationId} (the `DeleteBoxDesignation` operationId) request.
//
// Remove a designation from a box. The id is the designation's, not the contact's.
//
// Returns a wrapper object for the known response body format(s).
DeleteBoxDesignationWithResponse(ctx context.Context, boxId int64, designationId int64, reqEditors ...RequestEditorFn) (*DeleteBoxDesignationResponse, error)
// ListBoxGroupsWithResponse performs a GET /boxes/{boxId}/groups.json (the `ListBoxGroups` operationId) request.
//
// List the Set Aside groups in a box.
//
// Returns a wrapper object for the known response body format(s).
ListBoxGroupsWithResponse(ctx context.Context, boxId int64, reqEditors ...RequestEditorFn) (*ListBoxGroupsResponse, error)
// CreateBoxGroupWithBodyWithResponse performs a POST /boxes/{boxId}/groups.json (the `CreateBoxGroup` operationId) request,
// with any type of body and a specified content type.
//
// Create a Set Aside group out of a selection of postings.
//
// This endpoint does not split a comma-joined posting_ids string — send an array.
//
// Returns a wrapper object for the known response body format(s).
CreateBoxGroupWithBodyWithResponse(ctx context.Context, boxId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBoxGroupResponse, error)
// CreateBoxGroupWithResponse performs a POST /boxes/{boxId}/groups.json (the `CreateBoxGroup` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Create a Set Aside group out of a selection of postings.
//
// This endpoint does not split a comma-joined posting_ids string — send an array.
CreateBoxGroupWithResponse(ctx context.Context, boxId int64, body CreateBoxGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBoxGroupResponse, error)
// DeleteBoxGroupWithResponse performs a DELETE /boxes/{boxId}/groups/{groupId} (the `DeleteBoxGroup` operationId) request.
//
// Break up a Set Aside group, moving its postings back to Previously Seen
//
// Returns a wrapper object for the known response body format(s).
DeleteBoxGroupWithResponse(ctx context.Context, boxId int64, groupId int64, reqEditors ...RequestEditorFn) (*DeleteBoxGroupResponse, error)
// MarkBoxSeenWithResponse performs a POST /boxes/{boxId}/observation.json (the `MarkBoxSeen` operationId) request.
//
// Mark everything in a box as seen. The work is queued, so the effect is eventually consistent.
//
// Returns a wrapper object for the known response body format(s).
MarkBoxSeenWithResponse(ctx context.Context, boxId int64, reqEditors ...RequestEditorFn) (*MarkBoxSeenResponse, error)
// GetBoxPostingChangesWithResponse performs a GET /boxes/{boxId}/postings/changes.json (the `GetBoxPostingChanges` operationId) request.
//
// Read what changed among a box's postings since a point in time.
//
// This is the incremental sync feed the mail clients follow rather than re-reading a
// box. `since` is an ISO 8601 timestamp with milliseconds and is exclusive, and `v` is
// the client's contract version — the server answers 409 when the caller is too far
// behind for an increment to carry the difference, which means read the box in full
// instead. A box's own `posting_changes_url` carries the `since` and `v` to start from,
// and the `Link` header names the next page while one remains and the next `since`
// cursor on the last page.
//
// Returns a wrapper object for the known response body format(s).
GetBoxPostingChangesWithResponse(ctx context.Context, boxId int64, params *GetBoxPostingChangesParams, reqEditors ...RequestEditorFn) (*GetBoxPostingChangesResponse, error)
// GetBubbleboxWithResponse performs a GET /bubble_up.json (the `GetBubblebox` operationId) request.
//
// Get the Bubble Up box.
//
// Returns a wrapper object for the known response body format(s).
GetBubbleboxWithResponse(ctx context.Context, params *GetBubbleboxParams, reqEditors ...RequestEditorFn) (*GetBubbleboxResponse, error)
// CreateBulkReplyWithBodyWithResponse performs a POST /bulk_replies.json (the `CreateBulkReply` operationId) request,
// with any type of body and a specified content type.
//
// Send one reply to every entry. Answers what was sent, not the replies themselves:
// delivery is queued, and delayed while undo is still possible.
//
// Returns a wrapper object for the known response body format(s).
CreateBulkReplyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBulkReplyResponse, error)
// CreateBulkReplyWithResponse performs a POST /bulk_replies.json (the `CreateBulkReply` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Send one reply to every entry. Answers what was sent, not the replies themselves:
// delivery is queued, and delayed while undo is still possible.
CreateBulkReplyWithResponse(ctx context.Context, body CreateBulkReplyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBulkReplyResponse, error)
// NewBulkReplyWithResponse performs a GET /bulk_replies/new.json (the `NewBulkReply` operationId) request.
//
// Work out which entries a bulk reply would answer. HEY replies to the last replyable
// entry of each thread, skipping threads with no reply address, so the postings you hold
// are not the entries you send to — this resolves them.
//
// Returns a wrapper object for the known response body format(s).
NewBulkReplyWithResponse(ctx context.Context, params *NewBulkReplyParams, reqEditors ...RequestEditorFn) (*NewBulkReplyResponse, error)
// ListCalendarDaysWithResponse performs a GET /calendar/days.json (the `ListCalendarDays` operationId) request.
//
// List the days from a date onwards. The server picks how many, so this is a window
// rather than a page: read the next one by asking from the last day's date.
//
// Returns a wrapper object for the known response body format(s).
ListCalendarDaysWithResponse(ctx context.Context, params *ListCalendarDaysParams, reqEditors ...RequestEditorFn) (*ListCalendarDaysResponse, error)
// GetCalendarDayWithResponse performs a GET /calendar/days/{day} (the `GetCalendarDay` operationId) request.
//
// Get one day.
//
// Returns a wrapper object for the known response body format(s).
GetCalendarDayWithResponse(ctx context.Context, day string, reqEditors ...RequestEditorFn) (*GetCalendarDayResponse, error)
// UncompleteHabitWithResponse performs a DELETE /calendar/days/{day}/habits/{habitId}/completions (the `UncompleteHabit` operationId) request.
//
// Uncomplete a habit for a day.
//
// Returns a wrapper object for the known response body format(s).
UncompleteHabitWithResponse(ctx context.Context, day string, habitId int64, reqEditors ...RequestEditorFn) (*UncompleteHabitResponse, error)
// CompleteHabitWithResponse performs a POST /calendar/days/{day}/habits/{habitId}/completions (the `CompleteHabit` operationId) request.
//
// Complete a habit for a day.
//
// Returns a wrapper object for the known response body format(s).
CompleteHabitWithResponse(ctx context.Context, day string, habitId int64, reqEditors ...RequestEditorFn) (*CompleteHabitResponse, error)
// GetJournalEntryWithResponse performs a GET /calendar/days/{day}/journal_entry (the `GetJournalEntry` operationId) request.
//
// Get journal entry for a day.
//
// Returns a wrapper object for the known response body format(s).
GetJournalEntryWithResponse(ctx context.Context, day string, reqEditors ...RequestEditorFn) (*GetJournalEntryResponse, error)
// UpdateJournalEntryWithBodyWithResponse performs a PATCH /calendar/days/{day}/journal_entry (the `UpdateJournalEntry` operationId) request,
// with any type of body and a specified content type.
//
// Update the journal entry for a day: writes (or creates) it and answers the entry as a
// recording, or 204 when empty content removes it.
//
// Returns a wrapper object for the known response body format(s).
UpdateJournalEntryWithBodyWithResponse(ctx context.Context, day string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateJournalEntryResponse, error)
// UpdateJournalEntryWithResponse performs a PATCH /calendar/days/{day}/journal_entry (the `UpdateJournalEntry` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Update the journal entry for a day: writes (or creates) it and answers the entry as a
// recording, or 204 when empty content removes it.
UpdateJournalEntryWithResponse(ctx context.Context, day string, body UpdateJournalEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateJournalEntryResponse, error)
// CreateHabitWithBodyWithResponse performs a POST /calendar/habits.json (the `CreateHabit` operationId) request,
// with any type of body and a specified content type.
//
// Start a new habit. Answers the created habit as a recording.
//
// Returns a wrapper object for the known response body format(s).
CreateHabitWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateHabitResponse, error)
// CreateHabitWithResponse performs a POST /calendar/habits.json (the `CreateHabit` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Start a new habit. Answers the created habit as a recording.
CreateHabitWithResponse(ctx context.Context, body CreateHabitJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateHabitResponse, error)
// DeleteHabitWithResponse performs a DELETE /calendar/habits/{habitId} (the `DeleteHabit` operationId) request.
//
// Delete a habit. habitId is the recording's id.
//
// Returns a wrapper object for the known response body format(s).
DeleteHabitWithResponse(ctx context.Context, habitId int64, reqEditors ...RequestEditorFn) (*DeleteHabitResponse, error)
// UpdateHabitWithBodyWithResponse performs a PATCH /calendar/habits/{habitId} (the `UpdateHabit` operationId) request,
// with any type of body and a specified content type.
//
// Edit a habit. habitId is the recording's id.
//
// Returns a wrapper object for the known response body format(s).
UpdateHabitWithBodyWithResponse(ctx context.Context, habitId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateHabitResponse, error)
// UpdateHabitWithResponse performs a PATCH /calendar/habits/{habitId} (the `UpdateHabit` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Edit a habit. habitId is the recording's id.
UpdateHabitWithResponse(ctx context.Context, habitId int64, body UpdateHabitJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateHabitResponse, error)
// ResumeHabitWithResponse performs a DELETE /calendar/habits/{habitId}/stop.json (the `ResumeHabit` operationId) request.
//
// Resume a paused habit.
//
// Returns a wrapper object for the known response body format(s).
ResumeHabitWithResponse(ctx context.Context, habitId int64, reqEditors ...RequestEditorFn) (*ResumeHabitResponse, error)
// StopHabitWithResponse performs a POST /calendar/habits/{habitId}/stop.json (the `StopHabit` operationId) request.
//
// Pause a habit, so it stops appearing on the calendar
//
// Returns a wrapper object for the known response body format(s).
StopHabitWithResponse(ctx context.Context, habitId int64, reqEditors ...RequestEditorFn) (*StopHabitResponse, error)
// UpdateFirstWeekDayWithBodyWithResponse performs a PUT /calendar/identity/first_week_day (the `UpdateFirstWeekDay` operationId) request,
// with any type of body and a specified content type.
//
// Set which day the identity's calendar weeks start on. Answers the stored
// preference. The write reaches every HEY client — web, mobile and this SDK
// read the same identity preference.
//
// Returns a wrapper object for the known response body format(s).
UpdateFirstWeekDayWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFirstWeekDayResponse, error)
// UpdateFirstWeekDayWithResponse performs a PUT /calendar/identity/first_week_day (the `UpdateFirstWeekDay` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Set which day the identity's calendar weeks start on. Answers the stored
// preference. The write reaches every HEY client — web, mobile and this SDK
// read the same identity preference.
UpdateFirstWeekDayWithResponse(ctx context.Context, body UpdateFirstWeekDayJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateFirstWeekDayResponse, error)
// ListJournalEntriesWithResponse performs a GET /calendar/journal_entries (the `ListJournalEntries` operationId) request.
//
// List journal entries newest first. The next page, if any, is a Link header.
// Pass q to search journal entry content.
//
// Returns a wrapper object for the known response body format(s).
ListJournalEntriesWithResponse(ctx context.Context, params *ListJournalEntriesParams, reqEditors ...RequestEditorFn) (*ListJournalEntriesResponse, error)
// GetOngoingTimeTrackWithResponse performs a GET /calendar/ongoing_time_track.json (the `GetOngoingTimeTrack` operationId) request.
//
// Get the ongoing time track (404 = no active track; see ADR-004)
//
// Returns a wrapper object for the known response body format(s).
GetOngoingTimeTrackWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOngoingTimeTrackResponse, error)
// StartTimeTrackWithResponse performs a POST /calendar/ongoing_time_track.json (the `StartTimeTrack` operationId) request.
//
// Start a new time track. Takes no body: haystack's
// Calendar::OngoingTimeTracksController#create ignores request parameters and
// starts a track with defaults; use UpdateTimeTrack to set notes and category_title,
// which also stops the track.
//
// Returns a wrapper object for the known response body format(s).
StartTimeTrackWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*StartTimeTrackResponse, error)
// ListTimeTracksWithResponse performs a GET /calendar/time_tracks.json (the `ListTimeTracks` operationId) request.
//
// List tracked time — completed tracks only, newest-ended first.
//
// A running track is not here; read that with GetOngoingTimeTrack. The next page, if
// any, is a Link header, and the last page carries none, so a nil Link is the end of
// the list rather than an error.
//
// category_id narrows the list to one category and 404s if the calendar has no
// category by that id.
//
// The calendar's categories come back alongside the tracks, so showing or applying the
// filter does not need ListTimeTrackCategories as well.
//
// Returns a wrapper object for the known response body format(s).
ListTimeTracksWithResponse(ctx context.Context, params *ListTimeTracksParams, reqEditors ...RequestEditorFn) (*ListTimeTracksResponse, error)
// CreateTimeTrackWithBodyWithResponse performs a POST /calendar/time_tracks.json (the `CreateTimeTrack` operationId) request,
// with any type of body and a specified content type.
//
// Record a finished stretch of time.
//
// JSON callers send the fields flat; Rails wraps them into calendar_time_track itself.
//
// Returns a wrapper object for the known response body format(s).
CreateTimeTrackWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTimeTrackResponse, error)
// CreateTimeTrackWithResponse performs a POST /calendar/time_tracks.json (the `CreateTimeTrack` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Record a finished stretch of time.
//
// JSON callers send the fields flat; Rails wraps them into calendar_time_track itself.
CreateTimeTrackWithResponse(ctx context.Context, body CreateTimeTrackJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTimeTrackResponse, error)
// ListTimeTrackCategoriesWithResponse performs a GET /calendar/time_tracks/categories.json (the `ListTimeTrackCategories` operationId) request.
//
// List the calendar's time track categories, alphabetically
//
// Returns a wrapper object for the known response body format(s).
ListTimeTrackCategoriesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListTimeTrackCategoriesResponse, error)
// DeleteTimeTrackWithResponse performs a DELETE /calendar/time_tracks/{timeTrackId} (the `DeleteTimeTrack` operationId) request.
//
// Delete a time track. The id is the recording's.
//
// Returns a wrapper object for the known response body format(s).
DeleteTimeTrackWithResponse(ctx context.Context, timeTrackId int64, reqEditors ...RequestEditorFn) (*DeleteTimeTrackResponse, error)
// UpdateTimeTrackWithBodyWithResponse performs a PUT /calendar/time_tracks/{timeTrackId} (the `UpdateTimeTrack` operationId) request,
// with any type of body and a specified content type.
//
// Update a time track (stop by setting ends_at to current time).
//
// Every update completes the track, whether or not ends_at is sent, so this cannot
// be used to adjust a running track: it stops it.
//
// Only the fields sent are written, so a partial update leaves the rest of the track
// alone. A starts_at or ends_at the server cannot parse is a 400, not a 422.
//
// Returns a wrapper object for the known response body format(s).
UpdateTimeTrackWithBodyWithResponse(ctx context.Context, timeTrackId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTimeTrackResponse, error)
// UpdateTimeTrackWithResponse performs a PUT /calendar/time_tracks/{timeTrackId} (the `UpdateTimeTrack` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Update a time track (stop by setting ends_at to current time).
//
// Every update completes the track, whether or not ends_at is sent, so this cannot
// be used to adjust a running track: it stops it.
//
// Only the fields sent are written, so a partial update leaves the rest of the track
// alone. A starts_at or ends_at the server cannot parse is a 400, not a 422.
UpdateTimeTrackWithResponse(ctx context.Context, timeTrackId int64, body UpdateTimeTrackJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateTimeTrackResponse, error)
// CreateCalendarTodoWithBodyWithResponse performs a POST /calendar/todos.json (the `CreateCalendarTodo` operationId) request,
// with any type of body and a specified content type.
//
// Create a calendar todo.
//
// Returns a wrapper object for the known response body format(s).
CreateCalendarTodoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCalendarTodoResponse, error)
// CreateCalendarTodoWithResponse performs a POST /calendar/todos.json (the `CreateCalendarTodo` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Create a calendar todo.
CreateCalendarTodoWithResponse(ctx context.Context, body CreateCalendarTodoJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCalendarTodoResponse, error)
// DeleteCalendarTodoWithResponse performs a DELETE /calendar/todos/{todoId} (the `DeleteCalendarTodo` operationId) request.
//
// Delete a calendar todo.
//
// Returns a wrapper object for the known response body format(s).
DeleteCalendarTodoWithResponse(ctx context.Context, todoId int64, reqEditors ...RequestEditorFn) (*DeleteCalendarTodoResponse, error)
// UpdateCalendarTodoWithBodyWithResponse performs a PATCH /calendar/todos/{todoId} (the `UpdateCalendarTodo` operationId) request,
// with any type of body and a specified content type.
//
// Edit a calendar todo. todoId is the recording's id, and every field of the payload
// is optional: haystack's `wrap_parameters` accepts title, focused and starts_at, and
// changes only what is sent.
//
// Returns a wrapper object for the known response body format(s).
UpdateCalendarTodoWithBodyWithResponse(ctx context.Context, todoId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCalendarTodoResponse, error)
// UpdateCalendarTodoWithResponse performs a PATCH /calendar/todos/{todoId} (the `UpdateCalendarTodo` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Edit a calendar todo. todoId is the recording's id, and every field of the payload
// is optional: haystack's `wrap_parameters` accepts title, focused and starts_at, and
// changes only what is sent.
UpdateCalendarTodoWithResponse(ctx context.Context, todoId int64, body UpdateCalendarTodoJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCalendarTodoResponse, error)
// UncompleteCalendarTodoWithResponse performs a DELETE /calendar/todos/{todoId}/completions (the `UncompleteCalendarTodo` operationId) request.
//
// Uncomplete a calendar todo.
//
// Returns a wrapper object for the known response body format(s).
UncompleteCalendarTodoWithResponse(ctx context.Context, todoId int64, reqEditors ...RequestEditorFn) (*UncompleteCalendarTodoResponse, error)
// CompleteCalendarTodoWithResponse performs a POST /calendar/todos/{todoId}/completions (the `CompleteCalendarTodo` operationId) request.
//
// Complete a calendar todo.
//
// Returns a wrapper object for the known response body format(s).
CompleteCalendarTodoWithResponse(ctx context.Context, todoId int64, reqEditors ...RequestEditorFn) (*CompleteCalendarTodoResponse, error)
// ListCalendarWeeksWithResponse performs a GET /calendar/weeks.json (the `ListCalendarWeeks` operationId) request.
//
// List the weeks around a date — nine of them, centered on it.
//
// Returns a wrapper object for the known response body format(s).
ListCalendarWeeksWithResponse(ctx context.Context, params *ListCalendarWeeksParams, reqEditors ...RequestEditorFn) (*ListCalendarWeeksResponse, error)
// GetCalendarWeekWithResponse performs a GET /calendar/weeks/{week} (the `GetCalendarWeek` operationId) request.
//
// Get one week.
//
// Returns a wrapper object for the known response body format(s).
GetCalendarWeekWithResponse(ctx context.Context, week string, reqEditors ...RequestEditorFn) (*GetCalendarWeekResponse, error)
// GetCalendarYearWithResponse performs a GET /calendar/years/{year} (the `GetCalendarYear` operationId) request.
//
// Get one year as the grid it is drawn as.
//
// Returns a wrapper object for the known response body format(s).
GetCalendarYearWithResponse(ctx context.Context, year string, reqEditors ...RequestEditorFn) (*GetCalendarYearResponse, error)
// ListCalendarsWithResponse performs a GET /calendars.json (the `ListCalendars` operationId) request.
//
// List calendars.
//
// Returns a wrapper object for the known response body format(s).
ListCalendarsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListCalendarsResponse, error)
// GetCalendarRecordingsWithResponse performs a GET /calendars/{calendarId}/recordings (the `GetCalendarRecordings` operationId) request.
//
// Get recordings for a calendar.
//
// Returns a wrapper object for the known response body format(s).
GetCalendarRecordingsWithResponse(ctx context.Context, calendarId int64, params *GetCalendarRecordingsParams, reqEditors ...RequestEditorFn) (*GetCalendarRecordingsResponse, error)
// ToggleCalendarWithResponse performs a POST /calendars/{calendarId}/toggle (the `ToggleCalendar` operationId) request.
//
// Switch a calendar in or out of the reader's selection, and answer the selection it
// left behind. The selection is what every period read is scoped to, so a toggle is how
// a client changes which calendars a day, week or year is drawn from.
//
// Returns a wrapper object for the known response body format(s).
ToggleCalendarWithResponse(ctx context.Context, calendarId int64, reqEditors ...RequestEditorFn) (*ToggleCalendarResponse, error)
// GetClearancesWithResponse performs a GET /clearances.json (the `GetClearances` operationId) request.
//
// Get the Screener — the pending count, and the senders waiting when asked for them
//
// Returns a wrapper object for the known response body format(s).
GetClearancesWithResponse(ctx context.Context, params *GetClearancesParams, reqEditors ...RequestEditorFn) (*GetClearancesResponse, error)
// BulkUpdateClearancesWithBodyWithResponse performs a PATCH /clearances/bulk.json (the `BulkUpdateClearances` operationId) request,
// with any type of body and a specified content type.
//
// Screen several senders out at once. ids is a comma-separated list.
//
// Returns a wrapper object for the known response body format(s).
BulkUpdateClearancesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkUpdateClearancesResponse, error)
// BulkUpdateClearancesWithResponse performs a PATCH /clearances/bulk.json (the `BulkUpdateClearances` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Screen several senders out at once. ids is a comma-separated list.
BulkUpdateClearancesWithResponse(ctx context.Context, body BulkUpdateClearancesJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkUpdateClearancesResponse, error)
// PuntClearancesWithResponse performs a POST /clearances/punt.json (the `PuntClearances` operationId) request.
//
// Clear the Screener — every pending sender is punted and reexamined on their next email.
//
// Returns a wrapper object for the known response body format(s).
PuntClearancesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PuntClearancesResponse, error)
// UpdateClearanceWithBodyWithResponse performs a PATCH /clearances/{clearanceId} (the `UpdateClearance` operationId) request,
// with any type of body and a specified content type.
//
// Screen a sender in or out of the Screener
//
// designation_box_id files everything they send into that box instead of the Imbox.
// spam marks what is already waiting as spam and trains the filter on it.
//
// Returns a wrapper object for the known response body format(s).
UpdateClearanceWithBodyWithResponse(ctx context.Context, clearanceId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateClearanceResponse, error)
// UpdateClearanceWithResponse performs a PATCH /clearances/{clearanceId} (the `UpdateClearance` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Screen a sender in or out of the Screener
//
// designation_box_id files everything they send into that box instead of the Imbox.
// spam marks what is already waiting as spam and trains the filter on it.
UpdateClearanceWithResponse(ctx context.Context, clearanceId int64, body UpdateClearanceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateClearanceResponse, error)
// ListClipsWithResponse performs a GET /clips.json (the `ListClips` operationId) request.
//
// List clips, newest first
//
// Returns a wrapper object for the known response body format(s).
ListClipsWithResponse(ctx context.Context, params *ListClipsParams, reqEditors ...RequestEditorFn) (*ListClipsResponse, error)
// ListCollectionsWithResponse performs a GET /collections.json (the `ListCollections` operationId) request.
//
// List collections.
//
// Returns a wrapper object for the known response body format(s).
ListCollectionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListCollectionsResponse, error)
// GetCollectionWithResponse performs a GET /collections/{collectionId} (the `GetCollection` operationId) request.
//
// Get a collection and one page of its active, accessible threads
//
// Returns a wrapper object for the known response body format(s).
GetCollectionWithResponse(ctx context.Context, collectionId int64, params *GetCollectionParams, reqEditors ...RequestEditorFn) (*GetCollectionResponse, error)
// UpdateCollectionWithBodyWithResponse performs a PATCH /collections/{collectionId} (the `UpdateCollection` operationId) request,
// with any type of body and a specified content type.
//
// Rename a collection or change its summary.
//
// Returns a wrapper object for the known response body format(s).
UpdateCollectionWithBodyWithResponse(ctx context.Context, collectionId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCollectionResponse, error)
// UpdateCollectionWithResponse performs a PATCH /collections/{collectionId} (the `UpdateCollection` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Rename a collection or change its summary.
UpdateCollectionWithResponse(ctx context.Context, collectionId int64, body UpdateCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCollectionResponse, error)
// ListContactsWithResponse performs a GET /contacts.json (the `ListContacts` operationId) request.
//
// List contacts.
//
// Returns a wrapper object for the known response body format(s).
ListContactsWithResponse(ctx context.Context, params *ListContactsParams, reqEditors ...RequestEditorFn) (*ListContactsResponse, error)
// CreateContactWithBodyWithResponse performs a POST /contacts.json (the `CreateContact` operationId) request,
// with any type of body and a specified content type.
//
// Add a contact. Answers the contact that was created.
//
// Returns a wrapper object for the known response body format(s).
CreateContactWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateContactResponse, error)
// CreateContactWithResponse performs a POST /contacts.json (the `CreateContact` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Add a contact. Answers the contact that was created.
CreateContactWithResponse(ctx context.Context, body CreateContactJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateContactResponse, error)
// HideContactWithResponse performs a DELETE /contacts/{contactId} (the `HideContact` operationId) request.
//
// Hide a contact. Nothing is deleted — RevealContact brings them back.
//
// Returns a wrapper object for the known response body format(s).
HideContactWithResponse(ctx context.Context, contactId int64, reqEditors ...RequestEditorFn) (*HideContactResponse, error)
// GetContactWithResponse performs a GET /contacts/{contactId} (the `GetContact` operationId) request.
//
// Get a contact, with a page of the threads they are on
//
// Returns a wrapper object for the known response body format(s).
GetContactWithResponse(ctx context.Context, contactId int64, params *GetContactParams, reqEditors ...RequestEditorFn) (*GetContactResponse, error)
// UpdateContactWithBodyWithResponse performs a PATCH /contacts/{contactId} (the `UpdateContact` operationId) request,
// with any type of body and a specified content type.
//
// Edit a contact. HEY rewrites the whole contact, so send every field: a name,
// address or alias left out is cleared. Answers the contact, which is not always
// the one addressed — promoting an alias makes the alias primary.
//
// Returns a wrapper object for the known response body format(s).
UpdateContactWithBodyWithResponse(ctx context.Context, contactId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateContactResponse, error)
// UpdateContactWithResponse performs a PATCH /contacts/{contactId} (the `UpdateContact` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Edit a contact. HEY rewrites the whole contact, so send every field: a name,
// address or alias left out is cleared. Answers the contact, which is not always
// the one addressed — promoting an alias makes the alias primary.
UpdateContactWithResponse(ctx context.Context, contactId int64, body UpdateContactJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateContactResponse, error)
// UnbundleContactWithResponse performs a DELETE /contacts/{contactId}/bundle.json (the `UnbundleContact` operationId) request.
//
// Stop bundling a contact's mail.
//
// Returns a wrapper object for the known response body format(s).
UnbundleContactWithResponse(ctx context.Context, contactId int64, reqEditors ...RequestEditorFn) (*UnbundleContactResponse, error)
// BundleContactWithResponse performs a POST /contacts/{contactId}/bundle.json (the `BundleContact` operationId) request.
//
// Bundle a contact so their mail arrives grouped.
//
// Returns a wrapper object for the known response body format(s).
BundleContactWithResponse(ctx context.Context, contactId int64, reqEditors ...RequestEditorFn) (*BundleContactResponse, error)
// UpdateContactClearanceWithBodyWithResponse performs a PATCH /contacts/{contactId}/clearance.json (the `UpdateContactClearance` operationId) request,
// with any type of body and a specified content type.
//
// Screen a contact in or out. Status is "approved" or "denied".
//
// Returns a wrapper object for the known response body format(s).
UpdateContactClearanceWithBodyWithResponse(ctx context.Context, contactId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateContactClearanceResponse, error)
// UpdateContactClearanceWithResponse performs a PATCH /contacts/{contactId}/clearance.json (the `UpdateContactClearance` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Screen a contact in or out. Status is "approved" or "denied".
UpdateContactClearanceWithResponse(ctx context.Context, contactId int64, body UpdateContactClearanceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateContactClearanceResponse, error)
// DeleteContactNoteWithResponse performs a DELETE /contacts/{contactId}/note.json (the `DeleteContactNote` operationId) request.
//
// Clear the private note on a contact.
//
// Returns a wrapper object for the known response body format(s).
DeleteContactNoteWithResponse(ctx context.Context, contactId int64, reqEditors ...RequestEditorFn) (*DeleteContactNoteResponse, error)
// GetContactNoteWithResponse performs a GET /contacts/{contactId}/note.json (the `GetContactNote` operationId) request.
//
// Read the private note kept on a contact.
//
// Returns a wrapper object for the known response body format(s).
GetContactNoteWithResponse(ctx context.Context, contactId int64, reqEditors ...RequestEditorFn) (*GetContactNoteResponse, error)
// UpdateContactNoteWithBodyWithResponse performs a PATCH /contacts/{contactId}/note.json (the `UpdateContactNote` operationId) request,
// with any type of body and a specified content type.
//
// Write the private note on a contact, replacing whatever was there
//
// Returns a wrapper object for the known response body format(s).
UpdateContactNoteWithBodyWithResponse(ctx context.Context, contactId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateContactNoteResponse, error)
// UpdateContactNoteWithResponse performs a PATCH /contacts/{contactId}/note.json (the `UpdateContactNote` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Write the private note on a contact, replacing whatever was there
UpdateContactNoteWithResponse(ctx context.Context, contactId int64, body UpdateContactNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateContactNoteResponse, error)
// RevealContactWithResponse performs a POST /contacts/{contactId}/reveal.json (the `RevealContact` operationId) request.
//
// Put a hidden contact back in the contact list.
//
// Returns a wrapper object for the known response body format(s).
RevealContactWithResponse(ctx context.Context, contactId int64, reqEditors ...RequestEditorFn) (*RevealContactResponse, error)
// ListDraftsWithResponse performs a GET /entries/drafts.json (the `ListDrafts` operationId) request.
//
// List draft messages.
//
// Returns a wrapper object for the known response body format(s).
ListDraftsWithResponse(ctx context.Context, params *ListDraftsParams, reqEditors ...RequestEditorFn) (*ListDraftsResponse, error)
// DeleteDraftWithResponse performs a DELETE /entries/drafts/{entryId} (the `DeleteDraft` operationId) request.
//
// Trash a draft (Entries::DraftsController#destroy). The id is the draft's entry id,
// as ListDrafts reports it.
//
// Returns a wrapper object for the known response body format(s).
DeleteDraftWithResponse(ctx context.Context, entryId int64, reqEditors ...RequestEditorFn) (*DeleteDraftResponse, error)
// NewEntryForwardWithResponse performs a GET /entries/{entryId}/forwards/new.json (the `NewEntryForward` operationId) request.
//
// Get a prefilled forward of an entry: subject, quoted body and blank recipients.
// Send it with CreateMessage once the recipients are filled in.
//
// Returns a wrapper object for the known response body format(s).
NewEntryForwardWithResponse(ctx context.Context, entryId int64, reqEditors ...RequestEditorFn) (*NewEntryForwardResponse, error)
// CreateReplyWithBodyWithResponse performs a POST /entries/{entryId}/replies.json (the `CreateReply` operationId) request,
// with any type of body and a specified content type.
//
// Reply to an entry.
//
// Returns a wrapper object for the known response body format(s).
CreateReplyWithBodyWithResponse(ctx context.Context, entryId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateReplyResponse, error)
// CreateReplyWithResponse performs a POST /entries/{entryId}/replies.json (the `CreateReply` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Reply to an entry.
CreateReplyWithResponse(ctx context.Context, entryId int64, body CreateReplyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateReplyResponse, error)
// NewEntryReplyWithResponse performs a GET /entries/{entryId}/replies/new.json (the `NewEntryReply` operationId) request.
//
// Get a prefilled reply to an entry: the quoted body and, in addressed, the
// participating contacts a reply goes to as HEY computes them — the sender moved onto
// the To line and the acting user's own addresses, aliases and catch-alls excluded.
//
// Returns a wrapper object for the known response body format(s).
NewEntryReplyWithResponse(ctx context.Context, entryId int64, reqEditors ...RequestEditorFn) (*NewEntryReplyResponse, error)
// MarkEntrySpamWithResponse performs a PUT /entries/{entryId}/status/spam.json (the `MarkEntrySpam` operationId) request.
//
// Mark an entry as spam. Denies the sender when every thread from them is already spam.
//
// Returns a wrapper object for the known response body format(s).
MarkEntrySpamWithResponse(ctx context.Context, entryId int64, reqEditors ...RequestEditorFn) (*MarkEntrySpamResponse, error)
// GetFeedboxWithResponse performs a GET /feedbox.json (the `GetFeedbox` operationId) request.
//
// Get the Feed.
//
// Returns a wrapper object for the known response body format(s).
GetFeedboxWithResponse(ctx context.Context, params *GetFeedboxParams, reqEditors ...RequestEditorFn) (*GetFeedboxResponse, error)
// GetFolderWithResponse performs a GET /folders/{folderId} (the `GetFolder` operationId) request.
//
// Get a folder (label) and the postings filed in it.
//
// Returns a wrapper object for the known response body format(s).
GetFolderWithResponse(ctx context.Context, folderId int64, params *GetFolderParams, reqEditors ...RequestEditorFn) (*GetFolderResponse, error)
// GetIdentityWithResponse performs a GET /identity.json (the `GetIdentity` operationId) request.
//
// Get the current identity (authenticated user profile).
//
// Returns a wrapper object for the known response body format(s).
GetIdentityWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetIdentityResponse, error)
// UpdateTimeFormatWithBodyWithResponse performs a PUT /identity/time_format (the `UpdateTimeFormat` operationId) request,
// with any type of body and a specified content type.
//
// Set whether HEY renders times on a 12-hour or a 24-hour clock. Answers the
// stored preference. The parameter is the web toggle's, said honestly: true
// for the 24-hour clock, false for the 12-hour one.
//
// Returns a wrapper object for the known response body format(s).
UpdateTimeFormatWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTimeFormatResponse, error)
// UpdateTimeFormatWithResponse performs a PUT /identity/time_format (the `UpdateTimeFormat` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Set whether HEY renders times on a 12-hour or a 24-hour clock. Answers the
// stored preference. The parameter is the web toggle's, said honestly: true
// for the 24-hour clock, false for the 12-hour one.
UpdateTimeFormatWithResponse(ctx context.Context, body UpdateTimeFormatJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateTimeFormatResponse, error)
// GetImboxWithResponse performs a GET /imbox.json (the `GetImbox` operationId) request.
//
// Get the Imbox.
//
// Returns a wrapper object for the known response body format(s).
GetImboxWithResponse(ctx context.Context, params *GetImboxParams, reqEditors ...RequestEditorFn) (*GetImboxResponse, error)
// GetImboxSeenWithResponse performs a GET /imbox/seen.json (the `GetImboxSeen` operationId) request.
//
// Get the Imbox's Previously Seen postings.
//
// Returns a wrapper object for the known response body format(s).
GetImboxSeenWithResponse(ctx context.Context, params *GetImboxSeenParams, reqEditors ...RequestEditorFn) (*GetImboxSeenResponse, error)
// CreateMessageWithBodyWithResponse performs a POST /messages.json (the `CreateMessage` operationId) request,
// with any type of body and a specified content type.
//
// Create a new message (start a new topic).
// The acting sender ID must be included; the Go SDK resolves this automatically.
// Every message is created drafted on HEY's side; without entry.status the server
// delivers it, while entry.status "drafted" leaves it as a draft and answers
// 204 with a Location header naming /messages/{entry_id}.
//
// Returns a wrapper object for the known response body format(s).
CreateMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMessageResponse, error)
// CreateMessageWithResponse performs a POST /messages.json (the `CreateMessage` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Create a new message (start a new topic).
// The acting sender ID must be included; the Go SDK resolves this automatically.
// Every message is created drafted on HEY's side; without entry.status the server
// delivers it, while entry.status "drafted" leaves it as a draft and answers
// 204 with a Location header naming /messages/{entry_id}.
CreateMessageWithResponse(ctx context.Context, body CreateMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMessageResponse, error)
// GetMessageWithResponse performs a GET /messages/{messageId} (the `GetMessage` operationId) request.
//
// Get a message.
//
// Returns a wrapper object for the known response body format(s).
GetMessageWithResponse(ctx context.Context, messageId int64, reqEditors ...RequestEditorFn) (*GetMessageResponse, error)
// UpdateMessageWithBodyWithResponse performs a PUT /messages/{messageId} (the `UpdateMessage` operationId) request,
// with any type of body and a specified content type.
//
// Revise a message entry (MessagesController#update). With entry.status "drafted" the
// entry is saved as a draft (204 + Location, like CreateMessage); without it a draft is
// delivered through the undo-delay window. A trashed draft is silently restored first.
// The revision is not a patch: subject, content and any scheduled delivery are rewritten
// from this request (an omitted scheduled delivery clears one), while recipients are
// replaced only when entry.addressed is present.
//
// Not naturally idempotent despite the PUT: without the drafted status this request
// *delivers*, so a transparent retry after an ambiguous first attempt could send the
// message again. The client must not retry it.
//
// Returns a wrapper object for the known response body format(s).
UpdateMessageWithBodyWithResponse(ctx context.Context, messageId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMessageResponse, error)
// UpdateMessageWithResponse performs a PUT /messages/{messageId} (the `UpdateMessage` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Revise a message entry (MessagesController#update). With entry.status "drafted" the
// entry is saved as a draft (204 + Location, like CreateMessage); without it a draft is
// delivered through the undo-delay window. A trashed draft is silently restored first.
// The revision is not a patch: subject, content and any scheduled delivery are rewritten
// from this request (an omitted scheduled delivery clears one), while recipients are
// replaced only when entry.addressed is present.
//
// Not naturally idempotent despite the PUT: without the drafted status this request
// *delivers*, so a transparent retry after an ambiguous first attempt could send the
// message again. The client must not retry it.
UpdateMessageWithResponse(ctx context.Context, messageId int64, body UpdateMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMessageResponse, error)
// GetMessageEditWithResponse performs a GET /messages/{messageId}/edit.json (the `GetMessageEdit` operationId) request.
//
// A draft's editable state: content, recipients and scheduled delivery as the
// composer would load them (GET /messages/{id}/edit).
//
// Returns a wrapper object for the known response body format(s).
GetMessageEditWithResponse(ctx context.Context, messageId int64, reqEditors ...RequestEditorFn) (*GetMessageEditResponse, error)
// GetMyClearancesWithResponse performs a GET /my/clearances.json (the `GetMyClearances` operationId) request.
//
// The senders already screened in or out.
//
// Returns a wrapper object for the known response body format(s).
GetMyClearancesWithResponse(ctx context.Context, params *GetMyClearancesParams, reqEditors ...RequestEditorFn) (*GetMyClearancesResponse, error)
// UpdateMyClearanceWithBodyWithResponse performs a PATCH /my/clearances/{clearanceId} (the `UpdateMyClearance` operationId) request,
// with any type of body and a specified content type.
//
// Rescreen a sender who was already screened in or out.
//
// Returns a wrapper object for the known response body format(s).
UpdateMyClearanceWithBodyWithResponse(ctx context.Context, clearanceId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMyClearanceResponse, error)
// UpdateMyClearanceWithResponse performs a PATCH /my/clearances/{clearanceId} (the `UpdateMyClearance` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Rescreen a sender who was already screened in or out.
UpdateMyClearanceWithResponse(ctx context.Context, clearanceId int64, body UpdateMyClearanceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMyClearanceResponse, error)
//
// Get navigation items.
//
// Returns a wrapper object for the known response body format(s).
GetNavigationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetNavigationResponse, error)
// GetTrailboxWithResponse performs a GET /paper_trail.json (the `GetTrailbox` operationId) request.
//
// Get the Paper Trail.
//
// Returns a wrapper object for the known response body format(s).
GetTrailboxWithResponse(ctx context.Context, params *GetTrailboxParams, reqEditors ...RequestEditorFn) (*GetTrailboxResponse, error)
// RemovePostingsFromBoxGroupWithResponse performs a DELETE /postings/box_groups.json (the `RemovePostingsFromBoxGroup` operationId) request.
//
// Remove a selection of postings from their Set Aside group.
//
// Returns a wrapper object for the known response body format(s).
RemovePostingsFromBoxGroupWithResponse(ctx context.Context, params *RemovePostingsFromBoxGroupParams, reqEditors ...RequestEditorFn) (*RemovePostingsFromBoxGroupResponse, error)
// AddPostingsToBoxGroupWithBodyWithResponse performs a POST /postings/box_groups.json (the `AddPostingsToBoxGroup` operationId) request,
// with any type of body and a specified content type.
//
// Add a selection of postings to a Set Aside group.
//
// Returns a wrapper object for the known response body format(s).
AddPostingsToBoxGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddPostingsToBoxGroupResponse, error)
// AddPostingsToBoxGroupWithResponse performs a POST /postings/box_groups.json (the `AddPostingsToBoxGroup` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Add a selection of postings to a Set Aside group.
AddPostingsToBoxGroupWithResponse(ctx context.Context, body AddPostingsToBoxGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*AddPostingsToBoxGroupResponse, error)
// CancelPostingsBubbleUpWithResponse performs a DELETE /postings/bubble_up.json (the `CancelPostingsBubbleUp` operationId) request.
//
// Cancel a scheduled bubble up for a selection of postings.
//
// Returns a wrapper object for the known response body format(s).
CancelPostingsBubbleUpWithResponse(ctx context.Context, params *CancelPostingsBubbleUpParams, reqEditors ...RequestEditorFn) (*CancelPostingsBubbleUpResponse, error)
// SchedulePostingsBubbleUpWithBodyWithResponse performs a POST /postings/bubble_up.json (the `SchedulePostingsBubbleUp` operationId) request,
// with any type of body and a specified content type.
//
// Schedule a selection of postings to bubble up.
//
// HEY's scheduler takes a `slot` — today, tomorrow, weekend, next_week, surprise_me
// or custom — and a custom slot also carries the `date` (YYYY-MM-DD) to bubble up on,
// at HEY's morning hour. The today slot lands at HEY's evening hour of the current
// day instead, and both hours are UTC over JSON. An unknown slot, or a custom slot
// without a date, is a server error rather than a validation response, so callers
// check both first. Responds 201 Created.
//
// Returns a wrapper object for the known response body format(s).
SchedulePostingsBubbleUpWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SchedulePostingsBubbleUpResponse, error)
// SchedulePostingsBubbleUpWithResponse performs a POST /postings/bubble_up.json (the `SchedulePostingsBubbleUp` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Schedule a selection of postings to bubble up.
//
// HEY's scheduler takes a `slot` — today, tomorrow, weekend, next_week, surprise_me
// or custom — and a custom slot also carries the `date` (YYYY-MM-DD) to bubble up on,
// at HEY's morning hour. The today slot lands at HEY's evening hour of the current
// day instead, and both hours are UTC over JSON. An unknown slot, or a custom slot
// without a date, is a server error rather than a validation response, so callers
// check both first. Responds 201 Created.
SchedulePostingsBubbleUpWithResponse(ctx context.Context, body SchedulePostingsBubbleUpJSONRequestBody, reqEditors ...RequestEditorFn) (*SchedulePostingsBubbleUpResponse, error)
// BubbleUpPostingsNowWithBodyWithResponse performs a POST /postings/bulk_bubble_up_now.json (the `BubbleUpPostingsNow` operationId) request,
// with any type of body and a specified content type.
//
// Bubble a selection of postings up right now.
//
// Returns a wrapper object for the known response body format(s).
BubbleUpPostingsNowWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BubbleUpPostingsNowResponse, error)
// BubbleUpPostingsNowWithResponse performs a POST /postings/bulk_bubble_up_now.json (the `BubbleUpPostingsNow` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Bubble a selection of postings up right now.
BubbleUpPostingsNowWithResponse(ctx context.Context, body BubbleUpPostingsNowJSONRequestBody, reqEditors ...RequestEditorFn) (*BubbleUpPostingsNowResponse, error)
// UnfilePostingsWithResponse performs a DELETE /postings/filings.json (the `UnfilePostings` operationId) request.
//
// Remove a selection of postings from a folder, or from every folder when folder_id is omitted
//
// Returns a wrapper object for the known response body format(s).
UnfilePostingsWithResponse(ctx context.Context, params *UnfilePostingsParams, reqEditors ...RequestEditorFn) (*UnfilePostingsResponse, error)
// FilePostingsWithBodyWithResponse performs a POST /postings/filings.json (the `FilePostings` operationId) request,
// with any type of body and a specified content type.
//
// File a selection of postings into an existing folder (label).
//
// Returns a wrapper object for the known response body format(s).
FilePostingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FilePostingsResponse, error)
// FilePostingsWithResponse performs a POST /postings/filings.json (the `FilePostings` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// File a selection of postings into an existing folder (label).
FilePostingsWithResponse(ctx context.Context, body FilePostingsJSONRequestBody, reqEditors ...RequestEditorFn) (*FilePostingsResponse, error)
// CreateFolderForPostingsWithBodyWithResponse performs a POST /postings/folders.json (the `CreateFolderForPostings` operationId) request,
// with any type of body and a specified content type.
//
// Create a folder (label) and file a selection of postings into it.
//
// Returns a wrapper object for the known response body format(s).
CreateFolderForPostingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFolderForPostingsResponse, error)
// CreateFolderForPostingsWithResponse performs a POST /postings/folders.json (the `CreateFolderForPostings` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Create a folder (label) and file a selection of postings into it.
CreateFolderForPostingsWithResponse(ctx context.Context, body CreateFolderForPostingsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFolderForPostingsResponse, error)
// MovePostingsWithBodyWithResponse performs a POST /postings/moves.json (the `MovePostings` operationId) request,
// with any type of body and a specified content type.
//
// Move postings to a box (bulk).
// Mirrors HEY's Postings::MovesController: `posting_ids` plus the target `box_id`
// (an ID from ListBoxes; the box `kind` field identifies imbox, feedbox, asidebox,
// laterbox, trailbox). Responds 204 No Content.
//
// Returns a wrapper object for the known response body format(s).
MovePostingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MovePostingsResponse, error)
// MovePostingsWithResponse performs a POST /postings/moves.json (the `MovePostings` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Move postings to a box (bulk).
// Mirrors HEY's Postings::MovesController: `posting_ids` plus the target `box_id`
// (an ID from ListBoxes; the box `kind` field identifies imbox, feedbox, asidebox,
// laterbox, trailbox). Responds 204 No Content.
MovePostingsWithResponse(ctx context.Context, body MovePostingsJSONRequestBody, reqEditors ...RequestEditorFn) (*MovePostingsResponse, error)
// UnmutePostingsWithResponse performs a DELETE /postings/mutings.json (the `UnmutePostings` operationId) request.
//
// Unmute postings (bulk).
// Mirrors HEY's Postings::MutingsController#destroy. `posting_ids` is sent as a
// comma-separated query string because DELETE carries no body. Responds 201 Created.
//
// Returns a wrapper object for the known response body format(s).
UnmutePostingsWithResponse(ctx context.Context, params *UnmutePostingsParams, reqEditors ...RequestEditorFn) (*UnmutePostingsResponse, error)
// MutePostingsWithBodyWithResponse performs a POST /postings/mutings.json (the `MutePostings` operationId) request,
// with any type of body and a specified content type.
//
// Mute postings (bulk) — stop notifications for their threads.
// Mirrors HEY's Postings::MutingsController#create. Responds 201 Created.
//
// Returns a wrapper object for the known response body format(s).
MutePostingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MutePostingsResponse, error)
// MutePostingsWithResponse performs a POST /postings/mutings.json (the `MutePostings` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Mute postings (bulk) — stop notifications for their threads.
// Mirrors HEY's Postings::MutingsController#create. Responds 201 Created.
MutePostingsWithResponse(ctx context.Context, body MutePostingsJSONRequestBody, reqEditors ...RequestEditorFn) (*MutePostingsResponse, error)
// MarkPostingsSeenWithBodyWithResponse performs a POST /postings/seen.json (the `MarkPostingsSeen` operationId) request,
// with any type of body and a specified content type.
//
// Mark postings as seen.
//
// Returns a wrapper object for the known response body format(s).
MarkPostingsSeenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MarkPostingsSeenResponse, error)
// MarkPostingsSeenWithResponse performs a POST /postings/seen.json (the `MarkPostingsSeen` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Mark postings as seen.
MarkPostingsSeenWithResponse(ctx context.Context, body MarkPostingsSeenJSONRequestBody, reqEditors ...RequestEditorFn) (*MarkPostingsSeenResponse, error)
// MarkPostingsSpamWithBodyWithResponse performs a POST /postings/spam.json (the `MarkPostingsSpam` operationId) request,
// with any type of body and a specified content type.
//
// Mark a selection of postings as spam.
//
// Over ten postings the server hands the work to a background job, so the effect is
// eventually consistent.
//
// Returns a wrapper object for the known response body format(s).
MarkPostingsSpamWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MarkPostingsSpamResponse, error)
// MarkPostingsSpamWithResponse performs a POST /postings/spam.json (the `MarkPostingsSpam` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Mark a selection of postings as spam.
//
// Over ten postings the server hands the work to a background job, so the effect is
// eventually consistent.
MarkPostingsSpamWithResponse(ctx context.Context, body MarkPostingsSpamJSONRequestBody, reqEditors ...RequestEditorFn) (*MarkPostingsSpamResponse, error)
// TrashPostingsWithBodyWithResponse performs a POST /postings/trash.json (the `TrashPostings` operationId) request,
// with any type of body and a specified content type.
//
// Move postings to the trash (bulk).
// Mirrors HEY's Postings::TrashController. For JSON requests the server treats
// the removal decision as made (shared topics: your access is removed).
// Responds 204 No Content.
//
// Returns a wrapper object for the known response body format(s).
TrashPostingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TrashPostingsResponse, error)
// TrashPostingsWithResponse performs a POST /postings/trash.json (the `TrashPostings` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Move postings to the trash (bulk).
// Mirrors HEY's Postings::TrashController. For JSON requests the server treats
// the removal decision as made (shared topics: your access is removed).
// Responds 204 No Content.
TrashPostingsWithResponse(ctx context.Context, body TrashPostingsJSONRequestBody, reqEditors ...RequestEditorFn) (*TrashPostingsResponse, error)
// MarkPostingsUnseenWithBodyWithResponse performs a POST /postings/unseen.json (the `MarkPostingsUnseen` operationId) request,
// with any type of body and a specified content type.
//
// Mark postings as unseen.
//
// Returns a wrapper object for the known response body format(s).
MarkPostingsUnseenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MarkPostingsUnseenResponse, error)
// MarkPostingsUnseenWithResponse performs a POST /postings/unseen.json (the `MarkPostingsUnseen` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Mark postings as unseen.
MarkPostingsUnseenWithResponse(ctx context.Context, body MarkPostingsUnseenJSONRequestBody, reqEditors ...RequestEditorFn) (*MarkPostingsUnseenResponse, error)
// GetBundleUnseenPostingsWithResponse performs a GET /postings/{postingId}/bundles/unseen.json (the `GetBundleUnseenPostings` operationId) request.
//
// List the unseen postings inside a bundle posting.
//
// A bundle posting groups one contact's unseen mail; this is its contents — the member
// postings, newest first, paged by cursor like a box. The posting must be a bundle.
//
// Returns a wrapper object for the known response body format(s).
GetBundleUnseenPostingsWithResponse(ctx context.Context, postingId int64, params *GetBundleUnseenPostingsParams, reqEditors ...RequestEditorFn) (*GetBundleUnseenPostingsResponse, error)
// CreateDirectUploadWithBodyWithResponse performs a POST /rails/active_storage/direct_uploads.json (the `CreateDirectUpload` operationId) request,
// with any type of body and a specified content type.
//
// Create an Active Storage direct upload for an outgoing attachment.
// The returned URL is self-authenticating and accepts the raw file bytes via PUT.
//
// Returns a wrapper object for the known response body format(s).
CreateDirectUploadWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDirectUploadResponse, error)
// CreateDirectUploadWithResponse performs a POST /rails/active_storage/direct_uploads.json (the `CreateDirectUpload` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Create an Active Storage direct upload for an outgoing attachment.
// The returned URL is self-authenticating and accepts the raw file bytes via PUT.
CreateDirectUploadWithResponse(ctx context.Context, body CreateDirectUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDirectUploadResponse, error)
// GetLaterboxWithResponse performs a GET /reply_later.json (the `GetLaterbox` operationId) request.
//
// Get the Reply Later box.
//
// Returns a wrapper object for the known response body format(s).
GetLaterboxWithResponse(ctx context.Context, params *GetLaterboxParams, reqEditors ...RequestEditorFn) (*GetLaterboxResponse, error)
// GetAsideboxWithResponse performs a GET /set_aside.json (the `GetAsidebox` operationId) request.
//
// Get the Set Aside box.
//
// Returns a wrapper object for the known response body format(s).
GetAsideboxWithResponse(ctx context.Context, params *GetAsideboxParams, reqEditors ...RequestEditorFn) (*GetAsideboxResponse, error)
// ListSnippetsWithResponse performs a GET /snippets.json (the `ListSnippets` operationId) request.
//
// List snippets, alphabetically
//
// Returns a wrapper object for the known response body format(s).
ListSnippetsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSnippetsResponse, error)
// ListStickiesWithResponse performs a GET /stickies.json (the `ListStickies` operationId) request.
//
// List stickies, newest position first
//
// Returns a wrapper object for the known response body format(s).
ListStickiesWithResponse(ctx context.Context, params *ListStickiesParams, reqEditors ...RequestEditorFn) (*ListStickiesResponse, error)
// CreateStickyWithBodyWithResponse performs a POST /stickies.json (the `CreateSticky` operationId) request,
// with any type of body and a specified content type.
//
// Write a new sticky.
//
// Returns a wrapper object for the known response body format(s).
CreateStickyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateStickyResponse, error)
// CreateStickyWithResponse performs a POST /stickies.json (the `CreateSticky` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Write a new sticky.
CreateStickyWithResponse(ctx context.Context, body CreateStickyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateStickyResponse, error)
// MoveStickyWithBodyWithResponse performs a POST /stickies/moves.json (the `MoveSticky` operationId) request,
// with any type of body and a specified content type.
//
// Reposition a sticky on the board.
//
// Returns a wrapper object for the known response body format(s).
MoveStickyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MoveStickyResponse, error)
// MoveStickyWithResponse performs a POST /stickies/moves.json (the `MoveSticky` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Reposition a sticky on the board.
MoveStickyWithResponse(ctx context.Context, body MoveStickyJSONRequestBody, reqEditors ...RequestEditorFn) (*MoveStickyResponse, error)
// DeleteStickyWithResponse performs a DELETE /stickies/{stickyId} (the `DeleteSticky` operationId) request.
//
// Throw a sticky away.
//
// Returns a wrapper object for the known response body format(s).
DeleteStickyWithResponse(ctx context.Context, stickyId int64, reqEditors ...RequestEditorFn) (*DeleteStickyResponse, error)
// UpdateStickyWithBodyWithResponse performs a PATCH /stickies/{stickyId} (the `UpdateSticky` operationId) request,
// with any type of body and a specified content type.
//
// Edit a sticky.
//
// Returns a wrapper object for the known response body format(s).
UpdateStickyWithBodyWithResponse(ctx context.Context, stickyId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateStickyResponse, error)
// UpdateStickyWithResponse performs a PATCH /stickies/{stickyId} (the `UpdateSticky` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Edit a sticky.
UpdateStickyWithResponse(ctx context.Context, stickyId int64, body UpdateStickyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateStickyResponse, error)
// GetEverythingTopicsWithResponse performs a GET /topics/everything.json (the `GetEverythingTopics` operationId) request.
//
// Get all topics (everything view).
//
// Returns a wrapper object for the known response body format(s).
GetEverythingTopicsWithResponse(ctx context.Context, params *GetEverythingTopicsParams, reqEditors ...RequestEditorFn) (*GetEverythingTopicsResponse, error)
// GetSentTopicsWithResponse performs a GET /topics/sent.json (the `GetSentTopics` operationId) request.
//
// Get sent topics.
//
// Returns a wrapper object for the known response body format(s).
GetSentTopicsWithResponse(ctx context.Context, params *GetSentTopicsParams, reqEditors ...RequestEditorFn) (*GetSentTopicsResponse, error)
// GetSpamTopicsWithResponse performs a GET /topics/spam.json (the `GetSpamTopics` operationId) request.
//
// Get spam topics.
//
// Returns a wrapper object for the known response body format(s).
GetSpamTopicsWithResponse(ctx context.Context, params *GetSpamTopicsParams, reqEditors ...RequestEditorFn) (*GetSpamTopicsResponse, error)
// EmptySpamWithResponse performs a DELETE /topics/spam/all.json (the `EmptySpam` operationId) request.
//
// Empty the spam box. Runs synchronously, so it can take a while on a large mailbox.
//
// Returns a wrapper object for the known response body format(s).
EmptySpamWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*EmptySpamResponse, error)
// GetTrashTopicsWithResponse performs a GET /topics/trash.json (the `GetTrashTopics` operationId) request.
//
// Get trash topics.
//
// Returns a wrapper object for the known response body format(s).
GetTrashTopicsWithResponse(ctx context.Context, params *GetTrashTopicsParams, reqEditors ...RequestEditorFn) (*GetTrashTopicsResponse, error)
// EmptyTrashWithResponse performs a DELETE /topics/trash/all.json (the `EmptyTrash` operationId) request.
//
// Empty the trash. Runs synchronously, so it can take a while on a large mailbox.
//
// Returns a wrapper object for the known response body format(s).
EmptyTrashWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*EmptyTrashResponse, error)
// GetTopicWithResponse performs a GET /topics/{topicId} (the `GetTopic` operationId) request.
//
// Get a topic.
//
// Returns a wrapper object for the known response body format(s).
GetTopicWithResponse(ctx context.Context, topicId int64, reqEditors ...RequestEditorFn) (*GetTopicResponse, error)
// GetTopicEntriesWithResponse performs a GET /topics/{topicId}/entries (the `GetTopicEntries` operationId) request.
//
// Get entries for a topic.
//
// Returns a wrapper object for the known response body format(s).
GetTopicEntriesWithResponse(ctx context.Context, topicId int64, params *GetTopicEntriesParams, reqEditors ...RequestEditorFn) (*GetTopicEntriesResponse, error)
// MoveTopicWithBodyWithResponse performs a POST /topics/{topicId}/moves.json (the `MoveTopic` operationId) request,
// with any type of body and a specified content type.
//
// Move a topic to another box.
//
// Answers 204 without moving anything when the acting user has no posting for the topic.
//
// Returns a wrapper object for the known response body format(s).
MoveTopicWithBodyWithResponse(ctx context.Context, topicId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MoveTopicResponse, error)
// MoveTopicWithResponse performs a POST /topics/{topicId}/moves.json (the `MoveTopic` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Move a topic to another box.
//
// Answers 204 without moving anything when the acting user has no posting for the topic.
MoveTopicWithResponse(ctx context.Context, topicId int64, body MoveTopicJSONRequestBody, reqEditors ...RequestEditorFn) (*MoveTopicResponse, error)
// GetTopicPublicationWithResponse performs a GET /topics/{topicId}/publication.json (the `GetTopicPublication` operationId) request.
//
// Whether a thread is shared with a public link, and the link
//
// Returns a wrapper object for the known response body format(s).
GetTopicPublicationWithResponse(ctx context.Context, topicId int64, reqEditors ...RequestEditorFn) (*GetTopicPublicationResponse, error)
// RestoreTopicWithResponse performs a PUT /topics/{topicId}/status/active.json (the `RestoreTopic` operationId) request.
//
// Restore a topic from the trash or the catch-all.
//
// Returns a wrapper object for the known response body format(s).
RestoreTopicWithResponse(ctx context.Context, topicId int64, reqEditors ...RequestEditorFn) (*RestoreTopicResponse, error)
// MarkTopicHamWithResponse performs a PUT /topics/{topicId}/status/ham.json (the `MarkTopicHam` operationId) request.
//
// Mark a spam topic as ham. Every other spam topic from the same sender is hammed too.
//
// Returns a wrapper object for the known response body format(s).
MarkTopicHamWithResponse(ctx context.Context, topicId int64, reqEditors ...RequestEditorFn) (*MarkTopicHamResponse, error)
// TrashTopicWithResponse performs a PUT /topics/{topicId}/status/trashed.json (the `TrashTopic` operationId) request.
//
// Trash a topic.
//
// A shared topic redirects to the removal confirmation page unless confirm_destroy is set,
// so always pass it when trashing something that might be shared.
//
// Returns a wrapper object for the known response body format(s).
TrashTopicWithResponse(ctx context.Context, topicId int64, params *TrashTopicParams, reqEditors ...RequestEditorFn) (*TrashTopicResponse, error)
// MoveWorkflowStagingWithBodyWithResponse performs a PATCH /topics/{topicId}/workflows/{workflowId}/stagings (the `MoveWorkflowStaging` operationId) request,
// with any type of body and a specified content type.
//
// Move a staged topic to a workflow stage.
//
// Returns a wrapper object for the known response body format(s).
MoveWorkflowStagingWithBodyWithResponse(ctx context.Context, topicId int64, workflowId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MoveWorkflowStagingResponse, error)
// MoveWorkflowStagingWithResponse performs a PATCH /topics/{topicId}/workflows/{workflowId}/stagings (the `MoveWorkflowStaging` operationId) request.
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Move a staged topic to a workflow stage.
MoveWorkflowStagingWithResponse(ctx context.Context, topicId int64, workflowId int64, body MoveWorkflowStagingJSONRequestBody, reqEditors ...RequestEditorFn) (*MoveWorkflowStagingResponse, error)
// CreateWorkflowStagingWithResponse performs a POST /topics/{topicId}/workflows/{workflowId}/stagings (the `CreateWorkflowStaging` operationId) request.
//
// Add a topic to a workflow. HEY places it in the first stage.
//
// Returns a wrapper object for the known response body format(s).
CreateWorkflowStagingWithResponse(ctx context.Context, topicId int64, workflowId int64, reqEditors ...RequestEditorFn) (*CreateWorkflowStagingResponse, error)
// GetWorkflowWithResponse performs a GET /workflows/{workflowId} (the `GetWorkflow` operationId) request.
//
// A workflow with its stages.
//
// Returns a wrapper object for the known response body format(s).
GetWorkflowWithResponse(ctx context.Context, workflowId int64, reqEditors ...RequestEditorFn) (*GetWorkflowResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type Clip ¶ added in v0.4.0
type Clip struct {
Content string `json:"content,omitempty"`
// CreatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
CreatedAt time.Time `json:"created_at,omitempty,omitzero"`
EntryId int64 `json:"entry_id,omitempty"`
Id int64 `json:"id"`
// Topic The topic a clip was taken from
Topic ClipTopic `json:"topic,omitempty"`
// UpdatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
UpdatedAt time.Time `json:"updated_at,omitempty,omitzero"`
}
Clip defines model for Clip.
type ClipTopic ¶ added in v0.4.0
type ClipTopic struct {
AppUrl string `json:"app_url,omitempty"`
Id int64 `json:"id"`
Name string `json:"name,omitempty"`
}
ClipTopic The topic a clip was taken from
type Collection ¶
type Collection struct {
AppUrl string `json:"app_url,omitempty"`
// CreatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
CreatedAt time.Time `json:"created_at,omitempty,omitzero"`
Id int64 `json:"id"`
Name string `json:"name,omitempty"`
// UpdatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
UpdatedAt time.Time `json:"updated_at,omitempty,omitzero"`
}
Collection Collection — email collection/label
type CollectionPayload ¶ added in v0.4.0
type CollectionPayload struct {
Name string `json:"name,omitempty"`
Summary string `json:"summary,omitempty"`
}
CollectionPayload defines model for CollectionPayload.
type CollectionWithPostings ¶ added in v0.8.0
type CollectionWithPostings struct {
AppUrl string `json:"app_url,omitempty"`
// CreatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
CreatedAt time.Time `json:"created_at,omitempty,omitzero"`
Id int64 `json:"id"`
Name string `json:"name,omitempty"`
Postings []Posting `json:"postings,omitempty"`
// UpdatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
UpdatedAt time.Time `json:"updated_at,omitempty,omitzero"`
}
CollectionWithPostings CollectionWithPostings — collection detail with its threads as posting objects
type CommentsService ¶
type CommentsService struct {
// contains filtered or unexported fields
}
CommentsService provides comment-related operations.
type CompleteCalendarTodoResponse ¶
type CompleteCalendarTodoResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CompleteCalendarTodoResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseCompleteCalendarTodoResponse ¶
func ParseCompleteCalendarTodoResponse(rsp *http.Response) (*CompleteCalendarTodoResponse, error)
ParseCompleteCalendarTodoResponse parses an HTTP response from a CompleteCalendarTodoWithResponse call
func (CompleteCalendarTodoResponse) ContentType ¶ added in v0.4.0
func (r CompleteCalendarTodoResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CompleteCalendarTodoResponse) GetBody ¶ added in v0.4.0
func (r CompleteCalendarTodoResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CompleteCalendarTodoResponse) GetJSON200 ¶ added in v0.4.0
func (r CompleteCalendarTodoResponse) GetJSON200() *CompleteCalendarTodoResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CompleteCalendarTodoResponse) GetJSON401 ¶ added in v0.4.0
func (r CompleteCalendarTodoResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CompleteCalendarTodoResponse) GetJSON404 ¶ added in v0.4.0
func (r CompleteCalendarTodoResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CompleteCalendarTodoResponse) GetJSON500 ¶ added in v0.4.0
func (r CompleteCalendarTodoResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (CompleteCalendarTodoResponse) GetJSON503 ¶ added in v0.4.0
func (r CompleteCalendarTodoResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (CompleteCalendarTodoResponse) Status ¶
func (r CompleteCalendarTodoResponse) Status() string
Status returns HTTPResponse.Status
func (CompleteCalendarTodoResponse) StatusCode ¶
func (r CompleteCalendarTodoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CompleteCalendarTodoResponseContent ¶
type CompleteCalendarTodoResponseContent = Recording
CompleteCalendarTodoResponseContent Recording — polymorphic by `type` (CalendarEvent, CalendarTodo, etc.)
type CompleteHabitResponse ¶
type CompleteHabitResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CompleteHabitResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseCompleteHabitResponse ¶
func ParseCompleteHabitResponse(rsp *http.Response) (*CompleteHabitResponse, error)
ParseCompleteHabitResponse parses an HTTP response from a CompleteHabitWithResponse call
func (CompleteHabitResponse) ContentType ¶ added in v0.4.0
func (r CompleteHabitResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CompleteHabitResponse) GetBody ¶ added in v0.4.0
func (r CompleteHabitResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CompleteHabitResponse) GetJSON200 ¶ added in v0.4.0
func (r CompleteHabitResponse) GetJSON200() *CompleteHabitResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CompleteHabitResponse) GetJSON401 ¶ added in v0.4.0
func (r CompleteHabitResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CompleteHabitResponse) GetJSON404 ¶ added in v0.4.0
func (r CompleteHabitResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CompleteHabitResponse) GetJSON500 ¶ added in v0.4.0
func (r CompleteHabitResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (CompleteHabitResponse) GetJSON503 ¶ added in v0.4.0
func (r CompleteHabitResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (CompleteHabitResponse) Status ¶
func (r CompleteHabitResponse) Status() string
Status returns HTTPResponse.Status
func (CompleteHabitResponse) StatusCode ¶
func (r CompleteHabitResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CompleteHabitResponseContent ¶
type CompleteHabitResponseContent = Recording
CompleteHabitResponseContent Recording — polymorphic by `type` (CalendarEvent, CalendarTodo, etc.)
type ConflictErrorResponseContent ¶ added in v0.4.0
type ConflictErrorResponseContent struct {
ConflictingContactIds []int64 `json:"conflicting_contact_ids,omitempty"`
// ContactId Contact writes only: the contact that was written -- a create that clashes
// still creates the contact -- and the contacts already holding the email
// addresses that were sent, so a client can offer the merge the web offers.
ContactId int64 `json:"contact_id,omitempty"`
Error string `json:"error,omitempty"`
Errors []string `json:"errors,omitempty"`
}
ConflictErrorResponseContent The request conflicts with current state, e.g. starting a time track while one is already ongoing. Time tracks answer {"error": "..."}; contact writes answer the {"errors": [...]} list every other error path uses.
type Contact ¶
type Contact struct {
AccountId int64 `json:"account_id,omitempty"`
AvatarBackgroundColor string `json:"avatar_background_color,omitempty"`
AvatarUrl string `json:"avatar_url,omitempty"`
ContactableType string `json:"contactable_type,omitempty"`
EmailAddress string `json:"email_address,omitempty"`
Id int64 `json:"id"`
Initials string `json:"initials,omitempty"`
Name string `json:"name,omitempty"`
NameTag string `json:"name_tag,omitempty"`
// UpdatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
UpdatedAt time.Time `json:"updated_at,omitempty,omitzero"`
}
Contact Contact — the identity of someone in HEY
type ContactDetail ¶
type ContactDetail struct {
AccountId int64 `json:"account_id,omitempty"`
Aliases []Contact `json:"aliases,omitempty"`
AvatarBackgroundColor string `json:"avatar_background_color,omitempty"`
AvatarUrl string `json:"avatar_url,omitempty"`
// Clearance Clearance — screening status for a contact
//
// petitioner and most_recent_entry are only filled in by the Screener reads. The
// contact reads answer a clearance with nothing but its id and status.
Clearance Clearance `json:"clearance,omitempty"`
ContactableType string `json:"contactable_type,omitempty"`
// Domain Domain — email domain
Domain Domain `json:"domain,omitempty"`
EditAppUrl string `json:"edit_app_url,omitempty"`
EmailAddress string `json:"email_address,omitempty"`
// EntriesTitle The heading HEY gives the thread list, e.g. "All threads with GitHub"
EntriesTitle string `json:"entries_title,omitempty"`
Id int64 `json:"id"`
Initials string `json:"initials,omitempty"`
Name string `json:"name,omitempty"`
NameTag string `json:"name_tag,omitempty"`
// Postings One page of the threads this contact is on, newest first
Postings []Posting `json:"postings,omitempty"`
// UpdatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
UpdatedAt time.Time `json:"updated_at,omitempty,omitzero"`
}
ContactDetail ContactDetail — extended contact with additional show fields
type ContactNote ¶ added in v0.4.0
type ContactNote struct {
ContactId int64 `json:"contact_id"`
Note string `json:"note"`
// NoteHtml The note as editor HTML, the same markup the web hands Trix.
NoteHtml string `json:"note_html"`
}
ContactNote A contact's private note. Empty strings when there is no note.
type ContactNotePayload ¶ added in v0.4.0
type ContactNotePayload struct {
Note string `json:"note"`
}
ContactNotePayload defines model for ContactNotePayload.
type ContactNoteRequestContent ¶ added in v0.4.0
type ContactNoteRequestContent struct {
Contact ContactNotePayload `json:"contact"`
}
ContactNoteRequestContent Wire format: {contact: {note: "..."}}
type ContactPayload ¶ added in v0.4.0
type ContactPayload struct {
// AliasEmailAddresses Sending the list replaces it: an address left out stops being an alias.
AliasEmailAddresses []string `json:"alias_email_addresses,omitempty"`
EmailAddress string `json:"email_address,omitempty"`
Name string `json:"name"`
}
ContactPayload defines model for ContactPayload.
type ContactRequestContent ¶ added in v0.4.0
type ContactRequestContent struct {
Contact ContactPayload `json:"contact"`
}
ContactRequestContent Wire format: {contact: {name, email_address, alias_email_addresses: [...]}}
type CreateBoxDesignationJSONRequestBody ¶ added in v0.4.0
type CreateBoxDesignationJSONRequestBody = CreateBoxDesignationRequestContent
CreateBoxDesignationJSONRequestBody defines body for CreateBoxDesignation for application/json ContentType.
type CreateBoxDesignationRequestContent ¶ added in v0.4.0
type CreateBoxDesignationRequestContent struct {
ContactId int64 `json:"contact_id"`
}
CreateBoxDesignationRequestContent defines model for CreateBoxDesignationRequestContent.
type CreateBoxDesignationResponse ¶ added in v0.4.0
type CreateBoxDesignationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ForbiddenErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseCreateBoxDesignationResponse ¶ added in v0.4.0
func ParseCreateBoxDesignationResponse(rsp *http.Response) (*CreateBoxDesignationResponse, error)
ParseCreateBoxDesignationResponse parses an HTTP response from a CreateBoxDesignationWithResponse call
func (CreateBoxDesignationResponse) ContentType ¶ added in v0.4.0
func (r CreateBoxDesignationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateBoxDesignationResponse) GetBody ¶ added in v0.4.0
func (r CreateBoxDesignationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateBoxDesignationResponse) GetJSON401 ¶ added in v0.4.0
func (r CreateBoxDesignationResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateBoxDesignationResponse) GetJSON403 ¶ added in v0.4.0
func (r CreateBoxDesignationResponse) GetJSON403() *ForbiddenErrorResponseContent
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (CreateBoxDesignationResponse) GetJSON404 ¶ added in v0.4.0
func (r CreateBoxDesignationResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateBoxDesignationResponse) GetJSON500 ¶ added in v0.4.0
func (r CreateBoxDesignationResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (CreateBoxDesignationResponse) GetJSON503 ¶ added in v0.4.0
func (r CreateBoxDesignationResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (CreateBoxDesignationResponse) Status ¶ added in v0.4.0
func (r CreateBoxDesignationResponse) Status() string
Status returns HTTPResponse.Status
func (CreateBoxDesignationResponse) StatusCode ¶ added in v0.4.0
func (r CreateBoxDesignationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateBoxGroupJSONRequestBody ¶ added in v0.4.0
type CreateBoxGroupJSONRequestBody = CreateBoxGroupRequestContent
CreateBoxGroupJSONRequestBody defines body for CreateBoxGroup for application/json ContentType.
type CreateBoxGroupRequestContent ¶ added in v0.4.0
type CreateBoxGroupRequestContent struct {
PostingIds []int64 `json:"posting_ids"`
}
CreateBoxGroupRequestContent defines model for CreateBoxGroupRequestContent.
type CreateBoxGroupResponse ¶ added in v0.4.0
type CreateBoxGroupResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CreateBoxGroupResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseCreateBoxGroupResponse ¶ added in v0.4.0
func ParseCreateBoxGroupResponse(rsp *http.Response) (*CreateBoxGroupResponse, error)
ParseCreateBoxGroupResponse parses an HTTP response from a CreateBoxGroupWithResponse call
func (CreateBoxGroupResponse) ContentType ¶ added in v0.4.0
func (r CreateBoxGroupResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateBoxGroupResponse) GetBody ¶ added in v0.4.0
func (r CreateBoxGroupResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateBoxGroupResponse) GetJSON200 ¶ added in v0.4.0
func (r CreateBoxGroupResponse) GetJSON200() *CreateBoxGroupResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CreateBoxGroupResponse) GetJSON401 ¶ added in v0.4.0
func (r CreateBoxGroupResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateBoxGroupResponse) GetJSON404 ¶ added in v0.4.0
func (r CreateBoxGroupResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateBoxGroupResponse) GetJSON500 ¶ added in v0.4.0
func (r CreateBoxGroupResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (CreateBoxGroupResponse) GetJSON503 ¶ added in v0.4.0
func (r CreateBoxGroupResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (CreateBoxGroupResponse) Status ¶ added in v0.4.0
func (r CreateBoxGroupResponse) Status() string
Status returns HTTPResponse.Status
func (CreateBoxGroupResponse) StatusCode ¶ added in v0.4.0
func (r CreateBoxGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateBoxGroupResponseContent ¶ added in v0.4.0
type CreateBoxGroupResponseContent = BoxGroup
CreateBoxGroupResponseContent BoxGroup — a Set Aside group. The API only ever returns the id.
type CreateBulkReplyJSONRequestBody ¶ added in v0.4.0
type CreateBulkReplyJSONRequestBody = BulkReplyRequestContent
CreateBulkReplyJSONRequestBody defines body for CreateBulkReply for application/json ContentType.
type CreateBulkReplyResponse ¶ added in v0.4.0
type CreateBulkReplyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *CreateBulkReplyResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *UnprocessableEntityErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseCreateBulkReplyResponse ¶ added in v0.4.0
func ParseCreateBulkReplyResponse(rsp *http.Response) (*CreateBulkReplyResponse, error)
ParseCreateBulkReplyResponse parses an HTTP response from a CreateBulkReplyWithResponse call
func (CreateBulkReplyResponse) ContentType ¶ added in v0.4.0
func (r CreateBulkReplyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateBulkReplyResponse) GetBody ¶ added in v0.4.0
func (r CreateBulkReplyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateBulkReplyResponse) GetJSON201 ¶ added in v0.4.0
func (r CreateBulkReplyResponse) GetJSON201() *CreateBulkReplyResponseContent
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateBulkReplyResponse) GetJSON401 ¶ added in v0.4.0
func (r CreateBulkReplyResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateBulkReplyResponse) GetJSON422 ¶ added in v0.4.0
func (r CreateBulkReplyResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreateBulkReplyResponse) GetJSON500 ¶ added in v0.4.0
func (r CreateBulkReplyResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (CreateBulkReplyResponse) GetJSON503 ¶ added in v0.4.0
func (r CreateBulkReplyResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (CreateBulkReplyResponse) Status ¶ added in v0.4.0
func (r CreateBulkReplyResponse) Status() string
Status returns HTTPResponse.Status
func (CreateBulkReplyResponse) StatusCode ¶ added in v0.4.0
func (r CreateBulkReplyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateBulkReplyResponseContent ¶ added in v0.4.0
type CreateBulkReplyResponseContent = BulkReplyDelivery
CreateBulkReplyResponseContent defines model for CreateBulkReplyResponseContent.
type CreateCalendarTodoJSONRequestBody ¶
type CreateCalendarTodoJSONRequestBody = CreateCalendarTodoRequestContent
CreateCalendarTodoJSONRequestBody defines body for CreateCalendarTodo for application/json ContentType.
type CreateCalendarTodoRequestContent ¶
type CreateCalendarTodoRequestContent struct {
CalendarTodo CalendarTodoPayload `json:"calendar_todo"`
}
CreateCalendarTodoRequestContent Wire format: {calendar_todo: {title, starts_at}}
type CreateCalendarTodoResponse ¶
type CreateCalendarTodoResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CreateCalendarTodoResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *UnprocessableEntityErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseCreateCalendarTodoResponse ¶
func ParseCreateCalendarTodoResponse(rsp *http.Response) (*CreateCalendarTodoResponse, error)
ParseCreateCalendarTodoResponse parses an HTTP response from a CreateCalendarTodoWithResponse call
func (CreateCalendarTodoResponse) ContentType ¶ added in v0.4.0
func (r CreateCalendarTodoResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateCalendarTodoResponse) GetBody ¶ added in v0.4.0
func (r CreateCalendarTodoResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateCalendarTodoResponse) GetJSON200 ¶ added in v0.4.0
func (r CreateCalendarTodoResponse) GetJSON200() *CreateCalendarTodoResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CreateCalendarTodoResponse) GetJSON401 ¶ added in v0.4.0
func (r CreateCalendarTodoResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateCalendarTodoResponse) GetJSON422 ¶ added in v0.4.0
func (r CreateCalendarTodoResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreateCalendarTodoResponse) GetJSON500 ¶ added in v0.4.0
func (r CreateCalendarTodoResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (CreateCalendarTodoResponse) GetJSON503 ¶ added in v0.4.0
func (r CreateCalendarTodoResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (CreateCalendarTodoResponse) Status ¶
func (r CreateCalendarTodoResponse) Status() string
Status returns HTTPResponse.Status
func (CreateCalendarTodoResponse) StatusCode ¶
func (r CreateCalendarTodoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateCalendarTodoResponseContent ¶
type CreateCalendarTodoResponseContent = Recording
CreateCalendarTodoResponseContent Recording — polymorphic by `type` (CalendarEvent, CalendarTodo, etc.)
type CreateContactJSONRequestBody ¶ added in v0.4.0
type CreateContactJSONRequestBody = CreateContactRequestContent
CreateContactJSONRequestBody defines body for CreateContact for application/json ContentType.
type CreateContactRequestContent ¶ added in v0.4.0
type CreateContactRequestContent struct {
// ActingUserId The identity's user on the account the contact should be filed under; Identity's
// all_users carries one per account. Left out, HEY files it under the first account.
ActingUserId int64 `json:"acting_user_id,omitempty"`
Contact ContactPayload `json:"contact"`
}
CreateContactRequestContent Wire format: {acting_user_id, contact: {...}} — creating also has to say which account the contact belongs to, since one identity can hold several.
type CreateContactResponse ¶ added in v0.4.0
type CreateContactResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *CreateContactResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ConflictErrorResponseContent
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *UnprocessableEntityErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseCreateContactResponse ¶ added in v0.4.0
func ParseCreateContactResponse(rsp *http.Response) (*CreateContactResponse, error)
ParseCreateContactResponse parses an HTTP response from a CreateContactWithResponse call
func (CreateContactResponse) ContentType ¶ added in v0.4.0
func (r CreateContactResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateContactResponse) GetBody ¶ added in v0.4.0
func (r CreateContactResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateContactResponse) GetJSON201 ¶ added in v0.4.0
func (r CreateContactResponse) GetJSON201() *CreateContactResponseContent
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateContactResponse) GetJSON401 ¶ added in v0.4.0
func (r CreateContactResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateContactResponse) GetJSON409 ¶ added in v0.4.0
func (r CreateContactResponse) GetJSON409() *ConflictErrorResponseContent
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (CreateContactResponse) GetJSON422 ¶ added in v0.4.0
func (r CreateContactResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreateContactResponse) GetJSON500 ¶ added in v0.4.0
func (r CreateContactResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (CreateContactResponse) GetJSON503 ¶ added in v0.4.0
func (r CreateContactResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (CreateContactResponse) Status ¶ added in v0.4.0
func (r CreateContactResponse) Status() string
Status returns HTTPResponse.Status
func (CreateContactResponse) StatusCode ¶ added in v0.4.0
func (r CreateContactResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateContactResponseContent ¶ added in v0.4.0
type CreateContactResponseContent = Contact
CreateContactResponseContent Contact — the identity of someone in HEY
type CreateDirectUploadJSONRequestBody ¶ added in v0.5.0
type CreateDirectUploadJSONRequestBody = CreateDirectUploadRequestContent
CreateDirectUploadJSONRequestBody defines body for CreateDirectUpload for application/json ContentType.
type CreateDirectUploadRequestContent ¶ added in v0.5.0
type CreateDirectUploadRequestContent struct {
Blob DirectUploadBlob `json:"blob"`
}
CreateDirectUploadRequestContent defines model for CreateDirectUploadRequestContent.
type CreateDirectUploadResponse ¶ added in v0.5.0
type CreateDirectUploadResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DirectUpload
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *UnprocessableEntityErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseCreateDirectUploadResponse ¶ added in v0.5.0
func ParseCreateDirectUploadResponse(rsp *http.Response) (*CreateDirectUploadResponse, error)
ParseCreateDirectUploadResponse parses an HTTP response from a CreateDirectUploadWithResponse call
func (CreateDirectUploadResponse) ContentType ¶ added in v0.5.0
func (r CreateDirectUploadResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateDirectUploadResponse) GetBody ¶ added in v0.5.0
func (r CreateDirectUploadResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateDirectUploadResponse) GetJSON200 ¶ added in v0.5.0
func (r CreateDirectUploadResponse) GetJSON200() *DirectUpload
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CreateDirectUploadResponse) GetJSON401 ¶ added in v0.5.0
func (r CreateDirectUploadResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateDirectUploadResponse) GetJSON422 ¶ added in v0.5.0
func (r CreateDirectUploadResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreateDirectUploadResponse) GetJSON500 ¶ added in v0.5.0
func (r CreateDirectUploadResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (CreateDirectUploadResponse) GetJSON503 ¶ added in v0.5.0
func (r CreateDirectUploadResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (CreateDirectUploadResponse) Status ¶ added in v0.5.0
func (r CreateDirectUploadResponse) Status() string
Status returns HTTPResponse.Status
func (CreateDirectUploadResponse) StatusCode ¶ added in v0.5.0
func (r CreateDirectUploadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateFolderForPostingsJSONRequestBody ¶ added in v0.4.0
type CreateFolderForPostingsJSONRequestBody = CreateFolderForPostingsRequestContent
CreateFolderForPostingsJSONRequestBody defines body for CreateFolderForPostings for application/json ContentType.
type CreateFolderForPostingsRequestContent ¶ added in v0.4.0
type CreateFolderForPostingsRequestContent struct {
Folder FolderPayload `json:"folder"`
PostingIds []int64 `json:"posting_ids"`
}
CreateFolderForPostingsRequestContent Wire format: {posting_ids: [...], folder: {name, status}}
type CreateFolderForPostingsResponse ¶ added in v0.4.0
type CreateFolderForPostingsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *UnprocessableEntityErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseCreateFolderForPostingsResponse ¶ added in v0.4.0
func ParseCreateFolderForPostingsResponse(rsp *http.Response) (*CreateFolderForPostingsResponse, error)
ParseCreateFolderForPostingsResponse parses an HTTP response from a CreateFolderForPostingsWithResponse call
func (CreateFolderForPostingsResponse) ContentType ¶ added in v0.4.0
func (r CreateFolderForPostingsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateFolderForPostingsResponse) GetBody ¶ added in v0.4.0
func (r CreateFolderForPostingsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateFolderForPostingsResponse) GetJSON401 ¶ added in v0.4.0
func (r CreateFolderForPostingsResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateFolderForPostingsResponse) GetJSON404 ¶ added in v0.4.0
func (r CreateFolderForPostingsResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateFolderForPostingsResponse) GetJSON422 ¶ added in v0.4.0
func (r CreateFolderForPostingsResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreateFolderForPostingsResponse) GetJSON500 ¶ added in v0.4.0
func (r CreateFolderForPostingsResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (CreateFolderForPostingsResponse) GetJSON503 ¶ added in v0.4.0
func (r CreateFolderForPostingsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (CreateFolderForPostingsResponse) Status ¶ added in v0.4.0
func (r CreateFolderForPostingsResponse) Status() string
Status returns HTTPResponse.Status
func (CreateFolderForPostingsResponse) StatusCode ¶ added in v0.4.0
func (r CreateFolderForPostingsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateHabitJSONRequestBody ¶ added in v0.4.0
type CreateHabitJSONRequestBody = HabitRequestContent
CreateHabitJSONRequestBody defines body for CreateHabit for application/json ContentType.
type CreateHabitResponse ¶ added in v0.4.0
type CreateHabitResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *CreateHabitResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *UnprocessableEntityErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseCreateHabitResponse ¶ added in v0.4.0
func ParseCreateHabitResponse(rsp *http.Response) (*CreateHabitResponse, error)
ParseCreateHabitResponse parses an HTTP response from a CreateHabitWithResponse call
func (CreateHabitResponse) ContentType ¶ added in v0.4.0
func (r CreateHabitResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateHabitResponse) GetBody ¶ added in v0.4.0
func (r CreateHabitResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateHabitResponse) GetJSON201 ¶ added in v0.4.0
func (r CreateHabitResponse) GetJSON201() *CreateHabitResponseContent
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateHabitResponse) GetJSON401 ¶ added in v0.4.0
func (r CreateHabitResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateHabitResponse) GetJSON422 ¶ added in v0.4.0
func (r CreateHabitResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreateHabitResponse) GetJSON500 ¶ added in v0.4.0
func (r CreateHabitResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (CreateHabitResponse) GetJSON503 ¶ added in v0.4.0
func (r CreateHabitResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (CreateHabitResponse) Status ¶ added in v0.4.0
func (r CreateHabitResponse) Status() string
Status returns HTTPResponse.Status
func (CreateHabitResponse) StatusCode ¶ added in v0.4.0
func (r CreateHabitResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateHabitResponseContent ¶ added in v0.4.0
type CreateHabitResponseContent = Recording
CreateHabitResponseContent Recording — polymorphic by `type` (CalendarEvent, CalendarTodo, etc.)
type CreateMessageJSONRequestBody ¶
type CreateMessageJSONRequestBody = CreateMessageRequestContent
CreateMessageJSONRequestBody defines body for CreateMessage for application/json ContentType.
type CreateMessageRequestContent ¶
type CreateMessageRequestContent struct {
ActingSenderId int64 `json:"acting_sender_id"`
Entry *MessageEntryPayload `json:"entry,omitempty"`
Message MessagePayload `json:"message"`
}
CreateMessageRequestContent Wire format: {acting_sender_id, message: {subject, content}, entry: {addressed: {directly: "..."}}}
type CreateMessageResponse ¶
type CreateMessageResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *UnprocessableEntityErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseCreateMessageResponse ¶
func ParseCreateMessageResponse(rsp *http.Response) (*CreateMessageResponse, error)
ParseCreateMessageResponse parses an HTTP response from a CreateMessageWithResponse call
func (CreateMessageResponse) ContentType ¶ added in v0.4.0
func (r CreateMessageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateMessageResponse) GetBody ¶ added in v0.4.0
func (r CreateMessageResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateMessageResponse) GetJSON401 ¶ added in v0.4.0
func (r CreateMessageResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateMessageResponse) GetJSON422 ¶ added in v0.4.0
func (r CreateMessageResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreateMessageResponse) GetJSON500 ¶ added in v0.4.0
func (r CreateMessageResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (CreateMessageResponse) GetJSON503 ¶ added in v0.4.0
func (r CreateMessageResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (CreateMessageResponse) Status ¶
func (r CreateMessageResponse) Status() string
Status returns HTTPResponse.Status
func (CreateMessageResponse) StatusCode ¶
func (r CreateMessageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateReplyJSONRequestBody ¶
type CreateReplyJSONRequestBody = CreateReplyRequestContent
CreateReplyJSONRequestBody defines body for CreateReply for application/json ContentType.
type CreateReplyRequestContent ¶
type CreateReplyRequestContent struct {
ActingSenderId int64 `json:"acting_sender_id"`
Entry *MessageEntryPayload `json:"entry,omitempty"`
Message ReplyMessagePayload `json:"message"`
}
CreateReplyRequestContent Wire format: {acting_sender_id, message: {content}, entry: {addressed: {directly: [...]}}} entry.addressed is optional on the wire but a reply posted without it is saved as a draft rather than delivered — HEY does not reply-all for the caller. Resolve the thread's recipients first and always send them.
type CreateReplyResponse ¶
type CreateReplyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *UnprocessableEntityErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseCreateReplyResponse ¶
func ParseCreateReplyResponse(rsp *http.Response) (*CreateReplyResponse, error)
ParseCreateReplyResponse parses an HTTP response from a CreateReplyWithResponse call
func (CreateReplyResponse) ContentType ¶ added in v0.4.0
func (r CreateReplyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateReplyResponse) GetBody ¶ added in v0.4.0
func (r CreateReplyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateReplyResponse) GetJSON401 ¶ added in v0.4.0
func (r CreateReplyResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateReplyResponse) GetJSON404 ¶ added in v0.4.0
func (r CreateReplyResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateReplyResponse) GetJSON422 ¶ added in v0.4.0
func (r CreateReplyResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreateReplyResponse) GetJSON500 ¶ added in v0.4.0
func (r CreateReplyResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (CreateReplyResponse) GetJSON503 ¶ added in v0.4.0
func (r CreateReplyResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (CreateReplyResponse) Status ¶
func (r CreateReplyResponse) Status() string
Status returns HTTPResponse.Status
func (CreateReplyResponse) StatusCode ¶
func (r CreateReplyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateStickyJSONRequestBody ¶ added in v0.4.0
type CreateStickyJSONRequestBody = StickyRequestContent
CreateStickyJSONRequestBody defines body for CreateSticky for application/json ContentType.
type CreateStickyResponse ¶ added in v0.4.0
type CreateStickyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CreateStickyResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *UnprocessableEntityErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseCreateStickyResponse ¶ added in v0.4.0
func ParseCreateStickyResponse(rsp *http.Response) (*CreateStickyResponse, error)
ParseCreateStickyResponse parses an HTTP response from a CreateStickyWithResponse call
func (CreateStickyResponse) ContentType ¶ added in v0.4.0
func (r CreateStickyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateStickyResponse) GetBody ¶ added in v0.4.0
func (r CreateStickyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateStickyResponse) GetJSON200 ¶ added in v0.4.0
func (r CreateStickyResponse) GetJSON200() *CreateStickyResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CreateStickyResponse) GetJSON401 ¶ added in v0.4.0
func (r CreateStickyResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateStickyResponse) GetJSON422 ¶ added in v0.4.0
func (r CreateStickyResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreateStickyResponse) GetJSON500 ¶ added in v0.4.0
func (r CreateStickyResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (CreateStickyResponse) GetJSON503 ¶ added in v0.4.0
func (r CreateStickyResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (CreateStickyResponse) Status ¶ added in v0.4.0
func (r CreateStickyResponse) Status() string
Status returns HTTPResponse.Status
func (CreateStickyResponse) StatusCode ¶ added in v0.4.0
func (r CreateStickyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateStickyResponseContent ¶ added in v0.4.0
type CreateStickyResponseContent = Sticky
CreateStickyResponseContent Sticky — a note on the stickies board
type CreateTimeTrackJSONRequestBody ¶ added in v0.4.0
type CreateTimeTrackJSONRequestBody = TimeTrackRequestContent
CreateTimeTrackJSONRequestBody defines body for CreateTimeTrack for application/json ContentType.
type CreateTimeTrackResponse ¶ added in v0.4.0
type CreateTimeTrackResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CreateTimeTrackResponseContent
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *BadRequestErrorResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *UnprocessableEntityErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseCreateTimeTrackResponse ¶ added in v0.4.0
func ParseCreateTimeTrackResponse(rsp *http.Response) (*CreateTimeTrackResponse, error)
ParseCreateTimeTrackResponse parses an HTTP response from a CreateTimeTrackWithResponse call
func (CreateTimeTrackResponse) ContentType ¶ added in v0.4.0
func (r CreateTimeTrackResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateTimeTrackResponse) GetBody ¶ added in v0.4.0
func (r CreateTimeTrackResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateTimeTrackResponse) GetJSON200 ¶ added in v0.4.0
func (r CreateTimeTrackResponse) GetJSON200() *CreateTimeTrackResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CreateTimeTrackResponse) GetJSON400 ¶ added in v0.4.0
func (r CreateTimeTrackResponse) GetJSON400() *BadRequestErrorResponseContent
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateTimeTrackResponse) GetJSON401 ¶ added in v0.4.0
func (r CreateTimeTrackResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateTimeTrackResponse) GetJSON422 ¶ added in v0.4.0
func (r CreateTimeTrackResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreateTimeTrackResponse) GetJSON500 ¶ added in v0.4.0
func (r CreateTimeTrackResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (CreateTimeTrackResponse) GetJSON503 ¶ added in v0.4.0
func (r CreateTimeTrackResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (CreateTimeTrackResponse) Status ¶ added in v0.4.0
func (r CreateTimeTrackResponse) Status() string
Status returns HTTPResponse.Status
func (CreateTimeTrackResponse) StatusCode ¶ added in v0.4.0
func (r CreateTimeTrackResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateTimeTrackResponseContent ¶ added in v0.4.0
type CreateTimeTrackResponseContent = Recording
CreateTimeTrackResponseContent Recording — polymorphic by `type` (CalendarEvent, CalendarTodo, etc.)
type CreateWorkflowStagingResponse ¶ added in v0.12.0
type CreateWorkflowStagingResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ForbiddenErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *UnprocessableEntityErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseCreateWorkflowStagingResponse ¶ added in v0.12.0
func ParseCreateWorkflowStagingResponse(rsp *http.Response) (*CreateWorkflowStagingResponse, error)
ParseCreateWorkflowStagingResponse parses an HTTP response from a CreateWorkflowStagingWithResponse call
func (CreateWorkflowStagingResponse) ContentType ¶ added in v0.12.0
func (r CreateWorkflowStagingResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateWorkflowStagingResponse) GetBody ¶ added in v0.12.0
func (r CreateWorkflowStagingResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateWorkflowStagingResponse) GetJSON401 ¶ added in v0.12.0
func (r CreateWorkflowStagingResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateWorkflowStagingResponse) GetJSON403 ¶ added in v0.12.0
func (r CreateWorkflowStagingResponse) GetJSON403() *ForbiddenErrorResponseContent
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (CreateWorkflowStagingResponse) GetJSON404 ¶ added in v0.12.0
func (r CreateWorkflowStagingResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateWorkflowStagingResponse) GetJSON422 ¶ added in v0.12.0
func (r CreateWorkflowStagingResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreateWorkflowStagingResponse) GetJSON500 ¶ added in v0.12.0
func (r CreateWorkflowStagingResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (CreateWorkflowStagingResponse) GetJSON503 ¶ added in v0.12.0
func (r CreateWorkflowStagingResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (CreateWorkflowStagingResponse) Status ¶ added in v0.12.0
func (r CreateWorkflowStagingResponse) Status() string
Status returns HTTPResponse.Status
func (CreateWorkflowStagingResponse) StatusCode ¶ added in v0.12.0
func (r CreateWorkflowStagingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteBoxDesignationResponse ¶ added in v0.4.0
type DeleteBoxDesignationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseDeleteBoxDesignationResponse ¶ added in v0.4.0
func ParseDeleteBoxDesignationResponse(rsp *http.Response) (*DeleteBoxDesignationResponse, error)
ParseDeleteBoxDesignationResponse parses an HTTP response from a DeleteBoxDesignationWithResponse call
func (DeleteBoxDesignationResponse) ContentType ¶ added in v0.4.0
func (r DeleteBoxDesignationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteBoxDesignationResponse) GetBody ¶ added in v0.4.0
func (r DeleteBoxDesignationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteBoxDesignationResponse) GetJSON401 ¶ added in v0.4.0
func (r DeleteBoxDesignationResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteBoxDesignationResponse) GetJSON404 ¶ added in v0.4.0
func (r DeleteBoxDesignationResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteBoxDesignationResponse) GetJSON500 ¶ added in v0.4.0
func (r DeleteBoxDesignationResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteBoxDesignationResponse) GetJSON503 ¶ added in v0.4.0
func (r DeleteBoxDesignationResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (DeleteBoxDesignationResponse) Status ¶ added in v0.4.0
func (r DeleteBoxDesignationResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteBoxDesignationResponse) StatusCode ¶ added in v0.4.0
func (r DeleteBoxDesignationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteBoxGroupResponse ¶ added in v0.4.0
type DeleteBoxGroupResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseDeleteBoxGroupResponse ¶ added in v0.4.0
func ParseDeleteBoxGroupResponse(rsp *http.Response) (*DeleteBoxGroupResponse, error)
ParseDeleteBoxGroupResponse parses an HTTP response from a DeleteBoxGroupWithResponse call
func (DeleteBoxGroupResponse) ContentType ¶ added in v0.4.0
func (r DeleteBoxGroupResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteBoxGroupResponse) GetBody ¶ added in v0.4.0
func (r DeleteBoxGroupResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteBoxGroupResponse) GetJSON401 ¶ added in v0.4.0
func (r DeleteBoxGroupResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteBoxGroupResponse) GetJSON404 ¶ added in v0.4.0
func (r DeleteBoxGroupResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteBoxGroupResponse) GetJSON500 ¶ added in v0.4.0
func (r DeleteBoxGroupResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteBoxGroupResponse) GetJSON503 ¶ added in v0.4.0
func (r DeleteBoxGroupResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (DeleteBoxGroupResponse) Status ¶ added in v0.4.0
func (r DeleteBoxGroupResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteBoxGroupResponse) StatusCode ¶ added in v0.4.0
func (r DeleteBoxGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteCalendarTodoResponse ¶
type DeleteCalendarTodoResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseDeleteCalendarTodoResponse ¶
func ParseDeleteCalendarTodoResponse(rsp *http.Response) (*DeleteCalendarTodoResponse, error)
ParseDeleteCalendarTodoResponse parses an HTTP response from a DeleteCalendarTodoWithResponse call
func (DeleteCalendarTodoResponse) ContentType ¶ added in v0.4.0
func (r DeleteCalendarTodoResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteCalendarTodoResponse) GetBody ¶ added in v0.4.0
func (r DeleteCalendarTodoResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteCalendarTodoResponse) GetJSON401 ¶ added in v0.4.0
func (r DeleteCalendarTodoResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteCalendarTodoResponse) GetJSON404 ¶ added in v0.4.0
func (r DeleteCalendarTodoResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteCalendarTodoResponse) GetJSON500 ¶ added in v0.4.0
func (r DeleteCalendarTodoResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteCalendarTodoResponse) GetJSON503 ¶ added in v0.4.0
func (r DeleteCalendarTodoResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (DeleteCalendarTodoResponse) Status ¶
func (r DeleteCalendarTodoResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteCalendarTodoResponse) StatusCode ¶
func (r DeleteCalendarTodoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteContactNoteResponse ¶ added in v0.4.0
type DeleteContactNoteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseDeleteContactNoteResponse ¶ added in v0.4.0
func ParseDeleteContactNoteResponse(rsp *http.Response) (*DeleteContactNoteResponse, error)
ParseDeleteContactNoteResponse parses an HTTP response from a DeleteContactNoteWithResponse call
func (DeleteContactNoteResponse) ContentType ¶ added in v0.4.0
func (r DeleteContactNoteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteContactNoteResponse) GetBody ¶ added in v0.4.0
func (r DeleteContactNoteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteContactNoteResponse) GetJSON401 ¶ added in v0.4.0
func (r DeleteContactNoteResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteContactNoteResponse) GetJSON404 ¶ added in v0.4.0
func (r DeleteContactNoteResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteContactNoteResponse) GetJSON500 ¶ added in v0.4.0
func (r DeleteContactNoteResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteContactNoteResponse) GetJSON503 ¶ added in v0.4.0
func (r DeleteContactNoteResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (DeleteContactNoteResponse) Status ¶ added in v0.4.0
func (r DeleteContactNoteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteContactNoteResponse) StatusCode ¶ added in v0.4.0
func (r DeleteContactNoteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteDraftResponse ¶ added in v0.22.0
type DeleteDraftResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseDeleteDraftResponse ¶ added in v0.22.0
func ParseDeleteDraftResponse(rsp *http.Response) (*DeleteDraftResponse, error)
ParseDeleteDraftResponse parses an HTTP response from a DeleteDraftWithResponse call
func (DeleteDraftResponse) ContentType ¶ added in v0.22.0
func (r DeleteDraftResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteDraftResponse) GetBody ¶ added in v0.22.0
func (r DeleteDraftResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteDraftResponse) GetJSON401 ¶ added in v0.22.0
func (r DeleteDraftResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteDraftResponse) GetJSON404 ¶ added in v0.22.0
func (r DeleteDraftResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteDraftResponse) GetJSON500 ¶ added in v0.22.0
func (r DeleteDraftResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteDraftResponse) GetJSON503 ¶ added in v0.22.0
func (r DeleteDraftResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (DeleteDraftResponse) Status ¶ added in v0.22.0
func (r DeleteDraftResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteDraftResponse) StatusCode ¶ added in v0.22.0
func (r DeleteDraftResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteHabitResponse ¶ added in v0.4.0
type DeleteHabitResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseDeleteHabitResponse ¶ added in v0.4.0
func ParseDeleteHabitResponse(rsp *http.Response) (*DeleteHabitResponse, error)
ParseDeleteHabitResponse parses an HTTP response from a DeleteHabitWithResponse call
func (DeleteHabitResponse) ContentType ¶ added in v0.4.0
func (r DeleteHabitResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteHabitResponse) GetBody ¶ added in v0.4.0
func (r DeleteHabitResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteHabitResponse) GetJSON401 ¶ added in v0.4.0
func (r DeleteHabitResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteHabitResponse) GetJSON404 ¶ added in v0.4.0
func (r DeleteHabitResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteHabitResponse) GetJSON500 ¶ added in v0.4.0
func (r DeleteHabitResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteHabitResponse) GetJSON503 ¶ added in v0.4.0
func (r DeleteHabitResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (DeleteHabitResponse) Status ¶ added in v0.4.0
func (r DeleteHabitResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteHabitResponse) StatusCode ¶ added in v0.4.0
func (r DeleteHabitResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteStickyResponse ¶ added in v0.4.0
type DeleteStickyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseDeleteStickyResponse ¶ added in v0.4.0
func ParseDeleteStickyResponse(rsp *http.Response) (*DeleteStickyResponse, error)
ParseDeleteStickyResponse parses an HTTP response from a DeleteStickyWithResponse call
func (DeleteStickyResponse) ContentType ¶ added in v0.4.0
func (r DeleteStickyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteStickyResponse) GetBody ¶ added in v0.4.0
func (r DeleteStickyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteStickyResponse) GetJSON401 ¶ added in v0.4.0
func (r DeleteStickyResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteStickyResponse) GetJSON404 ¶ added in v0.4.0
func (r DeleteStickyResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteStickyResponse) GetJSON500 ¶ added in v0.4.0
func (r DeleteStickyResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteStickyResponse) GetJSON503 ¶ added in v0.4.0
func (r DeleteStickyResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (DeleteStickyResponse) Status ¶ added in v0.4.0
func (r DeleteStickyResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteStickyResponse) StatusCode ¶ added in v0.4.0
func (r DeleteStickyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteTimeTrackResponse ¶ added in v0.4.0
type DeleteTimeTrackResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseDeleteTimeTrackResponse ¶ added in v0.4.0
func ParseDeleteTimeTrackResponse(rsp *http.Response) (*DeleteTimeTrackResponse, error)
ParseDeleteTimeTrackResponse parses an HTTP response from a DeleteTimeTrackWithResponse call
func (DeleteTimeTrackResponse) ContentType ¶ added in v0.4.0
func (r DeleteTimeTrackResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteTimeTrackResponse) GetBody ¶ added in v0.4.0
func (r DeleteTimeTrackResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteTimeTrackResponse) GetJSON401 ¶ added in v0.4.0
func (r DeleteTimeTrackResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteTimeTrackResponse) GetJSON404 ¶ added in v0.4.0
func (r DeleteTimeTrackResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteTimeTrackResponse) GetJSON500 ¶ added in v0.4.0
func (r DeleteTimeTrackResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteTimeTrackResponse) GetJSON503 ¶ added in v0.4.0
func (r DeleteTimeTrackResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (DeleteTimeTrackResponse) Status ¶ added in v0.4.0
func (r DeleteTimeTrackResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteTimeTrackResponse) StatusCode ¶ added in v0.4.0
func (r DeleteTimeTrackResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeletedPosting ¶ added in v0.6.0
type DeletedPosting struct {
BoxId int64 `json:"box_id,omitempty"`
// DeletedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
DeletedAt time.Time `json:"deleted_at,omitempty,omitzero"`
Id int64 `json:"id"`
}
DeletedPosting DeletedPosting — the stub the changes feed answers with for a posting that is gone
type DirectUpload ¶ added in v0.5.0
type DirectUpload struct {
AttachableSgid string `json:"attachable_sgid"`
DirectUpload DirectUploadTarget `json:"direct_upload"`
SignedId string `json:"signed_id"`
}
DirectUpload defines model for DirectUpload.
type DirectUploadBlob ¶ added in v0.5.0
type DirectUploadBlob struct {
ByteSize int64 `json:"byte_size"`
Checksum string `json:"checksum"`
ContentType string `json:"content_type"`
Filename string `json:"filename"`
}
DirectUploadBlob defines model for DirectUploadBlob.
type DirectUploadHeaders ¶ added in v0.5.0
DirectUploadHeaders defines model for DirectUploadHeaders.
type DirectUploadTarget ¶ added in v0.5.0
type DirectUploadTarget struct {
Headers DirectUploadHeaders `json:"headers,omitempty"`
Url string `json:"url"`
}
DirectUploadTarget defines model for DirectUploadTarget.
type DocumentsService ¶
type DocumentsService struct {
// contains filtered or unexported fields
}
DocumentsService provides document-related operations.
type Domain ¶
type Domain struct {
Address string `json:"address,omitempty"`
AppUrl string `json:"app_url,omitempty"`
AvatarUrl string `json:"avatar_url,omitempty"`
Id int64 `json:"id"`
}
Domain Domain — email domain
type DraftMessage ¶
type DraftMessage struct {
AccountId int64 `json:"account_id,omitempty"`
AddressedContacts []Contact `json:"addressed_contacts,omitempty"`
AppUrl string `json:"app_url,omitempty"`
// Creator Contact — the identity of someone in HEY
Creator Contact `json:"creator,omitempty"`
EditUrl string `json:"edit_url,omitempty"`
Id int64 `json:"id"`
// ScheduledDeliveryAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
ScheduledDeliveryAt time.Time `json:"scheduled_delivery_at,omitempty,omitzero"`
Subject string `json:"subject,omitempty"`
Summary string `json:"summary,omitempty"`
// UpdatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
UpdatedAt time.Time `json:"updated_at,omitempty,omitzero"`
Url string `json:"url,omitempty"`
}
DraftMessage DraftMessage — a draft entry
type EmptySpamResponse ¶ added in v0.4.0
type EmptySpamResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseEmptySpamResponse ¶ added in v0.4.0
func ParseEmptySpamResponse(rsp *http.Response) (*EmptySpamResponse, error)
ParseEmptySpamResponse parses an HTTP response from a EmptySpamWithResponse call
func (EmptySpamResponse) ContentType ¶ added in v0.4.0
func (r EmptySpamResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EmptySpamResponse) GetBody ¶ added in v0.4.0
func (r EmptySpamResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EmptySpamResponse) GetJSON401 ¶ added in v0.4.0
func (r EmptySpamResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (EmptySpamResponse) GetJSON500 ¶ added in v0.4.0
func (r EmptySpamResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (EmptySpamResponse) GetJSON503 ¶ added in v0.4.0
func (r EmptySpamResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (EmptySpamResponse) Status ¶ added in v0.4.0
func (r EmptySpamResponse) Status() string
Status returns HTTPResponse.Status
func (EmptySpamResponse) StatusCode ¶ added in v0.4.0
func (r EmptySpamResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EmptyTrashResponse ¶ added in v0.4.0
type EmptyTrashResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseEmptyTrashResponse ¶ added in v0.4.0
func ParseEmptyTrashResponse(rsp *http.Response) (*EmptyTrashResponse, error)
ParseEmptyTrashResponse parses an HTTP response from a EmptyTrashWithResponse call
func (EmptyTrashResponse) ContentType ¶ added in v0.4.0
func (r EmptyTrashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EmptyTrashResponse) GetBody ¶ added in v0.4.0
func (r EmptyTrashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EmptyTrashResponse) GetJSON401 ¶ added in v0.4.0
func (r EmptyTrashResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (EmptyTrashResponse) GetJSON500 ¶ added in v0.4.0
func (r EmptyTrashResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (EmptyTrashResponse) GetJSON503 ¶ added in v0.4.0
func (r EmptyTrashResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (EmptyTrashResponse) Status ¶ added in v0.4.0
func (r EmptyTrashResponse) Status() string
Status returns HTTPResponse.Status
func (EmptyTrashResponse) StatusCode ¶ added in v0.4.0
func (r EmptyTrashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Entry ¶
type Entry struct {
AlternativeSenderName string `json:"alternative_sender_name,omitempty"`
AppUrl string `json:"app_url,omitempty"`
// CreatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
CreatedAt time.Time `json:"created_at,omitempty,omitzero"`
// Creator Contact — the identity of someone in HEY
Creator Contact `json:"creator,omitempty"`
Id int64 `json:"id"`
Kind string `json:"kind,omitempty"`
Subject string `json:"subject,omitempty"`
Summary string `json:"summary,omitempty"`
TopicId int64 `json:"topic_id,omitempty"`
// UpdatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
UpdatedAt time.Time `json:"updated_at,omitempty,omitzero"`
}
Entry Entry — a message entry within a topic
type EventsService ¶
type EventsService struct {
// contains filtered or unexported fields
}
EventsService provides event-related operations.
type Extenzion ¶
type Extenzion struct {
AppUrl string `json:"app_url,omitempty"`
Id int64 `json:"id"`
Name string `json:"name,omitempty"`
}
Extenzion Extenzion — external account extension
type ExternalAccount ¶
type ExternalAccount struct {
// Contact Contact — the identity of someone in HEY
Contact Contact `json:"contact,omitempty"`
Id int64 `json:"id"`
}
ExternalAccount defines model for ExternalAccount.
type FilePostingsJSONRequestBody ¶ added in v0.4.0
type FilePostingsJSONRequestBody = FilePostingsRequestContent
FilePostingsJSONRequestBody defines body for FilePostings for application/json ContentType.
type FilePostingsRequestContent ¶ added in v0.4.0
type FilePostingsRequestContent struct {
FolderId int64 `json:"folder_id"`
PostingIds []int64 `json:"posting_ids"`
}
FilePostingsRequestContent defines model for FilePostingsRequestContent.
type FilePostingsResponse ¶ added in v0.4.0
type FilePostingsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseFilePostingsResponse ¶ added in v0.4.0
func ParseFilePostingsResponse(rsp *http.Response) (*FilePostingsResponse, error)
ParseFilePostingsResponse parses an HTTP response from a FilePostingsWithResponse call
func (FilePostingsResponse) ContentType ¶ added in v0.4.0
func (r FilePostingsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FilePostingsResponse) GetBody ¶ added in v0.4.0
func (r FilePostingsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (FilePostingsResponse) GetJSON401 ¶ added in v0.4.0
func (r FilePostingsResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (FilePostingsResponse) GetJSON404 ¶ added in v0.4.0
func (r FilePostingsResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (FilePostingsResponse) GetJSON500 ¶ added in v0.4.0
func (r FilePostingsResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (FilePostingsResponse) GetJSON503 ¶ added in v0.4.0
func (r FilePostingsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (FilePostingsResponse) Status ¶ added in v0.4.0
func (r FilePostingsResponse) Status() string
Status returns HTTPResponse.Status
func (FilePostingsResponse) StatusCode ¶ added in v0.4.0
func (r FilePostingsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FirstWeekDayParams ¶ added in v0.23.0
type FirstWeekDayParams struct {
// FirstWeekDay Lowercase day name, sunday through saturday.
FirstWeekDay string `json:"first_week_day"`
}
FirstWeekDayParams defines model for FirstWeekDayParams.
type FirstWeekDayPreference ¶ added in v0.23.0
type FirstWeekDayPreference struct {
// FirstWeekDay 0 is Sunday through 6 Saturday, as GetIdentity serves it.
FirstWeekDay int32 `json:"first_week_day"`
}
FirstWeekDayPreference defines model for FirstWeekDayPreference.
type Folder ¶
type Folder struct {
AppUrl string `json:"app_url,omitempty"`
// CreatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
CreatedAt time.Time `json:"created_at,omitempty,omitzero"`
Id int64 `json:"id"`
Name string `json:"name,omitempty"`
// UpdatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
UpdatedAt time.Time `json:"updated_at,omitempty,omitzero"`
}
Folder Folder — email folder
type FolderPayload ¶ added in v0.4.0
FolderPayload defines model for FolderPayload.
type FolderWithPostings ¶ added in v0.4.0
type FolderWithPostings struct {
AppUrl string `json:"app_url,omitempty"`
// CreatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
CreatedAt time.Time `json:"created_at,omitempty,omitzero"`
Id int64 `json:"id"`
Name string `json:"name,omitempty"`
Postings []Posting `json:"postings,omitempty"`
// UpdatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
UpdatedAt time.Time `json:"updated_at,omitempty,omitzero"`
}
FolderWithPostings FolderWithPostings — folder detail with the postings filed in it
type ForbiddenErrorResponseContent ¶ added in v0.4.0
type ForbiddenErrorResponseContent struct {
Message string `json:"message"`
}
ForbiddenErrorResponseContent defines model for ForbiddenErrorResponseContent.
type GetAdvancedSearchFiltersResponse ¶ added in v0.4.0
type GetAdvancedSearchFiltersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetAdvancedSearchFiltersResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseGetAdvancedSearchFiltersResponse ¶ added in v0.4.0
func ParseGetAdvancedSearchFiltersResponse(rsp *http.Response) (*GetAdvancedSearchFiltersResponse, error)
ParseGetAdvancedSearchFiltersResponse parses an HTTP response from a GetAdvancedSearchFiltersWithResponse call
func (GetAdvancedSearchFiltersResponse) ContentType ¶ added in v0.4.0
func (r GetAdvancedSearchFiltersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAdvancedSearchFiltersResponse) GetBody ¶ added in v0.4.0
func (r GetAdvancedSearchFiltersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAdvancedSearchFiltersResponse) GetJSON200 ¶ added in v0.4.0
func (r GetAdvancedSearchFiltersResponse) GetJSON200() *GetAdvancedSearchFiltersResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAdvancedSearchFiltersResponse) GetJSON401 ¶ added in v0.4.0
func (r GetAdvancedSearchFiltersResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetAdvancedSearchFiltersResponse) GetJSON500 ¶ added in v0.4.0
func (r GetAdvancedSearchFiltersResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetAdvancedSearchFiltersResponse) GetJSON503 ¶ added in v0.4.0
func (r GetAdvancedSearchFiltersResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetAdvancedSearchFiltersResponse) Status ¶ added in v0.4.0
func (r GetAdvancedSearchFiltersResponse) Status() string
Status returns HTTPResponse.Status
func (GetAdvancedSearchFiltersResponse) StatusCode ¶ added in v0.4.0
func (r GetAdvancedSearchFiltersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAdvancedSearchFiltersResponseContent ¶ added in v0.4.0
type GetAdvancedSearchFiltersResponseContent = AdvancedSearchFilters
GetAdvancedSearchFiltersResponseContent AdvancedSearchFilters — the options the advanced search refine form offers
type GetAsideboxParams ¶
type GetAsideboxParams struct {
Page *string `form:"page,omitempty" json:"page,omitempty"`
}
GetAsideboxParams defines parameters for GetAsidebox.
type GetAsideboxResponse ¶
type GetAsideboxResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetAsideboxResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseGetAsideboxResponse ¶
func ParseGetAsideboxResponse(rsp *http.Response) (*GetAsideboxResponse, error)
ParseGetAsideboxResponse parses an HTTP response from a GetAsideboxWithResponse call
func (GetAsideboxResponse) ContentType ¶ added in v0.4.0
func (r GetAsideboxResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAsideboxResponse) GetBody ¶ added in v0.4.0
func (r GetAsideboxResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAsideboxResponse) GetJSON200 ¶ added in v0.4.0
func (r GetAsideboxResponse) GetJSON200() *GetAsideboxResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAsideboxResponse) GetJSON401 ¶ added in v0.4.0
func (r GetAsideboxResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetAsideboxResponse) GetJSON500 ¶ added in v0.4.0
func (r GetAsideboxResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetAsideboxResponse) GetJSON503 ¶ added in v0.4.0
func (r GetAsideboxResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetAsideboxResponse) Status ¶
func (r GetAsideboxResponse) Status() string
Status returns HTTPResponse.Status
func (GetAsideboxResponse) StatusCode ¶
func (r GetAsideboxResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAsideboxResponseContent ¶
type GetAsideboxResponseContent = BoxShowResponse
GetAsideboxResponseContent BoxShowResponse — box detail with postings. The API can return fields at root level or nested under a `box` key. SDK response decoders normalize the nested variant to flat before decoding.
type GetBoxParams ¶
type GetBoxParams struct {
Page *string `form:"page,omitempty" json:"page,omitempty"`
}
GetBoxParams defines parameters for GetBox.
type GetBoxPostingChangesParams ¶ added in v0.6.0
type GetBoxPostingChangesParams struct {
Since string `form:"since" json:"since"`
V *string `form:"v,omitempty" json:"v,omitempty"`
Page *string `form:"page,omitempty" json:"page,omitempty"`
PerPage *string `form:"per_page,omitempty" json:"per_page,omitempty"`
}
GetBoxPostingChangesParams defines parameters for GetBoxPostingChanges.
type GetBoxPostingChangesResponse ¶ added in v0.6.0
type GetBoxPostingChangesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetBoxPostingChangesResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ConflictErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseGetBoxPostingChangesResponse ¶ added in v0.6.0
func ParseGetBoxPostingChangesResponse(rsp *http.Response) (*GetBoxPostingChangesResponse, error)
ParseGetBoxPostingChangesResponse parses an HTTP response from a GetBoxPostingChangesWithResponse call
func (GetBoxPostingChangesResponse) ContentType ¶ added in v0.6.0
func (r GetBoxPostingChangesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBoxPostingChangesResponse) GetBody ¶ added in v0.6.0
func (r GetBoxPostingChangesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetBoxPostingChangesResponse) GetJSON200 ¶ added in v0.6.0
func (r GetBoxPostingChangesResponse) GetJSON200() *GetBoxPostingChangesResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetBoxPostingChangesResponse) GetJSON401 ¶ added in v0.6.0
func (r GetBoxPostingChangesResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetBoxPostingChangesResponse) GetJSON404 ¶ added in v0.6.0
func (r GetBoxPostingChangesResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetBoxPostingChangesResponse) GetJSON409 ¶ added in v0.6.0
func (r GetBoxPostingChangesResponse) GetJSON409() *ConflictErrorResponseContent
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (GetBoxPostingChangesResponse) GetJSON500 ¶ added in v0.6.0
func (r GetBoxPostingChangesResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetBoxPostingChangesResponse) GetJSON503 ¶ added in v0.6.0
func (r GetBoxPostingChangesResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetBoxPostingChangesResponse) Status ¶ added in v0.6.0
func (r GetBoxPostingChangesResponse) Status() string
Status returns HTTPResponse.Status
func (GetBoxPostingChangesResponse) StatusCode ¶ added in v0.6.0
func (r GetBoxPostingChangesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBoxPostingChangesResponseContent ¶ added in v0.6.0
type GetBoxPostingChangesResponseContent struct {
Added []Posting `json:"added,omitempty"`
Deleted []DeletedPosting `json:"deleted,omitempty"`
Updated []Posting `json:"updated,omitempty"`
}
GetBoxPostingChangesResponseContent defines model for GetBoxPostingChangesResponseContent.
type GetBoxResponse ¶
type GetBoxResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetBoxResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseGetBoxResponse ¶
func ParseGetBoxResponse(rsp *http.Response) (*GetBoxResponse, error)
ParseGetBoxResponse parses an HTTP response from a GetBoxWithResponse call
func (GetBoxResponse) ContentType ¶ added in v0.4.0
func (r GetBoxResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBoxResponse) GetBody ¶ added in v0.4.0
func (r GetBoxResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetBoxResponse) GetJSON200 ¶ added in v0.4.0
func (r GetBoxResponse) GetJSON200() *GetBoxResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetBoxResponse) GetJSON401 ¶ added in v0.4.0
func (r GetBoxResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetBoxResponse) GetJSON404 ¶ added in v0.4.0
func (r GetBoxResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetBoxResponse) GetJSON500 ¶ added in v0.4.0
func (r GetBoxResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetBoxResponse) GetJSON503 ¶ added in v0.4.0
func (r GetBoxResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetBoxResponse) Status ¶
func (r GetBoxResponse) Status() string
Status returns HTTPResponse.Status
func (GetBoxResponse) StatusCode ¶
func (r GetBoxResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBoxResponseContent ¶
type GetBoxResponseContent = BoxShowResponse
GetBoxResponseContent BoxShowResponse — box detail with postings. The API can return fields at root level or nested under a `box` key. SDK response decoders normalize the nested variant to flat before decoding.
type GetBubbleboxParams ¶
type GetBubbleboxParams struct {
Page *string `form:"page,omitempty" json:"page,omitempty"`
}
GetBubbleboxParams defines parameters for GetBubblebox.
type GetBubbleboxResponse ¶
type GetBubbleboxResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetBubbleboxResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseGetBubbleboxResponse ¶
func ParseGetBubbleboxResponse(rsp *http.Response) (*GetBubbleboxResponse, error)
ParseGetBubbleboxResponse parses an HTTP response from a GetBubbleboxWithResponse call
func (GetBubbleboxResponse) ContentType ¶ added in v0.4.0
func (r GetBubbleboxResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBubbleboxResponse) GetBody ¶ added in v0.4.0
func (r GetBubbleboxResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetBubbleboxResponse) GetJSON200 ¶ added in v0.4.0
func (r GetBubbleboxResponse) GetJSON200() *GetBubbleboxResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetBubbleboxResponse) GetJSON401 ¶ added in v0.4.0
func (r GetBubbleboxResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetBubbleboxResponse) GetJSON500 ¶ added in v0.4.0
func (r GetBubbleboxResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetBubbleboxResponse) GetJSON503 ¶ added in v0.4.0
func (r GetBubbleboxResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetBubbleboxResponse) Status ¶
func (r GetBubbleboxResponse) Status() string
Status returns HTTPResponse.Status
func (GetBubbleboxResponse) StatusCode ¶
func (r GetBubbleboxResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBubbleboxResponseContent ¶
type GetBubbleboxResponseContent = BoxShowResponse
GetBubbleboxResponseContent BoxShowResponse — box detail with postings. The API can return fields at root level or nested under a `box` key. SDK response decoders normalize the nested variant to flat before decoding.
type GetBundleUnseenPostingsParams ¶ added in v0.26.0
type GetBundleUnseenPostingsParams struct {
Page *string `form:"page,omitempty" json:"page,omitempty"`
}
GetBundleUnseenPostingsParams defines parameters for GetBundleUnseenPostings.
type GetBundleUnseenPostingsResponse ¶ added in v0.26.0
type GetBundleUnseenPostingsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetBundleUnseenPostingsResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseGetBundleUnseenPostingsResponse ¶ added in v0.26.0
func ParseGetBundleUnseenPostingsResponse(rsp *http.Response) (*GetBundleUnseenPostingsResponse, error)
ParseGetBundleUnseenPostingsResponse parses an HTTP response from a GetBundleUnseenPostingsWithResponse call
func (GetBundleUnseenPostingsResponse) ContentType ¶ added in v0.26.0
func (r GetBundleUnseenPostingsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBundleUnseenPostingsResponse) GetBody ¶ added in v0.26.0
func (r GetBundleUnseenPostingsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetBundleUnseenPostingsResponse) GetJSON200 ¶ added in v0.26.0
func (r GetBundleUnseenPostingsResponse) GetJSON200() *GetBundleUnseenPostingsResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetBundleUnseenPostingsResponse) GetJSON401 ¶ added in v0.26.0
func (r GetBundleUnseenPostingsResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetBundleUnseenPostingsResponse) GetJSON404 ¶ added in v0.26.0
func (r GetBundleUnseenPostingsResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetBundleUnseenPostingsResponse) GetJSON500 ¶ added in v0.26.0
func (r GetBundleUnseenPostingsResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetBundleUnseenPostingsResponse) GetJSON503 ¶ added in v0.26.0
func (r GetBundleUnseenPostingsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetBundleUnseenPostingsResponse) Status ¶ added in v0.26.0
func (r GetBundleUnseenPostingsResponse) Status() string
Status returns HTTPResponse.Status
func (GetBundleUnseenPostingsResponse) StatusCode ¶ added in v0.26.0
func (r GetBundleUnseenPostingsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBundleUnseenPostingsResponseContent ¶ added in v0.26.0
type GetBundleUnseenPostingsResponseContent struct {
// Contact Contact — the identity of someone in HEY
Contact Contact `json:"contact"`
Postings []Posting `json:"postings"`
}
GetBundleUnseenPostingsResponseContent defines model for GetBundleUnseenPostingsResponseContent.
type GetCalendarDayResponse ¶ added in v0.16.0
type GetCalendarDayResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetCalendarDayResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseGetCalendarDayResponse ¶ added in v0.16.0
func ParseGetCalendarDayResponse(rsp *http.Response) (*GetCalendarDayResponse, error)
ParseGetCalendarDayResponse parses an HTTP response from a GetCalendarDayWithResponse call
func (GetCalendarDayResponse) ContentType ¶ added in v0.16.0
func (r GetCalendarDayResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCalendarDayResponse) GetBody ¶ added in v0.16.0
func (r GetCalendarDayResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCalendarDayResponse) GetJSON200 ¶ added in v0.16.0
func (r GetCalendarDayResponse) GetJSON200() *GetCalendarDayResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetCalendarDayResponse) GetJSON401 ¶ added in v0.16.0
func (r GetCalendarDayResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetCalendarDayResponse) GetJSON404 ¶ added in v0.16.0
func (r GetCalendarDayResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetCalendarDayResponse) GetJSON500 ¶ added in v0.16.0
func (r GetCalendarDayResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetCalendarDayResponse) GetJSON503 ¶ added in v0.16.0
func (r GetCalendarDayResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetCalendarDayResponse) Status ¶ added in v0.16.0
func (r GetCalendarDayResponse) Status() string
Status returns HTTPResponse.Status
func (GetCalendarDayResponse) StatusCode ¶ added in v0.16.0
func (r GetCalendarDayResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCalendarDayResponseContent ¶ added in v0.16.0
type GetCalendarDayResponseContent = CalendarPeriod
GetCalendarDayResponseContent CalendarPeriod — a day or a week: its bounds and everything in it, grouped by type. Recurring events arrive expanded into the occurrences that fall inside the window, which is what makes this a different answer than the recordings a calendar lists.
type GetCalendarRecordingsParams ¶
type GetCalendarRecordingsParams struct {
StartsOn *string `form:"starts_on,omitempty" json:"starts_on,omitempty"`
EndsOn *string `form:"ends_on,omitempty" json:"ends_on,omitempty"`
Page *string `form:"page,omitempty" json:"page,omitempty"`
}
GetCalendarRecordingsParams defines parameters for GetCalendarRecordings.
type GetCalendarRecordingsResponse ¶
type GetCalendarRecordingsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetCalendarRecordingsResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseGetCalendarRecordingsResponse ¶
func ParseGetCalendarRecordingsResponse(rsp *http.Response) (*GetCalendarRecordingsResponse, error)
ParseGetCalendarRecordingsResponse parses an HTTP response from a GetCalendarRecordingsWithResponse call
func (GetCalendarRecordingsResponse) ContentType ¶ added in v0.4.0
func (r GetCalendarRecordingsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCalendarRecordingsResponse) GetBody ¶ added in v0.4.0
func (r GetCalendarRecordingsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCalendarRecordingsResponse) GetJSON200 ¶ added in v0.4.0
func (r GetCalendarRecordingsResponse) GetJSON200() *GetCalendarRecordingsResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetCalendarRecordingsResponse) GetJSON401 ¶ added in v0.4.0
func (r GetCalendarRecordingsResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetCalendarRecordingsResponse) GetJSON404 ¶ added in v0.4.0
func (r GetCalendarRecordingsResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetCalendarRecordingsResponse) GetJSON500 ¶ added in v0.4.0
func (r GetCalendarRecordingsResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetCalendarRecordingsResponse) GetJSON503 ¶ added in v0.4.0
func (r GetCalendarRecordingsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetCalendarRecordingsResponse) Status ¶
func (r GetCalendarRecordingsResponse) Status() string
Status returns HTTPResponse.Status
func (GetCalendarRecordingsResponse) StatusCode ¶
func (r GetCalendarRecordingsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCalendarRecordingsResponseContent ¶
type GetCalendarRecordingsResponseContent = CalendarRecordingsResponse
GetCalendarRecordingsResponseContent CalendarRecordingsResponse — recordings grouped by type
type GetCalendarWeekResponse ¶ added in v0.16.0
type GetCalendarWeekResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetCalendarWeekResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseGetCalendarWeekResponse ¶ added in v0.16.0
func ParseGetCalendarWeekResponse(rsp *http.Response) (*GetCalendarWeekResponse, error)
ParseGetCalendarWeekResponse parses an HTTP response from a GetCalendarWeekWithResponse call
func (GetCalendarWeekResponse) ContentType ¶ added in v0.16.0
func (r GetCalendarWeekResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCalendarWeekResponse) GetBody ¶ added in v0.16.0
func (r GetCalendarWeekResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCalendarWeekResponse) GetJSON200 ¶ added in v0.16.0
func (r GetCalendarWeekResponse) GetJSON200() *GetCalendarWeekResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetCalendarWeekResponse) GetJSON401 ¶ added in v0.16.0
func (r GetCalendarWeekResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetCalendarWeekResponse) GetJSON404 ¶ added in v0.16.0
func (r GetCalendarWeekResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetCalendarWeekResponse) GetJSON500 ¶ added in v0.16.0
func (r GetCalendarWeekResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetCalendarWeekResponse) GetJSON503 ¶ added in v0.16.0
func (r GetCalendarWeekResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetCalendarWeekResponse) Status ¶ added in v0.16.0
func (r GetCalendarWeekResponse) Status() string
Status returns HTTPResponse.Status
func (GetCalendarWeekResponse) StatusCode ¶ added in v0.16.0
func (r GetCalendarWeekResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCalendarWeekResponseContent ¶ added in v0.16.0
type GetCalendarWeekResponseContent = CalendarPeriod
GetCalendarWeekResponseContent CalendarPeriod — a day or a week: its bounds and everything in it, grouped by type. Recurring events arrive expanded into the occurrences that fall inside the window, which is what makes this a different answer than the recordings a calendar lists.
type GetCalendarYearResponse ¶ added in v0.16.0
type GetCalendarYearResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetCalendarYearResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseGetCalendarYearResponse ¶ added in v0.16.0
func ParseGetCalendarYearResponse(rsp *http.Response) (*GetCalendarYearResponse, error)
ParseGetCalendarYearResponse parses an HTTP response from a GetCalendarYearWithResponse call
func (GetCalendarYearResponse) ContentType ¶ added in v0.16.0
func (r GetCalendarYearResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCalendarYearResponse) GetBody ¶ added in v0.16.0
func (r GetCalendarYearResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCalendarYearResponse) GetJSON200 ¶ added in v0.16.0
func (r GetCalendarYearResponse) GetJSON200() *GetCalendarYearResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetCalendarYearResponse) GetJSON401 ¶ added in v0.16.0
func (r GetCalendarYearResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetCalendarYearResponse) GetJSON404 ¶ added in v0.16.0
func (r GetCalendarYearResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetCalendarYearResponse) GetJSON500 ¶ added in v0.16.0
func (r GetCalendarYearResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetCalendarYearResponse) GetJSON503 ¶ added in v0.16.0
func (r GetCalendarYearResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetCalendarYearResponse) Status ¶ added in v0.16.0
func (r GetCalendarYearResponse) Status() string
Status returns HTTPResponse.Status
func (GetCalendarYearResponse) StatusCode ¶ added in v0.16.0
func (r GetCalendarYearResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCalendarYearResponseContent ¶ added in v0.16.0
type GetCalendarYearResponseContent = CalendarYear
GetCalendarYearResponseContent CalendarYear — the grid a year is drawn as. A year carries one entry per day plus the events that span more than one, not every recording it holds: a year's worth of expanded occurrences is not something a client asks for by opening a year.
type GetClearancesParams ¶ added in v0.7.0
type GetClearancesParams struct {
IncludeClearances *bool `form:"include_clearances,omitempty" json:"include_clearances,omitempty"`
Page *string `form:"page,omitempty" json:"page,omitempty"`
}
GetClearancesParams defines parameters for GetClearances.
type GetClearancesResponse ¶ added in v0.4.0
type GetClearancesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetClearancesResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseGetClearancesResponse ¶ added in v0.4.0
func ParseGetClearancesResponse(rsp *http.Response) (*GetClearancesResponse, error)
ParseGetClearancesResponse parses an HTTP response from a GetClearancesWithResponse call
func (GetClearancesResponse) ContentType ¶ added in v0.4.0
func (r GetClearancesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetClearancesResponse) GetBody ¶ added in v0.4.0
func (r GetClearancesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetClearancesResponse) GetJSON200 ¶ added in v0.4.0
func (r GetClearancesResponse) GetJSON200() *GetClearancesResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetClearancesResponse) GetJSON401 ¶ added in v0.4.0
func (r GetClearancesResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetClearancesResponse) GetJSON500 ¶ added in v0.4.0
func (r GetClearancesResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetClearancesResponse) GetJSON503 ¶ added in v0.4.0
func (r GetClearancesResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetClearancesResponse) Status ¶ added in v0.4.0
func (r GetClearancesResponse) Status() string
Status returns HTTPResponse.Status
func (GetClearancesResponse) StatusCode ¶ added in v0.4.0
func (r GetClearancesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetClearancesResponseContent ¶ added in v0.4.0
type GetClearancesResponseContent = ClearanceSummary
GetClearancesResponseContent ClearanceSummary — the Screener's pending count, and the queue itself when asked for
clearances is only present when the read passes include_clearances. Without it HEY answers the count alone, which is what its own apps sync.
type GetCollectionParams ¶ added in v0.8.0
type GetCollectionParams struct {
Page *string `form:"page,omitempty" json:"page,omitempty"`
}
GetCollectionParams defines parameters for GetCollection.
type GetCollectionResponse ¶ added in v0.8.0
type GetCollectionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetCollectionResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseGetCollectionResponse ¶ added in v0.8.0
func ParseGetCollectionResponse(rsp *http.Response) (*GetCollectionResponse, error)
ParseGetCollectionResponse parses an HTTP response from a GetCollectionWithResponse call
func (GetCollectionResponse) ContentType ¶ added in v0.8.0
func (r GetCollectionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCollectionResponse) GetBody ¶ added in v0.8.0
func (r GetCollectionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCollectionResponse) GetJSON200 ¶ added in v0.8.0
func (r GetCollectionResponse) GetJSON200() *GetCollectionResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetCollectionResponse) GetJSON401 ¶ added in v0.8.0
func (r GetCollectionResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetCollectionResponse) GetJSON404 ¶ added in v0.8.0
func (r GetCollectionResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetCollectionResponse) GetJSON500 ¶ added in v0.8.0
func (r GetCollectionResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetCollectionResponse) GetJSON503 ¶ added in v0.8.0
func (r GetCollectionResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetCollectionResponse) Status ¶ added in v0.8.0
func (r GetCollectionResponse) Status() string
Status returns HTTPResponse.Status
func (GetCollectionResponse) StatusCode ¶ added in v0.8.0
func (r GetCollectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCollectionResponseContent ¶ added in v0.8.0
type GetCollectionResponseContent = CollectionWithPostings
GetCollectionResponseContent CollectionWithPostings — collection detail with its threads as posting objects
type GetContactNoteResponse ¶ added in v0.4.0
type GetContactNoteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetContactNoteResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseGetContactNoteResponse ¶ added in v0.4.0
func ParseGetContactNoteResponse(rsp *http.Response) (*GetContactNoteResponse, error)
ParseGetContactNoteResponse parses an HTTP response from a GetContactNoteWithResponse call
func (GetContactNoteResponse) ContentType ¶ added in v0.4.0
func (r GetContactNoteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetContactNoteResponse) GetBody ¶ added in v0.4.0
func (r GetContactNoteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetContactNoteResponse) GetJSON200 ¶ added in v0.4.0
func (r GetContactNoteResponse) GetJSON200() *GetContactNoteResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetContactNoteResponse) GetJSON401 ¶ added in v0.4.0
func (r GetContactNoteResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetContactNoteResponse) GetJSON404 ¶ added in v0.4.0
func (r GetContactNoteResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetContactNoteResponse) GetJSON500 ¶ added in v0.4.0
func (r GetContactNoteResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetContactNoteResponse) GetJSON503 ¶ added in v0.4.0
func (r GetContactNoteResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetContactNoteResponse) Status ¶ added in v0.4.0
func (r GetContactNoteResponse) Status() string
Status returns HTTPResponse.Status
func (GetContactNoteResponse) StatusCode ¶ added in v0.4.0
func (r GetContactNoteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetContactNoteResponseContent ¶ added in v0.4.0
type GetContactNoteResponseContent = ContactNote
GetContactNoteResponseContent A contact's private note. Empty strings when there is no note.
type GetContactParams ¶ added in v0.27.0
type GetContactParams struct {
Page *string `form:"page,omitempty" json:"page,omitempty"`
}
GetContactParams defines parameters for GetContact.
type GetContactResponse ¶
type GetContactResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetContactResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseGetContactResponse ¶
func ParseGetContactResponse(rsp *http.Response) (*GetContactResponse, error)
ParseGetContactResponse parses an HTTP response from a GetContactWithResponse call
func (GetContactResponse) ContentType ¶ added in v0.4.0
func (r GetContactResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetContactResponse) GetBody ¶ added in v0.4.0
func (r GetContactResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetContactResponse) GetJSON200 ¶ added in v0.4.0
func (r GetContactResponse) GetJSON200() *GetContactResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetContactResponse) GetJSON401 ¶ added in v0.4.0
func (r GetContactResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetContactResponse) GetJSON404 ¶ added in v0.4.0
func (r GetContactResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetContactResponse) GetJSON500 ¶ added in v0.4.0
func (r GetContactResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetContactResponse) GetJSON503 ¶ added in v0.4.0
func (r GetContactResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetContactResponse) Status ¶
func (r GetContactResponse) Status() string
Status returns HTTPResponse.Status
func (GetContactResponse) StatusCode ¶
func (r GetContactResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetContactResponseContent ¶
type GetContactResponseContent = ContactDetail
GetContactResponseContent ContactDetail — extended contact with additional show fields
type GetEverythingTopicsParams ¶
type GetEverythingTopicsParams struct {
Page *string `form:"page,omitempty" json:"page,omitempty"`
}
GetEverythingTopicsParams defines parameters for GetEverythingTopics.
type GetEverythingTopicsResponse ¶
type GetEverythingTopicsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetEverythingTopicsResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseGetEverythingTopicsResponse ¶
func ParseGetEverythingTopicsResponse(rsp *http.Response) (*GetEverythingTopicsResponse, error)
ParseGetEverythingTopicsResponse parses an HTTP response from a GetEverythingTopicsWithResponse call
func (GetEverythingTopicsResponse) ContentType ¶ added in v0.4.0
func (r GetEverythingTopicsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetEverythingTopicsResponse) GetBody ¶ added in v0.4.0
func (r GetEverythingTopicsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetEverythingTopicsResponse) GetJSON200 ¶ added in v0.4.0
func (r GetEverythingTopicsResponse) GetJSON200() *GetEverythingTopicsResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetEverythingTopicsResponse) GetJSON401 ¶ added in v0.4.0
func (r GetEverythingTopicsResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetEverythingTopicsResponse) GetJSON500 ¶ added in v0.4.0
func (r GetEverythingTopicsResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetEverythingTopicsResponse) GetJSON503 ¶ added in v0.4.0
func (r GetEverythingTopicsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetEverythingTopicsResponse) Status ¶
func (r GetEverythingTopicsResponse) Status() string
Status returns HTTPResponse.Status
func (GetEverythingTopicsResponse) StatusCode ¶
func (r GetEverythingTopicsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEverythingTopicsResponseContent ¶
type GetEverythingTopicsResponseContent = TopicListResponse
GetEverythingTopicsResponseContent TopicListResponse — wrapped topic list (sent, spam, trash, everything)
type GetFeedboxParams ¶
type GetFeedboxParams struct {
Page *string `form:"page,omitempty" json:"page,omitempty"`
}
GetFeedboxParams defines parameters for GetFeedbox.
type GetFeedboxResponse ¶
type GetFeedboxResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetFeedboxResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseGetFeedboxResponse ¶
func ParseGetFeedboxResponse(rsp *http.Response) (*GetFeedboxResponse, error)
ParseGetFeedboxResponse parses an HTTP response from a GetFeedboxWithResponse call
func (GetFeedboxResponse) ContentType ¶ added in v0.4.0
func (r GetFeedboxResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetFeedboxResponse) GetBody ¶ added in v0.4.0
func (r GetFeedboxResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetFeedboxResponse) GetJSON200 ¶ added in v0.4.0
func (r GetFeedboxResponse) GetJSON200() *GetFeedboxResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetFeedboxResponse) GetJSON401 ¶ added in v0.4.0
func (r GetFeedboxResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetFeedboxResponse) GetJSON500 ¶ added in v0.4.0
func (r GetFeedboxResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetFeedboxResponse) GetJSON503 ¶ added in v0.4.0
func (r GetFeedboxResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetFeedboxResponse) Status ¶
func (r GetFeedboxResponse) Status() string
Status returns HTTPResponse.Status
func (GetFeedboxResponse) StatusCode ¶
func (r GetFeedboxResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFeedboxResponseContent ¶
type GetFeedboxResponseContent = BoxShowResponse
GetFeedboxResponseContent BoxShowResponse — box detail with postings. The API can return fields at root level or nested under a `box` key. SDK response decoders normalize the nested variant to flat before decoding.
type GetFolderParams ¶ added in v0.4.0
type GetFolderParams struct {
Page *string `form:"page,omitempty" json:"page,omitempty"`
}
GetFolderParams defines parameters for GetFolder.
type GetFolderResponse ¶ added in v0.4.0
type GetFolderResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetFolderResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseGetFolderResponse ¶ added in v0.4.0
func ParseGetFolderResponse(rsp *http.Response) (*GetFolderResponse, error)
ParseGetFolderResponse parses an HTTP response from a GetFolderWithResponse call
func (GetFolderResponse) ContentType ¶ added in v0.4.0
func (r GetFolderResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetFolderResponse) GetBody ¶ added in v0.4.0
func (r GetFolderResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetFolderResponse) GetJSON200 ¶ added in v0.4.0
func (r GetFolderResponse) GetJSON200() *GetFolderResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetFolderResponse) GetJSON401 ¶ added in v0.4.0
func (r GetFolderResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetFolderResponse) GetJSON404 ¶ added in v0.4.0
func (r GetFolderResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetFolderResponse) GetJSON500 ¶ added in v0.4.0
func (r GetFolderResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetFolderResponse) GetJSON503 ¶ added in v0.4.0
func (r GetFolderResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetFolderResponse) Status ¶ added in v0.4.0
func (r GetFolderResponse) Status() string
Status returns HTTPResponse.Status
func (GetFolderResponse) StatusCode ¶ added in v0.4.0
func (r GetFolderResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFolderResponseContent ¶ added in v0.4.0
type GetFolderResponseContent = FolderWithPostings
GetFolderResponseContent FolderWithPostings — folder detail with the postings filed in it
type GetIdentityResponse ¶
type GetIdentityResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetIdentityResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseGetIdentityResponse ¶
func ParseGetIdentityResponse(rsp *http.Response) (*GetIdentityResponse, error)
ParseGetIdentityResponse parses an HTTP response from a GetIdentityWithResponse call
func (GetIdentityResponse) ContentType ¶ added in v0.4.0
func (r GetIdentityResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetIdentityResponse) GetBody ¶ added in v0.4.0
func (r GetIdentityResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetIdentityResponse) GetJSON200 ¶ added in v0.4.0
func (r GetIdentityResponse) GetJSON200() *GetIdentityResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetIdentityResponse) GetJSON401 ¶ added in v0.4.0
func (r GetIdentityResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetIdentityResponse) GetJSON500 ¶ added in v0.4.0
func (r GetIdentityResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetIdentityResponse) GetJSON503 ¶ added in v0.4.0
func (r GetIdentityResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetIdentityResponse) Status ¶
func (r GetIdentityResponse) Status() string
Status returns HTTPResponse.Status
func (GetIdentityResponse) StatusCode ¶
func (r GetIdentityResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIdentityResponseContent ¶
type GetIdentityResponseContent = Identity
GetIdentityResponseContent defines model for GetIdentityResponseContent.
type GetImboxParams ¶
type GetImboxParams struct {
Page *string `form:"page,omitempty" json:"page,omitempty"`
}
GetImboxParams defines parameters for GetImbox.
type GetImboxResponse ¶
type GetImboxResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetImboxResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseGetImboxResponse ¶
func ParseGetImboxResponse(rsp *http.Response) (*GetImboxResponse, error)
ParseGetImboxResponse parses an HTTP response from a GetImboxWithResponse call
func (GetImboxResponse) ContentType ¶ added in v0.4.0
func (r GetImboxResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetImboxResponse) GetBody ¶ added in v0.4.0
func (r GetImboxResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetImboxResponse) GetJSON200 ¶ added in v0.4.0
func (r GetImboxResponse) GetJSON200() *GetImboxResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetImboxResponse) GetJSON401 ¶ added in v0.4.0
func (r GetImboxResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetImboxResponse) GetJSON500 ¶ added in v0.4.0
func (r GetImboxResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetImboxResponse) GetJSON503 ¶ added in v0.4.0
func (r GetImboxResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetImboxResponse) Status ¶
func (r GetImboxResponse) Status() string
Status returns HTTPResponse.Status
func (GetImboxResponse) StatusCode ¶
func (r GetImboxResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetImboxResponseContent ¶
type GetImboxResponseContent = BoxShowResponse
GetImboxResponseContent BoxShowResponse — box detail with postings. The API can return fields at root level or nested under a `box` key. SDK response decoders normalize the nested variant to flat before decoding.
type GetImboxSeenParams ¶ added in v0.28.0
type GetImboxSeenParams struct {
Page *string `form:"page,omitempty" json:"page,omitempty"`
}
GetImboxSeenParams defines parameters for GetImboxSeen.
type GetImboxSeenResponse ¶ added in v0.28.0
type GetImboxSeenResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetImboxSeenResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseGetImboxSeenResponse ¶ added in v0.28.0
func ParseGetImboxSeenResponse(rsp *http.Response) (*GetImboxSeenResponse, error)
ParseGetImboxSeenResponse parses an HTTP response from a GetImboxSeenWithResponse call
func (GetImboxSeenResponse) ContentType ¶ added in v0.28.0
func (r GetImboxSeenResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetImboxSeenResponse) GetBody ¶ added in v0.28.0
func (r GetImboxSeenResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetImboxSeenResponse) GetJSON200 ¶ added in v0.28.0
func (r GetImboxSeenResponse) GetJSON200() *GetImboxSeenResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetImboxSeenResponse) GetJSON401 ¶ added in v0.28.0
func (r GetImboxSeenResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetImboxSeenResponse) GetJSON500 ¶ added in v0.28.0
func (r GetImboxSeenResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetImboxSeenResponse) GetJSON503 ¶ added in v0.28.0
func (r GetImboxSeenResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetImboxSeenResponse) Status ¶ added in v0.28.0
func (r GetImboxSeenResponse) Status() string
Status returns HTTPResponse.Status
func (GetImboxSeenResponse) StatusCode ¶ added in v0.28.0
func (r GetImboxSeenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetImboxSeenResponseContent ¶ added in v0.28.0
type GetImboxSeenResponseContent = BoxShowResponse
GetImboxSeenResponseContent BoxShowResponse — box detail with postings. The API can return fields at root level or nested under a `box` key. SDK response decoders normalize the nested variant to flat before decoding.
type GetJournalEntryResponse ¶
type GetJournalEntryResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetJournalEntryResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseGetJournalEntryResponse ¶
func ParseGetJournalEntryResponse(rsp *http.Response) (*GetJournalEntryResponse, error)
ParseGetJournalEntryResponse parses an HTTP response from a GetJournalEntryWithResponse call
func (GetJournalEntryResponse) ContentType ¶ added in v0.4.0
func (r GetJournalEntryResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetJournalEntryResponse) GetBody ¶ added in v0.4.0
func (r GetJournalEntryResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetJournalEntryResponse) GetJSON200 ¶ added in v0.4.0
func (r GetJournalEntryResponse) GetJSON200() *GetJournalEntryResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetJournalEntryResponse) GetJSON401 ¶ added in v0.4.0
func (r GetJournalEntryResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetJournalEntryResponse) GetJSON404 ¶ added in v0.4.0
func (r GetJournalEntryResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetJournalEntryResponse) GetJSON500 ¶ added in v0.4.0
func (r GetJournalEntryResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetJournalEntryResponse) GetJSON503 ¶ added in v0.4.0
func (r GetJournalEntryResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetJournalEntryResponse) Status ¶
func (r GetJournalEntryResponse) Status() string
Status returns HTTPResponse.Status
func (GetJournalEntryResponse) StatusCode ¶
func (r GetJournalEntryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetJournalEntryResponseContent ¶
type GetJournalEntryResponseContent = Recording
GetJournalEntryResponseContent Recording — polymorphic by `type` (CalendarEvent, CalendarTodo, etc.)
type GetLaterboxParams ¶
type GetLaterboxParams struct {
Page *string `form:"page,omitempty" json:"page,omitempty"`
}
GetLaterboxParams defines parameters for GetLaterbox.
type GetLaterboxResponse ¶
type GetLaterboxResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetLaterboxResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseGetLaterboxResponse ¶
func ParseGetLaterboxResponse(rsp *http.Response) (*GetLaterboxResponse, error)
ParseGetLaterboxResponse parses an HTTP response from a GetLaterboxWithResponse call
func (GetLaterboxResponse) ContentType ¶ added in v0.4.0
func (r GetLaterboxResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetLaterboxResponse) GetBody ¶ added in v0.4.0
func (r GetLaterboxResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetLaterboxResponse) GetJSON200 ¶ added in v0.4.0
func (r GetLaterboxResponse) GetJSON200() *GetLaterboxResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetLaterboxResponse) GetJSON401 ¶ added in v0.4.0
func (r GetLaterboxResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetLaterboxResponse) GetJSON500 ¶ added in v0.4.0
func (r GetLaterboxResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetLaterboxResponse) GetJSON503 ¶ added in v0.4.0
func (r GetLaterboxResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetLaterboxResponse) Status ¶
func (r GetLaterboxResponse) Status() string
Status returns HTTPResponse.Status
func (GetLaterboxResponse) StatusCode ¶
func (r GetLaterboxResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLaterboxResponseContent ¶
type GetLaterboxResponseContent = BoxShowResponse
GetLaterboxResponseContent BoxShowResponse — box detail with postings. The API can return fields at root level or nested under a `box` key. SDK response decoders normalize the nested variant to flat before decoding.
type GetMessageEditResponse ¶ added in v0.22.0
type GetMessageEditResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetMessageEditResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseGetMessageEditResponse ¶ added in v0.22.0
func ParseGetMessageEditResponse(rsp *http.Response) (*GetMessageEditResponse, error)
ParseGetMessageEditResponse parses an HTTP response from a GetMessageEditWithResponse call
func (GetMessageEditResponse) ContentType ¶ added in v0.22.0
func (r GetMessageEditResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMessageEditResponse) GetBody ¶ added in v0.22.0
func (r GetMessageEditResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMessageEditResponse) GetJSON200 ¶ added in v0.22.0
func (r GetMessageEditResponse) GetJSON200() *GetMessageEditResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMessageEditResponse) GetJSON401 ¶ added in v0.22.0
func (r GetMessageEditResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetMessageEditResponse) GetJSON404 ¶ added in v0.22.0
func (r GetMessageEditResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetMessageEditResponse) GetJSON500 ¶ added in v0.22.0
func (r GetMessageEditResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetMessageEditResponse) GetJSON503 ¶ added in v0.22.0
func (r GetMessageEditResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetMessageEditResponse) Status ¶ added in v0.22.0
func (r GetMessageEditResponse) Status() string
Status returns HTTPResponse.Status
func (GetMessageEditResponse) StatusCode ¶ added in v0.22.0
func (r GetMessageEditResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMessageEditResponseContent ¶ added in v0.22.0
type GetMessageEditResponseContent = MessageEditState
GetMessageEditResponseContent MessageEditState — a saved draft as the editor sees it. The same compose fields as MessageDraft, plus the identity and scheduling a saved entry carries.
type GetMessageResponse ¶
type GetMessageResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetMessageResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseGetMessageResponse ¶
func ParseGetMessageResponse(rsp *http.Response) (*GetMessageResponse, error)
ParseGetMessageResponse parses an HTTP response from a GetMessageWithResponse call
func (GetMessageResponse) ContentType ¶ added in v0.4.0
func (r GetMessageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMessageResponse) GetBody ¶ added in v0.4.0
func (r GetMessageResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMessageResponse) GetJSON200 ¶ added in v0.4.0
func (r GetMessageResponse) GetJSON200() *GetMessageResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMessageResponse) GetJSON401 ¶ added in v0.4.0
func (r GetMessageResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetMessageResponse) GetJSON404 ¶ added in v0.4.0
func (r GetMessageResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetMessageResponse) GetJSON500 ¶ added in v0.4.0
func (r GetMessageResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetMessageResponse) GetJSON503 ¶ added in v0.4.0
func (r GetMessageResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetMessageResponse) Status ¶
func (r GetMessageResponse) Status() string
Status returns HTTPResponse.Status
func (GetMessageResponse) StatusCode ¶
func (r GetMessageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMessageResponseContent ¶
type GetMessageResponseContent = Message
GetMessageResponseContent Message — full message detail
type GetMyClearancesParams ¶ added in v0.7.0
type GetMyClearancesParams struct {
Page *string `form:"page,omitempty" json:"page,omitempty"`
}
GetMyClearancesParams defines parameters for GetMyClearances.
type GetMyClearancesResponse ¶ added in v0.7.0
type GetMyClearancesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetMyClearancesResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseGetMyClearancesResponse ¶ added in v0.7.0
func ParseGetMyClearancesResponse(rsp *http.Response) (*GetMyClearancesResponse, error)
ParseGetMyClearancesResponse parses an HTTP response from a GetMyClearancesWithResponse call
func (GetMyClearancesResponse) ContentType ¶ added in v0.7.0
func (r GetMyClearancesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMyClearancesResponse) GetBody ¶ added in v0.7.0
func (r GetMyClearancesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMyClearancesResponse) GetJSON200 ¶ added in v0.7.0
func (r GetMyClearancesResponse) GetJSON200() *GetMyClearancesResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMyClearancesResponse) GetJSON401 ¶ added in v0.7.0
func (r GetMyClearancesResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetMyClearancesResponse) GetJSON500 ¶ added in v0.7.0
func (r GetMyClearancesResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetMyClearancesResponse) GetJSON503 ¶ added in v0.7.0
func (r GetMyClearancesResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetMyClearancesResponse) Status ¶ added in v0.7.0
func (r GetMyClearancesResponse) Status() string
Status returns HTTPResponse.Status
func (GetMyClearancesResponse) StatusCode ¶ added in v0.7.0
func (r GetMyClearancesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMyClearancesResponseContent ¶ added in v0.7.0
type GetMyClearancesResponseContent = ClearanceListResponse
GetMyClearancesResponseContent ClearanceListResponse — wire format: {clearances: [...]}
type GetNavigationResponse ¶
type GetNavigationResponse struct {
JSON200 *GetNavigationResponseContent
JSON401 *UnauthorizedErrorResponseContent
JSON500 *InternalServerErrorResponseContent
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseGetNavigationResponse ¶
func ParseGetNavigationResponse(rsp *http.Response) (*GetNavigationResponse, error)
ParseGetNavigationResponse parses an HTTP response from a GetNavigationWithResponse call
func (GetNavigationResponse) ContentType ¶ added in v0.4.0
func (r GetNavigationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetNavigationResponse) GetBody ¶ added in v0.4.0
func (r GetNavigationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetNavigationResponse) GetJSON200 ¶ added in v0.4.0
func (r GetNavigationResponse) GetJSON200() *GetNavigationResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetNavigationResponse) GetJSON401 ¶ added in v0.4.0
func (r GetNavigationResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetNavigationResponse) GetJSON500 ¶ added in v0.4.0
func (r GetNavigationResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetNavigationResponse) GetJSON503 ¶ added in v0.4.0
func (r GetNavigationResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetNavigationResponse) Status ¶
func (r GetNavigationResponse) Status() string
Status returns HTTPResponse.Status
func (GetNavigationResponse) StatusCode ¶
func (r GetNavigationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNavigationResponseContent ¶
type GetNavigationResponseContent = NavigationResponse
GetNavigationResponseContent NavigationResponse
type GetOngoingTimeTrackResponse ¶
type GetOngoingTimeTrackResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetOngoingTimeTrackResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseGetOngoingTimeTrackResponse ¶
func ParseGetOngoingTimeTrackResponse(rsp *http.Response) (*GetOngoingTimeTrackResponse, error)
ParseGetOngoingTimeTrackResponse parses an HTTP response from a GetOngoingTimeTrackWithResponse call
func (GetOngoingTimeTrackResponse) ContentType ¶ added in v0.4.0
func (r GetOngoingTimeTrackResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOngoingTimeTrackResponse) GetBody ¶ added in v0.4.0
func (r GetOngoingTimeTrackResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetOngoingTimeTrackResponse) GetJSON200 ¶ added in v0.4.0
func (r GetOngoingTimeTrackResponse) GetJSON200() *GetOngoingTimeTrackResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetOngoingTimeTrackResponse) GetJSON401 ¶ added in v0.4.0
func (r GetOngoingTimeTrackResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetOngoingTimeTrackResponse) GetJSON500 ¶ added in v0.4.0
func (r GetOngoingTimeTrackResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetOngoingTimeTrackResponse) GetJSON503 ¶ added in v0.4.0
func (r GetOngoingTimeTrackResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetOngoingTimeTrackResponse) Status ¶
func (r GetOngoingTimeTrackResponse) Status() string
Status returns HTTPResponse.Status
func (GetOngoingTimeTrackResponse) StatusCode ¶
func (r GetOngoingTimeTrackResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOngoingTimeTrackResponseContent ¶
type GetOngoingTimeTrackResponseContent = Recording
GetOngoingTimeTrackResponseContent Recording — polymorphic by `type` (CalendarEvent, CalendarTodo, etc.)
type GetSentTopicsParams ¶
type GetSentTopicsParams struct {
Page *string `form:"page,omitempty" json:"page,omitempty"`
}
GetSentTopicsParams defines parameters for GetSentTopics.
type GetSentTopicsResponse ¶
type GetSentTopicsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetSentTopicsResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseGetSentTopicsResponse ¶
func ParseGetSentTopicsResponse(rsp *http.Response) (*GetSentTopicsResponse, error)
ParseGetSentTopicsResponse parses an HTTP response from a GetSentTopicsWithResponse call
func (GetSentTopicsResponse) ContentType ¶ added in v0.4.0
func (r GetSentTopicsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSentTopicsResponse) GetBody ¶ added in v0.4.0
func (r GetSentTopicsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSentTopicsResponse) GetJSON200 ¶ added in v0.4.0
func (r GetSentTopicsResponse) GetJSON200() *GetSentTopicsResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSentTopicsResponse) GetJSON401 ¶ added in v0.4.0
func (r GetSentTopicsResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetSentTopicsResponse) GetJSON500 ¶ added in v0.4.0
func (r GetSentTopicsResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetSentTopicsResponse) GetJSON503 ¶ added in v0.4.0
func (r GetSentTopicsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetSentTopicsResponse) Status ¶
func (r GetSentTopicsResponse) Status() string
Status returns HTTPResponse.Status
func (GetSentTopicsResponse) StatusCode ¶
func (r GetSentTopicsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSentTopicsResponseContent ¶
type GetSentTopicsResponseContent = TopicListResponse
GetSentTopicsResponseContent TopicListResponse — wrapped topic list (sent, spam, trash, everything)
type GetSpamTopicsParams ¶
type GetSpamTopicsParams struct {
Page *string `form:"page,omitempty" json:"page,omitempty"`
}
GetSpamTopicsParams defines parameters for GetSpamTopics.
type GetSpamTopicsResponse ¶
type GetSpamTopicsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetSpamTopicsResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseGetSpamTopicsResponse ¶
func ParseGetSpamTopicsResponse(rsp *http.Response) (*GetSpamTopicsResponse, error)
ParseGetSpamTopicsResponse parses an HTTP response from a GetSpamTopicsWithResponse call
func (GetSpamTopicsResponse) ContentType ¶ added in v0.4.0
func (r GetSpamTopicsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSpamTopicsResponse) GetBody ¶ added in v0.4.0
func (r GetSpamTopicsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSpamTopicsResponse) GetJSON200 ¶ added in v0.4.0
func (r GetSpamTopicsResponse) GetJSON200() *GetSpamTopicsResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSpamTopicsResponse) GetJSON401 ¶ added in v0.4.0
func (r GetSpamTopicsResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetSpamTopicsResponse) GetJSON500 ¶ added in v0.4.0
func (r GetSpamTopicsResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetSpamTopicsResponse) GetJSON503 ¶ added in v0.4.0
func (r GetSpamTopicsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetSpamTopicsResponse) Status ¶
func (r GetSpamTopicsResponse) Status() string
Status returns HTTPResponse.Status
func (GetSpamTopicsResponse) StatusCode ¶
func (r GetSpamTopicsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSpamTopicsResponseContent ¶
type GetSpamTopicsResponseContent = TopicListResponse
GetSpamTopicsResponseContent TopicListResponse — wrapped topic list (sent, spam, trash, everything)
type GetTopicEntriesParams ¶
type GetTopicEntriesParams struct {
Page *string `form:"page,omitempty" json:"page,omitempty"`
}
GetTopicEntriesParams defines parameters for GetTopicEntries.
type GetTopicEntriesResponse ¶
type GetTopicEntriesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetTopicEntriesResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseGetTopicEntriesResponse ¶
func ParseGetTopicEntriesResponse(rsp *http.Response) (*GetTopicEntriesResponse, error)
ParseGetTopicEntriesResponse parses an HTTP response from a GetTopicEntriesWithResponse call
func (GetTopicEntriesResponse) ContentType ¶ added in v0.4.0
func (r GetTopicEntriesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTopicEntriesResponse) GetBody ¶ added in v0.4.0
func (r GetTopicEntriesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetTopicEntriesResponse) GetJSON200 ¶ added in v0.4.0
func (r GetTopicEntriesResponse) GetJSON200() *GetTopicEntriesResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetTopicEntriesResponse) GetJSON401 ¶ added in v0.4.0
func (r GetTopicEntriesResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetTopicEntriesResponse) GetJSON404 ¶ added in v0.4.0
func (r GetTopicEntriesResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetTopicEntriesResponse) GetJSON500 ¶ added in v0.4.0
func (r GetTopicEntriesResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetTopicEntriesResponse) GetJSON503 ¶ added in v0.4.0
func (r GetTopicEntriesResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetTopicEntriesResponse) Status ¶
func (r GetTopicEntriesResponse) Status() string
Status returns HTTPResponse.Status
func (GetTopicEntriesResponse) StatusCode ¶
func (r GetTopicEntriesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTopicEntriesResponseContent ¶
type GetTopicEntriesResponseContent = []Entry
GetTopicEntriesResponseContent defines model for GetTopicEntriesResponseContent.
type GetTopicPublicationResponse ¶ added in v0.4.0
type GetTopicPublicationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetTopicPublicationResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ForbiddenErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseGetTopicPublicationResponse ¶ added in v0.4.0
func ParseGetTopicPublicationResponse(rsp *http.Response) (*GetTopicPublicationResponse, error)
ParseGetTopicPublicationResponse parses an HTTP response from a GetTopicPublicationWithResponse call
func (GetTopicPublicationResponse) ContentType ¶ added in v0.4.0
func (r GetTopicPublicationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTopicPublicationResponse) GetBody ¶ added in v0.4.0
func (r GetTopicPublicationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetTopicPublicationResponse) GetJSON200 ¶ added in v0.4.0
func (r GetTopicPublicationResponse) GetJSON200() *GetTopicPublicationResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetTopicPublicationResponse) GetJSON401 ¶ added in v0.4.0
func (r GetTopicPublicationResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetTopicPublicationResponse) GetJSON403 ¶ added in v0.4.0
func (r GetTopicPublicationResponse) GetJSON403() *ForbiddenErrorResponseContent
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetTopicPublicationResponse) GetJSON404 ¶ added in v0.4.0
func (r GetTopicPublicationResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetTopicPublicationResponse) GetJSON500 ¶ added in v0.4.0
func (r GetTopicPublicationResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetTopicPublicationResponse) GetJSON503 ¶ added in v0.4.0
func (r GetTopicPublicationResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetTopicPublicationResponse) Status ¶ added in v0.4.0
func (r GetTopicPublicationResponse) Status() string
Status returns HTTPResponse.Status
func (GetTopicPublicationResponse) StatusCode ¶ added in v0.4.0
func (r GetTopicPublicationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTopicPublicationResponseContent ¶ added in v0.4.0
type GetTopicPublicationResponseContent = TopicPublication
GetTopicPublicationResponseContent defines model for GetTopicPublicationResponseContent.
type GetTopicResponse ¶
type GetTopicResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetTopicResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseGetTopicResponse ¶
func ParseGetTopicResponse(rsp *http.Response) (*GetTopicResponse, error)
ParseGetTopicResponse parses an HTTP response from a GetTopicWithResponse call
func (GetTopicResponse) ContentType ¶ added in v0.4.0
func (r GetTopicResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTopicResponse) GetBody ¶ added in v0.4.0
func (r GetTopicResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetTopicResponse) GetJSON200 ¶ added in v0.4.0
func (r GetTopicResponse) GetJSON200() *GetTopicResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetTopicResponse) GetJSON401 ¶ added in v0.4.0
func (r GetTopicResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetTopicResponse) GetJSON404 ¶ added in v0.4.0
func (r GetTopicResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetTopicResponse) GetJSON500 ¶ added in v0.4.0
func (r GetTopicResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetTopicResponse) GetJSON503 ¶ added in v0.4.0
func (r GetTopicResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetTopicResponse) Status ¶
func (r GetTopicResponse) Status() string
Status returns HTTPResponse.Status
func (GetTopicResponse) StatusCode ¶
func (r GetTopicResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTopicResponseContent ¶
type GetTopicResponseContent = Topic
GetTopicResponseContent Topic detail
type GetTrailboxParams ¶
type GetTrailboxParams struct {
Page *string `form:"page,omitempty" json:"page,omitempty"`
}
GetTrailboxParams defines parameters for GetTrailbox.
type GetTrailboxResponse ¶
type GetTrailboxResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetTrailboxResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseGetTrailboxResponse ¶
func ParseGetTrailboxResponse(rsp *http.Response) (*GetTrailboxResponse, error)
ParseGetTrailboxResponse parses an HTTP response from a GetTrailboxWithResponse call
func (GetTrailboxResponse) ContentType ¶ added in v0.4.0
func (r GetTrailboxResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTrailboxResponse) GetBody ¶ added in v0.4.0
func (r GetTrailboxResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetTrailboxResponse) GetJSON200 ¶ added in v0.4.0
func (r GetTrailboxResponse) GetJSON200() *GetTrailboxResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetTrailboxResponse) GetJSON401 ¶ added in v0.4.0
func (r GetTrailboxResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetTrailboxResponse) GetJSON500 ¶ added in v0.4.0
func (r GetTrailboxResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetTrailboxResponse) GetJSON503 ¶ added in v0.4.0
func (r GetTrailboxResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetTrailboxResponse) Status ¶
func (r GetTrailboxResponse) Status() string
Status returns HTTPResponse.Status
func (GetTrailboxResponse) StatusCode ¶
func (r GetTrailboxResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTrailboxResponseContent ¶
type GetTrailboxResponseContent = BoxShowResponse
GetTrailboxResponseContent BoxShowResponse — box detail with postings. The API can return fields at root level or nested under a `box` key. SDK response decoders normalize the nested variant to flat before decoding.
type GetTrashTopicsParams ¶
type GetTrashTopicsParams struct {
Page *string `form:"page,omitempty" json:"page,omitempty"`
}
GetTrashTopicsParams defines parameters for GetTrashTopics.
type GetTrashTopicsResponse ¶
type GetTrashTopicsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetTrashTopicsResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseGetTrashTopicsResponse ¶
func ParseGetTrashTopicsResponse(rsp *http.Response) (*GetTrashTopicsResponse, error)
ParseGetTrashTopicsResponse parses an HTTP response from a GetTrashTopicsWithResponse call
func (GetTrashTopicsResponse) ContentType ¶ added in v0.4.0
func (r GetTrashTopicsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTrashTopicsResponse) GetBody ¶ added in v0.4.0
func (r GetTrashTopicsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetTrashTopicsResponse) GetJSON200 ¶ added in v0.4.0
func (r GetTrashTopicsResponse) GetJSON200() *GetTrashTopicsResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetTrashTopicsResponse) GetJSON401 ¶ added in v0.4.0
func (r GetTrashTopicsResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetTrashTopicsResponse) GetJSON500 ¶ added in v0.4.0
func (r GetTrashTopicsResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetTrashTopicsResponse) GetJSON503 ¶ added in v0.4.0
func (r GetTrashTopicsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetTrashTopicsResponse) Status ¶
func (r GetTrashTopicsResponse) Status() string
Status returns HTTPResponse.Status
func (GetTrashTopicsResponse) StatusCode ¶
func (r GetTrashTopicsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTrashTopicsResponseContent ¶
type GetTrashTopicsResponseContent = TopicListResponse
GetTrashTopicsResponseContent TopicListResponse — wrapped topic list (sent, spam, trash, everything)
type GetWorkflowResponse ¶ added in v0.4.0
type GetWorkflowResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetWorkflowResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseGetWorkflowResponse ¶ added in v0.4.0
func ParseGetWorkflowResponse(rsp *http.Response) (*GetWorkflowResponse, error)
ParseGetWorkflowResponse parses an HTTP response from a GetWorkflowWithResponse call
func (GetWorkflowResponse) ContentType ¶ added in v0.4.0
func (r GetWorkflowResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetWorkflowResponse) GetBody ¶ added in v0.4.0
func (r GetWorkflowResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetWorkflowResponse) GetJSON200 ¶ added in v0.4.0
func (r GetWorkflowResponse) GetJSON200() *GetWorkflowResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetWorkflowResponse) GetJSON401 ¶ added in v0.4.0
func (r GetWorkflowResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetWorkflowResponse) GetJSON404 ¶ added in v0.4.0
func (r GetWorkflowResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetWorkflowResponse) GetJSON500 ¶ added in v0.4.0
func (r GetWorkflowResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetWorkflowResponse) GetJSON503 ¶ added in v0.4.0
func (r GetWorkflowResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetWorkflowResponse) Status ¶ added in v0.4.0
func (r GetWorkflowResponse) Status() string
Status returns HTTPResponse.Status
func (GetWorkflowResponse) StatusCode ¶ added in v0.4.0
func (r GetWorkflowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWorkflowResponseContent ¶ added in v0.4.0
type GetWorkflowResponseContent = Workflow
GetWorkflowResponseContent Workflow — email workflow/label
type HabitPayload ¶ added in v0.4.0
type HabitPayload struct {
Color string `json:"color,omitempty"`
// Days Days of the week the habit runs on, 0 for Sunday through 6 for Saturday
Days []int32 `json:"days,omitempty"`
Icon string `json:"icon,omitempty"`
Name string `json:"name,omitempty"`
}
HabitPayload defines model for HabitPayload.
type HabitRequestContent ¶ added in v0.4.0
type HabitRequestContent struct {
CalendarHabit HabitPayload `json:"calendar_habit"`
}
HabitRequestContent Wire format: {calendar_habit: {name, icon, color, days: [0..6]}}
type HideContactResponse ¶ added in v0.4.0
type HideContactResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseHideContactResponse ¶ added in v0.4.0
func ParseHideContactResponse(rsp *http.Response) (*HideContactResponse, error)
ParseHideContactResponse parses an HTTP response from a HideContactWithResponse call
func (HideContactResponse) ContentType ¶ added in v0.4.0
func (r HideContactResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (HideContactResponse) GetBody ¶ added in v0.4.0
func (r HideContactResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (HideContactResponse) GetJSON401 ¶ added in v0.4.0
func (r HideContactResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (HideContactResponse) GetJSON404 ¶ added in v0.4.0
func (r HideContactResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (HideContactResponse) GetJSON500 ¶ added in v0.4.0
func (r HideContactResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (HideContactResponse) GetJSON503 ¶ added in v0.4.0
func (r HideContactResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (HideContactResponse) Status ¶ added in v0.4.0
func (r HideContactResponse) Status() string
Status returns HTTPResponse.Status
func (HideContactResponse) StatusCode ¶ added in v0.4.0
func (r HideContactResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type Identity ¶
type Identity struct {
Accounts []Account `json:"accounts,omitempty"`
AllUsers []User `json:"all_users,omitempty"`
AutoTimeZone bool `json:"auto_time_zone,omitempty"`
AvatarUrl string `json:"avatar_url,omitempty"`
FirstWeekDay int32 `json:"first_week_day,omitempty"`
IconUrl string `json:"icon_url,omitempty"`
Id int64 `json:"id"`
Name string `json:"name,omitempty"`
// PrimaryContact Contact — the identity of someone in HEY
PrimaryContact Contact `json:"primary_contact,omitempty"`
Senders []Sender `json:"senders,omitempty"`
TimeFormat string `json:"time_format,omitempty"`
TimeZone string `json:"time_zone,omitempty"`
TimeZoneName string `json:"time_zone_name,omitempty"`
TimeZoneOffset int32 `json:"time_zone_offset,omitempty"`
}
Identity defines model for Identity.
type InMemoryCache ¶
type InMemoryCache struct {
// contains filtered or unexported fields
}
InMemoryCache is a simple in-memory cache implementation.
func NewInMemoryCache ¶
func NewInMemoryCache() *InMemoryCache
NewInMemoryCache creates a new in-memory cache.
func (*InMemoryCache) Get ¶
func (c *InMemoryCache) Get(url string) (etag string, body []byte, ok bool)
Get returns the cached ETag and body for a URL.
func (*InMemoryCache) Invalidate ¶
func (c *InMemoryCache) Invalidate(url string)
Invalidate removes a cached entry.
type InternalServerErrorResponseContent ¶
type InternalServerErrorResponseContent struct {
Message string `json:"message"`
}
InternalServerErrorResponseContent defines model for InternalServerErrorResponseContent.
type JournalEntryPayload ¶ added in v0.2.0
type JournalEntryPayload struct {
Content string `json:"content"`
}
JournalEntryPayload defines model for JournalEntryPayload.
type ListBoxGroupsResponse ¶ added in v0.4.0
type ListBoxGroupsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ListBoxGroupsResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseListBoxGroupsResponse ¶ added in v0.4.0
func ParseListBoxGroupsResponse(rsp *http.Response) (*ListBoxGroupsResponse, error)
ParseListBoxGroupsResponse parses an HTTP response from a ListBoxGroupsWithResponse call
func (ListBoxGroupsResponse) ContentType ¶ added in v0.4.0
func (r ListBoxGroupsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListBoxGroupsResponse) GetBody ¶ added in v0.4.0
func (r ListBoxGroupsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListBoxGroupsResponse) GetJSON200 ¶ added in v0.4.0
func (r ListBoxGroupsResponse) GetJSON200() *ListBoxGroupsResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListBoxGroupsResponse) GetJSON401 ¶ added in v0.4.0
func (r ListBoxGroupsResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListBoxGroupsResponse) GetJSON404 ¶ added in v0.4.0
func (r ListBoxGroupsResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListBoxGroupsResponse) GetJSON500 ¶ added in v0.4.0
func (r ListBoxGroupsResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (ListBoxGroupsResponse) GetJSON503 ¶ added in v0.4.0
func (r ListBoxGroupsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (ListBoxGroupsResponse) Status ¶ added in v0.4.0
func (r ListBoxGroupsResponse) Status() string
Status returns HTTPResponse.Status
func (ListBoxGroupsResponse) StatusCode ¶ added in v0.4.0
func (r ListBoxGroupsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListBoxGroupsResponseContent ¶ added in v0.4.0
type ListBoxGroupsResponseContent = BoxGroupsResponse
ListBoxGroupsResponseContent BoxGroupsResponse — the wrapper the groups index answers with
type ListBoxesResponse ¶
type ListBoxesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ListBoxesResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseListBoxesResponse ¶
func ParseListBoxesResponse(rsp *http.Response) (*ListBoxesResponse, error)
ParseListBoxesResponse parses an HTTP response from a ListBoxesWithResponse call
func (ListBoxesResponse) ContentType ¶ added in v0.4.0
func (r ListBoxesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListBoxesResponse) GetBody ¶ added in v0.4.0
func (r ListBoxesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListBoxesResponse) GetJSON200 ¶ added in v0.4.0
func (r ListBoxesResponse) GetJSON200() *ListBoxesResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListBoxesResponse) GetJSON401 ¶ added in v0.4.0
func (r ListBoxesResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListBoxesResponse) GetJSON500 ¶ added in v0.4.0
func (r ListBoxesResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (ListBoxesResponse) GetJSON503 ¶ added in v0.4.0
func (r ListBoxesResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (ListBoxesResponse) Status ¶
func (r ListBoxesResponse) Status() string
Status returns HTTPResponse.Status
func (ListBoxesResponse) StatusCode ¶
func (r ListBoxesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListBoxesResponseContent ¶
type ListBoxesResponseContent = []Box
ListBoxesResponseContent defines model for ListBoxesResponseContent.
type ListCalendarDaysParams ¶ added in v0.16.0
type ListCalendarDaysParams struct {
// StartsAt Date (YYYY-MM-DD) to start from. Defaults to today.
StartsAt *string `form:"starts_at,omitempty" json:"starts_at,omitempty"`
}
ListCalendarDaysParams defines parameters for ListCalendarDays.
type ListCalendarDaysResponse ¶ added in v0.16.0
type ListCalendarDaysResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ListCalendarDaysResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseListCalendarDaysResponse ¶ added in v0.16.0
func ParseListCalendarDaysResponse(rsp *http.Response) (*ListCalendarDaysResponse, error)
ParseListCalendarDaysResponse parses an HTTP response from a ListCalendarDaysWithResponse call
func (ListCalendarDaysResponse) ContentType ¶ added in v0.16.0
func (r ListCalendarDaysResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListCalendarDaysResponse) GetBody ¶ added in v0.16.0
func (r ListCalendarDaysResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListCalendarDaysResponse) GetJSON200 ¶ added in v0.16.0
func (r ListCalendarDaysResponse) GetJSON200() *ListCalendarDaysResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListCalendarDaysResponse) GetJSON401 ¶ added in v0.16.0
func (r ListCalendarDaysResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListCalendarDaysResponse) GetJSON500 ¶ added in v0.16.0
func (r ListCalendarDaysResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (ListCalendarDaysResponse) GetJSON503 ¶ added in v0.16.0
func (r ListCalendarDaysResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (ListCalendarDaysResponse) Status ¶ added in v0.16.0
func (r ListCalendarDaysResponse) Status() string
Status returns HTTPResponse.Status
func (ListCalendarDaysResponse) StatusCode ¶ added in v0.16.0
func (r ListCalendarDaysResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListCalendarDaysResponseContent ¶ added in v0.16.0
type ListCalendarDaysResponseContent = CalendarDayListPayload
ListCalendarDaysResponseContent defines model for ListCalendarDaysResponseContent.
type ListCalendarWeeksParams ¶ added in v0.16.0
type ListCalendarWeeksParams struct {
// StartsAt Date (YYYY-MM-DD) of the first week. Takes precedence over centered_at.
StartsAt *string `form:"starts_at,omitempty" json:"starts_at,omitempty"`
// CenteredAt Date (YYYY-MM-DD) to center the nine weeks on. Defaults to today.
CenteredAt *string `form:"centered_at,omitempty" json:"centered_at,omitempty"`
}
ListCalendarWeeksParams defines parameters for ListCalendarWeeks.
type ListCalendarWeeksResponse ¶ added in v0.16.0
type ListCalendarWeeksResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ListCalendarWeeksResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseListCalendarWeeksResponse ¶ added in v0.16.0
func ParseListCalendarWeeksResponse(rsp *http.Response) (*ListCalendarWeeksResponse, error)
ParseListCalendarWeeksResponse parses an HTTP response from a ListCalendarWeeksWithResponse call
func (ListCalendarWeeksResponse) ContentType ¶ added in v0.16.0
func (r ListCalendarWeeksResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListCalendarWeeksResponse) GetBody ¶ added in v0.16.0
func (r ListCalendarWeeksResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListCalendarWeeksResponse) GetJSON200 ¶ added in v0.16.0
func (r ListCalendarWeeksResponse) GetJSON200() *ListCalendarWeeksResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListCalendarWeeksResponse) GetJSON401 ¶ added in v0.16.0
func (r ListCalendarWeeksResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListCalendarWeeksResponse) GetJSON500 ¶ added in v0.16.0
func (r ListCalendarWeeksResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (ListCalendarWeeksResponse) GetJSON503 ¶ added in v0.16.0
func (r ListCalendarWeeksResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (ListCalendarWeeksResponse) Status ¶ added in v0.16.0
func (r ListCalendarWeeksResponse) Status() string
Status returns HTTPResponse.Status
func (ListCalendarWeeksResponse) StatusCode ¶ added in v0.16.0
func (r ListCalendarWeeksResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListCalendarWeeksResponseContent ¶ added in v0.16.0
type ListCalendarWeeksResponseContent = CalendarWeekListPayload
ListCalendarWeeksResponseContent defines model for ListCalendarWeeksResponseContent.
type ListCalendarsResponse ¶
type ListCalendarsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ListCalendarsResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseListCalendarsResponse ¶
func ParseListCalendarsResponse(rsp *http.Response) (*ListCalendarsResponse, error)
ParseListCalendarsResponse parses an HTTP response from a ListCalendarsWithResponse call
func (ListCalendarsResponse) ContentType ¶ added in v0.4.0
func (r ListCalendarsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListCalendarsResponse) GetBody ¶ added in v0.4.0
func (r ListCalendarsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListCalendarsResponse) GetJSON200 ¶ added in v0.4.0
func (r ListCalendarsResponse) GetJSON200() *ListCalendarsResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListCalendarsResponse) GetJSON401 ¶ added in v0.4.0
func (r ListCalendarsResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListCalendarsResponse) GetJSON500 ¶ added in v0.4.0
func (r ListCalendarsResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (ListCalendarsResponse) GetJSON503 ¶ added in v0.4.0
func (r ListCalendarsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (ListCalendarsResponse) Status ¶
func (r ListCalendarsResponse) Status() string
Status returns HTTPResponse.Status
func (ListCalendarsResponse) StatusCode ¶
func (r ListCalendarsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListCalendarsResponseContent ¶
type ListCalendarsResponseContent = CalendarListPayload
ListCalendarsResponseContent CalendarListPayload
type ListClipsParams ¶ added in v0.4.0
type ListClipsParams struct {
Page *string `form:"page,omitempty" json:"page,omitempty"`
}
ListClipsParams defines parameters for ListClips.
type ListClipsResponse ¶ added in v0.4.0
type ListClipsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ListClipsResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseListClipsResponse ¶ added in v0.4.0
func ParseListClipsResponse(rsp *http.Response) (*ListClipsResponse, error)
ParseListClipsResponse parses an HTTP response from a ListClipsWithResponse call
func (ListClipsResponse) ContentType ¶ added in v0.4.0
func (r ListClipsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListClipsResponse) GetBody ¶ added in v0.4.0
func (r ListClipsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListClipsResponse) GetJSON200 ¶ added in v0.4.0
func (r ListClipsResponse) GetJSON200() *ListClipsResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListClipsResponse) GetJSON401 ¶ added in v0.4.0
func (r ListClipsResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListClipsResponse) GetJSON500 ¶ added in v0.4.0
func (r ListClipsResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (ListClipsResponse) GetJSON503 ¶ added in v0.4.0
func (r ListClipsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (ListClipsResponse) Status ¶ added in v0.4.0
func (r ListClipsResponse) Status() string
Status returns HTTPResponse.Status
func (ListClipsResponse) StatusCode ¶ added in v0.4.0
func (r ListClipsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListClipsResponseContent ¶ added in v0.4.0
type ListClipsResponseContent = []Clip
ListClipsResponseContent defines model for ListClipsResponseContent.
type ListCollectionsResponse ¶ added in v0.4.0
type ListCollectionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ListCollectionsResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseListCollectionsResponse ¶ added in v0.4.0
func ParseListCollectionsResponse(rsp *http.Response) (*ListCollectionsResponse, error)
ParseListCollectionsResponse parses an HTTP response from a ListCollectionsWithResponse call
func (ListCollectionsResponse) ContentType ¶ added in v0.4.0
func (r ListCollectionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListCollectionsResponse) GetBody ¶ added in v0.4.0
func (r ListCollectionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListCollectionsResponse) GetJSON200 ¶ added in v0.4.0
func (r ListCollectionsResponse) GetJSON200() *ListCollectionsResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListCollectionsResponse) GetJSON401 ¶ added in v0.4.0
func (r ListCollectionsResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListCollectionsResponse) GetJSON500 ¶ added in v0.4.0
func (r ListCollectionsResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (ListCollectionsResponse) GetJSON503 ¶ added in v0.4.0
func (r ListCollectionsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (ListCollectionsResponse) Status ¶ added in v0.4.0
func (r ListCollectionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListCollectionsResponse) StatusCode ¶ added in v0.4.0
func (r ListCollectionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListCollectionsResponseContent ¶ added in v0.4.0
type ListCollectionsResponseContent = []Collection
ListCollectionsResponseContent defines model for ListCollectionsResponseContent.
type ListContactsParams ¶
type ListContactsParams struct {
Page *string `form:"page,omitempty" json:"page,omitempty"`
Q *string `form:"q,omitempty" json:"q,omitempty"`
}
ListContactsParams defines parameters for ListContacts.
type ListContactsResponse ¶
type ListContactsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ListContactsResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseListContactsResponse ¶
func ParseListContactsResponse(rsp *http.Response) (*ListContactsResponse, error)
ParseListContactsResponse parses an HTTP response from a ListContactsWithResponse call
func (ListContactsResponse) ContentType ¶ added in v0.4.0
func (r ListContactsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListContactsResponse) GetBody ¶ added in v0.4.0
func (r ListContactsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListContactsResponse) GetJSON200 ¶ added in v0.4.0
func (r ListContactsResponse) GetJSON200() *ListContactsResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListContactsResponse) GetJSON401 ¶ added in v0.4.0
func (r ListContactsResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListContactsResponse) GetJSON500 ¶ added in v0.4.0
func (r ListContactsResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (ListContactsResponse) GetJSON503 ¶ added in v0.4.0
func (r ListContactsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (ListContactsResponse) Status ¶
func (r ListContactsResponse) Status() string
Status returns HTTPResponse.Status
func (ListContactsResponse) StatusCode ¶
func (r ListContactsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListContactsResponseContent ¶
type ListContactsResponseContent = []Contact
ListContactsResponseContent defines model for ListContactsResponseContent.
type ListDraftsParams ¶
type ListDraftsParams struct {
Page *string `form:"page,omitempty" json:"page,omitempty"`
}
ListDraftsParams defines parameters for ListDrafts.
type ListDraftsResponse ¶
type ListDraftsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ListDraftsResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseListDraftsResponse ¶
func ParseListDraftsResponse(rsp *http.Response) (*ListDraftsResponse, error)
ParseListDraftsResponse parses an HTTP response from a ListDraftsWithResponse call
func (ListDraftsResponse) ContentType ¶ added in v0.4.0
func (r ListDraftsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListDraftsResponse) GetBody ¶ added in v0.4.0
func (r ListDraftsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListDraftsResponse) GetJSON200 ¶ added in v0.4.0
func (r ListDraftsResponse) GetJSON200() *ListDraftsResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListDraftsResponse) GetJSON401 ¶ added in v0.4.0
func (r ListDraftsResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListDraftsResponse) GetJSON500 ¶ added in v0.4.0
func (r ListDraftsResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (ListDraftsResponse) GetJSON503 ¶ added in v0.4.0
func (r ListDraftsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (ListDraftsResponse) Status ¶
func (r ListDraftsResponse) Status() string
Status returns HTTPResponse.Status
func (ListDraftsResponse) StatusCode ¶
func (r ListDraftsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDraftsResponseContent ¶
type ListDraftsResponseContent = []DraftMessage
ListDraftsResponseContent defines model for ListDraftsResponseContent.
type ListJournalEntriesParams ¶ added in v0.15.0
type ListJournalEntriesParams struct {
Page *string `form:"page,omitempty" json:"page,omitempty"`
Q *string `form:"q,omitempty" json:"q,omitempty"`
}
ListJournalEntriesParams defines parameters for ListJournalEntries.
type ListJournalEntriesResponse ¶ added in v0.15.0
type ListJournalEntriesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ListJournalEntriesResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseListJournalEntriesResponse ¶ added in v0.15.0
func ParseListJournalEntriesResponse(rsp *http.Response) (*ListJournalEntriesResponse, error)
ParseListJournalEntriesResponse parses an HTTP response from a ListJournalEntriesWithResponse call
func (ListJournalEntriesResponse) ContentType ¶ added in v0.15.0
func (r ListJournalEntriesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListJournalEntriesResponse) GetBody ¶ added in v0.15.0
func (r ListJournalEntriesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListJournalEntriesResponse) GetJSON200 ¶ added in v0.15.0
func (r ListJournalEntriesResponse) GetJSON200() *ListJournalEntriesResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListJournalEntriesResponse) GetJSON401 ¶ added in v0.15.0
func (r ListJournalEntriesResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListJournalEntriesResponse) GetJSON500 ¶ added in v0.15.0
func (r ListJournalEntriesResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (ListJournalEntriesResponse) GetJSON503 ¶ added in v0.15.0
func (r ListJournalEntriesResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (ListJournalEntriesResponse) Status ¶ added in v0.15.0
func (r ListJournalEntriesResponse) Status() string
Status returns HTTPResponse.Status
func (ListJournalEntriesResponse) StatusCode ¶ added in v0.15.0
func (r ListJournalEntriesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListJournalEntriesResponseContent ¶ added in v0.15.0
type ListJournalEntriesResponseContent = []Recording
ListJournalEntriesResponseContent defines model for ListJournalEntriesResponseContent.
type ListSnippetsResponse ¶ added in v0.4.0
type ListSnippetsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ListSnippetsResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseListSnippetsResponse ¶ added in v0.4.0
func ParseListSnippetsResponse(rsp *http.Response) (*ListSnippetsResponse, error)
ParseListSnippetsResponse parses an HTTP response from a ListSnippetsWithResponse call
func (ListSnippetsResponse) ContentType ¶ added in v0.4.0
func (r ListSnippetsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListSnippetsResponse) GetBody ¶ added in v0.4.0
func (r ListSnippetsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListSnippetsResponse) GetJSON200 ¶ added in v0.4.0
func (r ListSnippetsResponse) GetJSON200() *ListSnippetsResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListSnippetsResponse) GetJSON401 ¶ added in v0.4.0
func (r ListSnippetsResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListSnippetsResponse) GetJSON500 ¶ added in v0.4.0
func (r ListSnippetsResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (ListSnippetsResponse) GetJSON503 ¶ added in v0.4.0
func (r ListSnippetsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (ListSnippetsResponse) Status ¶ added in v0.4.0
func (r ListSnippetsResponse) Status() string
Status returns HTTPResponse.Status
func (ListSnippetsResponse) StatusCode ¶ added in v0.4.0
func (r ListSnippetsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSnippetsResponseContent ¶ added in v0.4.0
type ListSnippetsResponseContent = []Snippet
ListSnippetsResponseContent defines model for ListSnippetsResponseContent.
type ListStickiesParams ¶ added in v0.4.0
type ListStickiesParams struct {
// Limit Clamped server-side to 1..100
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
}
ListStickiesParams defines parameters for ListStickies.
type ListStickiesResponse ¶ added in v0.4.0
type ListStickiesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ListStickiesResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseListStickiesResponse ¶ added in v0.4.0
func ParseListStickiesResponse(rsp *http.Response) (*ListStickiesResponse, error)
ParseListStickiesResponse parses an HTTP response from a ListStickiesWithResponse call
func (ListStickiesResponse) ContentType ¶ added in v0.4.0
func (r ListStickiesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListStickiesResponse) GetBody ¶ added in v0.4.0
func (r ListStickiesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListStickiesResponse) GetJSON200 ¶ added in v0.4.0
func (r ListStickiesResponse) GetJSON200() *ListStickiesResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListStickiesResponse) GetJSON401 ¶ added in v0.4.0
func (r ListStickiesResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListStickiesResponse) GetJSON500 ¶ added in v0.4.0
func (r ListStickiesResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (ListStickiesResponse) GetJSON503 ¶ added in v0.4.0
func (r ListStickiesResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (ListStickiesResponse) Status ¶ added in v0.4.0
func (r ListStickiesResponse) Status() string
Status returns HTTPResponse.Status
func (ListStickiesResponse) StatusCode ¶ added in v0.4.0
func (r ListStickiesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListStickiesResponseContent ¶ added in v0.4.0
type ListStickiesResponseContent = []Sticky
ListStickiesResponseContent defines model for ListStickiesResponseContent.
type ListTimeTrackCategoriesResponse ¶ added in v0.4.0
type ListTimeTrackCategoriesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ListTimeTrackCategoriesResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseListTimeTrackCategoriesResponse ¶ added in v0.4.0
func ParseListTimeTrackCategoriesResponse(rsp *http.Response) (*ListTimeTrackCategoriesResponse, error)
ParseListTimeTrackCategoriesResponse parses an HTTP response from a ListTimeTrackCategoriesWithResponse call
func (ListTimeTrackCategoriesResponse) ContentType ¶ added in v0.4.0
func (r ListTimeTrackCategoriesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListTimeTrackCategoriesResponse) GetBody ¶ added in v0.4.0
func (r ListTimeTrackCategoriesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListTimeTrackCategoriesResponse) GetJSON200 ¶ added in v0.4.0
func (r ListTimeTrackCategoriesResponse) GetJSON200() *ListTimeTrackCategoriesResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListTimeTrackCategoriesResponse) GetJSON401 ¶ added in v0.4.0
func (r ListTimeTrackCategoriesResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListTimeTrackCategoriesResponse) GetJSON500 ¶ added in v0.4.0
func (r ListTimeTrackCategoriesResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (ListTimeTrackCategoriesResponse) GetJSON503 ¶ added in v0.4.0
func (r ListTimeTrackCategoriesResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (ListTimeTrackCategoriesResponse) Status ¶ added in v0.4.0
func (r ListTimeTrackCategoriesResponse) Status() string
Status returns HTTPResponse.Status
func (ListTimeTrackCategoriesResponse) StatusCode ¶ added in v0.4.0
func (r ListTimeTrackCategoriesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListTimeTrackCategoriesResponseContent ¶ added in v0.4.0
type ListTimeTrackCategoriesResponseContent = []TimeTrackCategory
ListTimeTrackCategoriesResponseContent defines model for ListTimeTrackCategoriesResponseContent.
type ListTimeTracksParams ¶ added in v0.20.0
type ListTimeTracksParams struct {
Page *string `form:"page,omitempty" json:"page,omitempty"`
CategoryId *int64 `form:"category_id,omitempty" json:"category_id,omitempty"`
}
ListTimeTracksParams defines parameters for ListTimeTracks.
type ListTimeTracksResponse ¶ added in v0.20.0
type ListTimeTracksResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ListTimeTracksResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseListTimeTracksResponse ¶ added in v0.20.0
func ParseListTimeTracksResponse(rsp *http.Response) (*ListTimeTracksResponse, error)
ParseListTimeTracksResponse parses an HTTP response from a ListTimeTracksWithResponse call
func (ListTimeTracksResponse) ContentType ¶ added in v0.20.0
func (r ListTimeTracksResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListTimeTracksResponse) GetBody ¶ added in v0.20.0
func (r ListTimeTracksResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListTimeTracksResponse) GetJSON200 ¶ added in v0.20.0
func (r ListTimeTracksResponse) GetJSON200() *ListTimeTracksResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListTimeTracksResponse) GetJSON401 ¶ added in v0.20.0
func (r ListTimeTracksResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListTimeTracksResponse) GetJSON404 ¶ added in v0.20.0
func (r ListTimeTracksResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListTimeTracksResponse) GetJSON500 ¶ added in v0.20.0
func (r ListTimeTracksResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (ListTimeTracksResponse) GetJSON503 ¶ added in v0.20.0
func (r ListTimeTracksResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (ListTimeTracksResponse) Status ¶ added in v0.20.0
func (r ListTimeTracksResponse) Status() string
Status returns HTTPResponse.Status
func (ListTimeTracksResponse) StatusCode ¶ added in v0.20.0
func (r ListTimeTracksResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListTimeTracksResponseContent ¶ added in v0.20.0
type ListTimeTracksResponseContent = TrackedTime
ListTimeTracksResponseContent The tracked-time index: a page of completed tracks, and every category they can be filed under.
type MarkBoxSeenResponse ¶ added in v0.4.0
type MarkBoxSeenResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseMarkBoxSeenResponse ¶ added in v0.4.0
func ParseMarkBoxSeenResponse(rsp *http.Response) (*MarkBoxSeenResponse, error)
ParseMarkBoxSeenResponse parses an HTTP response from a MarkBoxSeenWithResponse call
func (MarkBoxSeenResponse) ContentType ¶ added in v0.4.0
func (r MarkBoxSeenResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MarkBoxSeenResponse) GetBody ¶ added in v0.4.0
func (r MarkBoxSeenResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MarkBoxSeenResponse) GetJSON401 ¶ added in v0.4.0
func (r MarkBoxSeenResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (MarkBoxSeenResponse) GetJSON404 ¶ added in v0.4.0
func (r MarkBoxSeenResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (MarkBoxSeenResponse) GetJSON500 ¶ added in v0.4.0
func (r MarkBoxSeenResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (MarkBoxSeenResponse) GetJSON503 ¶ added in v0.4.0
func (r MarkBoxSeenResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (MarkBoxSeenResponse) Status ¶ added in v0.4.0
func (r MarkBoxSeenResponse) Status() string
Status returns HTTPResponse.Status
func (MarkBoxSeenResponse) StatusCode ¶ added in v0.4.0
func (r MarkBoxSeenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MarkEntrySpamResponse ¶ added in v0.4.0
type MarkEntrySpamResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseMarkEntrySpamResponse ¶ added in v0.4.0
func ParseMarkEntrySpamResponse(rsp *http.Response) (*MarkEntrySpamResponse, error)
ParseMarkEntrySpamResponse parses an HTTP response from a MarkEntrySpamWithResponse call
func (MarkEntrySpamResponse) ContentType ¶ added in v0.4.0
func (r MarkEntrySpamResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MarkEntrySpamResponse) GetBody ¶ added in v0.4.0
func (r MarkEntrySpamResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MarkEntrySpamResponse) GetJSON401 ¶ added in v0.4.0
func (r MarkEntrySpamResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (MarkEntrySpamResponse) GetJSON404 ¶ added in v0.4.0
func (r MarkEntrySpamResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (MarkEntrySpamResponse) GetJSON500 ¶ added in v0.4.0
func (r MarkEntrySpamResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (MarkEntrySpamResponse) GetJSON503 ¶ added in v0.4.0
func (r MarkEntrySpamResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (MarkEntrySpamResponse) Status ¶ added in v0.4.0
func (r MarkEntrySpamResponse) Status() string
Status returns HTTPResponse.Status
func (MarkEntrySpamResponse) StatusCode ¶ added in v0.4.0
func (r MarkEntrySpamResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MarkPostingsRequestContent ¶ added in v0.2.0
type MarkPostingsRequestContent struct {
PostingIds []int64 `json:"posting_ids"`
}
MarkPostingsRequestContent defines model for MarkPostingsRequestContent.
type MarkPostingsSeenJSONRequestBody ¶ added in v0.2.0
type MarkPostingsSeenJSONRequestBody = MarkPostingsRequestContent
MarkPostingsSeenJSONRequestBody defines body for MarkPostingsSeen for application/json ContentType.
type MarkPostingsSeenResponse ¶ added in v0.2.0
type MarkPostingsSeenResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseMarkPostingsSeenResponse ¶ added in v0.2.0
func ParseMarkPostingsSeenResponse(rsp *http.Response) (*MarkPostingsSeenResponse, error)
ParseMarkPostingsSeenResponse parses an HTTP response from a MarkPostingsSeenWithResponse call
func (MarkPostingsSeenResponse) ContentType ¶ added in v0.4.0
func (r MarkPostingsSeenResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MarkPostingsSeenResponse) GetBody ¶ added in v0.4.0
func (r MarkPostingsSeenResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MarkPostingsSeenResponse) GetJSON401 ¶ added in v0.4.0
func (r MarkPostingsSeenResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (MarkPostingsSeenResponse) GetJSON500 ¶ added in v0.4.0
func (r MarkPostingsSeenResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (MarkPostingsSeenResponse) GetJSON503 ¶ added in v0.4.0
func (r MarkPostingsSeenResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (MarkPostingsSeenResponse) Status ¶ added in v0.2.0
func (r MarkPostingsSeenResponse) Status() string
Status returns HTTPResponse.Status
func (MarkPostingsSeenResponse) StatusCode ¶ added in v0.2.0
func (r MarkPostingsSeenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MarkPostingsSpamJSONRequestBody ¶ added in v0.4.0
type MarkPostingsSpamJSONRequestBody = MarkPostingsRequestContent
MarkPostingsSpamJSONRequestBody defines body for MarkPostingsSpam for application/json ContentType.
type MarkPostingsSpamResponse ¶ added in v0.4.0
type MarkPostingsSpamResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseMarkPostingsSpamResponse ¶ added in v0.4.0
func ParseMarkPostingsSpamResponse(rsp *http.Response) (*MarkPostingsSpamResponse, error)
ParseMarkPostingsSpamResponse parses an HTTP response from a MarkPostingsSpamWithResponse call
func (MarkPostingsSpamResponse) ContentType ¶ added in v0.4.0
func (r MarkPostingsSpamResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MarkPostingsSpamResponse) GetBody ¶ added in v0.4.0
func (r MarkPostingsSpamResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MarkPostingsSpamResponse) GetJSON401 ¶ added in v0.4.0
func (r MarkPostingsSpamResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (MarkPostingsSpamResponse) GetJSON404 ¶ added in v0.4.0
func (r MarkPostingsSpamResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (MarkPostingsSpamResponse) GetJSON500 ¶ added in v0.4.0
func (r MarkPostingsSpamResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (MarkPostingsSpamResponse) GetJSON503 ¶ added in v0.4.0
func (r MarkPostingsSpamResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (MarkPostingsSpamResponse) Status ¶ added in v0.4.0
func (r MarkPostingsSpamResponse) Status() string
Status returns HTTPResponse.Status
func (MarkPostingsSpamResponse) StatusCode ¶ added in v0.4.0
func (r MarkPostingsSpamResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MarkPostingsUnseenJSONRequestBody ¶ added in v0.2.0
type MarkPostingsUnseenJSONRequestBody = MarkPostingsRequestContent
MarkPostingsUnseenJSONRequestBody defines body for MarkPostingsUnseen for application/json ContentType.
type MarkPostingsUnseenResponse ¶ added in v0.2.0
type MarkPostingsUnseenResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseMarkPostingsUnseenResponse ¶ added in v0.2.0
func ParseMarkPostingsUnseenResponse(rsp *http.Response) (*MarkPostingsUnseenResponse, error)
ParseMarkPostingsUnseenResponse parses an HTTP response from a MarkPostingsUnseenWithResponse call
func (MarkPostingsUnseenResponse) ContentType ¶ added in v0.4.0
func (r MarkPostingsUnseenResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MarkPostingsUnseenResponse) GetBody ¶ added in v0.4.0
func (r MarkPostingsUnseenResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MarkPostingsUnseenResponse) GetJSON401 ¶ added in v0.4.0
func (r MarkPostingsUnseenResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (MarkPostingsUnseenResponse) GetJSON500 ¶ added in v0.4.0
func (r MarkPostingsUnseenResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (MarkPostingsUnseenResponse) GetJSON503 ¶ added in v0.4.0
func (r MarkPostingsUnseenResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (MarkPostingsUnseenResponse) Status ¶ added in v0.2.0
func (r MarkPostingsUnseenResponse) Status() string
Status returns HTTPResponse.Status
func (MarkPostingsUnseenResponse) StatusCode ¶ added in v0.2.0
func (r MarkPostingsUnseenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MarkTopicHamResponse ¶ added in v0.4.0
type MarkTopicHamResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseMarkTopicHamResponse ¶ added in v0.4.0
func ParseMarkTopicHamResponse(rsp *http.Response) (*MarkTopicHamResponse, error)
ParseMarkTopicHamResponse parses an HTTP response from a MarkTopicHamWithResponse call
func (MarkTopicHamResponse) ContentType ¶ added in v0.4.0
func (r MarkTopicHamResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MarkTopicHamResponse) GetBody ¶ added in v0.4.0
func (r MarkTopicHamResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MarkTopicHamResponse) GetJSON401 ¶ added in v0.4.0
func (r MarkTopicHamResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (MarkTopicHamResponse) GetJSON404 ¶ added in v0.4.0
func (r MarkTopicHamResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (MarkTopicHamResponse) GetJSON500 ¶ added in v0.4.0
func (r MarkTopicHamResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (MarkTopicHamResponse) GetJSON503 ¶ added in v0.4.0
func (r MarkTopicHamResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (MarkTopicHamResponse) Status ¶ added in v0.4.0
func (r MarkTopicHamResponse) Status() string
Status returns HTTPResponse.Status
func (MarkTopicHamResponse) StatusCode ¶ added in v0.4.0
func (r MarkTopicHamResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Message ¶
type Message struct {
// Addressed Addressed recipients
Addressed Addressed `json:"addressed,omitempty"`
// AddressedSender AddressedSender — sender context
AddressedSender AddressedSender `json:"addressed_sender,omitempty"`
Content string `json:"content,omitempty"`
// CreatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
CreatedAt time.Time `json:"created_at,omitempty,omitzero"`
// Creator Contact — the identity of someone in HEY
Creator Contact `json:"creator,omitempty"`
Id int64 `json:"id"`
IsReply bool `json:"is_reply,omitempty"`
// Posting MessagePostingContext — posting context for a message
Posting MessagePostingContext `json:"posting,omitempty"`
// ScheduledDeliveryAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
ScheduledDeliveryAt time.Time `json:"scheduled_delivery_at,omitempty,omitzero"`
// Sender Contact — the identity of someone in HEY
Sender Contact `json:"sender,omitempty"`
ShowAddressedSelector bool `json:"show_addressed_selector,omitempty"`
Subject string `json:"subject,omitempty"`
// UpdatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
UpdatedAt time.Time `json:"updated_at,omitempty,omitzero"`
Url string `json:"url,omitempty"`
}
Message Message — full message detail
type MessageAddressed ¶ added in v0.2.0
type MessageAddressed struct {
Blindcopied []string `json:"blindcopied,omitempty"`
Copied []string `json:"copied,omitempty"`
Directly []string `json:"directly,omitempty"`
}
MessageAddressed Recipients per kind, each a list of email addresses. haystack applies Array() to each kind, so a JSON array is the correct wire format (a bare string would be treated as a single address, not split on commas).
type MessageDraft ¶ added in v0.4.0
type MessageDraft struct {
// Addressed Addressed recipients
Addressed Addressed `json:"addressed,omitempty"`
Content string `json:"content,omitempty"`
// Creator Contact — the identity of someone in HEY
Creator Contact `json:"creator,omitempty"`
IsReply bool `json:"is_reply,omitempty"`
// Sender Contact — the identity of someone in HEY
Sender Contact `json:"sender,omitempty"`
ShowAddressedSelector bool `json:"show_addressed_selector,omitempty"`
Subject string `json:"subject,omitempty"`
Url string `json:"url,omitempty"`
}
MessageDraft MessageDraft — a prefilled compose payload (forward, reply). Unsent, so it has no id.
type MessageEditState ¶ added in v0.22.0
type MessageEditState struct {
// Addressed Addressed recipients
Addressed Addressed `json:"addressed,omitempty"`
// AddressedSender AddressedSender — sender context
AddressedSender AddressedSender `json:"addressed_sender,omitempty"`
Content string `json:"content,omitempty"`
// CreatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
CreatedAt time.Time `json:"created_at,omitempty,omitzero"`
// Creator Contact — the identity of someone in HEY
Creator Contact `json:"creator,omitempty"`
Id int64 `json:"id"`
IsReply bool `json:"is_reply,omitempty"`
// Posting MessagePostingContext — posting context for a message
Posting MessagePostingContext `json:"posting,omitempty"`
// ScheduledDeliveryAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
ScheduledDeliveryAt time.Time `json:"scheduled_delivery_at,omitempty,omitzero"`
// Sender Contact — the identity of someone in HEY
Sender Contact `json:"sender,omitempty"`
ShowAddressedSelector bool `json:"show_addressed_selector,omitempty"`
Subject string `json:"subject,omitempty"`
// UpdatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
UpdatedAt time.Time `json:"updated_at,omitempty,omitzero"`
Url string `json:"url,omitempty"`
}
MessageEditState MessageEditState — a saved draft as the editor sees it. The same compose fields as MessageDraft, plus the identity and scheduling a saved entry carries.
type MessageEntryPayload ¶ added in v0.2.0
type MessageEntryPayload struct {
// Addressed Recipients per kind, each a list of email addresses.
// haystack applies Array() to each kind, so a JSON array is the correct wire format
// (a bare string would be treated as a single address, not split on commas).
Addressed *MessageAddressed `json:"addressed,omitempty"`
// ScheduledDelivery "true" schedules delivery for the date and hour below; the entry stays drafted
// with a scheduled_delivery_at until then. On an update, omitting it clears an
// existing scheduled delivery.
ScheduledDelivery string `json:"scheduled_delivery,omitempty"`
// ScheduledDeliveryAtDate The delivery date: YYYY-MM-DD, "today" or "tomorrow", read in the identity's
// time zone.
ScheduledDeliveryAtDate string `json:"scheduled_delivery_at_date,omitempty"`
// ScheduledDeliveryAtHour The delivery hour, "0" through "23" — a string so that midnight survives
// omitempty. HEY schedules to the hour.
ScheduledDeliveryAtHour string `json:"scheduled_delivery_at_hour,omitempty"`
// Status "drafted" saves the entry as a draft instead of delivering it. Any other value
// (or omitting it) delivers through the undo-delay window.
Status string `json:"status,omitempty"`
}
MessageEntryPayload defines model for MessageEntryPayload.
type MessagePayload ¶ added in v0.2.0
MessagePayload defines model for MessagePayload.
type MessagePostingContext ¶
type MessagePostingContext struct {
Box string `json:"box,omitempty"`
}
MessagePostingContext MessagePostingContext — posting context for a message
type MessagesService ¶
type MessagesService struct {
// contains filtered or unexported fields
}
MessagesService provides message-related operations.
func (*MessagesService) Create ¶
func (s *MessagesService) Create(ctx context.Context, body CreateMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*MessagesService) CreateWithBody ¶
func (s *MessagesService) CreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*MessagesService) Get ¶
func (s *MessagesService) Get(ctx context.Context, messageId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*MessagesService) Update ¶ added in v0.22.0
func (s *MessagesService) Update(ctx context.Context, messageId int64, body UpdateMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*MessagesService) UpdateWithBody ¶ added in v0.22.0
type MovePostingsJSONRequestBody ¶ added in v0.4.0
type MovePostingsJSONRequestBody = MovePostingsRequestContent
MovePostingsJSONRequestBody defines body for MovePostings for application/json ContentType.
type MovePostingsRequestContent ¶ added in v0.4.0
type MovePostingsRequestContent struct {
BoxId int64 `json:"box_id"`
PostingIds []int64 `json:"posting_ids"`
}
MovePostingsRequestContent defines model for MovePostingsRequestContent.
type MovePostingsResponse ¶ added in v0.4.0
type MovePostingsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseMovePostingsResponse ¶ added in v0.4.0
func ParseMovePostingsResponse(rsp *http.Response) (*MovePostingsResponse, error)
ParseMovePostingsResponse parses an HTTP response from a MovePostingsWithResponse call
func (MovePostingsResponse) ContentType ¶ added in v0.4.0
func (r MovePostingsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MovePostingsResponse) GetBody ¶ added in v0.4.0
func (r MovePostingsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MovePostingsResponse) GetJSON401 ¶ added in v0.4.0
func (r MovePostingsResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (MovePostingsResponse) GetJSON404 ¶ added in v0.4.0
func (r MovePostingsResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (MovePostingsResponse) GetJSON500 ¶ added in v0.4.0
func (r MovePostingsResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (MovePostingsResponse) GetJSON503 ¶ added in v0.4.0
func (r MovePostingsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (MovePostingsResponse) Status ¶ added in v0.4.0
func (r MovePostingsResponse) Status() string
Status returns HTTPResponse.Status
func (MovePostingsResponse) StatusCode ¶ added in v0.4.0
func (r MovePostingsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MoveStickyJSONRequestBody ¶ added in v0.4.0
type MoveStickyJSONRequestBody = MoveStickyRequestContent
MoveStickyJSONRequestBody defines body for MoveSticky for application/json ContentType.
type MoveStickyRequestContent ¶ added in v0.4.0
MoveStickyRequestContent Wire format: {id, position} — both at the top level.
type MoveStickyResponse ¶ added in v0.4.0
type MoveStickyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseMoveStickyResponse ¶ added in v0.4.0
func ParseMoveStickyResponse(rsp *http.Response) (*MoveStickyResponse, error)
ParseMoveStickyResponse parses an HTTP response from a MoveStickyWithResponse call
func (MoveStickyResponse) ContentType ¶ added in v0.4.0
func (r MoveStickyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MoveStickyResponse) GetBody ¶ added in v0.4.0
func (r MoveStickyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MoveStickyResponse) GetJSON401 ¶ added in v0.4.0
func (r MoveStickyResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (MoveStickyResponse) GetJSON404 ¶ added in v0.4.0
func (r MoveStickyResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (MoveStickyResponse) GetJSON500 ¶ added in v0.4.0
func (r MoveStickyResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (MoveStickyResponse) GetJSON503 ¶ added in v0.4.0
func (r MoveStickyResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (MoveStickyResponse) Status ¶ added in v0.4.0
func (r MoveStickyResponse) Status() string
Status returns HTTPResponse.Status
func (MoveStickyResponse) StatusCode ¶ added in v0.4.0
func (r MoveStickyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MoveTopicJSONRequestBody ¶ added in v0.4.0
type MoveTopicJSONRequestBody = MoveTopicRequestContent
MoveTopicJSONRequestBody defines body for MoveTopic for application/json ContentType.
type MoveTopicRequestContent ¶ added in v0.4.0
type MoveTopicRequestContent struct {
BoxId int64 `json:"box_id"`
}
MoveTopicRequestContent defines model for MoveTopicRequestContent.
type MoveTopicResponse ¶ added in v0.4.0
type MoveTopicResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseMoveTopicResponse ¶ added in v0.4.0
func ParseMoveTopicResponse(rsp *http.Response) (*MoveTopicResponse, error)
ParseMoveTopicResponse parses an HTTP response from a MoveTopicWithResponse call
func (MoveTopicResponse) ContentType ¶ added in v0.4.0
func (r MoveTopicResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MoveTopicResponse) GetBody ¶ added in v0.4.0
func (r MoveTopicResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MoveTopicResponse) GetJSON401 ¶ added in v0.4.0
func (r MoveTopicResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (MoveTopicResponse) GetJSON404 ¶ added in v0.4.0
func (r MoveTopicResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (MoveTopicResponse) GetJSON500 ¶ added in v0.4.0
func (r MoveTopicResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (MoveTopicResponse) GetJSON503 ¶ added in v0.4.0
func (r MoveTopicResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (MoveTopicResponse) Status ¶ added in v0.4.0
func (r MoveTopicResponse) Status() string
Status returns HTTPResponse.Status
func (MoveTopicResponse) StatusCode ¶ added in v0.4.0
func (r MoveTopicResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MoveWorkflowStagingJSONRequestBody ¶ added in v0.12.0
type MoveWorkflowStagingJSONRequestBody = MoveWorkflowStagingRequestContent
MoveWorkflowStagingJSONRequestBody defines body for MoveWorkflowStaging for application/json ContentType.
type MoveWorkflowStagingRequestContent ¶ added in v0.12.0
type MoveWorkflowStagingRequestContent struct {
WorkflowStaging WorkflowStagingPayload `json:"workflow_staging"`
}
MoveWorkflowStagingRequestContent defines model for MoveWorkflowStagingRequestContent.
type MoveWorkflowStagingResponse ¶ added in v0.12.0
type MoveWorkflowStagingResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ForbiddenErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *UnprocessableEntityErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseMoveWorkflowStagingResponse ¶ added in v0.12.0
func ParseMoveWorkflowStagingResponse(rsp *http.Response) (*MoveWorkflowStagingResponse, error)
ParseMoveWorkflowStagingResponse parses an HTTP response from a MoveWorkflowStagingWithResponse call
func (MoveWorkflowStagingResponse) ContentType ¶ added in v0.12.0
func (r MoveWorkflowStagingResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MoveWorkflowStagingResponse) GetBody ¶ added in v0.12.0
func (r MoveWorkflowStagingResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MoveWorkflowStagingResponse) GetJSON401 ¶ added in v0.12.0
func (r MoveWorkflowStagingResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (MoveWorkflowStagingResponse) GetJSON403 ¶ added in v0.12.0
func (r MoveWorkflowStagingResponse) GetJSON403() *ForbiddenErrorResponseContent
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (MoveWorkflowStagingResponse) GetJSON404 ¶ added in v0.12.0
func (r MoveWorkflowStagingResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (MoveWorkflowStagingResponse) GetJSON422 ¶ added in v0.12.0
func (r MoveWorkflowStagingResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (MoveWorkflowStagingResponse) GetJSON500 ¶ added in v0.12.0
func (r MoveWorkflowStagingResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (MoveWorkflowStagingResponse) GetJSON503 ¶ added in v0.12.0
func (r MoveWorkflowStagingResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (MoveWorkflowStagingResponse) Status ¶ added in v0.12.0
func (r MoveWorkflowStagingResponse) Status() string
Status returns HTTPResponse.Status
func (MoveWorkflowStagingResponse) StatusCode ¶ added in v0.12.0
func (r MoveWorkflowStagingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MutePostingsJSONRequestBody ¶ added in v0.4.0
type MutePostingsJSONRequestBody = MarkPostingsRequestContent
MutePostingsJSONRequestBody defines body for MutePostings for application/json ContentType.
type MutePostingsResponse ¶ added in v0.4.0
type MutePostingsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseMutePostingsResponse ¶ added in v0.4.0
func ParseMutePostingsResponse(rsp *http.Response) (*MutePostingsResponse, error)
ParseMutePostingsResponse parses an HTTP response from a MutePostingsWithResponse call
func (MutePostingsResponse) ContentType ¶ added in v0.4.0
func (r MutePostingsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MutePostingsResponse) GetBody ¶ added in v0.4.0
func (r MutePostingsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MutePostingsResponse) GetJSON401 ¶ added in v0.4.0
func (r MutePostingsResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (MutePostingsResponse) GetJSON404 ¶ added in v0.4.0
func (r MutePostingsResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (MutePostingsResponse) GetJSON500 ¶ added in v0.4.0
func (r MutePostingsResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (MutePostingsResponse) GetJSON503 ¶ added in v0.4.0
func (r MutePostingsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (MutePostingsResponse) Status ¶ added in v0.4.0
func (r MutePostingsResponse) Status() string
Status returns HTTPResponse.Status
func (MutePostingsResponse) StatusCode ¶ added in v0.4.0
func (r MutePostingsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type NavigationItem ¶
type NavigationItem struct {
// Icon NavigationIcon
}
NavigationItem NavigationItem
type NewBulkReplyParams ¶ added in v0.4.0
type NewBulkReplyParams struct {
// PostingIds The postings to reply to, comma separated.
PostingIds string `form:"posting_ids" json:"posting_ids"`
}
NewBulkReplyParams defines parameters for NewBulkReply.
type NewBulkReplyResponse ¶ added in v0.4.0
type NewBulkReplyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *NewBulkReplyResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseNewBulkReplyResponse ¶ added in v0.4.0
func ParseNewBulkReplyResponse(rsp *http.Response) (*NewBulkReplyResponse, error)
ParseNewBulkReplyResponse parses an HTTP response from a NewBulkReplyWithResponse call
func (NewBulkReplyResponse) ContentType ¶ added in v0.4.0
func (r NewBulkReplyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (NewBulkReplyResponse) GetBody ¶ added in v0.4.0
func (r NewBulkReplyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (NewBulkReplyResponse) GetJSON200 ¶ added in v0.4.0
func (r NewBulkReplyResponse) GetJSON200() *NewBulkReplyResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (NewBulkReplyResponse) GetJSON401 ¶ added in v0.4.0
func (r NewBulkReplyResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (NewBulkReplyResponse) GetJSON404 ¶ added in v0.4.0
func (r NewBulkReplyResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (NewBulkReplyResponse) GetJSON500 ¶ added in v0.4.0
func (r NewBulkReplyResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (NewBulkReplyResponse) GetJSON503 ¶ added in v0.4.0
func (r NewBulkReplyResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (NewBulkReplyResponse) Status ¶ added in v0.4.0
func (r NewBulkReplyResponse) Status() string
Status returns HTTPResponse.Status
func (NewBulkReplyResponse) StatusCode ¶ added in v0.4.0
func (r NewBulkReplyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type NewBulkReplyResponseContent ¶ added in v0.4.0
type NewBulkReplyResponseContent = BulkReplyDraft
NewBulkReplyResponseContent The reply as HEY would send it: the prefilled content and the entries it goes to.
type NewEntryForwardResponse ¶ added in v0.4.0
type NewEntryForwardResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *NewEntryForwardResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseNewEntryForwardResponse ¶ added in v0.4.0
func ParseNewEntryForwardResponse(rsp *http.Response) (*NewEntryForwardResponse, error)
ParseNewEntryForwardResponse parses an HTTP response from a NewEntryForwardWithResponse call
func (NewEntryForwardResponse) ContentType ¶ added in v0.4.0
func (r NewEntryForwardResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (NewEntryForwardResponse) GetBody ¶ added in v0.4.0
func (r NewEntryForwardResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (NewEntryForwardResponse) GetJSON200 ¶ added in v0.4.0
func (r NewEntryForwardResponse) GetJSON200() *NewEntryForwardResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (NewEntryForwardResponse) GetJSON401 ¶ added in v0.4.0
func (r NewEntryForwardResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (NewEntryForwardResponse) GetJSON404 ¶ added in v0.4.0
func (r NewEntryForwardResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (NewEntryForwardResponse) GetJSON500 ¶ added in v0.4.0
func (r NewEntryForwardResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (NewEntryForwardResponse) GetJSON503 ¶ added in v0.4.0
func (r NewEntryForwardResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (NewEntryForwardResponse) Status ¶ added in v0.4.0
func (r NewEntryForwardResponse) Status() string
Status returns HTTPResponse.Status
func (NewEntryForwardResponse) StatusCode ¶ added in v0.4.0
func (r NewEntryForwardResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type NewEntryForwardResponseContent ¶ added in v0.4.0
type NewEntryForwardResponseContent = MessageDraft
NewEntryForwardResponseContent MessageDraft — a prefilled compose payload (forward, reply). Unsent, so it has no id.
type NewEntryReplyResponse ¶ added in v0.22.0
type NewEntryReplyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *NewEntryReplyResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseNewEntryReplyResponse ¶ added in v0.22.0
func ParseNewEntryReplyResponse(rsp *http.Response) (*NewEntryReplyResponse, error)
ParseNewEntryReplyResponse parses an HTTP response from a NewEntryReplyWithResponse call
func (NewEntryReplyResponse) ContentType ¶ added in v0.22.0
func (r NewEntryReplyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (NewEntryReplyResponse) GetBody ¶ added in v0.22.0
func (r NewEntryReplyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (NewEntryReplyResponse) GetJSON200 ¶ added in v0.22.0
func (r NewEntryReplyResponse) GetJSON200() *NewEntryReplyResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (NewEntryReplyResponse) GetJSON401 ¶ added in v0.22.0
func (r NewEntryReplyResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (NewEntryReplyResponse) GetJSON404 ¶ added in v0.22.0
func (r NewEntryReplyResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (NewEntryReplyResponse) GetJSON500 ¶ added in v0.22.0
func (r NewEntryReplyResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (NewEntryReplyResponse) GetJSON503 ¶ added in v0.22.0
func (r NewEntryReplyResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (NewEntryReplyResponse) Status ¶ added in v0.22.0
func (r NewEntryReplyResponse) Status() string
Status returns HTTPResponse.Status
func (NewEntryReplyResponse) StatusCode ¶ added in v0.22.0
func (r NewEntryReplyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type NewEntryReplyResponseContent ¶ added in v0.22.0
type NewEntryReplyResponseContent = MessageDraft
NewEntryReplyResponseContent MessageDraft — a prefilled compose payload (forward, reply). Unsent, so it has no id.
type NotFoundErrorResponseContent ¶
type NotFoundErrorResponseContent struct {
Message string `json:"message"`
}
NotFoundErrorResponseContent defines model for NotFoundErrorResponseContent.
type OperationMetadata ¶
type OperationMetadata struct {
// Idempotent indicates whether the operation can be safely retried.
Idempotent bool
// HasSensitiveParams indicates whether any parameters contain sensitive data.
HasSensitiveParams bool
}
OperationMetadata contains metadata about an API operation derived from OpenAPI extensions.
func GetOperationMetadata ¶
func GetOperationMetadata(operationId string) (OperationMetadata, bool)
GetOperationMetadata returns metadata for the given operation ID.
type Organizer ¶
type Organizer struct {
EmailAddress string `json:"email_address,omitempty"`
Name string `json:"name,omitempty"`
}
Organizer Organizer — calendar event organizer
type PeopleService ¶
type PeopleService struct {
// contains filtered or unexported fields
}
PeopleService provides people-related operations.
type Posting ¶
type Posting struct {
AccountId int64 `json:"account_id,omitempty"`
// ActiveAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
ActiveAt time.Time `json:"active_at,omitempty,omitzero"`
AddressedContacts []Contact `json:"addressed_contacts,omitempty"`
AlternativeSenderName string `json:"alternative_sender_name,omitempty"`
AppBundleUrl string `json:"app_bundle_url,omitempty"`
AppUrl string `json:"app_url,omitempty"`
BlockedTrackers bool `json:"blocked_trackers,omitempty"`
BoxGroupId int64 `json:"box_group_id,omitempty"`
BoxId int64 `json:"box_id,omitempty"`
// BubbleUpSchedule BubbleUpSchedule
BubbleUpSchedule BubbleUpSchedule `json:"bubble_up_schedule,omitempty"`
BubbleUpWaitingOn bool `json:"bubble_up_waiting_on,omitempty"`
BubbledUp bool `json:"bubbled_up,omitempty"`
Bundled bool `json:"bundled,omitempty"`
Collections []Collection `json:"collections,omitempty"`
Contacts []Contact `json:"contacts,omitempty"`
// CreatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
CreatedAt time.Time `json:"created_at,omitempty,omitzero"`
// Creator Contact — the identity of someone in HEY
Creator Contact `json:"creator,omitempty"`
EntryKind string `json:"entry_kind,omitempty"`
Extenzions []Extenzion `json:"extenzions,omitempty"`
Folders []Folder `json:"folders,omitempty"`
Id int64 `json:"id"`
IncludesAttachments bool `json:"includes_attachments,omitempty"`
IncludesCalendarInvites bool `json:"includes_calendar_invites,omitempty"`
// Kind Discriminator: "topic", "bundle", or "entry"
Kind string `json:"kind"`
Muted bool `json:"muted,omitempty"`
Name string `json:"name,omitempty"`
// Note Note — a posting note
Note PostingNote `json:"note,omitempty"`
// ObservedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
ObservedAt time.Time `json:"observed_at,omitempty,omitzero"`
PreapprovedClearance bool `json:"preapproved_clearance,omitempty"`
Seen bool `json:"seen,omitempty"`
Summary string `json:"summary,omitempty"`
// UpdatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
UpdatedAt time.Time `json:"updated_at,omitempty,omitzero"`
VisibleEntryCount int32 `json:"visible_entry_count,omitempty"`
Workflows []Workflow `json:"workflows,omitempty"`
}
Posting Posting — polymorphic by `kind` (topic, bundle, entry)
type PostingNote ¶
PostingNote Note — a posting note
type ProjectsService ¶
type ProjectsService struct {
// contains filtered or unexported fields
}
ProjectsService provides project-related operations.
type PuntClearancesResponse ¶ added in v0.7.0
type PuntClearancesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParsePuntClearancesResponse ¶ added in v0.7.0
func ParsePuntClearancesResponse(rsp *http.Response) (*PuntClearancesResponse, error)
ParsePuntClearancesResponse parses an HTTP response from a PuntClearancesWithResponse call
func (PuntClearancesResponse) ContentType ¶ added in v0.7.0
func (r PuntClearancesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PuntClearancesResponse) GetBody ¶ added in v0.7.0
func (r PuntClearancesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PuntClearancesResponse) GetJSON401 ¶ added in v0.7.0
func (r PuntClearancesResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PuntClearancesResponse) GetJSON500 ¶ added in v0.7.0
func (r PuntClearancesResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PuntClearancesResponse) GetJSON503 ¶ added in v0.7.0
func (r PuntClearancesResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (PuntClearancesResponse) Status ¶ added in v0.7.0
func (r PuntClearancesResponse) Status() string
Status returns HTTPResponse.Status
func (PuntClearancesResponse) StatusCode ¶ added in v0.7.0
func (r PuntClearancesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Recording ¶
type Recording struct {
AllDay bool `json:"all_day,omitempty"`
// AttachedEntry AttachedEntry — entry reference on a calendar event
AttachedEntry AttachedEntry `json:"attached_entry,omitempty"`
AttendanceStatus string `json:"attendance_status,omitempty"`
Attendances []Attendance `json:"attendances,omitempty"`
AttendancesSummary string `json:"attendances_summary,omitempty"`
// Calendar Calendar
Calendar Calendar `json:"calendar,omitempty"`
Category string `json:"category,omitempty"`
Color string `json:"color,omitempty"`
// CompletedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
CompletedAt time.Time `json:"completed_at,omitempty,omitzero"`
Content string `json:"content,omitempty"`
// ContentHtml Full rich-text HTML of a journal entry (GetJournalEntry / UpdateJournalEntry only;
// listings carry a truncated plain-text `content` instead).
ContentHtml string `json:"content_html,omitempty"`
// CreatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
CreatedAt time.Time `json:"created_at,omitempty,omitzero"`
Days []int32 `json:"days,omitempty"`
Description string `json:"description,omitempty"`
EditUrl string `json:"edit_url,omitempty"`
// EndsAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
EndsAt time.Time `json:"ends_at,omitempty,omitzero"`
EndsAtTimeZone string `json:"ends_at_time_zone,omitempty"`
Highlighted bool `json:"highlighted,omitempty"`
Icon string `json:"icon,omitempty"`
IconUrl string `json:"icon_url,omitempty"`
Id int64 `json:"id"`
ImageUrl string `json:"image_url,omitempty"`
// JoinLink JoinLink — video/meeting join link
JoinLink JoinLink `json:"join_link,omitempty"`
Label string `json:"label,omitempty"`
Location string `json:"location,omitempty"`
ManageAttendance bool `json:"manage_attendance,omitempty"`
Notes string `json:"notes,omitempty"`
OccurrenceId string `json:"occurrence_id,omitempty"`
OccurrencesUrl string `json:"occurrences_url,omitempty"`
// Organizer Organizer — calendar event organizer
Organizer Organizer `json:"organizer,omitempty"`
// Parent Recording — polymorphic by `type` (CalendarEvent, CalendarTodo, etc.)
Parent *Recording `json:"parent,omitempty"`
ParentId int64 `json:"parent_id,omitempty"`
Position int32 `json:"position,omitempty"`
// RecurrenceSchedule RecurrenceSchedule
RecurrenceSchedule RecurrenceSchedule `json:"recurrence_schedule,omitempty"`
Recurring bool `json:"recurring,omitempty"`
Reminders []Reminder `json:"reminders,omitempty"`
RemindersLabel string `json:"reminders_label,omitempty"`
// StartsAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
StartsAt time.Time `json:"starts_at,omitempty,omitzero"`
StartsAtTimeZone string `json:"starts_at_time_zone,omitempty"`
// StoppedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
StoppedAt time.Time `json:"stopped_at,omitempty,omitzero"`
Summary string `json:"summary,omitempty"`
Title string `json:"title,omitempty"`
// Type Discriminator: CalendarEvent, CalendarTodo, etc.
Type string `json:"type"`
// UpdatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
UpdatedAt time.Time `json:"updated_at,omitempty,omitzero"`
Url string `json:"url,omitempty"`
}
Recording Recording — polymorphic by `type` (CalendarEvent, CalendarTodo, etc.)
type RecordingsService ¶
type RecordingsService struct {
// contains filtered or unexported fields
}
RecordingsService provides recording-related operations.
type RecurrenceSchedule ¶
type RecurrenceSchedule struct {
Description string `json:"description,omitempty"`
Kind string `json:"kind,omitempty"`
Preset bool `json:"preset,omitempty"`
}
RecurrenceSchedule RecurrenceSchedule
type Reminder ¶
type Reminder struct {
// CreatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
CreatedAt time.Time `json:"created_at,omitempty,omitzero"`
DefaultDuration bool `json:"default_duration,omitempty"`
Delivered bool `json:"delivered,omitempty"`
Duration int32 `json:"duration,omitempty"`
Id int64 `json:"id"`
Iso8601Duration string `json:"iso8601_duration,omitempty"`
Label string `json:"label,omitempty"`
// RemindAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
RemindAt time.Time `json:"remind_at,omitempty,omitzero"`
Summary string `json:"summary,omitempty"`
// UpdatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
UpdatedAt time.Time `json:"updated_at,omitempty,omitzero"`
}
Reminder Reminder
type RemovePostingsFromBoxGroupParams ¶ added in v0.4.0
type RemovePostingsFromBoxGroupParams struct {
// PostingIds Posting ids as a comma-joined string, for verbs that carry no body
PostingIds string `form:"posting_ids" json:"posting_ids"`
}
RemovePostingsFromBoxGroupParams defines parameters for RemovePostingsFromBoxGroup.
type RemovePostingsFromBoxGroupResponse ¶ added in v0.4.0
type RemovePostingsFromBoxGroupResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseRemovePostingsFromBoxGroupResponse ¶ added in v0.4.0
func ParseRemovePostingsFromBoxGroupResponse(rsp *http.Response) (*RemovePostingsFromBoxGroupResponse, error)
ParseRemovePostingsFromBoxGroupResponse parses an HTTP response from a RemovePostingsFromBoxGroupWithResponse call
func (RemovePostingsFromBoxGroupResponse) ContentType ¶ added in v0.4.0
func (r RemovePostingsFromBoxGroupResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RemovePostingsFromBoxGroupResponse) GetBody ¶ added in v0.4.0
func (r RemovePostingsFromBoxGroupResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RemovePostingsFromBoxGroupResponse) GetJSON401 ¶ added in v0.4.0
func (r RemovePostingsFromBoxGroupResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (RemovePostingsFromBoxGroupResponse) GetJSON500 ¶ added in v0.4.0
func (r RemovePostingsFromBoxGroupResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (RemovePostingsFromBoxGroupResponse) GetJSON503 ¶ added in v0.4.0
func (r RemovePostingsFromBoxGroupResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (RemovePostingsFromBoxGroupResponse) Status ¶ added in v0.4.0
func (r RemovePostingsFromBoxGroupResponse) Status() string
Status returns HTTPResponse.Status
func (RemovePostingsFromBoxGroupResponse) StatusCode ¶ added in v0.4.0
func (r RemovePostingsFromBoxGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReplyMessagePayload ¶ added in v0.2.0
type ReplyMessagePayload struct {
Content string `json:"content"`
}
ReplyMessagePayload defines model for ReplyMessagePayload.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ResponseCache ¶
type ResponseCache interface {
// Get returns the cached ETag and body for a URL, or empty values if not cached.
Get(url string) (etag string, body []byte, ok bool)
// Set stores the ETag and body for a URL.
Set(url string, etag string, body []byte)
// Invalidate removes a cached entry.
Invalidate(url string)
// Clear removes all cached entries.
Clear()
}
ResponseCache is the interface for caching HTTP responses.
type RestoreTopicResponse ¶ added in v0.4.0
type RestoreTopicResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseRestoreTopicResponse ¶ added in v0.4.0
func ParseRestoreTopicResponse(rsp *http.Response) (*RestoreTopicResponse, error)
ParseRestoreTopicResponse parses an HTTP response from a RestoreTopicWithResponse call
func (RestoreTopicResponse) ContentType ¶ added in v0.4.0
func (r RestoreTopicResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RestoreTopicResponse) GetBody ¶ added in v0.4.0
func (r RestoreTopicResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RestoreTopicResponse) GetJSON401 ¶ added in v0.4.0
func (r RestoreTopicResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (RestoreTopicResponse) GetJSON404 ¶ added in v0.4.0
func (r RestoreTopicResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (RestoreTopicResponse) GetJSON500 ¶ added in v0.4.0
func (r RestoreTopicResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (RestoreTopicResponse) GetJSON503 ¶ added in v0.4.0
func (r RestoreTopicResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (RestoreTopicResponse) Status ¶ added in v0.4.0
func (r RestoreTopicResponse) Status() string
Status returns HTTPResponse.Status
func (RestoreTopicResponse) StatusCode ¶ added in v0.4.0
func (r RestoreTopicResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResumeHabitResponse ¶ added in v0.4.0
type ResumeHabitResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseResumeHabitResponse ¶ added in v0.4.0
func ParseResumeHabitResponse(rsp *http.Response) (*ResumeHabitResponse, error)
ParseResumeHabitResponse parses an HTTP response from a ResumeHabitWithResponse call
func (ResumeHabitResponse) ContentType ¶ added in v0.4.0
func (r ResumeHabitResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ResumeHabitResponse) GetBody ¶ added in v0.4.0
func (r ResumeHabitResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ResumeHabitResponse) GetJSON401 ¶ added in v0.4.0
func (r ResumeHabitResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ResumeHabitResponse) GetJSON404 ¶ added in v0.4.0
func (r ResumeHabitResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ResumeHabitResponse) GetJSON500 ¶ added in v0.4.0
func (r ResumeHabitResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (ResumeHabitResponse) GetJSON503 ¶ added in v0.4.0
func (r ResumeHabitResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (ResumeHabitResponse) Status ¶ added in v0.4.0
func (r ResumeHabitResponse) Status() string
Status returns HTTPResponse.Status
func (ResumeHabitResponse) StatusCode ¶ added in v0.4.0
func (r ResumeHabitResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RetryConfig ¶
type RetryConfig struct {
// MaxRetries is the maximum number of retry attempts (default: 3)
MaxRetries int
// BaseDelay is the initial delay between retries (default: 1s)
BaseDelay time.Duration
// MaxDelay is the maximum delay between retries (default: 30s)
MaxDelay time.Duration
// Multiplier is the exponential backoff multiplier (default: 2.0)
Multiplier float64
}
RetryConfig configures retry behavior for idempotent operations.
func DefaultRetryConfig ¶
func DefaultRetryConfig() RetryConfig
DefaultRetryConfig returns the default retry configuration.
type RevealContactResponse ¶ added in v0.4.0
type RevealContactResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RevealContactResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseRevealContactResponse ¶ added in v0.4.0
func ParseRevealContactResponse(rsp *http.Response) (*RevealContactResponse, error)
ParseRevealContactResponse parses an HTTP response from a RevealContactWithResponse call
func (RevealContactResponse) ContentType ¶ added in v0.4.0
func (r RevealContactResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RevealContactResponse) GetBody ¶ added in v0.4.0
func (r RevealContactResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RevealContactResponse) GetJSON200 ¶ added in v0.4.0
func (r RevealContactResponse) GetJSON200() *RevealContactResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RevealContactResponse) GetJSON401 ¶ added in v0.4.0
func (r RevealContactResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (RevealContactResponse) GetJSON404 ¶ added in v0.4.0
func (r RevealContactResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (RevealContactResponse) GetJSON500 ¶ added in v0.4.0
func (r RevealContactResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (RevealContactResponse) GetJSON503 ¶ added in v0.4.0
func (r RevealContactResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (RevealContactResponse) Status ¶ added in v0.4.0
func (r RevealContactResponse) Status() string
Status returns HTTPResponse.Status
func (RevealContactResponse) StatusCode ¶ added in v0.4.0
func (r RevealContactResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RevealContactResponseContent ¶ added in v0.4.0
type RevealContactResponseContent = Contact
RevealContactResponseContent Contact — the identity of someone in HEY
type SchedulePostingsBubbleUpJSONRequestBody ¶ added in v0.24.0
type SchedulePostingsBubbleUpJSONRequestBody = SchedulePostingsBubbleUpRequestContent
SchedulePostingsBubbleUpJSONRequestBody defines body for SchedulePostingsBubbleUp for application/json ContentType.
type SchedulePostingsBubbleUpRequestContent ¶ added in v0.24.0
type SchedulePostingsBubbleUpRequestContent struct {
Date string `json:"date,omitempty"`
PostingIds []int64 `json:"posting_ids"`
Slot string `json:"slot"`
}
SchedulePostingsBubbleUpRequestContent defines model for SchedulePostingsBubbleUpRequestContent.
type SchedulePostingsBubbleUpResponse ¶ added in v0.24.0
type SchedulePostingsBubbleUpResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseSchedulePostingsBubbleUpResponse ¶ added in v0.24.0
func ParseSchedulePostingsBubbleUpResponse(rsp *http.Response) (*SchedulePostingsBubbleUpResponse, error)
ParseSchedulePostingsBubbleUpResponse parses an HTTP response from a SchedulePostingsBubbleUpWithResponse call
func (SchedulePostingsBubbleUpResponse) ContentType ¶ added in v0.24.0
func (r SchedulePostingsBubbleUpResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SchedulePostingsBubbleUpResponse) GetBody ¶ added in v0.24.0
func (r SchedulePostingsBubbleUpResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SchedulePostingsBubbleUpResponse) GetJSON401 ¶ added in v0.24.0
func (r SchedulePostingsBubbleUpResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (SchedulePostingsBubbleUpResponse) GetJSON404 ¶ added in v0.24.0
func (r SchedulePostingsBubbleUpResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (SchedulePostingsBubbleUpResponse) GetJSON500 ¶ added in v0.24.0
func (r SchedulePostingsBubbleUpResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (SchedulePostingsBubbleUpResponse) GetJSON503 ¶ added in v0.24.0
func (r SchedulePostingsBubbleUpResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (SchedulePostingsBubbleUpResponse) Status ¶ added in v0.24.0
func (r SchedulePostingsBubbleUpResponse) Status() string
Status returns HTTPResponse.Status
func (SchedulePostingsBubbleUpResponse) StatusCode ¶ added in v0.24.0
func (r SchedulePostingsBubbleUpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SchedulesService ¶
type SchedulesService struct {
// contains filtered or unexported fields
}
SchedulesService provides schedule-related operations.
type SearchFilterItem ¶ added in v0.4.0
type SearchFilterItem struct {
Title string `json:"title,omitempty"`
Value string `json:"value,omitempty"`
}
SearchFilterItem SearchFilterItem — one option offered by the advanced search refine form
type SearchMatch ¶ added in v0.4.0
type SearchMatch struct {
Entries []Entry `json:"entries,omitempty"`
PostingId int64 `json:"posting_id,omitempty"`
// Topic Topic detail
Topic Topic `json:"topic"`
}
SearchMatch One matching topic: the topic, your posting of it (if any), and the entries that matched.
type Sender ¶
type Sender struct {
AccountId int64 `json:"account_id,omitempty"`
AvatarBackgroundColor string `json:"avatar_background_color,omitempty"`
AvatarUrl string `json:"avatar_url,omitempty"`
ContactableType string `json:"contactable_type,omitempty"`
Default bool `json:"default,omitempty"`
EmailAddress string `json:"email_address,omitempty"`
Id int64 `json:"id"`
Initials string `json:"initials,omitempty"`
Name string `json:"name,omitempty"`
NameTag string `json:"name_tag,omitempty"`
}
Sender Sender — a contact with default flag
type SensitiveString ¶
type SensitiveString string
SensitiveString is a string type that redacts its value in logs. Used for fields marked with x-hey-sensitive in the OpenAPI spec.
func (SensitiveString) LogValue ¶
func (s SensitiveString) LogValue() slog.Value
LogValue implements slog.LogValuer to redact sensitive values in structured logs.
func (SensitiveString) String ¶
func (s SensitiveString) String() string
String returns a redacted representation for logging.
func (SensitiveString) Value ¶
func (s SensitiveString) Value() string
Value returns the actual string value when needed for API calls.
type ServiceUnavailableErrorResponseContent ¶
type ServiceUnavailableErrorResponseContent struct {
}
ServiceUnavailableErrorResponseContent defines model for ServiceUnavailableErrorResponseContent.
type Snippet ¶ added in v0.4.0
type Snippet struct {
// Content Plain text
Content string `json:"content,omitempty"`
// ContentHtml Rich-text HTML
ContentHtml string `json:"content_html,omitempty"`
// CreatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
CreatedAt time.Time `json:"created_at,omitempty,omitzero"`
Id int64 `json:"id"`
Name string `json:"name,omitempty"`
// UpdatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
UpdatedAt time.Time `json:"updated_at,omitempty,omitzero"`
}
Snippet defines model for Snippet.
type StartTimeTrackResponse ¶
type StartTimeTrackResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *StartTimeTrackResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ConflictErrorResponseContent
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *UnprocessableEntityErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseStartTimeTrackResponse ¶
func ParseStartTimeTrackResponse(rsp *http.Response) (*StartTimeTrackResponse, error)
ParseStartTimeTrackResponse parses an HTTP response from a StartTimeTrackWithResponse call
func (StartTimeTrackResponse) ContentType ¶ added in v0.4.0
func (r StartTimeTrackResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (StartTimeTrackResponse) GetBody ¶ added in v0.4.0
func (r StartTimeTrackResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (StartTimeTrackResponse) GetJSON200 ¶ added in v0.4.0
func (r StartTimeTrackResponse) GetJSON200() *StartTimeTrackResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (StartTimeTrackResponse) GetJSON401 ¶ added in v0.4.0
func (r StartTimeTrackResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (StartTimeTrackResponse) GetJSON409 ¶ added in v0.4.0
func (r StartTimeTrackResponse) GetJSON409() *ConflictErrorResponseContent
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (StartTimeTrackResponse) GetJSON422 ¶ added in v0.4.0
func (r StartTimeTrackResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (StartTimeTrackResponse) GetJSON500 ¶ added in v0.4.0
func (r StartTimeTrackResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (StartTimeTrackResponse) GetJSON503 ¶ added in v0.4.0
func (r StartTimeTrackResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (StartTimeTrackResponse) Status ¶
func (r StartTimeTrackResponse) Status() string
Status returns HTTPResponse.Status
func (StartTimeTrackResponse) StatusCode ¶
func (r StartTimeTrackResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StartTimeTrackResponseContent ¶
type StartTimeTrackResponseContent = Recording
StartTimeTrackResponseContent Recording — polymorphic by `type` (CalendarEvent, CalendarTodo, etc.)
type StaticTokenProvider ¶
type StaticTokenProvider struct {
Token string
}
StaticTokenProvider provides a fixed token (e.g., from environment variable).
func (*StaticTokenProvider) AccessToken ¶
func (p *StaticTokenProvider) AccessToken(ctx context.Context) (string, error)
AccessToken returns the static token.
type Sticky ¶ added in v0.4.0
type Sticky struct {
Body string `json:"body,omitempty"`
// CreatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
CreatedAt time.Time `json:"created_at,omitempty,omitzero"`
Id int64 `json:"id"`
Size string `json:"size,omitempty"`
// UpdatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
UpdatedAt time.Time `json:"updated_at,omitempty,omitzero"`
}
Sticky Sticky — a note on the stickies board
type StickyPayload ¶ added in v0.4.0
type StickyPayload struct {
Body string `json:"body,omitempty"`
Size string `json:"size,omitempty"`
}
StickyPayload defines model for StickyPayload.
type StickyRequestContent ¶ added in v0.4.0
type StickyRequestContent struct {
Sticky StickyPayload `json:"sticky"`
}
StickyRequestContent Wire format: {sticky: {body, size}}. Size is "small", "medium" or "large".
type StopHabitResponse ¶ added in v0.4.0
type StopHabitResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseStopHabitResponse ¶ added in v0.4.0
func ParseStopHabitResponse(rsp *http.Response) (*StopHabitResponse, error)
ParseStopHabitResponse parses an HTTP response from a StopHabitWithResponse call
func (StopHabitResponse) ContentType ¶ added in v0.4.0
func (r StopHabitResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (StopHabitResponse) GetBody ¶ added in v0.4.0
func (r StopHabitResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (StopHabitResponse) GetJSON401 ¶ added in v0.4.0
func (r StopHabitResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (StopHabitResponse) GetJSON404 ¶ added in v0.4.0
func (r StopHabitResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (StopHabitResponse) GetJSON500 ¶ added in v0.4.0
func (r StopHabitResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (StopHabitResponse) GetJSON503 ¶ added in v0.4.0
func (r StopHabitResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (StopHabitResponse) Status ¶ added in v0.4.0
func (r StopHabitResponse) Status() string
Status returns HTTPResponse.Status
func (StopHabitResponse) StatusCode ¶ added in v0.4.0
func (r StopHabitResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TemplatesService ¶
type TemplatesService struct {
// contains filtered or unexported fields
}
TemplatesService provides template-related operations.
type TimeFormatPreference ¶ added in v0.23.0
type TimeFormatPreference struct {
// TimeFormat "twelve_hour" or "twenty_four_hour", as GetIdentity serves it.
TimeFormat string `json:"time_format"`
}
TimeFormatPreference defines model for TimeFormatPreference.
type TimeTrackCategory ¶ added in v0.4.0
type TimeTrackCategory struct {
// CreatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
CreatedAt time.Time `json:"created_at,omitempty,omitzero"`
Id int64 `json:"id"`
Title string `json:"title,omitempty"`
// UpdatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
UpdatedAt time.Time `json:"updated_at,omitempty,omitzero"`
}
TimeTrackCategory defines model for TimeTrackCategory.
type TimeTrackRequestContent ¶ added in v0.4.0
type TimeTrackRequestContent struct {
CategoryTitle string `json:"category_title,omitempty"`
EndsAt time.Time `json:"ends_at"`
Notes string `json:"notes,omitempty"`
StartsAt time.Time `json:"starts_at"`
}
TimeTrackRequestContent defines model for TimeTrackRequestContent.
type TodosService ¶
type TodosService struct {
// contains filtered or unexported fields
}
TodosService provides todo-related operations.
type ToggleCalendarResponse ¶ added in v0.16.0
type ToggleCalendarResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ToggleCalendarResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseToggleCalendarResponse ¶ added in v0.16.0
func ParseToggleCalendarResponse(rsp *http.Response) (*ToggleCalendarResponse, error)
ParseToggleCalendarResponse parses an HTTP response from a ToggleCalendarWithResponse call
func (ToggleCalendarResponse) ContentType ¶ added in v0.16.0
func (r ToggleCalendarResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ToggleCalendarResponse) GetBody ¶ added in v0.16.0
func (r ToggleCalendarResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ToggleCalendarResponse) GetJSON200 ¶ added in v0.16.0
func (r ToggleCalendarResponse) GetJSON200() *ToggleCalendarResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ToggleCalendarResponse) GetJSON401 ¶ added in v0.16.0
func (r ToggleCalendarResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ToggleCalendarResponse) GetJSON404 ¶ added in v0.16.0
func (r ToggleCalendarResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ToggleCalendarResponse) GetJSON500 ¶ added in v0.16.0
func (r ToggleCalendarResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (ToggleCalendarResponse) GetJSON503 ¶ added in v0.16.0
func (r ToggleCalendarResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (ToggleCalendarResponse) Status ¶ added in v0.16.0
func (r ToggleCalendarResponse) Status() string
Status returns HTTPResponse.Status
func (ToggleCalendarResponse) StatusCode ¶ added in v0.16.0
func (r ToggleCalendarResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ToggleCalendarResponseContent ¶ added in v0.16.0
type ToggleCalendarResponseContent = CalendarSelection
ToggleCalendarResponseContent CalendarSelection — the calendars a toggle left switched on
type TokenProvider ¶
type TokenProvider interface {
// AccessToken returns a valid access token, refreshing if needed.
AccessToken(ctx context.Context) (string, error)
}
TokenProvider is the interface for obtaining access tokens.
type Topic ¶
type Topic struct {
AccountId int64 `json:"account_id,omitempty"`
// ActiveAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
ActiveAt time.Time `json:"active_at,omitempty,omitzero"`
AppUrl string `json:"app_url,omitempty"`
Collections []Collection `json:"collections,omitempty"`
Contacts []Contact `json:"contacts,omitempty"`
// CreatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
CreatedAt time.Time `json:"created_at,omitempty,omitzero"`
// Creator Contact — the identity of someone in HEY
Creator Contact `json:"creator,omitempty"`
// Entries The topic's first page of entries (summaries, no bodies). Present on GetTopic; use
// GetTopicEntries for the rest and GetMessage for a body.
Entries []Entry `json:"entries,omitempty"`
Extenzions []Extenzion `json:"extenzions,omitempty"`
Id int64 `json:"id"`
IsForgedSender bool `json:"is_forged_sender,omitempty"`
// LatestEntry Entry — a message entry within a topic
LatestEntry Entry `json:"latest_entry,omitempty"`
Name string `json:"name,omitempty"`
Status string `json:"status,omitempty"`
// UpdatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
UpdatedAt time.Time `json:"updated_at,omitempty,omitzero"`
}
Topic Topic detail
type TopicListResponse ¶
type TopicListResponse struct {
Description string `json:"description,omitempty"`
Title string `json:"title,omitempty"`
Topics []Topic `json:"topics,omitempty"`
}
TopicListResponse TopicListResponse — wrapped topic list (sent, spam, trash, everything)
type TopicPublication ¶ added in v0.4.0
type TopicPublication struct {
Published bool `json:"published"`
// Url The public link, when published
Url string `json:"url,omitempty"`
}
TopicPublication defines model for TopicPublication.
type TrackedTime ¶ added in v0.20.0
type TrackedTime struct {
Categories []TimeTrackCategory `json:"categories,omitempty"`
TimeTracks []Recording `json:"time_tracks,omitempty"`
}
TrackedTime The tracked-time index: a page of completed tracks, and every category they can be filed under.
type TrashPostingsJSONRequestBody ¶ added in v0.4.0
type TrashPostingsJSONRequestBody = TrashPostingsRequestContent
TrashPostingsJSONRequestBody defines body for TrashPostings for application/json ContentType.
type TrashPostingsRequestContent ¶ added in v0.4.0
type TrashPostingsRequestContent struct {
PostingIds []int64 `json:"posting_ids"`
// RemoveAccess Omitted, JSON requests default to removing only your own access from shared topics.
// "false" trashes them for everyone instead.
RemoveAccess string `json:"remove_access,omitempty"`
}
TrashPostingsRequestContent defines model for TrashPostingsRequestContent.
type TrashPostingsResponse ¶ added in v0.4.0
type TrashPostingsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseTrashPostingsResponse ¶ added in v0.4.0
func ParseTrashPostingsResponse(rsp *http.Response) (*TrashPostingsResponse, error)
ParseTrashPostingsResponse parses an HTTP response from a TrashPostingsWithResponse call
func (TrashPostingsResponse) ContentType ¶ added in v0.4.0
func (r TrashPostingsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TrashPostingsResponse) GetBody ¶ added in v0.4.0
func (r TrashPostingsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TrashPostingsResponse) GetJSON401 ¶ added in v0.4.0
func (r TrashPostingsResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (TrashPostingsResponse) GetJSON404 ¶ added in v0.4.0
func (r TrashPostingsResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (TrashPostingsResponse) GetJSON500 ¶ added in v0.4.0
func (r TrashPostingsResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (TrashPostingsResponse) GetJSON503 ¶ added in v0.4.0
func (r TrashPostingsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (TrashPostingsResponse) Status ¶ added in v0.4.0
func (r TrashPostingsResponse) Status() string
Status returns HTTPResponse.Status
func (TrashPostingsResponse) StatusCode ¶ added in v0.4.0
func (r TrashPostingsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TrashTopicParams ¶ added in v0.4.0
type TrashTopicParams struct {
ConfirmDestroy *string `form:"confirm_destroy,omitempty" json:"confirm_destroy,omitempty"`
}
TrashTopicParams defines parameters for TrashTopic.
type TrashTopicResponse ¶ added in v0.4.0
type TrashTopicResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseTrashTopicResponse ¶ added in v0.4.0
func ParseTrashTopicResponse(rsp *http.Response) (*TrashTopicResponse, error)
ParseTrashTopicResponse parses an HTTP response from a TrashTopicWithResponse call
func (TrashTopicResponse) ContentType ¶ added in v0.4.0
func (r TrashTopicResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TrashTopicResponse) GetBody ¶ added in v0.4.0
func (r TrashTopicResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TrashTopicResponse) GetJSON401 ¶ added in v0.4.0
func (r TrashTopicResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (TrashTopicResponse) GetJSON404 ¶ added in v0.4.0
func (r TrashTopicResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (TrashTopicResponse) GetJSON500 ¶ added in v0.4.0
func (r TrashTopicResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (TrashTopicResponse) GetJSON503 ¶ added in v0.4.0
func (r TrashTopicResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (TrashTopicResponse) Status ¶ added in v0.4.0
func (r TrashTopicResponse) Status() string
Status returns HTTPResponse.Status
func (TrashTopicResponse) StatusCode ¶ added in v0.4.0
func (r TrashTopicResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UnauthorizedErrorResponseContent ¶
type UnauthorizedErrorResponseContent struct {
}
UnauthorizedErrorResponseContent defines model for UnauthorizedErrorResponseContent.
type UnbundleContactResponse ¶ added in v0.4.0
type UnbundleContactResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseUnbundleContactResponse ¶ added in v0.4.0
func ParseUnbundleContactResponse(rsp *http.Response) (*UnbundleContactResponse, error)
ParseUnbundleContactResponse parses an HTTP response from a UnbundleContactWithResponse call
func (UnbundleContactResponse) ContentType ¶ added in v0.4.0
func (r UnbundleContactResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UnbundleContactResponse) GetBody ¶ added in v0.4.0
func (r UnbundleContactResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UnbundleContactResponse) GetJSON401 ¶ added in v0.4.0
func (r UnbundleContactResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UnbundleContactResponse) GetJSON404 ¶ added in v0.4.0
func (r UnbundleContactResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UnbundleContactResponse) GetJSON500 ¶ added in v0.4.0
func (r UnbundleContactResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (UnbundleContactResponse) GetJSON503 ¶ added in v0.4.0
func (r UnbundleContactResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (UnbundleContactResponse) Status ¶ added in v0.4.0
func (r UnbundleContactResponse) Status() string
Status returns HTTPResponse.Status
func (UnbundleContactResponse) StatusCode ¶ added in v0.4.0
func (r UnbundleContactResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UncompleteCalendarTodoResponse ¶
type UncompleteCalendarTodoResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *UncompleteCalendarTodoResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseUncompleteCalendarTodoResponse ¶
func ParseUncompleteCalendarTodoResponse(rsp *http.Response) (*UncompleteCalendarTodoResponse, error)
ParseUncompleteCalendarTodoResponse parses an HTTP response from a UncompleteCalendarTodoWithResponse call
func (UncompleteCalendarTodoResponse) ContentType ¶ added in v0.4.0
func (r UncompleteCalendarTodoResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UncompleteCalendarTodoResponse) GetBody ¶ added in v0.4.0
func (r UncompleteCalendarTodoResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UncompleteCalendarTodoResponse) GetJSON200 ¶ added in v0.4.0
func (r UncompleteCalendarTodoResponse) GetJSON200() *UncompleteCalendarTodoResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UncompleteCalendarTodoResponse) GetJSON401 ¶ added in v0.4.0
func (r UncompleteCalendarTodoResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UncompleteCalendarTodoResponse) GetJSON404 ¶ added in v0.4.0
func (r UncompleteCalendarTodoResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UncompleteCalendarTodoResponse) GetJSON500 ¶ added in v0.4.0
func (r UncompleteCalendarTodoResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (UncompleteCalendarTodoResponse) GetJSON503 ¶ added in v0.4.0
func (r UncompleteCalendarTodoResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (UncompleteCalendarTodoResponse) Status ¶
func (r UncompleteCalendarTodoResponse) Status() string
Status returns HTTPResponse.Status
func (UncompleteCalendarTodoResponse) StatusCode ¶
func (r UncompleteCalendarTodoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UncompleteCalendarTodoResponseContent ¶
type UncompleteCalendarTodoResponseContent = Recording
UncompleteCalendarTodoResponseContent Recording — polymorphic by `type` (CalendarEvent, CalendarTodo, etc.)
type UncompleteHabitResponse ¶
type UncompleteHabitResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *UncompleteHabitResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseUncompleteHabitResponse ¶
func ParseUncompleteHabitResponse(rsp *http.Response) (*UncompleteHabitResponse, error)
ParseUncompleteHabitResponse parses an HTTP response from a UncompleteHabitWithResponse call
func (UncompleteHabitResponse) ContentType ¶ added in v0.4.0
func (r UncompleteHabitResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UncompleteHabitResponse) GetBody ¶ added in v0.4.0
func (r UncompleteHabitResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UncompleteHabitResponse) GetJSON200 ¶ added in v0.4.0
func (r UncompleteHabitResponse) GetJSON200() *UncompleteHabitResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UncompleteHabitResponse) GetJSON401 ¶ added in v0.4.0
func (r UncompleteHabitResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UncompleteHabitResponse) GetJSON404 ¶ added in v0.4.0
func (r UncompleteHabitResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UncompleteHabitResponse) GetJSON500 ¶ added in v0.4.0
func (r UncompleteHabitResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (UncompleteHabitResponse) GetJSON503 ¶ added in v0.4.0
func (r UncompleteHabitResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (UncompleteHabitResponse) Status ¶
func (r UncompleteHabitResponse) Status() string
Status returns HTTPResponse.Status
func (UncompleteHabitResponse) StatusCode ¶
func (r UncompleteHabitResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UncompleteHabitResponseContent ¶
type UncompleteHabitResponseContent = Recording
UncompleteHabitResponseContent Recording — polymorphic by `type` (CalendarEvent, CalendarTodo, etc.)
type UnfilePostingsParams ¶ added in v0.4.0
type UnfilePostingsParams struct {
// PostingIds Posting ids as a comma-joined string, for verbs that carry no body
PostingIds string `form:"posting_ids" json:"posting_ids"`
FolderId *int64 `form:"folder_id,omitempty" json:"folder_id,omitempty"`
}
UnfilePostingsParams defines parameters for UnfilePostings.
type UnfilePostingsResponse ¶ added in v0.4.0
type UnfilePostingsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseUnfilePostingsResponse ¶ added in v0.4.0
func ParseUnfilePostingsResponse(rsp *http.Response) (*UnfilePostingsResponse, error)
ParseUnfilePostingsResponse parses an HTTP response from a UnfilePostingsWithResponse call
func (UnfilePostingsResponse) ContentType ¶ added in v0.4.0
func (r UnfilePostingsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UnfilePostingsResponse) GetBody ¶ added in v0.4.0
func (r UnfilePostingsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UnfilePostingsResponse) GetJSON401 ¶ added in v0.4.0
func (r UnfilePostingsResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UnfilePostingsResponse) GetJSON404 ¶ added in v0.4.0
func (r UnfilePostingsResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UnfilePostingsResponse) GetJSON500 ¶ added in v0.4.0
func (r UnfilePostingsResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (UnfilePostingsResponse) GetJSON503 ¶ added in v0.4.0
func (r UnfilePostingsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (UnfilePostingsResponse) Status ¶ added in v0.4.0
func (r UnfilePostingsResponse) Status() string
Status returns HTTPResponse.Status
func (UnfilePostingsResponse) StatusCode ¶ added in v0.4.0
func (r UnfilePostingsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UnmutePostingsParams ¶ added in v0.4.0
type UnmutePostingsParams struct {
// PostingIds Comma-separated posting IDs, e.g. "123,456"
PostingIds string `form:"posting_ids" json:"posting_ids"`
}
UnmutePostingsParams defines parameters for UnmutePostings.
type UnmutePostingsResponse ¶ added in v0.4.0
type UnmutePostingsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseUnmutePostingsResponse ¶ added in v0.4.0
func ParseUnmutePostingsResponse(rsp *http.Response) (*UnmutePostingsResponse, error)
ParseUnmutePostingsResponse parses an HTTP response from a UnmutePostingsWithResponse call
func (UnmutePostingsResponse) ContentType ¶ added in v0.4.0
func (r UnmutePostingsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UnmutePostingsResponse) GetBody ¶ added in v0.4.0
func (r UnmutePostingsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UnmutePostingsResponse) GetJSON401 ¶ added in v0.4.0
func (r UnmutePostingsResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UnmutePostingsResponse) GetJSON404 ¶ added in v0.4.0
func (r UnmutePostingsResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UnmutePostingsResponse) GetJSON500 ¶ added in v0.4.0
func (r UnmutePostingsResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (UnmutePostingsResponse) GetJSON503 ¶ added in v0.4.0
func (r UnmutePostingsResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (UnmutePostingsResponse) Status ¶ added in v0.4.0
func (r UnmutePostingsResponse) Status() string
Status returns HTTPResponse.Status
func (UnmutePostingsResponse) StatusCode ¶ added in v0.4.0
func (r UnmutePostingsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UnprocessableEntityErrorResponseContent ¶
type UnprocessableEntityErrorResponseContent struct {
Errors []string `json:"errors,omitempty"`
Message string `json:"message,omitempty"`
}
UnprocessableEntityErrorResponseContent The server rejected what was sent. HEY answers {"errors": ["..."]} — the messages the model itself produced — so a client can show them as they are.
type UpdateCalendarTodoJSONRequestBody ¶ added in v0.14.0
type UpdateCalendarTodoJSONRequestBody = UpdateCalendarTodoRequestContent
UpdateCalendarTodoJSONRequestBody defines body for UpdateCalendarTodo for application/json ContentType.
type UpdateCalendarTodoRequestContent ¶ added in v0.14.0
type UpdateCalendarTodoRequestContent struct {
// CalendarTodo Nothing here is required: a rename sends a title and leaves the day alone.
CalendarTodo CalendarTodoChanges `json:"calendar_todo"`
}
UpdateCalendarTodoRequestContent Wire format: {calendar_todo: {title, starts_at, focused}}
type UpdateCalendarTodoResponse ¶ added in v0.14.0
type UpdateCalendarTodoResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *UpdateCalendarTodoResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *UnprocessableEntityErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseUpdateCalendarTodoResponse ¶ added in v0.14.0
func ParseUpdateCalendarTodoResponse(rsp *http.Response) (*UpdateCalendarTodoResponse, error)
ParseUpdateCalendarTodoResponse parses an HTTP response from a UpdateCalendarTodoWithResponse call
func (UpdateCalendarTodoResponse) ContentType ¶ added in v0.14.0
func (r UpdateCalendarTodoResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateCalendarTodoResponse) GetBody ¶ added in v0.14.0
func (r UpdateCalendarTodoResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateCalendarTodoResponse) GetJSON200 ¶ added in v0.14.0
func (r UpdateCalendarTodoResponse) GetJSON200() *UpdateCalendarTodoResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateCalendarTodoResponse) GetJSON401 ¶ added in v0.14.0
func (r UpdateCalendarTodoResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateCalendarTodoResponse) GetJSON404 ¶ added in v0.14.0
func (r UpdateCalendarTodoResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateCalendarTodoResponse) GetJSON422 ¶ added in v0.14.0
func (r UpdateCalendarTodoResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpdateCalendarTodoResponse) GetJSON500 ¶ added in v0.14.0
func (r UpdateCalendarTodoResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (UpdateCalendarTodoResponse) GetJSON503 ¶ added in v0.14.0
func (r UpdateCalendarTodoResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (UpdateCalendarTodoResponse) Status ¶ added in v0.14.0
func (r UpdateCalendarTodoResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateCalendarTodoResponse) StatusCode ¶ added in v0.14.0
func (r UpdateCalendarTodoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateCalendarTodoResponseContent ¶ added in v0.14.0
type UpdateCalendarTodoResponseContent = Recording
UpdateCalendarTodoResponseContent Recording — polymorphic by `type` (CalendarEvent, CalendarTodo, etc.)
type UpdateClearanceJSONRequestBody ¶ added in v0.7.0
type UpdateClearanceJSONRequestBody = UpdateClearanceRequestContent
UpdateClearanceJSONRequestBody defines body for UpdateClearance for application/json ContentType.
type UpdateClearanceRequestContent ¶ added in v0.7.0
type UpdateClearanceRequestContent struct {
DesignationBoxId int64 `json:"designation_box_id,omitempty"`
MarkTopicsAsSeen *bool `json:"mark_topics_as_seen,omitempty"`
Spam *bool `json:"spam,omitempty"`
Status string `json:"status"`
}
UpdateClearanceRequestContent Wire format: {status: "approved"|"denied"} — top level, not nested under a clearance key.
type UpdateClearanceResponse ¶ added in v0.7.0
type UpdateClearanceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *UpdateClearanceResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ForbiddenErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseUpdateClearanceResponse ¶ added in v0.7.0
func ParseUpdateClearanceResponse(rsp *http.Response) (*UpdateClearanceResponse, error)
ParseUpdateClearanceResponse parses an HTTP response from a UpdateClearanceWithResponse call
func (UpdateClearanceResponse) ContentType ¶ added in v0.7.0
func (r UpdateClearanceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateClearanceResponse) GetBody ¶ added in v0.7.0
func (r UpdateClearanceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateClearanceResponse) GetJSON200 ¶ added in v0.7.0
func (r UpdateClearanceResponse) GetJSON200() *UpdateClearanceResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateClearanceResponse) GetJSON401 ¶ added in v0.7.0
func (r UpdateClearanceResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateClearanceResponse) GetJSON403 ¶ added in v0.7.0
func (r UpdateClearanceResponse) GetJSON403() *ForbiddenErrorResponseContent
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (UpdateClearanceResponse) GetJSON404 ¶ added in v0.7.0
func (r UpdateClearanceResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateClearanceResponse) GetJSON500 ¶ added in v0.7.0
func (r UpdateClearanceResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (UpdateClearanceResponse) GetJSON503 ¶ added in v0.7.0
func (r UpdateClearanceResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (UpdateClearanceResponse) Status ¶ added in v0.7.0
func (r UpdateClearanceResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateClearanceResponse) StatusCode ¶ added in v0.7.0
func (r UpdateClearanceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateClearanceResponseContent ¶ added in v0.7.0
type UpdateClearanceResponseContent = Clearance
UpdateClearanceResponseContent Clearance — screening status for a contact
petitioner and most_recent_entry are only filled in by the Screener reads. The contact reads answer a clearance with nothing but its id and status.
type UpdateCollectionJSONRequestBody ¶ added in v0.4.0
type UpdateCollectionJSONRequestBody = UpdateCollectionRequestContent
UpdateCollectionJSONRequestBody defines body for UpdateCollection for application/json ContentType.
type UpdateCollectionRequestContent ¶ added in v0.4.0
type UpdateCollectionRequestContent struct {
Collection CollectionPayload `json:"collection"`
}
UpdateCollectionRequestContent Wire format: {collection: {name, summary}}
type UpdateCollectionResponse ¶ added in v0.4.0
type UpdateCollectionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *UnprocessableEntityErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseUpdateCollectionResponse ¶ added in v0.4.0
func ParseUpdateCollectionResponse(rsp *http.Response) (*UpdateCollectionResponse, error)
ParseUpdateCollectionResponse parses an HTTP response from a UpdateCollectionWithResponse call
func (UpdateCollectionResponse) ContentType ¶ added in v0.4.0
func (r UpdateCollectionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateCollectionResponse) GetBody ¶ added in v0.4.0
func (r UpdateCollectionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateCollectionResponse) GetJSON401 ¶ added in v0.4.0
func (r UpdateCollectionResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateCollectionResponse) GetJSON404 ¶ added in v0.4.0
func (r UpdateCollectionResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateCollectionResponse) GetJSON422 ¶ added in v0.4.0
func (r UpdateCollectionResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpdateCollectionResponse) GetJSON500 ¶ added in v0.4.0
func (r UpdateCollectionResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (UpdateCollectionResponse) GetJSON503 ¶ added in v0.4.0
func (r UpdateCollectionResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (UpdateCollectionResponse) Status ¶ added in v0.4.0
func (r UpdateCollectionResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateCollectionResponse) StatusCode ¶ added in v0.4.0
func (r UpdateCollectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateContactClearanceJSONRequestBody ¶ added in v0.4.0
type UpdateContactClearanceJSONRequestBody = UpdateContactClearanceRequestContent
UpdateContactClearanceJSONRequestBody defines body for UpdateContactClearance for application/json ContentType.
type UpdateContactClearanceRequestContent ¶ added in v0.4.0
type UpdateContactClearanceRequestContent struct {
Status string `json:"status"`
}
UpdateContactClearanceRequestContent Wire format: {status: "approved"|"denied"} — top level, not nested under a clearance key.
type UpdateContactClearanceResponse ¶ added in v0.4.0
type UpdateContactClearanceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *UnprocessableEntityErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseUpdateContactClearanceResponse ¶ added in v0.4.0
func ParseUpdateContactClearanceResponse(rsp *http.Response) (*UpdateContactClearanceResponse, error)
ParseUpdateContactClearanceResponse parses an HTTP response from a UpdateContactClearanceWithResponse call
func (UpdateContactClearanceResponse) ContentType ¶ added in v0.4.0
func (r UpdateContactClearanceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateContactClearanceResponse) GetBody ¶ added in v0.4.0
func (r UpdateContactClearanceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateContactClearanceResponse) GetJSON401 ¶ added in v0.4.0
func (r UpdateContactClearanceResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateContactClearanceResponse) GetJSON404 ¶ added in v0.4.0
func (r UpdateContactClearanceResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateContactClearanceResponse) GetJSON422 ¶ added in v0.4.0
func (r UpdateContactClearanceResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpdateContactClearanceResponse) GetJSON500 ¶ added in v0.4.0
func (r UpdateContactClearanceResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (UpdateContactClearanceResponse) GetJSON503 ¶ added in v0.4.0
func (r UpdateContactClearanceResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (UpdateContactClearanceResponse) Status ¶ added in v0.4.0
func (r UpdateContactClearanceResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateContactClearanceResponse) StatusCode ¶ added in v0.4.0
func (r UpdateContactClearanceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateContactJSONRequestBody ¶ added in v0.4.0
type UpdateContactJSONRequestBody = ContactRequestContent
UpdateContactJSONRequestBody defines body for UpdateContact for application/json ContentType.
type UpdateContactNoteJSONRequestBody ¶ added in v0.4.0
type UpdateContactNoteJSONRequestBody = ContactNoteRequestContent
UpdateContactNoteJSONRequestBody defines body for UpdateContactNote for application/json ContentType.
type UpdateContactNoteResponse ¶ added in v0.4.0
type UpdateContactNoteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *UpdateContactNoteResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *UnprocessableEntityErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseUpdateContactNoteResponse ¶ added in v0.4.0
func ParseUpdateContactNoteResponse(rsp *http.Response) (*UpdateContactNoteResponse, error)
ParseUpdateContactNoteResponse parses an HTTP response from a UpdateContactNoteWithResponse call
func (UpdateContactNoteResponse) ContentType ¶ added in v0.4.0
func (r UpdateContactNoteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateContactNoteResponse) GetBody ¶ added in v0.4.0
func (r UpdateContactNoteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateContactNoteResponse) GetJSON200 ¶ added in v0.4.0
func (r UpdateContactNoteResponse) GetJSON200() *UpdateContactNoteResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateContactNoteResponse) GetJSON401 ¶ added in v0.4.0
func (r UpdateContactNoteResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateContactNoteResponse) GetJSON404 ¶ added in v0.4.0
func (r UpdateContactNoteResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateContactNoteResponse) GetJSON422 ¶ added in v0.4.0
func (r UpdateContactNoteResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpdateContactNoteResponse) GetJSON500 ¶ added in v0.4.0
func (r UpdateContactNoteResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (UpdateContactNoteResponse) GetJSON503 ¶ added in v0.4.0
func (r UpdateContactNoteResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (UpdateContactNoteResponse) Status ¶ added in v0.4.0
func (r UpdateContactNoteResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateContactNoteResponse) StatusCode ¶ added in v0.4.0
func (r UpdateContactNoteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateContactNoteResponseContent ¶ added in v0.4.0
type UpdateContactNoteResponseContent = ContactNote
UpdateContactNoteResponseContent A contact's private note. Empty strings when there is no note.
type UpdateContactResponse ¶ added in v0.4.0
type UpdateContactResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *UpdateContactResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ConflictErrorResponseContent
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *UnprocessableEntityErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseUpdateContactResponse ¶ added in v0.4.0
func ParseUpdateContactResponse(rsp *http.Response) (*UpdateContactResponse, error)
ParseUpdateContactResponse parses an HTTP response from a UpdateContactWithResponse call
func (UpdateContactResponse) ContentType ¶ added in v0.4.0
func (r UpdateContactResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateContactResponse) GetBody ¶ added in v0.4.0
func (r UpdateContactResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateContactResponse) GetJSON200 ¶ added in v0.4.0
func (r UpdateContactResponse) GetJSON200() *UpdateContactResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateContactResponse) GetJSON401 ¶ added in v0.4.0
func (r UpdateContactResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateContactResponse) GetJSON404 ¶ added in v0.4.0
func (r UpdateContactResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateContactResponse) GetJSON409 ¶ added in v0.4.0
func (r UpdateContactResponse) GetJSON409() *ConflictErrorResponseContent
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (UpdateContactResponse) GetJSON422 ¶ added in v0.4.0
func (r UpdateContactResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpdateContactResponse) GetJSON500 ¶ added in v0.4.0
func (r UpdateContactResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (UpdateContactResponse) GetJSON503 ¶ added in v0.4.0
func (r UpdateContactResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (UpdateContactResponse) Status ¶ added in v0.4.0
func (r UpdateContactResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateContactResponse) StatusCode ¶ added in v0.4.0
func (r UpdateContactResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateContactResponseContent ¶ added in v0.4.0
type UpdateContactResponseContent = Contact
UpdateContactResponseContent Contact — the identity of someone in HEY
type UpdateFirstWeekDayJSONRequestBody ¶ added in v0.23.0
type UpdateFirstWeekDayJSONRequestBody = UpdateFirstWeekDayRequestContent
UpdateFirstWeekDayJSONRequestBody defines body for UpdateFirstWeekDay for application/json ContentType.
type UpdateFirstWeekDayRequestContent ¶ added in v0.23.0
type UpdateFirstWeekDayRequestContent struct {
IdentityPreference FirstWeekDayParams `json:"identity_preference"`
}
UpdateFirstWeekDayRequestContent Wire format: {identity_preference: {first_week_day: "monday"}}
type UpdateFirstWeekDayResponse ¶ added in v0.23.0
type UpdateFirstWeekDayResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *UpdateFirstWeekDayResponseContent
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *BadRequestErrorResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseUpdateFirstWeekDayResponse ¶ added in v0.23.0
func ParseUpdateFirstWeekDayResponse(rsp *http.Response) (*UpdateFirstWeekDayResponse, error)
ParseUpdateFirstWeekDayResponse parses an HTTP response from a UpdateFirstWeekDayWithResponse call
func (UpdateFirstWeekDayResponse) ContentType ¶ added in v0.23.0
func (r UpdateFirstWeekDayResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateFirstWeekDayResponse) GetBody ¶ added in v0.23.0
func (r UpdateFirstWeekDayResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateFirstWeekDayResponse) GetJSON200 ¶ added in v0.23.0
func (r UpdateFirstWeekDayResponse) GetJSON200() *UpdateFirstWeekDayResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateFirstWeekDayResponse) GetJSON400 ¶ added in v0.23.0
func (r UpdateFirstWeekDayResponse) GetJSON400() *BadRequestErrorResponseContent
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdateFirstWeekDayResponse) GetJSON401 ¶ added in v0.23.0
func (r UpdateFirstWeekDayResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateFirstWeekDayResponse) GetJSON500 ¶ added in v0.23.0
func (r UpdateFirstWeekDayResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (UpdateFirstWeekDayResponse) GetJSON503 ¶ added in v0.23.0
func (r UpdateFirstWeekDayResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (UpdateFirstWeekDayResponse) Status ¶ added in v0.23.0
func (r UpdateFirstWeekDayResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateFirstWeekDayResponse) StatusCode ¶ added in v0.23.0
func (r UpdateFirstWeekDayResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateFirstWeekDayResponseContent ¶ added in v0.23.0
type UpdateFirstWeekDayResponseContent = FirstWeekDayPreference
UpdateFirstWeekDayResponseContent defines model for UpdateFirstWeekDayResponseContent.
type UpdateHabitJSONRequestBody ¶ added in v0.4.0
type UpdateHabitJSONRequestBody = HabitRequestContent
UpdateHabitJSONRequestBody defines body for UpdateHabit for application/json ContentType.
type UpdateHabitResponse ¶ added in v0.4.0
type UpdateHabitResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *UpdateHabitResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *UnprocessableEntityErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseUpdateHabitResponse ¶ added in v0.4.0
func ParseUpdateHabitResponse(rsp *http.Response) (*UpdateHabitResponse, error)
ParseUpdateHabitResponse parses an HTTP response from a UpdateHabitWithResponse call
func (UpdateHabitResponse) ContentType ¶ added in v0.4.0
func (r UpdateHabitResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateHabitResponse) GetBody ¶ added in v0.4.0
func (r UpdateHabitResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateHabitResponse) GetJSON200 ¶ added in v0.4.0
func (r UpdateHabitResponse) GetJSON200() *UpdateHabitResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateHabitResponse) GetJSON401 ¶ added in v0.4.0
func (r UpdateHabitResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateHabitResponse) GetJSON404 ¶ added in v0.4.0
func (r UpdateHabitResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateHabitResponse) GetJSON422 ¶ added in v0.4.0
func (r UpdateHabitResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpdateHabitResponse) GetJSON500 ¶ added in v0.4.0
func (r UpdateHabitResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (UpdateHabitResponse) GetJSON503 ¶ added in v0.4.0
func (r UpdateHabitResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (UpdateHabitResponse) Status ¶ added in v0.4.0
func (r UpdateHabitResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateHabitResponse) StatusCode ¶ added in v0.4.0
func (r UpdateHabitResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateHabitResponseContent ¶ added in v0.4.0
type UpdateHabitResponseContent = Recording
UpdateHabitResponseContent Recording — polymorphic by `type` (CalendarEvent, CalendarTodo, etc.)
type UpdateJournalEntryJSONRequestBody ¶
type UpdateJournalEntryJSONRequestBody = UpdateJournalEntryRequestContent
UpdateJournalEntryJSONRequestBody defines body for UpdateJournalEntry for application/json ContentType.
type UpdateJournalEntryRequestContent ¶
type UpdateJournalEntryRequestContent struct {
CalendarJournalEntry JournalEntryPayload `json:"calendar_journal_entry"`
}
UpdateJournalEntryRequestContent Wire format: {calendar_journal_entry: {content}}
type UpdateJournalEntryResponse ¶
type UpdateJournalEntryResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *UpdateJournalEntryResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *UnprocessableEntityErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseUpdateJournalEntryResponse ¶
func ParseUpdateJournalEntryResponse(rsp *http.Response) (*UpdateJournalEntryResponse, error)
ParseUpdateJournalEntryResponse parses an HTTP response from a UpdateJournalEntryWithResponse call
func (UpdateJournalEntryResponse) ContentType ¶ added in v0.4.0
func (r UpdateJournalEntryResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateJournalEntryResponse) GetBody ¶ added in v0.4.0
func (r UpdateJournalEntryResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateJournalEntryResponse) GetJSON200 ¶ added in v0.4.0
func (r UpdateJournalEntryResponse) GetJSON200() *UpdateJournalEntryResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateJournalEntryResponse) GetJSON401 ¶ added in v0.4.0
func (r UpdateJournalEntryResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateJournalEntryResponse) GetJSON404 ¶ added in v0.4.0
func (r UpdateJournalEntryResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateJournalEntryResponse) GetJSON422 ¶ added in v0.4.0
func (r UpdateJournalEntryResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpdateJournalEntryResponse) GetJSON500 ¶ added in v0.4.0
func (r UpdateJournalEntryResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (UpdateJournalEntryResponse) GetJSON503 ¶ added in v0.4.0
func (r UpdateJournalEntryResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (UpdateJournalEntryResponse) Status ¶
func (r UpdateJournalEntryResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateJournalEntryResponse) StatusCode ¶
func (r UpdateJournalEntryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateJournalEntryResponseContent ¶
type UpdateJournalEntryResponseContent = Recording
UpdateJournalEntryResponseContent Recording — polymorphic by `type` (CalendarEvent, CalendarTodo, etc.)
type UpdateMessageJSONRequestBody ¶ added in v0.22.0
type UpdateMessageJSONRequestBody = CreateMessageRequestContent
UpdateMessageJSONRequestBody defines body for UpdateMessage for application/json ContentType.
type UpdateMessageResponse ¶ added in v0.22.0
type UpdateMessageResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *UnprocessableEntityErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseUpdateMessageResponse ¶ added in v0.22.0
func ParseUpdateMessageResponse(rsp *http.Response) (*UpdateMessageResponse, error)
ParseUpdateMessageResponse parses an HTTP response from a UpdateMessageWithResponse call
func (UpdateMessageResponse) ContentType ¶ added in v0.22.0
func (r UpdateMessageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateMessageResponse) GetBody ¶ added in v0.22.0
func (r UpdateMessageResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateMessageResponse) GetJSON401 ¶ added in v0.22.0
func (r UpdateMessageResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateMessageResponse) GetJSON404 ¶ added in v0.22.0
func (r UpdateMessageResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateMessageResponse) GetJSON422 ¶ added in v0.22.0
func (r UpdateMessageResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpdateMessageResponse) GetJSON500 ¶ added in v0.22.0
func (r UpdateMessageResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (UpdateMessageResponse) GetJSON503 ¶ added in v0.22.0
func (r UpdateMessageResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (UpdateMessageResponse) Status ¶ added in v0.22.0
func (r UpdateMessageResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateMessageResponse) StatusCode ¶ added in v0.22.0
func (r UpdateMessageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateMyClearanceJSONRequestBody ¶ added in v0.7.0
type UpdateMyClearanceJSONRequestBody = UpdateMyClearanceRequestContent
UpdateMyClearanceJSONRequestBody defines body for UpdateMyClearance for application/json ContentType.
type UpdateMyClearanceRequestContent ¶ added in v0.7.0
type UpdateMyClearanceRequestContent struct {
Status string `json:"status"`
}
UpdateMyClearanceRequestContent defines model for UpdateMyClearanceRequestContent.
type UpdateMyClearanceResponse ¶ added in v0.7.0
type UpdateMyClearanceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *UpdateMyClearanceResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ForbiddenErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseUpdateMyClearanceResponse ¶ added in v0.7.0
func ParseUpdateMyClearanceResponse(rsp *http.Response) (*UpdateMyClearanceResponse, error)
ParseUpdateMyClearanceResponse parses an HTTP response from a UpdateMyClearanceWithResponse call
func (UpdateMyClearanceResponse) ContentType ¶ added in v0.7.0
func (r UpdateMyClearanceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateMyClearanceResponse) GetBody ¶ added in v0.7.0
func (r UpdateMyClearanceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateMyClearanceResponse) GetJSON200 ¶ added in v0.7.0
func (r UpdateMyClearanceResponse) GetJSON200() *UpdateMyClearanceResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateMyClearanceResponse) GetJSON401 ¶ added in v0.7.0
func (r UpdateMyClearanceResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateMyClearanceResponse) GetJSON403 ¶ added in v0.7.0
func (r UpdateMyClearanceResponse) GetJSON403() *ForbiddenErrorResponseContent
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (UpdateMyClearanceResponse) GetJSON404 ¶ added in v0.7.0
func (r UpdateMyClearanceResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateMyClearanceResponse) GetJSON500 ¶ added in v0.7.0
func (r UpdateMyClearanceResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (UpdateMyClearanceResponse) GetJSON503 ¶ added in v0.7.0
func (r UpdateMyClearanceResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (UpdateMyClearanceResponse) Status ¶ added in v0.7.0
func (r UpdateMyClearanceResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateMyClearanceResponse) StatusCode ¶ added in v0.7.0
func (r UpdateMyClearanceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateMyClearanceResponseContent ¶ added in v0.7.0
type UpdateMyClearanceResponseContent = Clearance
UpdateMyClearanceResponseContent Clearance — screening status for a contact
petitioner and most_recent_entry are only filled in by the Screener reads. The contact reads answer a clearance with nothing but its id and status.
type UpdateStickyJSONRequestBody ¶ added in v0.4.0
type UpdateStickyJSONRequestBody = StickyRequestContent
UpdateStickyJSONRequestBody defines body for UpdateSticky for application/json ContentType.
type UpdateStickyResponse ¶ added in v0.4.0
type UpdateStickyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *UpdateStickyResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *UnprocessableEntityErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseUpdateStickyResponse ¶ added in v0.4.0
func ParseUpdateStickyResponse(rsp *http.Response) (*UpdateStickyResponse, error)
ParseUpdateStickyResponse parses an HTTP response from a UpdateStickyWithResponse call
func (UpdateStickyResponse) ContentType ¶ added in v0.4.0
func (r UpdateStickyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateStickyResponse) GetBody ¶ added in v0.4.0
func (r UpdateStickyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateStickyResponse) GetJSON200 ¶ added in v0.4.0
func (r UpdateStickyResponse) GetJSON200() *UpdateStickyResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateStickyResponse) GetJSON401 ¶ added in v0.4.0
func (r UpdateStickyResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateStickyResponse) GetJSON404 ¶ added in v0.4.0
func (r UpdateStickyResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateStickyResponse) GetJSON422 ¶ added in v0.4.0
func (r UpdateStickyResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpdateStickyResponse) GetJSON500 ¶ added in v0.4.0
func (r UpdateStickyResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (UpdateStickyResponse) GetJSON503 ¶ added in v0.4.0
func (r UpdateStickyResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (UpdateStickyResponse) Status ¶ added in v0.4.0
func (r UpdateStickyResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateStickyResponse) StatusCode ¶ added in v0.4.0
func (r UpdateStickyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateStickyResponseContent ¶ added in v0.4.0
type UpdateStickyResponseContent = Sticky
UpdateStickyResponseContent Sticky — a note on the stickies board
type UpdateTimeFormatJSONRequestBody ¶ added in v0.23.0
type UpdateTimeFormatJSONRequestBody = UpdateTimeFormatRequestContent
UpdateTimeFormatJSONRequestBody defines body for UpdateTimeFormat for application/json ContentType.
type UpdateTimeFormatRequestContent ¶ added in v0.23.0
type UpdateTimeFormatRequestContent struct {
TwentyFourHourTimeFormat bool `json:"twenty_four_hour_time_format"`
}
UpdateTimeFormatRequestContent defines model for UpdateTimeFormatRequestContent.
type UpdateTimeFormatResponse ¶ added in v0.23.0
type UpdateTimeFormatResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *UpdateTimeFormatResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseUpdateTimeFormatResponse ¶ added in v0.23.0
func ParseUpdateTimeFormatResponse(rsp *http.Response) (*UpdateTimeFormatResponse, error)
ParseUpdateTimeFormatResponse parses an HTTP response from a UpdateTimeFormatWithResponse call
func (UpdateTimeFormatResponse) ContentType ¶ added in v0.23.0
func (r UpdateTimeFormatResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateTimeFormatResponse) GetBody ¶ added in v0.23.0
func (r UpdateTimeFormatResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateTimeFormatResponse) GetJSON200 ¶ added in v0.23.0
func (r UpdateTimeFormatResponse) GetJSON200() *UpdateTimeFormatResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateTimeFormatResponse) GetJSON401 ¶ added in v0.23.0
func (r UpdateTimeFormatResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateTimeFormatResponse) GetJSON500 ¶ added in v0.23.0
func (r UpdateTimeFormatResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (UpdateTimeFormatResponse) GetJSON503 ¶ added in v0.23.0
func (r UpdateTimeFormatResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (UpdateTimeFormatResponse) Status ¶ added in v0.23.0
func (r UpdateTimeFormatResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateTimeFormatResponse) StatusCode ¶ added in v0.23.0
func (r UpdateTimeFormatResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateTimeFormatResponseContent ¶ added in v0.23.0
type UpdateTimeFormatResponseContent = TimeFormatPreference
UpdateTimeFormatResponseContent defines model for UpdateTimeFormatResponseContent.
type UpdateTimeTrackJSONRequestBody ¶
type UpdateTimeTrackJSONRequestBody = UpdateTimeTrackRequestContent
UpdateTimeTrackJSONRequestBody defines body for UpdateTimeTrack for application/json ContentType.
type UpdateTimeTrackPayload ¶ added in v0.2.0
type UpdateTimeTrackPayload struct {
// Category Ignored by the server, which reads category_title instead. Kept for
// compatibility only.
Category string `json:"category,omitempty"`
// CategoryTitle Files the track under this category, creating the category if HEY does not
// have one by that name. Blank is a no-op, not a way to clear the category:
// once filed, a track can only be moved to another category, or left where it
// is by deleting the category itself.
CategoryTitle string `json:"category_title,omitempty"`
// EndsAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
EndsAt *time.Time `json:"ends_at,omitempty,omitzero"`
Notes string `json:"notes,omitempty"`
// StartsAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
StartsAt *time.Time `json:"starts_at,omitempty,omitzero"`
// Title Ignored by the server. A time track's title is the constant "Time Track";
// HEY dropped per-track titles in 2023. Kept for compatibility only.
Title string `json:"title,omitempty"`
}
UpdateTimeTrackPayload defines model for UpdateTimeTrackPayload.
type UpdateTimeTrackRequestContent ¶
type UpdateTimeTrackRequestContent struct {
CalendarTimeTrack UpdateTimeTrackPayload `json:"calendar_time_track"`
}
UpdateTimeTrackRequestContent Wire format: {calendar_time_track: {notes, category_title, starts_at, ends_at}}
type UpdateTimeTrackResponse ¶
type UpdateTimeTrackResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *UpdateTimeTrackResponseContent
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *BadRequestErrorResponseContent
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *UnauthorizedErrorResponseContent
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFoundErrorResponseContent
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *UnprocessableEntityErrorResponseContent
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *InternalServerErrorResponseContent
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ServiceUnavailableErrorResponseContent
}
func ParseUpdateTimeTrackResponse ¶
func ParseUpdateTimeTrackResponse(rsp *http.Response) (*UpdateTimeTrackResponse, error)
ParseUpdateTimeTrackResponse parses an HTTP response from a UpdateTimeTrackWithResponse call
func (UpdateTimeTrackResponse) ContentType ¶ added in v0.4.0
func (r UpdateTimeTrackResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateTimeTrackResponse) GetBody ¶ added in v0.4.0
func (r UpdateTimeTrackResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateTimeTrackResponse) GetJSON200 ¶ added in v0.4.0
func (r UpdateTimeTrackResponse) GetJSON200() *UpdateTimeTrackResponseContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateTimeTrackResponse) GetJSON400 ¶ added in v0.20.0
func (r UpdateTimeTrackResponse) GetJSON400() *BadRequestErrorResponseContent
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdateTimeTrackResponse) GetJSON401 ¶ added in v0.4.0
func (r UpdateTimeTrackResponse) GetJSON401() *UnauthorizedErrorResponseContent
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateTimeTrackResponse) GetJSON404 ¶ added in v0.4.0
func (r UpdateTimeTrackResponse) GetJSON404() *NotFoundErrorResponseContent
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateTimeTrackResponse) GetJSON422 ¶ added in v0.4.0
func (r UpdateTimeTrackResponse) GetJSON422() *UnprocessableEntityErrorResponseContent
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpdateTimeTrackResponse) GetJSON500 ¶ added in v0.4.0
func (r UpdateTimeTrackResponse) GetJSON500() *InternalServerErrorResponseContent
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (UpdateTimeTrackResponse) GetJSON503 ¶ added in v0.4.0
func (r UpdateTimeTrackResponse) GetJSON503() *ServiceUnavailableErrorResponseContent
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (UpdateTimeTrackResponse) Status ¶
func (r UpdateTimeTrackResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateTimeTrackResponse) StatusCode ¶
func (r UpdateTimeTrackResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateTimeTrackResponseContent ¶
type UpdateTimeTrackResponseContent = Recording
UpdateTimeTrackResponseContent Recording — polymorphic by `type` (CalendarEvent, CalendarTodo, etc.)
type UpdatesChannel ¶
type UpdatesChannel struct {
SignedStreamName string `json:"signed_stream_name,omitempty"`
}
UpdatesChannel UpdatesChannel — streaming channel for a box
type UploadsService ¶
type UploadsService struct {
// contains filtered or unexported fields
}
UploadsService provides upload-related operations.
type User ¶
type User struct {
AccountId int64 `json:"account_id,omitempty"`
AccountPurposeIconUrl string `json:"account_purpose_icon_url,omitempty"`
AutoResponder bool `json:"auto_responder,omitempty"`
// Contact Contact — the identity of someone in HEY
Contact Contact `json:"contact,omitempty"`
ExternalAccounts []ExternalAccount `json:"external_accounts,omitempty"`
Id int64 `json:"id"`
}
User User — a user within an account
type VaultsService ¶
type VaultsService struct {
// contains filtered or unexported fields
}
VaultsService provides vault-related operations.
type WebhooksService ¶
type WebhooksService struct {
// contains filtered or unexported fields
}
WebhooksService provides webhook-related operations.
type Workflow ¶
type Workflow struct {
AppUrl string `json:"app_url,omitempty"`
// CreatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
CreatedAt time.Time `json:"created_at,omitempty,omitzero"`
Id int64 `json:"id"`
Name string `json:"name,omitempty"`
// Stages The workflow's stages in position order. Present on GetWorkflow.
Stages []WorkflowStage `json:"stages,omitempty"`
// UpdatedAt ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
UpdatedAt time.Time `json:"updated_at,omitempty,omitzero"`
}
Workflow Workflow — email workflow/label
type WorkflowStage ¶ added in v0.4.0
WorkflowStage defines model for WorkflowStage.
type WorkflowStagingPayload ¶ added in v0.12.0
type WorkflowStagingPayload struct {
WorkflowStageId int64 `json:"workflow_stage_id"`
}
WorkflowStagingPayload defines model for WorkflowStagingPayload.