outline

package module
v0.0.0-...-a0c10ec Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2024 License: MIT Imports: 10 Imported by: 2

README

outline-wiki-sdk

outline wiki对应的客户端sdk golang包

sdk 生成

生成工具: oapi-codegen 接口文档: outline wiki api

Usage

安装: go get -u github.com/baiyz0825/outline-wiki-sdk

Documentation

Overview

Package outline provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.3.0 DO NOT EDIT.

Index

Constants

View Source
const (
	HttpScopes = "http.Scopes"
)

Variables

This section is empty.

Functions

func NewPostAttachmentsCreateRequest

func NewPostAttachmentsCreateRequest(server string, body PostAttachmentsCreateJSONRequestBody) (*http.Request, error)

NewPostAttachmentsCreateRequest calls the generic PostAttachmentsCreate builder with application/json body

func NewPostAttachmentsCreateRequestWithBody

func NewPostAttachmentsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostAttachmentsCreateRequestWithBody generates requests for PostAttachmentsCreate with any type of body

func NewPostAttachmentsDeleteRequest

func NewPostAttachmentsDeleteRequest(server string, body PostAttachmentsDeleteJSONRequestBody) (*http.Request, error)

NewPostAttachmentsDeleteRequest calls the generic PostAttachmentsDelete builder with application/json body

func NewPostAttachmentsDeleteRequestWithBody

func NewPostAttachmentsDeleteRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostAttachmentsDeleteRequestWithBody generates requests for PostAttachmentsDelete with any type of body

func NewPostAttachmentsRedirectRequest

func NewPostAttachmentsRedirectRequest(server string, body PostAttachmentsRedirectJSONRequestBody) (*http.Request, error)

NewPostAttachmentsRedirectRequest calls the generic PostAttachmentsRedirect builder with application/json body

func NewPostAttachmentsRedirectRequestWithBody

func NewPostAttachmentsRedirectRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostAttachmentsRedirectRequestWithBody generates requests for PostAttachmentsRedirect with any type of body

func NewPostAuthConfigRequest

func NewPostAuthConfigRequest(server string) (*http.Request, error)

NewPostAuthConfigRequest generates requests for PostAuthConfig

func NewPostAuthInfoRequest

func NewPostAuthInfoRequest(server string) (*http.Request, error)

NewPostAuthInfoRequest generates requests for PostAuthInfo

func NewPostCollectionsAddGroupRequest

func NewPostCollectionsAddGroupRequest(server string, body PostCollectionsAddGroupJSONRequestBody) (*http.Request, error)

NewPostCollectionsAddGroupRequest calls the generic PostCollectionsAddGroup builder with application/json body

func NewPostCollectionsAddGroupRequestWithBody

func NewPostCollectionsAddGroupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostCollectionsAddGroupRequestWithBody generates requests for PostCollectionsAddGroup with any type of body

func NewPostCollectionsAddUserRequest

func NewPostCollectionsAddUserRequest(server string, body PostCollectionsAddUserJSONRequestBody) (*http.Request, error)

NewPostCollectionsAddUserRequest calls the generic PostCollectionsAddUser builder with application/json body

func NewPostCollectionsAddUserRequestWithBody

func NewPostCollectionsAddUserRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostCollectionsAddUserRequestWithBody generates requests for PostCollectionsAddUser with any type of body

func NewPostCollectionsCreateRequest

func NewPostCollectionsCreateRequest(server string, body PostCollectionsCreateJSONRequestBody) (*http.Request, error)

NewPostCollectionsCreateRequest calls the generic PostCollectionsCreate builder with application/json body

func NewPostCollectionsCreateRequestWithBody

func NewPostCollectionsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostCollectionsCreateRequestWithBody generates requests for PostCollectionsCreate with any type of body

func NewPostCollectionsDeleteRequest

func NewPostCollectionsDeleteRequest(server string, body PostCollectionsDeleteJSONRequestBody) (*http.Request, error)

NewPostCollectionsDeleteRequest calls the generic PostCollectionsDelete builder with application/json body

func NewPostCollectionsDeleteRequestWithBody

func NewPostCollectionsDeleteRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostCollectionsDeleteRequestWithBody generates requests for PostCollectionsDelete with any type of body

func NewPostCollectionsDocumentsRequest

func NewPostCollectionsDocumentsRequest(server string, body PostCollectionsDocumentsJSONRequestBody) (*http.Request, error)

NewPostCollectionsDocumentsRequest calls the generic PostCollectionsDocuments builder with application/json body

func NewPostCollectionsDocumentsRequestWithBody

func NewPostCollectionsDocumentsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostCollectionsDocumentsRequestWithBody generates requests for PostCollectionsDocuments with any type of body

func NewPostCollectionsExportAllRequest

func NewPostCollectionsExportAllRequest(server string, body PostCollectionsExportAllJSONRequestBody) (*http.Request, error)

NewPostCollectionsExportAllRequest calls the generic PostCollectionsExportAll builder with application/json body

func NewPostCollectionsExportAllRequestWithBody

func NewPostCollectionsExportAllRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostCollectionsExportAllRequestWithBody generates requests for PostCollectionsExportAll with any type of body

func NewPostCollectionsExportRequest

func NewPostCollectionsExportRequest(server string, body PostCollectionsExportJSONRequestBody) (*http.Request, error)

NewPostCollectionsExportRequest calls the generic PostCollectionsExport builder with application/json body

func NewPostCollectionsExportRequestWithBody

func NewPostCollectionsExportRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostCollectionsExportRequestWithBody generates requests for PostCollectionsExport with any type of body

func NewPostCollectionsGroupMembershipsRequest

func NewPostCollectionsGroupMembershipsRequest(server string, body PostCollectionsGroupMembershipsJSONRequestBody) (*http.Request, error)

NewPostCollectionsGroupMembershipsRequest calls the generic PostCollectionsGroupMemberships builder with application/json body

func NewPostCollectionsGroupMembershipsRequestWithBody

func NewPostCollectionsGroupMembershipsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostCollectionsGroupMembershipsRequestWithBody generates requests for PostCollectionsGroupMemberships with any type of body

func NewPostCollectionsInfoRequest

func NewPostCollectionsInfoRequest(server string, body PostCollectionsInfoJSONRequestBody) (*http.Request, error)

NewPostCollectionsInfoRequest calls the generic PostCollectionsInfo builder with application/json body

func NewPostCollectionsInfoRequestWithBody

func NewPostCollectionsInfoRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostCollectionsInfoRequestWithBody generates requests for PostCollectionsInfo with any type of body

func NewPostCollectionsListRequest

func NewPostCollectionsListRequest(server string, body PostCollectionsListJSONRequestBody) (*http.Request, error)

NewPostCollectionsListRequest calls the generic PostCollectionsList builder with application/json body

func NewPostCollectionsListRequestWithBody

func NewPostCollectionsListRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostCollectionsListRequestWithBody generates requests for PostCollectionsList with any type of body

func NewPostCollectionsMembershipsRequest

func NewPostCollectionsMembershipsRequest(server string, body PostCollectionsMembershipsJSONRequestBody) (*http.Request, error)

NewPostCollectionsMembershipsRequest calls the generic PostCollectionsMemberships builder with application/json body

func NewPostCollectionsMembershipsRequestWithBody

func NewPostCollectionsMembershipsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostCollectionsMembershipsRequestWithBody generates requests for PostCollectionsMemberships with any type of body

func NewPostCollectionsRemoveGroupRequest

func NewPostCollectionsRemoveGroupRequest(server string, body PostCollectionsRemoveGroupJSONRequestBody) (*http.Request, error)

NewPostCollectionsRemoveGroupRequest calls the generic PostCollectionsRemoveGroup builder with application/json body

func NewPostCollectionsRemoveGroupRequestWithBody

func NewPostCollectionsRemoveGroupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostCollectionsRemoveGroupRequestWithBody generates requests for PostCollectionsRemoveGroup with any type of body

func NewPostCollectionsRemoveUserRequest

func NewPostCollectionsRemoveUserRequest(server string, body PostCollectionsRemoveUserJSONRequestBody) (*http.Request, error)

NewPostCollectionsRemoveUserRequest calls the generic PostCollectionsRemoveUser builder with application/json body

func NewPostCollectionsRemoveUserRequestWithBody

func NewPostCollectionsRemoveUserRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostCollectionsRemoveUserRequestWithBody generates requests for PostCollectionsRemoveUser with any type of body

func NewPostCollectionsUpdateRequest

func NewPostCollectionsUpdateRequest(server string, body PostCollectionsUpdateJSONRequestBody) (*http.Request, error)

NewPostCollectionsUpdateRequest calls the generic PostCollectionsUpdate builder with application/json body

func NewPostCollectionsUpdateRequestWithBody

func NewPostCollectionsUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostCollectionsUpdateRequestWithBody generates requests for PostCollectionsUpdate with any type of body

func NewPostCommentsCreateRequest

func NewPostCommentsCreateRequest(server string, body PostCommentsCreateJSONRequestBody) (*http.Request, error)

NewPostCommentsCreateRequest calls the generic PostCommentsCreate builder with application/json body

func NewPostCommentsCreateRequestWithBody

func NewPostCommentsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostCommentsCreateRequestWithBody generates requests for PostCommentsCreate with any type of body

func NewPostCommentsDeleteRequest

func NewPostCommentsDeleteRequest(server string, body PostCommentsDeleteJSONRequestBody) (*http.Request, error)

NewPostCommentsDeleteRequest calls the generic PostCommentsDelete builder with application/json body

func NewPostCommentsDeleteRequestWithBody

func NewPostCommentsDeleteRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostCommentsDeleteRequestWithBody generates requests for PostCommentsDelete with any type of body

func NewPostCommentsListRequest

func NewPostCommentsListRequest(server string, body PostCommentsListJSONRequestBody) (*http.Request, error)

NewPostCommentsListRequest calls the generic PostCommentsList builder with application/json body

func NewPostCommentsListRequestWithBody

func NewPostCommentsListRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostCommentsListRequestWithBody generates requests for PostCommentsList with any type of body

func NewPostCommentsUpdateRequest

func NewPostCommentsUpdateRequest(server string, body PostCommentsUpdateJSONRequestBody) (*http.Request, error)

NewPostCommentsUpdateRequest calls the generic PostCommentsUpdate builder with application/json body

func NewPostCommentsUpdateRequestWithBody

func NewPostCommentsUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostCommentsUpdateRequestWithBody generates requests for PostCommentsUpdate with any type of body

func NewPostDocumentsAddUserRequest

func NewPostDocumentsAddUserRequest(server string, body PostDocumentsAddUserJSONRequestBody) (*http.Request, error)

NewPostDocumentsAddUserRequest calls the generic PostDocumentsAddUser builder with application/json body

func NewPostDocumentsAddUserRequestWithBody

func NewPostDocumentsAddUserRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostDocumentsAddUserRequestWithBody generates requests for PostDocumentsAddUser with any type of body

func NewPostDocumentsArchiveRequest

func NewPostDocumentsArchiveRequest(server string, body PostDocumentsArchiveJSONRequestBody) (*http.Request, error)

NewPostDocumentsArchiveRequest calls the generic PostDocumentsArchive builder with application/json body

func NewPostDocumentsArchiveRequestWithBody

func NewPostDocumentsArchiveRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostDocumentsArchiveRequestWithBody generates requests for PostDocumentsArchive with any type of body

func NewPostDocumentsCreateRequest

func NewPostDocumentsCreateRequest(server string, body PostDocumentsCreateJSONRequestBody) (*http.Request, error)

NewPostDocumentsCreateRequest calls the generic PostDocumentsCreate builder with application/json body

func NewPostDocumentsCreateRequestWithBody

func NewPostDocumentsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostDocumentsCreateRequestWithBody generates requests for PostDocumentsCreate with any type of body

func NewPostDocumentsDeleteRequest

func NewPostDocumentsDeleteRequest(server string, body PostDocumentsDeleteJSONRequestBody) (*http.Request, error)

NewPostDocumentsDeleteRequest calls the generic PostDocumentsDelete builder with application/json body

func NewPostDocumentsDeleteRequestWithBody

func NewPostDocumentsDeleteRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostDocumentsDeleteRequestWithBody generates requests for PostDocumentsDelete with any type of body

func NewPostDocumentsDraftsRequest

func NewPostDocumentsDraftsRequest(server string, body PostDocumentsDraftsJSONRequestBody) (*http.Request, error)

NewPostDocumentsDraftsRequest calls the generic PostDocumentsDrafts builder with application/json body

func NewPostDocumentsDraftsRequestWithBody

func NewPostDocumentsDraftsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostDocumentsDraftsRequestWithBody generates requests for PostDocumentsDrafts with any type of body

func NewPostDocumentsExportRequest

func NewPostDocumentsExportRequest(server string, body PostDocumentsExportJSONRequestBody) (*http.Request, error)

NewPostDocumentsExportRequest calls the generic PostDocumentsExport builder with application/json body

func NewPostDocumentsExportRequestWithBody

func NewPostDocumentsExportRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostDocumentsExportRequestWithBody generates requests for PostDocumentsExport with any type of body

func NewPostDocumentsImportRequestWithBody

func NewPostDocumentsImportRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostDocumentsImportRequestWithBody generates requests for PostDocumentsImport with any type of body

func NewPostDocumentsInfoRequest

func NewPostDocumentsInfoRequest(server string, body PostDocumentsInfoJSONRequestBody) (*http.Request, error)

NewPostDocumentsInfoRequest calls the generic PostDocumentsInfo builder with application/json body

func NewPostDocumentsInfoRequestWithBody

func NewPostDocumentsInfoRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostDocumentsInfoRequestWithBody generates requests for PostDocumentsInfo with any type of body

func NewPostDocumentsListRequest

func NewPostDocumentsListRequest(server string, body PostDocumentsListJSONRequestBody) (*http.Request, error)

NewPostDocumentsListRequest calls the generic PostDocumentsList builder with application/json body

func NewPostDocumentsListRequestWithBody

func NewPostDocumentsListRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostDocumentsListRequestWithBody generates requests for PostDocumentsList with any type of body

func NewPostDocumentsMembershipsRequest

func NewPostDocumentsMembershipsRequest(server string, body PostDocumentsMembershipsJSONRequestBody) (*http.Request, error)

NewPostDocumentsMembershipsRequest calls the generic PostDocumentsMemberships builder with application/json body

func NewPostDocumentsMembershipsRequestWithBody

func NewPostDocumentsMembershipsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostDocumentsMembershipsRequestWithBody generates requests for PostDocumentsMemberships with any type of body

func NewPostDocumentsMoveRequest

func NewPostDocumentsMoveRequest(server string, body PostDocumentsMoveJSONRequestBody) (*http.Request, error)

NewPostDocumentsMoveRequest calls the generic PostDocumentsMove builder with application/json body

func NewPostDocumentsMoveRequestWithBody

func NewPostDocumentsMoveRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostDocumentsMoveRequestWithBody generates requests for PostDocumentsMove with any type of body

func NewPostDocumentsRemoveUserRequest

func NewPostDocumentsRemoveUserRequest(server string, body PostDocumentsRemoveUserJSONRequestBody) (*http.Request, error)

NewPostDocumentsRemoveUserRequest calls the generic PostDocumentsRemoveUser builder with application/json body

func NewPostDocumentsRemoveUserRequestWithBody

func NewPostDocumentsRemoveUserRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostDocumentsRemoveUserRequestWithBody generates requests for PostDocumentsRemoveUser with any type of body

func NewPostDocumentsRestoreRequest

func NewPostDocumentsRestoreRequest(server string, body PostDocumentsRestoreJSONRequestBody) (*http.Request, error)

NewPostDocumentsRestoreRequest calls the generic PostDocumentsRestore builder with application/json body

func NewPostDocumentsRestoreRequestWithBody

func NewPostDocumentsRestoreRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostDocumentsRestoreRequestWithBody generates requests for PostDocumentsRestore with any type of body

func NewPostDocumentsSearchRequest

func NewPostDocumentsSearchRequest(server string, body PostDocumentsSearchJSONRequestBody) (*http.Request, error)

NewPostDocumentsSearchRequest calls the generic PostDocumentsSearch builder with application/json body

func NewPostDocumentsSearchRequestWithBody

func NewPostDocumentsSearchRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostDocumentsSearchRequestWithBody generates requests for PostDocumentsSearch with any type of body

func NewPostDocumentsStarRequest

func NewPostDocumentsStarRequest(server string, body PostDocumentsStarJSONRequestBody) (*http.Request, error)

NewPostDocumentsStarRequest calls the generic PostDocumentsStar builder with application/json body

func NewPostDocumentsStarRequestWithBody

func NewPostDocumentsStarRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostDocumentsStarRequestWithBody generates requests for PostDocumentsStar with any type of body

func NewPostDocumentsTemplatizeRequest

func NewPostDocumentsTemplatizeRequest(server string, body PostDocumentsTemplatizeJSONRequestBody) (*http.Request, error)

NewPostDocumentsTemplatizeRequest calls the generic PostDocumentsTemplatize builder with application/json body

func NewPostDocumentsTemplatizeRequestWithBody

func NewPostDocumentsTemplatizeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostDocumentsTemplatizeRequestWithBody generates requests for PostDocumentsTemplatize with any type of body

func NewPostDocumentsUnpublishRequest

func NewPostDocumentsUnpublishRequest(server string, body PostDocumentsUnpublishJSONRequestBody) (*http.Request, error)

NewPostDocumentsUnpublishRequest calls the generic PostDocumentsUnpublish builder with application/json body

func NewPostDocumentsUnpublishRequestWithBody

func NewPostDocumentsUnpublishRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostDocumentsUnpublishRequestWithBody generates requests for PostDocumentsUnpublish with any type of body

func NewPostDocumentsUnstarRequest

func NewPostDocumentsUnstarRequest(server string, body PostDocumentsUnstarJSONRequestBody) (*http.Request, error)

NewPostDocumentsUnstarRequest calls the generic PostDocumentsUnstar builder with application/json body

func NewPostDocumentsUnstarRequestWithBody

func NewPostDocumentsUnstarRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostDocumentsUnstarRequestWithBody generates requests for PostDocumentsUnstar with any type of body

func NewPostDocumentsUpdateRequest

func NewPostDocumentsUpdateRequest(server string, body PostDocumentsUpdateJSONRequestBody) (*http.Request, error)

NewPostDocumentsUpdateRequest calls the generic PostDocumentsUpdate builder with application/json body

func NewPostDocumentsUpdateRequestWithBody

func NewPostDocumentsUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostDocumentsUpdateRequestWithBody generates requests for PostDocumentsUpdate with any type of body

func NewPostDocumentsUsersRequest

func NewPostDocumentsUsersRequest(server string, body PostDocumentsUsersJSONRequestBody) (*http.Request, error)

NewPostDocumentsUsersRequest calls the generic PostDocumentsUsers builder with application/json body

func NewPostDocumentsUsersRequestWithBody

func NewPostDocumentsUsersRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostDocumentsUsersRequestWithBody generates requests for PostDocumentsUsers with any type of body

func NewPostDocumentsViewedRequest

func NewPostDocumentsViewedRequest(server string, body PostDocumentsViewedJSONRequestBody) (*http.Request, error)

NewPostDocumentsViewedRequest calls the generic PostDocumentsViewed builder with application/json body

func NewPostDocumentsViewedRequestWithBody

func NewPostDocumentsViewedRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostDocumentsViewedRequestWithBody generates requests for PostDocumentsViewed with any type of body

func NewPostEventsListRequest

func NewPostEventsListRequest(server string, body PostEventsListJSONRequestBody) (*http.Request, error)

NewPostEventsListRequest calls the generic PostEventsList builder with application/json body

func NewPostEventsListRequestWithBody

func NewPostEventsListRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostEventsListRequestWithBody generates requests for PostEventsList with any type of body

func NewPostFileOperationsDeleteRequest

func NewPostFileOperationsDeleteRequest(server string, body PostFileOperationsDeleteJSONRequestBody) (*http.Request, error)

NewPostFileOperationsDeleteRequest calls the generic PostFileOperationsDelete builder with application/json body

func NewPostFileOperationsDeleteRequestWithBody

func NewPostFileOperationsDeleteRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostFileOperationsDeleteRequestWithBody generates requests for PostFileOperationsDelete with any type of body

func NewPostFileOperationsInfoRequest

func NewPostFileOperationsInfoRequest(server string, body PostFileOperationsInfoJSONRequestBody) (*http.Request, error)

NewPostFileOperationsInfoRequest calls the generic PostFileOperationsInfo builder with application/json body

func NewPostFileOperationsInfoRequestWithBody

func NewPostFileOperationsInfoRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostFileOperationsInfoRequestWithBody generates requests for PostFileOperationsInfo with any type of body

func NewPostFileOperationsListRequest

func NewPostFileOperationsListRequest(server string, body PostFileOperationsListJSONRequestBody) (*http.Request, error)

NewPostFileOperationsListRequest calls the generic PostFileOperationsList builder with application/json body

func NewPostFileOperationsListRequestWithBody

func NewPostFileOperationsListRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostFileOperationsListRequestWithBody generates requests for PostFileOperationsList with any type of body

func NewPostFileOperationsRedirectRequest

func NewPostFileOperationsRedirectRequest(server string, body PostFileOperationsRedirectJSONRequestBody) (*http.Request, error)

NewPostFileOperationsRedirectRequest calls the generic PostFileOperationsRedirect builder with application/json body

func NewPostFileOperationsRedirectRequestWithBody

func NewPostFileOperationsRedirectRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostFileOperationsRedirectRequestWithBody generates requests for PostFileOperationsRedirect with any type of body

func NewPostGroupsAddUserRequest

func NewPostGroupsAddUserRequest(server string, body PostGroupsAddUserJSONRequestBody) (*http.Request, error)

NewPostGroupsAddUserRequest calls the generic PostGroupsAddUser builder with application/json body

func NewPostGroupsAddUserRequestWithBody

func NewPostGroupsAddUserRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostGroupsAddUserRequestWithBody generates requests for PostGroupsAddUser with any type of body

func NewPostGroupsCreateRequest

func NewPostGroupsCreateRequest(server string, body PostGroupsCreateJSONRequestBody) (*http.Request, error)

NewPostGroupsCreateRequest calls the generic PostGroupsCreate builder with application/json body

func NewPostGroupsCreateRequestWithBody

func NewPostGroupsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostGroupsCreateRequestWithBody generates requests for PostGroupsCreate with any type of body

func NewPostGroupsDeleteRequest

func NewPostGroupsDeleteRequest(server string, body PostGroupsDeleteJSONRequestBody) (*http.Request, error)

NewPostGroupsDeleteRequest calls the generic PostGroupsDelete builder with application/json body

func NewPostGroupsDeleteRequestWithBody

func NewPostGroupsDeleteRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostGroupsDeleteRequestWithBody generates requests for PostGroupsDelete with any type of body

func NewPostGroupsInfoRequest

func NewPostGroupsInfoRequest(server string, body PostGroupsInfoJSONRequestBody) (*http.Request, error)

NewPostGroupsInfoRequest calls the generic PostGroupsInfo builder with application/json body

func NewPostGroupsInfoRequestWithBody

func NewPostGroupsInfoRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostGroupsInfoRequestWithBody generates requests for PostGroupsInfo with any type of body

func NewPostGroupsListRequest

func NewPostGroupsListRequest(server string, body PostGroupsListJSONRequestBody) (*http.Request, error)

NewPostGroupsListRequest calls the generic PostGroupsList builder with application/json body

func NewPostGroupsListRequestWithBody

func NewPostGroupsListRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostGroupsListRequestWithBody generates requests for PostGroupsList with any type of body

func NewPostGroupsMembershipsRequest

func NewPostGroupsMembershipsRequest(server string, body PostGroupsMembershipsJSONRequestBody) (*http.Request, error)

NewPostGroupsMembershipsRequest calls the generic PostGroupsMemberships builder with application/json body

func NewPostGroupsMembershipsRequestWithBody

func NewPostGroupsMembershipsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostGroupsMembershipsRequestWithBody generates requests for PostGroupsMemberships with any type of body

func NewPostGroupsRemoveUserRequest

func NewPostGroupsRemoveUserRequest(server string, body PostGroupsRemoveUserJSONRequestBody) (*http.Request, error)

NewPostGroupsRemoveUserRequest calls the generic PostGroupsRemoveUser builder with application/json body

func NewPostGroupsRemoveUserRequestWithBody

func NewPostGroupsRemoveUserRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostGroupsRemoveUserRequestWithBody generates requests for PostGroupsRemoveUser with any type of body

func NewPostGroupsUpdateRequest

func NewPostGroupsUpdateRequest(server string, body PostGroupsUpdateJSONRequestBody) (*http.Request, error)

NewPostGroupsUpdateRequest calls the generic PostGroupsUpdate builder with application/json body

func NewPostGroupsUpdateRequestWithBody

func NewPostGroupsUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostGroupsUpdateRequestWithBody generates requests for PostGroupsUpdate with any type of body

func NewPostRevisionsInfoRequest

func NewPostRevisionsInfoRequest(server string, body PostRevisionsInfoJSONRequestBody) (*http.Request, error)

NewPostRevisionsInfoRequest calls the generic PostRevisionsInfo builder with application/json body

func NewPostRevisionsInfoRequestWithBody

func NewPostRevisionsInfoRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostRevisionsInfoRequestWithBody generates requests for PostRevisionsInfo with any type of body

func NewPostRevisionsListRequest

func NewPostRevisionsListRequest(server string, body PostRevisionsListJSONRequestBody) (*http.Request, error)

NewPostRevisionsListRequest calls the generic PostRevisionsList builder with application/json body

func NewPostRevisionsListRequestWithBody

func NewPostRevisionsListRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostRevisionsListRequestWithBody generates requests for PostRevisionsList with any type of body

func NewPostSharesCreateRequest

func NewPostSharesCreateRequest(server string, body PostSharesCreateJSONRequestBody) (*http.Request, error)

NewPostSharesCreateRequest calls the generic PostSharesCreate builder with application/json body

func NewPostSharesCreateRequestWithBody

func NewPostSharesCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostSharesCreateRequestWithBody generates requests for PostSharesCreate with any type of body

func NewPostSharesInfoRequest

func NewPostSharesInfoRequest(server string, body PostSharesInfoJSONRequestBody) (*http.Request, error)

NewPostSharesInfoRequest calls the generic PostSharesInfo builder with application/json body

func NewPostSharesInfoRequestWithBody

func NewPostSharesInfoRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostSharesInfoRequestWithBody generates requests for PostSharesInfo with any type of body

func NewPostSharesListRequest

func NewPostSharesListRequest(server string, body PostSharesListJSONRequestBody) (*http.Request, error)

NewPostSharesListRequest calls the generic PostSharesList builder with application/json body

func NewPostSharesListRequestWithBody

func NewPostSharesListRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostSharesListRequestWithBody generates requests for PostSharesList with any type of body

func NewPostSharesRevokeRequest

func NewPostSharesRevokeRequest(server string, body PostSharesRevokeJSONRequestBody) (*http.Request, error)

NewPostSharesRevokeRequest calls the generic PostSharesRevoke builder with application/json body

func NewPostSharesRevokeRequestWithBody

func NewPostSharesRevokeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostSharesRevokeRequestWithBody generates requests for PostSharesRevoke with any type of body

func NewPostSharesUpdateRequest

func NewPostSharesUpdateRequest(server string, body PostSharesUpdateJSONRequestBody) (*http.Request, error)

NewPostSharesUpdateRequest calls the generic PostSharesUpdate builder with application/json body

func NewPostSharesUpdateRequestWithBody

func NewPostSharesUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostSharesUpdateRequestWithBody generates requests for PostSharesUpdate with any type of body

func NewPostUsersActivateRequest

func NewPostUsersActivateRequest(server string, body PostUsersActivateJSONRequestBody) (*http.Request, error)

NewPostUsersActivateRequest calls the generic PostUsersActivate builder with application/json body

func NewPostUsersActivateRequestWithBody

func NewPostUsersActivateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostUsersActivateRequestWithBody generates requests for PostUsersActivate with any type of body

func NewPostUsersDeleteRequest

func NewPostUsersDeleteRequest(server string, body PostUsersDeleteJSONRequestBody) (*http.Request, error)

NewPostUsersDeleteRequest calls the generic PostUsersDelete builder with application/json body

func NewPostUsersDeleteRequestWithBody

func NewPostUsersDeleteRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostUsersDeleteRequestWithBody generates requests for PostUsersDelete with any type of body

func NewPostUsersInfoRequest

func NewPostUsersInfoRequest(server string, body PostUsersInfoJSONRequestBody) (*http.Request, error)

NewPostUsersInfoRequest calls the generic PostUsersInfo builder with application/json body

func NewPostUsersInfoRequestWithBody

func NewPostUsersInfoRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostUsersInfoRequestWithBody generates requests for PostUsersInfo with any type of body

func NewPostUsersInviteRequest

func NewPostUsersInviteRequest(server string, body PostUsersInviteJSONRequestBody) (*http.Request, error)

NewPostUsersInviteRequest calls the generic PostUsersInvite builder with application/json body

func NewPostUsersInviteRequestWithBody

func NewPostUsersInviteRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostUsersInviteRequestWithBody generates requests for PostUsersInvite with any type of body

func NewPostUsersListRequest

func NewPostUsersListRequest(server string, body PostUsersListJSONRequestBody) (*http.Request, error)

NewPostUsersListRequest calls the generic PostUsersList builder with application/json body

func NewPostUsersListRequestWithBody

func NewPostUsersListRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostUsersListRequestWithBody generates requests for PostUsersList with any type of body

func NewPostUsersSuspendRequest

func NewPostUsersSuspendRequest(server string, body PostUsersSuspendJSONRequestBody) (*http.Request, error)

NewPostUsersSuspendRequest calls the generic PostUsersSuspend builder with application/json body

func NewPostUsersSuspendRequestWithBody

func NewPostUsersSuspendRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostUsersSuspendRequestWithBody generates requests for PostUsersSuspend with any type of body

func NewPostUsersUpdateRequest

func NewPostUsersUpdateRequest(server string, body PostUsersUpdateJSONRequestBody) (*http.Request, error)

NewPostUsersUpdateRequest calls the generic PostUsersUpdate builder with application/json body

func NewPostUsersUpdateRequestWithBody

func NewPostUsersUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostUsersUpdateRequestWithBody generates requests for PostUsersUpdate with any type of body

func NewPostUsersUpdateRoleRequest

func NewPostUsersUpdateRoleRequest(server string, body PostUsersUpdateRoleJSONRequestBody) (*http.Request, error)

NewPostUsersUpdateRoleRequest calls the generic PostUsersUpdateRole builder with application/json body

func NewPostUsersUpdateRoleRequestWithBody

func NewPostUsersUpdateRoleRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostUsersUpdateRoleRequestWithBody generates requests for PostUsersUpdateRole with any type of body

func NewPostViewsCreateRequest

func NewPostViewsCreateRequest(server string, body PostViewsCreateJSONRequestBody) (*http.Request, error)

NewPostViewsCreateRequest calls the generic PostViewsCreate builder with application/json body

func NewPostViewsCreateRequestWithBody

func NewPostViewsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostViewsCreateRequestWithBody generates requests for PostViewsCreate with any type of body

func NewPostViewsListRequest

func NewPostViewsListRequest(server string, body PostViewsListJSONRequestBody) (*http.Request, error)

NewPostViewsListRequest calls the generic PostViewsList builder with application/json body

func NewPostViewsListRequestWithBody

func NewPostViewsListRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostViewsListRequestWithBody generates requests for PostViewsList with any type of body

Types

type Attachment

type Attachment struct {
	ContentType *string `json:"contentType,omitempty"`

	// DocumentId Identifier for the associated document, if any.
	DocumentId *openapi_types.UUID `json:"documentId,omitempty"`
	Name       *string             `json:"name,omitempty"`
	Size       *float32            `json:"size,omitempty"`
	Url        *string             `json:"url,omitempty"`
}

Attachment defines model for Attachment.

type Auth

type Auth struct {
	Team *Team `json:"team,omitempty"`
	User *User `json:"user,omitempty"`
}

Auth defines model for Auth.

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
}

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) PostAttachmentsCreate

func (c *Client) PostAttachmentsCreate(ctx context.Context, body PostAttachmentsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostAttachmentsCreateWithBody

func (c *Client) PostAttachmentsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostAttachmentsDelete

func (c *Client) PostAttachmentsDelete(ctx context.Context, body PostAttachmentsDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostAttachmentsDeleteWithBody

func (c *Client) PostAttachmentsDeleteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostAttachmentsRedirect

func (c *Client) PostAttachmentsRedirect(ctx context.Context, body PostAttachmentsRedirectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostAttachmentsRedirectWithBody

func (c *Client) PostAttachmentsRedirectWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostAuthConfig

func (c *Client) PostAuthConfig(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostAuthInfo

func (c *Client) PostAuthInfo(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCollectionsAddGroup

func (c *Client) PostCollectionsAddGroup(ctx context.Context, body PostCollectionsAddGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCollectionsAddGroupWithBody

func (c *Client) PostCollectionsAddGroupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCollectionsAddUser

func (c *Client) PostCollectionsAddUser(ctx context.Context, body PostCollectionsAddUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCollectionsAddUserWithBody

func (c *Client) PostCollectionsAddUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCollectionsCreate

func (c *Client) PostCollectionsCreate(ctx context.Context, body PostCollectionsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCollectionsCreateWithBody

func (c *Client) PostCollectionsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCollectionsDelete

func (c *Client) PostCollectionsDelete(ctx context.Context, body PostCollectionsDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCollectionsDeleteWithBody

func (c *Client) PostCollectionsDeleteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCollectionsDocuments

func (c *Client) PostCollectionsDocuments(ctx context.Context, body PostCollectionsDocumentsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCollectionsDocumentsWithBody

func (c *Client) PostCollectionsDocumentsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCollectionsExport

func (c *Client) PostCollectionsExport(ctx context.Context, body PostCollectionsExportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCollectionsExportAll

func (c *Client) PostCollectionsExportAll(ctx context.Context, body PostCollectionsExportAllJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCollectionsExportAllWithBody

func (c *Client) PostCollectionsExportAllWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCollectionsExportWithBody

func (c *Client) PostCollectionsExportWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCollectionsGroupMemberships

func (c *Client) PostCollectionsGroupMemberships(ctx context.Context, body PostCollectionsGroupMembershipsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCollectionsGroupMembershipsWithBody

func (c *Client) PostCollectionsGroupMembershipsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCollectionsInfo

func (c *Client) PostCollectionsInfo(ctx context.Context, body PostCollectionsInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCollectionsInfoWithBody

func (c *Client) PostCollectionsInfoWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCollectionsList

func (c *Client) PostCollectionsList(ctx context.Context, body PostCollectionsListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCollectionsListWithBody

func (c *Client) PostCollectionsListWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCollectionsMemberships

func (c *Client) PostCollectionsMemberships(ctx context.Context, body PostCollectionsMembershipsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCollectionsMembershipsWithBody

func (c *Client) PostCollectionsMembershipsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCollectionsRemoveGroup

func (c *Client) PostCollectionsRemoveGroup(ctx context.Context, body PostCollectionsRemoveGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCollectionsRemoveGroupWithBody

func (c *Client) PostCollectionsRemoveGroupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCollectionsRemoveUser

func (c *Client) PostCollectionsRemoveUser(ctx context.Context, body PostCollectionsRemoveUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCollectionsRemoveUserWithBody

func (c *Client) PostCollectionsRemoveUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCollectionsUpdate

func (c *Client) PostCollectionsUpdate(ctx context.Context, body PostCollectionsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCollectionsUpdateWithBody

func (c *Client) PostCollectionsUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCommentsCreate

func (c *Client) PostCommentsCreate(ctx context.Context, body PostCommentsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCommentsCreateWithBody

func (c *Client) PostCommentsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCommentsDelete

func (c *Client) PostCommentsDelete(ctx context.Context, body PostCommentsDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCommentsDeleteWithBody

func (c *Client) PostCommentsDeleteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCommentsList

func (c *Client) PostCommentsList(ctx context.Context, body PostCommentsListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCommentsListWithBody

func (c *Client) PostCommentsListWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCommentsUpdate

func (c *Client) PostCommentsUpdate(ctx context.Context, body PostCommentsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCommentsUpdateWithBody

func (c *Client) PostCommentsUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsAddUser

func (c *Client) PostDocumentsAddUser(ctx context.Context, body PostDocumentsAddUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsAddUserWithBody

func (c *Client) PostDocumentsAddUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsArchive

func (c *Client) PostDocumentsArchive(ctx context.Context, body PostDocumentsArchiveJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsArchiveWithBody

func (c *Client) PostDocumentsArchiveWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsCreate

func (c *Client) PostDocumentsCreate(ctx context.Context, body PostDocumentsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsCreateWithBody

func (c *Client) PostDocumentsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsDelete

func (c *Client) PostDocumentsDelete(ctx context.Context, body PostDocumentsDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsDeleteWithBody

func (c *Client) PostDocumentsDeleteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsDrafts

func (c *Client) PostDocumentsDrafts(ctx context.Context, body PostDocumentsDraftsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsDraftsWithBody

func (c *Client) PostDocumentsDraftsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsExport

func (c *Client) PostDocumentsExport(ctx context.Context, body PostDocumentsExportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsExportWithBody

func (c *Client) PostDocumentsExportWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsImportWithBody

func (c *Client) PostDocumentsImportWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsInfo

func (c *Client) PostDocumentsInfo(ctx context.Context, body PostDocumentsInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsInfoWithBody

func (c *Client) PostDocumentsInfoWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsList

func (c *Client) PostDocumentsList(ctx context.Context, body PostDocumentsListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsListWithBody

func (c *Client) PostDocumentsListWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsMemberships

func (c *Client) PostDocumentsMemberships(ctx context.Context, body PostDocumentsMembershipsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsMembershipsWithBody

func (c *Client) PostDocumentsMembershipsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsMove

func (c *Client) PostDocumentsMove(ctx context.Context, body PostDocumentsMoveJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsMoveWithBody

func (c *Client) PostDocumentsMoveWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsRemoveUser

func (c *Client) PostDocumentsRemoveUser(ctx context.Context, body PostDocumentsRemoveUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsRemoveUserWithBody

func (c *Client) PostDocumentsRemoveUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsRestore

func (c *Client) PostDocumentsRestore(ctx context.Context, body PostDocumentsRestoreJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsRestoreWithBody

func (c *Client) PostDocumentsRestoreWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsSearch

func (c *Client) PostDocumentsSearch(ctx context.Context, body PostDocumentsSearchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsSearchWithBody

func (c *Client) PostDocumentsSearchWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsStar

func (c *Client) PostDocumentsStar(ctx context.Context, body PostDocumentsStarJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsStarWithBody

func (c *Client) PostDocumentsStarWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsTemplatize

func (c *Client) PostDocumentsTemplatize(ctx context.Context, body PostDocumentsTemplatizeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsTemplatizeWithBody

func (c *Client) PostDocumentsTemplatizeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsUnpublish

func (c *Client) PostDocumentsUnpublish(ctx context.Context, body PostDocumentsUnpublishJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsUnpublishWithBody

func (c *Client) PostDocumentsUnpublishWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsUnstar

func (c *Client) PostDocumentsUnstar(ctx context.Context, body PostDocumentsUnstarJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsUnstarWithBody

func (c *Client) PostDocumentsUnstarWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsUpdate

func (c *Client) PostDocumentsUpdate(ctx context.Context, body PostDocumentsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsUpdateWithBody

func (c *Client) PostDocumentsUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsUsers

func (c *Client) PostDocumentsUsers(ctx context.Context, body PostDocumentsUsersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsUsersWithBody

func (c *Client) PostDocumentsUsersWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsViewed

func (c *Client) PostDocumentsViewed(ctx context.Context, body PostDocumentsViewedJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostDocumentsViewedWithBody

func (c *Client) PostDocumentsViewedWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostEventsList

func (c *Client) PostEventsList(ctx context.Context, body PostEventsListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostEventsListWithBody

func (c *Client) PostEventsListWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostFileOperationsDelete

func (c *Client) PostFileOperationsDelete(ctx context.Context, body PostFileOperationsDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostFileOperationsDeleteWithBody

func (c *Client) PostFileOperationsDeleteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostFileOperationsInfo

func (c *Client) PostFileOperationsInfo(ctx context.Context, body PostFileOperationsInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostFileOperationsInfoWithBody

func (c *Client) PostFileOperationsInfoWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostFileOperationsList

func (c *Client) PostFileOperationsList(ctx context.Context, body PostFileOperationsListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostFileOperationsListWithBody

func (c *Client) PostFileOperationsListWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostFileOperationsRedirect

func (c *Client) PostFileOperationsRedirect(ctx context.Context, body PostFileOperationsRedirectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostFileOperationsRedirectWithBody

func (c *Client) PostFileOperationsRedirectWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostGroupsAddUser

func (c *Client) PostGroupsAddUser(ctx context.Context, body PostGroupsAddUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostGroupsAddUserWithBody

func (c *Client) PostGroupsAddUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostGroupsCreate

func (c *Client) PostGroupsCreate(ctx context.Context, body PostGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostGroupsCreateWithBody

func (c *Client) PostGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostGroupsDelete

func (c *Client) PostGroupsDelete(ctx context.Context, body PostGroupsDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostGroupsDeleteWithBody

func (c *Client) PostGroupsDeleteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostGroupsInfo

func (c *Client) PostGroupsInfo(ctx context.Context, body PostGroupsInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostGroupsInfoWithBody

func (c *Client) PostGroupsInfoWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostGroupsList

func (c *Client) PostGroupsList(ctx context.Context, body PostGroupsListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostGroupsListWithBody

func (c *Client) PostGroupsListWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostGroupsMemberships

func (c *Client) PostGroupsMemberships(ctx context.Context, body PostGroupsMembershipsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostGroupsMembershipsWithBody

func (c *Client) PostGroupsMembershipsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostGroupsRemoveUser

func (c *Client) PostGroupsRemoveUser(ctx context.Context, body PostGroupsRemoveUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostGroupsRemoveUserWithBody

func (c *Client) PostGroupsRemoveUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostGroupsUpdate

func (c *Client) PostGroupsUpdate(ctx context.Context, body PostGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostGroupsUpdateWithBody

func (c *Client) PostGroupsUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostRevisionsInfo

func (c *Client) PostRevisionsInfo(ctx context.Context, body PostRevisionsInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostRevisionsInfoWithBody

func (c *Client) PostRevisionsInfoWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostRevisionsList

func (c *Client) PostRevisionsList(ctx context.Context, body PostRevisionsListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostRevisionsListWithBody

func (c *Client) PostRevisionsListWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostSharesCreate

func (c *Client) PostSharesCreate(ctx context.Context, body PostSharesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostSharesCreateWithBody

func (c *Client) PostSharesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostSharesInfo

func (c *Client) PostSharesInfo(ctx context.Context, body PostSharesInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostSharesInfoWithBody

func (c *Client) PostSharesInfoWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostSharesList

func (c *Client) PostSharesList(ctx context.Context, body PostSharesListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostSharesListWithBody

func (c *Client) PostSharesListWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostSharesRevoke

func (c *Client) PostSharesRevoke(ctx context.Context, body PostSharesRevokeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostSharesRevokeWithBody

func (c *Client) PostSharesRevokeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostSharesUpdate

func (c *Client) PostSharesUpdate(ctx context.Context, body PostSharesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostSharesUpdateWithBody

func (c *Client) PostSharesUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostUsersActivate

func (c *Client) PostUsersActivate(ctx context.Context, body PostUsersActivateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostUsersActivateWithBody

func (c *Client) PostUsersActivateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostUsersDelete

func (c *Client) PostUsersDelete(ctx context.Context, body PostUsersDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostUsersDeleteWithBody

func (c *Client) PostUsersDeleteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostUsersInfo

func (c *Client) PostUsersInfo(ctx context.Context, body PostUsersInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostUsersInfoWithBody

func (c *Client) PostUsersInfoWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostUsersInvite

func (c *Client) PostUsersInvite(ctx context.Context, body PostUsersInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostUsersInviteWithBody

func (c *Client) PostUsersInviteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostUsersList

func (c *Client) PostUsersList(ctx context.Context, body PostUsersListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostUsersListWithBody

func (c *Client) PostUsersListWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostUsersSuspend

func (c *Client) PostUsersSuspend(ctx context.Context, body PostUsersSuspendJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostUsersSuspendWithBody

func (c *Client) PostUsersSuspendWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostUsersUpdate

func (c *Client) PostUsersUpdate(ctx context.Context, body PostUsersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostUsersUpdateRole

func (c *Client) PostUsersUpdateRole(ctx context.Context, body PostUsersUpdateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostUsersUpdateRoleWithBody

func (c *Client) PostUsersUpdateRoleWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostUsersUpdateWithBody

func (c *Client) PostUsersUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostViewsCreate

func (c *Client) PostViewsCreate(ctx context.Context, body PostViewsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostViewsCreateWithBody

func (c *Client) PostViewsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostViewsList

func (c *Client) PostViewsList(ctx context.Context, body PostViewsListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostViewsListWithBody

func (c *Client) PostViewsListWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// PostAttachmentsCreateWithBody request with any body
	PostAttachmentsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostAttachmentsCreate(ctx context.Context, body PostAttachmentsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAttachmentsDeleteWithBody request with any body
	PostAttachmentsDeleteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostAttachmentsDelete(ctx context.Context, body PostAttachmentsDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAttachmentsRedirectWithBody request with any body
	PostAttachmentsRedirectWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostAttachmentsRedirect(ctx context.Context, body PostAttachmentsRedirectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAuthConfig request
	PostAuthConfig(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAuthInfo request
	PostAuthInfo(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostCollectionsAddGroupWithBody request with any body
	PostCollectionsAddGroupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostCollectionsAddGroup(ctx context.Context, body PostCollectionsAddGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostCollectionsAddUserWithBody request with any body
	PostCollectionsAddUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostCollectionsAddUser(ctx context.Context, body PostCollectionsAddUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostCollectionsCreateWithBody request with any body
	PostCollectionsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostCollectionsCreate(ctx context.Context, body PostCollectionsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostCollectionsDeleteWithBody request with any body
	PostCollectionsDeleteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostCollectionsDelete(ctx context.Context, body PostCollectionsDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostCollectionsDocumentsWithBody request with any body
	PostCollectionsDocumentsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostCollectionsDocuments(ctx context.Context, body PostCollectionsDocumentsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostCollectionsExportWithBody request with any body
	PostCollectionsExportWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostCollectionsExport(ctx context.Context, body PostCollectionsExportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostCollectionsExportAllWithBody request with any body
	PostCollectionsExportAllWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostCollectionsExportAll(ctx context.Context, body PostCollectionsExportAllJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostCollectionsGroupMembershipsWithBody request with any body
	PostCollectionsGroupMembershipsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostCollectionsGroupMemberships(ctx context.Context, body PostCollectionsGroupMembershipsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostCollectionsInfoWithBody request with any body
	PostCollectionsInfoWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostCollectionsInfo(ctx context.Context, body PostCollectionsInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostCollectionsListWithBody request with any body
	PostCollectionsListWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostCollectionsList(ctx context.Context, body PostCollectionsListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostCollectionsMembershipsWithBody request with any body
	PostCollectionsMembershipsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostCollectionsMemberships(ctx context.Context, body PostCollectionsMembershipsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostCollectionsRemoveGroupWithBody request with any body
	PostCollectionsRemoveGroupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostCollectionsRemoveGroup(ctx context.Context, body PostCollectionsRemoveGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostCollectionsRemoveUserWithBody request with any body
	PostCollectionsRemoveUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostCollectionsRemoveUser(ctx context.Context, body PostCollectionsRemoveUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostCollectionsUpdateWithBody request with any body
	PostCollectionsUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostCollectionsUpdate(ctx context.Context, body PostCollectionsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostCommentsCreateWithBody request with any body
	PostCommentsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostCommentsCreate(ctx context.Context, body PostCommentsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostCommentsDeleteWithBody request with any body
	PostCommentsDeleteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostCommentsDelete(ctx context.Context, body PostCommentsDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostCommentsListWithBody request with any body
	PostCommentsListWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostCommentsList(ctx context.Context, body PostCommentsListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostCommentsUpdateWithBody request with any body
	PostCommentsUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostCommentsUpdate(ctx context.Context, body PostCommentsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostDocumentsAddUserWithBody request with any body
	PostDocumentsAddUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostDocumentsAddUser(ctx context.Context, body PostDocumentsAddUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostDocumentsArchiveWithBody request with any body
	PostDocumentsArchiveWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostDocumentsArchive(ctx context.Context, body PostDocumentsArchiveJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostDocumentsCreateWithBody request with any body
	PostDocumentsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostDocumentsCreate(ctx context.Context, body PostDocumentsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostDocumentsDeleteWithBody request with any body
	PostDocumentsDeleteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostDocumentsDelete(ctx context.Context, body PostDocumentsDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostDocumentsDraftsWithBody request with any body
	PostDocumentsDraftsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostDocumentsDrafts(ctx context.Context, body PostDocumentsDraftsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostDocumentsExportWithBody request with any body
	PostDocumentsExportWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostDocumentsExport(ctx context.Context, body PostDocumentsExportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostDocumentsImportWithBody request with any body
	PostDocumentsImportWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostDocumentsInfoWithBody request with any body
	PostDocumentsInfoWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostDocumentsInfo(ctx context.Context, body PostDocumentsInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostDocumentsListWithBody request with any body
	PostDocumentsListWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostDocumentsList(ctx context.Context, body PostDocumentsListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostDocumentsMembershipsWithBody request with any body
	PostDocumentsMembershipsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostDocumentsMemberships(ctx context.Context, body PostDocumentsMembershipsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostDocumentsMoveWithBody request with any body
	PostDocumentsMoveWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostDocumentsMove(ctx context.Context, body PostDocumentsMoveJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostDocumentsRemoveUserWithBody request with any body
	PostDocumentsRemoveUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostDocumentsRemoveUser(ctx context.Context, body PostDocumentsRemoveUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostDocumentsRestoreWithBody request with any body
	PostDocumentsRestoreWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostDocumentsRestore(ctx context.Context, body PostDocumentsRestoreJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostDocumentsSearchWithBody request with any body
	PostDocumentsSearchWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostDocumentsSearch(ctx context.Context, body PostDocumentsSearchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostDocumentsStarWithBody request with any body
	PostDocumentsStarWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostDocumentsStar(ctx context.Context, body PostDocumentsStarJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostDocumentsTemplatizeWithBody request with any body
	PostDocumentsTemplatizeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostDocumentsTemplatize(ctx context.Context, body PostDocumentsTemplatizeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostDocumentsUnpublishWithBody request with any body
	PostDocumentsUnpublishWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostDocumentsUnpublish(ctx context.Context, body PostDocumentsUnpublishJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostDocumentsUnstarWithBody request with any body
	PostDocumentsUnstarWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostDocumentsUnstar(ctx context.Context, body PostDocumentsUnstarJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostDocumentsUpdateWithBody request with any body
	PostDocumentsUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostDocumentsUpdate(ctx context.Context, body PostDocumentsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostDocumentsUsersWithBody request with any body
	PostDocumentsUsersWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostDocumentsUsers(ctx context.Context, body PostDocumentsUsersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostDocumentsViewedWithBody request with any body
	PostDocumentsViewedWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostDocumentsViewed(ctx context.Context, body PostDocumentsViewedJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostEventsListWithBody request with any body
	PostEventsListWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostEventsList(ctx context.Context, body PostEventsListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostFileOperationsDeleteWithBody request with any body
	PostFileOperationsDeleteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostFileOperationsDelete(ctx context.Context, body PostFileOperationsDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostFileOperationsInfoWithBody request with any body
	PostFileOperationsInfoWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostFileOperationsInfo(ctx context.Context, body PostFileOperationsInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostFileOperationsListWithBody request with any body
	PostFileOperationsListWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostFileOperationsList(ctx context.Context, body PostFileOperationsListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostFileOperationsRedirectWithBody request with any body
	PostFileOperationsRedirectWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostFileOperationsRedirect(ctx context.Context, body PostFileOperationsRedirectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostGroupsAddUserWithBody request with any body
	PostGroupsAddUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostGroupsAddUser(ctx context.Context, body PostGroupsAddUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostGroupsCreateWithBody request with any body
	PostGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostGroupsCreate(ctx context.Context, body PostGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostGroupsDeleteWithBody request with any body
	PostGroupsDeleteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostGroupsDelete(ctx context.Context, body PostGroupsDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostGroupsInfoWithBody request with any body
	PostGroupsInfoWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostGroupsInfo(ctx context.Context, body PostGroupsInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostGroupsListWithBody request with any body
	PostGroupsListWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostGroupsList(ctx context.Context, body PostGroupsListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostGroupsMembershipsWithBody request with any body
	PostGroupsMembershipsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostGroupsMemberships(ctx context.Context, body PostGroupsMembershipsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostGroupsRemoveUserWithBody request with any body
	PostGroupsRemoveUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostGroupsRemoveUser(ctx context.Context, body PostGroupsRemoveUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostGroupsUpdateWithBody request with any body
	PostGroupsUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostGroupsUpdate(ctx context.Context, body PostGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostRevisionsInfoWithBody request with any body
	PostRevisionsInfoWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostRevisionsInfo(ctx context.Context, body PostRevisionsInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostRevisionsListWithBody request with any body
	PostRevisionsListWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostRevisionsList(ctx context.Context, body PostRevisionsListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSharesCreateWithBody request with any body
	PostSharesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostSharesCreate(ctx context.Context, body PostSharesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSharesInfoWithBody request with any body
	PostSharesInfoWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostSharesInfo(ctx context.Context, body PostSharesInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSharesListWithBody request with any body
	PostSharesListWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostSharesList(ctx context.Context, body PostSharesListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSharesRevokeWithBody request with any body
	PostSharesRevokeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostSharesRevoke(ctx context.Context, body PostSharesRevokeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSharesUpdateWithBody request with any body
	PostSharesUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostSharesUpdate(ctx context.Context, body PostSharesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostUsersActivateWithBody request with any body
	PostUsersActivateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostUsersActivate(ctx context.Context, body PostUsersActivateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostUsersDeleteWithBody request with any body
	PostUsersDeleteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostUsersDelete(ctx context.Context, body PostUsersDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostUsersInfoWithBody request with any body
	PostUsersInfoWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostUsersInfo(ctx context.Context, body PostUsersInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostUsersInviteWithBody request with any body
	PostUsersInviteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostUsersInvite(ctx context.Context, body PostUsersInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostUsersListWithBody request with any body
	PostUsersListWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostUsersList(ctx context.Context, body PostUsersListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostUsersSuspendWithBody request with any body
	PostUsersSuspendWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostUsersSuspend(ctx context.Context, body PostUsersSuspendJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostUsersUpdateWithBody request with any body
	PostUsersUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostUsersUpdate(ctx context.Context, body PostUsersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostUsersUpdateRoleWithBody request with any body
	PostUsersUpdateRoleWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostUsersUpdateRole(ctx context.Context, body PostUsersUpdateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostViewsCreateWithBody request with any body
	PostViewsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostViewsCreate(ctx context.Context, body PostViewsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostViewsListWithBody request with any body
	PostViewsListWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostViewsList(ctx context.Context, body PostViewsListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

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 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.

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) PostAttachmentsCreateWithBodyWithResponse

func (c *ClientWithResponses) PostAttachmentsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAttachmentsCreateResponse, error)

PostAttachmentsCreateWithBodyWithResponse request with arbitrary body returning *PostAttachmentsCreateResponse

func (*ClientWithResponses) PostAttachmentsCreateWithResponse

func (c *ClientWithResponses) PostAttachmentsCreateWithResponse(ctx context.Context, body PostAttachmentsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAttachmentsCreateResponse, error)

func (*ClientWithResponses) PostAttachmentsDeleteWithBodyWithResponse

func (c *ClientWithResponses) PostAttachmentsDeleteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAttachmentsDeleteResponse, error)

PostAttachmentsDeleteWithBodyWithResponse request with arbitrary body returning *PostAttachmentsDeleteResponse

func (*ClientWithResponses) PostAttachmentsDeleteWithResponse

func (c *ClientWithResponses) PostAttachmentsDeleteWithResponse(ctx context.Context, body PostAttachmentsDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAttachmentsDeleteResponse, error)

func (*ClientWithResponses) PostAttachmentsRedirectWithBodyWithResponse

func (c *ClientWithResponses) PostAttachmentsRedirectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAttachmentsRedirectResponse, error)

PostAttachmentsRedirectWithBodyWithResponse request with arbitrary body returning *PostAttachmentsRedirectResponse

func (*ClientWithResponses) PostAttachmentsRedirectWithResponse

func (c *ClientWithResponses) PostAttachmentsRedirectWithResponse(ctx context.Context, body PostAttachmentsRedirectJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAttachmentsRedirectResponse, error)

func (*ClientWithResponses) PostAuthConfigWithResponse

func (c *ClientWithResponses) PostAuthConfigWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostAuthConfigResponse, error)

PostAuthConfigWithResponse request returning *PostAuthConfigResponse

func (*ClientWithResponses) PostAuthInfoWithResponse

func (c *ClientWithResponses) PostAuthInfoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostAuthInfoResponse, error)

PostAuthInfoWithResponse request returning *PostAuthInfoResponse

func (*ClientWithResponses) PostCollectionsAddGroupWithBodyWithResponse

func (c *ClientWithResponses) PostCollectionsAddGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCollectionsAddGroupResponse, error)

PostCollectionsAddGroupWithBodyWithResponse request with arbitrary body returning *PostCollectionsAddGroupResponse

func (*ClientWithResponses) PostCollectionsAddGroupWithResponse

func (c *ClientWithResponses) PostCollectionsAddGroupWithResponse(ctx context.Context, body PostCollectionsAddGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCollectionsAddGroupResponse, error)

func (*ClientWithResponses) PostCollectionsAddUserWithBodyWithResponse

func (c *ClientWithResponses) PostCollectionsAddUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCollectionsAddUserResponse, error)

PostCollectionsAddUserWithBodyWithResponse request with arbitrary body returning *PostCollectionsAddUserResponse

func (*ClientWithResponses) PostCollectionsAddUserWithResponse

func (c *ClientWithResponses) PostCollectionsAddUserWithResponse(ctx context.Context, body PostCollectionsAddUserJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCollectionsAddUserResponse, error)

func (*ClientWithResponses) PostCollectionsCreateWithBodyWithResponse

func (c *ClientWithResponses) PostCollectionsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCollectionsCreateResponse, error)

PostCollectionsCreateWithBodyWithResponse request with arbitrary body returning *PostCollectionsCreateResponse

func (*ClientWithResponses) PostCollectionsCreateWithResponse

func (c *ClientWithResponses) PostCollectionsCreateWithResponse(ctx context.Context, body PostCollectionsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCollectionsCreateResponse, error)

func (*ClientWithResponses) PostCollectionsDeleteWithBodyWithResponse

func (c *ClientWithResponses) PostCollectionsDeleteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCollectionsDeleteResponse, error)

PostCollectionsDeleteWithBodyWithResponse request with arbitrary body returning *PostCollectionsDeleteResponse

func (*ClientWithResponses) PostCollectionsDeleteWithResponse

func (c *ClientWithResponses) PostCollectionsDeleteWithResponse(ctx context.Context, body PostCollectionsDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCollectionsDeleteResponse, error)

func (*ClientWithResponses) PostCollectionsDocumentsWithBodyWithResponse

func (c *ClientWithResponses) PostCollectionsDocumentsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCollectionsDocumentsResponse, error)

PostCollectionsDocumentsWithBodyWithResponse request with arbitrary body returning *PostCollectionsDocumentsResponse

func (*ClientWithResponses) PostCollectionsDocumentsWithResponse

func (c *ClientWithResponses) PostCollectionsDocumentsWithResponse(ctx context.Context, body PostCollectionsDocumentsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCollectionsDocumentsResponse, error)

func (*ClientWithResponses) PostCollectionsExportAllWithBodyWithResponse

func (c *ClientWithResponses) PostCollectionsExportAllWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCollectionsExportAllResponse, error)

PostCollectionsExportAllWithBodyWithResponse request with arbitrary body returning *PostCollectionsExportAllResponse

func (*ClientWithResponses) PostCollectionsExportAllWithResponse

func (c *ClientWithResponses) PostCollectionsExportAllWithResponse(ctx context.Context, body PostCollectionsExportAllJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCollectionsExportAllResponse, error)

func (*ClientWithResponses) PostCollectionsExportWithBodyWithResponse

func (c *ClientWithResponses) PostCollectionsExportWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCollectionsExportResponse, error)

PostCollectionsExportWithBodyWithResponse request with arbitrary body returning *PostCollectionsExportResponse

func (*ClientWithResponses) PostCollectionsExportWithResponse

func (c *ClientWithResponses) PostCollectionsExportWithResponse(ctx context.Context, body PostCollectionsExportJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCollectionsExportResponse, error)

func (*ClientWithResponses) PostCollectionsGroupMembershipsWithBodyWithResponse

func (c *ClientWithResponses) PostCollectionsGroupMembershipsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCollectionsGroupMembershipsResponse, error)

PostCollectionsGroupMembershipsWithBodyWithResponse request with arbitrary body returning *PostCollectionsGroupMembershipsResponse

func (*ClientWithResponses) PostCollectionsGroupMembershipsWithResponse

func (c *ClientWithResponses) PostCollectionsGroupMembershipsWithResponse(ctx context.Context, body PostCollectionsGroupMembershipsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCollectionsGroupMembershipsResponse, error)

func (*ClientWithResponses) PostCollectionsInfoWithBodyWithResponse

func (c *ClientWithResponses) PostCollectionsInfoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCollectionsInfoResponse, error)

PostCollectionsInfoWithBodyWithResponse request with arbitrary body returning *PostCollectionsInfoResponse

func (*ClientWithResponses) PostCollectionsInfoWithResponse

func (c *ClientWithResponses) PostCollectionsInfoWithResponse(ctx context.Context, body PostCollectionsInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCollectionsInfoResponse, error)

func (*ClientWithResponses) PostCollectionsListWithBodyWithResponse

func (c *ClientWithResponses) PostCollectionsListWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCollectionsListResponse, error)

PostCollectionsListWithBodyWithResponse request with arbitrary body returning *PostCollectionsListResponse

func (*ClientWithResponses) PostCollectionsListWithResponse

func (c *ClientWithResponses) PostCollectionsListWithResponse(ctx context.Context, body PostCollectionsListJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCollectionsListResponse, error)

func (*ClientWithResponses) PostCollectionsMembershipsWithBodyWithResponse

func (c *ClientWithResponses) PostCollectionsMembershipsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCollectionsMembershipsResponse, error)

PostCollectionsMembershipsWithBodyWithResponse request with arbitrary body returning *PostCollectionsMembershipsResponse

func (*ClientWithResponses) PostCollectionsMembershipsWithResponse

func (c *ClientWithResponses) PostCollectionsMembershipsWithResponse(ctx context.Context, body PostCollectionsMembershipsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCollectionsMembershipsResponse, error)

func (*ClientWithResponses) PostCollectionsRemoveGroupWithBodyWithResponse

func (c *ClientWithResponses) PostCollectionsRemoveGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCollectionsRemoveGroupResponse, error)

PostCollectionsRemoveGroupWithBodyWithResponse request with arbitrary body returning *PostCollectionsRemoveGroupResponse

func (*ClientWithResponses) PostCollectionsRemoveGroupWithResponse

func (c *ClientWithResponses) PostCollectionsRemoveGroupWithResponse(ctx context.Context, body PostCollectionsRemoveGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCollectionsRemoveGroupResponse, error)

func (*ClientWithResponses) PostCollectionsRemoveUserWithBodyWithResponse

func (c *ClientWithResponses) PostCollectionsRemoveUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCollectionsRemoveUserResponse, error)

PostCollectionsRemoveUserWithBodyWithResponse request with arbitrary body returning *PostCollectionsRemoveUserResponse

func (*ClientWithResponses) PostCollectionsRemoveUserWithResponse

func (c *ClientWithResponses) PostCollectionsRemoveUserWithResponse(ctx context.Context, body PostCollectionsRemoveUserJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCollectionsRemoveUserResponse, error)

func (*ClientWithResponses) PostCollectionsUpdateWithBodyWithResponse

func (c *ClientWithResponses) PostCollectionsUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCollectionsUpdateResponse, error)

PostCollectionsUpdateWithBodyWithResponse request with arbitrary body returning *PostCollectionsUpdateResponse

func (*ClientWithResponses) PostCollectionsUpdateWithResponse

func (c *ClientWithResponses) PostCollectionsUpdateWithResponse(ctx context.Context, body PostCollectionsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCollectionsUpdateResponse, error)

func (*ClientWithResponses) PostCommentsCreateWithBodyWithResponse

func (c *ClientWithResponses) PostCommentsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCommentsCreateResponse, error)

PostCommentsCreateWithBodyWithResponse request with arbitrary body returning *PostCommentsCreateResponse

func (*ClientWithResponses) PostCommentsCreateWithResponse

func (c *ClientWithResponses) PostCommentsCreateWithResponse(ctx context.Context, body PostCommentsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCommentsCreateResponse, error)

func (*ClientWithResponses) PostCommentsDeleteWithBodyWithResponse

func (c *ClientWithResponses) PostCommentsDeleteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCommentsDeleteResponse, error)

PostCommentsDeleteWithBodyWithResponse request with arbitrary body returning *PostCommentsDeleteResponse

func (*ClientWithResponses) PostCommentsDeleteWithResponse

func (c *ClientWithResponses) PostCommentsDeleteWithResponse(ctx context.Context, body PostCommentsDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCommentsDeleteResponse, error)

func (*ClientWithResponses) PostCommentsListWithBodyWithResponse

func (c *ClientWithResponses) PostCommentsListWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCommentsListResponse, error)

PostCommentsListWithBodyWithResponse request with arbitrary body returning *PostCommentsListResponse

func (*ClientWithResponses) PostCommentsListWithResponse

func (c *ClientWithResponses) PostCommentsListWithResponse(ctx context.Context, body PostCommentsListJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCommentsListResponse, error)

func (*ClientWithResponses) PostCommentsUpdateWithBodyWithResponse

func (c *ClientWithResponses) PostCommentsUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCommentsUpdateResponse, error)

PostCommentsUpdateWithBodyWithResponse request with arbitrary body returning *PostCommentsUpdateResponse

func (*ClientWithResponses) PostCommentsUpdateWithResponse

func (c *ClientWithResponses) PostCommentsUpdateWithResponse(ctx context.Context, body PostCommentsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCommentsUpdateResponse, error)

func (*ClientWithResponses) PostDocumentsAddUserWithBodyWithResponse

func (c *ClientWithResponses) PostDocumentsAddUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsAddUserResponse, error)

PostDocumentsAddUserWithBodyWithResponse request with arbitrary body returning *PostDocumentsAddUserResponse

func (*ClientWithResponses) PostDocumentsAddUserWithResponse

func (c *ClientWithResponses) PostDocumentsAddUserWithResponse(ctx context.Context, body PostDocumentsAddUserJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsAddUserResponse, error)

func (*ClientWithResponses) PostDocumentsArchiveWithBodyWithResponse

func (c *ClientWithResponses) PostDocumentsArchiveWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsArchiveResponse, error)

PostDocumentsArchiveWithBodyWithResponse request with arbitrary body returning *PostDocumentsArchiveResponse

func (*ClientWithResponses) PostDocumentsArchiveWithResponse

func (c *ClientWithResponses) PostDocumentsArchiveWithResponse(ctx context.Context, body PostDocumentsArchiveJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsArchiveResponse, error)

func (*ClientWithResponses) PostDocumentsCreateWithBodyWithResponse

func (c *ClientWithResponses) PostDocumentsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsCreateResponse, error)

PostDocumentsCreateWithBodyWithResponse request with arbitrary body returning *PostDocumentsCreateResponse

func (*ClientWithResponses) PostDocumentsCreateWithResponse

func (c *ClientWithResponses) PostDocumentsCreateWithResponse(ctx context.Context, body PostDocumentsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsCreateResponse, error)

func (*ClientWithResponses) PostDocumentsDeleteWithBodyWithResponse

func (c *ClientWithResponses) PostDocumentsDeleteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsDeleteResponse, error)

PostDocumentsDeleteWithBodyWithResponse request with arbitrary body returning *PostDocumentsDeleteResponse

func (*ClientWithResponses) PostDocumentsDeleteWithResponse

func (c *ClientWithResponses) PostDocumentsDeleteWithResponse(ctx context.Context, body PostDocumentsDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsDeleteResponse, error)

func (*ClientWithResponses) PostDocumentsDraftsWithBodyWithResponse

func (c *ClientWithResponses) PostDocumentsDraftsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsDraftsResponse, error)

PostDocumentsDraftsWithBodyWithResponse request with arbitrary body returning *PostDocumentsDraftsResponse

func (*ClientWithResponses) PostDocumentsDraftsWithResponse

func (c *ClientWithResponses) PostDocumentsDraftsWithResponse(ctx context.Context, body PostDocumentsDraftsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsDraftsResponse, error)

func (*ClientWithResponses) PostDocumentsExportWithBodyWithResponse

func (c *ClientWithResponses) PostDocumentsExportWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsExportResponse, error)

PostDocumentsExportWithBodyWithResponse request with arbitrary body returning *PostDocumentsExportResponse

func (*ClientWithResponses) PostDocumentsExportWithResponse

func (c *ClientWithResponses) PostDocumentsExportWithResponse(ctx context.Context, body PostDocumentsExportJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsExportResponse, error)

func (*ClientWithResponses) PostDocumentsImportWithBodyWithResponse

func (c *ClientWithResponses) PostDocumentsImportWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsImportResponse, error)

PostDocumentsImportWithBodyWithResponse request with arbitrary body returning *PostDocumentsImportResponse

func (*ClientWithResponses) PostDocumentsInfoWithBodyWithResponse

func (c *ClientWithResponses) PostDocumentsInfoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsInfoResponse, error)

PostDocumentsInfoWithBodyWithResponse request with arbitrary body returning *PostDocumentsInfoResponse

func (*ClientWithResponses) PostDocumentsInfoWithResponse

func (c *ClientWithResponses) PostDocumentsInfoWithResponse(ctx context.Context, body PostDocumentsInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsInfoResponse, error)

func (*ClientWithResponses) PostDocumentsListWithBodyWithResponse

func (c *ClientWithResponses) PostDocumentsListWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsListResponse, error)

PostDocumentsListWithBodyWithResponse request with arbitrary body returning *PostDocumentsListResponse

func (*ClientWithResponses) PostDocumentsListWithResponse

func (c *ClientWithResponses) PostDocumentsListWithResponse(ctx context.Context, body PostDocumentsListJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsListResponse, error)

func (*ClientWithResponses) PostDocumentsMembershipsWithBodyWithResponse

func (c *ClientWithResponses) PostDocumentsMembershipsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsMembershipsResponse, error)

PostDocumentsMembershipsWithBodyWithResponse request with arbitrary body returning *PostDocumentsMembershipsResponse

func (*ClientWithResponses) PostDocumentsMembershipsWithResponse

func (c *ClientWithResponses) PostDocumentsMembershipsWithResponse(ctx context.Context, body PostDocumentsMembershipsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsMembershipsResponse, error)

func (*ClientWithResponses) PostDocumentsMoveWithBodyWithResponse

func (c *ClientWithResponses) PostDocumentsMoveWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsMoveResponse, error)

PostDocumentsMoveWithBodyWithResponse request with arbitrary body returning *PostDocumentsMoveResponse

func (*ClientWithResponses) PostDocumentsMoveWithResponse

func (c *ClientWithResponses) PostDocumentsMoveWithResponse(ctx context.Context, body PostDocumentsMoveJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsMoveResponse, error)

func (*ClientWithResponses) PostDocumentsRemoveUserWithBodyWithResponse

func (c *ClientWithResponses) PostDocumentsRemoveUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsRemoveUserResponse, error)

PostDocumentsRemoveUserWithBodyWithResponse request with arbitrary body returning *PostDocumentsRemoveUserResponse

func (*ClientWithResponses) PostDocumentsRemoveUserWithResponse

func (c *ClientWithResponses) PostDocumentsRemoveUserWithResponse(ctx context.Context, body PostDocumentsRemoveUserJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsRemoveUserResponse, error)

func (*ClientWithResponses) PostDocumentsRestoreWithBodyWithResponse

func (c *ClientWithResponses) PostDocumentsRestoreWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsRestoreResponse, error)

PostDocumentsRestoreWithBodyWithResponse request with arbitrary body returning *PostDocumentsRestoreResponse

func (*ClientWithResponses) PostDocumentsRestoreWithResponse

func (c *ClientWithResponses) PostDocumentsRestoreWithResponse(ctx context.Context, body PostDocumentsRestoreJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsRestoreResponse, error)

func (*ClientWithResponses) PostDocumentsSearchWithBodyWithResponse

func (c *ClientWithResponses) PostDocumentsSearchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsSearchResponse, error)

PostDocumentsSearchWithBodyWithResponse request with arbitrary body returning *PostDocumentsSearchResponse

func (*ClientWithResponses) PostDocumentsSearchWithResponse

func (c *ClientWithResponses) PostDocumentsSearchWithResponse(ctx context.Context, body PostDocumentsSearchJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsSearchResponse, error)

func (*ClientWithResponses) PostDocumentsStarWithBodyWithResponse

func (c *ClientWithResponses) PostDocumentsStarWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsStarResponse, error)

PostDocumentsStarWithBodyWithResponse request with arbitrary body returning *PostDocumentsStarResponse

func (*ClientWithResponses) PostDocumentsStarWithResponse

func (c *ClientWithResponses) PostDocumentsStarWithResponse(ctx context.Context, body PostDocumentsStarJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsStarResponse, error)

func (*ClientWithResponses) PostDocumentsTemplatizeWithBodyWithResponse

func (c *ClientWithResponses) PostDocumentsTemplatizeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsTemplatizeResponse, error)

PostDocumentsTemplatizeWithBodyWithResponse request with arbitrary body returning *PostDocumentsTemplatizeResponse

func (*ClientWithResponses) PostDocumentsTemplatizeWithResponse

func (c *ClientWithResponses) PostDocumentsTemplatizeWithResponse(ctx context.Context, body PostDocumentsTemplatizeJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsTemplatizeResponse, error)

func (*ClientWithResponses) PostDocumentsUnpublishWithBodyWithResponse

func (c *ClientWithResponses) PostDocumentsUnpublishWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsUnpublishResponse, error)

PostDocumentsUnpublishWithBodyWithResponse request with arbitrary body returning *PostDocumentsUnpublishResponse

func (*ClientWithResponses) PostDocumentsUnpublishWithResponse

func (c *ClientWithResponses) PostDocumentsUnpublishWithResponse(ctx context.Context, body PostDocumentsUnpublishJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsUnpublishResponse, error)

func (*ClientWithResponses) PostDocumentsUnstarWithBodyWithResponse

func (c *ClientWithResponses) PostDocumentsUnstarWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsUnstarResponse, error)

PostDocumentsUnstarWithBodyWithResponse request with arbitrary body returning *PostDocumentsUnstarResponse

func (*ClientWithResponses) PostDocumentsUnstarWithResponse

func (c *ClientWithResponses) PostDocumentsUnstarWithResponse(ctx context.Context, body PostDocumentsUnstarJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsUnstarResponse, error)

func (*ClientWithResponses) PostDocumentsUpdateWithBodyWithResponse

func (c *ClientWithResponses) PostDocumentsUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsUpdateResponse, error)

PostDocumentsUpdateWithBodyWithResponse request with arbitrary body returning *PostDocumentsUpdateResponse

func (*ClientWithResponses) PostDocumentsUpdateWithResponse

func (c *ClientWithResponses) PostDocumentsUpdateWithResponse(ctx context.Context, body PostDocumentsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsUpdateResponse, error)

func (*ClientWithResponses) PostDocumentsUsersWithBodyWithResponse

func (c *ClientWithResponses) PostDocumentsUsersWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsUsersResponse, error)

PostDocumentsUsersWithBodyWithResponse request with arbitrary body returning *PostDocumentsUsersResponse

func (*ClientWithResponses) PostDocumentsUsersWithResponse

func (c *ClientWithResponses) PostDocumentsUsersWithResponse(ctx context.Context, body PostDocumentsUsersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsUsersResponse, error)

func (*ClientWithResponses) PostDocumentsViewedWithBodyWithResponse

func (c *ClientWithResponses) PostDocumentsViewedWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsViewedResponse, error)

PostDocumentsViewedWithBodyWithResponse request with arbitrary body returning *PostDocumentsViewedResponse

func (*ClientWithResponses) PostDocumentsViewedWithResponse

func (c *ClientWithResponses) PostDocumentsViewedWithResponse(ctx context.Context, body PostDocumentsViewedJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsViewedResponse, error)

func (*ClientWithResponses) PostEventsListWithBodyWithResponse

func (c *ClientWithResponses) PostEventsListWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostEventsListResponse, error)

PostEventsListWithBodyWithResponse request with arbitrary body returning *PostEventsListResponse

func (*ClientWithResponses) PostEventsListWithResponse

func (c *ClientWithResponses) PostEventsListWithResponse(ctx context.Context, body PostEventsListJSONRequestBody, reqEditors ...RequestEditorFn) (*PostEventsListResponse, error)

func (*ClientWithResponses) PostFileOperationsDeleteWithBodyWithResponse

func (c *ClientWithResponses) PostFileOperationsDeleteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFileOperationsDeleteResponse, error)

PostFileOperationsDeleteWithBodyWithResponse request with arbitrary body returning *PostFileOperationsDeleteResponse

func (*ClientWithResponses) PostFileOperationsDeleteWithResponse

func (c *ClientWithResponses) PostFileOperationsDeleteWithResponse(ctx context.Context, body PostFileOperationsDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFileOperationsDeleteResponse, error)

func (*ClientWithResponses) PostFileOperationsInfoWithBodyWithResponse

func (c *ClientWithResponses) PostFileOperationsInfoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFileOperationsInfoResponse, error)

PostFileOperationsInfoWithBodyWithResponse request with arbitrary body returning *PostFileOperationsInfoResponse

func (*ClientWithResponses) PostFileOperationsInfoWithResponse

func (c *ClientWithResponses) PostFileOperationsInfoWithResponse(ctx context.Context, body PostFileOperationsInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFileOperationsInfoResponse, error)

func (*ClientWithResponses) PostFileOperationsListWithBodyWithResponse

func (c *ClientWithResponses) PostFileOperationsListWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFileOperationsListResponse, error)

PostFileOperationsListWithBodyWithResponse request with arbitrary body returning *PostFileOperationsListResponse

func (*ClientWithResponses) PostFileOperationsListWithResponse

func (c *ClientWithResponses) PostFileOperationsListWithResponse(ctx context.Context, body PostFileOperationsListJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFileOperationsListResponse, error)

func (*ClientWithResponses) PostFileOperationsRedirectWithBodyWithResponse

func (c *ClientWithResponses) PostFileOperationsRedirectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFileOperationsRedirectResponse, error)

PostFileOperationsRedirectWithBodyWithResponse request with arbitrary body returning *PostFileOperationsRedirectResponse

func (*ClientWithResponses) PostFileOperationsRedirectWithResponse

func (c *ClientWithResponses) PostFileOperationsRedirectWithResponse(ctx context.Context, body PostFileOperationsRedirectJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFileOperationsRedirectResponse, error)

func (*ClientWithResponses) PostGroupsAddUserWithBodyWithResponse

func (c *ClientWithResponses) PostGroupsAddUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostGroupsAddUserResponse, error)

PostGroupsAddUserWithBodyWithResponse request with arbitrary body returning *PostGroupsAddUserResponse

func (*ClientWithResponses) PostGroupsAddUserWithResponse

func (c *ClientWithResponses) PostGroupsAddUserWithResponse(ctx context.Context, body PostGroupsAddUserJSONRequestBody, reqEditors ...RequestEditorFn) (*PostGroupsAddUserResponse, error)

func (*ClientWithResponses) PostGroupsCreateWithBodyWithResponse

func (c *ClientWithResponses) PostGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostGroupsCreateResponse, error)

PostGroupsCreateWithBodyWithResponse request with arbitrary body returning *PostGroupsCreateResponse

func (*ClientWithResponses) PostGroupsCreateWithResponse

func (c *ClientWithResponses) PostGroupsCreateWithResponse(ctx context.Context, body PostGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostGroupsCreateResponse, error)

func (*ClientWithResponses) PostGroupsDeleteWithBodyWithResponse

func (c *ClientWithResponses) PostGroupsDeleteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostGroupsDeleteResponse, error)

PostGroupsDeleteWithBodyWithResponse request with arbitrary body returning *PostGroupsDeleteResponse

func (*ClientWithResponses) PostGroupsDeleteWithResponse

func (c *ClientWithResponses) PostGroupsDeleteWithResponse(ctx context.Context, body PostGroupsDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*PostGroupsDeleteResponse, error)

func (*ClientWithResponses) PostGroupsInfoWithBodyWithResponse

func (c *ClientWithResponses) PostGroupsInfoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostGroupsInfoResponse, error)

PostGroupsInfoWithBodyWithResponse request with arbitrary body returning *PostGroupsInfoResponse

func (*ClientWithResponses) PostGroupsInfoWithResponse

func (c *ClientWithResponses) PostGroupsInfoWithResponse(ctx context.Context, body PostGroupsInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*PostGroupsInfoResponse, error)

func (*ClientWithResponses) PostGroupsListWithBodyWithResponse

func (c *ClientWithResponses) PostGroupsListWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostGroupsListResponse, error)

PostGroupsListWithBodyWithResponse request with arbitrary body returning *PostGroupsListResponse

func (*ClientWithResponses) PostGroupsListWithResponse

func (c *ClientWithResponses) PostGroupsListWithResponse(ctx context.Context, body PostGroupsListJSONRequestBody, reqEditors ...RequestEditorFn) (*PostGroupsListResponse, error)

func (*ClientWithResponses) PostGroupsMembershipsWithBodyWithResponse

func (c *ClientWithResponses) PostGroupsMembershipsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostGroupsMembershipsResponse, error)

PostGroupsMembershipsWithBodyWithResponse request with arbitrary body returning *PostGroupsMembershipsResponse

func (*ClientWithResponses) PostGroupsMembershipsWithResponse

func (c *ClientWithResponses) PostGroupsMembershipsWithResponse(ctx context.Context, body PostGroupsMembershipsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostGroupsMembershipsResponse, error)

func (*ClientWithResponses) PostGroupsRemoveUserWithBodyWithResponse

func (c *ClientWithResponses) PostGroupsRemoveUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostGroupsRemoveUserResponse, error)

PostGroupsRemoveUserWithBodyWithResponse request with arbitrary body returning *PostGroupsRemoveUserResponse

func (*ClientWithResponses) PostGroupsRemoveUserWithResponse

func (c *ClientWithResponses) PostGroupsRemoveUserWithResponse(ctx context.Context, body PostGroupsRemoveUserJSONRequestBody, reqEditors ...RequestEditorFn) (*PostGroupsRemoveUserResponse, error)

func (*ClientWithResponses) PostGroupsUpdateWithBodyWithResponse

func (c *ClientWithResponses) PostGroupsUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostGroupsUpdateResponse, error)

PostGroupsUpdateWithBodyWithResponse request with arbitrary body returning *PostGroupsUpdateResponse

func (*ClientWithResponses) PostGroupsUpdateWithResponse

func (c *ClientWithResponses) PostGroupsUpdateWithResponse(ctx context.Context, body PostGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostGroupsUpdateResponse, error)

func (*ClientWithResponses) PostRevisionsInfoWithBodyWithResponse

func (c *ClientWithResponses) PostRevisionsInfoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostRevisionsInfoResponse, error)

PostRevisionsInfoWithBodyWithResponse request with arbitrary body returning *PostRevisionsInfoResponse

func (*ClientWithResponses) PostRevisionsInfoWithResponse

func (c *ClientWithResponses) PostRevisionsInfoWithResponse(ctx context.Context, body PostRevisionsInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*PostRevisionsInfoResponse, error)

func (*ClientWithResponses) PostRevisionsListWithBodyWithResponse

func (c *ClientWithResponses) PostRevisionsListWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostRevisionsListResponse, error)

PostRevisionsListWithBodyWithResponse request with arbitrary body returning *PostRevisionsListResponse

func (*ClientWithResponses) PostRevisionsListWithResponse

func (c *ClientWithResponses) PostRevisionsListWithResponse(ctx context.Context, body PostRevisionsListJSONRequestBody, reqEditors ...RequestEditorFn) (*PostRevisionsListResponse, error)

func (*ClientWithResponses) PostSharesCreateWithBodyWithResponse

func (c *ClientWithResponses) PostSharesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSharesCreateResponse, error)

PostSharesCreateWithBodyWithResponse request with arbitrary body returning *PostSharesCreateResponse

func (*ClientWithResponses) PostSharesCreateWithResponse

func (c *ClientWithResponses) PostSharesCreateWithResponse(ctx context.Context, body PostSharesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSharesCreateResponse, error)

func (*ClientWithResponses) PostSharesInfoWithBodyWithResponse

func (c *ClientWithResponses) PostSharesInfoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSharesInfoResponse, error)

PostSharesInfoWithBodyWithResponse request with arbitrary body returning *PostSharesInfoResponse

func (*ClientWithResponses) PostSharesInfoWithResponse

func (c *ClientWithResponses) PostSharesInfoWithResponse(ctx context.Context, body PostSharesInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSharesInfoResponse, error)

func (*ClientWithResponses) PostSharesListWithBodyWithResponse

func (c *ClientWithResponses) PostSharesListWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSharesListResponse, error)

PostSharesListWithBodyWithResponse request with arbitrary body returning *PostSharesListResponse

func (*ClientWithResponses) PostSharesListWithResponse

func (c *ClientWithResponses) PostSharesListWithResponse(ctx context.Context, body PostSharesListJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSharesListResponse, error)

func (*ClientWithResponses) PostSharesRevokeWithBodyWithResponse

func (c *ClientWithResponses) PostSharesRevokeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSharesRevokeResponse, error)

PostSharesRevokeWithBodyWithResponse request with arbitrary body returning *PostSharesRevokeResponse

func (*ClientWithResponses) PostSharesRevokeWithResponse

func (c *ClientWithResponses) PostSharesRevokeWithResponse(ctx context.Context, body PostSharesRevokeJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSharesRevokeResponse, error)

func (*ClientWithResponses) PostSharesUpdateWithBodyWithResponse

func (c *ClientWithResponses) PostSharesUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSharesUpdateResponse, error)

PostSharesUpdateWithBodyWithResponse request with arbitrary body returning *PostSharesUpdateResponse

func (*ClientWithResponses) PostSharesUpdateWithResponse

func (c *ClientWithResponses) PostSharesUpdateWithResponse(ctx context.Context, body PostSharesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSharesUpdateResponse, error)

func (*ClientWithResponses) PostUsersActivateWithBodyWithResponse

func (c *ClientWithResponses) PostUsersActivateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUsersActivateResponse, error)

PostUsersActivateWithBodyWithResponse request with arbitrary body returning *PostUsersActivateResponse

func (*ClientWithResponses) PostUsersActivateWithResponse

func (c *ClientWithResponses) PostUsersActivateWithResponse(ctx context.Context, body PostUsersActivateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostUsersActivateResponse, error)

func (*ClientWithResponses) PostUsersDeleteWithBodyWithResponse

func (c *ClientWithResponses) PostUsersDeleteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUsersDeleteResponse, error)

PostUsersDeleteWithBodyWithResponse request with arbitrary body returning *PostUsersDeleteResponse

func (*ClientWithResponses) PostUsersDeleteWithResponse

func (c *ClientWithResponses) PostUsersDeleteWithResponse(ctx context.Context, body PostUsersDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*PostUsersDeleteResponse, error)

func (*ClientWithResponses) PostUsersInfoWithBodyWithResponse

func (c *ClientWithResponses) PostUsersInfoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUsersInfoResponse, error)

PostUsersInfoWithBodyWithResponse request with arbitrary body returning *PostUsersInfoResponse

func (*ClientWithResponses) PostUsersInfoWithResponse

func (c *ClientWithResponses) PostUsersInfoWithResponse(ctx context.Context, body PostUsersInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*PostUsersInfoResponse, error)

func (*ClientWithResponses) PostUsersInviteWithBodyWithResponse

func (c *ClientWithResponses) PostUsersInviteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUsersInviteResponse, error)

PostUsersInviteWithBodyWithResponse request with arbitrary body returning *PostUsersInviteResponse

func (*ClientWithResponses) PostUsersInviteWithResponse

func (c *ClientWithResponses) PostUsersInviteWithResponse(ctx context.Context, body PostUsersInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*PostUsersInviteResponse, error)

func (*ClientWithResponses) PostUsersListWithBodyWithResponse

func (c *ClientWithResponses) PostUsersListWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUsersListResponse, error)

PostUsersListWithBodyWithResponse request with arbitrary body returning *PostUsersListResponse

func (*ClientWithResponses) PostUsersListWithResponse

func (c *ClientWithResponses) PostUsersListWithResponse(ctx context.Context, body PostUsersListJSONRequestBody, reqEditors ...RequestEditorFn) (*PostUsersListResponse, error)

func (*ClientWithResponses) PostUsersSuspendWithBodyWithResponse

func (c *ClientWithResponses) PostUsersSuspendWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUsersSuspendResponse, error)

PostUsersSuspendWithBodyWithResponse request with arbitrary body returning *PostUsersSuspendResponse

func (*ClientWithResponses) PostUsersSuspendWithResponse

func (c *ClientWithResponses) PostUsersSuspendWithResponse(ctx context.Context, body PostUsersSuspendJSONRequestBody, reqEditors ...RequestEditorFn) (*PostUsersSuspendResponse, error)

func (*ClientWithResponses) PostUsersUpdateRoleWithBodyWithResponse

func (c *ClientWithResponses) PostUsersUpdateRoleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUsersUpdateRoleResponse, error)

PostUsersUpdateRoleWithBodyWithResponse request with arbitrary body returning *PostUsersUpdateRoleResponse

func (*ClientWithResponses) PostUsersUpdateRoleWithResponse

func (c *ClientWithResponses) PostUsersUpdateRoleWithResponse(ctx context.Context, body PostUsersUpdateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*PostUsersUpdateRoleResponse, error)

func (*ClientWithResponses) PostUsersUpdateWithBodyWithResponse

func (c *ClientWithResponses) PostUsersUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUsersUpdateResponse, error)

PostUsersUpdateWithBodyWithResponse request with arbitrary body returning *PostUsersUpdateResponse

func (*ClientWithResponses) PostUsersUpdateWithResponse

func (c *ClientWithResponses) PostUsersUpdateWithResponse(ctx context.Context, body PostUsersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostUsersUpdateResponse, error)

func (*ClientWithResponses) PostViewsCreateWithBodyWithResponse

func (c *ClientWithResponses) PostViewsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostViewsCreateResponse, error)

PostViewsCreateWithBodyWithResponse request with arbitrary body returning *PostViewsCreateResponse

func (*ClientWithResponses) PostViewsCreateWithResponse

func (c *ClientWithResponses) PostViewsCreateWithResponse(ctx context.Context, body PostViewsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostViewsCreateResponse, error)

func (*ClientWithResponses) PostViewsListWithBodyWithResponse

func (c *ClientWithResponses) PostViewsListWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostViewsListResponse, error)

PostViewsListWithBodyWithResponse request with arbitrary body returning *PostViewsListResponse

func (*ClientWithResponses) PostViewsListWithResponse

func (c *ClientWithResponses) PostViewsListWithResponse(ctx context.Context, body PostViewsListJSONRequestBody, reqEditors ...RequestEditorFn) (*PostViewsListResponse, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// PostAttachmentsCreateWithBodyWithResponse request with any body
	PostAttachmentsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAttachmentsCreateResponse, error)

	PostAttachmentsCreateWithResponse(ctx context.Context, body PostAttachmentsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAttachmentsCreateResponse, error)

	// PostAttachmentsDeleteWithBodyWithResponse request with any body
	PostAttachmentsDeleteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAttachmentsDeleteResponse, error)

	PostAttachmentsDeleteWithResponse(ctx context.Context, body PostAttachmentsDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAttachmentsDeleteResponse, error)

	// PostAttachmentsRedirectWithBodyWithResponse request with any body
	PostAttachmentsRedirectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAttachmentsRedirectResponse, error)

	PostAttachmentsRedirectWithResponse(ctx context.Context, body PostAttachmentsRedirectJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAttachmentsRedirectResponse, error)

	// PostAuthConfigWithResponse request
	PostAuthConfigWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostAuthConfigResponse, error)

	// PostAuthInfoWithResponse request
	PostAuthInfoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostAuthInfoResponse, error)

	// PostCollectionsAddGroupWithBodyWithResponse request with any body
	PostCollectionsAddGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCollectionsAddGroupResponse, error)

	PostCollectionsAddGroupWithResponse(ctx context.Context, body PostCollectionsAddGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCollectionsAddGroupResponse, error)

	// PostCollectionsAddUserWithBodyWithResponse request with any body
	PostCollectionsAddUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCollectionsAddUserResponse, error)

	PostCollectionsAddUserWithResponse(ctx context.Context, body PostCollectionsAddUserJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCollectionsAddUserResponse, error)

	// PostCollectionsCreateWithBodyWithResponse request with any body
	PostCollectionsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCollectionsCreateResponse, error)

	PostCollectionsCreateWithResponse(ctx context.Context, body PostCollectionsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCollectionsCreateResponse, error)

	// PostCollectionsDeleteWithBodyWithResponse request with any body
	PostCollectionsDeleteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCollectionsDeleteResponse, error)

	PostCollectionsDeleteWithResponse(ctx context.Context, body PostCollectionsDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCollectionsDeleteResponse, error)

	// PostCollectionsDocumentsWithBodyWithResponse request with any body
	PostCollectionsDocumentsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCollectionsDocumentsResponse, error)

	PostCollectionsDocumentsWithResponse(ctx context.Context, body PostCollectionsDocumentsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCollectionsDocumentsResponse, error)

	// PostCollectionsExportWithBodyWithResponse request with any body
	PostCollectionsExportWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCollectionsExportResponse, error)

	PostCollectionsExportWithResponse(ctx context.Context, body PostCollectionsExportJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCollectionsExportResponse, error)

	// PostCollectionsExportAllWithBodyWithResponse request with any body
	PostCollectionsExportAllWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCollectionsExportAllResponse, error)

	PostCollectionsExportAllWithResponse(ctx context.Context, body PostCollectionsExportAllJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCollectionsExportAllResponse, error)

	// PostCollectionsGroupMembershipsWithBodyWithResponse request with any body
	PostCollectionsGroupMembershipsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCollectionsGroupMembershipsResponse, error)

	PostCollectionsGroupMembershipsWithResponse(ctx context.Context, body PostCollectionsGroupMembershipsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCollectionsGroupMembershipsResponse, error)

	// PostCollectionsInfoWithBodyWithResponse request with any body
	PostCollectionsInfoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCollectionsInfoResponse, error)

	PostCollectionsInfoWithResponse(ctx context.Context, body PostCollectionsInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCollectionsInfoResponse, error)

	// PostCollectionsListWithBodyWithResponse request with any body
	PostCollectionsListWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCollectionsListResponse, error)

	PostCollectionsListWithResponse(ctx context.Context, body PostCollectionsListJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCollectionsListResponse, error)

	// PostCollectionsMembershipsWithBodyWithResponse request with any body
	PostCollectionsMembershipsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCollectionsMembershipsResponse, error)

	PostCollectionsMembershipsWithResponse(ctx context.Context, body PostCollectionsMembershipsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCollectionsMembershipsResponse, error)

	// PostCollectionsRemoveGroupWithBodyWithResponse request with any body
	PostCollectionsRemoveGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCollectionsRemoveGroupResponse, error)

	PostCollectionsRemoveGroupWithResponse(ctx context.Context, body PostCollectionsRemoveGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCollectionsRemoveGroupResponse, error)

	// PostCollectionsRemoveUserWithBodyWithResponse request with any body
	PostCollectionsRemoveUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCollectionsRemoveUserResponse, error)

	PostCollectionsRemoveUserWithResponse(ctx context.Context, body PostCollectionsRemoveUserJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCollectionsRemoveUserResponse, error)

	// PostCollectionsUpdateWithBodyWithResponse request with any body
	PostCollectionsUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCollectionsUpdateResponse, error)

	PostCollectionsUpdateWithResponse(ctx context.Context, body PostCollectionsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCollectionsUpdateResponse, error)

	// PostCommentsCreateWithBodyWithResponse request with any body
	PostCommentsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCommentsCreateResponse, error)

	PostCommentsCreateWithResponse(ctx context.Context, body PostCommentsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCommentsCreateResponse, error)

	// PostCommentsDeleteWithBodyWithResponse request with any body
	PostCommentsDeleteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCommentsDeleteResponse, error)

	PostCommentsDeleteWithResponse(ctx context.Context, body PostCommentsDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCommentsDeleteResponse, error)

	// PostCommentsListWithBodyWithResponse request with any body
	PostCommentsListWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCommentsListResponse, error)

	PostCommentsListWithResponse(ctx context.Context, body PostCommentsListJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCommentsListResponse, error)

	// PostCommentsUpdateWithBodyWithResponse request with any body
	PostCommentsUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCommentsUpdateResponse, error)

	PostCommentsUpdateWithResponse(ctx context.Context, body PostCommentsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCommentsUpdateResponse, error)

	// PostDocumentsAddUserWithBodyWithResponse request with any body
	PostDocumentsAddUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsAddUserResponse, error)

	PostDocumentsAddUserWithResponse(ctx context.Context, body PostDocumentsAddUserJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsAddUserResponse, error)

	// PostDocumentsArchiveWithBodyWithResponse request with any body
	PostDocumentsArchiveWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsArchiveResponse, error)

	PostDocumentsArchiveWithResponse(ctx context.Context, body PostDocumentsArchiveJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsArchiveResponse, error)

	// PostDocumentsCreateWithBodyWithResponse request with any body
	PostDocumentsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsCreateResponse, error)

	PostDocumentsCreateWithResponse(ctx context.Context, body PostDocumentsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsCreateResponse, error)

	// PostDocumentsDeleteWithBodyWithResponse request with any body
	PostDocumentsDeleteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsDeleteResponse, error)

	PostDocumentsDeleteWithResponse(ctx context.Context, body PostDocumentsDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsDeleteResponse, error)

	// PostDocumentsDraftsWithBodyWithResponse request with any body
	PostDocumentsDraftsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsDraftsResponse, error)

	PostDocumentsDraftsWithResponse(ctx context.Context, body PostDocumentsDraftsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsDraftsResponse, error)

	// PostDocumentsExportWithBodyWithResponse request with any body
	PostDocumentsExportWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsExportResponse, error)

	PostDocumentsExportWithResponse(ctx context.Context, body PostDocumentsExportJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsExportResponse, error)

	// PostDocumentsImportWithBodyWithResponse request with any body
	PostDocumentsImportWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsImportResponse, error)

	// PostDocumentsInfoWithBodyWithResponse request with any body
	PostDocumentsInfoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsInfoResponse, error)

	PostDocumentsInfoWithResponse(ctx context.Context, body PostDocumentsInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsInfoResponse, error)

	// PostDocumentsListWithBodyWithResponse request with any body
	PostDocumentsListWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsListResponse, error)

	PostDocumentsListWithResponse(ctx context.Context, body PostDocumentsListJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsListResponse, error)

	// PostDocumentsMembershipsWithBodyWithResponse request with any body
	PostDocumentsMembershipsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsMembershipsResponse, error)

	PostDocumentsMembershipsWithResponse(ctx context.Context, body PostDocumentsMembershipsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsMembershipsResponse, error)

	// PostDocumentsMoveWithBodyWithResponse request with any body
	PostDocumentsMoveWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsMoveResponse, error)

	PostDocumentsMoveWithResponse(ctx context.Context, body PostDocumentsMoveJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsMoveResponse, error)

	// PostDocumentsRemoveUserWithBodyWithResponse request with any body
	PostDocumentsRemoveUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsRemoveUserResponse, error)

	PostDocumentsRemoveUserWithResponse(ctx context.Context, body PostDocumentsRemoveUserJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsRemoveUserResponse, error)

	// PostDocumentsRestoreWithBodyWithResponse request with any body
	PostDocumentsRestoreWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsRestoreResponse, error)

	PostDocumentsRestoreWithResponse(ctx context.Context, body PostDocumentsRestoreJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsRestoreResponse, error)

	// PostDocumentsSearchWithBodyWithResponse request with any body
	PostDocumentsSearchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsSearchResponse, error)

	PostDocumentsSearchWithResponse(ctx context.Context, body PostDocumentsSearchJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsSearchResponse, error)

	// PostDocumentsStarWithBodyWithResponse request with any body
	PostDocumentsStarWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsStarResponse, error)

	PostDocumentsStarWithResponse(ctx context.Context, body PostDocumentsStarJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsStarResponse, error)

	// PostDocumentsTemplatizeWithBodyWithResponse request with any body
	PostDocumentsTemplatizeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsTemplatizeResponse, error)

	PostDocumentsTemplatizeWithResponse(ctx context.Context, body PostDocumentsTemplatizeJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsTemplatizeResponse, error)

	// PostDocumentsUnpublishWithBodyWithResponse request with any body
	PostDocumentsUnpublishWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsUnpublishResponse, error)

	PostDocumentsUnpublishWithResponse(ctx context.Context, body PostDocumentsUnpublishJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsUnpublishResponse, error)

	// PostDocumentsUnstarWithBodyWithResponse request with any body
	PostDocumentsUnstarWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsUnstarResponse, error)

	PostDocumentsUnstarWithResponse(ctx context.Context, body PostDocumentsUnstarJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsUnstarResponse, error)

	// PostDocumentsUpdateWithBodyWithResponse request with any body
	PostDocumentsUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsUpdateResponse, error)

	PostDocumentsUpdateWithResponse(ctx context.Context, body PostDocumentsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsUpdateResponse, error)

	// PostDocumentsUsersWithBodyWithResponse request with any body
	PostDocumentsUsersWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsUsersResponse, error)

	PostDocumentsUsersWithResponse(ctx context.Context, body PostDocumentsUsersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsUsersResponse, error)

	// PostDocumentsViewedWithBodyWithResponse request with any body
	PostDocumentsViewedWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDocumentsViewedResponse, error)

	PostDocumentsViewedWithResponse(ctx context.Context, body PostDocumentsViewedJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDocumentsViewedResponse, error)

	// PostEventsListWithBodyWithResponse request with any body
	PostEventsListWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostEventsListResponse, error)

	PostEventsListWithResponse(ctx context.Context, body PostEventsListJSONRequestBody, reqEditors ...RequestEditorFn) (*PostEventsListResponse, error)

	// PostFileOperationsDeleteWithBodyWithResponse request with any body
	PostFileOperationsDeleteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFileOperationsDeleteResponse, error)

	PostFileOperationsDeleteWithResponse(ctx context.Context, body PostFileOperationsDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFileOperationsDeleteResponse, error)

	// PostFileOperationsInfoWithBodyWithResponse request with any body
	PostFileOperationsInfoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFileOperationsInfoResponse, error)

	PostFileOperationsInfoWithResponse(ctx context.Context, body PostFileOperationsInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFileOperationsInfoResponse, error)

	// PostFileOperationsListWithBodyWithResponse request with any body
	PostFileOperationsListWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFileOperationsListResponse, error)

	PostFileOperationsListWithResponse(ctx context.Context, body PostFileOperationsListJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFileOperationsListResponse, error)

	// PostFileOperationsRedirectWithBodyWithResponse request with any body
	PostFileOperationsRedirectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFileOperationsRedirectResponse, error)

	PostFileOperationsRedirectWithResponse(ctx context.Context, body PostFileOperationsRedirectJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFileOperationsRedirectResponse, error)

	// PostGroupsAddUserWithBodyWithResponse request with any body
	PostGroupsAddUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostGroupsAddUserResponse, error)

	PostGroupsAddUserWithResponse(ctx context.Context, body PostGroupsAddUserJSONRequestBody, reqEditors ...RequestEditorFn) (*PostGroupsAddUserResponse, error)

	// PostGroupsCreateWithBodyWithResponse request with any body
	PostGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostGroupsCreateResponse, error)

	PostGroupsCreateWithResponse(ctx context.Context, body PostGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostGroupsCreateResponse, error)

	// PostGroupsDeleteWithBodyWithResponse request with any body
	PostGroupsDeleteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostGroupsDeleteResponse, error)

	PostGroupsDeleteWithResponse(ctx context.Context, body PostGroupsDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*PostGroupsDeleteResponse, error)

	// PostGroupsInfoWithBodyWithResponse request with any body
	PostGroupsInfoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostGroupsInfoResponse, error)

	PostGroupsInfoWithResponse(ctx context.Context, body PostGroupsInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*PostGroupsInfoResponse, error)

	// PostGroupsListWithBodyWithResponse request with any body
	PostGroupsListWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostGroupsListResponse, error)

	PostGroupsListWithResponse(ctx context.Context, body PostGroupsListJSONRequestBody, reqEditors ...RequestEditorFn) (*PostGroupsListResponse, error)

	// PostGroupsMembershipsWithBodyWithResponse request with any body
	PostGroupsMembershipsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostGroupsMembershipsResponse, error)

	PostGroupsMembershipsWithResponse(ctx context.Context, body PostGroupsMembershipsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostGroupsMembershipsResponse, error)

	// PostGroupsRemoveUserWithBodyWithResponse request with any body
	PostGroupsRemoveUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostGroupsRemoveUserResponse, error)

	PostGroupsRemoveUserWithResponse(ctx context.Context, body PostGroupsRemoveUserJSONRequestBody, reqEditors ...RequestEditorFn) (*PostGroupsRemoveUserResponse, error)

	// PostGroupsUpdateWithBodyWithResponse request with any body
	PostGroupsUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostGroupsUpdateResponse, error)

	PostGroupsUpdateWithResponse(ctx context.Context, body PostGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostGroupsUpdateResponse, error)

	// PostRevisionsInfoWithBodyWithResponse request with any body
	PostRevisionsInfoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostRevisionsInfoResponse, error)

	PostRevisionsInfoWithResponse(ctx context.Context, body PostRevisionsInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*PostRevisionsInfoResponse, error)

	// PostRevisionsListWithBodyWithResponse request with any body
	PostRevisionsListWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostRevisionsListResponse, error)

	PostRevisionsListWithResponse(ctx context.Context, body PostRevisionsListJSONRequestBody, reqEditors ...RequestEditorFn) (*PostRevisionsListResponse, error)

	// PostSharesCreateWithBodyWithResponse request with any body
	PostSharesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSharesCreateResponse, error)

	PostSharesCreateWithResponse(ctx context.Context, body PostSharesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSharesCreateResponse, error)

	// PostSharesInfoWithBodyWithResponse request with any body
	PostSharesInfoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSharesInfoResponse, error)

	PostSharesInfoWithResponse(ctx context.Context, body PostSharesInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSharesInfoResponse, error)

	// PostSharesListWithBodyWithResponse request with any body
	PostSharesListWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSharesListResponse, error)

	PostSharesListWithResponse(ctx context.Context, body PostSharesListJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSharesListResponse, error)

	// PostSharesRevokeWithBodyWithResponse request with any body
	PostSharesRevokeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSharesRevokeResponse, error)

	PostSharesRevokeWithResponse(ctx context.Context, body PostSharesRevokeJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSharesRevokeResponse, error)

	// PostSharesUpdateWithBodyWithResponse request with any body
	PostSharesUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSharesUpdateResponse, error)

	PostSharesUpdateWithResponse(ctx context.Context, body PostSharesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSharesUpdateResponse, error)

	// PostUsersActivateWithBodyWithResponse request with any body
	PostUsersActivateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUsersActivateResponse, error)

	PostUsersActivateWithResponse(ctx context.Context, body PostUsersActivateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostUsersActivateResponse, error)

	// PostUsersDeleteWithBodyWithResponse request with any body
	PostUsersDeleteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUsersDeleteResponse, error)

	PostUsersDeleteWithResponse(ctx context.Context, body PostUsersDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*PostUsersDeleteResponse, error)

	// PostUsersInfoWithBodyWithResponse request with any body
	PostUsersInfoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUsersInfoResponse, error)

	PostUsersInfoWithResponse(ctx context.Context, body PostUsersInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*PostUsersInfoResponse, error)

	// PostUsersInviteWithBodyWithResponse request with any body
	PostUsersInviteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUsersInviteResponse, error)

	PostUsersInviteWithResponse(ctx context.Context, body PostUsersInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*PostUsersInviteResponse, error)

	// PostUsersListWithBodyWithResponse request with any body
	PostUsersListWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUsersListResponse, error)

	PostUsersListWithResponse(ctx context.Context, body PostUsersListJSONRequestBody, reqEditors ...RequestEditorFn) (*PostUsersListResponse, error)

	// PostUsersSuspendWithBodyWithResponse request with any body
	PostUsersSuspendWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUsersSuspendResponse, error)

	PostUsersSuspendWithResponse(ctx context.Context, body PostUsersSuspendJSONRequestBody, reqEditors ...RequestEditorFn) (*PostUsersSuspendResponse, error)

	// PostUsersUpdateWithBodyWithResponse request with any body
	PostUsersUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUsersUpdateResponse, error)

	PostUsersUpdateWithResponse(ctx context.Context, body PostUsersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostUsersUpdateResponse, error)

	// PostUsersUpdateRoleWithBodyWithResponse request with any body
	PostUsersUpdateRoleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUsersUpdateRoleResponse, error)

	PostUsersUpdateRoleWithResponse(ctx context.Context, body PostUsersUpdateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*PostUsersUpdateRoleResponse, error)

	// PostViewsCreateWithBodyWithResponse request with any body
	PostViewsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostViewsCreateResponse, error)

	PostViewsCreateWithResponse(ctx context.Context, body PostViewsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostViewsCreateResponse, error)

	// PostViewsListWithBodyWithResponse request with any body
	PostViewsListWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostViewsListResponse, error)

	PostViewsListWithResponse(ctx context.Context, body PostViewsListJSONRequestBody, reqEditors ...RequestEditorFn) (*PostViewsListResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type Collection

type Collection struct {
	// Color A color representing the collection, this is used to help make collections more identifiable in the UI. It should be in HEX format including the #
	Color *string `json:"color,omitempty"`

	// CreatedAt The date and time that this object was created
	CreatedAt *time.Time `json:"createdAt,omitempty"`

	// DeletedAt The date and time that this object was deleted
	DeletedAt *time.Time `json:"deletedAt"`

	// Description A description of the collection, may contain markdown formatting
	Description *string `json:"description,omitempty"`

	// Icon A string that represents an icon in the outline-icons package
	Icon *string `json:"icon,omitempty"`

	// Id Unique identifier for the object.
	Id *openapi_types.UUID `json:"id,omitempty"`

	// Index The position of the collection in the sidebar
	Index *string `json:"index,omitempty"`

	// Name The name of the collection.
	Name       *string     `json:"name,omitempty"`
	Permission *Permission `json:"permission,omitempty"`

	// Sort The sort of documents in the collection. Note that not all API responses respect this and it is left as a frontend concern to implement.
	Sort *struct {
		Direction *CollectionSortDirection `json:"direction,omitempty"`
		Field     *string                  `json:"field,omitempty"`
	} `json:"sort,omitempty"`

	// UpdatedAt The date and time that this object was last changed
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

Collection defines model for Collection.

type CollectionGroupMembership

type CollectionGroupMembership struct {
	// CollectionId Identifier for the associated collection.
	CollectionId *openapi_types.UUID `json:"collectionId,omitempty"`

	// GroupId Identifier for the associated group.
	GroupId *openapi_types.UUID `json:"groupId,omitempty"`

	// Id Unique identifier for the object.
	Id         *string     `json:"id,omitempty"`
	Permission *Permission `json:"permission,omitempty"`
}

CollectionGroupMembership defines model for CollectionGroupMembership.

type CollectionSortDirection

type CollectionSortDirection string

CollectionSortDirection defines model for Collection.Sort.Direction.

const (
	Asc  CollectionSortDirection = "asc"
	Desc CollectionSortDirection = "desc"
)

Defines values for CollectionSortDirection.

type Comment

type Comment struct {
	// CreatedAt The date and time that this object was created
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	CreatedBy *User      `json:"createdBy,omitempty"`

	// Data The editor data representing this comment.
	Data *map[string]interface{} `json:"data,omitempty"`

	// DocumentId Identifier for the document this is related to.
	DocumentId *openapi_types.UUID `json:"documentId,omitempty"`

	// Id Unique identifier for the object.
	Id *openapi_types.UUID `json:"id,omitempty"`

	// ParentCommentId Identifier for the comment this is a child of, if any.
	ParentCommentId *openapi_types.UUID `json:"parentCommentId,omitempty"`

	// UpdatedAt The date and time that this object was last changed
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	UpdatedBy *User      `json:"updatedBy,omitempty"`
}

Comment defines model for Comment.

type Document

type Document struct {
	// ArchivedAt The date and time that this object was archived
	ArchivedAt    *time.Time `json:"archivedAt,omitempty"`
	Collaborators *[]User    `json:"collaborators,omitempty"`

	// CollectionId Identifier for the associated collection.
	CollectionId *openapi_types.UUID `json:"collectionId,omitempty"`

	// CreatedAt The date and time that this object was created
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	CreatedBy *User      `json:"createdBy,omitempty"`

	// DeletedAt The date and time that this object was deleted
	DeletedAt *time.Time `json:"deletedAt"`

	// Emoji An emoji associated with the document.
	Emoji *string `json:"emoji,omitempty"`

	// FullWidth Whether this document should be displayed in a full-width view.
	FullWidth *bool `json:"fullWidth,omitempty"`

	// Id Unique identifier for the object.
	Id *openapi_types.UUID `json:"id,omitempty"`

	// ParentDocumentId Identifier for the document this is a child of, if any.
	ParentDocumentId *openapi_types.UUID `json:"parentDocumentId,omitempty"`

	// Pinned Whether this document is pinned in the collection
	Pinned *bool `json:"pinned,omitempty"`

	// PublishedAt The date and time that this object was published
	PublishedAt *time.Time `json:"publishedAt"`

	// Revision A number that is auto incrementing with every revision of the document that is saved
	Revision *float32 `json:"revision,omitempty"`

	// Template Whether this document is a template
	Template *bool `json:"template,omitempty"`

	// TemplateId Unique identifier for the template this document was created from, if any
	TemplateId *openapi_types.UUID `json:"templateId,omitempty"`

	// Text The text content of the document, contains markdown formatting
	Text *string `json:"text,omitempty"`

	// Title The title of the document.
	Title *string `json:"title,omitempty"`

	// UpdatedAt The date and time that this object was last changed
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	UpdatedBy *User      `json:"updatedBy,omitempty"`

	// UrlId A short unique ID that can be used to identify the document as an alternative to the UUID
	UrlId *string `json:"urlId,omitempty"`
}

Document defines model for Document.

type Error

type Error struct {
	Error *string `json:"error,omitempty"`
	Ok    *bool   `json:"ok,omitempty"`
}

Error defines model for Error.

type Event

type Event struct {
	Actor *User `json:"actor,omitempty"`

	// ActorId The user that performed the action.
	ActorId *openapi_types.UUID `json:"actorId,omitempty"`

	// ActorIpAddress The ip address the action was performed from. This field is only returned when the `auditLog` boolean is true.
	ActorIpAddress *string `json:"actorIpAddress,omitempty"`

	// CollectionId Identifier for the associated collection, if any
	CollectionId *openapi_types.UUID `json:"collectionId,omitempty"`

	// CreatedAt The date and time that this event was created
	CreatedAt *time.Time `json:"createdAt,omitempty"`

	// Data Additional unstructured data associated with the event
	Data *map[string]interface{} `json:"data,omitempty"`

	// DocumentId Identifier for the associated document, if any
	DocumentId *openapi_types.UUID `json:"documentId,omitempty"`

	// Id Unique identifier for the object.
	Id *openapi_types.UUID `json:"id,omitempty"`

	// ModelId Identifier for the object this event is associated with when it is not one of document, collection, or user.
	ModelId *openapi_types.UUID `json:"modelId,omitempty"`
	Name    *string             `json:"name,omitempty"`
}

Event defines model for Event.

type FileOperation

type FileOperation struct {
	Collections *Collection `json:"collections,omitempty"`

	// CreatedAt The date and time that this object was created
	CreatedAt *time.Time `json:"createdAt,omitempty"`

	// Id Unique identifier for the object.
	Id *openapi_types.UUID `json:"id,omitempty"`

	// Size The size of the resulting file in bytes
	Size *float32 `json:"size,omitempty"`

	// State The state of the file operation.
	State *FileOperationState `json:"state,omitempty"`

	// Type The type of file operation.
	Type *FileOperationType `json:"type,omitempty"`
	User *User              `json:"user,omitempty"`
}

FileOperation defines model for FileOperation.

type FileOperationState

type FileOperationState string

FileOperationState The state of the file operation.

const (
	FileOperationStateComplete  FileOperationState = "complete"
	FileOperationStateCreating  FileOperationState = "creating"
	FileOperationStateError     FileOperationState = "error"
	FileOperationStateExpired   FileOperationState = "expired"
	FileOperationStateUploading FileOperationState = "uploading"
)

Defines values for FileOperationState.

type FileOperationType

type FileOperationType string

FileOperationType The type of file operation.

const (
	FileOperationTypeExport FileOperationType = "export"
	FileOperationTypeImport FileOperationType = "import"
)

Defines values for FileOperationType.

type Group

type Group struct {
	// CreatedAt The date and time that this object was created
	CreatedAt *time.Time `json:"createdAt,omitempty"`

	// Id Unique identifier for the object.
	Id *openapi_types.UUID `json:"id,omitempty"`

	// MemberCount The number of users that are members of the group
	MemberCount *float32 `json:"memberCount,omitempty"`

	// Name The name of this group.
	Name *string `json:"name,omitempty"`

	// UpdatedAt The date and time that this object was last changed
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

Group defines model for Group.

type GroupMembership

type GroupMembership struct {
	// GroupId Identifier for the associated group.
	GroupId *openapi_types.UUID `json:"groupId,omitempty"`

	// Id Unique identifier for the object.
	Id   *string `json:"id,omitempty"`
	User *User   `json:"user,omitempty"`

	// UserId Identifier for the associated user.
	UserId *openapi_types.UUID `json:"userId,omitempty"`
}

GroupMembership defines model for GroupMembership.

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type Invite

type Invite struct {
	// Email The email address to invite
	Email *string `json:"email,omitempty"`

	// Name The full name of the user being invited
	Name *string   `json:"name,omitempty"`
	Role *UserRole `json:"role,omitempty"`
}

Invite defines model for Invite.

type Membership

type Membership struct {
	// CollectionId Identifier for the associated collection.
	CollectionId *openapi_types.UUID `json:"collectionId,omitempty"`

	// Id Unique identifier for the object.
	Id         *string     `json:"id,omitempty"`
	Permission *Permission `json:"permission,omitempty"`

	// UserId Identifier for the associated user.
	UserId *openapi_types.UUID `json:"userId,omitempty"`
}

Membership defines model for Membership.

type NavigationNode struct {
	Children *[]NavigationNode `json:"children,omitempty"`

	// Id Unique identifier for the document.
	Id    *openapi_types.UUID `json:"id,omitempty"`
	Title *string             `json:"title,omitempty"`
	Url   *string             `json:"url,omitempty"`
}

NavigationNode defines model for NavigationNode.

type NotFound

type NotFound = Error

NotFound defines model for NotFound.

type Pagination

type Pagination struct {
	Limit  *float32 `json:"limit,omitempty"`
	Offset *float32 `json:"offset,omitempty"`
}

Pagination defines model for Pagination.

type Permission

type Permission string

Permission defines model for Permission.

const (
	Read      Permission = "read"
	ReadWrite Permission = "read_write"
)

Defines values for Permission.

type Policy

type Policy struct {
	Abilities *struct {
		Archive             *bool `json:"archive,omitempty"`
		Create              *bool `json:"create,omitempty"`
		CreateChildDocument *bool `json:"createChildDocument,omitempty"`
		Delete              *bool `json:"delete,omitempty"`
		Download            *bool `json:"download,omitempty"`
		Move                *bool `json:"move,omitempty"`
		Pin                 *bool `json:"pin,omitempty"`
		Read                *bool `json:"read,omitempty"`
		Restore             *bool `json:"restore,omitempty"`
		Share               *bool `json:"share,omitempty"`
		Star                *bool `json:"star,omitempty"`
		Unarchive           *bool `json:"unarchive,omitempty"`
		Unpin               *bool `json:"unpin,omitempty"`
		Unstar              *bool `json:"unstar,omitempty"`
		Update              *bool `json:"update,omitempty"`
	} `json:"abilities,omitempty"`

	// Id Unique identifier for the object this policy references.
	Id *openapi_types.UUID `json:"id,omitempty"`
}

Policy defines model for Policy.

type PostAttachmentsCreateJSONBody

type PostAttachmentsCreateJSONBody struct {
	ContentType string `json:"contentType"`

	// DocumentId Identifier for the associated document, if any.
	DocumentId *openapi_types.UUID `json:"documentId,omitempty"`
	Name       string              `json:"name"`

	// Size Size of the file attachment in bytes.
	Size float32 `json:"size"`
}

PostAttachmentsCreateJSONBody defines parameters for PostAttachmentsCreate.

type PostAttachmentsCreateJSONRequestBody

type PostAttachmentsCreateJSONRequestBody PostAttachmentsCreateJSONBody

PostAttachmentsCreateJSONRequestBody defines body for PostAttachmentsCreate for application/json ContentType.

type PostAttachmentsCreateResponse

type PostAttachmentsCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *struct {
			Attachment    *Attachment             `json:"attachment,omitempty"`
			Form          *map[string]interface{} `json:"form,omitempty"`
			MaxUploadSize *float32                `json:"maxUploadSize,omitempty"`
			UploadUrl     *string                 `json:"uploadUrl,omitempty"`
		} `json:"data,omitempty"`
	}
	JSON400 *Validation
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
}

func ParsePostAttachmentsCreateResponse

func ParsePostAttachmentsCreateResponse(rsp *http.Response) (*PostAttachmentsCreateResponse, error)

ParsePostAttachmentsCreateResponse parses an HTTP response from a PostAttachmentsCreateWithResponse call

func (PostAttachmentsCreateResponse) Status

Status returns HTTPResponse.Status

func (PostAttachmentsCreateResponse) StatusCode

func (r PostAttachmentsCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostAttachmentsDeleteJSONBody

type PostAttachmentsDeleteJSONBody struct {
	// Id Unique identifier for the attachment.
	Id openapi_types.UUID `json:"id"`
}

PostAttachmentsDeleteJSONBody defines parameters for PostAttachmentsDelete.

type PostAttachmentsDeleteJSONRequestBody

type PostAttachmentsDeleteJSONRequestBody PostAttachmentsDeleteJSONBody

PostAttachmentsDeleteJSONRequestBody defines body for PostAttachmentsDelete for application/json ContentType.

type PostAttachmentsDeleteResponse

type PostAttachmentsDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Success *bool `json:"success,omitempty"`
	}
	JSON400 *Validation
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostAttachmentsDeleteResponse

func ParsePostAttachmentsDeleteResponse(rsp *http.Response) (*PostAttachmentsDeleteResponse, error)

ParsePostAttachmentsDeleteResponse parses an HTTP response from a PostAttachmentsDeleteWithResponse call

func (PostAttachmentsDeleteResponse) Status

Status returns HTTPResponse.Status

func (PostAttachmentsDeleteResponse) StatusCode

func (r PostAttachmentsDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostAttachmentsRedirectJSONBody

type PostAttachmentsRedirectJSONBody struct {
	// Id Unique identifier for the attachment.
	Id openapi_types.UUID `json:"id"`
}

PostAttachmentsRedirectJSONBody defines parameters for PostAttachmentsRedirect.

type PostAttachmentsRedirectJSONRequestBody

type PostAttachmentsRedirectJSONRequestBody PostAttachmentsRedirectJSONBody

PostAttachmentsRedirectJSONRequestBody defines body for PostAttachmentsRedirect for application/json ContentType.

type PostAttachmentsRedirectResponse

type PostAttachmentsRedirectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParsePostAttachmentsRedirectResponse

func ParsePostAttachmentsRedirectResponse(rsp *http.Response) (*PostAttachmentsRedirectResponse, error)

ParsePostAttachmentsRedirectResponse parses an HTTP response from a PostAttachmentsRedirectWithResponse call

func (PostAttachmentsRedirectResponse) Status

Status returns HTTPResponse.Status

func (PostAttachmentsRedirectResponse) StatusCode

func (r PostAttachmentsRedirectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostAuthConfigResponse

type PostAuthConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *struct {
			Hostname *string `json:"hostname,omitempty"`
			Name     *string `json:"name,omitempty"`
			Services *[]struct {
				AuthUrl *string `json:"authUrl,omitempty"`
				Id      *string `json:"id,omitempty"`
				Name    *string `json:"name,omitempty"`
			} `json:"services,omitempty"`
		} `json:"data,omitempty"`
	}
}

func ParsePostAuthConfigResponse

func ParsePostAuthConfigResponse(rsp *http.Response) (*PostAuthConfigResponse, error)

ParsePostAuthConfigResponse parses an HTTP response from a PostAuthConfigWithResponse call

func (PostAuthConfigResponse) Status

func (r PostAuthConfigResponse) Status() string

Status returns HTTPResponse.Status

func (PostAuthConfigResponse) StatusCode

func (r PostAuthConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostAuthInfoResponse

type PostAuthInfoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *Auth `json:"data,omitempty"`
	}
	JSON401 *Unauthenticated
}

func ParsePostAuthInfoResponse

func ParsePostAuthInfoResponse(rsp *http.Response) (*PostAuthInfoResponse, error)

ParsePostAuthInfoResponse parses an HTTP response from a PostAuthInfoWithResponse call

func (PostAuthInfoResponse) Status

func (r PostAuthInfoResponse) Status() string

Status returns HTTPResponse.Status

func (PostAuthInfoResponse) StatusCode

func (r PostAuthInfoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostCollectionsAddGroupJSONBody

type PostCollectionsAddGroupJSONBody struct {
	GroupId    openapi_types.UUID `json:"groupId"`
	Id         openapi_types.UUID `json:"id"`
	Permission *Permission        `json:"permission,omitempty"`
}

PostCollectionsAddGroupJSONBody defines parameters for PostCollectionsAddGroup.

type PostCollectionsAddGroupJSONRequestBody

type PostCollectionsAddGroupJSONRequestBody PostCollectionsAddGroupJSONBody

PostCollectionsAddGroupJSONRequestBody defines body for PostCollectionsAddGroup for application/json ContentType.

type PostCollectionsAddGroupResponse

type PostCollectionsAddGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *struct {
			CollectionGroupMemberships *[]CollectionGroupMembership `json:"collectionGroupMemberships,omitempty"`
		} `json:"data,omitempty"`
	}
	JSON400 *Validation
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostCollectionsAddGroupResponse

func ParsePostCollectionsAddGroupResponse(rsp *http.Response) (*PostCollectionsAddGroupResponse, error)

ParsePostCollectionsAddGroupResponse parses an HTTP response from a PostCollectionsAddGroupWithResponse call

func (PostCollectionsAddGroupResponse) Status

Status returns HTTPResponse.Status

func (PostCollectionsAddGroupResponse) StatusCode

func (r PostCollectionsAddGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostCollectionsAddUserJSONBody

type PostCollectionsAddUserJSONBody struct {
	Id         openapi_types.UUID `json:"id"`
	Permission *Permission        `json:"permission,omitempty"`
	UserId     openapi_types.UUID `json:"userId"`
}

PostCollectionsAddUserJSONBody defines parameters for PostCollectionsAddUser.

type PostCollectionsAddUserJSONRequestBody

type PostCollectionsAddUserJSONRequestBody PostCollectionsAddUserJSONBody

PostCollectionsAddUserJSONRequestBody defines body for PostCollectionsAddUser for application/json ContentType.

type PostCollectionsAddUserResponse

type PostCollectionsAddUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *struct {
			Memberships *[]Membership `json:"memberships,omitempty"`
			Users       *[]User       `json:"users,omitempty"`
		} `json:"data,omitempty"`
	}
	JSON400 *Validation
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostCollectionsAddUserResponse

func ParsePostCollectionsAddUserResponse(rsp *http.Response) (*PostCollectionsAddUserResponse, error)

ParsePostCollectionsAddUserResponse parses an HTTP response from a PostCollectionsAddUserWithResponse call

func (PostCollectionsAddUserResponse) Status

Status returns HTTPResponse.Status

func (PostCollectionsAddUserResponse) StatusCode

func (r PostCollectionsAddUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostCollectionsCreateJSONBody

type PostCollectionsCreateJSONBody struct {
	Color       *string     `json:"color,omitempty"`
	Description *string     `json:"description,omitempty"`
	Name        string      `json:"name"`
	Permission  *Permission `json:"permission,omitempty"`
	Private     *bool       `json:"private,omitempty"`
}

PostCollectionsCreateJSONBody defines parameters for PostCollectionsCreate.

type PostCollectionsCreateJSONRequestBody

type PostCollectionsCreateJSONRequestBody PostCollectionsCreateJSONBody

PostCollectionsCreateJSONRequestBody defines body for PostCollectionsCreate for application/json ContentType.

type PostCollectionsCreateResponse

type PostCollectionsCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data     *Collection `json:"data,omitempty"`
		Policies *[]Policy   `json:"policies,omitempty"`
	}
	JSON400 *Validation
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
}

func ParsePostCollectionsCreateResponse

func ParsePostCollectionsCreateResponse(rsp *http.Response) (*PostCollectionsCreateResponse, error)

ParsePostCollectionsCreateResponse parses an HTTP response from a PostCollectionsCreateWithResponse call

func (PostCollectionsCreateResponse) Status

Status returns HTTPResponse.Status

func (PostCollectionsCreateResponse) StatusCode

func (r PostCollectionsCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostCollectionsDeleteJSONBody

type PostCollectionsDeleteJSONBody struct {
	Id openapi_types.UUID `json:"id"`
}

PostCollectionsDeleteJSONBody defines parameters for PostCollectionsDelete.

type PostCollectionsDeleteJSONRequestBody

type PostCollectionsDeleteJSONRequestBody PostCollectionsDeleteJSONBody

PostCollectionsDeleteJSONRequestBody defines body for PostCollectionsDelete for application/json ContentType.

type PostCollectionsDeleteResponse

type PostCollectionsDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Success *bool `json:"success,omitempty"`
	}
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostCollectionsDeleteResponse

func ParsePostCollectionsDeleteResponse(rsp *http.Response) (*PostCollectionsDeleteResponse, error)

ParsePostCollectionsDeleteResponse parses an HTTP response from a PostCollectionsDeleteWithResponse call

func (PostCollectionsDeleteResponse) Status

Status returns HTTPResponse.Status

func (PostCollectionsDeleteResponse) StatusCode

func (r PostCollectionsDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostCollectionsDocumentsJSONBody

type PostCollectionsDocumentsJSONBody struct {
	// Id Unique identifier for the collection.
	Id openapi_types.UUID `json:"id"`
}

PostCollectionsDocumentsJSONBody defines parameters for PostCollectionsDocuments.

type PostCollectionsDocumentsJSONRequestBody

type PostCollectionsDocumentsJSONRequestBody PostCollectionsDocumentsJSONBody

PostCollectionsDocumentsJSONRequestBody defines body for PostCollectionsDocuments for application/json ContentType.

type PostCollectionsDocumentsResponse

type PostCollectionsDocumentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *[]NavigationNode `json:"data,omitempty"`
	}
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostCollectionsDocumentsResponse

func ParsePostCollectionsDocumentsResponse(rsp *http.Response) (*PostCollectionsDocumentsResponse, error)

ParsePostCollectionsDocumentsResponse parses an HTTP response from a PostCollectionsDocumentsWithResponse call

func (PostCollectionsDocumentsResponse) Status

Status returns HTTPResponse.Status

func (PostCollectionsDocumentsResponse) StatusCode

func (r PostCollectionsDocumentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostCollectionsExportAllJSONBody

type PostCollectionsExportAllJSONBody struct {
	Format *PostCollectionsExportAllJSONBodyFormat `json:"format,omitempty"`
}

PostCollectionsExportAllJSONBody defines parameters for PostCollectionsExportAll.

type PostCollectionsExportAllJSONBodyFormat

type PostCollectionsExportAllJSONBodyFormat string

PostCollectionsExportAllJSONBodyFormat defines parameters for PostCollectionsExportAll.

const (
	PostCollectionsExportAllJSONBodyFormatHtml            PostCollectionsExportAllJSONBodyFormat = "html"
	PostCollectionsExportAllJSONBodyFormatJson            PostCollectionsExportAllJSONBodyFormat = "json"
	PostCollectionsExportAllJSONBodyFormatOutlineMarkdown PostCollectionsExportAllJSONBodyFormat = "outline-markdown"
)

Defines values for PostCollectionsExportAllJSONBodyFormat.

type PostCollectionsExportAllJSONRequestBody

type PostCollectionsExportAllJSONRequestBody PostCollectionsExportAllJSONBody

PostCollectionsExportAllJSONRequestBody defines body for PostCollectionsExportAll for application/json ContentType.

type PostCollectionsExportAllResponse

type PostCollectionsExportAllResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *struct {
			FileOperation *FileOperation `json:"fileOperation,omitempty"`
		} `json:"data,omitempty"`
	}
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostCollectionsExportAllResponse

func ParsePostCollectionsExportAllResponse(rsp *http.Response) (*PostCollectionsExportAllResponse, error)

ParsePostCollectionsExportAllResponse parses an HTTP response from a PostCollectionsExportAllWithResponse call

func (PostCollectionsExportAllResponse) Status

Status returns HTTPResponse.Status

func (PostCollectionsExportAllResponse) StatusCode

func (r PostCollectionsExportAllResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostCollectionsExportJSONBody

type PostCollectionsExportJSONBody struct {
	Format *PostCollectionsExportJSONBodyFormat `json:"format,omitempty"`
	Id     openapi_types.UUID                   `json:"id"`
}

PostCollectionsExportJSONBody defines parameters for PostCollectionsExport.

type PostCollectionsExportJSONBodyFormat

type PostCollectionsExportJSONBodyFormat string

PostCollectionsExportJSONBodyFormat defines parameters for PostCollectionsExport.

const (
	PostCollectionsExportJSONBodyFormatHtml            PostCollectionsExportJSONBodyFormat = "html"
	PostCollectionsExportJSONBodyFormatJson            PostCollectionsExportJSONBodyFormat = "json"
	PostCollectionsExportJSONBodyFormatOutlineMarkdown PostCollectionsExportJSONBodyFormat = "outline-markdown"
)

Defines values for PostCollectionsExportJSONBodyFormat.

type PostCollectionsExportJSONRequestBody

type PostCollectionsExportJSONRequestBody PostCollectionsExportJSONBody

PostCollectionsExportJSONRequestBody defines body for PostCollectionsExport for application/json ContentType.

type PostCollectionsExportResponse

type PostCollectionsExportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *struct {
			FileOperation *FileOperation `json:"fileOperation,omitempty"`
		} `json:"data,omitempty"`
	}
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostCollectionsExportResponse

func ParsePostCollectionsExportResponse(rsp *http.Response) (*PostCollectionsExportResponse, error)

ParsePostCollectionsExportResponse parses an HTTP response from a PostCollectionsExportWithResponse call

func (PostCollectionsExportResponse) Status

Status returns HTTPResponse.Status

func (PostCollectionsExportResponse) StatusCode

func (r PostCollectionsExportResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostCollectionsGroupMembershipsJSONBody

type PostCollectionsGroupMembershipsJSONBody struct {
	// Id Identifier for the collection
	Id         openapi_types.UUID `json:"id"`
	Limit      *float32           `json:"limit,omitempty"`
	Offset     *float32           `json:"offset,omitempty"`
	Permission *Permission        `json:"permission,omitempty"`

	// Query Filter memberships by group names
	Query *string `json:"query,omitempty"`
}

PostCollectionsGroupMembershipsJSONBody defines parameters for PostCollectionsGroupMemberships.

type PostCollectionsGroupMembershipsJSONRequestBody

type PostCollectionsGroupMembershipsJSONRequestBody PostCollectionsGroupMembershipsJSONBody

PostCollectionsGroupMembershipsJSONRequestBody defines body for PostCollectionsGroupMemberships for application/json ContentType.

type PostCollectionsGroupMembershipsResponse

type PostCollectionsGroupMembershipsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *struct {
			CollectionGroupMemberships *[]CollectionGroupMembership `json:"collectionGroupMemberships,omitempty"`
			Groups                     *[]Group                     `json:"groups,omitempty"`
		} `json:"data,omitempty"`
		Pagination *Pagination `json:"pagination,omitempty"`
	}
	JSON400 *Validation
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
}

func ParsePostCollectionsGroupMembershipsResponse

func ParsePostCollectionsGroupMembershipsResponse(rsp *http.Response) (*PostCollectionsGroupMembershipsResponse, error)

ParsePostCollectionsGroupMembershipsResponse parses an HTTP response from a PostCollectionsGroupMembershipsWithResponse call

func (PostCollectionsGroupMembershipsResponse) Status

Status returns HTTPResponse.Status

func (PostCollectionsGroupMembershipsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostCollectionsInfoJSONBody

type PostCollectionsInfoJSONBody struct {
	// Id Unique identifier for the collection.
	Id openapi_types.UUID `json:"id"`
}

PostCollectionsInfoJSONBody defines parameters for PostCollectionsInfo.

type PostCollectionsInfoJSONRequestBody

type PostCollectionsInfoJSONRequestBody PostCollectionsInfoJSONBody

PostCollectionsInfoJSONRequestBody defines body for PostCollectionsInfo for application/json ContentType.

type PostCollectionsInfoResponse

type PostCollectionsInfoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *Collection `json:"data,omitempty"`
	}
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostCollectionsInfoResponse

func ParsePostCollectionsInfoResponse(rsp *http.Response) (*PostCollectionsInfoResponse, error)

ParsePostCollectionsInfoResponse parses an HTTP response from a PostCollectionsInfoWithResponse call

func (PostCollectionsInfoResponse) Status

Status returns HTTPResponse.Status

func (PostCollectionsInfoResponse) StatusCode

func (r PostCollectionsInfoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostCollectionsListJSONRequestBody

type PostCollectionsListJSONRequestBody = Pagination

PostCollectionsListJSONRequestBody defines body for PostCollectionsList for application/json ContentType.

type PostCollectionsListResponse

type PostCollectionsListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data       *[]Collection `json:"data,omitempty"`
		Pagination *Pagination   `json:"pagination,omitempty"`
	}
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
}

func ParsePostCollectionsListResponse

func ParsePostCollectionsListResponse(rsp *http.Response) (*PostCollectionsListResponse, error)

ParsePostCollectionsListResponse parses an HTTP response from a PostCollectionsListWithResponse call

func (PostCollectionsListResponse) Status

Status returns HTTPResponse.Status

func (PostCollectionsListResponse) StatusCode

func (r PostCollectionsListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostCollectionsMembershipsJSONBody

type PostCollectionsMembershipsJSONBody struct {
	// Id Identifier for the collection
	Id         openapi_types.UUID `json:"id"`
	Limit      *float32           `json:"limit,omitempty"`
	Offset     *float32           `json:"offset,omitempty"`
	Permission *Permission        `json:"permission,omitempty"`

	// Query Filter memberships by user names
	Query *string `json:"query,omitempty"`
}

PostCollectionsMembershipsJSONBody defines parameters for PostCollectionsMemberships.

type PostCollectionsMembershipsJSONRequestBody

type PostCollectionsMembershipsJSONRequestBody PostCollectionsMembershipsJSONBody

PostCollectionsMembershipsJSONRequestBody defines body for PostCollectionsMemberships for application/json ContentType.

type PostCollectionsMembershipsResponse

type PostCollectionsMembershipsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *struct {
			Memberships *[]Membership `json:"memberships,omitempty"`
			Users       *[]User       `json:"users,omitempty"`
		} `json:"data,omitempty"`
		Pagination *Pagination `json:"pagination,omitempty"`
	}
	JSON400 *Validation
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
}

func ParsePostCollectionsMembershipsResponse

func ParsePostCollectionsMembershipsResponse(rsp *http.Response) (*PostCollectionsMembershipsResponse, error)

ParsePostCollectionsMembershipsResponse parses an HTTP response from a PostCollectionsMembershipsWithResponse call

func (PostCollectionsMembershipsResponse) Status

Status returns HTTPResponse.Status

func (PostCollectionsMembershipsResponse) StatusCode

func (r PostCollectionsMembershipsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostCollectionsRemoveGroupJSONBody

type PostCollectionsRemoveGroupJSONBody struct {
	GroupId openapi_types.UUID `json:"groupId"`

	// Id Identifier for the collection
	Id openapi_types.UUID `json:"id"`
}

PostCollectionsRemoveGroupJSONBody defines parameters for PostCollectionsRemoveGroup.

type PostCollectionsRemoveGroupJSONRequestBody

type PostCollectionsRemoveGroupJSONRequestBody PostCollectionsRemoveGroupJSONBody

PostCollectionsRemoveGroupJSONRequestBody defines body for PostCollectionsRemoveGroup for application/json ContentType.

type PostCollectionsRemoveGroupResponse

type PostCollectionsRemoveGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Success *bool `json:"success,omitempty"`
	}
	JSON400 *Validation
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostCollectionsRemoveGroupResponse

func ParsePostCollectionsRemoveGroupResponse(rsp *http.Response) (*PostCollectionsRemoveGroupResponse, error)

ParsePostCollectionsRemoveGroupResponse parses an HTTP response from a PostCollectionsRemoveGroupWithResponse call

func (PostCollectionsRemoveGroupResponse) Status

Status returns HTTPResponse.Status

func (PostCollectionsRemoveGroupResponse) StatusCode

func (r PostCollectionsRemoveGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostCollectionsRemoveUserJSONBody

type PostCollectionsRemoveUserJSONBody struct {
	// Id Identifier for the collection
	Id     openapi_types.UUID `json:"id"`
	UserId openapi_types.UUID `json:"userId"`
}

PostCollectionsRemoveUserJSONBody defines parameters for PostCollectionsRemoveUser.

type PostCollectionsRemoveUserJSONRequestBody

type PostCollectionsRemoveUserJSONRequestBody PostCollectionsRemoveUserJSONBody

PostCollectionsRemoveUserJSONRequestBody defines body for PostCollectionsRemoveUser for application/json ContentType.

type PostCollectionsRemoveUserResponse

type PostCollectionsRemoveUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Success *bool `json:"success,omitempty"`
	}
	JSON400 *Validation
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostCollectionsRemoveUserResponse

func ParsePostCollectionsRemoveUserResponse(rsp *http.Response) (*PostCollectionsRemoveUserResponse, error)

ParsePostCollectionsRemoveUserResponse parses an HTTP response from a PostCollectionsRemoveUserWithResponse call

func (PostCollectionsRemoveUserResponse) Status

Status returns HTTPResponse.Status

func (PostCollectionsRemoveUserResponse) StatusCode

func (r PostCollectionsRemoveUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostCollectionsUpdateJSONBody

type PostCollectionsUpdateJSONBody struct {
	Color       *string            `json:"color,omitempty"`
	Description *string            `json:"description,omitempty"`
	Id          openapi_types.UUID `json:"id"`
	Name        *string            `json:"name,omitempty"`
	Permission  *Permission        `json:"permission,omitempty"`
}

PostCollectionsUpdateJSONBody defines parameters for PostCollectionsUpdate.

type PostCollectionsUpdateJSONRequestBody

type PostCollectionsUpdateJSONRequestBody PostCollectionsUpdateJSONBody

PostCollectionsUpdateJSONRequestBody defines body for PostCollectionsUpdate for application/json ContentType.

type PostCollectionsUpdateResponse

type PostCollectionsUpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data     *Collection `json:"data,omitempty"`
		Policies *[]Policy   `json:"policies,omitempty"`
	}
	JSON400 *Validation
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostCollectionsUpdateResponse

func ParsePostCollectionsUpdateResponse(rsp *http.Response) (*PostCollectionsUpdateResponse, error)

ParsePostCollectionsUpdateResponse parses an HTTP response from a PostCollectionsUpdateWithResponse call

func (PostCollectionsUpdateResponse) Status

Status returns HTTPResponse.Status

func (PostCollectionsUpdateResponse) StatusCode

func (r PostCollectionsUpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostCommentsCreateJSONBody

type PostCommentsCreateJSONBody struct {
	Data            map[string]interface{} `json:"data"`
	DocumentId      openapi_types.UUID     `json:"documentId"`
	Id              *openapi_types.UUID    `json:"id,omitempty"`
	ParentCommentId *openapi_types.UUID    `json:"parentCommentId,omitempty"`
}

PostCommentsCreateJSONBody defines parameters for PostCommentsCreate.

type PostCommentsCreateJSONRequestBody

type PostCommentsCreateJSONRequestBody PostCommentsCreateJSONBody

PostCommentsCreateJSONRequestBody defines body for PostCommentsCreate for application/json ContentType.

type PostCommentsCreateResponse

type PostCommentsCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *Comment `json:"data,omitempty"`
	}
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostCommentsCreateResponse

func ParsePostCommentsCreateResponse(rsp *http.Response) (*PostCommentsCreateResponse, error)

ParsePostCommentsCreateResponse parses an HTTP response from a PostCommentsCreateWithResponse call

func (PostCommentsCreateResponse) Status

Status returns HTTPResponse.Status

func (PostCommentsCreateResponse) StatusCode

func (r PostCommentsCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostCommentsDeleteJSONBody

type PostCommentsDeleteJSONBody struct {
	Id openapi_types.UUID `json:"id"`
}

PostCommentsDeleteJSONBody defines parameters for PostCommentsDelete.

type PostCommentsDeleteJSONRequestBody

type PostCommentsDeleteJSONRequestBody PostCommentsDeleteJSONBody

PostCommentsDeleteJSONRequestBody defines body for PostCommentsDelete for application/json ContentType.

type PostCommentsDeleteResponse

type PostCommentsDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Success *bool `json:"success,omitempty"`
	}
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostCommentsDeleteResponse

func ParsePostCommentsDeleteResponse(rsp *http.Response) (*PostCommentsDeleteResponse, error)

ParsePostCommentsDeleteResponse parses an HTTP response from a PostCommentsDeleteWithResponse call

func (PostCommentsDeleteResponse) Status

Status returns HTTPResponse.Status

func (PostCommentsDeleteResponse) StatusCode

func (r PostCommentsDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostCommentsListJSONBody

type PostCommentsListJSONBody struct {
	// CollectionId Filter to a specific collection
	CollectionId *openapi_types.UUID                `json:"collectionId,omitempty"`
	Direction    *PostCommentsListJSONBodyDirection `json:"direction,omitempty"`

	// DocumentId Filter to a specific document
	DocumentId *openapi_types.UUID `json:"documentId,omitempty"`
	Limit      *float32            `json:"limit,omitempty"`
	Offset     *float32            `json:"offset,omitempty"`
	Sort       *string             `json:"sort,omitempty"`
}

PostCommentsListJSONBody defines parameters for PostCommentsList.

type PostCommentsListJSONBodyDirection

type PostCommentsListJSONBodyDirection string

PostCommentsListJSONBodyDirection defines parameters for PostCommentsList.

const (
	PostCommentsListJSONBodyDirectionASC  PostCommentsListJSONBodyDirection = "ASC"
	PostCommentsListJSONBodyDirectionDESC PostCommentsListJSONBodyDirection = "DESC"
)

Defines values for PostCommentsListJSONBodyDirection.

type PostCommentsListJSONRequestBody

type PostCommentsListJSONRequestBody PostCommentsListJSONBody

PostCommentsListJSONRequestBody defines body for PostCommentsList for application/json ContentType.

type PostCommentsListResponse

type PostCommentsListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data       *[]Document `json:"data,omitempty"`
		Pagination *Pagination `json:"pagination,omitempty"`
		Policies   *[]Policy   `json:"policies,omitempty"`
	}
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
}

func ParsePostCommentsListResponse

func ParsePostCommentsListResponse(rsp *http.Response) (*PostCommentsListResponse, error)

ParsePostCommentsListResponse parses an HTTP response from a PostCommentsListWithResponse call

func (PostCommentsListResponse) Status

func (r PostCommentsListResponse) Status() string

Status returns HTTPResponse.Status

func (PostCommentsListResponse) StatusCode

func (r PostCommentsListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostCommentsUpdateJSONBody

type PostCommentsUpdateJSONBody struct {
	Data map[string]interface{} `json:"data"`
	Id   openapi_types.UUID     `json:"id"`
}

PostCommentsUpdateJSONBody defines parameters for PostCommentsUpdate.

type PostCommentsUpdateJSONRequestBody

type PostCommentsUpdateJSONRequestBody PostCommentsUpdateJSONBody

PostCommentsUpdateJSONRequestBody defines body for PostCommentsUpdate for application/json ContentType.

type PostCommentsUpdateResponse

type PostCommentsUpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *Comment `json:"data,omitempty"`
	}
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostCommentsUpdateResponse

func ParsePostCommentsUpdateResponse(rsp *http.Response) (*PostCommentsUpdateResponse, error)

ParsePostCommentsUpdateResponse parses an HTTP response from a PostCommentsUpdateWithResponse call

func (PostCommentsUpdateResponse) Status

Status returns HTTPResponse.Status

func (PostCommentsUpdateResponse) StatusCode

func (r PostCommentsUpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostDocumentsAddUserJSONBody

type PostDocumentsAddUserJSONBody struct {
	// Id Unique identifier for the document. Either the UUID or the urlId is acceptable.
	Id         string             `json:"id"`
	Permission *Permission        `json:"permission,omitempty"`
	UserId     openapi_types.UUID `json:"userId"`
}

PostDocumentsAddUserJSONBody defines parameters for PostDocumentsAddUser.

type PostDocumentsAddUserJSONRequestBody

type PostDocumentsAddUserJSONRequestBody PostDocumentsAddUserJSONBody

PostDocumentsAddUserJSONRequestBody defines body for PostDocumentsAddUser for application/json ContentType.

type PostDocumentsAddUserResponse

type PostDocumentsAddUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *struct {
			Memberships *[]Membership `json:"memberships,omitempty"`
			Users       *[]User       `json:"users,omitempty"`
		} `json:"data,omitempty"`
	}
}

func ParsePostDocumentsAddUserResponse

func ParsePostDocumentsAddUserResponse(rsp *http.Response) (*PostDocumentsAddUserResponse, error)

ParsePostDocumentsAddUserResponse parses an HTTP response from a PostDocumentsAddUserWithResponse call

func (PostDocumentsAddUserResponse) Status

Status returns HTTPResponse.Status

func (PostDocumentsAddUserResponse) StatusCode

func (r PostDocumentsAddUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostDocumentsArchiveJSONBody

type PostDocumentsArchiveJSONBody struct {
	// Id Unique identifier for the document. Either the UUID or the urlId is acceptable.
	Id string `json:"id"`
}

PostDocumentsArchiveJSONBody defines parameters for PostDocumentsArchive.

type PostDocumentsArchiveJSONRequestBody

type PostDocumentsArchiveJSONRequestBody PostDocumentsArchiveJSONBody

PostDocumentsArchiveJSONRequestBody defines body for PostDocumentsArchive for application/json ContentType.

type PostDocumentsArchiveResponse

type PostDocumentsArchiveResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data     *Document `json:"data,omitempty"`
		Policies *[]Policy `json:"policies,omitempty"`
	}
	JSON400 *Validation
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostDocumentsArchiveResponse

func ParsePostDocumentsArchiveResponse(rsp *http.Response) (*PostDocumentsArchiveResponse, error)

ParsePostDocumentsArchiveResponse parses an HTTP response from a PostDocumentsArchiveWithResponse call

func (PostDocumentsArchiveResponse) Status

Status returns HTTPResponse.Status

func (PostDocumentsArchiveResponse) StatusCode

func (r PostDocumentsArchiveResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostDocumentsCreateJSONBody

type PostDocumentsCreateJSONBody struct {
	CollectionId     openapi_types.UUID  `json:"collectionId"`
	ParentDocumentId *openapi_types.UUID `json:"parentDocumentId,omitempty"`

	// Publish Whether this document should be immediately published and made visible to other team members.
	Publish *bool `json:"publish,omitempty"`

	// Template Whether this document should be considered to be a template.
	Template   *bool               `json:"template,omitempty"`
	TemplateId *openapi_types.UUID `json:"templateId,omitempty"`

	// Text The body of the document, may contain markdown formatting.
	Text  *string `json:"text,omitempty"`
	Title string  `json:"title"`
}

PostDocumentsCreateJSONBody defines parameters for PostDocumentsCreate.

type PostDocumentsCreateJSONRequestBody

type PostDocumentsCreateJSONRequestBody PostDocumentsCreateJSONBody

PostDocumentsCreateJSONRequestBody defines body for PostDocumentsCreate for application/json ContentType.

type PostDocumentsCreateResponse

type PostDocumentsCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data     *Document `json:"data,omitempty"`
		Policies *[]Policy `json:"policies,omitempty"`
	}
	JSON400 *Validation
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
}

func ParsePostDocumentsCreateResponse

func ParsePostDocumentsCreateResponse(rsp *http.Response) (*PostDocumentsCreateResponse, error)

ParsePostDocumentsCreateResponse parses an HTTP response from a PostDocumentsCreateWithResponse call

func (PostDocumentsCreateResponse) Status

Status returns HTTPResponse.Status

func (PostDocumentsCreateResponse) StatusCode

func (r PostDocumentsCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostDocumentsDeleteJSONBody

type PostDocumentsDeleteJSONBody struct {
	// Id Unique identifier for the document. Either the UUID or the urlId is acceptable.
	Id string `json:"id"`

	// Permanent If set to true the document will be destroyed with no way to recover rather than moved to the trash.
	Permanent *bool `json:"permanent,omitempty"`
}

PostDocumentsDeleteJSONBody defines parameters for PostDocumentsDelete.

type PostDocumentsDeleteJSONRequestBody

type PostDocumentsDeleteJSONRequestBody PostDocumentsDeleteJSONBody

PostDocumentsDeleteJSONRequestBody defines body for PostDocumentsDelete for application/json ContentType.

type PostDocumentsDeleteResponse

type PostDocumentsDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Success *bool `json:"success,omitempty"`
	}
	JSON400 *Validation
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostDocumentsDeleteResponse

func ParsePostDocumentsDeleteResponse(rsp *http.Response) (*PostDocumentsDeleteResponse, error)

ParsePostDocumentsDeleteResponse parses an HTTP response from a PostDocumentsDeleteWithResponse call

func (PostDocumentsDeleteResponse) Status

Status returns HTTPResponse.Status

func (PostDocumentsDeleteResponse) StatusCode

func (r PostDocumentsDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostDocumentsDraftsJSONBody

type PostDocumentsDraftsJSONBody struct {
	// CollectionId A collection to search within
	CollectionId *openapi_types.UUID `json:"collectionId,omitempty"`

	// DateFilter Any documents that have not been updated within the specified period will be filtered out
	DateFilter *PostDocumentsDraftsJSONBodyDateFilter `json:"dateFilter,omitempty"`
	Direction  *PostDocumentsDraftsJSONBodyDirection  `json:"direction,omitempty"`
	Limit      *float32                               `json:"limit,omitempty"`
	Offset     *float32                               `json:"offset,omitempty"`
	Sort       *string                                `json:"sort,omitempty"`
}

PostDocumentsDraftsJSONBody defines parameters for PostDocumentsDrafts.

type PostDocumentsDraftsJSONBodyDateFilter

type PostDocumentsDraftsJSONBodyDateFilter string

PostDocumentsDraftsJSONBodyDateFilter defines parameters for PostDocumentsDrafts.

const (
	PostDocumentsDraftsJSONBodyDateFilterDay   PostDocumentsDraftsJSONBodyDateFilter = "day"
	PostDocumentsDraftsJSONBodyDateFilterMonth PostDocumentsDraftsJSONBodyDateFilter = "month"
	PostDocumentsDraftsJSONBodyDateFilterWeek  PostDocumentsDraftsJSONBodyDateFilter = "week"
	PostDocumentsDraftsJSONBodyDateFilterYear  PostDocumentsDraftsJSONBodyDateFilter = "year"
)

Defines values for PostDocumentsDraftsJSONBodyDateFilter.

type PostDocumentsDraftsJSONBodyDirection

type PostDocumentsDraftsJSONBodyDirection string

PostDocumentsDraftsJSONBodyDirection defines parameters for PostDocumentsDrafts.

const (
	PostDocumentsDraftsJSONBodyDirectionASC  PostDocumentsDraftsJSONBodyDirection = "ASC"
	PostDocumentsDraftsJSONBodyDirectionDESC PostDocumentsDraftsJSONBodyDirection = "DESC"
)

Defines values for PostDocumentsDraftsJSONBodyDirection.

type PostDocumentsDraftsJSONRequestBody

type PostDocumentsDraftsJSONRequestBody PostDocumentsDraftsJSONBody

PostDocumentsDraftsJSONRequestBody defines body for PostDocumentsDrafts for application/json ContentType.

type PostDocumentsDraftsResponse

type PostDocumentsDraftsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data       *[]Document `json:"data,omitempty"`
		Pagination *Pagination `json:"pagination,omitempty"`
		Policies   *[]Policy   `json:"policies,omitempty"`
	}
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
}

func ParsePostDocumentsDraftsResponse

func ParsePostDocumentsDraftsResponse(rsp *http.Response) (*PostDocumentsDraftsResponse, error)

ParsePostDocumentsDraftsResponse parses an HTTP response from a PostDocumentsDraftsWithResponse call

func (PostDocumentsDraftsResponse) Status

Status returns HTTPResponse.Status

func (PostDocumentsDraftsResponse) StatusCode

func (r PostDocumentsDraftsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostDocumentsExportJSONBody

type PostDocumentsExportJSONBody struct {
	// Id Unique identifier for the document. Either the UUID or the urlId is acceptable.
	Id *string `json:"id,omitempty"`
}

PostDocumentsExportJSONBody defines parameters for PostDocumentsExport.

type PostDocumentsExportJSONRequestBody

type PostDocumentsExportJSONRequestBody PostDocumentsExportJSONBody

PostDocumentsExportJSONRequestBody defines body for PostDocumentsExport for application/json ContentType.

type PostDocumentsExportResponse

type PostDocumentsExportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// Data The document content in Markdown formatting
		Data *string `json:"data,omitempty"`
	}
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostDocumentsExportResponse

func ParsePostDocumentsExportResponse(rsp *http.Response) (*PostDocumentsExportResponse, error)

ParsePostDocumentsExportResponse parses an HTTP response from a PostDocumentsExportWithResponse call

func (PostDocumentsExportResponse) Status

Status returns HTTPResponse.Status

func (PostDocumentsExportResponse) StatusCode

func (r PostDocumentsExportResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostDocumentsImportMultipartBody

type PostDocumentsImportMultipartBody struct {
	CollectionId *openapi_types.UUID `json:"collectionId,omitempty"`

	// File Only plain text, markdown, docx, and html format are supported.
	File             *map[string]interface{} `json:"file,omitempty"`
	ParentDocumentId *openapi_types.UUID     `json:"parentDocumentId,omitempty"`
	Publish          *bool                   `json:"publish,omitempty"`
	Template         *bool                   `json:"template,omitempty"`
}

PostDocumentsImportMultipartBody defines parameters for PostDocumentsImport.

type PostDocumentsImportMultipartRequestBody

type PostDocumentsImportMultipartRequestBody PostDocumentsImportMultipartBody

PostDocumentsImportMultipartRequestBody defines body for PostDocumentsImport for multipart/form-data ContentType.

type PostDocumentsImportResponse

type PostDocumentsImportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *Document `json:"data,omitempty"`
	}
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostDocumentsImportResponse

func ParsePostDocumentsImportResponse(rsp *http.Response) (*PostDocumentsImportResponse, error)

ParsePostDocumentsImportResponse parses an HTTP response from a PostDocumentsImportWithResponse call

func (PostDocumentsImportResponse) Status

Status returns HTTPResponse.Status

func (PostDocumentsImportResponse) StatusCode

func (r PostDocumentsImportResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostDocumentsInfoJSONBody

type PostDocumentsInfoJSONBody struct {
	// Id Unique identifier for the document. Either the UUID or the urlId is acceptable.
	Id *string `json:"id,omitempty"`

	// ShareId Unique identifier for a document share, a shareId may be used in place of a document UUID
	ShareId *openapi_types.UUID `json:"shareId,omitempty"`
}

PostDocumentsInfoJSONBody defines parameters for PostDocumentsInfo.

type PostDocumentsInfoJSONRequestBody

type PostDocumentsInfoJSONRequestBody PostDocumentsInfoJSONBody

PostDocumentsInfoJSONRequestBody defines body for PostDocumentsInfo for application/json ContentType.

type PostDocumentsInfoResponse

type PostDocumentsInfoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *Document `json:"data,omitempty"`
	}
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostDocumentsInfoResponse

func ParsePostDocumentsInfoResponse(rsp *http.Response) (*PostDocumentsInfoResponse, error)

ParsePostDocumentsInfoResponse parses an HTTP response from a PostDocumentsInfoWithResponse call

func (PostDocumentsInfoResponse) Status

func (r PostDocumentsInfoResponse) Status() string

Status returns HTTPResponse.Status

func (PostDocumentsInfoResponse) StatusCode

func (r PostDocumentsInfoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostDocumentsListJSONBody

type PostDocumentsListJSONBody struct {
	BacklinkDocumentId *openapi_types.UUID `json:"backlinkDocumentId,omitempty"`

	// CollectionId Optionally filter to a specific collection
	CollectionId     *openapi_types.UUID                 `json:"collectionId,omitempty"`
	Direction        *PostDocumentsListJSONBodyDirection `json:"direction,omitempty"`
	Limit            *float32                            `json:"limit,omitempty"`
	Offset           *float32                            `json:"offset,omitempty"`
	ParentDocumentId *openapi_types.UUID                 `json:"parentDocumentId,omitempty"`
	Sort             *string                             `json:"sort,omitempty"`

	// Template Optionally filter to only templates
	Template *bool               `json:"template,omitempty"`
	UserId   *openapi_types.UUID `json:"userId,omitempty"`
}

PostDocumentsListJSONBody defines parameters for PostDocumentsList.

type PostDocumentsListJSONBodyDirection

type PostDocumentsListJSONBodyDirection string

PostDocumentsListJSONBodyDirection defines parameters for PostDocumentsList.

const (
	PostDocumentsListJSONBodyDirectionASC  PostDocumentsListJSONBodyDirection = "ASC"
	PostDocumentsListJSONBodyDirectionDESC PostDocumentsListJSONBodyDirection = "DESC"
)

Defines values for PostDocumentsListJSONBodyDirection.

type PostDocumentsListJSONRequestBody

type PostDocumentsListJSONRequestBody PostDocumentsListJSONBody

PostDocumentsListJSONRequestBody defines body for PostDocumentsList for application/json ContentType.

type PostDocumentsListResponse

type PostDocumentsListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data       *[]Document `json:"data,omitempty"`
		Pagination *Pagination `json:"pagination,omitempty"`
		Policies   *[]Policy   `json:"policies,omitempty"`
	}
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
}

func ParsePostDocumentsListResponse

func ParsePostDocumentsListResponse(rsp *http.Response) (*PostDocumentsListResponse, error)

ParsePostDocumentsListResponse parses an HTTP response from a PostDocumentsListWithResponse call

func (PostDocumentsListResponse) Status

func (r PostDocumentsListResponse) Status() string

Status returns HTTPResponse.Status

func (PostDocumentsListResponse) StatusCode

func (r PostDocumentsListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostDocumentsMembershipsJSONBody

type PostDocumentsMembershipsJSONBody struct {
	// Id Unique identifier for the document. Either the UUID or the urlId is acceptable.
	Id string `json:"id"`

	// Query If set, will filter the results by user name
	Query *string `json:"query,omitempty"`
}

PostDocumentsMembershipsJSONBody defines parameters for PostDocumentsMemberships.

type PostDocumentsMembershipsJSONRequestBody

type PostDocumentsMembershipsJSONRequestBody PostDocumentsMembershipsJSONBody

PostDocumentsMembershipsJSONRequestBody defines body for PostDocumentsMemberships for application/json ContentType.

type PostDocumentsMembershipsResponse

type PostDocumentsMembershipsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *struct {
			Memberships *[]Membership `json:"memberships,omitempty"`
			Users       *[]User       `json:"users,omitempty"`
		} `json:"data,omitempty"`
		Pagination *Pagination `json:"pagination,omitempty"`
	}
	JSON400 *Validation
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostDocumentsMembershipsResponse

func ParsePostDocumentsMembershipsResponse(rsp *http.Response) (*PostDocumentsMembershipsResponse, error)

ParsePostDocumentsMembershipsResponse parses an HTTP response from a PostDocumentsMembershipsWithResponse call

func (PostDocumentsMembershipsResponse) Status

Status returns HTTPResponse.Status

func (PostDocumentsMembershipsResponse) StatusCode

func (r PostDocumentsMembershipsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostDocumentsMoveJSONBody

type PostDocumentsMoveJSONBody struct {
	CollectionId *openapi_types.UUID `json:"collectionId,omitempty"`

	// Id Unique identifier for the document. Either the UUID or the urlId is acceptable.
	Id               string              `json:"id"`
	ParentDocumentId *openapi_types.UUID `json:"parentDocumentId,omitempty"`
}

PostDocumentsMoveJSONBody defines parameters for PostDocumentsMove.

type PostDocumentsMoveJSONRequestBody

type PostDocumentsMoveJSONRequestBody PostDocumentsMoveJSONBody

PostDocumentsMoveJSONRequestBody defines body for PostDocumentsMove for application/json ContentType.

type PostDocumentsMoveResponse

type PostDocumentsMoveResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *struct {
			Collections *[]Collection `json:"collections,omitempty"`
			Documents   *[]Document   `json:"documents,omitempty"`
		} `json:"data,omitempty"`
		Policies *[]Policy `json:"policies,omitempty"`
	}
	JSON400 *Validation
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostDocumentsMoveResponse

func ParsePostDocumentsMoveResponse(rsp *http.Response) (*PostDocumentsMoveResponse, error)

ParsePostDocumentsMoveResponse parses an HTTP response from a PostDocumentsMoveWithResponse call

func (PostDocumentsMoveResponse) Status

func (r PostDocumentsMoveResponse) Status() string

Status returns HTTPResponse.Status

func (PostDocumentsMoveResponse) StatusCode

func (r PostDocumentsMoveResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostDocumentsRemoveUserJSONBody

type PostDocumentsRemoveUserJSONBody struct {
	// Id Unique identifier for the document. Either the UUID or the urlId is acceptable.
	Id     string             `json:"id"`
	UserId openapi_types.UUID `json:"userId"`
}

PostDocumentsRemoveUserJSONBody defines parameters for PostDocumentsRemoveUser.

type PostDocumentsRemoveUserJSONRequestBody

type PostDocumentsRemoveUserJSONRequestBody PostDocumentsRemoveUserJSONBody

PostDocumentsRemoveUserJSONRequestBody defines body for PostDocumentsRemoveUser for application/json ContentType.

type PostDocumentsRemoveUserResponse

type PostDocumentsRemoveUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Success *bool `json:"success,omitempty"`
	}
	JSON400 *Validation
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostDocumentsRemoveUserResponse

func ParsePostDocumentsRemoveUserResponse(rsp *http.Response) (*PostDocumentsRemoveUserResponse, error)

ParsePostDocumentsRemoveUserResponse parses an HTTP response from a PostDocumentsRemoveUserWithResponse call

func (PostDocumentsRemoveUserResponse) Status

Status returns HTTPResponse.Status

func (PostDocumentsRemoveUserResponse) StatusCode

func (r PostDocumentsRemoveUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostDocumentsRestoreJSONBody

type PostDocumentsRestoreJSONBody struct {
	// Id Unique identifier for the document. Either the UUID or the urlId is acceptable.
	Id string `json:"id"`

	// RevisionId Identifier for the revision to restore to.
	RevisionId *openapi_types.UUID `json:"revisionId,omitempty"`
}

PostDocumentsRestoreJSONBody defines parameters for PostDocumentsRestore.

type PostDocumentsRestoreJSONRequestBody

type PostDocumentsRestoreJSONRequestBody PostDocumentsRestoreJSONBody

PostDocumentsRestoreJSONRequestBody defines body for PostDocumentsRestore for application/json ContentType.

type PostDocumentsRestoreResponse

type PostDocumentsRestoreResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data     *Document `json:"data,omitempty"`
		Policies *[]Policy `json:"policies,omitempty"`
	}
	JSON400 *Validation
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostDocumentsRestoreResponse

func ParsePostDocumentsRestoreResponse(rsp *http.Response) (*PostDocumentsRestoreResponse, error)

ParsePostDocumentsRestoreResponse parses an HTTP response from a PostDocumentsRestoreWithResponse call

func (PostDocumentsRestoreResponse) Status

Status returns HTTPResponse.Status

func (PostDocumentsRestoreResponse) StatusCode

func (r PostDocumentsRestoreResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostDocumentsSearchJSONBody

type PostDocumentsSearchJSONBody struct {
	// CollectionId A collection to search within
	CollectionId *openapi_types.UUID `json:"collectionId,omitempty"`

	// DateFilter Any documents that have not been updated within the specified period will be filtered out
	DateFilter *PostDocumentsSearchJSONBodyDateFilter `json:"dateFilter,omitempty"`

	// DocumentId A document to search within
	DocumentId *openapi_types.UUID `json:"documentId,omitempty"`
	Limit      *float32            `json:"limit,omitempty"`
	Offset     *float32            `json:"offset,omitempty"`
	Query      *string             `json:"query,omitempty"`

	// StatusFilter Any documents that are not in the specified status will be filtered out
	StatusFilter *PostDocumentsSearchJSONBodyStatusFilter `json:"statusFilter,omitempty"`

	// UserId Any documents that have not been edited by the user identifier will be filtered out
	UserId *openapi_types.UUID `json:"userId,omitempty"`
}

PostDocumentsSearchJSONBody defines parameters for PostDocumentsSearch.

type PostDocumentsSearchJSONBodyDateFilter

type PostDocumentsSearchJSONBodyDateFilter string

PostDocumentsSearchJSONBodyDateFilter defines parameters for PostDocumentsSearch.

const (
	PostDocumentsSearchJSONBodyDateFilterDay   PostDocumentsSearchJSONBodyDateFilter = "day"
	PostDocumentsSearchJSONBodyDateFilterMonth PostDocumentsSearchJSONBodyDateFilter = "month"
	PostDocumentsSearchJSONBodyDateFilterWeek  PostDocumentsSearchJSONBodyDateFilter = "week"
	PostDocumentsSearchJSONBodyDateFilterYear  PostDocumentsSearchJSONBodyDateFilter = "year"
)

Defines values for PostDocumentsSearchJSONBodyDateFilter.

type PostDocumentsSearchJSONBodyStatusFilter

type PostDocumentsSearchJSONBodyStatusFilter string

PostDocumentsSearchJSONBodyStatusFilter defines parameters for PostDocumentsSearch.

Defines values for PostDocumentsSearchJSONBodyStatusFilter.

type PostDocumentsSearchJSONRequestBody

type PostDocumentsSearchJSONRequestBody PostDocumentsSearchJSONBody

PostDocumentsSearchJSONRequestBody defines body for PostDocumentsSearch for application/json ContentType.

type PostDocumentsSearchResponse

type PostDocumentsSearchResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *[]struct {
			// Context A short snippet of context from the document that includes the search query.
			Context  *string   `json:"context,omitempty"`
			Document *Document `json:"document,omitempty"`

			// Ranking The ranking used to order search results based on relevance.
			Ranking *float32 `json:"ranking,omitempty"`
		} `json:"data,omitempty"`
		Pagination *Pagination `json:"pagination,omitempty"`
		Policies   *[]Policy   `json:"policies,omitempty"`
	}
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
}

func ParsePostDocumentsSearchResponse

func ParsePostDocumentsSearchResponse(rsp *http.Response) (*PostDocumentsSearchResponse, error)

ParsePostDocumentsSearchResponse parses an HTTP response from a PostDocumentsSearchWithResponse call

func (PostDocumentsSearchResponse) Status

Status returns HTTPResponse.Status

func (PostDocumentsSearchResponse) StatusCode

func (r PostDocumentsSearchResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostDocumentsStarJSONBody

type PostDocumentsStarJSONBody struct {
	// Id Unique identifier for the document. Either the UUID or the urlId is acceptable.
	Id string `json:"id"`
}

PostDocumentsStarJSONBody defines parameters for PostDocumentsStar.

type PostDocumentsStarJSONRequestBody

type PostDocumentsStarJSONRequestBody PostDocumentsStarJSONBody

PostDocumentsStarJSONRequestBody defines body for PostDocumentsStar for application/json ContentType.

type PostDocumentsStarResponse

type PostDocumentsStarResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Success *bool `json:"success,omitempty"`
	}
	JSON400 *Validation
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostDocumentsStarResponse

func ParsePostDocumentsStarResponse(rsp *http.Response) (*PostDocumentsStarResponse, error)

ParsePostDocumentsStarResponse parses an HTTP response from a PostDocumentsStarWithResponse call

func (PostDocumentsStarResponse) Status

func (r PostDocumentsStarResponse) Status() string

Status returns HTTPResponse.Status

func (PostDocumentsStarResponse) StatusCode

func (r PostDocumentsStarResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostDocumentsTemplatizeJSONBody

type PostDocumentsTemplatizeJSONBody struct {
	Id openapi_types.UUID `json:"id"`
}

PostDocumentsTemplatizeJSONBody defines parameters for PostDocumentsTemplatize.

type PostDocumentsTemplatizeJSONRequestBody

type PostDocumentsTemplatizeJSONRequestBody PostDocumentsTemplatizeJSONBody

PostDocumentsTemplatizeJSONRequestBody defines body for PostDocumentsTemplatize for application/json ContentType.

type PostDocumentsTemplatizeResponse

type PostDocumentsTemplatizeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data     *Document `json:"data,omitempty"`
		Policies *[]Policy `json:"policies,omitempty"`
	}
	JSON400 *Validation
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
}

func ParsePostDocumentsTemplatizeResponse

func ParsePostDocumentsTemplatizeResponse(rsp *http.Response) (*PostDocumentsTemplatizeResponse, error)

ParsePostDocumentsTemplatizeResponse parses an HTTP response from a PostDocumentsTemplatizeWithResponse call

func (PostDocumentsTemplatizeResponse) Status

Status returns HTTPResponse.Status

func (PostDocumentsTemplatizeResponse) StatusCode

func (r PostDocumentsTemplatizeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostDocumentsUnpublishJSONBody

type PostDocumentsUnpublishJSONBody struct {
	// Id Unique identifier for the document. Either the UUID or the urlId is acceptable.
	Id string `json:"id"`
}

PostDocumentsUnpublishJSONBody defines parameters for PostDocumentsUnpublish.

type PostDocumentsUnpublishJSONRequestBody

type PostDocumentsUnpublishJSONRequestBody PostDocumentsUnpublishJSONBody

PostDocumentsUnpublishJSONRequestBody defines body for PostDocumentsUnpublish for application/json ContentType.

type PostDocumentsUnpublishResponse

type PostDocumentsUnpublishResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data     *Document `json:"data,omitempty"`
		Policies *[]Policy `json:"policies,omitempty"`
	}
	JSON400 *Validation
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostDocumentsUnpublishResponse

func ParsePostDocumentsUnpublishResponse(rsp *http.Response) (*PostDocumentsUnpublishResponse, error)

ParsePostDocumentsUnpublishResponse parses an HTTP response from a PostDocumentsUnpublishWithResponse call

func (PostDocumentsUnpublishResponse) Status

Status returns HTTPResponse.Status

func (PostDocumentsUnpublishResponse) StatusCode

func (r PostDocumentsUnpublishResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostDocumentsUnstarJSONBody

type PostDocumentsUnstarJSONBody struct {
	// Id Unique identifier for the document. Either the UUID or the urlId is acceptable.
	Id string `json:"id"`
}

PostDocumentsUnstarJSONBody defines parameters for PostDocumentsUnstar.

type PostDocumentsUnstarJSONRequestBody

type PostDocumentsUnstarJSONRequestBody PostDocumentsUnstarJSONBody

PostDocumentsUnstarJSONRequestBody defines body for PostDocumentsUnstar for application/json ContentType.

type PostDocumentsUnstarResponse

type PostDocumentsUnstarResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Success *bool `json:"success,omitempty"`
	}
	JSON400 *Validation
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostDocumentsUnstarResponse

func ParsePostDocumentsUnstarResponse(rsp *http.Response) (*PostDocumentsUnstarResponse, error)

ParsePostDocumentsUnstarResponse parses an HTTP response from a PostDocumentsUnstarWithResponse call

func (PostDocumentsUnstarResponse) Status

Status returns HTTPResponse.Status

func (PostDocumentsUnstarResponse) StatusCode

func (r PostDocumentsUnstarResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostDocumentsUpdateJSONBody

type PostDocumentsUpdateJSONBody struct {
	// Append If true the text field will be appended to the end of the existing document, rather than the default behavior of replacing it. This is potentially useful for things like logging into a document.
	Append *bool `json:"append,omitempty"`

	// Done Whether the editing session has finished, this will trigger any notifications. This property will soon be deprecated.
	Done *bool `json:"done,omitempty"`

	// Id Unique identifier for the document. Either the UUID or the urlId is acceptable.
	Id string `json:"id"`

	// Publish Whether this document should be published and made visible to other team members, if a draft
	Publish *bool `json:"publish,omitempty"`

	// Text The body of the document, may contain markdown formatting.
	Text *string `json:"text,omitempty"`

	// Title The title of the document.
	Title *string `json:"title,omitempty"`
}

PostDocumentsUpdateJSONBody defines parameters for PostDocumentsUpdate.

type PostDocumentsUpdateJSONRequestBody

type PostDocumentsUpdateJSONRequestBody PostDocumentsUpdateJSONBody

PostDocumentsUpdateJSONRequestBody defines body for PostDocumentsUpdate for application/json ContentType.

type PostDocumentsUpdateResponse

type PostDocumentsUpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data     *Document `json:"data,omitempty"`
		Policies *[]Policy `json:"policies,omitempty"`
	}
	JSON400 *Validation
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostDocumentsUpdateResponse

func ParsePostDocumentsUpdateResponse(rsp *http.Response) (*PostDocumentsUpdateResponse, error)

ParsePostDocumentsUpdateResponse parses an HTTP response from a PostDocumentsUpdateWithResponse call

func (PostDocumentsUpdateResponse) Status

Status returns HTTPResponse.Status

func (PostDocumentsUpdateResponse) StatusCode

func (r PostDocumentsUpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostDocumentsUsersJSONBody

type PostDocumentsUsersJSONBody struct {
	// Id Unique identifier for the document. Either the UUID or the urlId is acceptable.
	Id string `json:"id"`

	// Query If set, will filter the results by user name.
	Query *string `json:"query,omitempty"`
}

PostDocumentsUsersJSONBody defines parameters for PostDocumentsUsers.

type PostDocumentsUsersJSONRequestBody

type PostDocumentsUsersJSONRequestBody PostDocumentsUsersJSONBody

PostDocumentsUsersJSONRequestBody defines body for PostDocumentsUsers for application/json ContentType.

type PostDocumentsUsersResponse

type PostDocumentsUsersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data       *[]User     `json:"data,omitempty"`
		Pagination *Pagination `json:"pagination,omitempty"`
		Policies   *[]Policy   `json:"policies,omitempty"`
	}
	JSON400 *Validation
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostDocumentsUsersResponse

func ParsePostDocumentsUsersResponse(rsp *http.Response) (*PostDocumentsUsersResponse, error)

ParsePostDocumentsUsersResponse parses an HTTP response from a PostDocumentsUsersWithResponse call

func (PostDocumentsUsersResponse) Status

Status returns HTTPResponse.Status

func (PostDocumentsUsersResponse) StatusCode

func (r PostDocumentsUsersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostDocumentsViewedJSONBody

type PostDocumentsViewedJSONBody struct {
	Direction *PostDocumentsViewedJSONBodyDirection `json:"direction,omitempty"`
	Limit     *float32                              `json:"limit,omitempty"`
	Offset    *float32                              `json:"offset,omitempty"`
	Sort      *string                               `json:"sort,omitempty"`
}

PostDocumentsViewedJSONBody defines parameters for PostDocumentsViewed.

type PostDocumentsViewedJSONBodyDirection

type PostDocumentsViewedJSONBodyDirection string

PostDocumentsViewedJSONBodyDirection defines parameters for PostDocumentsViewed.

const (
	PostDocumentsViewedJSONBodyDirectionASC  PostDocumentsViewedJSONBodyDirection = "ASC"
	PostDocumentsViewedJSONBodyDirectionDESC PostDocumentsViewedJSONBodyDirection = "DESC"
)

Defines values for PostDocumentsViewedJSONBodyDirection.

type PostDocumentsViewedJSONRequestBody

type PostDocumentsViewedJSONRequestBody PostDocumentsViewedJSONBody

PostDocumentsViewedJSONRequestBody defines body for PostDocumentsViewed for application/json ContentType.

type PostDocumentsViewedResponse

type PostDocumentsViewedResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data       *[]Document `json:"data,omitempty"`
		Pagination *Pagination `json:"pagination,omitempty"`
		Policies   *[]Policy   `json:"policies,omitempty"`
	}
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
}

func ParsePostDocumentsViewedResponse

func ParsePostDocumentsViewedResponse(rsp *http.Response) (*PostDocumentsViewedResponse, error)

ParsePostDocumentsViewedResponse parses an HTTP response from a PostDocumentsViewedWithResponse call

func (PostDocumentsViewedResponse) Status

Status returns HTTPResponse.Status

func (PostDocumentsViewedResponse) StatusCode

func (r PostDocumentsViewedResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostEventsListJSONBody

type PostEventsListJSONBody struct {
	// ActorId Filter to events performed by the selected user
	ActorId *openapi_types.UUID `json:"actorId,omitempty"`

	// AuditLog Whether to return detailed events suitable for an audit log. Without this flag less detailed event types will be returned.
	AuditLog *bool `json:"auditLog,omitempty"`

	// CollectionId Filter to events performed in the selected collection
	CollectionId *openapi_types.UUID              `json:"collectionId,omitempty"`
	Direction    *PostEventsListJSONBodyDirection `json:"direction,omitempty"`

	// DocumentId Filter to events performed in the selected document
	DocumentId *openapi_types.UUID `json:"documentId,omitempty"`
	Limit      *float32            `json:"limit,omitempty"`

	// Name Filter to a specific event, e.g. "collections.create". Event names are in the format "objects.verb"
	Name   *string  `json:"name,omitempty"`
	Offset *float32 `json:"offset,omitempty"`
	Sort   *string  `json:"sort,omitempty"`
}

PostEventsListJSONBody defines parameters for PostEventsList.

type PostEventsListJSONBodyDirection

type PostEventsListJSONBodyDirection string

PostEventsListJSONBodyDirection defines parameters for PostEventsList.

const (
	PostEventsListJSONBodyDirectionASC  PostEventsListJSONBodyDirection = "ASC"
	PostEventsListJSONBodyDirectionDESC PostEventsListJSONBodyDirection = "DESC"
)

Defines values for PostEventsListJSONBodyDirection.

type PostEventsListJSONRequestBody

type PostEventsListJSONRequestBody PostEventsListJSONBody

PostEventsListJSONRequestBody defines body for PostEventsList for application/json ContentType.

type PostEventsListResponse

type PostEventsListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data       *[]Event    `json:"data,omitempty"`
		Pagination *Pagination `json:"pagination,omitempty"`
	}
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
}

func ParsePostEventsListResponse

func ParsePostEventsListResponse(rsp *http.Response) (*PostEventsListResponse, error)

ParsePostEventsListResponse parses an HTTP response from a PostEventsListWithResponse call

func (PostEventsListResponse) Status

func (r PostEventsListResponse) Status() string

Status returns HTTPResponse.Status

func (PostEventsListResponse) StatusCode

func (r PostEventsListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostFileOperationsDeleteJSONBody

type PostFileOperationsDeleteJSONBody struct {
	// Id Unique identifier for the file operation.
	Id openapi_types.UUID `json:"id"`
}

PostFileOperationsDeleteJSONBody defines parameters for PostFileOperationsDelete.

type PostFileOperationsDeleteJSONRequestBody

type PostFileOperationsDeleteJSONRequestBody PostFileOperationsDeleteJSONBody

PostFileOperationsDeleteJSONRequestBody defines body for PostFileOperationsDelete for application/json ContentType.

type PostFileOperationsDeleteResponse

type PostFileOperationsDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Success *bool `json:"success,omitempty"`
	}
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostFileOperationsDeleteResponse

func ParsePostFileOperationsDeleteResponse(rsp *http.Response) (*PostFileOperationsDeleteResponse, error)

ParsePostFileOperationsDeleteResponse parses an HTTP response from a PostFileOperationsDeleteWithResponse call

func (PostFileOperationsDeleteResponse) Status

Status returns HTTPResponse.Status

func (PostFileOperationsDeleteResponse) StatusCode

func (r PostFileOperationsDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostFileOperationsInfoJSONBody

type PostFileOperationsInfoJSONBody struct {
	// Id Unique identifier for the file operation.
	Id openapi_types.UUID `json:"id"`
}

PostFileOperationsInfoJSONBody defines parameters for PostFileOperationsInfo.

type PostFileOperationsInfoJSONRequestBody

type PostFileOperationsInfoJSONRequestBody PostFileOperationsInfoJSONBody

PostFileOperationsInfoJSONRequestBody defines body for PostFileOperationsInfo for application/json ContentType.

type PostFileOperationsInfoResponse

type PostFileOperationsInfoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *FileOperation `json:"data,omitempty"`
	}
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostFileOperationsInfoResponse

func ParsePostFileOperationsInfoResponse(rsp *http.Response) (*PostFileOperationsInfoResponse, error)

ParsePostFileOperationsInfoResponse parses an HTTP response from a PostFileOperationsInfoWithResponse call

func (PostFileOperationsInfoResponse) Status

Status returns HTTPResponse.Status

func (PostFileOperationsInfoResponse) StatusCode

func (r PostFileOperationsInfoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostFileOperationsListJSONBody

type PostFileOperationsListJSONBody struct {
	Direction *PostFileOperationsListJSONBodyDirection `json:"direction,omitempty"`
	Limit     *float32                                 `json:"limit,omitempty"`
	Offset    *float32                                 `json:"offset,omitempty"`
	Sort      *string                                  `json:"sort,omitempty"`

	// Type The type of fileOperation
	Type PostFileOperationsListJSONBodyType `json:"type"`
}

PostFileOperationsListJSONBody defines parameters for PostFileOperationsList.

type PostFileOperationsListJSONBodyDirection

type PostFileOperationsListJSONBodyDirection string

PostFileOperationsListJSONBodyDirection defines parameters for PostFileOperationsList.

const (
	PostFileOperationsListJSONBodyDirectionASC  PostFileOperationsListJSONBodyDirection = "ASC"
	PostFileOperationsListJSONBodyDirectionDESC PostFileOperationsListJSONBodyDirection = "DESC"
)

Defines values for PostFileOperationsListJSONBodyDirection.

type PostFileOperationsListJSONBodyType

type PostFileOperationsListJSONBodyType string

PostFileOperationsListJSONBodyType defines parameters for PostFileOperationsList.

const (
	PostFileOperationsListJSONBodyTypeExport PostFileOperationsListJSONBodyType = "export"
	PostFileOperationsListJSONBodyTypeImport PostFileOperationsListJSONBodyType = "import"
)

Defines values for PostFileOperationsListJSONBodyType.

type PostFileOperationsListJSONRequestBody

type PostFileOperationsListJSONRequestBody PostFileOperationsListJSONBody

PostFileOperationsListJSONRequestBody defines body for PostFileOperationsList for application/json ContentType.

type PostFileOperationsListResponse

type PostFileOperationsListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data       *[]FileOperation `json:"data,omitempty"`
		Pagination *Pagination      `json:"pagination,omitempty"`
	}
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
}

func ParsePostFileOperationsListResponse

func ParsePostFileOperationsListResponse(rsp *http.Response) (*PostFileOperationsListResponse, error)

ParsePostFileOperationsListResponse parses an HTTP response from a PostFileOperationsListWithResponse call

func (PostFileOperationsListResponse) Status

Status returns HTTPResponse.Status

func (PostFileOperationsListResponse) StatusCode

func (r PostFileOperationsListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostFileOperationsRedirectJSONBody

type PostFileOperationsRedirectJSONBody struct {
	// Id Unique identifier for the file operation.
	Id openapi_types.UUID `json:"id"`
}

PostFileOperationsRedirectJSONBody defines parameters for PostFileOperationsRedirect.

type PostFileOperationsRedirectJSONRequestBody

type PostFileOperationsRedirectJSONRequestBody PostFileOperationsRedirectJSONBody

PostFileOperationsRedirectJSONRequestBody defines body for PostFileOperationsRedirect for application/json ContentType.

type PostFileOperationsRedirectResponse

type PostFileOperationsRedirectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
}

func ParsePostFileOperationsRedirectResponse

func ParsePostFileOperationsRedirectResponse(rsp *http.Response) (*PostFileOperationsRedirectResponse, error)

ParsePostFileOperationsRedirectResponse parses an HTTP response from a PostFileOperationsRedirectWithResponse call

func (PostFileOperationsRedirectResponse) Status

Status returns HTTPResponse.Status

func (PostFileOperationsRedirectResponse) StatusCode

func (r PostFileOperationsRedirectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostGroupsAddUserJSONBody

type PostGroupsAddUserJSONBody struct {
	Id     openapi_types.UUID `json:"id"`
	UserId openapi_types.UUID `json:"userId"`
}

PostGroupsAddUserJSONBody defines parameters for PostGroupsAddUser.

type PostGroupsAddUserJSONRequestBody

type PostGroupsAddUserJSONRequestBody PostGroupsAddUserJSONBody

PostGroupsAddUserJSONRequestBody defines body for PostGroupsAddUser for application/json ContentType.

type PostGroupsAddUserResponse

type PostGroupsAddUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *struct {
			GroupMemberships *[]Membership `json:"groupMemberships,omitempty"`
			Groups           *[]Group      `json:"groups,omitempty"`
			Users            *[]User       `json:"users,omitempty"`
		} `json:"data,omitempty"`
	}
	JSON400 *Validation
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostGroupsAddUserResponse

func ParsePostGroupsAddUserResponse(rsp *http.Response) (*PostGroupsAddUserResponse, error)

ParsePostGroupsAddUserResponse parses an HTTP response from a PostGroupsAddUserWithResponse call

func (PostGroupsAddUserResponse) Status

func (r PostGroupsAddUserResponse) Status() string

Status returns HTTPResponse.Status

func (PostGroupsAddUserResponse) StatusCode

func (r PostGroupsAddUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostGroupsCreateJSONBody

type PostGroupsCreateJSONBody struct {
	Name string `json:"name"`
}

PostGroupsCreateJSONBody defines parameters for PostGroupsCreate.

type PostGroupsCreateJSONRequestBody

type PostGroupsCreateJSONRequestBody PostGroupsCreateJSONBody

PostGroupsCreateJSONRequestBody defines body for PostGroupsCreate for application/json ContentType.

type PostGroupsCreateResponse

type PostGroupsCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data     *Group    `json:"data,omitempty"`
		Policies *[]Policy `json:"policies,omitempty"`
	}
	JSON400 *Validation
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
}

func ParsePostGroupsCreateResponse

func ParsePostGroupsCreateResponse(rsp *http.Response) (*PostGroupsCreateResponse, error)

ParsePostGroupsCreateResponse parses an HTTP response from a PostGroupsCreateWithResponse call

func (PostGroupsCreateResponse) Status

func (r PostGroupsCreateResponse) Status() string

Status returns HTTPResponse.Status

func (PostGroupsCreateResponse) StatusCode

func (r PostGroupsCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostGroupsDeleteJSONBody

type PostGroupsDeleteJSONBody struct {
	Id openapi_types.UUID `json:"id"`
}

PostGroupsDeleteJSONBody defines parameters for PostGroupsDelete.

type PostGroupsDeleteJSONRequestBody

type PostGroupsDeleteJSONRequestBody PostGroupsDeleteJSONBody

PostGroupsDeleteJSONRequestBody defines body for PostGroupsDelete for application/json ContentType.

type PostGroupsDeleteResponse

type PostGroupsDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Success *bool `json:"success,omitempty"`
	}
	JSON400 *Validation
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostGroupsDeleteResponse

func ParsePostGroupsDeleteResponse(rsp *http.Response) (*PostGroupsDeleteResponse, error)

ParsePostGroupsDeleteResponse parses an HTTP response from a PostGroupsDeleteWithResponse call

func (PostGroupsDeleteResponse) Status

func (r PostGroupsDeleteResponse) Status() string

Status returns HTTPResponse.Status

func (PostGroupsDeleteResponse) StatusCode

func (r PostGroupsDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostGroupsInfoJSONBody

type PostGroupsInfoJSONBody struct {
	// Id Unique identifier for the group.
	Id openapi_types.UUID `json:"id"`
}

PostGroupsInfoJSONBody defines parameters for PostGroupsInfo.

type PostGroupsInfoJSONRequestBody

type PostGroupsInfoJSONRequestBody PostGroupsInfoJSONBody

PostGroupsInfoJSONRequestBody defines body for PostGroupsInfo for application/json ContentType.

type PostGroupsInfoResponse

type PostGroupsInfoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *Group `json:"data,omitempty"`
	}
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostGroupsInfoResponse

func ParsePostGroupsInfoResponse(rsp *http.Response) (*PostGroupsInfoResponse, error)

ParsePostGroupsInfoResponse parses an HTTP response from a PostGroupsInfoWithResponse call

func (PostGroupsInfoResponse) Status

func (r PostGroupsInfoResponse) Status() string

Status returns HTTPResponse.Status

func (PostGroupsInfoResponse) StatusCode

func (r PostGroupsInfoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostGroupsListJSONBody

type PostGroupsListJSONBody struct {
	Direction *PostGroupsListJSONBodyDirection `json:"direction,omitempty"`
	Limit     *float32                         `json:"limit,omitempty"`
	Offset    *float32                         `json:"offset,omitempty"`
	Sort      *string                          `json:"sort,omitempty"`
}

PostGroupsListJSONBody defines parameters for PostGroupsList.

type PostGroupsListJSONBodyDirection

type PostGroupsListJSONBodyDirection string

PostGroupsListJSONBodyDirection defines parameters for PostGroupsList.

const (
	PostGroupsListJSONBodyDirectionASC  PostGroupsListJSONBodyDirection = "ASC"
	PostGroupsListJSONBodyDirectionDESC PostGroupsListJSONBodyDirection = "DESC"
)

Defines values for PostGroupsListJSONBodyDirection.

type PostGroupsListJSONRequestBody

type PostGroupsListJSONRequestBody PostGroupsListJSONBody

PostGroupsListJSONRequestBody defines body for PostGroupsList for application/json ContentType.

type PostGroupsListResponse

type PostGroupsListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *struct {
			// GroupMemberships A preview of memberships in the group, note that this is not all memberships which can be queried from `groups.memberships`.
			GroupMemberships *[]GroupMembership `json:"groupMemberships,omitempty"`
			Groups           *[]Group           `json:"groups,omitempty"`
		} `json:"data,omitempty"`
		Pagination *Pagination `json:"pagination,omitempty"`
	}
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
}

func ParsePostGroupsListResponse

func ParsePostGroupsListResponse(rsp *http.Response) (*PostGroupsListResponse, error)

ParsePostGroupsListResponse parses an HTTP response from a PostGroupsListWithResponse call

func (PostGroupsListResponse) Status

func (r PostGroupsListResponse) Status() string

Status returns HTTPResponse.Status

func (PostGroupsListResponse) StatusCode

func (r PostGroupsListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostGroupsMembershipsJSONBody

type PostGroupsMembershipsJSONBody struct {
	// Id Group id
	Id     string   `json:"id"`
	Limit  *float32 `json:"limit,omitempty"`
	Offset *float32 `json:"offset,omitempty"`

	// Query Filter memberships by user names
	Query *string `json:"query,omitempty"`
}

PostGroupsMembershipsJSONBody defines parameters for PostGroupsMemberships.

type PostGroupsMembershipsJSONRequestBody

type PostGroupsMembershipsJSONRequestBody PostGroupsMembershipsJSONBody

PostGroupsMembershipsJSONRequestBody defines body for PostGroupsMemberships for application/json ContentType.

type PostGroupsMembershipsResponse

type PostGroupsMembershipsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *struct {
			GroupMemberships *[]GroupMembership `json:"groupMemberships,omitempty"`
			Users            *[]User            `json:"users,omitempty"`
		} `json:"data,omitempty"`
		Pagination *Pagination `json:"pagination,omitempty"`
	}
	JSON400 *Validation
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
}

func ParsePostGroupsMembershipsResponse

func ParsePostGroupsMembershipsResponse(rsp *http.Response) (*PostGroupsMembershipsResponse, error)

ParsePostGroupsMembershipsResponse parses an HTTP response from a PostGroupsMembershipsWithResponse call

func (PostGroupsMembershipsResponse) Status

Status returns HTTPResponse.Status

func (PostGroupsMembershipsResponse) StatusCode

func (r PostGroupsMembershipsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostGroupsRemoveUserJSONBody

type PostGroupsRemoveUserJSONBody struct {
	// Id Identifier for the collection
	Id     openapi_types.UUID `json:"id"`
	UserId openapi_types.UUID `json:"userId"`
}

PostGroupsRemoveUserJSONBody defines parameters for PostGroupsRemoveUser.

type PostGroupsRemoveUserJSONRequestBody

type PostGroupsRemoveUserJSONRequestBody PostGroupsRemoveUserJSONBody

PostGroupsRemoveUserJSONRequestBody defines body for PostGroupsRemoveUser for application/json ContentType.

type PostGroupsRemoveUserResponse

type PostGroupsRemoveUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *struct {
			Groups *[]Group `json:"groups,omitempty"`
		} `json:"data,omitempty"`
	}
	JSON400 *Validation
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostGroupsRemoveUserResponse

func ParsePostGroupsRemoveUserResponse(rsp *http.Response) (*PostGroupsRemoveUserResponse, error)

ParsePostGroupsRemoveUserResponse parses an HTTP response from a PostGroupsRemoveUserWithResponse call

func (PostGroupsRemoveUserResponse) Status

Status returns HTTPResponse.Status

func (PostGroupsRemoveUserResponse) StatusCode

func (r PostGroupsRemoveUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostGroupsUpdateJSONBody

type PostGroupsUpdateJSONBody struct {
	Id   openapi_types.UUID `json:"id"`
	Name string             `json:"name"`
}

PostGroupsUpdateJSONBody defines parameters for PostGroupsUpdate.

type PostGroupsUpdateJSONRequestBody

type PostGroupsUpdateJSONRequestBody PostGroupsUpdateJSONBody

PostGroupsUpdateJSONRequestBody defines body for PostGroupsUpdate for application/json ContentType.

type PostGroupsUpdateResponse

type PostGroupsUpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data     *Group    `json:"data,omitempty"`
		Policies *[]Policy `json:"policies,omitempty"`
	}
	JSON400 *Validation
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostGroupsUpdateResponse

func ParsePostGroupsUpdateResponse(rsp *http.Response) (*PostGroupsUpdateResponse, error)

ParsePostGroupsUpdateResponse parses an HTTP response from a PostGroupsUpdateWithResponse call

func (PostGroupsUpdateResponse) Status

func (r PostGroupsUpdateResponse) Status() string

Status returns HTTPResponse.Status

func (PostGroupsUpdateResponse) StatusCode

func (r PostGroupsUpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostRevisionsInfoJSONBody

type PostRevisionsInfoJSONBody struct {
	// Id Unique identifier for the revision.
	Id openapi_types.UUID `json:"id"`
}

PostRevisionsInfoJSONBody defines parameters for PostRevisionsInfo.

type PostRevisionsInfoJSONRequestBody

type PostRevisionsInfoJSONRequestBody PostRevisionsInfoJSONBody

PostRevisionsInfoJSONRequestBody defines body for PostRevisionsInfo for application/json ContentType.

type PostRevisionsInfoResponse

type PostRevisionsInfoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *Revision `json:"data,omitempty"`
	}
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostRevisionsInfoResponse

func ParsePostRevisionsInfoResponse(rsp *http.Response) (*PostRevisionsInfoResponse, error)

ParsePostRevisionsInfoResponse parses an HTTP response from a PostRevisionsInfoWithResponse call

func (PostRevisionsInfoResponse) Status

func (r PostRevisionsInfoResponse) Status() string

Status returns HTTPResponse.Status

func (PostRevisionsInfoResponse) StatusCode

func (r PostRevisionsInfoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostRevisionsListJSONBody

type PostRevisionsListJSONBody struct {
	Direction *PostRevisionsListJSONBodyDirection `json:"direction,omitempty"`
	Limit     *float32                            `json:"limit,omitempty"`
	Offset    *float32                            `json:"offset,omitempty"`
	Sort      *string                             `json:"sort,omitempty"`
}

PostRevisionsListJSONBody defines parameters for PostRevisionsList.

type PostRevisionsListJSONBodyDirection

type PostRevisionsListJSONBodyDirection string

PostRevisionsListJSONBodyDirection defines parameters for PostRevisionsList.

const (
	PostRevisionsListJSONBodyDirectionASC  PostRevisionsListJSONBodyDirection = "ASC"
	PostRevisionsListJSONBodyDirectionDESC PostRevisionsListJSONBodyDirection = "DESC"
)

Defines values for PostRevisionsListJSONBodyDirection.

type PostRevisionsListJSONRequestBody

type PostRevisionsListJSONRequestBody PostRevisionsListJSONBody

PostRevisionsListJSONRequestBody defines body for PostRevisionsList for application/json ContentType.

type PostRevisionsListResponse

type PostRevisionsListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data       *[]Revision `json:"data,omitempty"`
		Pagination *Pagination `json:"pagination,omitempty"`
	}
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
}

func ParsePostRevisionsListResponse

func ParsePostRevisionsListResponse(rsp *http.Response) (*PostRevisionsListResponse, error)

ParsePostRevisionsListResponse parses an HTTP response from a PostRevisionsListWithResponse call

func (PostRevisionsListResponse) Status

func (r PostRevisionsListResponse) Status() string

Status returns HTTPResponse.Status

func (PostRevisionsListResponse) StatusCode

func (r PostRevisionsListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostSharesCreateJSONBody

type PostSharesCreateJSONBody struct {
	DocumentId openapi_types.UUID `json:"documentId"`
}

PostSharesCreateJSONBody defines parameters for PostSharesCreate.

type PostSharesCreateJSONRequestBody

type PostSharesCreateJSONRequestBody PostSharesCreateJSONBody

PostSharesCreateJSONRequestBody defines body for PostSharesCreate for application/json ContentType.

type PostSharesCreateResponse

type PostSharesCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *Share `json:"data,omitempty"`
	}
	JSON400 *Validation
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
}

func ParsePostSharesCreateResponse

func ParsePostSharesCreateResponse(rsp *http.Response) (*PostSharesCreateResponse, error)

ParsePostSharesCreateResponse parses an HTTP response from a PostSharesCreateWithResponse call

func (PostSharesCreateResponse) Status

func (r PostSharesCreateResponse) Status() string

Status returns HTTPResponse.Status

func (PostSharesCreateResponse) StatusCode

func (r PostSharesCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostSharesInfoJSONBody

type PostSharesInfoJSONBody struct {
	// DocumentId Unique identifier for a document. One of id or documentId must be provided.
	DocumentId *openapi_types.UUID `json:"documentId,omitempty"`

	// Id Unique identifier for the share.
	Id *openapi_types.UUID `json:"id,omitempty"`
}

PostSharesInfoJSONBody defines parameters for PostSharesInfo.

type PostSharesInfoJSONRequestBody

type PostSharesInfoJSONRequestBody PostSharesInfoJSONBody

PostSharesInfoJSONRequestBody defines body for PostSharesInfo for application/json ContentType.

type PostSharesInfoResponse

type PostSharesInfoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *Share `json:"data,omitempty"`
	}
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostSharesInfoResponse

func ParsePostSharesInfoResponse(rsp *http.Response) (*PostSharesInfoResponse, error)

ParsePostSharesInfoResponse parses an HTTP response from a PostSharesInfoWithResponse call

func (PostSharesInfoResponse) Status

func (r PostSharesInfoResponse) Status() string

Status returns HTTPResponse.Status

func (PostSharesInfoResponse) StatusCode

func (r PostSharesInfoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostSharesListJSONBody

type PostSharesListJSONBody struct {
	Direction *PostSharesListJSONBodyDirection `json:"direction,omitempty"`
	Limit     *float32                         `json:"limit,omitempty"`
	Offset    *float32                         `json:"offset,omitempty"`
	Sort      *string                          `json:"sort,omitempty"`
}

PostSharesListJSONBody defines parameters for PostSharesList.

type PostSharesListJSONBodyDirection

type PostSharesListJSONBodyDirection string

PostSharesListJSONBodyDirection defines parameters for PostSharesList.

const (
	PostSharesListJSONBodyDirectionASC  PostSharesListJSONBodyDirection = "ASC"
	PostSharesListJSONBodyDirectionDESC PostSharesListJSONBodyDirection = "DESC"
)

Defines values for PostSharesListJSONBodyDirection.

type PostSharesListJSONRequestBody

type PostSharesListJSONRequestBody PostSharesListJSONBody

PostSharesListJSONRequestBody defines body for PostSharesList for application/json ContentType.

type PostSharesListResponse

type PostSharesListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data       *[]Share    `json:"data,omitempty"`
		Pagination *Pagination `json:"pagination,omitempty"`
	}
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
}

func ParsePostSharesListResponse

func ParsePostSharesListResponse(rsp *http.Response) (*PostSharesListResponse, error)

ParsePostSharesListResponse parses an HTTP response from a PostSharesListWithResponse call

func (PostSharesListResponse) Status

func (r PostSharesListResponse) Status() string

Status returns HTTPResponse.Status

func (PostSharesListResponse) StatusCode

func (r PostSharesListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostSharesRevokeJSONBody

type PostSharesRevokeJSONBody struct {
	Id openapi_types.UUID `json:"id"`
}

PostSharesRevokeJSONBody defines parameters for PostSharesRevoke.

type PostSharesRevokeJSONRequestBody

type PostSharesRevokeJSONRequestBody PostSharesRevokeJSONBody

PostSharesRevokeJSONRequestBody defines body for PostSharesRevoke for application/json ContentType.

type PostSharesRevokeResponse

type PostSharesRevokeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Success *bool `json:"success,omitempty"`
	}
	JSON400 *Validation
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostSharesRevokeResponse

func ParsePostSharesRevokeResponse(rsp *http.Response) (*PostSharesRevokeResponse, error)

ParsePostSharesRevokeResponse parses an HTTP response from a PostSharesRevokeWithResponse call

func (PostSharesRevokeResponse) Status

func (r PostSharesRevokeResponse) Status() string

Status returns HTTPResponse.Status

func (PostSharesRevokeResponse) StatusCode

func (r PostSharesRevokeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostSharesUpdateJSONBody

type PostSharesUpdateJSONBody struct {
	Id        openapi_types.UUID `json:"id"`
	Published bool               `json:"published"`
}

PostSharesUpdateJSONBody defines parameters for PostSharesUpdate.

type PostSharesUpdateJSONRequestBody

type PostSharesUpdateJSONRequestBody PostSharesUpdateJSONBody

PostSharesUpdateJSONRequestBody defines body for PostSharesUpdate for application/json ContentType.

type PostSharesUpdateResponse

type PostSharesUpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *Share `json:"data,omitempty"`
	}
	JSON400 *Validation
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
}

func ParsePostSharesUpdateResponse

func ParsePostSharesUpdateResponse(rsp *http.Response) (*PostSharesUpdateResponse, error)

ParsePostSharesUpdateResponse parses an HTTP response from a PostSharesUpdateWithResponse call

func (PostSharesUpdateResponse) Status

func (r PostSharesUpdateResponse) Status() string

Status returns HTTPResponse.Status

func (PostSharesUpdateResponse) StatusCode

func (r PostSharesUpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostUsersActivateJSONBody

type PostUsersActivateJSONBody struct {
	// Id Unique identifier for the user.
	Id openapi_types.UUID `json:"id"`
}

PostUsersActivateJSONBody defines parameters for PostUsersActivate.

type PostUsersActivateJSONRequestBody

type PostUsersActivateJSONRequestBody PostUsersActivateJSONBody

PostUsersActivateJSONRequestBody defines body for PostUsersActivate for application/json ContentType.

type PostUsersActivateResponse

type PostUsersActivateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *User `json:"data,omitempty"`
	}
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostUsersActivateResponse

func ParsePostUsersActivateResponse(rsp *http.Response) (*PostUsersActivateResponse, error)

ParsePostUsersActivateResponse parses an HTTP response from a PostUsersActivateWithResponse call

func (PostUsersActivateResponse) Status

func (r PostUsersActivateResponse) Status() string

Status returns HTTPResponse.Status

func (PostUsersActivateResponse) StatusCode

func (r PostUsersActivateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostUsersDeleteJSONBody

type PostUsersDeleteJSONBody struct {
	// Id Unique identifier for the user.
	Id openapi_types.UUID `json:"id"`
}

PostUsersDeleteJSONBody defines parameters for PostUsersDelete.

type PostUsersDeleteJSONRequestBody

type PostUsersDeleteJSONRequestBody PostUsersDeleteJSONBody

PostUsersDeleteJSONRequestBody defines body for PostUsersDelete for application/json ContentType.

type PostUsersDeleteResponse

type PostUsersDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Success *bool `json:"success,omitempty"`
	}
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostUsersDeleteResponse

func ParsePostUsersDeleteResponse(rsp *http.Response) (*PostUsersDeleteResponse, error)

ParsePostUsersDeleteResponse parses an HTTP response from a PostUsersDeleteWithResponse call

func (PostUsersDeleteResponse) Status

func (r PostUsersDeleteResponse) Status() string

Status returns HTTPResponse.Status

func (PostUsersDeleteResponse) StatusCode

func (r PostUsersDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostUsersInfoJSONBody

type PostUsersInfoJSONBody struct {
	// Id Unique identifier for the user.
	Id openapi_types.UUID `json:"id"`
}

PostUsersInfoJSONBody defines parameters for PostUsersInfo.

type PostUsersInfoJSONRequestBody

type PostUsersInfoJSONRequestBody PostUsersInfoJSONBody

PostUsersInfoJSONRequestBody defines body for PostUsersInfo for application/json ContentType.

type PostUsersInfoResponse

type PostUsersInfoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *User `json:"data,omitempty"`
	}
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostUsersInfoResponse

func ParsePostUsersInfoResponse(rsp *http.Response) (*PostUsersInfoResponse, error)

ParsePostUsersInfoResponse parses an HTTP response from a PostUsersInfoWithResponse call

func (PostUsersInfoResponse) Status

func (r PostUsersInfoResponse) Status() string

Status returns HTTPResponse.Status

func (PostUsersInfoResponse) StatusCode

func (r PostUsersInfoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostUsersInviteJSONBody

type PostUsersInviteJSONBody struct {
	Invites []Invite `json:"invites"`
}

PostUsersInviteJSONBody defines parameters for PostUsersInvite.

type PostUsersInviteJSONRequestBody

type PostUsersInviteJSONRequestBody PostUsersInviteJSONBody

PostUsersInviteJSONRequestBody defines body for PostUsersInvite for application/json ContentType.

type PostUsersInviteResponse

type PostUsersInviteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Sent  *[]Invite `json:"sent,omitempty"`
		Users *[]User   `json:"users,omitempty"`
	}
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
}

func ParsePostUsersInviteResponse

func ParsePostUsersInviteResponse(rsp *http.Response) (*PostUsersInviteResponse, error)

ParsePostUsersInviteResponse parses an HTTP response from a PostUsersInviteWithResponse call

func (PostUsersInviteResponse) Status

func (r PostUsersInviteResponse) Status() string

Status returns HTTPResponse.Status

func (PostUsersInviteResponse) StatusCode

func (r PostUsersInviteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostUsersListJSONBody

type PostUsersListJSONBody struct {
	Direction *PostUsersListJSONBodyDirection `json:"direction,omitempty"`
	Emails    *[]string                       `json:"emails,omitempty"`

	// Filter The status to filter by
	Filter *PostUsersListJSONBodyFilter `json:"filter,omitempty"`
	Limit  *float32                     `json:"limit,omitempty"`
	Offset *float32                     `json:"offset,omitempty"`
	Query  *string                      `json:"query,omitempty"`
	Role   *UserRole                    `json:"role,omitempty"`
	Sort   *string                      `json:"sort,omitempty"`
}

PostUsersListJSONBody defines parameters for PostUsersList.

type PostUsersListJSONBodyDirection

type PostUsersListJSONBodyDirection string

PostUsersListJSONBodyDirection defines parameters for PostUsersList.

Defines values for PostUsersListJSONBodyDirection.

type PostUsersListJSONBodyFilter

type PostUsersListJSONBodyFilter string

PostUsersListJSONBodyFilter defines parameters for PostUsersList.

const (
	Active    PostUsersListJSONBodyFilter = "active"
	All       PostUsersListJSONBodyFilter = "all"
	Invited   PostUsersListJSONBodyFilter = "invited"
	Suspended PostUsersListJSONBodyFilter = "suspended"
)

Defines values for PostUsersListJSONBodyFilter.

type PostUsersListJSONRequestBody

type PostUsersListJSONRequestBody PostUsersListJSONBody

PostUsersListJSONRequestBody defines body for PostUsersList for application/json ContentType.

type PostUsersListResponse

type PostUsersListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data       *[]User     `json:"data,omitempty"`
		Pagination *Pagination `json:"pagination,omitempty"`
	}
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
}

func ParsePostUsersListResponse

func ParsePostUsersListResponse(rsp *http.Response) (*PostUsersListResponse, error)

ParsePostUsersListResponse parses an HTTP response from a PostUsersListWithResponse call

func (PostUsersListResponse) Status

func (r PostUsersListResponse) Status() string

Status returns HTTPResponse.Status

func (PostUsersListResponse) StatusCode

func (r PostUsersListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostUsersSuspendJSONBody

type PostUsersSuspendJSONBody struct {
	// Id Unique identifier for the user.
	Id openapi_types.UUID `json:"id"`
}

PostUsersSuspendJSONBody defines parameters for PostUsersSuspend.

type PostUsersSuspendJSONRequestBody

type PostUsersSuspendJSONRequestBody PostUsersSuspendJSONBody

PostUsersSuspendJSONRequestBody defines body for PostUsersSuspend for application/json ContentType.

type PostUsersSuspendResponse

type PostUsersSuspendResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *User `json:"data,omitempty"`
	}
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostUsersSuspendResponse

func ParsePostUsersSuspendResponse(rsp *http.Response) (*PostUsersSuspendResponse, error)

ParsePostUsersSuspendResponse parses an HTTP response from a PostUsersSuspendWithResponse call

func (PostUsersSuspendResponse) Status

func (r PostUsersSuspendResponse) Status() string

Status returns HTTPResponse.Status

func (PostUsersSuspendResponse) StatusCode

func (r PostUsersSuspendResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostUsersUpdateJSONBody

type PostUsersUpdateJSONBody struct {
	AvatarUrl *string `json:"avatarUrl,omitempty"`
	Language  *string `json:"language,omitempty"`
	Name      *string `json:"name,omitempty"`
}

PostUsersUpdateJSONBody defines parameters for PostUsersUpdate.

type PostUsersUpdateJSONRequestBody

type PostUsersUpdateJSONRequestBody PostUsersUpdateJSONBody

PostUsersUpdateJSONRequestBody defines body for PostUsersUpdate for application/json ContentType.

type PostUsersUpdateResponse

type PostUsersUpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *User `json:"data,omitempty"`
	}
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostUsersUpdateResponse

func ParsePostUsersUpdateResponse(rsp *http.Response) (*PostUsersUpdateResponse, error)

ParsePostUsersUpdateResponse parses an HTTP response from a PostUsersUpdateWithResponse call

func (PostUsersUpdateResponse) Status

func (r PostUsersUpdateResponse) Status() string

Status returns HTTPResponse.Status

func (PostUsersUpdateResponse) StatusCode

func (r PostUsersUpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostUsersUpdateRoleJSONBody

type PostUsersUpdateRoleJSONBody struct {
	// Id Unique identifier for the user.
	Id   openapi_types.UUID `json:"id"`
	Role UserRole           `json:"role"`
}

PostUsersUpdateRoleJSONBody defines parameters for PostUsersUpdateRole.

type PostUsersUpdateRoleJSONRequestBody

type PostUsersUpdateRoleJSONRequestBody PostUsersUpdateRoleJSONBody

PostUsersUpdateRoleJSONRequestBody defines body for PostUsersUpdateRole for application/json ContentType.

type PostUsersUpdateRoleResponse

type PostUsersUpdateRoleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *User `json:"data,omitempty"`
	}
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
	JSON404 *NotFound
}

func ParsePostUsersUpdateRoleResponse

func ParsePostUsersUpdateRoleResponse(rsp *http.Response) (*PostUsersUpdateRoleResponse, error)

ParsePostUsersUpdateRoleResponse parses an HTTP response from a PostUsersUpdateRoleWithResponse call

func (PostUsersUpdateRoleResponse) Status

Status returns HTTPResponse.Status

func (PostUsersUpdateRoleResponse) StatusCode

func (r PostUsersUpdateRoleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostViewsCreateJSONBody

type PostViewsCreateJSONBody struct {
	DocumentId openapi_types.UUID `json:"documentId"`
}

PostViewsCreateJSONBody defines parameters for PostViewsCreate.

type PostViewsCreateJSONRequestBody

type PostViewsCreateJSONRequestBody PostViewsCreateJSONBody

PostViewsCreateJSONRequestBody defines body for PostViewsCreate for application/json ContentType.

type PostViewsCreateResponse

type PostViewsCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *View `json:"data,omitempty"`
	}
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
}

func ParsePostViewsCreateResponse

func ParsePostViewsCreateResponse(rsp *http.Response) (*PostViewsCreateResponse, error)

ParsePostViewsCreateResponse parses an HTTP response from a PostViewsCreateWithResponse call

func (PostViewsCreateResponse) Status

func (r PostViewsCreateResponse) Status() string

Status returns HTTPResponse.Status

func (PostViewsCreateResponse) StatusCode

func (r PostViewsCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostViewsListJSONBody

type PostViewsListJSONBody struct {
	DocumentId openapi_types.UUID `json:"documentId"`
}

PostViewsListJSONBody defines parameters for PostViewsList.

type PostViewsListJSONRequestBody

type PostViewsListJSONRequestBody PostViewsListJSONBody

PostViewsListJSONRequestBody defines body for PostViewsList for application/json ContentType.

type PostViewsListResponse

type PostViewsListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *[]View `json:"data,omitempty"`
	}
	JSON401 *Unauthenticated
	JSON403 *Unauthorized
}

func ParsePostViewsListResponse

func ParsePostViewsListResponse(rsp *http.Response) (*PostViewsListResponse, error)

ParsePostViewsListResponse parses an HTTP response from a PostViewsListWithResponse call

func (PostViewsListResponse) Status

func (r PostViewsListResponse) Status() string

Status returns HTTPResponse.Status

func (PostViewsListResponse) StatusCode

func (r PostViewsListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type Revision

type Revision struct {
	// CreatedAt Date and time when this revision was created
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	CreatedBy *User      `json:"createdBy,omitempty"`

	// DocumentId Identifier for the associated document.
	DocumentId *openapi_types.UUID `json:"documentId,omitempty"`

	// Id Unique identifier for the object.
	Id *openapi_types.UUID `json:"id,omitempty"`

	// Text Body of the document, may contain markdown formatting
	Text *string `json:"text,omitempty"`

	// Title Title of the document.
	Title *string `json:"title,omitempty"`
}

Revision defines model for Revision.

type Share

type Share struct {
	// CreatedAt Date and time when this share was created
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	CreatedBy *User      `json:"createdBy,omitempty"`

	// DocumentTitle Title of the shared document.
	DocumentTitle *string `json:"documentTitle,omitempty"`

	// DocumentUrl URL of the original document.
	DocumentUrl *string `json:"documentUrl,omitempty"`

	// Id Unique identifier for the object.
	Id *openapi_types.UUID `json:"id,omitempty"`

	// IncludeChildDocuments If to also give permission to view documents nested beneath this one.
	IncludeChildDocuments *bool `json:"includeChildDocuments,omitempty"`

	// LastAccessedAt Date and time when this share was last viewed
	LastAccessedAt *time.Time `json:"lastAccessedAt,omitempty"`

	// Published If true the share can be loaded without a user account.
	Published *bool `json:"published,omitempty"`

	// UpdatedAt Date and time when this share was edited
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`

	// Url URL of the publicly shared document.
	Url *string `json:"url,omitempty"`
}

Share defines model for Share.

type Sorting

type Sorting struct {
	Direction *SortingDirection `json:"direction,omitempty"`
	Sort      *string           `json:"sort,omitempty"`
}

Sorting defines model for Sorting.

type SortingDirection

type SortingDirection string

SortingDirection defines model for Sorting.Direction.

const (
	SortingDirectionASC  SortingDirection = "ASC"
	SortingDirectionDESC SortingDirection = "DESC"
)

Defines values for SortingDirection.

type Team

type Team struct {
	AllowedDomains *[]string `json:"allowedDomains,omitempty"`

	// AvatarUrl The URL for the image associated with this team, it will be displayed in the team switcher and in the top left of the knowledge base along with the name.
	AvatarUrl *string `json:"avatarUrl,omitempty"`

	// CollaborativeEditing Whether this team has collaborative editing in documents globally enabled.
	CollaborativeEditing *bool `json:"collaborativeEditing,omitempty"`

	// DefaultCollectionId If set then the referenced collection is where users will be redirected to after signing in instead of the Home screen
	DefaultCollectionId *openapi_types.UUID `json:"defaultCollectionId,omitempty"`
	DefaultUserRole     *UserRole           `json:"defaultUserRole,omitempty"`

	// DocumentEmbeds Whether this team has embeds in documents globally enabled. It can be disabled to reduce potential data leakage to third parties.
	DocumentEmbeds *bool `json:"documentEmbeds,omitempty"`

	// GuestSignin Whether this team has guest signin enabled. Guests can signin with an email address and are not required to have a Google Workspace/Slack SSO account once invited.
	GuestSignin *bool `json:"guestSignin,omitempty"`

	// Id Unique identifier for the object.
	Id *openapi_types.UUID `json:"id,omitempty"`

	// InviteRequired Whether an invite is required to join this team, if false users may join with a linked SSO provider.
	InviteRequired *bool `json:"inviteRequired,omitempty"`

	// MemberCollectionCreate Whether members are allowed to create new collections. If false then only admins can create collections.
	MemberCollectionCreate *bool `json:"memberCollectionCreate,omitempty"`

	// Name The name of this team, it is usually auto-generated when the first SSO connection is made but can be changed if neccessary.
	Name *string `json:"name,omitempty"`

	// Sharing Whether this team has share links globally enabled. If this value is false then all sharing UI and APIs are disabled.
	Sharing *bool `json:"sharing,omitempty"`

	// Subdomain Represents the subdomain at which this team's knowledge base can be accessed.
	Subdomain *string `json:"subdomain,omitempty"`

	// Url The fully qualified URL at which this team's knowledge base can be accessed.
	Url *string `json:"url,omitempty"`
}

Team defines model for Team.

type Unauthenticated

type Unauthenticated = Error

Unauthenticated defines model for Unauthenticated.

type Unauthorized

type Unauthorized = Error

Unauthorized defines model for Unauthorized.

type User

type User struct {
	// AvatarUrl The URL for the image associated with this user, it will be displayed in the application UI and email notifications.
	AvatarUrl *string `json:"avatarUrl,omitempty"`

	// CreatedAt The date and time that this user first signed in or was invited as a guest.
	CreatedAt *time.Time `json:"createdAt,omitempty"`

	// Email The email associated with this user, it is migrated from Slack or Google Workspace when the SSO connection is made but can be changed if neccessary.
	Email *openapi_types.Email `json:"email,omitempty"`

	// Id Unique identifier for the object.
	Id *openapi_types.UUID `json:"id,omitempty"`

	// IsSuspended Whether this user has been suspended.
	IsSuspended *bool `json:"isSuspended,omitempty"`

	// LastActiveAt The last time this user made an API request, this value is updated at most every 5 minutes.
	LastActiveAt *time.Time `json:"lastActiveAt,omitempty"`

	// Name The name of this user, it is migrated from Slack or Google Workspace when the SSO connection is made but can be changed if neccessary.
	Name *string   `json:"name,omitempty"`
	Role *UserRole `json:"role,omitempty"`
}

User defines model for User.

type UserRole

type UserRole string

UserRole defines model for UserRole.

const (
	Admin  UserRole = "admin"
	Guest  UserRole = "guest"
	Member UserRole = "member"
	Viewer UserRole = "viewer"
)

Defines values for UserRole.

type Validation

type Validation = Error

Validation defines model for Validation.

type View

type View struct {
	// Count The number of times the user has viewed the document.
	Count *float32 `json:"count,omitempty"`

	// DocumentId Identifier for the associated document.
	DocumentId *openapi_types.UUID `json:"documentId,omitempty"`

	// FirstViewedAt When the document was first viewed by the user
	FirstViewedAt *time.Time `json:"firstViewedAt,omitempty"`

	// Id Unique identifier for the object.
	Id *string `json:"id,omitempty"`

	// LastViewedAt When the document was last viewed by the user
	LastViewedAt *time.Time `json:"lastViewedAt,omitempty"`
	User         *User      `json:"user,omitempty"`
}

View defines model for View.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL