gen

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

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

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCheckinRequest

func NewCheckinRequest(server string, docId string, params *CheckinParams) (*http.Request, error)

NewCheckinRequest constructs an http.Request for the Checkin method

func NewCompleteRequest

func NewCompleteRequest(server string, id string, body CompleteJSONRequestBody) (*http.Request, error)

NewCompleteRequest calls the generic Complete builder with application/json body

func NewCompleteRequestWithBody

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

NewCompleteRequestWithBody constructs an http.Request for the Complete method, with any body, and a specified content type

func NewCopyRequest

func NewCopyRequest(server string, docId string, params *CopyParams, body CopyJSONRequestBody) (*http.Request, error)

NewCopyRequest calls the generic Copy builder with application/json body

func NewCopyRequestWithBody

func NewCopyRequestWithBody(server string, docId string, params *CopyParams, contentType string, body io.Reader) (*http.Request, error)

NewCopyRequestWithBody constructs an http.Request for the Copy method, with any body, and a specified content type

func NewCreateDocumentUnderParentByIdRequest

func NewCreateDocumentUnderParentByIdRequest(server string, docId string, params *CreateDocumentUnderParentByIdParams, body CreateDocumentUnderParentByIdJSONRequestBody) (*http.Request, error)

NewCreateDocumentUnderParentByIdRequest calls the generic CreateDocumentUnderParentById builder with application/json body

func NewCreateDocumentUnderParentByIdRequestWithBody

func NewCreateDocumentUnderParentByIdRequestWithBody(server string, docId string, params *CreateDocumentUnderParentByIdParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateDocumentUnderParentByIdRequestWithBody constructs an http.Request for the CreateDocumentUnderParentById method, with any body, and a specified content type

func NewCreateDocumentUnderParentByPathRequest

func NewCreateDocumentUnderParentByPathRequest(server string, docPath string, params *CreateDocumentUnderParentByPathParams, body CreateDocumentUnderParentByPathJSONRequestBody) (*http.Request, error)

NewCreateDocumentUnderParentByPathRequest calls the generic CreateDocumentUnderParentByPath builder with application/json body

func NewCreateDocumentUnderParentByPathRequestWithBody

func NewCreateDocumentUnderParentByPathRequestWithBody(server string, docPath string, params *CreateDocumentUnderParentByPathParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateDocumentUnderParentByPathRequestWithBody constructs an http.Request for the CreateDocumentUnderParentByPath method, with any body, and a specified content type

func NewCreateUploadRequest

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

NewCreateUploadRequest constructs an http.Request for the CreateUpload method

func NewCreateVocabularyEntryRequest

func NewCreateVocabularyEntryRequest(server string, sysvocabId string, params *CreateVocabularyEntryParams, body CreateVocabularyEntryJSONRequestBody) (*http.Request, error)

NewCreateVocabularyEntryRequest calls the generic CreateVocabularyEntry builder with application/json body

func NewCreateVocabularyEntryRequestWithBody

func NewCreateVocabularyEntryRequestWithBody(server string, sysvocabId string, params *CreateVocabularyEntryParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateVocabularyEntryRequestWithBody constructs an http.Request for the CreateVocabularyEntry method, with any body, and a specified content type

func NewCreateVocabularyRequest

func NewCreateVocabularyRequest(server string, params *CreateVocabularyParams, body CreateVocabularyJSONRequestBody) (*http.Request, error)

NewCreateVocabularyRequest calls the generic CreateVocabulary builder with application/json body

func NewCreateVocabularyRequestWithBody

func NewCreateVocabularyRequestWithBody(server string, params *CreateVocabularyParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateVocabularyRequestWithBody constructs an http.Request for the CreateVocabulary method, with any body, and a specified content type

func NewDeleteDocumentByIdRequest

func NewDeleteDocumentByIdRequest(server string, docId string, params *DeleteDocumentByIdParams) (*http.Request, error)

NewDeleteDocumentByIdRequest constructs an http.Request for the DeleteDocumentById method

func NewDeleteDocumentByPathRequest

func NewDeleteDocumentByPathRequest(server string, docPath string, params *DeleteDocumentByPathParams) (*http.Request, error)

NewDeleteDocumentByPathRequest constructs an http.Request for the DeleteDocumentByPath method

func NewDeleteUploadRequest

func NewDeleteUploadRequest(server string, id string) (*http.Request, error)

NewDeleteUploadRequest constructs an http.Request for the DeleteUpload method

func NewDeleteVocabularyEntryRequest

func NewDeleteVocabularyEntryRequest(server string, sysvocabId string, sysvocabKey string, params *DeleteVocabularyEntryParams) (*http.Request, error)

NewDeleteVocabularyEntryRequest constructs an http.Request for the DeleteVocabularyEntry method

func NewDeleteVocabularyRequest

func NewDeleteVocabularyRequest(server string, sysvocabId string, params *DeleteVocabularyParams) (*http.Request, error)

NewDeleteVocabularyRequest constructs an http.Request for the DeleteVocabulary method

func NewDownloadByIdAndXPathRequest

func NewDownloadByIdAndXPathRequest(server string, docId string, propertyXPathAndFilename string, params *DownloadByIdAndXPathParams) (*http.Request, error)

NewDownloadByIdAndXPathRequest constructs an http.Request for the DownloadByIdAndXPath method

func NewDownloadInfoByIdAndXPathRequest

func NewDownloadInfoByIdAndXPathRequest(server string, docId string, propertyXPathAndFilename string, params *DownloadInfoByIdAndXPathParams) (*http.Request, error)

NewDownloadInfoByIdAndXPathRequest constructs an http.Request for the DownloadInfoByIdAndXPath method

func NewDownloadUrlByIdAndXPathRequest

func NewDownloadUrlByIdAndXPathRequest(server string, docId string, propertyXPathAndFilename string, params *DownloadUrlByIdAndXPathParams) (*http.Request, error)

NewDownloadUrlByIdAndXPathRequest constructs an http.Request for the DownloadUrlByIdAndXPath method

func NewFulleffectiveaclRequest

func NewFulleffectiveaclRequest(server string, docId string, params *FulleffectiveaclParams) (*http.Request, error)

NewFulleffectiveaclRequest constructs an http.Request for the Fulleffectiveacl method

func NewFulleffectivepermissionsRequest

func NewFulleffectivepermissionsRequest(server string, docId string, params *FulleffectivepermissionsParams) (*http.Request, error)

NewFulleffectivepermissionsRequest constructs an http.Request for the Fulleffectivepermissions method

func NewGetDocumentAncestorsRequest

func NewGetDocumentAncestorsRequest(server string, docId string, params *GetDocumentAncestorsParams) (*http.Request, error)

NewGetDocumentAncestorsRequest constructs an http.Request for the GetDocumentAncestors method

func NewGetDocumentByIdRequest

func NewGetDocumentByIdRequest(server string, docId string, params *GetDocumentByIdParams) (*http.Request, error)

NewGetDocumentByIdRequest constructs an http.Request for the GetDocumentById method

func NewGetDocumentByPathRequest

func NewGetDocumentByPathRequest(server string, docPath string, params *GetDocumentByPathParams) (*http.Request, error)

NewGetDocumentByPathRequest constructs an http.Request for the GetDocumentByPath method

func NewGetDocumentsByAdvancedQueryRequest

func NewGetDocumentsByAdvancedQueryRequest(server string, params *GetDocumentsByAdvancedQueryParams, body GetDocumentsByAdvancedQueryJSONRequestBody) (*http.Request, error)

NewGetDocumentsByAdvancedQueryRequest calls the generic GetDocumentsByAdvancedQuery builder with application/json body

func NewGetDocumentsByAdvancedQueryRequestWithBody

func NewGetDocumentsByAdvancedQueryRequestWithBody(server string, params *GetDocumentsByAdvancedQueryParams, contentType string, body io.Reader) (*http.Request, error)

NewGetDocumentsByAdvancedQueryRequestWithBody constructs an http.Request for the GetDocumentsByAdvancedQuery method, with any body, and a specified content type

func NewGetDocumentsByNamedQueryRequest

func NewGetDocumentsByNamedQueryRequest(server string, params *GetDocumentsByNamedQueryParams, body GetDocumentsByNamedQueryJSONRequestBody) (*http.Request, error)

NewGetDocumentsByNamedQueryRequest calls the generic GetDocumentsByNamedQuery builder with application/json body

func NewGetDocumentsByNamedQueryRequestWithBody

func NewGetDocumentsByNamedQueryRequestWithBody(server string, params *GetDocumentsByNamedQueryParams, contentType string, body io.Reader) (*http.Request, error)

NewGetDocumentsByNamedQueryRequestWithBody constructs an http.Request for the GetDocumentsByNamedQuery method, with any body, and a specified content type

func NewGetDocumentsByQueryRequest

func NewGetDocumentsByQueryRequest(server string, params *GetDocumentsByQueryParams, body GetDocumentsByQueryJSONRequestBody) (*http.Request, error)

NewGetDocumentsByQueryRequest calls the generic GetDocumentsByQuery builder with application/json body

func NewGetDocumentsByQueryRequestWithBody

func NewGetDocumentsByQueryRequestWithBody(server string, params *GetDocumentsByQueryParams, contentType string, body io.Reader) (*http.Request, error)

NewGetDocumentsByQueryRequestWithBody constructs an http.Request for the GetDocumentsByQuery method, with any body, and a specified content type

func NewGetEmbeddingRequest

func NewGetEmbeddingRequest(server string, docId string, embeddingId string, params *GetEmbeddingParams) (*http.Request, error)

NewGetEmbeddingRequest constructs an http.Request for the GetEmbedding method

func NewGetEmbeddingsByQueryRequest

func NewGetEmbeddingsByQueryRequest(server string, body GetEmbeddingsByQueryJSONRequestBody) (*http.Request, error)

NewGetEmbeddingsByQueryRequest calls the generic GetEmbeddingsByQuery builder with application/json body

func NewGetEmbeddingsByQueryRequestWithBody

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

NewGetEmbeddingsByQueryRequestWithBody constructs an http.Request for the GetEmbeddingsByQuery method, with any body, and a specified content type

func NewGetExternalUserRelationsRequest

func NewGetExternalUserRelationsRequest(server string, policyName string, params *GetExternalUserRelationsParams) (*http.Request, error)

NewGetExternalUserRelationsRequest constructs an http.Request for the GetExternalUserRelations method

func NewGetExternalUserRelationsStatusRequest

func NewGetExternalUserRelationsStatusRequest(server string, policyName string, params *GetExternalUserRelationsStatusParams) (*http.Request, error)

NewGetExternalUserRelationsStatusRequest constructs an http.Request for the GetExternalUserRelationsStatus method

func NewGetGroupByIdRequest

func NewGetGroupByIdRequest(server string, groupId string) (*http.Request, error)

NewGetGroupByIdRequest constructs an http.Request for the GetGroupById method

func NewGetModelItemsForProjectRequest

func NewGetModelItemsForProjectRequest(server string, projectId string, params *GetModelItemsForProjectParams) (*http.Request, error)

NewGetModelItemsForProjectRequest constructs an http.Request for the GetModelItemsForProject method

func NewGetModelItemsForProjectV2Request

func NewGetModelItemsForProjectV2Request(server string, projectId string, params *GetModelItemsForProjectV2Params) (*http.Request, error)

NewGetModelItemsForProjectV2Request constructs an http.Request for the GetModelItemsForProjectV2 method

func NewGetModelRequest

func NewGetModelRequest(server string, params *GetModelParams) (*http.Request, error)

NewGetModelRequest constructs an http.Request for the GetModel method

func NewGetModelV2Request

func NewGetModelV2Request(server string, params *GetModelV2Params) (*http.Request, error)

NewGetModelV2Request constructs an http.Request for the GetModelV2 method

func NewGetNamedQueriesRequest

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

NewGetNamedQueriesRequest constructs an http.Request for the GetNamedQueries method

func NewGetNamedQueryRequest

func NewGetNamedQueryRequest(server string, namedQuery string) (*http.Request, error)

NewGetNamedQueryRequest constructs an http.Request for the GetNamedQuery method

func NewGetSecurityPoliciesRequest

func NewGetSecurityPoliciesRequest(server string, params *GetSecurityPoliciesParams) (*http.Request, error)

NewGetSecurityPoliciesRequest constructs an http.Request for the GetSecurityPolicies method

func NewGetSecurityPoliciesV2Request

func NewGetSecurityPoliciesV2Request(server string, params *GetSecurityPoliciesV2Params) (*http.Request, error)

NewGetSecurityPoliciesV2Request constructs an http.Request for the GetSecurityPoliciesV2 method

func NewGetUploadInfoRequest

func NewGetUploadInfoRequest(server string, id string) (*http.Request, error)

NewGetUploadInfoRequest constructs an http.Request for the GetUploadInfo method

func NewGetUserByIdRequest

func NewGetUserByIdRequest(server string, userId string) (*http.Request, error)

NewGetUserByIdRequest constructs an http.Request for the GetUserById method

func NewGetVocabularyEntriesRequest

func NewGetVocabularyEntriesRequest(server string, sysvocabId string, params *GetVocabularyEntriesParams) (*http.Request, error)

NewGetVocabularyEntriesRequest constructs an http.Request for the GetVocabularyEntries method

func NewGetVocabularyEntryRequest

func NewGetVocabularyEntryRequest(server string, sysvocabId string, sysvocabKey string, params *GetVocabularyEntryParams) (*http.Request, error)

NewGetVocabularyEntryRequest constructs an http.Request for the GetVocabularyEntry method

func NewGetVocabularyListRequest

func NewGetVocabularyListRequest(server string, params *GetVocabularyListParams) (*http.Request, error)

NewGetVocabularyListRequest constructs an http.Request for the GetVocabularyList method

func NewHelloRequest

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

NewHelloRequest constructs an http.Request for the Hello method

func NewHelloUserRequest

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

NewHelloUserRequest constructs an http.Request for the HelloUser method

func NewMoveRequest

func NewMoveRequest(server string, docId string, params *MoveParams, body MoveJSONRequestBody) (*http.Request, error)

NewMoveRequest calls the generic Move builder with application/json body

func NewMoveRequestWithBody

func NewMoveRequestWithBody(server string, docId string, params *MoveParams, contentType string, body io.Reader) (*http.Request, error)

NewMoveRequestWithBody constructs an http.Request for the Move method, with any body, and a specified content type

func NewPatchDocumentByIdRequestWithApplicationJSONPatchPlusJSONBody

func NewPatchDocumentByIdRequestWithApplicationJSONPatchPlusJSONBody(server string, docId string, params *PatchDocumentByIdParams, body PatchDocumentByIdApplicationJSONPatchPlusJSONRequestBody) (*http.Request, error)

NewPatchDocumentByIdRequestWithApplicationJSONPatchPlusJSONBody calls the generic PatchDocumentById builder with application/json-patch+json body

func NewPatchDocumentByIdRequestWithBody

func NewPatchDocumentByIdRequestWithBody(server string, docId string, params *PatchDocumentByIdParams, contentType string, body io.Reader) (*http.Request, error)

NewPatchDocumentByIdRequestWithBody constructs an http.Request for the PatchDocumentById method, with any body, and a specified content type

func NewPatchDocumentByPathRequestWithApplicationJSONPatchPlusJSONBody

func NewPatchDocumentByPathRequestWithApplicationJSONPatchPlusJSONBody(server string, docPath string, params *PatchDocumentByPathParams, body PatchDocumentByPathApplicationJSONPatchPlusJSONRequestBody) (*http.Request, error)

NewPatchDocumentByPathRequestWithApplicationJSONPatchPlusJSONBody calls the generic PatchDocumentByPath builder with application/json-patch+json body

func NewPatchDocumentByPathRequestWithBody

func NewPatchDocumentByPathRequestWithBody(server string, docPath string, params *PatchDocumentByPathParams, contentType string, body io.Reader) (*http.Request, error)

NewPatchDocumentByPathRequestWithBody constructs an http.Request for the PatchDocumentByPath method, with any body, and a specified content type

func NewPatchModelRequestWithApplicationJSONPatchPlusJSONBody

func NewPatchModelRequestWithApplicationJSONPatchPlusJSONBody(server string, params *PatchModelParams, body PatchModelApplicationJSONPatchPlusJSONRequestBody) (*http.Request, error)

NewPatchModelRequestWithApplicationJSONPatchPlusJSONBody calls the generic PatchModel builder with application/json-patch+json body

func NewPatchModelRequestWithBody

func NewPatchModelRequestWithBody(server string, params *PatchModelParams, contentType string, body io.Reader) (*http.Request, error)

NewPatchModelRequestWithBody constructs an http.Request for the PatchModel method, with any body, and a specified content type

func NewPatchSecurityPoliciesRequestWithApplicationJSONPatchPlusJSONBody

func NewPatchSecurityPoliciesRequestWithApplicationJSONPatchPlusJSONBody(server string, params *PatchSecurityPoliciesParams, body PatchSecurityPoliciesApplicationJSONPatchPlusJSONRequestBody) (*http.Request, error)

NewPatchSecurityPoliciesRequestWithApplicationJSONPatchPlusJSONBody calls the generic PatchSecurityPolicies builder with application/json-patch+json body

func NewPatchSecurityPoliciesRequestWithBody

func NewPatchSecurityPoliciesRequestWithBody(server string, params *PatchSecurityPoliciesParams, contentType string, body io.Reader) (*http.Request, error)

NewPatchSecurityPoliciesRequestWithBody constructs an http.Request for the PatchSecurityPolicies method, with any body, and a specified content type

func NewQueryTermsAggregationRequest

func NewQueryTermsAggregationRequest(server string, body QueryTermsAggregationJSONRequestBody) (*http.Request, error)

NewQueryTermsAggregationRequest calls the generic QueryTermsAggregation builder with application/json body

func NewQueryTermsAggregationRequestWithBody

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

NewQueryTermsAggregationRequestWithBody constructs an http.Request for the QueryTermsAggregation method, with any body, and a specified content type

func NewRenewCredentialsRequest

func NewRenewCredentialsRequest(server string, id string) (*http.Request, error)

NewRenewCredentialsRequest constructs an http.Request for the RenewCredentials method

func NewRestoreVersionRequest

func NewRestoreVersionRequest(server string, versionId string, params *RestoreVersionParams) (*http.Request, error)

NewRestoreVersionRequest constructs an http.Request for the RestoreVersion method

func NewSearchGroupsRequest

func NewSearchGroupsRequest(server string, params *SearchGroupsParams) (*http.Request, error)

NewSearchGroupsRequest constructs an http.Request for the SearchGroups method

func NewSearchUsersByNameRequest

func NewSearchUsersByNameRequest(server string, params *SearchUsersByNameParams) (*http.Request, error)

NewSearchUsersByNameRequest constructs an http.Request for the SearchUsersByName method

func NewSetExternalUserRelationsRequest

func NewSetExternalUserRelationsRequest(server string, policyName string, params *SetExternalUserRelationsParams, body SetExternalUserRelationsJSONRequestBody) (*http.Request, error)

NewSetExternalUserRelationsRequest calls the generic SetExternalUserRelations builder with application/json body

func NewSetExternalUserRelationsRequestWithBody

func NewSetExternalUserRelationsRequestWithBody(server string, policyName string, params *SetExternalUserRelationsParams, contentType string, body io.Reader) (*http.Request, error)

NewSetExternalUserRelationsRequestWithBody constructs an http.Request for the SetExternalUserRelations method, with any body, and a specified content type

func NewSetModelItemsForProjectRequest

func NewSetModelItemsForProjectRequest(server string, projectId string, params *SetModelItemsForProjectParams, body SetModelItemsForProjectJSONRequestBody) (*http.Request, error)

NewSetModelItemsForProjectRequest calls the generic SetModelItemsForProject builder with application/json body

func NewSetModelItemsForProjectRequestWithBody

func NewSetModelItemsForProjectRequestWithBody(server string, projectId string, params *SetModelItemsForProjectParams, contentType string, body io.Reader) (*http.Request, error)

NewSetModelItemsForProjectRequestWithBody constructs an http.Request for the SetModelItemsForProject method, with any body, and a specified content type

func NewSetModelItemsForProjectV2Request

func NewSetModelItemsForProjectV2Request(server string, projectId string, params *SetModelItemsForProjectV2Params, body SetModelItemsForProjectV2JSONRequestBody) (*http.Request, error)

NewSetModelItemsForProjectV2Request calls the generic SetModelItemsForProjectV2 builder with application/json body

func NewSetModelItemsForProjectV2RequestWithBody

func NewSetModelItemsForProjectV2RequestWithBody(server string, projectId string, params *SetModelItemsForProjectV2Params, contentType string, body io.Reader) (*http.Request, error)

NewSetModelItemsForProjectV2RequestWithBody constructs an http.Request for the SetModelItemsForProjectV2 method, with any body, and a specified content type

func NewSetModelRequest

func NewSetModelRequest(server string, params *SetModelParams, body SetModelJSONRequestBody) (*http.Request, error)

NewSetModelRequest calls the generic SetModel builder with application/json body

func NewSetModelRequestWithBody

func NewSetModelRequestWithBody(server string, params *SetModelParams, contentType string, body io.Reader) (*http.Request, error)

NewSetModelRequestWithBody constructs an http.Request for the SetModel method, with any body, and a specified content type

func NewSetModelV2Request

func NewSetModelV2Request(server string, params *SetModelV2Params, body SetModelV2JSONRequestBody) (*http.Request, error)

NewSetModelV2Request calls the generic SetModelV2 builder with application/json body

func NewSetModelV2RequestWithBody

func NewSetModelV2RequestWithBody(server string, params *SetModelV2Params, contentType string, body io.Reader) (*http.Request, error)

NewSetModelV2RequestWithBody constructs an http.Request for the SetModelV2 method, with any body, and a specified content type

func NewSetSecurityPoliciesForProjectRequest

func NewSetSecurityPoliciesForProjectRequest(server string, projectId string, params *SetSecurityPoliciesForProjectParams, body SetSecurityPoliciesForProjectJSONRequestBody) (*http.Request, error)

NewSetSecurityPoliciesForProjectRequest calls the generic SetSecurityPoliciesForProject builder with application/json body

func NewSetSecurityPoliciesForProjectRequestWithBody

func NewSetSecurityPoliciesForProjectRequestWithBody(server string, projectId string, params *SetSecurityPoliciesForProjectParams, contentType string, body io.Reader) (*http.Request, error)

NewSetSecurityPoliciesForProjectRequestWithBody constructs an http.Request for the SetSecurityPoliciesForProject method, with any body, and a specified content type

func NewSetSecurityPoliciesForProjectV2Request

func NewSetSecurityPoliciesForProjectV2Request(server string, projectId string, params *SetSecurityPoliciesForProjectV2Params, body SetSecurityPoliciesForProjectV2JSONRequestBody) (*http.Request, error)

NewSetSecurityPoliciesForProjectV2Request calls the generic SetSecurityPoliciesForProjectV2 builder with application/json body

func NewSetSecurityPoliciesForProjectV2RequestWithBody

func NewSetSecurityPoliciesForProjectV2RequestWithBody(server string, projectId string, params *SetSecurityPoliciesForProjectV2Params, contentType string, body io.Reader) (*http.Request, error)

NewSetSecurityPoliciesForProjectV2RequestWithBody constructs an http.Request for the SetSecurityPoliciesForProjectV2 method, with any body, and a specified content type

func NewSetSecurityPoliciesRequest

func NewSetSecurityPoliciesRequest(server string, params *SetSecurityPoliciesParams, body SetSecurityPoliciesJSONRequestBody) (*http.Request, error)

NewSetSecurityPoliciesRequest calls the generic SetSecurityPolicies builder with application/json body

func NewSetSecurityPoliciesRequestWithBody

func NewSetSecurityPoliciesRequestWithBody(server string, params *SetSecurityPoliciesParams, contentType string, body io.Reader) (*http.Request, error)

NewSetSecurityPoliciesRequestWithBody constructs an http.Request for the SetSecurityPolicies method, with any body, and a specified content type

func NewSetSecurityPoliciesV2Request

func NewSetSecurityPoliciesV2Request(server string, params *SetSecurityPoliciesV2Params, body SetSecurityPoliciesV2JSONRequestBody) (*http.Request, error)

NewSetSecurityPoliciesV2Request calls the generic SetSecurityPoliciesV2 builder with application/json body

func NewSetSecurityPoliciesV2RequestWithBody

func NewSetSecurityPoliciesV2RequestWithBody(server string, params *SetSecurityPoliciesV2Params, contentType string, body io.Reader) (*http.Request, error)

NewSetSecurityPoliciesV2RequestWithBody constructs an http.Request for the SetSecurityPoliciesV2 method, with any body, and a specified content type

func NewUpdateDocumentByIdRequest

func NewUpdateDocumentByIdRequest(server string, docId string, params *UpdateDocumentByIdParams, body UpdateDocumentByIdJSONRequestBody) (*http.Request, error)

NewUpdateDocumentByIdRequest calls the generic UpdateDocumentById builder with application/json body

func NewUpdateDocumentByIdRequestWithBody

func NewUpdateDocumentByIdRequestWithBody(server string, docId string, params *UpdateDocumentByIdParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateDocumentByIdRequestWithBody constructs an http.Request for the UpdateDocumentById method, with any body, and a specified content type

func NewUpdateDocumentByPathRequest

func NewUpdateDocumentByPathRequest(server string, docPath string, params *UpdateDocumentByPathParams, body UpdateDocumentByPathJSONRequestBody) (*http.Request, error)

NewUpdateDocumentByPathRequest calls the generic UpdateDocumentByPath builder with application/json body

func NewUpdateDocumentByPathRequestWithBody

func NewUpdateDocumentByPathRequestWithBody(server string, docPath string, params *UpdateDocumentByPathParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateDocumentByPathRequestWithBody constructs an http.Request for the UpdateDocumentByPath method, with any body, and a specified content type

func NewUpdateVocabularyEntryRequest

func NewUpdateVocabularyEntryRequest(server string, sysvocabId string, params *UpdateVocabularyEntryParams, body UpdateVocabularyEntryJSONRequestBody) (*http.Request, error)

NewUpdateVocabularyEntryRequest calls the generic UpdateVocabularyEntry builder with application/json body

func NewUpdateVocabularyEntryRequestWithBody

func NewUpdateVocabularyEntryRequestWithBody(server string, sysvocabId string, params *UpdateVocabularyEntryParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateVocabularyEntryRequestWithBody constructs an http.Request for the UpdateVocabularyEntry method, with any body, and a specified content type

func NewUploadRequestWithBody

func NewUploadRequestWithBody(server string, params *UploadParams, contentType string, body io.Reader) (*http.Request, error)

NewUploadRequestWithBody constructs an http.Request for the Upload method, with any body, and a specified content type

func NewWaitForFullTextSearchIndexingRequest

func NewWaitForFullTextSearchIndexingRequest(server string, params *WaitForFullTextSearchIndexingParams) (*http.Request, error)

NewWaitForFullTextSearchIndexingRequest constructs an http.Request for the WaitForFullTextSearchIndexing method

Types

type ACE

type ACE struct {
	// Begin The date and time when the ACE rule starts being applied.
	Begin *time.Time `json:"begin,omitempty"`

	// Creator Name of the user who created the ACE.
	Creator *string `json:"creator,omitempty"`

	// End The date and time when the ACE rule stops being applied.
	End *time.Time `json:"end,omitempty"`

	// Granted True/false indicator of whether the specified permission has been granted to the ACE members.
	Granted *bool `json:"granted,omitempty"`

	// Group Represents a group.
	Group *Group `json:"group,omitempty"`

	// Permission The permission assigned to members of the ACE.
	Permission *string `json:"permission,omitempty"`

	// Status The current status of the application of the ACE rule.
	Status *Status `json:"status,omitempty"`

	// User Represents a user.
	User *User `json:"user,omitempty"`
}

ACE REST representation of ACEs.

type AdvancedQuery

type AdvancedQuery struct {
	// Limit Max number of documents retrieved by the given query.
	//
	// Example: 100
	Limit *int64 `json:"limit,omitempty"`

	// Offset The initial document offset; for pagination support.
	//
	// Example: 0
	Offset     *int64                             `json:"offset,omitempty"`
	Parameters *map[string]map[string]interface{} `json:"parameters,omitempty"`

	// Query The query, in the syntax given by the syntax field.
	//
	// Example: SELECT * FROM SysContent
	Query *string `json:"query,omitempty"`

	// QuickFilterClauses List of filters to be applied to the result.
	//
	// Example: exclude documents that are not article: mydc_nature != 'article'
	QuickFilterClauses *[]string `json:"quickFilterClauses,omitempty"`

	// RepositoryId The id of the internal repository
	RepositoryId *string `json:"repositoryId,omitempty"`

	// SearchAfter Opaque cursor token for efficient pagination. Use the nextSearchAfter value from a previous response. When provided, offset is ignored.
	SearchAfter *string `json:"searchAfter,omitempty"`

	// Sort List of fields used to sort the result.
	//
	// Example: ["sys_title"]
	Sort *[]string `json:"sort,omitempty"`

	// Syntax The syntax the query is expressed in; absent for the default hxql syntax.
	Syntax *QuerySyntax `json:"syntax,omitempty"`

	// TrackTotalCount If true, the total count of documents retrieved by the query will be computed.
	TrackTotalCount *bool `json:"trackTotalCount,omitempty"`

	// TrackTotalCountUpTo Max number of documents to count. This can be set to -1 to remove the limit but it will be expensive on large indexes.
	//
	// Example: 100
	TrackTotalCountUpTo *int32 `json:"trackTotalCountUpTo,omitempty"`

	// WhereClauseDefinition Represents an advanced query where clause definition.
	WhereClauseDefinition *WhereClause `json:"whereClauseDefinition,omitempty"`
}

AdvancedQuery Represents an advanced query.

type CheckinParams

type CheckinParams struct {
	// Minor Whether the Check In should create a minor version. If false, a major version will be created instead.
	Minor *bool `form:"minor,omitempty" json:"minor,omitempty"`

	// UserChange User change: when true (the default), the update is flagged as a user change and increments the document's sys_ugen. Pass false for technical updates that should not be seen as user changes.
	UserChange *bool `form:"userChange,omitempty" json:"userChange,omitempty"`

	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

CheckinParams defines parameters for Checkin.

type CheckinResponse

type CheckinResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Document
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *Document
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *Document
}

func ParseCheckinResponse

func ParseCheckinResponse(rsp *http.Response) (*CheckinResponse, error)

ParseCheckinResponse parses an HTTP response from a CheckinWithResponse call

func (CheckinResponse) ContentType

func (r CheckinResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CheckinResponse) GetApplicationvndHxcsJSON200

func (r CheckinResponse) GetApplicationvndHxcsJSON200() *Document

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (CheckinResponse) GetApplicationvndHxcsV1JSON200

func (r CheckinResponse) GetApplicationvndHxcsV1JSON200() *Document

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (CheckinResponse) GetBody

func (r CheckinResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CheckinResponse) GetJSON200

func (r CheckinResponse) GetJSON200() *Document

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CheckinResponse) Status

func (r CheckinResponse) Status() string

Status returns HTTPResponse.Status

func (CheckinResponse) StatusCode

func (r CheckinResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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

func (c *Client) Checkin(ctx context.Context, docId string, params *CheckinParams, reqEditors ...RequestEditorFn) (*http.Response, error)

Checkin Checks in the document, creating a version.

Corresponds with POST /api/documents/{docId}/checkin (the `Checkin` operationId).

func (*Client) Complete

func (c *Client) Complete(ctx context.Context, id string, body CompleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

Complete Completes the upload with the given id.

Completion is mainly useful for s3 direct upload, where the upload has been created thanks to this API, but download has been done directly on the target s3 bucket.

Takes a body of the `application/json` content type.

Corresponds with POST /api/upload/{id}/complete (the `Complete` operationId).

func (*Client) CompleteWithBody

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

CompleteWithBody Completes the upload with the given id.

Completion is mainly useful for s3 direct upload, where the upload has been created thanks to this API, but download has been done directly on the target s3 bucket.

Takes any type of body and a specified content type.

Corresponds with POST /api/upload/{id}/complete (the `Complete` operationId).

func (*Client) Copy

func (c *Client) Copy(ctx context.Context, docId string, params *CopyParams, body CopyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

Copy Copies the source document inside the destination folder

Copy a given document id to a given destination folder. Requires request body with target name and targetParentId

Takes a body of the `application/json` content type.

Corresponds with POST /api/documents/{docId}/copy (the `Copy` operationId).

func (*Client) CopyWithBody

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

CopyWithBody Copies the source document inside the destination folder

Copy a given document id to a given destination folder. Requires request body with target name and targetParentId

Takes any type of body and a specified content type.

Corresponds with POST /api/documents/{docId}/copy (the `Copy` operationId).

func (*Client) CreateDocumentUnderParentById

func (c *Client) CreateDocumentUnderParentById(ctx context.Context, docId string, params *CreateDocumentUnderParentByIdParams, body CreateDocumentUnderParentByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateDocumentUnderParentById Creates a document under parent with given id.

Takes a body of the `application/json` content type.

Corresponds with POST /api/documents/{docId} (the `CreateDocumentUnderParentById` operationId).

func (*Client) CreateDocumentUnderParentByIdWithBody

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

CreateDocumentUnderParentByIdWithBody Creates a document under parent with given id.

Takes any type of body and a specified content type.

Corresponds with POST /api/documents/{docId} (the `CreateDocumentUnderParentById` operationId).

func (*Client) CreateDocumentUnderParentByPath

func (c *Client) CreateDocumentUnderParentByPath(ctx context.Context, docPath string, params *CreateDocumentUnderParentByPathParams, body CreateDocumentUnderParentByPathJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateDocumentUnderParentByPath Creates a document under parent with given path.

Takes a body of the `application/json` content type.

Corresponds with POST /api/documents/path/{docPath} (the `CreateDocumentUnderParentByPath` operationId).

func (*Client) CreateDocumentUnderParentByPathWithBody

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

CreateDocumentUnderParentByPathWithBody Creates a document under parent with given path.

Takes any type of body and a specified content type.

Corresponds with POST /api/documents/path/{docPath} (the `CreateDocumentUnderParentByPath` operationId).

func (*Client) CreateUpload

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

CreateUpload Creates a new upload and return its generated identifier and properties.

Corresponds with POST /api/upload/create (the `CreateUpload` operationId).

func (*Client) CreateVocabulary

func (c *Client) CreateVocabulary(ctx context.Context, params *CreateVocabularyParams, body CreateVocabularyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateVocabulary Creates a vocabulary

Takes a body of the `application/json` content type.

Corresponds with POST /api/vocabularies (the `CreateVocabulary` operationId).

func (*Client) CreateVocabularyEntry

func (c *Client) CreateVocabularyEntry(ctx context.Context, sysvocabId string, params *CreateVocabularyEntryParams, body CreateVocabularyEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateVocabularyEntry Creates an entry for vocabulary

Takes a body of the `application/json` content type.

Corresponds with POST /api/vocabularies/{sysvocab_id} (the `CreateVocabularyEntry` operationId).

func (*Client) CreateVocabularyEntryWithBody

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

CreateVocabularyEntryWithBody Creates an entry for vocabulary

Takes any type of body and a specified content type.

Corresponds with POST /api/vocabularies/{sysvocab_id} (the `CreateVocabularyEntry` operationId).

func (*Client) CreateVocabularyWithBody

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

CreateVocabularyWithBody Creates a vocabulary

Takes any type of body and a specified content type.

Corresponds with POST /api/vocabularies (the `CreateVocabulary` operationId).

func (*Client) DeleteDocumentById

func (c *Client) DeleteDocumentById(ctx context.Context, docId string, params *DeleteDocumentByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteDocumentById Deletes the document with given id.

Corresponds with DELETE /api/documents/{docId} (the `DeleteDocumentById` operationId).

func (*Client) DeleteDocumentByPath

func (c *Client) DeleteDocumentByPath(ctx context.Context, docPath string, params *DeleteDocumentByPathParams, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteDocumentByPath Deletes the document with given path.

Corresponds with DELETE /api/documents/path/{docPath} (the `DeleteDocumentByPath` operationId).

func (*Client) DeleteUpload

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

DeleteUpload Cancels the upload with the given id.

Corresponds with DELETE /api/upload/{id} (the `DeleteUpload` operationId).

func (*Client) DeleteVocabulary

func (c *Client) DeleteVocabulary(ctx context.Context, sysvocabId string, params *DeleteVocabularyParams, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteVocabulary Deletes vocabulary along with its entries

Corresponds with DELETE /api/vocabularies/{sysvocab_id} (the `DeleteVocabulary` operationId).

func (*Client) DeleteVocabularyEntry

func (c *Client) DeleteVocabularyEntry(ctx context.Context, sysvocabId string, sysvocabKey string, params *DeleteVocabularyEntryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteVocabularyEntry Deletes entry of a vocabulary

Corresponds with DELETE /api/vocabularies/{sysvocab_id}/{sysvocab_key} (the `DeleteVocabularyEntry` operationId).

func (*Client) DownloadByIdAndXPath

func (c *Client) DownloadByIdAndXPath(ctx context.Context, docId string, propertyXPathAndFilename string, params *DownloadByIdAndXPathParams, reqEditors ...RequestEditorFn) (*http.Response, error)

DownloadByIdAndXPath Returns the document blob.

Corresponds with GET /api/download/{docId}/{propertyXPathAndFilename} (the `DownloadByIdAndXPath` operationId).

func (*Client) DownloadInfoByIdAndXPath

func (c *Client) DownloadInfoByIdAndXPath(ctx context.Context, docId string, propertyXPathAndFilename string, params *DownloadInfoByIdAndXPathParams, reqEditors ...RequestEditorFn) (*http.Response, error)

DownloadInfoByIdAndXPath Returns the document blob information.

Corresponds with HEAD /api/download/{docId}/{propertyXPathAndFilename} (the `DownloadInfoByIdAndXPath` operationId).

func (*Client) DownloadUrlByIdAndXPath

func (c *Client) DownloadUrlByIdAndXPath(ctx context.Context, docId string, propertyXPathAndFilename string, params *DownloadUrlByIdAndXPathParams, reqEditors ...RequestEditorFn) (*http.Response, error)

DownloadUrlByIdAndXPath Returns the the pre-signed S3 Url for a downloadable object.

Corresponds with GET /api/download/url/{docId}/{propertyXPathAndFilename} (the `DownloadUrlByIdAndXPath` operationId).

func (*Client) Fulleffectiveacl

func (c *Client) Fulleffectiveacl(ctx context.Context, docId string, params *FulleffectiveaclParams, reqEditors ...RequestEditorFn) (*http.Response, error)

Fulleffectiveacl Fetch the full list of effective ACL on the document.

Fetch the full list of effective ACL on the document for the given list of users.

Corresponds with GET /api/documents/{docId}/fulleffectiveacl (the `Fulleffectiveacl` operationId).

func (*Client) Fulleffectivepermissions

func (c *Client) Fulleffectivepermissions(ctx context.Context, docId string, params *FulleffectivepermissionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

Fulleffectivepermissions Fetch the full list of effective permissions on the document.

Fetch the full list of effective permissions on the document for the given list of users.

Corresponds with GET /api/documents/{docId}/fulleffectivepermissions (the `Fulleffectivepermissions` operationId).

func (*Client) GetDocumentAncestors

func (c *Client) GetDocumentAncestors(ctx context.Context, docId string, params *GetDocumentAncestorsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetDocumentAncestors Returns the document's ancestors.

Corresponds with GET /api/documents/{docId}/ancestors (the `GetDocumentAncestors` operationId).

func (*Client) GetDocumentById

func (c *Client) GetDocumentById(ctx context.Context, docId string, params *GetDocumentByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetDocumentById Returns the document with given id.

Corresponds with GET /api/documents/{docId} (the `GetDocumentById` operationId).

func (*Client) GetDocumentByPath

func (c *Client) GetDocumentByPath(ctx context.Context, docPath string, params *GetDocumentByPathParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetDocumentByPath Returns the document with given path.

Corresponds with GET /api/documents/path/{docPath} (the `GetDocumentByPath` operationId).

func (*Client) GetDocumentsByAdvancedQuery

func (c *Client) GetDocumentsByAdvancedQuery(ctx context.Context, params *GetDocumentsByAdvancedQueryParams, body GetDocumentsByAdvancedQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

GetDocumentsByAdvancedQuery Returns the advanced search results.

Takes a body of the `application/json` content type.

Corresponds with POST /api/query/advanced (the `GetDocumentsByAdvancedQuery` operationId).

func (*Client) GetDocumentsByAdvancedQueryWithBody

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

GetDocumentsByAdvancedQueryWithBody Returns the advanced search results.

Takes any type of body and a specified content type.

Corresponds with POST /api/query/advanced (the `GetDocumentsByAdvancedQuery` operationId).

func (*Client) GetDocumentsByNamedQuery

func (c *Client) GetDocumentsByNamedQuery(ctx context.Context, params *GetDocumentsByNamedQueryParams, body GetDocumentsByNamedQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

GetDocumentsByNamedQuery Returns the search results for given named query.

Takes a body of the `application/json` content type.

Corresponds with POST /api/query/named (the `GetDocumentsByNamedQuery` operationId).

func (*Client) GetDocumentsByNamedQueryWithBody

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

GetDocumentsByNamedQueryWithBody Returns the search results for given named query.

Takes any type of body and a specified content type.

Corresponds with POST /api/query/named (the `GetDocumentsByNamedQuery` operationId).

func (*Client) GetDocumentsByQuery

func (c *Client) GetDocumentsByQuery(ctx context.Context, params *GetDocumentsByQueryParams, body GetDocumentsByQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

GetDocumentsByQuery Returns the search results.

Takes a body of the `application/json` content type.

Corresponds with POST /api/query (the `GetDocumentsByQuery` operationId).

func (*Client) GetDocumentsByQueryWithBody

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

GetDocumentsByQueryWithBody Returns the search results.

Takes any type of body and a specified content type.

Corresponds with POST /api/query (the `GetDocumentsByQuery` operationId).

func (*Client) GetEmbedding

func (c *Client) GetEmbedding(ctx context.Context, docId string, embeddingId string, params *GetEmbeddingParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetEmbedding Get an embedding by id.

Corresponds with GET /api/documents/{docId}/embedding/{embeddingId} (the `GetEmbedding` operationId).

func (*Client) GetEmbeddingsByQuery

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

GetEmbeddingsByQuery Vector search.

Takes a body of the `application/json` content type.

Corresponds with POST /api/query/embeddings (the `GetEmbeddingsByQuery` operationId).

func (*Client) GetEmbeddingsByQueryWithBody

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

GetEmbeddingsByQueryWithBody Vector search.

Takes any type of body and a specified content type.

Corresponds with POST /api/query/embeddings (the `GetEmbeddingsByQuery` operationId).

func (*Client) GetExternalUserRelations

func (c *Client) GetExternalUserRelations(ctx context.Context, policyName string, params *GetExternalUserRelationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetExternalUserRelations Returns the external user relations for a policy.

Corresponds with GET /api/repository/security/policies/{policyName}/externaluserrelations (the `GetExternalUserRelations` operationId).

func (*Client) GetExternalUserRelationsStatus

func (c *Client) GetExternalUserRelationsStatus(ctx context.Context, policyName string, params *GetExternalUserRelationsStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetExternalUserRelationsStatus Returns the status of the external user relations for a policy.

Corresponds with GET /api/repository/security/policies/{policyName}/externaluserrelations/status (the `GetExternalUserRelationsStatus` operationId).

func (*Client) GetGroupById

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

GetGroupById Returns the group with given id.

Corresponds with GET /api/group/{groupId} (the `GetGroupById` operationId).

func (*Client) GetModel

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

GetModel Returns the model for the repository.

Corresponds with GET /api/repository/model (the `GetModel` operationId).

func (*Client) GetModelItemsForProject

func (c *Client) GetModelItemsForProject(ctx context.Context, projectId string, params *GetModelItemsForProjectParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetModelItemsForProject Returns the model specific to a project for the repository.

Corresponds with GET /api/repository/model/project/{projectId} (the `GetModelItemsForProject` operationId).

func (*Client) GetModelItemsForProjectV2

func (c *Client) GetModelItemsForProjectV2(ctx context.Context, projectId string, params *GetModelItemsForProjectV2Params, reqEditors ...RequestEditorFn) (*http.Response, error)

GetModelItemsForProjectV2 Returns the model specific to a project for the repository.

Corresponds with GET /api/v2/repository/model/project/{projectId} (the `GetModelItemsForProjectV2` operationId).

func (*Client) GetModelV2

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

GetModelV2 Returns the model and its version for the repository.

Corresponds with GET /api/v2/repository/model (the `GetModelV2` operationId).

func (*Client) GetNamedQueries

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

GetNamedQueries Returns the named query definition names.

Corresponds with GET /api/query/named (the `GetNamedQueries` operationId).

func (*Client) GetNamedQuery

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

GetNamedQuery Returns the named query definition.

Corresponds with GET /api/query/named/{namedQuery} (the `GetNamedQuery` operationId).

func (*Client) GetSecurityPolicies

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

GetSecurityPolicies Returns the security policies for the repository.

Corresponds with GET /api/repository/security/policies (the `GetSecurityPolicies` operationId).

func (*Client) GetSecurityPoliciesV2

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

GetSecurityPoliciesV2 Returns the security policies and their version for the repository.

Corresponds with GET /api/v2/repository/security/policies (the `GetSecurityPoliciesV2` operationId).

func (*Client) GetUploadInfo

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

GetUploadInfo Returns the upload information for given id.

Corresponds with GET /api/upload/{id} (the `GetUploadInfo` operationId).

func (*Client) GetUserById

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

GetUserById Returns the user with given id.

Corresponds with GET /api/user/{userId} (the `GetUserById` operationId).

func (*Client) GetVocabularyEntries

func (c *Client) GetVocabularyEntries(ctx context.Context, sysvocabId string, params *GetVocabularyEntriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetVocabularyEntries Returns a list of all vocabulary entries

Corresponds with GET /api/vocabularies/{sysvocab_id} (the `GetVocabularyEntries` operationId).

func (*Client) GetVocabularyEntry

func (c *Client) GetVocabularyEntry(ctx context.Context, sysvocabId string, sysvocabKey string, params *GetVocabularyEntryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetVocabularyEntry Returns particular vocabulary entry

Corresponds with GET /api/vocabularies/{sysvocab_id}/{sysvocab_key} (the `GetVocabularyEntry` operationId).

func (*Client) GetVocabularyList

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

GetVocabularyList Returns a list of all vocabularies

Corresponds with GET /api/vocabularies (the `GetVocabularyList` operationId).

func (*Client) Hello

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

Hello performs a GET /hello (the `Hello` operationId) request.

func (*Client) HelloUser

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

HelloUser performs a GET /hello/protected (the `HelloUser` operationId) request.

func (*Client) Move

func (c *Client) Move(ctx context.Context, docId string, params *MoveParams, body MoveJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

Move Moves the source document to the provided destination

Move a given document to a given destination. Requires a request body with targetParentId.

Takes a body of the `application/json` content type.

Corresponds with POST /api/documents/{docId}/move (the `Move` operationId).

func (*Client) MoveWithBody

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

MoveWithBody Moves the source document to the provided destination

Move a given document to a given destination. Requires a request body with targetParentId.

Takes any type of body and a specified content type.

Corresponds with POST /api/documents/{docId}/move (the `Move` operationId).

func (*Client) PatchDocumentByIdWithApplicationJSONPatchPlusJSONBody

func (c *Client) PatchDocumentByIdWithApplicationJSONPatchPlusJSONBody(ctx context.Context, docId string, params *PatchDocumentByIdParams, body PatchDocumentByIdApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchDocumentByIdWithApplicationJSONPatchPlusJSONBody Patches the document with given id.

Takes a body of the `application/json-patch+json` content type.

Corresponds with PATCH /api/documents/{docId} (the `PatchDocumentById` operationId).

func (*Client) PatchDocumentByIdWithBody

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

PatchDocumentByIdWithBody Patches the document with given id.

Takes any type of body and a specified content type.

Corresponds with PATCH /api/documents/{docId} (the `PatchDocumentById` operationId).

func (*Client) PatchDocumentByPathWithApplicationJSONPatchPlusJSONBody

func (c *Client) PatchDocumentByPathWithApplicationJSONPatchPlusJSONBody(ctx context.Context, docPath string, params *PatchDocumentByPathParams, body PatchDocumentByPathApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchDocumentByPathWithApplicationJSONPatchPlusJSONBody Patches the document with given path.

Takes a body of the `application/json-patch+json` content type.

Corresponds with PATCH /api/documents/path/{docPath} (the `PatchDocumentByPath` operationId).

func (*Client) PatchDocumentByPathWithBody

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

PatchDocumentByPathWithBody Patches the document with given path.

Takes any type of body and a specified content type.

Corresponds with PATCH /api/documents/path/{docPath} (the `PatchDocumentByPath` operationId).

func (*Client) PatchModelWithApplicationJSONPatchPlusJSONBody

func (c *Client) PatchModelWithApplicationJSONPatchPlusJSONBody(ctx context.Context, params *PatchModelParams, body PatchModelApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchModelWithApplicationJSONPatchPlusJSONBody Patches the model for the repository.

Takes a body of the `application/json-patch+json` content type.

Corresponds with PATCH /api/repository/model (the `PatchModel` operationId).

func (*Client) PatchModelWithBody

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

PatchModelWithBody Patches the model for the repository.

Takes any type of body and a specified content type.

Corresponds with PATCH /api/repository/model (the `PatchModel` operationId).

func (*Client) PatchSecurityPoliciesWithApplicationJSONPatchPlusJSONBody

func (c *Client) PatchSecurityPoliciesWithApplicationJSONPatchPlusJSONBody(ctx context.Context, params *PatchSecurityPoliciesParams, body PatchSecurityPoliciesApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchSecurityPoliciesWithApplicationJSONPatchPlusJSONBody Patches the security policies for the repository. Changes to or even tests on fixed security policies (such as acl, lock and retention) will result in an error.

Takes a body of the `application/json-patch+json` content type.

Corresponds with PATCH /api/repository/security/policies (the `PatchSecurityPolicies` operationId).

func (*Client) PatchSecurityPoliciesWithBody

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

PatchSecurityPoliciesWithBody Patches the security policies for the repository. Changes to or even tests on fixed security policies (such as acl, lock and retention) will result in an error.

Takes any type of body and a specified content type.

Corresponds with PATCH /api/repository/security/policies (the `PatchSecurityPolicies` operationId).

func (*Client) QueryTermsAggregation

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

QueryTermsAggregation Terms aggregation query on a given property.

Takes a body of the `application/json` content type.

Corresponds with POST /api/query/termsAggregation (the `QueryTermsAggregation` operationId).

func (*Client) QueryTermsAggregationWithBody

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

QueryTermsAggregationWithBody Terms aggregation query on a given property.

Takes any type of body and a specified content type.

Corresponds with POST /api/query/termsAggregation (the `QueryTermsAggregation` operationId).

func (*Client) RenewCredentials

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

RenewCredentials Renews the credentials for the upload with the given id.

Corresponds with POST /api/upload/{id}/renewCredentials (the `RenewCredentials` operationId).

func (*Client) RestoreVersion

func (c *Client) RestoreVersion(ctx context.Context, versionId string, params *RestoreVersionParams, reqEditors ...RequestEditorFn) (*http.Response, error)

RestoreVersion Restore a document from given version

Corresponds with POST /api/documents/{versionId}/restore (the `RestoreVersion` operationId).

func (*Client) SearchGroups

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

SearchGroups Returns the list of groups which name or label contains the given string. Given name part for searching is null or empty, then return all groups

Corresponds with GET /api/group (the `SearchGroups` operationId).

func (*Client) SearchUsersByName

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

SearchUsersByName Returns the list of users which username or email address contains the given string

Corresponds with GET /api/user (the `SearchUsersByName` operationId).

func (*Client) SetExternalUserRelations

func (c *Client) SetExternalUserRelations(ctx context.Context, policyName string, params *SetExternalUserRelationsParams, body SetExternalUserRelationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SetExternalUserRelations Sets the external user relations for a policy.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/repository/security/policies/{policyName}/externaluserrelations (the `SetExternalUserRelations` operationId).

func (*Client) SetExternalUserRelationsWithBody

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

SetExternalUserRelationsWithBody Sets the external user relations for a policy.

Takes any type of body and a specified content type.

Corresponds with PUT /api/repository/security/policies/{policyName}/externaluserrelations (the `SetExternalUserRelations` operationId).

func (*Client) SetModel

func (c *Client) SetModel(ctx context.Context, params *SetModelParams, body SetModelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SetModel Sets the model for the repository.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/repository/model (the `SetModel` operationId).

func (*Client) SetModelItemsForProject

func (c *Client) SetModelItemsForProject(ctx context.Context, projectId string, params *SetModelItemsForProjectParams, body SetModelItemsForProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SetModelItemsForProject Sets the model items specific to projects in the existing content model for the repository.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/repository/model/project/{projectId} (the `SetModelItemsForProject` operationId).

func (*Client) SetModelItemsForProjectV2

func (c *Client) SetModelItemsForProjectV2(ctx context.Context, projectId string, params *SetModelItemsForProjectV2Params, body SetModelItemsForProjectV2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SetModelItemsForProjectV2 Sets the model items specific to projects in the existing content model for the repository, using optimistic locking.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v2/repository/model/project/{projectId} (the `SetModelItemsForProjectV2` operationId).

func (*Client) SetModelItemsForProjectV2WithBody

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

SetModelItemsForProjectV2WithBody Sets the model items specific to projects in the existing content model for the repository, using optimistic locking.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v2/repository/model/project/{projectId} (the `SetModelItemsForProjectV2` operationId).

func (*Client) SetModelItemsForProjectWithBody

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

SetModelItemsForProjectWithBody Sets the model items specific to projects in the existing content model for the repository.

Takes any type of body and a specified content type.

Corresponds with PUT /api/repository/model/project/{projectId} (the `SetModelItemsForProject` operationId).

func (*Client) SetModelV2

func (c *Client) SetModelV2(ctx context.Context, params *SetModelV2Params, body SetModelV2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SetModelV2 Sets the model for the repository, using optimistic locking.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v2/repository/model (the `SetModelV2` operationId).

func (*Client) SetModelV2WithBody

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

SetModelV2WithBody Sets the model for the repository, using optimistic locking.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v2/repository/model (the `SetModelV2` operationId).

func (*Client) SetModelWithBody

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

SetModelWithBody Sets the model for the repository.

Takes any type of body and a specified content type.

Corresponds with PUT /api/repository/model (the `SetModel` operationId).

func (*Client) SetSecurityPolicies

func (c *Client) SetSecurityPolicies(ctx context.Context, params *SetSecurityPoliciesParams, body SetSecurityPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SetSecurityPolicies Sets the security policies for the repository. Changes to fixed security policies (such as acl, lock and retention) will be ignored.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/repository/security/policies (the `SetSecurityPolicies` operationId).

func (*Client) SetSecurityPoliciesForProject

func (c *Client) SetSecurityPoliciesForProject(ctx context.Context, projectId string, params *SetSecurityPoliciesForProjectParams, body SetSecurityPoliciesForProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SetSecurityPoliciesForProject Sets security policies for a specific project. Any security policies in the request that have the same name as a system-wide security policy or one for another project or will be ignored. The projectId is automatically set in security policies in the request.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/repository/security/policies/project/{projectId} (the `SetSecurityPoliciesForProject` operationId).

func (*Client) SetSecurityPoliciesForProjectV2

func (c *Client) SetSecurityPoliciesForProjectV2(ctx context.Context, projectId string, params *SetSecurityPoliciesForProjectV2Params, body SetSecurityPoliciesForProjectV2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SetSecurityPoliciesForProjectV2 Sets security policies for a specific project, using optimistic locking. Any security policies in the request that have the same name as a system-wide security policy or one for another project will be ignored. The projectId is automatically set in security policies in the request.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v2/repository/security/policies/project/{projectId} (the `SetSecurityPoliciesForProjectV2` operationId).

func (*Client) SetSecurityPoliciesForProjectV2WithBody

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

SetSecurityPoliciesForProjectV2WithBody Sets security policies for a specific project, using optimistic locking. Any security policies in the request that have the same name as a system-wide security policy or one for another project will be ignored. The projectId is automatically set in security policies in the request.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v2/repository/security/policies/project/{projectId} (the `SetSecurityPoliciesForProjectV2` operationId).

func (*Client) SetSecurityPoliciesForProjectWithBody

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

SetSecurityPoliciesForProjectWithBody Sets security policies for a specific project. Any security policies in the request that have the same name as a system-wide security policy or one for another project or will be ignored. The projectId is automatically set in security policies in the request.

Takes any type of body and a specified content type.

Corresponds with PUT /api/repository/security/policies/project/{projectId} (the `SetSecurityPoliciesForProject` operationId).

func (*Client) SetSecurityPoliciesV2

func (c *Client) SetSecurityPoliciesV2(ctx context.Context, params *SetSecurityPoliciesV2Params, body SetSecurityPoliciesV2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SetSecurityPoliciesV2 Sets the security policies for the repository, using optimistic locking. Changes to fixed security policies (such as acl, lock and retention) will be ignored.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v2/repository/security/policies (the `SetSecurityPoliciesV2` operationId).

func (*Client) SetSecurityPoliciesV2WithBody

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

SetSecurityPoliciesV2WithBody Sets the security policies for the repository, using optimistic locking. Changes to fixed security policies (such as acl, lock and retention) will be ignored.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v2/repository/security/policies (the `SetSecurityPoliciesV2` operationId).

func (*Client) SetSecurityPoliciesWithBody

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

SetSecurityPoliciesWithBody Sets the security policies for the repository. Changes to fixed security policies (such as acl, lock and retention) will be ignored.

Takes any type of body and a specified content type.

Corresponds with PUT /api/repository/security/policies (the `SetSecurityPolicies` operationId).

func (*Client) UpdateDocumentById

func (c *Client) UpdateDocumentById(ctx context.Context, docId string, params *UpdateDocumentByIdParams, body UpdateDocumentByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateDocumentById Updates, or creates-or-updates, the document with given id.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/documents/{docId} (the `UpdateDocumentById` operationId).

func (*Client) UpdateDocumentByIdWithBody

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

UpdateDocumentByIdWithBody Updates, or creates-or-updates, the document with given id.

Takes any type of body and a specified content type.

Corresponds with PUT /api/documents/{docId} (the `UpdateDocumentById` operationId).

func (*Client) UpdateDocumentByPath

func (c *Client) UpdateDocumentByPath(ctx context.Context, docPath string, params *UpdateDocumentByPathParams, body UpdateDocumentByPathJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateDocumentByPath Updates, or creates-or-updates, the document with given path.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/documents/path/{docPath} (the `UpdateDocumentByPath` operationId).

func (*Client) UpdateDocumentByPathWithBody

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

UpdateDocumentByPathWithBody Updates, or creates-or-updates, the document with given path.

Takes any type of body and a specified content type.

Corresponds with PUT /api/documents/path/{docPath} (the `UpdateDocumentByPath` operationId).

func (*Client) UpdateVocabularyEntry

func (c *Client) UpdateVocabularyEntry(ctx context.Context, sysvocabId string, params *UpdateVocabularyEntryParams, body UpdateVocabularyEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateVocabularyEntry Updates and returns particular VocabularyEntry

Takes a body of the `application/json` content type.

Corresponds with PUT /api/vocabularies/{sysvocab_id} (the `UpdateVocabularyEntry` operationId).

func (*Client) UpdateVocabularyEntryWithBody

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

UpdateVocabularyEntryWithBody Updates and returns particular VocabularyEntry

Takes any type of body and a specified content type.

Corresponds with PUT /api/vocabularies/{sysvocab_id} (the `UpdateVocabularyEntry` operationId).

func (*Client) UploadWithBody

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

UploadWithBody Uploads a file or a chunk to a given upload.

Upload can be done in several parts, chunk by chunk.

Takes any type of body and a specified content type.

Corresponds with POST /api/upload (the `Upload` operationId).

func (*Client) WaitForFullTextSearchIndexing

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

WaitForFullTextSearchIndexing Waits for for full text search indexing.

Corresponds with GET /api/query/waitForFullTextSearchIndexing (the `WaitForFullTextSearchIndexing` operationId).

type ClientInterface

type ClientInterface interface {

	// DeleteDocumentByPath Deletes the document with given path.
	//
	// Corresponds with DELETE /api/documents/path/{docPath} (the `DeleteDocumentByPath` operationId).
	DeleteDocumentByPath(ctx context.Context, docPath string, params *DeleteDocumentByPathParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDocumentByPath Returns the document with given path.
	//
	// Corresponds with GET /api/documents/path/{docPath} (the `GetDocumentByPath` operationId).
	GetDocumentByPath(ctx context.Context, docPath string, params *GetDocumentByPathParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchDocumentByPathWithBody Patches the document with given path.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /api/documents/path/{docPath} (the `PatchDocumentByPath` operationId).
	PatchDocumentByPathWithBody(ctx context.Context, docPath string, params *PatchDocumentByPathParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchDocumentByPathWithApplicationJSONPatchPlusJSONBody Patches the document with given path.
	//
	// Takes a body of the `application/json-patch+json` content type.
	//
	// Corresponds with PATCH /api/documents/path/{docPath} (the `PatchDocumentByPath` operationId).
	PatchDocumentByPathWithApplicationJSONPatchPlusJSONBody(ctx context.Context, docPath string, params *PatchDocumentByPathParams, body PatchDocumentByPathApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateDocumentUnderParentByPathWithBody Creates a document under parent with given path.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/documents/path/{docPath} (the `CreateDocumentUnderParentByPath` operationId).
	CreateDocumentUnderParentByPathWithBody(ctx context.Context, docPath string, params *CreateDocumentUnderParentByPathParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateDocumentUnderParentByPath Creates a document under parent with given path.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/documents/path/{docPath} (the `CreateDocumentUnderParentByPath` operationId).
	CreateDocumentUnderParentByPath(ctx context.Context, docPath string, params *CreateDocumentUnderParentByPathParams, body CreateDocumentUnderParentByPathJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateDocumentByPathWithBody Updates, or creates-or-updates, the document with given path.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/documents/path/{docPath} (the `UpdateDocumentByPath` operationId).
	UpdateDocumentByPathWithBody(ctx context.Context, docPath string, params *UpdateDocumentByPathParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateDocumentByPath Updates, or creates-or-updates, the document with given path.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/documents/path/{docPath} (the `UpdateDocumentByPath` operationId).
	UpdateDocumentByPath(ctx context.Context, docPath string, params *UpdateDocumentByPathParams, body UpdateDocumentByPathJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteDocumentById Deletes the document with given id.
	//
	// Corresponds with DELETE /api/documents/{docId} (the `DeleteDocumentById` operationId).
	DeleteDocumentById(ctx context.Context, docId string, params *DeleteDocumentByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDocumentById Returns the document with given id.
	//
	// Corresponds with GET /api/documents/{docId} (the `GetDocumentById` operationId).
	GetDocumentById(ctx context.Context, docId string, params *GetDocumentByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchDocumentByIdWithBody Patches the document with given id.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /api/documents/{docId} (the `PatchDocumentById` operationId).
	PatchDocumentByIdWithBody(ctx context.Context, docId string, params *PatchDocumentByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchDocumentByIdWithApplicationJSONPatchPlusJSONBody Patches the document with given id.
	//
	// Takes a body of the `application/json-patch+json` content type.
	//
	// Corresponds with PATCH /api/documents/{docId} (the `PatchDocumentById` operationId).
	PatchDocumentByIdWithApplicationJSONPatchPlusJSONBody(ctx context.Context, docId string, params *PatchDocumentByIdParams, body PatchDocumentByIdApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateDocumentUnderParentByIdWithBody Creates a document under parent with given id.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/documents/{docId} (the `CreateDocumentUnderParentById` operationId).
	CreateDocumentUnderParentByIdWithBody(ctx context.Context, docId string, params *CreateDocumentUnderParentByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateDocumentUnderParentById Creates a document under parent with given id.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/documents/{docId} (the `CreateDocumentUnderParentById` operationId).
	CreateDocumentUnderParentById(ctx context.Context, docId string, params *CreateDocumentUnderParentByIdParams, body CreateDocumentUnderParentByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateDocumentByIdWithBody Updates, or creates-or-updates, the document with given id.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/documents/{docId} (the `UpdateDocumentById` operationId).
	UpdateDocumentByIdWithBody(ctx context.Context, docId string, params *UpdateDocumentByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateDocumentById Updates, or creates-or-updates, the document with given id.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/documents/{docId} (the `UpdateDocumentById` operationId).
	UpdateDocumentById(ctx context.Context, docId string, params *UpdateDocumentByIdParams, body UpdateDocumentByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDocumentAncestors Returns the document's ancestors.
	//
	// Corresponds with GET /api/documents/{docId}/ancestors (the `GetDocumentAncestors` operationId).
	GetDocumentAncestors(ctx context.Context, docId string, params *GetDocumentAncestorsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// Checkin Checks in the document, creating a version.
	//
	// Corresponds with POST /api/documents/{docId}/checkin (the `Checkin` operationId).
	Checkin(ctx context.Context, docId string, params *CheckinParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CopyWithBody Copies the source document inside the destination folder
	//
	// Copy a given document id to a given destination folder.  Requires request body with target name and targetParentId
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/documents/{docId}/copy (the `Copy` operationId).
	CopyWithBody(ctx context.Context, docId string, params *CopyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// Copy Copies the source document inside the destination folder
	//
	// Copy a given document id to a given destination folder.  Requires request body with target name and targetParentId
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/documents/{docId}/copy (the `Copy` operationId).
	Copy(ctx context.Context, docId string, params *CopyParams, body CopyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetEmbedding Get an embedding by id.
	//
	// Corresponds with GET /api/documents/{docId}/embedding/{embeddingId} (the `GetEmbedding` operationId).
	GetEmbedding(ctx context.Context, docId string, embeddingId string, params *GetEmbeddingParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// Fulleffectiveacl Fetch the full list of effective ACL on the document.
	//
	// Fetch the full list of effective ACL on the document for the given list of users.
	//
	// Corresponds with GET /api/documents/{docId}/fulleffectiveacl (the `Fulleffectiveacl` operationId).
	Fulleffectiveacl(ctx context.Context, docId string, params *FulleffectiveaclParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// Fulleffectivepermissions Fetch the full list of effective permissions on the document.
	//
	// Fetch the full list of effective permissions on the document for the given list of users.
	//
	// Corresponds with GET /api/documents/{docId}/fulleffectivepermissions (the `Fulleffectivepermissions` operationId).
	Fulleffectivepermissions(ctx context.Context, docId string, params *FulleffectivepermissionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MoveWithBody Moves the source document to the provided destination
	//
	// Move a given document to a given destination. Requires a request body with targetParentId.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/documents/{docId}/move (the `Move` operationId).
	MoveWithBody(ctx context.Context, docId string, params *MoveParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// Move Moves the source document to the provided destination
	//
	// Move a given document to a given destination. Requires a request body with targetParentId.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/documents/{docId}/move (the `Move` operationId).
	Move(ctx context.Context, docId string, params *MoveParams, body MoveJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RestoreVersion Restore a document from given version
	//
	// Corresponds with POST /api/documents/{versionId}/restore (the `RestoreVersion` operationId).
	RestoreVersion(ctx context.Context, versionId string, params *RestoreVersionParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DownloadUrlByIdAndXPath Returns the the pre-signed S3 Url for a downloadable object.
	//
	// Corresponds with GET /api/download/url/{docId}/{propertyXPathAndFilename} (the `DownloadUrlByIdAndXPath` operationId).
	DownloadUrlByIdAndXPath(ctx context.Context, docId string, propertyXPathAndFilename string, params *DownloadUrlByIdAndXPathParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DownloadByIdAndXPath Returns the document blob.
	//
	// Corresponds with GET /api/download/{docId}/{propertyXPathAndFilename} (the `DownloadByIdAndXPath` operationId).
	DownloadByIdAndXPath(ctx context.Context, docId string, propertyXPathAndFilename string, params *DownloadByIdAndXPathParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DownloadInfoByIdAndXPath Returns the document blob information.
	//
	// Corresponds with HEAD /api/download/{docId}/{propertyXPathAndFilename} (the `DownloadInfoByIdAndXPath` operationId).
	DownloadInfoByIdAndXPath(ctx context.Context, docId string, propertyXPathAndFilename string, params *DownloadInfoByIdAndXPathParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SearchGroups Returns the list of groups which name or label contains the given string. Given name part for searching is null or empty, then return all groups
	//
	// Corresponds with GET /api/group (the `SearchGroups` operationId).
	SearchGroups(ctx context.Context, params *SearchGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetGroupById Returns the group with given id.
	//
	// Corresponds with GET /api/group/{groupId} (the `GetGroupById` operationId).
	GetGroupById(ctx context.Context, groupId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDocumentsByQueryWithBody Returns the search results.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/query (the `GetDocumentsByQuery` operationId).
	GetDocumentsByQueryWithBody(ctx context.Context, params *GetDocumentsByQueryParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDocumentsByQuery Returns the search results.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/query (the `GetDocumentsByQuery` operationId).
	GetDocumentsByQuery(ctx context.Context, params *GetDocumentsByQueryParams, body GetDocumentsByQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDocumentsByAdvancedQueryWithBody Returns the advanced search results.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/query/advanced (the `GetDocumentsByAdvancedQuery` operationId).
	GetDocumentsByAdvancedQueryWithBody(ctx context.Context, params *GetDocumentsByAdvancedQueryParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDocumentsByAdvancedQuery Returns the advanced search results.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/query/advanced (the `GetDocumentsByAdvancedQuery` operationId).
	GetDocumentsByAdvancedQuery(ctx context.Context, params *GetDocumentsByAdvancedQueryParams, body GetDocumentsByAdvancedQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetEmbeddingsByQueryWithBody Vector search.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/query/embeddings (the `GetEmbeddingsByQuery` operationId).
	GetEmbeddingsByQueryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetEmbeddingsByQuery Vector search.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/query/embeddings (the `GetEmbeddingsByQuery` operationId).
	GetEmbeddingsByQuery(ctx context.Context, body GetEmbeddingsByQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetNamedQueries Returns the named query definition names.
	//
	// Corresponds with GET /api/query/named (the `GetNamedQueries` operationId).
	GetNamedQueries(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDocumentsByNamedQueryWithBody Returns the search results for given named query.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/query/named (the `GetDocumentsByNamedQuery` operationId).
	GetDocumentsByNamedQueryWithBody(ctx context.Context, params *GetDocumentsByNamedQueryParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDocumentsByNamedQuery Returns the search results for given named query.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/query/named (the `GetDocumentsByNamedQuery` operationId).
	GetDocumentsByNamedQuery(ctx context.Context, params *GetDocumentsByNamedQueryParams, body GetDocumentsByNamedQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetNamedQuery Returns the named query definition.
	//
	// Corresponds with GET /api/query/named/{namedQuery} (the `GetNamedQuery` operationId).
	GetNamedQuery(ctx context.Context, namedQuery string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// QueryTermsAggregationWithBody Terms aggregation query on a given property.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/query/termsAggregation (the `QueryTermsAggregation` operationId).
	QueryTermsAggregationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// QueryTermsAggregation Terms aggregation query on a given property.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/query/termsAggregation (the `QueryTermsAggregation` operationId).
	QueryTermsAggregation(ctx context.Context, body QueryTermsAggregationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WaitForFullTextSearchIndexing Waits for for full text search indexing.
	//
	// Corresponds with GET /api/query/waitForFullTextSearchIndexing (the `WaitForFullTextSearchIndexing` operationId).
	WaitForFullTextSearchIndexing(ctx context.Context, params *WaitForFullTextSearchIndexingParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetModel Returns the model for the repository.
	//
	// Corresponds with GET /api/repository/model (the `GetModel` operationId).
	GetModel(ctx context.Context, params *GetModelParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchModelWithBody Patches the model for the repository.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /api/repository/model (the `PatchModel` operationId).
	PatchModelWithBody(ctx context.Context, params *PatchModelParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchModelWithApplicationJSONPatchPlusJSONBody Patches the model for the repository.
	//
	// Takes a body of the `application/json-patch+json` content type.
	//
	// Corresponds with PATCH /api/repository/model (the `PatchModel` operationId).
	PatchModelWithApplicationJSONPatchPlusJSONBody(ctx context.Context, params *PatchModelParams, body PatchModelApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetModelWithBody Sets the model for the repository.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/repository/model (the `SetModel` operationId).
	SetModelWithBody(ctx context.Context, params *SetModelParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetModel Sets the model for the repository.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/repository/model (the `SetModel` operationId).
	SetModel(ctx context.Context, params *SetModelParams, body SetModelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetModelItemsForProject Returns the model specific to a project for the repository.
	//
	// Corresponds with GET /api/repository/model/project/{projectId} (the `GetModelItemsForProject` operationId).
	GetModelItemsForProject(ctx context.Context, projectId string, params *GetModelItemsForProjectParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetModelItemsForProjectWithBody Sets the model items specific to projects in the existing content model for the repository.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/repository/model/project/{projectId} (the `SetModelItemsForProject` operationId).
	SetModelItemsForProjectWithBody(ctx context.Context, projectId string, params *SetModelItemsForProjectParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetModelItemsForProject Sets the model items specific to projects in the existing content model for the repository.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/repository/model/project/{projectId} (the `SetModelItemsForProject` operationId).
	SetModelItemsForProject(ctx context.Context, projectId string, params *SetModelItemsForProjectParams, body SetModelItemsForProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSecurityPolicies Returns the security policies for the repository.
	//
	// Corresponds with GET /api/repository/security/policies (the `GetSecurityPolicies` operationId).
	GetSecurityPolicies(ctx context.Context, params *GetSecurityPoliciesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchSecurityPoliciesWithBody Patches the security policies for the repository. Changes to or even tests on fixed security policies (such as acl, lock and retention) will result in an error.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /api/repository/security/policies (the `PatchSecurityPolicies` operationId).
	PatchSecurityPoliciesWithBody(ctx context.Context, params *PatchSecurityPoliciesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchSecurityPoliciesWithApplicationJSONPatchPlusJSONBody Patches the security policies for the repository. Changes to or even tests on fixed security policies (such as acl, lock and retention) will result in an error.
	//
	// Takes a body of the `application/json-patch+json` content type.
	//
	// Corresponds with PATCH /api/repository/security/policies (the `PatchSecurityPolicies` operationId).
	PatchSecurityPoliciesWithApplicationJSONPatchPlusJSONBody(ctx context.Context, params *PatchSecurityPoliciesParams, body PatchSecurityPoliciesApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetSecurityPoliciesWithBody Sets the security policies for the repository. Changes to fixed security policies (such as acl, lock and retention) will be ignored.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/repository/security/policies (the `SetSecurityPolicies` operationId).
	SetSecurityPoliciesWithBody(ctx context.Context, params *SetSecurityPoliciesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetSecurityPolicies Sets the security policies for the repository. Changes to fixed security policies (such as acl, lock and retention) will be ignored.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/repository/security/policies (the `SetSecurityPolicies` operationId).
	SetSecurityPolicies(ctx context.Context, params *SetSecurityPoliciesParams, body SetSecurityPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetSecurityPoliciesForProjectWithBody Sets security policies for a specific project. Any security policies in the request that have the same name as a system-wide security policy or one for another project or will be ignored. The projectId is automatically set in security policies in the request.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/repository/security/policies/project/{projectId} (the `SetSecurityPoliciesForProject` operationId).
	SetSecurityPoliciesForProjectWithBody(ctx context.Context, projectId string, params *SetSecurityPoliciesForProjectParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetSecurityPoliciesForProject Sets security policies for a specific project. Any security policies in the request that have the same name as a system-wide security policy or one for another project or will be ignored. The projectId is automatically set in security policies in the request.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/repository/security/policies/project/{projectId} (the `SetSecurityPoliciesForProject` operationId).
	SetSecurityPoliciesForProject(ctx context.Context, projectId string, params *SetSecurityPoliciesForProjectParams, body SetSecurityPoliciesForProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetExternalUserRelations Returns the external user relations for a policy.
	//
	// Corresponds with GET /api/repository/security/policies/{policyName}/externaluserrelations (the `GetExternalUserRelations` operationId).
	GetExternalUserRelations(ctx context.Context, policyName string, params *GetExternalUserRelationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetExternalUserRelationsWithBody Sets the external user relations for a policy.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/repository/security/policies/{policyName}/externaluserrelations (the `SetExternalUserRelations` operationId).
	SetExternalUserRelationsWithBody(ctx context.Context, policyName string, params *SetExternalUserRelationsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetExternalUserRelations Sets the external user relations for a policy.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/repository/security/policies/{policyName}/externaluserrelations (the `SetExternalUserRelations` operationId).
	SetExternalUserRelations(ctx context.Context, policyName string, params *SetExternalUserRelationsParams, body SetExternalUserRelationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetExternalUserRelationsStatus Returns the status of the external user relations for a policy.
	//
	// Corresponds with GET /api/repository/security/policies/{policyName}/externaluserrelations/status (the `GetExternalUserRelationsStatus` operationId).
	GetExternalUserRelationsStatus(ctx context.Context, policyName string, params *GetExternalUserRelationsStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UploadWithBody Uploads a file or a chunk to a given upload.
	//
	// Upload can be done in several parts, chunk by chunk.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/upload (the `Upload` operationId).
	UploadWithBody(ctx context.Context, params *UploadParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateUpload Creates a new upload and return its generated identifier and properties.
	//
	// Corresponds with POST /api/upload/create (the `CreateUpload` operationId).
	CreateUpload(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteUpload Cancels the upload with the given id.
	//
	// Corresponds with DELETE /api/upload/{id} (the `DeleteUpload` operationId).
	DeleteUpload(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUploadInfo Returns the upload information for given id.
	//
	// Corresponds with GET /api/upload/{id} (the `GetUploadInfo` operationId).
	GetUploadInfo(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CompleteWithBody Completes the upload with the given id.
	//
	// Completion is mainly useful for s3 direct upload, where
	// the upload has been created thanks to this API, but download has been done directly on the target s3 bucket.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/upload/{id}/complete (the `Complete` operationId).
	CompleteWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// Complete Completes the upload with the given id.
	//
	// Completion is mainly useful for s3 direct upload, where
	// the upload has been created thanks to this API, but download has been done directly on the target s3 bucket.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/upload/{id}/complete (the `Complete` operationId).
	Complete(ctx context.Context, id string, body CompleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RenewCredentials Renews the credentials for the upload with the given id.
	//
	// Corresponds with POST /api/upload/{id}/renewCredentials (the `RenewCredentials` operationId).
	RenewCredentials(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SearchUsersByName Returns the list of users which username or email address contains the given string
	//
	// Corresponds with GET /api/user (the `SearchUsersByName` operationId).
	SearchUsersByName(ctx context.Context, params *SearchUsersByNameParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUserById Returns the user with given id.
	//
	// Corresponds with GET /api/user/{userId} (the `GetUserById` operationId).
	GetUserById(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetModelV2 Returns the model and its version for the repository.
	//
	// Corresponds with GET /api/v2/repository/model (the `GetModelV2` operationId).
	GetModelV2(ctx context.Context, params *GetModelV2Params, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetModelV2WithBody Sets the model for the repository, using optimistic locking.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v2/repository/model (the `SetModelV2` operationId).
	SetModelV2WithBody(ctx context.Context, params *SetModelV2Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetModelV2 Sets the model for the repository, using optimistic locking.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v2/repository/model (the `SetModelV2` operationId).
	SetModelV2(ctx context.Context, params *SetModelV2Params, body SetModelV2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetModelItemsForProjectV2 Returns the model specific to a project for the repository.
	//
	// Corresponds with GET /api/v2/repository/model/project/{projectId} (the `GetModelItemsForProjectV2` operationId).
	GetModelItemsForProjectV2(ctx context.Context, projectId string, params *GetModelItemsForProjectV2Params, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetModelItemsForProjectV2WithBody Sets the model items specific to projects in the existing content model for the repository, using optimistic locking.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v2/repository/model/project/{projectId} (the `SetModelItemsForProjectV2` operationId).
	SetModelItemsForProjectV2WithBody(ctx context.Context, projectId string, params *SetModelItemsForProjectV2Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetModelItemsForProjectV2 Sets the model items specific to projects in the existing content model for the repository, using optimistic locking.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v2/repository/model/project/{projectId} (the `SetModelItemsForProjectV2` operationId).
	SetModelItemsForProjectV2(ctx context.Context, projectId string, params *SetModelItemsForProjectV2Params, body SetModelItemsForProjectV2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSecurityPoliciesV2 Returns the security policies and their version for the repository.
	//
	// Corresponds with GET /api/v2/repository/security/policies (the `GetSecurityPoliciesV2` operationId).
	GetSecurityPoliciesV2(ctx context.Context, params *GetSecurityPoliciesV2Params, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetSecurityPoliciesV2WithBody Sets the security policies for the repository, using optimistic locking. Changes to fixed security policies (such as acl, lock and retention) will be ignored.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v2/repository/security/policies (the `SetSecurityPoliciesV2` operationId).
	SetSecurityPoliciesV2WithBody(ctx context.Context, params *SetSecurityPoliciesV2Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetSecurityPoliciesV2 Sets the security policies for the repository, using optimistic locking. Changes to fixed security policies (such as acl, lock and retention) will be ignored.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v2/repository/security/policies (the `SetSecurityPoliciesV2` operationId).
	SetSecurityPoliciesV2(ctx context.Context, params *SetSecurityPoliciesV2Params, body SetSecurityPoliciesV2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetSecurityPoliciesForProjectV2WithBody Sets security policies for a specific project, using optimistic locking. Any security policies in the request that have the same name as a system-wide security policy or one for another project will be ignored. The projectId is automatically set in security policies in the request.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v2/repository/security/policies/project/{projectId} (the `SetSecurityPoliciesForProjectV2` operationId).
	SetSecurityPoliciesForProjectV2WithBody(ctx context.Context, projectId string, params *SetSecurityPoliciesForProjectV2Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetSecurityPoliciesForProjectV2 Sets security policies for a specific project, using optimistic locking. Any security policies in the request that have the same name as a system-wide security policy or one for another project will be ignored. The projectId is automatically set in security policies in the request.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v2/repository/security/policies/project/{projectId} (the `SetSecurityPoliciesForProjectV2` operationId).
	SetSecurityPoliciesForProjectV2(ctx context.Context, projectId string, params *SetSecurityPoliciesForProjectV2Params, body SetSecurityPoliciesForProjectV2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetVocabularyList Returns a list of all vocabularies
	//
	// Corresponds with GET /api/vocabularies (the `GetVocabularyList` operationId).
	GetVocabularyList(ctx context.Context, params *GetVocabularyListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateVocabularyWithBody Creates a vocabulary
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/vocabularies (the `CreateVocabulary` operationId).
	CreateVocabularyWithBody(ctx context.Context, params *CreateVocabularyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateVocabulary Creates a vocabulary
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/vocabularies (the `CreateVocabulary` operationId).
	CreateVocabulary(ctx context.Context, params *CreateVocabularyParams, body CreateVocabularyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteVocabulary Deletes vocabulary along with its entries
	//
	// Corresponds with DELETE /api/vocabularies/{sysvocab_id} (the `DeleteVocabulary` operationId).
	DeleteVocabulary(ctx context.Context, sysvocabId string, params *DeleteVocabularyParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetVocabularyEntries Returns a list of all vocabulary entries
	//
	// Corresponds with GET /api/vocabularies/{sysvocab_id} (the `GetVocabularyEntries` operationId).
	GetVocabularyEntries(ctx context.Context, sysvocabId string, params *GetVocabularyEntriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateVocabularyEntryWithBody Creates an entry for vocabulary
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/vocabularies/{sysvocab_id} (the `CreateVocabularyEntry` operationId).
	CreateVocabularyEntryWithBody(ctx context.Context, sysvocabId string, params *CreateVocabularyEntryParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateVocabularyEntry Creates an entry for vocabulary
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/vocabularies/{sysvocab_id} (the `CreateVocabularyEntry` operationId).
	CreateVocabularyEntry(ctx context.Context, sysvocabId string, params *CreateVocabularyEntryParams, body CreateVocabularyEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateVocabularyEntryWithBody Updates and returns particular VocabularyEntry
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/vocabularies/{sysvocab_id} (the `UpdateVocabularyEntry` operationId).
	UpdateVocabularyEntryWithBody(ctx context.Context, sysvocabId string, params *UpdateVocabularyEntryParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateVocabularyEntry Updates and returns particular VocabularyEntry
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/vocabularies/{sysvocab_id} (the `UpdateVocabularyEntry` operationId).
	UpdateVocabularyEntry(ctx context.Context, sysvocabId string, params *UpdateVocabularyEntryParams, body UpdateVocabularyEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteVocabularyEntry Deletes entry of a vocabulary
	//
	// Corresponds with DELETE /api/vocabularies/{sysvocab_id}/{sysvocab_key} (the `DeleteVocabularyEntry` operationId).
	DeleteVocabularyEntry(ctx context.Context, sysvocabId string, sysvocabKey string, params *DeleteVocabularyEntryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetVocabularyEntry Returns particular vocabulary entry
	//
	// Corresponds with GET /api/vocabularies/{sysvocab_id}/{sysvocab_key} (the `GetVocabularyEntry` operationId).
	GetVocabularyEntry(ctx context.Context, sysvocabId string, sysvocabKey string, params *GetVocabularyEntryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// Hello performs a GET /hello (the `Hello` operationId) request.
	Hello(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// HelloUser performs a GET /hello/protected (the `HelloUser` operationId) request.
	HelloUser(ctx context.Context, 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) CheckinWithResponse

func (c *ClientWithResponses) CheckinWithResponse(ctx context.Context, docId string, params *CheckinParams, reqEditors ...RequestEditorFn) (*CheckinResponse, error)

CheckinWithResponse Checks in the document, creating a version.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /api/documents/{docId}/checkin (the `Checkin` operationId).

func (*ClientWithResponses) CompleteWithBodyWithResponse

func (c *ClientWithResponses) CompleteWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CompleteResponse, error)

CompleteWithBodyWithResponse Completes the upload with the given id.

Completion is mainly useful for s3 direct upload, where the upload has been created thanks to this API, but download has been done directly on the target s3 bucket.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/upload/{id}/complete (the `Complete` operationId).

func (*ClientWithResponses) CompleteWithResponse

func (c *ClientWithResponses) CompleteWithResponse(ctx context.Context, id string, body CompleteJSONRequestBody, reqEditors ...RequestEditorFn) (*CompleteResponse, error)

CompleteWithResponse Completes the upload with the given id.

Completion is mainly useful for s3 direct upload, where the upload has been created thanks to this API, but download has been done directly on the target s3 bucket.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/upload/{id}/complete (the `Complete` operationId).

func (*ClientWithResponses) CopyWithBodyWithResponse

func (c *ClientWithResponses) CopyWithBodyWithResponse(ctx context.Context, docId string, params *CopyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CopyResponse, error)

CopyWithBodyWithResponse Copies the source document inside the destination folder

Copy a given document id to a given destination folder. Requires request body with target name and targetParentId

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/documents/{docId}/copy (the `Copy` operationId).

func (*ClientWithResponses) CopyWithResponse

func (c *ClientWithResponses) CopyWithResponse(ctx context.Context, docId string, params *CopyParams, body CopyJSONRequestBody, reqEditors ...RequestEditorFn) (*CopyResponse, error)

CopyWithResponse Copies the source document inside the destination folder

Copy a given document id to a given destination folder. Requires request body with target name and targetParentId

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/documents/{docId}/copy (the `Copy` operationId).

func (*ClientWithResponses) CreateDocumentUnderParentByIdWithBodyWithResponse

func (c *ClientWithResponses) CreateDocumentUnderParentByIdWithBodyWithResponse(ctx context.Context, docId string, params *CreateDocumentUnderParentByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDocumentUnderParentByIdResponse, error)

CreateDocumentUnderParentByIdWithBodyWithResponse Creates a document under parent with given id.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/documents/{docId} (the `CreateDocumentUnderParentById` operationId).

func (*ClientWithResponses) CreateDocumentUnderParentByIdWithResponse

CreateDocumentUnderParentByIdWithResponse Creates a document under parent with given id.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/documents/{docId} (the `CreateDocumentUnderParentById` operationId).

func (*ClientWithResponses) CreateDocumentUnderParentByPathWithBodyWithResponse

func (c *ClientWithResponses) CreateDocumentUnderParentByPathWithBodyWithResponse(ctx context.Context, docPath string, params *CreateDocumentUnderParentByPathParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDocumentUnderParentByPathResponse, error)

CreateDocumentUnderParentByPathWithBodyWithResponse Creates a document under parent with given path.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/documents/path/{docPath} (the `CreateDocumentUnderParentByPath` operationId).

func (*ClientWithResponses) CreateDocumentUnderParentByPathWithResponse

CreateDocumentUnderParentByPathWithResponse Creates a document under parent with given path.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/documents/path/{docPath} (the `CreateDocumentUnderParentByPath` operationId).

func (*ClientWithResponses) CreateUploadWithResponse

func (c *ClientWithResponses) CreateUploadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CreateUploadResponse, error)

CreateUploadWithResponse Creates a new upload and return its generated identifier and properties.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /api/upload/create (the `CreateUpload` operationId).

func (*ClientWithResponses) CreateVocabularyEntryWithBodyWithResponse

func (c *ClientWithResponses) CreateVocabularyEntryWithBodyWithResponse(ctx context.Context, sysvocabId string, params *CreateVocabularyEntryParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVocabularyEntryResponse, error)

CreateVocabularyEntryWithBodyWithResponse Creates an entry for vocabulary

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/vocabularies/{sysvocab_id} (the `CreateVocabularyEntry` operationId).

func (*ClientWithResponses) CreateVocabularyEntryWithResponse

func (c *ClientWithResponses) CreateVocabularyEntryWithResponse(ctx context.Context, sysvocabId string, params *CreateVocabularyEntryParams, body CreateVocabularyEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVocabularyEntryResponse, error)

CreateVocabularyEntryWithResponse Creates an entry for vocabulary

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/vocabularies/{sysvocab_id} (the `CreateVocabularyEntry` operationId).

func (*ClientWithResponses) CreateVocabularyWithBodyWithResponse

func (c *ClientWithResponses) CreateVocabularyWithBodyWithResponse(ctx context.Context, params *CreateVocabularyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVocabularyResponse, error)

CreateVocabularyWithBodyWithResponse Creates a vocabulary

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/vocabularies (the `CreateVocabulary` operationId).

func (*ClientWithResponses) CreateVocabularyWithResponse

func (c *ClientWithResponses) CreateVocabularyWithResponse(ctx context.Context, params *CreateVocabularyParams, body CreateVocabularyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVocabularyResponse, error)

CreateVocabularyWithResponse Creates a vocabulary

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/vocabularies (the `CreateVocabulary` operationId).

func (*ClientWithResponses) DeleteDocumentByIdWithResponse

func (c *ClientWithResponses) DeleteDocumentByIdWithResponse(ctx context.Context, docId string, params *DeleteDocumentByIdParams, reqEditors ...RequestEditorFn) (*DeleteDocumentByIdResponse, error)

DeleteDocumentByIdWithResponse Deletes the document with given id.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/documents/{docId} (the `DeleteDocumentById` operationId).

func (*ClientWithResponses) DeleteDocumentByPathWithResponse

func (c *ClientWithResponses) DeleteDocumentByPathWithResponse(ctx context.Context, docPath string, params *DeleteDocumentByPathParams, reqEditors ...RequestEditorFn) (*DeleteDocumentByPathResponse, error)

DeleteDocumentByPathWithResponse Deletes the document with given path.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/documents/path/{docPath} (the `DeleteDocumentByPath` operationId).

func (*ClientWithResponses) DeleteUploadWithResponse

func (c *ClientWithResponses) DeleteUploadWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteUploadResponse, error)

DeleteUploadWithResponse Cancels the upload with the given id.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/upload/{id} (the `DeleteUpload` operationId).

func (*ClientWithResponses) DeleteVocabularyEntryWithResponse

func (c *ClientWithResponses) DeleteVocabularyEntryWithResponse(ctx context.Context, sysvocabId string, sysvocabKey string, params *DeleteVocabularyEntryParams, reqEditors ...RequestEditorFn) (*DeleteVocabularyEntryResponse, error)

DeleteVocabularyEntryWithResponse Deletes entry of a vocabulary

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/vocabularies/{sysvocab_id}/{sysvocab_key} (the `DeleteVocabularyEntry` operationId).

func (*ClientWithResponses) DeleteVocabularyWithResponse

func (c *ClientWithResponses) DeleteVocabularyWithResponse(ctx context.Context, sysvocabId string, params *DeleteVocabularyParams, reqEditors ...RequestEditorFn) (*DeleteVocabularyResponse, error)

DeleteVocabularyWithResponse Deletes vocabulary along with its entries

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/vocabularies/{sysvocab_id} (the `DeleteVocabulary` operationId).

func (*ClientWithResponses) DownloadByIdAndXPathWithResponse

func (c *ClientWithResponses) DownloadByIdAndXPathWithResponse(ctx context.Context, docId string, propertyXPathAndFilename string, params *DownloadByIdAndXPathParams, reqEditors ...RequestEditorFn) (*DownloadByIdAndXPathResponse, error)

DownloadByIdAndXPathWithResponse Returns the document blob.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/download/{docId}/{propertyXPathAndFilename} (the `DownloadByIdAndXPath` operationId).

func (*ClientWithResponses) DownloadInfoByIdAndXPathWithResponse

func (c *ClientWithResponses) DownloadInfoByIdAndXPathWithResponse(ctx context.Context, docId string, propertyXPathAndFilename string, params *DownloadInfoByIdAndXPathParams, reqEditors ...RequestEditorFn) (*DownloadInfoByIdAndXPathResponse, error)

DownloadInfoByIdAndXPathWithResponse Returns the document blob information.

Returns a wrapper object for the known response body format(s).

Corresponds with HEAD /api/download/{docId}/{propertyXPathAndFilename} (the `DownloadInfoByIdAndXPath` operationId).

func (*ClientWithResponses) DownloadUrlByIdAndXPathWithResponse

func (c *ClientWithResponses) DownloadUrlByIdAndXPathWithResponse(ctx context.Context, docId string, propertyXPathAndFilename string, params *DownloadUrlByIdAndXPathParams, reqEditors ...RequestEditorFn) (*DownloadUrlByIdAndXPathResponse, error)

DownloadUrlByIdAndXPathWithResponse Returns the the pre-signed S3 Url for a downloadable object.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/download/url/{docId}/{propertyXPathAndFilename} (the `DownloadUrlByIdAndXPath` operationId).

func (*ClientWithResponses) FulleffectiveaclWithResponse

func (c *ClientWithResponses) FulleffectiveaclWithResponse(ctx context.Context, docId string, params *FulleffectiveaclParams, reqEditors ...RequestEditorFn) (*FulleffectiveaclResponse, error)

FulleffectiveaclWithResponse Fetch the full list of effective ACL on the document.

Fetch the full list of effective ACL on the document for the given list of users.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/documents/{docId}/fulleffectiveacl (the `Fulleffectiveacl` operationId).

func (*ClientWithResponses) FulleffectivepermissionsWithResponse

func (c *ClientWithResponses) FulleffectivepermissionsWithResponse(ctx context.Context, docId string, params *FulleffectivepermissionsParams, reqEditors ...RequestEditorFn) (*FulleffectivepermissionsResponse, error)

FulleffectivepermissionsWithResponse Fetch the full list of effective permissions on the document.

Fetch the full list of effective permissions on the document for the given list of users.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/documents/{docId}/fulleffectivepermissions (the `Fulleffectivepermissions` operationId).

func (*ClientWithResponses) GetDocumentAncestorsWithResponse

func (c *ClientWithResponses) GetDocumentAncestorsWithResponse(ctx context.Context, docId string, params *GetDocumentAncestorsParams, reqEditors ...RequestEditorFn) (*GetDocumentAncestorsResponse, error)

GetDocumentAncestorsWithResponse Returns the document's ancestors.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/documents/{docId}/ancestors (the `GetDocumentAncestors` operationId).

func (*ClientWithResponses) GetDocumentByIdWithResponse

func (c *ClientWithResponses) GetDocumentByIdWithResponse(ctx context.Context, docId string, params *GetDocumentByIdParams, reqEditors ...RequestEditorFn) (*GetDocumentByIdResponse, error)

GetDocumentByIdWithResponse Returns the document with given id.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/documents/{docId} (the `GetDocumentById` operationId).

func (*ClientWithResponses) GetDocumentByPathWithResponse

func (c *ClientWithResponses) GetDocumentByPathWithResponse(ctx context.Context, docPath string, params *GetDocumentByPathParams, reqEditors ...RequestEditorFn) (*GetDocumentByPathResponse, error)

GetDocumentByPathWithResponse Returns the document with given path.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/documents/path/{docPath} (the `GetDocumentByPath` operationId).

func (*ClientWithResponses) GetDocumentsByAdvancedQueryWithBodyWithResponse

func (c *ClientWithResponses) GetDocumentsByAdvancedQueryWithBodyWithResponse(ctx context.Context, params *GetDocumentsByAdvancedQueryParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetDocumentsByAdvancedQueryResponse, error)

GetDocumentsByAdvancedQueryWithBodyWithResponse Returns the advanced search results.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/query/advanced (the `GetDocumentsByAdvancedQuery` operationId).

func (*ClientWithResponses) GetDocumentsByAdvancedQueryWithResponse

GetDocumentsByAdvancedQueryWithResponse Returns the advanced search results.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/query/advanced (the `GetDocumentsByAdvancedQuery` operationId).

func (*ClientWithResponses) GetDocumentsByNamedQueryWithBodyWithResponse

func (c *ClientWithResponses) GetDocumentsByNamedQueryWithBodyWithResponse(ctx context.Context, params *GetDocumentsByNamedQueryParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetDocumentsByNamedQueryResponse, error)

GetDocumentsByNamedQueryWithBodyWithResponse Returns the search results for given named query.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/query/named (the `GetDocumentsByNamedQuery` operationId).

func (*ClientWithResponses) GetDocumentsByNamedQueryWithResponse

GetDocumentsByNamedQueryWithResponse Returns the search results for given named query.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/query/named (the `GetDocumentsByNamedQuery` operationId).

func (*ClientWithResponses) GetDocumentsByQueryWithBodyWithResponse

func (c *ClientWithResponses) GetDocumentsByQueryWithBodyWithResponse(ctx context.Context, params *GetDocumentsByQueryParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetDocumentsByQueryResponse, error)

GetDocumentsByQueryWithBodyWithResponse Returns the search results.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/query (the `GetDocumentsByQuery` operationId).

func (*ClientWithResponses) GetDocumentsByQueryWithResponse

GetDocumentsByQueryWithResponse Returns the search results.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/query (the `GetDocumentsByQuery` operationId).

func (*ClientWithResponses) GetEmbeddingWithResponse

func (c *ClientWithResponses) GetEmbeddingWithResponse(ctx context.Context, docId string, embeddingId string, params *GetEmbeddingParams, reqEditors ...RequestEditorFn) (*GetEmbeddingResponse, error)

GetEmbeddingWithResponse Get an embedding by id.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/documents/{docId}/embedding/{embeddingId} (the `GetEmbedding` operationId).

func (*ClientWithResponses) GetEmbeddingsByQueryWithBodyWithResponse

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

GetEmbeddingsByQueryWithBodyWithResponse Vector search.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/query/embeddings (the `GetEmbeddingsByQuery` operationId).

func (*ClientWithResponses) GetEmbeddingsByQueryWithResponse

func (c *ClientWithResponses) GetEmbeddingsByQueryWithResponse(ctx context.Context, body GetEmbeddingsByQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*GetEmbeddingsByQueryResponse, error)

GetEmbeddingsByQueryWithResponse Vector search.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/query/embeddings (the `GetEmbeddingsByQuery` operationId).

func (*ClientWithResponses) GetExternalUserRelationsStatusWithResponse

func (c *ClientWithResponses) GetExternalUserRelationsStatusWithResponse(ctx context.Context, policyName string, params *GetExternalUserRelationsStatusParams, reqEditors ...RequestEditorFn) (*GetExternalUserRelationsStatusResponse, error)

GetExternalUserRelationsStatusWithResponse Returns the status of the external user relations for a policy.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/repository/security/policies/{policyName}/externaluserrelations/status (the `GetExternalUserRelationsStatus` operationId).

func (*ClientWithResponses) GetExternalUserRelationsWithResponse

func (c *ClientWithResponses) GetExternalUserRelationsWithResponse(ctx context.Context, policyName string, params *GetExternalUserRelationsParams, reqEditors ...RequestEditorFn) (*GetExternalUserRelationsResponse, error)

GetExternalUserRelationsWithResponse Returns the external user relations for a policy.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/repository/security/policies/{policyName}/externaluserrelations (the `GetExternalUserRelations` operationId).

func (*ClientWithResponses) GetGroupByIdWithResponse

func (c *ClientWithResponses) GetGroupByIdWithResponse(ctx context.Context, groupId string, reqEditors ...RequestEditorFn) (*GetGroupByIdResponse, error)

GetGroupByIdWithResponse Returns the group with given id.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/group/{groupId} (the `GetGroupById` operationId).

func (*ClientWithResponses) GetModelItemsForProjectV2WithResponse

func (c *ClientWithResponses) GetModelItemsForProjectV2WithResponse(ctx context.Context, projectId string, params *GetModelItemsForProjectV2Params, reqEditors ...RequestEditorFn) (*GetModelItemsForProjectV2Response, error)

GetModelItemsForProjectV2WithResponse Returns the model specific to a project for the repository.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v2/repository/model/project/{projectId} (the `GetModelItemsForProjectV2` operationId).

func (*ClientWithResponses) GetModelItemsForProjectWithResponse

func (c *ClientWithResponses) GetModelItemsForProjectWithResponse(ctx context.Context, projectId string, params *GetModelItemsForProjectParams, reqEditors ...RequestEditorFn) (*GetModelItemsForProjectResponse, error)

GetModelItemsForProjectWithResponse Returns the model specific to a project for the repository.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/repository/model/project/{projectId} (the `GetModelItemsForProject` operationId).

func (*ClientWithResponses) GetModelV2WithResponse

func (c *ClientWithResponses) GetModelV2WithResponse(ctx context.Context, params *GetModelV2Params, reqEditors ...RequestEditorFn) (*GetModelV2Response, error)

GetModelV2WithResponse Returns the model and its version for the repository.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v2/repository/model (the `GetModelV2` operationId).

func (*ClientWithResponses) GetModelWithResponse

func (c *ClientWithResponses) GetModelWithResponse(ctx context.Context, params *GetModelParams, reqEditors ...RequestEditorFn) (*GetModelResponse, error)

GetModelWithResponse Returns the model for the repository.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/repository/model (the `GetModel` operationId).

func (*ClientWithResponses) GetNamedQueriesWithResponse

func (c *ClientWithResponses) GetNamedQueriesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetNamedQueriesResponse, error)

GetNamedQueriesWithResponse Returns the named query definition names.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/query/named (the `GetNamedQueries` operationId).

func (*ClientWithResponses) GetNamedQueryWithResponse

func (c *ClientWithResponses) GetNamedQueryWithResponse(ctx context.Context, namedQuery string, reqEditors ...RequestEditorFn) (*GetNamedQueryResponse, error)

GetNamedQueryWithResponse Returns the named query definition.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/query/named/{namedQuery} (the `GetNamedQuery` operationId).

func (*ClientWithResponses) GetSecurityPoliciesV2WithResponse

func (c *ClientWithResponses) GetSecurityPoliciesV2WithResponse(ctx context.Context, params *GetSecurityPoliciesV2Params, reqEditors ...RequestEditorFn) (*GetSecurityPoliciesV2Response, error)

GetSecurityPoliciesV2WithResponse Returns the security policies and their version for the repository.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v2/repository/security/policies (the `GetSecurityPoliciesV2` operationId).

func (*ClientWithResponses) GetSecurityPoliciesWithResponse

func (c *ClientWithResponses) GetSecurityPoliciesWithResponse(ctx context.Context, params *GetSecurityPoliciesParams, reqEditors ...RequestEditorFn) (*GetSecurityPoliciesResponse, error)

GetSecurityPoliciesWithResponse Returns the security policies for the repository.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/repository/security/policies (the `GetSecurityPolicies` operationId).

func (*ClientWithResponses) GetUploadInfoWithResponse

func (c *ClientWithResponses) GetUploadInfoWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetUploadInfoResponse, error)

GetUploadInfoWithResponse Returns the upload information for given id.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/upload/{id} (the `GetUploadInfo` operationId).

func (*ClientWithResponses) GetUserByIdWithResponse

func (c *ClientWithResponses) GetUserByIdWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*GetUserByIdResponse, error)

GetUserByIdWithResponse Returns the user with given id.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/user/{userId} (the `GetUserById` operationId).

func (*ClientWithResponses) GetVocabularyEntriesWithResponse

func (c *ClientWithResponses) GetVocabularyEntriesWithResponse(ctx context.Context, sysvocabId string, params *GetVocabularyEntriesParams, reqEditors ...RequestEditorFn) (*GetVocabularyEntriesResponse, error)

GetVocabularyEntriesWithResponse Returns a list of all vocabulary entries

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/vocabularies/{sysvocab_id} (the `GetVocabularyEntries` operationId).

func (*ClientWithResponses) GetVocabularyEntryWithResponse

func (c *ClientWithResponses) GetVocabularyEntryWithResponse(ctx context.Context, sysvocabId string, sysvocabKey string, params *GetVocabularyEntryParams, reqEditors ...RequestEditorFn) (*GetVocabularyEntryResponse, error)

GetVocabularyEntryWithResponse Returns particular vocabulary entry

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/vocabularies/{sysvocab_id}/{sysvocab_key} (the `GetVocabularyEntry` operationId).

func (*ClientWithResponses) GetVocabularyListWithResponse

func (c *ClientWithResponses) GetVocabularyListWithResponse(ctx context.Context, params *GetVocabularyListParams, reqEditors ...RequestEditorFn) (*GetVocabularyListResponse, error)

GetVocabularyListWithResponse Returns a list of all vocabularies

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/vocabularies (the `GetVocabularyList` operationId).

func (*ClientWithResponses) HelloUserWithResponse

func (c *ClientWithResponses) HelloUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HelloUserResponse, error)

HelloUserWithResponse performs a GET /hello/protected (the `HelloUser` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) HelloWithResponse

func (c *ClientWithResponses) HelloWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HelloResponse, error)

HelloWithResponse performs a GET /hello (the `Hello` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) MoveWithBodyWithResponse

func (c *ClientWithResponses) MoveWithBodyWithResponse(ctx context.Context, docId string, params *MoveParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MoveResponse, error)

MoveWithBodyWithResponse Moves the source document to the provided destination

Move a given document to a given destination. Requires a request body with targetParentId.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/documents/{docId}/move (the `Move` operationId).

func (*ClientWithResponses) MoveWithResponse

func (c *ClientWithResponses) MoveWithResponse(ctx context.Context, docId string, params *MoveParams, body MoveJSONRequestBody, reqEditors ...RequestEditorFn) (*MoveResponse, error)

MoveWithResponse Moves the source document to the provided destination

Move a given document to a given destination. Requires a request body with targetParentId.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/documents/{docId}/move (the `Move` operationId).

func (*ClientWithResponses) PatchDocumentByIdWithApplicationJSONPatchPlusJSONBodyWithResponse

func (c *ClientWithResponses) PatchDocumentByIdWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, docId string, params *PatchDocumentByIdParams, body PatchDocumentByIdApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchDocumentByIdResponse, error)

PatchDocumentByIdWithApplicationJSONPatchPlusJSONBodyWithResponse Patches the document with given id.

Takes a body of the `application/json-patch+json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /api/documents/{docId} (the `PatchDocumentById` operationId).

func (*ClientWithResponses) PatchDocumentByIdWithBodyWithResponse

func (c *ClientWithResponses) PatchDocumentByIdWithBodyWithResponse(ctx context.Context, docId string, params *PatchDocumentByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchDocumentByIdResponse, error)

PatchDocumentByIdWithBodyWithResponse Patches the document with given id.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /api/documents/{docId} (the `PatchDocumentById` operationId).

func (*ClientWithResponses) PatchDocumentByPathWithApplicationJSONPatchPlusJSONBodyWithResponse

func (c *ClientWithResponses) PatchDocumentByPathWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, docPath string, params *PatchDocumentByPathParams, body PatchDocumentByPathApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchDocumentByPathResponse, error)

PatchDocumentByPathWithApplicationJSONPatchPlusJSONBodyWithResponse Patches the document with given path.

Takes a body of the `application/json-patch+json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /api/documents/path/{docPath} (the `PatchDocumentByPath` operationId).

func (*ClientWithResponses) PatchDocumentByPathWithBodyWithResponse

func (c *ClientWithResponses) PatchDocumentByPathWithBodyWithResponse(ctx context.Context, docPath string, params *PatchDocumentByPathParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchDocumentByPathResponse, error)

PatchDocumentByPathWithBodyWithResponse Patches the document with given path.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /api/documents/path/{docPath} (the `PatchDocumentByPath` operationId).

func (*ClientWithResponses) PatchModelWithApplicationJSONPatchPlusJSONBodyWithResponse

func (c *ClientWithResponses) PatchModelWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, params *PatchModelParams, body PatchModelApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchModelResponse, error)

PatchModelWithApplicationJSONPatchPlusJSONBodyWithResponse Patches the model for the repository.

Takes a body of the `application/json-patch+json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /api/repository/model (the `PatchModel` operationId).

func (*ClientWithResponses) PatchModelWithBodyWithResponse

func (c *ClientWithResponses) PatchModelWithBodyWithResponse(ctx context.Context, params *PatchModelParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchModelResponse, error)

PatchModelWithBodyWithResponse Patches the model for the repository.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /api/repository/model (the `PatchModel` operationId).

func (*ClientWithResponses) PatchSecurityPoliciesWithApplicationJSONPatchPlusJSONBodyWithResponse

func (c *ClientWithResponses) PatchSecurityPoliciesWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, params *PatchSecurityPoliciesParams, body PatchSecurityPoliciesApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchSecurityPoliciesResponse, error)

PatchSecurityPoliciesWithApplicationJSONPatchPlusJSONBodyWithResponse Patches the security policies for the repository. Changes to or even tests on fixed security policies (such as acl, lock and retention) will result in an error.

Takes a body of the `application/json-patch+json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /api/repository/security/policies (the `PatchSecurityPolicies` operationId).

func (*ClientWithResponses) PatchSecurityPoliciesWithBodyWithResponse

func (c *ClientWithResponses) PatchSecurityPoliciesWithBodyWithResponse(ctx context.Context, params *PatchSecurityPoliciesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchSecurityPoliciesResponse, error)

PatchSecurityPoliciesWithBodyWithResponse Patches the security policies for the repository. Changes to or even tests on fixed security policies (such as acl, lock and retention) will result in an error.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /api/repository/security/policies (the `PatchSecurityPolicies` operationId).

func (*ClientWithResponses) QueryTermsAggregationWithBodyWithResponse

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

QueryTermsAggregationWithBodyWithResponse Terms aggregation query on a given property.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/query/termsAggregation (the `QueryTermsAggregation` operationId).

func (*ClientWithResponses) QueryTermsAggregationWithResponse

func (c *ClientWithResponses) QueryTermsAggregationWithResponse(ctx context.Context, body QueryTermsAggregationJSONRequestBody, reqEditors ...RequestEditorFn) (*QueryTermsAggregationResponse, error)

QueryTermsAggregationWithResponse Terms aggregation query on a given property.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/query/termsAggregation (the `QueryTermsAggregation` operationId).

func (*ClientWithResponses) RenewCredentialsWithResponse

func (c *ClientWithResponses) RenewCredentialsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*RenewCredentialsResponse, error)

RenewCredentialsWithResponse Renews the credentials for the upload with the given id.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /api/upload/{id}/renewCredentials (the `RenewCredentials` operationId).

func (*ClientWithResponses) RestoreVersionWithResponse

func (c *ClientWithResponses) RestoreVersionWithResponse(ctx context.Context, versionId string, params *RestoreVersionParams, reqEditors ...RequestEditorFn) (*RestoreVersionResponse, error)

RestoreVersionWithResponse Restore a document from given version

Returns a wrapper object for the known response body format(s).

Corresponds with POST /api/documents/{versionId}/restore (the `RestoreVersion` operationId).

func (*ClientWithResponses) SearchGroupsWithResponse

func (c *ClientWithResponses) SearchGroupsWithResponse(ctx context.Context, params *SearchGroupsParams, reqEditors ...RequestEditorFn) (*SearchGroupsResponse, error)

SearchGroupsWithResponse Returns the list of groups which name or label contains the given string. Given name part for searching is null or empty, then return all groups

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/group (the `SearchGroups` operationId).

func (*ClientWithResponses) SearchUsersByNameWithResponse

func (c *ClientWithResponses) SearchUsersByNameWithResponse(ctx context.Context, params *SearchUsersByNameParams, reqEditors ...RequestEditorFn) (*SearchUsersByNameResponse, error)

SearchUsersByNameWithResponse Returns the list of users which username or email address contains the given string

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/user (the `SearchUsersByName` operationId).

func (*ClientWithResponses) SetExternalUserRelationsWithBodyWithResponse

func (c *ClientWithResponses) SetExternalUserRelationsWithBodyWithResponse(ctx context.Context, policyName string, params *SetExternalUserRelationsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetExternalUserRelationsResponse, error)

SetExternalUserRelationsWithBodyWithResponse Sets the external user relations for a policy.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/repository/security/policies/{policyName}/externaluserrelations (the `SetExternalUserRelations` operationId).

func (*ClientWithResponses) SetExternalUserRelationsWithResponse

func (c *ClientWithResponses) SetExternalUserRelationsWithResponse(ctx context.Context, policyName string, params *SetExternalUserRelationsParams, body SetExternalUserRelationsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetExternalUserRelationsResponse, error)

SetExternalUserRelationsWithResponse Sets the external user relations for a policy.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/repository/security/policies/{policyName}/externaluserrelations (the `SetExternalUserRelations` operationId).

func (*ClientWithResponses) SetModelItemsForProjectV2WithBodyWithResponse

func (c *ClientWithResponses) SetModelItemsForProjectV2WithBodyWithResponse(ctx context.Context, projectId string, params *SetModelItemsForProjectV2Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetModelItemsForProjectV2Response, error)

SetModelItemsForProjectV2WithBodyWithResponse Sets the model items specific to projects in the existing content model for the repository, using optimistic locking.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v2/repository/model/project/{projectId} (the `SetModelItemsForProjectV2` operationId).

func (*ClientWithResponses) SetModelItemsForProjectV2WithResponse

SetModelItemsForProjectV2WithResponse Sets the model items specific to projects in the existing content model for the repository, using optimistic locking.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v2/repository/model/project/{projectId} (the `SetModelItemsForProjectV2` operationId).

func (*ClientWithResponses) SetModelItemsForProjectWithBodyWithResponse

func (c *ClientWithResponses) SetModelItemsForProjectWithBodyWithResponse(ctx context.Context, projectId string, params *SetModelItemsForProjectParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetModelItemsForProjectResponse, error)

SetModelItemsForProjectWithBodyWithResponse Sets the model items specific to projects in the existing content model for the repository.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/repository/model/project/{projectId} (the `SetModelItemsForProject` operationId).

func (*ClientWithResponses) SetModelItemsForProjectWithResponse

func (c *ClientWithResponses) SetModelItemsForProjectWithResponse(ctx context.Context, projectId string, params *SetModelItemsForProjectParams, body SetModelItemsForProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*SetModelItemsForProjectResponse, error)

SetModelItemsForProjectWithResponse Sets the model items specific to projects in the existing content model for the repository.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/repository/model/project/{projectId} (the `SetModelItemsForProject` operationId).

func (*ClientWithResponses) SetModelV2WithBodyWithResponse

func (c *ClientWithResponses) SetModelV2WithBodyWithResponse(ctx context.Context, params *SetModelV2Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetModelV2Response, error)

SetModelV2WithBodyWithResponse Sets the model for the repository, using optimistic locking.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v2/repository/model (the `SetModelV2` operationId).

func (*ClientWithResponses) SetModelV2WithResponse

func (c *ClientWithResponses) SetModelV2WithResponse(ctx context.Context, params *SetModelV2Params, body SetModelV2JSONRequestBody, reqEditors ...RequestEditorFn) (*SetModelV2Response, error)

SetModelV2WithResponse Sets the model for the repository, using optimistic locking.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v2/repository/model (the `SetModelV2` operationId).

func (*ClientWithResponses) SetModelWithBodyWithResponse

func (c *ClientWithResponses) SetModelWithBodyWithResponse(ctx context.Context, params *SetModelParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetModelResponse, error)

SetModelWithBodyWithResponse Sets the model for the repository.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/repository/model (the `SetModel` operationId).

func (*ClientWithResponses) SetModelWithResponse

func (c *ClientWithResponses) SetModelWithResponse(ctx context.Context, params *SetModelParams, body SetModelJSONRequestBody, reqEditors ...RequestEditorFn) (*SetModelResponse, error)

SetModelWithResponse Sets the model for the repository.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/repository/model (the `SetModel` operationId).

func (*ClientWithResponses) SetSecurityPoliciesForProjectV2WithBodyWithResponse

func (c *ClientWithResponses) SetSecurityPoliciesForProjectV2WithBodyWithResponse(ctx context.Context, projectId string, params *SetSecurityPoliciesForProjectV2Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetSecurityPoliciesForProjectV2Response, error)

SetSecurityPoliciesForProjectV2WithBodyWithResponse Sets security policies for a specific project, using optimistic locking. Any security policies in the request that have the same name as a system-wide security policy or one for another project will be ignored. The projectId is automatically set in security policies in the request.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v2/repository/security/policies/project/{projectId} (the `SetSecurityPoliciesForProjectV2` operationId).

func (*ClientWithResponses) SetSecurityPoliciesForProjectV2WithResponse

SetSecurityPoliciesForProjectV2WithResponse Sets security policies for a specific project, using optimistic locking. Any security policies in the request that have the same name as a system-wide security policy or one for another project will be ignored. The projectId is automatically set in security policies in the request.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v2/repository/security/policies/project/{projectId} (the `SetSecurityPoliciesForProjectV2` operationId).

func (*ClientWithResponses) SetSecurityPoliciesForProjectWithBodyWithResponse

func (c *ClientWithResponses) SetSecurityPoliciesForProjectWithBodyWithResponse(ctx context.Context, projectId string, params *SetSecurityPoliciesForProjectParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetSecurityPoliciesForProjectResponse, error)

SetSecurityPoliciesForProjectWithBodyWithResponse Sets security policies for a specific project. Any security policies in the request that have the same name as a system-wide security policy or one for another project or will be ignored. The projectId is automatically set in security policies in the request.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/repository/security/policies/project/{projectId} (the `SetSecurityPoliciesForProject` operationId).

func (*ClientWithResponses) SetSecurityPoliciesForProjectWithResponse

SetSecurityPoliciesForProjectWithResponse Sets security policies for a specific project. Any security policies in the request that have the same name as a system-wide security policy or one for another project or will be ignored. The projectId is automatically set in security policies in the request.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/repository/security/policies/project/{projectId} (the `SetSecurityPoliciesForProject` operationId).

func (*ClientWithResponses) SetSecurityPoliciesV2WithBodyWithResponse

func (c *ClientWithResponses) SetSecurityPoliciesV2WithBodyWithResponse(ctx context.Context, params *SetSecurityPoliciesV2Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetSecurityPoliciesV2Response, error)

SetSecurityPoliciesV2WithBodyWithResponse Sets the security policies for the repository, using optimistic locking. Changes to fixed security policies (such as acl, lock and retention) will be ignored.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v2/repository/security/policies (the `SetSecurityPoliciesV2` operationId).

func (*ClientWithResponses) SetSecurityPoliciesV2WithResponse

SetSecurityPoliciesV2WithResponse Sets the security policies for the repository, using optimistic locking. Changes to fixed security policies (such as acl, lock and retention) will be ignored.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v2/repository/security/policies (the `SetSecurityPoliciesV2` operationId).

func (*ClientWithResponses) SetSecurityPoliciesWithBodyWithResponse

func (c *ClientWithResponses) SetSecurityPoliciesWithBodyWithResponse(ctx context.Context, params *SetSecurityPoliciesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetSecurityPoliciesResponse, error)

SetSecurityPoliciesWithBodyWithResponse Sets the security policies for the repository. Changes to fixed security policies (such as acl, lock and retention) will be ignored.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/repository/security/policies (the `SetSecurityPolicies` operationId).

func (*ClientWithResponses) SetSecurityPoliciesWithResponse

SetSecurityPoliciesWithResponse Sets the security policies for the repository. Changes to fixed security policies (such as acl, lock and retention) will be ignored.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/repository/security/policies (the `SetSecurityPolicies` operationId).

func (*ClientWithResponses) UpdateDocumentByIdWithBodyWithResponse

func (c *ClientWithResponses) UpdateDocumentByIdWithBodyWithResponse(ctx context.Context, docId string, params *UpdateDocumentByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDocumentByIdResponse, error)

UpdateDocumentByIdWithBodyWithResponse Updates, or creates-or-updates, the document with given id.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/documents/{docId} (the `UpdateDocumentById` operationId).

func (*ClientWithResponses) UpdateDocumentByIdWithResponse

func (c *ClientWithResponses) UpdateDocumentByIdWithResponse(ctx context.Context, docId string, params *UpdateDocumentByIdParams, body UpdateDocumentByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDocumentByIdResponse, error)

UpdateDocumentByIdWithResponse Updates, or creates-or-updates, the document with given id.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/documents/{docId} (the `UpdateDocumentById` operationId).

func (*ClientWithResponses) UpdateDocumentByPathWithBodyWithResponse

func (c *ClientWithResponses) UpdateDocumentByPathWithBodyWithResponse(ctx context.Context, docPath string, params *UpdateDocumentByPathParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDocumentByPathResponse, error)

UpdateDocumentByPathWithBodyWithResponse Updates, or creates-or-updates, the document with given path.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/documents/path/{docPath} (the `UpdateDocumentByPath` operationId).

func (*ClientWithResponses) UpdateDocumentByPathWithResponse

func (c *ClientWithResponses) UpdateDocumentByPathWithResponse(ctx context.Context, docPath string, params *UpdateDocumentByPathParams, body UpdateDocumentByPathJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDocumentByPathResponse, error)

UpdateDocumentByPathWithResponse Updates, or creates-or-updates, the document with given path.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/documents/path/{docPath} (the `UpdateDocumentByPath` operationId).

func (*ClientWithResponses) UpdateVocabularyEntryWithBodyWithResponse

func (c *ClientWithResponses) UpdateVocabularyEntryWithBodyWithResponse(ctx context.Context, sysvocabId string, params *UpdateVocabularyEntryParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateVocabularyEntryResponse, error)

UpdateVocabularyEntryWithBodyWithResponse Updates and returns particular VocabularyEntry

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/vocabularies/{sysvocab_id} (the `UpdateVocabularyEntry` operationId).

func (*ClientWithResponses) UpdateVocabularyEntryWithResponse

func (c *ClientWithResponses) UpdateVocabularyEntryWithResponse(ctx context.Context, sysvocabId string, params *UpdateVocabularyEntryParams, body UpdateVocabularyEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateVocabularyEntryResponse, error)

UpdateVocabularyEntryWithResponse Updates and returns particular VocabularyEntry

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/vocabularies/{sysvocab_id} (the `UpdateVocabularyEntry` operationId).

func (*ClientWithResponses) UploadWithBodyWithResponse

func (c *ClientWithResponses) UploadWithBodyWithResponse(ctx context.Context, params *UploadParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadResponse, error)

UploadWithBodyWithResponse Uploads a file or a chunk to a given upload.

Upload can be done in several parts, chunk by chunk.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/upload (the `Upload` operationId).

func (*ClientWithResponses) WaitForFullTextSearchIndexingWithResponse

func (c *ClientWithResponses) WaitForFullTextSearchIndexingWithResponse(ctx context.Context, params *WaitForFullTextSearchIndexingParams, reqEditors ...RequestEditorFn) (*WaitForFullTextSearchIndexingResponse, error)

WaitForFullTextSearchIndexingWithResponse Waits for for full text search indexing.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/query/waitForFullTextSearchIndexing (the `WaitForFullTextSearchIndexing` operationId).

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {

	// DeleteDocumentByPathWithResponse Deletes the document with given path.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/documents/path/{docPath} (the `DeleteDocumentByPath` operationId).
	DeleteDocumentByPathWithResponse(ctx context.Context, docPath string, params *DeleteDocumentByPathParams, reqEditors ...RequestEditorFn) (*DeleteDocumentByPathResponse, error)

	// GetDocumentByPathWithResponse Returns the document with given path.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/documents/path/{docPath} (the `GetDocumentByPath` operationId).
	GetDocumentByPathWithResponse(ctx context.Context, docPath string, params *GetDocumentByPathParams, reqEditors ...RequestEditorFn) (*GetDocumentByPathResponse, error)

	// PatchDocumentByPathWithBodyWithResponse Patches the document with given path.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api/documents/path/{docPath} (the `PatchDocumentByPath` operationId).
	PatchDocumentByPathWithBodyWithResponse(ctx context.Context, docPath string, params *PatchDocumentByPathParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchDocumentByPathResponse, error)

	// PatchDocumentByPathWithApplicationJSONPatchPlusJSONBodyWithResponse Patches the document with given path.
	//
	// Takes a body of the `application/json-patch+json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api/documents/path/{docPath} (the `PatchDocumentByPath` operationId).
	PatchDocumentByPathWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, docPath string, params *PatchDocumentByPathParams, body PatchDocumentByPathApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchDocumentByPathResponse, error)

	// CreateDocumentUnderParentByPathWithBodyWithResponse Creates a document under parent with given path.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/documents/path/{docPath} (the `CreateDocumentUnderParentByPath` operationId).
	CreateDocumentUnderParentByPathWithBodyWithResponse(ctx context.Context, docPath string, params *CreateDocumentUnderParentByPathParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDocumentUnderParentByPathResponse, error)

	// CreateDocumentUnderParentByPathWithResponse Creates a document under parent with given path.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/documents/path/{docPath} (the `CreateDocumentUnderParentByPath` operationId).
	CreateDocumentUnderParentByPathWithResponse(ctx context.Context, docPath string, params *CreateDocumentUnderParentByPathParams, body CreateDocumentUnderParentByPathJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDocumentUnderParentByPathResponse, error)

	// UpdateDocumentByPathWithBodyWithResponse Updates, or creates-or-updates, the document with given path.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/documents/path/{docPath} (the `UpdateDocumentByPath` operationId).
	UpdateDocumentByPathWithBodyWithResponse(ctx context.Context, docPath string, params *UpdateDocumentByPathParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDocumentByPathResponse, error)

	// UpdateDocumentByPathWithResponse Updates, or creates-or-updates, the document with given path.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/documents/path/{docPath} (the `UpdateDocumentByPath` operationId).
	UpdateDocumentByPathWithResponse(ctx context.Context, docPath string, params *UpdateDocumentByPathParams, body UpdateDocumentByPathJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDocumentByPathResponse, error)

	// DeleteDocumentByIdWithResponse Deletes the document with given id.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/documents/{docId} (the `DeleteDocumentById` operationId).
	DeleteDocumentByIdWithResponse(ctx context.Context, docId string, params *DeleteDocumentByIdParams, reqEditors ...RequestEditorFn) (*DeleteDocumentByIdResponse, error)

	// GetDocumentByIdWithResponse Returns the document with given id.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/documents/{docId} (the `GetDocumentById` operationId).
	GetDocumentByIdWithResponse(ctx context.Context, docId string, params *GetDocumentByIdParams, reqEditors ...RequestEditorFn) (*GetDocumentByIdResponse, error)

	// PatchDocumentByIdWithBodyWithResponse Patches the document with given id.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api/documents/{docId} (the `PatchDocumentById` operationId).
	PatchDocumentByIdWithBodyWithResponse(ctx context.Context, docId string, params *PatchDocumentByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchDocumentByIdResponse, error)

	// PatchDocumentByIdWithApplicationJSONPatchPlusJSONBodyWithResponse Patches the document with given id.
	//
	// Takes a body of the `application/json-patch+json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api/documents/{docId} (the `PatchDocumentById` operationId).
	PatchDocumentByIdWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, docId string, params *PatchDocumentByIdParams, body PatchDocumentByIdApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchDocumentByIdResponse, error)

	// CreateDocumentUnderParentByIdWithBodyWithResponse Creates a document under parent with given id.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/documents/{docId} (the `CreateDocumentUnderParentById` operationId).
	CreateDocumentUnderParentByIdWithBodyWithResponse(ctx context.Context, docId string, params *CreateDocumentUnderParentByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDocumentUnderParentByIdResponse, error)

	// CreateDocumentUnderParentByIdWithResponse Creates a document under parent with given id.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/documents/{docId} (the `CreateDocumentUnderParentById` operationId).
	CreateDocumentUnderParentByIdWithResponse(ctx context.Context, docId string, params *CreateDocumentUnderParentByIdParams, body CreateDocumentUnderParentByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDocumentUnderParentByIdResponse, error)

	// UpdateDocumentByIdWithBodyWithResponse Updates, or creates-or-updates, the document with given id.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/documents/{docId} (the `UpdateDocumentById` operationId).
	UpdateDocumentByIdWithBodyWithResponse(ctx context.Context, docId string, params *UpdateDocumentByIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDocumentByIdResponse, error)

	// UpdateDocumentByIdWithResponse Updates, or creates-or-updates, the document with given id.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/documents/{docId} (the `UpdateDocumentById` operationId).
	UpdateDocumentByIdWithResponse(ctx context.Context, docId string, params *UpdateDocumentByIdParams, body UpdateDocumentByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDocumentByIdResponse, error)

	// GetDocumentAncestorsWithResponse Returns the document's ancestors.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/documents/{docId}/ancestors (the `GetDocumentAncestors` operationId).
	GetDocumentAncestorsWithResponse(ctx context.Context, docId string, params *GetDocumentAncestorsParams, reqEditors ...RequestEditorFn) (*GetDocumentAncestorsResponse, error)

	// CheckinWithResponse Checks in the document, creating a version.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/documents/{docId}/checkin (the `Checkin` operationId).
	CheckinWithResponse(ctx context.Context, docId string, params *CheckinParams, reqEditors ...RequestEditorFn) (*CheckinResponse, error)

	// CopyWithBodyWithResponse Copies the source document inside the destination folder
	//
	// Copy a given document id to a given destination folder.  Requires request body with target name and targetParentId
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/documents/{docId}/copy (the `Copy` operationId).
	CopyWithBodyWithResponse(ctx context.Context, docId string, params *CopyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CopyResponse, error)

	// CopyWithResponse Copies the source document inside the destination folder
	//
	// Copy a given document id to a given destination folder.  Requires request body with target name and targetParentId
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/documents/{docId}/copy (the `Copy` operationId).
	CopyWithResponse(ctx context.Context, docId string, params *CopyParams, body CopyJSONRequestBody, reqEditors ...RequestEditorFn) (*CopyResponse, error)

	// GetEmbeddingWithResponse Get an embedding by id.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/documents/{docId}/embedding/{embeddingId} (the `GetEmbedding` operationId).
	GetEmbeddingWithResponse(ctx context.Context, docId string, embeddingId string, params *GetEmbeddingParams, reqEditors ...RequestEditorFn) (*GetEmbeddingResponse, error)

	// FulleffectiveaclWithResponse Fetch the full list of effective ACL on the document.
	//
	// Fetch the full list of effective ACL on the document for the given list of users.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/documents/{docId}/fulleffectiveacl (the `Fulleffectiveacl` operationId).
	FulleffectiveaclWithResponse(ctx context.Context, docId string, params *FulleffectiveaclParams, reqEditors ...RequestEditorFn) (*FulleffectiveaclResponse, error)

	// FulleffectivepermissionsWithResponse Fetch the full list of effective permissions on the document.
	//
	// Fetch the full list of effective permissions on the document for the given list of users.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/documents/{docId}/fulleffectivepermissions (the `Fulleffectivepermissions` operationId).
	FulleffectivepermissionsWithResponse(ctx context.Context, docId string, params *FulleffectivepermissionsParams, reqEditors ...RequestEditorFn) (*FulleffectivepermissionsResponse, error)

	// MoveWithBodyWithResponse Moves the source document to the provided destination
	//
	// Move a given document to a given destination. Requires a request body with targetParentId.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/documents/{docId}/move (the `Move` operationId).
	MoveWithBodyWithResponse(ctx context.Context, docId string, params *MoveParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MoveResponse, error)

	// MoveWithResponse Moves the source document to the provided destination
	//
	// Move a given document to a given destination. Requires a request body with targetParentId.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/documents/{docId}/move (the `Move` operationId).
	MoveWithResponse(ctx context.Context, docId string, params *MoveParams, body MoveJSONRequestBody, reqEditors ...RequestEditorFn) (*MoveResponse, error)

	// RestoreVersionWithResponse Restore a document from given version
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/documents/{versionId}/restore (the `RestoreVersion` operationId).
	RestoreVersionWithResponse(ctx context.Context, versionId string, params *RestoreVersionParams, reqEditors ...RequestEditorFn) (*RestoreVersionResponse, error)

	// DownloadUrlByIdAndXPathWithResponse Returns the the pre-signed S3 Url for a downloadable object.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/download/url/{docId}/{propertyXPathAndFilename} (the `DownloadUrlByIdAndXPath` operationId).
	DownloadUrlByIdAndXPathWithResponse(ctx context.Context, docId string, propertyXPathAndFilename string, params *DownloadUrlByIdAndXPathParams, reqEditors ...RequestEditorFn) (*DownloadUrlByIdAndXPathResponse, error)

	// DownloadByIdAndXPathWithResponse Returns the document blob.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/download/{docId}/{propertyXPathAndFilename} (the `DownloadByIdAndXPath` operationId).
	DownloadByIdAndXPathWithResponse(ctx context.Context, docId string, propertyXPathAndFilename string, params *DownloadByIdAndXPathParams, reqEditors ...RequestEditorFn) (*DownloadByIdAndXPathResponse, error)

	// DownloadInfoByIdAndXPathWithResponse Returns the document blob information.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with HEAD /api/download/{docId}/{propertyXPathAndFilename} (the `DownloadInfoByIdAndXPath` operationId).
	DownloadInfoByIdAndXPathWithResponse(ctx context.Context, docId string, propertyXPathAndFilename string, params *DownloadInfoByIdAndXPathParams, reqEditors ...RequestEditorFn) (*DownloadInfoByIdAndXPathResponse, error)

	// SearchGroupsWithResponse Returns the list of groups which name or label contains the given string. Given name part for searching is null or empty, then return all groups
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/group (the `SearchGroups` operationId).
	SearchGroupsWithResponse(ctx context.Context, params *SearchGroupsParams, reqEditors ...RequestEditorFn) (*SearchGroupsResponse, error)

	// GetGroupByIdWithResponse Returns the group with given id.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/group/{groupId} (the `GetGroupById` operationId).
	GetGroupByIdWithResponse(ctx context.Context, groupId string, reqEditors ...RequestEditorFn) (*GetGroupByIdResponse, error)

	// GetDocumentsByQueryWithBodyWithResponse Returns the search results.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/query (the `GetDocumentsByQuery` operationId).
	GetDocumentsByQueryWithBodyWithResponse(ctx context.Context, params *GetDocumentsByQueryParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetDocumentsByQueryResponse, error)

	// GetDocumentsByQueryWithResponse Returns the search results.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/query (the `GetDocumentsByQuery` operationId).
	GetDocumentsByQueryWithResponse(ctx context.Context, params *GetDocumentsByQueryParams, body GetDocumentsByQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*GetDocumentsByQueryResponse, error)

	// GetDocumentsByAdvancedQueryWithBodyWithResponse Returns the advanced search results.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/query/advanced (the `GetDocumentsByAdvancedQuery` operationId).
	GetDocumentsByAdvancedQueryWithBodyWithResponse(ctx context.Context, params *GetDocumentsByAdvancedQueryParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetDocumentsByAdvancedQueryResponse, error)

	// GetDocumentsByAdvancedQueryWithResponse Returns the advanced search results.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/query/advanced (the `GetDocumentsByAdvancedQuery` operationId).
	GetDocumentsByAdvancedQueryWithResponse(ctx context.Context, params *GetDocumentsByAdvancedQueryParams, body GetDocumentsByAdvancedQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*GetDocumentsByAdvancedQueryResponse, error)

	// GetEmbeddingsByQueryWithBodyWithResponse Vector search.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/query/embeddings (the `GetEmbeddingsByQuery` operationId).
	GetEmbeddingsByQueryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetEmbeddingsByQueryResponse, error)

	// GetEmbeddingsByQueryWithResponse Vector search.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/query/embeddings (the `GetEmbeddingsByQuery` operationId).
	GetEmbeddingsByQueryWithResponse(ctx context.Context, body GetEmbeddingsByQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*GetEmbeddingsByQueryResponse, error)

	// GetNamedQueriesWithResponse Returns the named query definition names.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/query/named (the `GetNamedQueries` operationId).
	GetNamedQueriesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetNamedQueriesResponse, error)

	// GetDocumentsByNamedQueryWithBodyWithResponse Returns the search results for given named query.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/query/named (the `GetDocumentsByNamedQuery` operationId).
	GetDocumentsByNamedQueryWithBodyWithResponse(ctx context.Context, params *GetDocumentsByNamedQueryParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetDocumentsByNamedQueryResponse, error)

	// GetDocumentsByNamedQueryWithResponse Returns the search results for given named query.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/query/named (the `GetDocumentsByNamedQuery` operationId).
	GetDocumentsByNamedQueryWithResponse(ctx context.Context, params *GetDocumentsByNamedQueryParams, body GetDocumentsByNamedQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*GetDocumentsByNamedQueryResponse, error)

	// GetNamedQueryWithResponse Returns the named query definition.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/query/named/{namedQuery} (the `GetNamedQuery` operationId).
	GetNamedQueryWithResponse(ctx context.Context, namedQuery string, reqEditors ...RequestEditorFn) (*GetNamedQueryResponse, error)

	// QueryTermsAggregationWithBodyWithResponse Terms aggregation query on a given property.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/query/termsAggregation (the `QueryTermsAggregation` operationId).
	QueryTermsAggregationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*QueryTermsAggregationResponse, error)

	// QueryTermsAggregationWithResponse Terms aggregation query on a given property.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/query/termsAggregation (the `QueryTermsAggregation` operationId).
	QueryTermsAggregationWithResponse(ctx context.Context, body QueryTermsAggregationJSONRequestBody, reqEditors ...RequestEditorFn) (*QueryTermsAggregationResponse, error)

	// WaitForFullTextSearchIndexingWithResponse Waits for for full text search indexing.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/query/waitForFullTextSearchIndexing (the `WaitForFullTextSearchIndexing` operationId).
	WaitForFullTextSearchIndexingWithResponse(ctx context.Context, params *WaitForFullTextSearchIndexingParams, reqEditors ...RequestEditorFn) (*WaitForFullTextSearchIndexingResponse, error)

	// GetModelWithResponse Returns the model for the repository.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/repository/model (the `GetModel` operationId).
	GetModelWithResponse(ctx context.Context, params *GetModelParams, reqEditors ...RequestEditorFn) (*GetModelResponse, error)

	// PatchModelWithBodyWithResponse Patches the model for the repository.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api/repository/model (the `PatchModel` operationId).
	PatchModelWithBodyWithResponse(ctx context.Context, params *PatchModelParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchModelResponse, error)

	// PatchModelWithApplicationJSONPatchPlusJSONBodyWithResponse Patches the model for the repository.
	//
	// Takes a body of the `application/json-patch+json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api/repository/model (the `PatchModel` operationId).
	PatchModelWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, params *PatchModelParams, body PatchModelApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchModelResponse, error)

	// SetModelWithBodyWithResponse Sets the model for the repository.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/repository/model (the `SetModel` operationId).
	SetModelWithBodyWithResponse(ctx context.Context, params *SetModelParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetModelResponse, error)

	// SetModelWithResponse Sets the model for the repository.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/repository/model (the `SetModel` operationId).
	SetModelWithResponse(ctx context.Context, params *SetModelParams, body SetModelJSONRequestBody, reqEditors ...RequestEditorFn) (*SetModelResponse, error)

	// GetModelItemsForProjectWithResponse Returns the model specific to a project for the repository.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/repository/model/project/{projectId} (the `GetModelItemsForProject` operationId).
	GetModelItemsForProjectWithResponse(ctx context.Context, projectId string, params *GetModelItemsForProjectParams, reqEditors ...RequestEditorFn) (*GetModelItemsForProjectResponse, error)

	// SetModelItemsForProjectWithBodyWithResponse Sets the model items specific to projects in the existing content model for the repository.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/repository/model/project/{projectId} (the `SetModelItemsForProject` operationId).
	SetModelItemsForProjectWithBodyWithResponse(ctx context.Context, projectId string, params *SetModelItemsForProjectParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetModelItemsForProjectResponse, error)

	// SetModelItemsForProjectWithResponse Sets the model items specific to projects in the existing content model for the repository.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/repository/model/project/{projectId} (the `SetModelItemsForProject` operationId).
	SetModelItemsForProjectWithResponse(ctx context.Context, projectId string, params *SetModelItemsForProjectParams, body SetModelItemsForProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*SetModelItemsForProjectResponse, error)

	// GetSecurityPoliciesWithResponse Returns the security policies for the repository.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/repository/security/policies (the `GetSecurityPolicies` operationId).
	GetSecurityPoliciesWithResponse(ctx context.Context, params *GetSecurityPoliciesParams, reqEditors ...RequestEditorFn) (*GetSecurityPoliciesResponse, error)

	// PatchSecurityPoliciesWithBodyWithResponse Patches the security policies for the repository. Changes to or even tests on fixed security policies (such as acl, lock and retention) will result in an error.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api/repository/security/policies (the `PatchSecurityPolicies` operationId).
	PatchSecurityPoliciesWithBodyWithResponse(ctx context.Context, params *PatchSecurityPoliciesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchSecurityPoliciesResponse, error)

	// PatchSecurityPoliciesWithApplicationJSONPatchPlusJSONBodyWithResponse Patches the security policies for the repository. Changes to or even tests on fixed security policies (such as acl, lock and retention) will result in an error.
	//
	// Takes a body of the `application/json-patch+json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api/repository/security/policies (the `PatchSecurityPolicies` operationId).
	PatchSecurityPoliciesWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, params *PatchSecurityPoliciesParams, body PatchSecurityPoliciesApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchSecurityPoliciesResponse, error)

	// SetSecurityPoliciesWithBodyWithResponse Sets the security policies for the repository. Changes to fixed security policies (such as acl, lock and retention) will be ignored.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/repository/security/policies (the `SetSecurityPolicies` operationId).
	SetSecurityPoliciesWithBodyWithResponse(ctx context.Context, params *SetSecurityPoliciesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetSecurityPoliciesResponse, error)

	// SetSecurityPoliciesWithResponse Sets the security policies for the repository. Changes to fixed security policies (such as acl, lock and retention) will be ignored.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/repository/security/policies (the `SetSecurityPolicies` operationId).
	SetSecurityPoliciesWithResponse(ctx context.Context, params *SetSecurityPoliciesParams, body SetSecurityPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*SetSecurityPoliciesResponse, error)

	// SetSecurityPoliciesForProjectWithBodyWithResponse Sets security policies for a specific project. Any security policies in the request that have the same name as a system-wide security policy or one for another project or will be ignored. The projectId is automatically set in security policies in the request.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/repository/security/policies/project/{projectId} (the `SetSecurityPoliciesForProject` operationId).
	SetSecurityPoliciesForProjectWithBodyWithResponse(ctx context.Context, projectId string, params *SetSecurityPoliciesForProjectParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetSecurityPoliciesForProjectResponse, error)

	// SetSecurityPoliciesForProjectWithResponse Sets security policies for a specific project. Any security policies in the request that have the same name as a system-wide security policy or one for another project or will be ignored. The projectId is automatically set in security policies in the request.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/repository/security/policies/project/{projectId} (the `SetSecurityPoliciesForProject` operationId).
	SetSecurityPoliciesForProjectWithResponse(ctx context.Context, projectId string, params *SetSecurityPoliciesForProjectParams, body SetSecurityPoliciesForProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*SetSecurityPoliciesForProjectResponse, error)

	// GetExternalUserRelationsWithResponse Returns the external user relations for a policy.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/repository/security/policies/{policyName}/externaluserrelations (the `GetExternalUserRelations` operationId).
	GetExternalUserRelationsWithResponse(ctx context.Context, policyName string, params *GetExternalUserRelationsParams, reqEditors ...RequestEditorFn) (*GetExternalUserRelationsResponse, error)

	// SetExternalUserRelationsWithBodyWithResponse Sets the external user relations for a policy.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/repository/security/policies/{policyName}/externaluserrelations (the `SetExternalUserRelations` operationId).
	SetExternalUserRelationsWithBodyWithResponse(ctx context.Context, policyName string, params *SetExternalUserRelationsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetExternalUserRelationsResponse, error)

	// SetExternalUserRelationsWithResponse Sets the external user relations for a policy.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/repository/security/policies/{policyName}/externaluserrelations (the `SetExternalUserRelations` operationId).
	SetExternalUserRelationsWithResponse(ctx context.Context, policyName string, params *SetExternalUserRelationsParams, body SetExternalUserRelationsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetExternalUserRelationsResponse, error)

	// GetExternalUserRelationsStatusWithResponse Returns the status of the external user relations for a policy.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/repository/security/policies/{policyName}/externaluserrelations/status (the `GetExternalUserRelationsStatus` operationId).
	GetExternalUserRelationsStatusWithResponse(ctx context.Context, policyName string, params *GetExternalUserRelationsStatusParams, reqEditors ...RequestEditorFn) (*GetExternalUserRelationsStatusResponse, error)

	// UploadWithBodyWithResponse Uploads a file or a chunk to a given upload.
	//
	// Upload can be done in several parts, chunk by chunk.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/upload (the `Upload` operationId).
	UploadWithBodyWithResponse(ctx context.Context, params *UploadParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadResponse, error)

	// CreateUploadWithResponse Creates a new upload and return its generated identifier and properties.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/upload/create (the `CreateUpload` operationId).
	CreateUploadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CreateUploadResponse, error)

	// DeleteUploadWithResponse Cancels the upload with the given id.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/upload/{id} (the `DeleteUpload` operationId).
	DeleteUploadWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteUploadResponse, error)

	// GetUploadInfoWithResponse Returns the upload information for given id.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/upload/{id} (the `GetUploadInfo` operationId).
	GetUploadInfoWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetUploadInfoResponse, error)

	// CompleteWithBodyWithResponse Completes the upload with the given id.
	//
	// Completion is mainly useful for s3 direct upload, where
	// the upload has been created thanks to this API, but download has been done directly on the target s3 bucket.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/upload/{id}/complete (the `Complete` operationId).
	CompleteWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CompleteResponse, error)

	// CompleteWithResponse Completes the upload with the given id.
	//
	// Completion is mainly useful for s3 direct upload, where
	// the upload has been created thanks to this API, but download has been done directly on the target s3 bucket.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/upload/{id}/complete (the `Complete` operationId).
	CompleteWithResponse(ctx context.Context, id string, body CompleteJSONRequestBody, reqEditors ...RequestEditorFn) (*CompleteResponse, error)

	// RenewCredentialsWithResponse Renews the credentials for the upload with the given id.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/upload/{id}/renewCredentials (the `RenewCredentials` operationId).
	RenewCredentialsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*RenewCredentialsResponse, error)

	// SearchUsersByNameWithResponse Returns the list of users which username or email address contains the given string
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/user (the `SearchUsersByName` operationId).
	SearchUsersByNameWithResponse(ctx context.Context, params *SearchUsersByNameParams, reqEditors ...RequestEditorFn) (*SearchUsersByNameResponse, error)

	// GetUserByIdWithResponse Returns the user with given id.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/user/{userId} (the `GetUserById` operationId).
	GetUserByIdWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*GetUserByIdResponse, error)

	// GetModelV2WithResponse Returns the model and its version for the repository.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v2/repository/model (the `GetModelV2` operationId).
	GetModelV2WithResponse(ctx context.Context, params *GetModelV2Params, reqEditors ...RequestEditorFn) (*GetModelV2Response, error)

	// SetModelV2WithBodyWithResponse Sets the model for the repository, using optimistic locking.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v2/repository/model (the `SetModelV2` operationId).
	SetModelV2WithBodyWithResponse(ctx context.Context, params *SetModelV2Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetModelV2Response, error)

	// SetModelV2WithResponse Sets the model for the repository, using optimistic locking.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v2/repository/model (the `SetModelV2` operationId).
	SetModelV2WithResponse(ctx context.Context, params *SetModelV2Params, body SetModelV2JSONRequestBody, reqEditors ...RequestEditorFn) (*SetModelV2Response, error)

	// GetModelItemsForProjectV2WithResponse Returns the model specific to a project for the repository.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v2/repository/model/project/{projectId} (the `GetModelItemsForProjectV2` operationId).
	GetModelItemsForProjectV2WithResponse(ctx context.Context, projectId string, params *GetModelItemsForProjectV2Params, reqEditors ...RequestEditorFn) (*GetModelItemsForProjectV2Response, error)

	// SetModelItemsForProjectV2WithBodyWithResponse Sets the model items specific to projects in the existing content model for the repository, using optimistic locking.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v2/repository/model/project/{projectId} (the `SetModelItemsForProjectV2` operationId).
	SetModelItemsForProjectV2WithBodyWithResponse(ctx context.Context, projectId string, params *SetModelItemsForProjectV2Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetModelItemsForProjectV2Response, error)

	// SetModelItemsForProjectV2WithResponse Sets the model items specific to projects in the existing content model for the repository, using optimistic locking.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v2/repository/model/project/{projectId} (the `SetModelItemsForProjectV2` operationId).
	SetModelItemsForProjectV2WithResponse(ctx context.Context, projectId string, params *SetModelItemsForProjectV2Params, body SetModelItemsForProjectV2JSONRequestBody, reqEditors ...RequestEditorFn) (*SetModelItemsForProjectV2Response, error)

	// GetSecurityPoliciesV2WithResponse Returns the security policies and their version for the repository.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v2/repository/security/policies (the `GetSecurityPoliciesV2` operationId).
	GetSecurityPoliciesV2WithResponse(ctx context.Context, params *GetSecurityPoliciesV2Params, reqEditors ...RequestEditorFn) (*GetSecurityPoliciesV2Response, error)

	// SetSecurityPoliciesV2WithBodyWithResponse Sets the security policies for the repository, using optimistic locking. Changes to fixed security policies (such as acl, lock and retention) will be ignored.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v2/repository/security/policies (the `SetSecurityPoliciesV2` operationId).
	SetSecurityPoliciesV2WithBodyWithResponse(ctx context.Context, params *SetSecurityPoliciesV2Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetSecurityPoliciesV2Response, error)

	// SetSecurityPoliciesV2WithResponse Sets the security policies for the repository, using optimistic locking. Changes to fixed security policies (such as acl, lock and retention) will be ignored.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v2/repository/security/policies (the `SetSecurityPoliciesV2` operationId).
	SetSecurityPoliciesV2WithResponse(ctx context.Context, params *SetSecurityPoliciesV2Params, body SetSecurityPoliciesV2JSONRequestBody, reqEditors ...RequestEditorFn) (*SetSecurityPoliciesV2Response, error)

	// SetSecurityPoliciesForProjectV2WithBodyWithResponse Sets security policies for a specific project, using optimistic locking. Any security policies in the request that have the same name as a system-wide security policy or one for another project will be ignored. The projectId is automatically set in security policies in the request.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v2/repository/security/policies/project/{projectId} (the `SetSecurityPoliciesForProjectV2` operationId).
	SetSecurityPoliciesForProjectV2WithBodyWithResponse(ctx context.Context, projectId string, params *SetSecurityPoliciesForProjectV2Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetSecurityPoliciesForProjectV2Response, error)

	// SetSecurityPoliciesForProjectV2WithResponse Sets security policies for a specific project, using optimistic locking. Any security policies in the request that have the same name as a system-wide security policy or one for another project will be ignored. The projectId is automatically set in security policies in the request.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v2/repository/security/policies/project/{projectId} (the `SetSecurityPoliciesForProjectV2` operationId).
	SetSecurityPoliciesForProjectV2WithResponse(ctx context.Context, projectId string, params *SetSecurityPoliciesForProjectV2Params, body SetSecurityPoliciesForProjectV2JSONRequestBody, reqEditors ...RequestEditorFn) (*SetSecurityPoliciesForProjectV2Response, error)

	// GetVocabularyListWithResponse Returns a list of all vocabularies
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/vocabularies (the `GetVocabularyList` operationId).
	GetVocabularyListWithResponse(ctx context.Context, params *GetVocabularyListParams, reqEditors ...RequestEditorFn) (*GetVocabularyListResponse, error)

	// CreateVocabularyWithBodyWithResponse Creates a vocabulary
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/vocabularies (the `CreateVocabulary` operationId).
	CreateVocabularyWithBodyWithResponse(ctx context.Context, params *CreateVocabularyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVocabularyResponse, error)

	// CreateVocabularyWithResponse Creates a vocabulary
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/vocabularies (the `CreateVocabulary` operationId).
	CreateVocabularyWithResponse(ctx context.Context, params *CreateVocabularyParams, body CreateVocabularyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVocabularyResponse, error)

	// DeleteVocabularyWithResponse Deletes vocabulary along with its entries
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/vocabularies/{sysvocab_id} (the `DeleteVocabulary` operationId).
	DeleteVocabularyWithResponse(ctx context.Context, sysvocabId string, params *DeleteVocabularyParams, reqEditors ...RequestEditorFn) (*DeleteVocabularyResponse, error)

	// GetVocabularyEntriesWithResponse Returns a list of all vocabulary entries
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/vocabularies/{sysvocab_id} (the `GetVocabularyEntries` operationId).
	GetVocabularyEntriesWithResponse(ctx context.Context, sysvocabId string, params *GetVocabularyEntriesParams, reqEditors ...RequestEditorFn) (*GetVocabularyEntriesResponse, error)

	// CreateVocabularyEntryWithBodyWithResponse Creates an entry for vocabulary
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/vocabularies/{sysvocab_id} (the `CreateVocabularyEntry` operationId).
	CreateVocabularyEntryWithBodyWithResponse(ctx context.Context, sysvocabId string, params *CreateVocabularyEntryParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVocabularyEntryResponse, error)

	// CreateVocabularyEntryWithResponse Creates an entry for vocabulary
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/vocabularies/{sysvocab_id} (the `CreateVocabularyEntry` operationId).
	CreateVocabularyEntryWithResponse(ctx context.Context, sysvocabId string, params *CreateVocabularyEntryParams, body CreateVocabularyEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVocabularyEntryResponse, error)

	// UpdateVocabularyEntryWithBodyWithResponse Updates and returns particular VocabularyEntry
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/vocabularies/{sysvocab_id} (the `UpdateVocabularyEntry` operationId).
	UpdateVocabularyEntryWithBodyWithResponse(ctx context.Context, sysvocabId string, params *UpdateVocabularyEntryParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateVocabularyEntryResponse, error)

	// UpdateVocabularyEntryWithResponse Updates and returns particular VocabularyEntry
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/vocabularies/{sysvocab_id} (the `UpdateVocabularyEntry` operationId).
	UpdateVocabularyEntryWithResponse(ctx context.Context, sysvocabId string, params *UpdateVocabularyEntryParams, body UpdateVocabularyEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateVocabularyEntryResponse, error)

	// DeleteVocabularyEntryWithResponse Deletes entry of a vocabulary
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/vocabularies/{sysvocab_id}/{sysvocab_key} (the `DeleteVocabularyEntry` operationId).
	DeleteVocabularyEntryWithResponse(ctx context.Context, sysvocabId string, sysvocabKey string, params *DeleteVocabularyEntryParams, reqEditors ...RequestEditorFn) (*DeleteVocabularyEntryResponse, error)

	// GetVocabularyEntryWithResponse Returns particular vocabulary entry
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/vocabularies/{sysvocab_id}/{sysvocab_key} (the `GetVocabularyEntry` operationId).
	GetVocabularyEntryWithResponse(ctx context.Context, sysvocabId string, sysvocabKey string, params *GetVocabularyEntryParams, reqEditors ...RequestEditorFn) (*GetVocabularyEntryResponse, error)

	// HelloWithResponse performs a GET /hello (the `Hello` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	HelloWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HelloResponse, error)

	// HelloUserWithResponse performs a GET /hello/protected (the `HelloUser` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	HelloUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HelloUserResponse, error)
}

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

type CompleteJSONRequestBody

type CompleteJSONRequestBody = UploadFileInfo

CompleteJSONRequestBody defines body for Complete for application/json ContentType.

type CompleteResponse

type CompleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseCompleteResponse

func ParseCompleteResponse(rsp *http.Response) (*CompleteResponse, error)

ParseCompleteResponse parses an HTTP response from a CompleteWithResponse call

func (CompleteResponse) ContentType

func (r CompleteResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CompleteResponse) GetBody

func (r CompleteResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CompleteResponse) Status

func (r CompleteResponse) Status() string

Status returns HTTPResponse.Status

func (CompleteResponse) StatusCode

func (r CompleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Constraint

type Constraint struct {
	Enumeration  *[]map[string]interface{} `json:"enumeration,omitempty"`
	MaxExclusive *map[string]interface{}   `json:"maxExclusive,omitempty"`
	MaxInclusive *map[string]interface{}   `json:"maxInclusive,omitempty"`
	MaxLength    *int64                    `json:"maxLength,omitempty"`
	MinExclusive *map[string]interface{}   `json:"minExclusive,omitempty"`
	MinInclusive *map[string]interface{}   `json:"minInclusive,omitempty"`
	MinLength    *int64                    `json:"minLength,omitempty"`
	Nullable     *bool                     `json:"nullable,omitempty"`
	Pattern      *string                   `json:"pattern,omitempty"`

	// Resolver Represents a resolver. Beyond "name" and "validation", the properties are resolver-specific parameters, e.g. "vocabulary", "repository", "store" or "type".
	Resolver *Resolver `json:"resolver,omitempty"`
}

Constraint Represents a constraint.

type CopyCommand

type CopyCommand struct {
	// Name Name of the document after copying.  Example: "name": "Copied file name"
	Name string `json:"name"`

	// TargetParentId Target parent id where the document will be copied.  Example: "targetParentId": "097d50d7-f839-440a-b72c-f2a51ea214b7"
	TargetParentId string `json:"targetParentId"`
}

CopyCommand Represents Copy API's HTTP Post body.

type CopyJSONRequestBody

type CopyJSONRequestBody = CopyCommand

CopyJSONRequestBody defines body for Copy for application/json ContentType.

type CopyParams

type CopyParams struct {
	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

CopyParams defines parameters for Copy.

type CopyResponse

type CopyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Document
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *Document
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *Document
}

func ParseCopyResponse

func ParseCopyResponse(rsp *http.Response) (*CopyResponse, error)

ParseCopyResponse parses an HTTP response from a CopyWithResponse call

func (CopyResponse) ContentType

func (r CopyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CopyResponse) GetApplicationvndHxcsJSON200

func (r CopyResponse) GetApplicationvndHxcsJSON200() *Document

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (CopyResponse) GetApplicationvndHxcsV1JSON200

func (r CopyResponse) GetApplicationvndHxcsV1JSON200() *Document

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (CopyResponse) GetBody

func (r CopyResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CopyResponse) GetJSON200

func (r CopyResponse) GetJSON200() *Document

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CopyResponse) Status

func (r CopyResponse) Status() string

Status returns HTTPResponse.Status

func (CopyResponse) StatusCode

func (r CopyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateDocumentUnderParentByIdJSONRequestBody

type CreateDocumentUnderParentByIdJSONRequestBody = Document

CreateDocumentUnderParentByIdJSONRequestBody defines body for CreateDocumentUnderParentById for application/json ContentType.

type CreateDocumentUnderParentByIdMultipartBody

type CreateDocumentUnderParentByIdMultipartBody struct {
	// Main Represents a document.
	Main     Document           `json:"main"`
	Main1234 openapi_types.File `json:"main1234"`
}

CreateDocumentUnderParentByIdMultipartBody defines parameters for CreateDocumentUnderParentById.

type CreateDocumentUnderParentByIdMultipartRequestBody

type CreateDocumentUnderParentByIdMultipartRequestBody CreateDocumentUnderParentByIdMultipartBody

CreateDocumentUnderParentByIdMultipartRequestBody defines body for CreateDocumentUnderParentById for multipart/form-data ContentType.

type CreateDocumentUnderParentByIdParams

type CreateDocumentUnderParentByIdParams struct {
	// EnforceSysName Prevent sys_name from being renamed.
	EnforceSysName *bool `form:"enforceSysName,omitempty" json:"enforceSysName,omitempty"`

	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

CreateDocumentUnderParentByIdParams defines parameters for CreateDocumentUnderParentById.

type CreateDocumentUnderParentByIdResponse

type CreateDocumentUnderParentByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Document
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *Document
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *Document
}

func ParseCreateDocumentUnderParentByIdResponse

func ParseCreateDocumentUnderParentByIdResponse(rsp *http.Response) (*CreateDocumentUnderParentByIdResponse, error)

ParseCreateDocumentUnderParentByIdResponse parses an HTTP response from a CreateDocumentUnderParentByIdWithResponse call

func (CreateDocumentUnderParentByIdResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateDocumentUnderParentByIdResponse) GetApplicationvndHxcsJSON200

func (r CreateDocumentUnderParentByIdResponse) GetApplicationvndHxcsJSON200() *Document

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (CreateDocumentUnderParentByIdResponse) GetApplicationvndHxcsV1JSON200

func (r CreateDocumentUnderParentByIdResponse) GetApplicationvndHxcsV1JSON200() *Document

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (CreateDocumentUnderParentByIdResponse) GetBody

GetBody returns the raw response body bytes

func (CreateDocumentUnderParentByIdResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CreateDocumentUnderParentByIdResponse) Status

Status returns HTTPResponse.Status

func (CreateDocumentUnderParentByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateDocumentUnderParentByPathJSONRequestBody

type CreateDocumentUnderParentByPathJSONRequestBody = Document

CreateDocumentUnderParentByPathJSONRequestBody defines body for CreateDocumentUnderParentByPath for application/json ContentType.

type CreateDocumentUnderParentByPathMultipartBody

type CreateDocumentUnderParentByPathMultipartBody struct {
	// Main Represents a document.
	Main     Document           `json:"main"`
	Main1234 openapi_types.File `json:"main1234"`
}

CreateDocumentUnderParentByPathMultipartBody defines parameters for CreateDocumentUnderParentByPath.

type CreateDocumentUnderParentByPathMultipartRequestBody

type CreateDocumentUnderParentByPathMultipartRequestBody CreateDocumentUnderParentByPathMultipartBody

CreateDocumentUnderParentByPathMultipartRequestBody defines body for CreateDocumentUnderParentByPath for multipart/form-data ContentType.

type CreateDocumentUnderParentByPathParams

type CreateDocumentUnderParentByPathParams struct {
	// EnforceSysName Prevent sys_name from being renamed.
	EnforceSysName *bool `form:"enforceSysName,omitempty" json:"enforceSysName,omitempty"`

	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

CreateDocumentUnderParentByPathParams defines parameters for CreateDocumentUnderParentByPath.

type CreateDocumentUnderParentByPathResponse

type CreateDocumentUnderParentByPathResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Document
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *Document
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *Document
}

func ParseCreateDocumentUnderParentByPathResponse

func ParseCreateDocumentUnderParentByPathResponse(rsp *http.Response) (*CreateDocumentUnderParentByPathResponse, error)

ParseCreateDocumentUnderParentByPathResponse parses an HTTP response from a CreateDocumentUnderParentByPathWithResponse call

func (CreateDocumentUnderParentByPathResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateDocumentUnderParentByPathResponse) GetApplicationvndHxcsJSON200

func (r CreateDocumentUnderParentByPathResponse) GetApplicationvndHxcsJSON200() *Document

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (CreateDocumentUnderParentByPathResponse) GetApplicationvndHxcsV1JSON200

func (r CreateDocumentUnderParentByPathResponse) GetApplicationvndHxcsV1JSON200() *Document

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (CreateDocumentUnderParentByPathResponse) GetBody

GetBody returns the raw response body bytes

func (CreateDocumentUnderParentByPathResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CreateDocumentUnderParentByPathResponse) Status

Status returns HTTPResponse.Status

func (CreateDocumentUnderParentByPathResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateUploadResponse

type CreateUploadResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Upload
	// ApplicationvndHxcsJSON201 the response for an HTTP 201 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON201 *Upload
	// ApplicationvndHxcsV1JSON201 the response for an HTTP 201 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON201 *Upload
}

func ParseCreateUploadResponse

func ParseCreateUploadResponse(rsp *http.Response) (*CreateUploadResponse, error)

ParseCreateUploadResponse parses an HTTP response from a CreateUploadWithResponse call

func (CreateUploadResponse) ContentType

func (r CreateUploadResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateUploadResponse) GetApplicationvndHxcsJSON201

func (r CreateUploadResponse) GetApplicationvndHxcsJSON201() *Upload

GetApplicationvndHxcsJSON201 returns the response for an HTTP 201 `application/vnd.hxcs+json` response

func (CreateUploadResponse) GetApplicationvndHxcsV1JSON201

func (r CreateUploadResponse) GetApplicationvndHxcsV1JSON201() *Upload

GetApplicationvndHxcsV1JSON201 returns the response for an HTTP 201 `application/vnd.hxcs.v1+json` response

func (CreateUploadResponse) GetBody

func (r CreateUploadResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateUploadResponse) GetJSON201

func (r CreateUploadResponse) GetJSON201() *Upload

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateUploadResponse) Status

func (r CreateUploadResponse) Status() string

Status returns HTTPResponse.Status

func (CreateUploadResponse) StatusCode

func (r CreateUploadResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateVocabularyEntryJSONRequestBody

type CreateVocabularyEntryJSONRequestBody = VocabularyEntryRequest

CreateVocabularyEntryJSONRequestBody defines body for CreateVocabularyEntry for application/json ContentType.

type CreateVocabularyEntryParams

type CreateVocabularyEntryParams struct {
	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

CreateVocabularyEntryParams defines parameters for CreateVocabularyEntry.

type CreateVocabularyEntryResponse

type CreateVocabularyEntryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *VocabularyEntry
	// ApplicationvndHxcsJSON201 the response for an HTTP 201 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON201 *VocabularyEntry
	// ApplicationvndHxcsV1JSON201 the response for an HTTP 201 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON201 *VocabularyEntry
}

func ParseCreateVocabularyEntryResponse

func ParseCreateVocabularyEntryResponse(rsp *http.Response) (*CreateVocabularyEntryResponse, error)

ParseCreateVocabularyEntryResponse parses an HTTP response from a CreateVocabularyEntryWithResponse call

func (CreateVocabularyEntryResponse) ContentType

func (r CreateVocabularyEntryResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateVocabularyEntryResponse) GetApplicationvndHxcsJSON201

func (r CreateVocabularyEntryResponse) GetApplicationvndHxcsJSON201() *VocabularyEntry

GetApplicationvndHxcsJSON201 returns the response for an HTTP 201 `application/vnd.hxcs+json` response

func (CreateVocabularyEntryResponse) GetApplicationvndHxcsV1JSON201

func (r CreateVocabularyEntryResponse) GetApplicationvndHxcsV1JSON201() *VocabularyEntry

GetApplicationvndHxcsV1JSON201 returns the response for an HTTP 201 `application/vnd.hxcs.v1+json` response

func (CreateVocabularyEntryResponse) GetBody

func (r CreateVocabularyEntryResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateVocabularyEntryResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateVocabularyEntryResponse) Status

Status returns HTTPResponse.Status

func (CreateVocabularyEntryResponse) StatusCode

func (r CreateVocabularyEntryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateVocabularyJSONRequestBody

type CreateVocabularyJSONRequestBody = Vocabulary

CreateVocabularyJSONRequestBody defines body for CreateVocabulary for application/json ContentType.

type CreateVocabularyParams

type CreateVocabularyParams struct {
	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

CreateVocabularyParams defines parameters for CreateVocabulary.

type CreateVocabularyResponse

type CreateVocabularyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Vocabulary
	// ApplicationvndHxcsJSON201 the response for an HTTP 201 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON201 *Vocabulary
	// ApplicationvndHxcsV1JSON201 the response for an HTTP 201 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON201 *Vocabulary
}

func ParseCreateVocabularyResponse

func ParseCreateVocabularyResponse(rsp *http.Response) (*CreateVocabularyResponse, error)

ParseCreateVocabularyResponse parses an HTTP response from a CreateVocabularyWithResponse call

func (CreateVocabularyResponse) ContentType

func (r CreateVocabularyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateVocabularyResponse) GetApplicationvndHxcsJSON201

func (r CreateVocabularyResponse) GetApplicationvndHxcsJSON201() *Vocabulary

GetApplicationvndHxcsJSON201 returns the response for an HTTP 201 `application/vnd.hxcs+json` response

func (CreateVocabularyResponse) GetApplicationvndHxcsV1JSON201

func (r CreateVocabularyResponse) GetApplicationvndHxcsV1JSON201() *Vocabulary

GetApplicationvndHxcsV1JSON201 returns the response for an HTTP 201 `application/vnd.hxcs.v1+json` response

func (CreateVocabularyResponse) GetBody

func (r CreateVocabularyResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateVocabularyResponse) GetJSON201

func (r CreateVocabularyResponse) GetJSON201() *Vocabulary

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateVocabularyResponse) Status

func (r CreateVocabularyResponse) Status() string

Status returns HTTPResponse.Status

func (CreateVocabularyResponse) StatusCode

func (r CreateVocabularyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteDocumentByIdParams

type DeleteDocumentByIdParams struct {
	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

DeleteDocumentByIdParams defines parameters for DeleteDocumentById.

type DeleteDocumentByIdResponse

type DeleteDocumentByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteDocumentByIdResponse

func ParseDeleteDocumentByIdResponse(rsp *http.Response) (*DeleteDocumentByIdResponse, error)

ParseDeleteDocumentByIdResponse parses an HTTP response from a DeleteDocumentByIdWithResponse call

func (DeleteDocumentByIdResponse) ContentType

func (r DeleteDocumentByIdResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteDocumentByIdResponse) GetBody

func (r DeleteDocumentByIdResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteDocumentByIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteDocumentByIdResponse) StatusCode

func (r DeleteDocumentByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteDocumentByPathParams

type DeleteDocumentByPathParams struct {
	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

DeleteDocumentByPathParams defines parameters for DeleteDocumentByPath.

type DeleteDocumentByPathResponse

type DeleteDocumentByPathResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteDocumentByPathResponse

func ParseDeleteDocumentByPathResponse(rsp *http.Response) (*DeleteDocumentByPathResponse, error)

ParseDeleteDocumentByPathResponse parses an HTTP response from a DeleteDocumentByPathWithResponse call

func (DeleteDocumentByPathResponse) ContentType

func (r DeleteDocumentByPathResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteDocumentByPathResponse) GetBody

func (r DeleteDocumentByPathResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteDocumentByPathResponse) Status

Status returns HTTPResponse.Status

func (DeleteDocumentByPathResponse) StatusCode

func (r DeleteDocumentByPathResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteUploadResponse

type DeleteUploadResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteUploadResponse

func ParseDeleteUploadResponse(rsp *http.Response) (*DeleteUploadResponse, error)

ParseDeleteUploadResponse parses an HTTP response from a DeleteUploadWithResponse call

func (DeleteUploadResponse) ContentType

func (r DeleteUploadResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteUploadResponse) GetBody

func (r DeleteUploadResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteUploadResponse) Status

func (r DeleteUploadResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteUploadResponse) StatusCode

func (r DeleteUploadResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteVocabularyEntryParams

type DeleteVocabularyEntryParams struct {
	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

DeleteVocabularyEntryParams defines parameters for DeleteVocabularyEntry.

type DeleteVocabularyEntryResponse

type DeleteVocabularyEntryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteVocabularyEntryResponse

func ParseDeleteVocabularyEntryResponse(rsp *http.Response) (*DeleteVocabularyEntryResponse, error)

ParseDeleteVocabularyEntryResponse parses an HTTP response from a DeleteVocabularyEntryWithResponse call

func (DeleteVocabularyEntryResponse) ContentType

func (r DeleteVocabularyEntryResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteVocabularyEntryResponse) GetBody

func (r DeleteVocabularyEntryResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteVocabularyEntryResponse) Status

Status returns HTTPResponse.Status

func (DeleteVocabularyEntryResponse) StatusCode

func (r DeleteVocabularyEntryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteVocabularyParams

type DeleteVocabularyParams struct {
	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

DeleteVocabularyParams defines parameters for DeleteVocabulary.

type DeleteVocabularyResponse

type DeleteVocabularyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteVocabularyResponse

func ParseDeleteVocabularyResponse(rsp *http.Response) (*DeleteVocabularyResponse, error)

ParseDeleteVocabularyResponse parses an HTTP response from a DeleteVocabularyWithResponse call

func (DeleteVocabularyResponse) ContentType

func (r DeleteVocabularyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteVocabularyResponse) GetBody

func (r DeleteVocabularyResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteVocabularyResponse) Status

func (r DeleteVocabularyResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteVocabularyResponse) StatusCode

func (r DeleteVocabularyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Document

type Document struct {
	// SysAcl A list of associations between a user (or group of users) and the permissions that are granted or denied.
	//
	// Only included in responses when the user has the `ManageSecurity` permission.
	SysAcl *[]ACE `json:"sys_acl,omitempty"`

	// SysAncestorIds List of UUIDs of the document's ancestors.
	SysAncestorIds *[]string `json:"sys_ancestorIds,omitempty"`

	// SysChangeToken String bundle of the generation and the user generation, as `"<generation>-<userGeneration>"`.
	//
	// **Note:** This is a computed property, kept for clients that expect a single opaque change token. New code should use `sys_gen` and `sys_ugen` directly.
	SysChangeToken *string `json:"sys_changeToken,omitempty"`

	// SysContributors List of users who created or modified the document.
	SysContributors *[]User `json:"sys_contributors,omitempty"`

	// SysCreated The date and time when the document was created.
	SysCreated *time.Time `json:"sys_created,omitempty"`

	// SysCreator Represents a user.
	SysCreator *User `json:"sys_creator,omitempty"`

	// SysDescription Description of the document.
	SysDescription *string `json:"sys_description,omitempty"`

	// SysEffectiveAcl A list of associations between a user (or group of users) and the permissions that are granted or denied, including those inherited from the document's ancestors.
	//
	// Only included in responses when the user has the `ManageSecurity` permission.
	SysEffectiveAcl         *[]ACE    `json:"sys_effectiveAcl,omitempty"`
	SysEffectivePermissions *[]string `json:"sys_effectivePermissions,omitempty"`

	// SysFulltextBinary The full text extracted from blobs of the current document.
	SysFulltextBinary *string `json:"sys_fulltextBinary,omitempty"`

	// SysGen The generation of the document.
	//
	// **Note:** The generation is incremented on each update (system or not) to the document.
	SysGen *int64 `json:"sys_gen,omitempty"`

	// SysId UUID of the document.
	//
	// **Note:** When included in request bodies for document creation, the sys_id element can be set to match one in an external system, ensuring unicity.
	// Character restrictions include the following:
	// * 200 characters maximum
	// * Characters must be -, _, ., or alphanumeric.
	SysId *string `json:"sys_id,omitempty"`

	// SysIsFolderish True/false indicator of whether the document contains the SysFolderish mixin.
	SysIsFolderish *bool `json:"sys_isFolderish,omitempty"`

	// SysIsTrashed True when the document is trashed; omitted otherwise.
	SysIsTrashed *bool `json:"sys_isTrashed,omitempty"`

	// SysLastContributor Represents a user.
	SysLastContributor *User `json:"sys_lastContributor,omitempty"`

	// SysLifecycleState The lifecycle state of the document.
	SysLifecycleState *string `json:"sys_lifecycleState,omitempty"`

	// SysLockCreated The date and time when the document was locked by a user.
	SysLockCreated *time.Time `json:"sys_lockCreated,omitempty"`

	// SysLockOwner Represents a user.
	SysLockOwner *User `json:"sys_lockOwner,omitempty"`

	// SysMixinTypes Restricted list of the document mixins.
	//
	// **Note:** Restrictions include the following:
	// * SysFolderish facet is never seen on document instances (only seen on the type).
	// * In HXQL queries, sys_mixinTypes can only be used with the =, < >, IN, and NOT IN operators.
	SysMixinTypes *[]string `json:"sys_mixinTypes,omitempty"`

	// SysModified The date and time when the document was last modified.
	SysModified *time.Time `json:"sys_modified,omitempty"`

	// SysName The name of the document.
	//
	// **Note:** Can be up to 100 characters.
	SysName *string `json:"sys_name,omitempty"`

	// SysParentId UUID of the document's parent.
	SysParentId *string `json:"sys_parentId,omitempty"`

	// SysParentPath The path to the document's parent in the repository.
	SysParentPath *string `json:"sys_parentPath,omitempty"`

	// SysPath The path to the document in the repository.
	//
	// **Note:** Computed from the sys_name of the document's ancestors. Cannot be used in all HXQL query contexts.
	SysPath *string `json:"sys_path,omitempty"`

	// SysPathDepth The number of folder levels deep into the repository the document is located.
	SysPathDepth *int32 `json:"sys_pathDepth,omitempty"`

	// SysPos The position of the document within its parent.
	//
	// **Note:** Value is NULL in unordered folders.
	SysPos *int64 `json:"sys_pos,omitempty"`

	// SysPrimaryType The document type of the document.
	//
	// **Note:** Required in request bodies for document creation.
	SysPrimaryType string `json:"sys_primaryType"`

	// SysRacl The denormalized list of principals that can read the document.
	//
	// Only included in responses when the user has the `ManageSecurity` permission.
	SysRacl *[]string `json:"sys_racl,omitempty"`

	// SysRepository Name of the repository where the document resides.
	SysRepository *string `json:"sys_repository,omitempty"`

	// SysSecpol Names of the security policies associated with the document.
	//
	// Only included in responses when the user has the `ManageSecurity` permission.
	SysSecpol *[]string `json:"sys_secpol,omitempty"`

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

	// SysUgen The user generation of the document.
	//
	// **Note:** The user generation is incremented on each client update to the document.
	SysUgen *int64 `json:"sys_ugen,omitempty"`

	// SysgovHasLegalHold True/false indicator of whether the document contains the legal hold schema.
	SysgovHasLegalHold *bool `json:"sysgov_hasLegalHold,omitempty"`

	// SysgovIsRecord True/false indicator of whether the document is a record.
	SysgovIsRecord *bool `json:"sysgov_isRecord,omitempty"`

	// SysgovRetainUntil The date until which the document should be retained.
	SysgovRetainUntil    *time.Time             `json:"sysgov_retainUntil,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

Document Represents a document.

func (Document) Get

func (a Document) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for Document. Returns the specified element and whether it was found

func (Document) MarshalJSON

func (a Document) MarshalJSON() ([]byte, error)

Override default JSON handling for Document to handle AdditionalProperties

func (*Document) Set

func (a *Document) Set(fieldName string, value interface{})

Setter for additional properties for Document

func (*Document) UnmarshalJSON

func (a *Document) UnmarshalJSON(b []byte) error

Override default JSON handling for Document to handle AdditionalProperties

type DocumentAncestors

type DocumentAncestors struct {
	Ancestors *[]Document `json:"ancestors,omitempty"`
}

DocumentAncestors Represents a document's ancestors list.

type DownloadByIdAndXPathParams

type DownloadByIdAndXPathParams struct {
	// Inline Inline content disposition enablement.
	Inline *bool `form:"inline,omitempty" json:"inline,omitempty"`

	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

DownloadByIdAndXPathParams defines parameters for DownloadByIdAndXPath.

type DownloadByIdAndXPathResponse

type DownloadByIdAndXPathResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDownloadByIdAndXPathResponse

func ParseDownloadByIdAndXPathResponse(rsp *http.Response) (*DownloadByIdAndXPathResponse, error)

ParseDownloadByIdAndXPathResponse parses an HTTP response from a DownloadByIdAndXPathWithResponse call

func (DownloadByIdAndXPathResponse) ContentType

func (r DownloadByIdAndXPathResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DownloadByIdAndXPathResponse) GetBody

func (r DownloadByIdAndXPathResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DownloadByIdAndXPathResponse) Status

Status returns HTTPResponse.Status

func (DownloadByIdAndXPathResponse) StatusCode

func (r DownloadByIdAndXPathResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DownloadInfoByIdAndXPathParams

type DownloadInfoByIdAndXPathParams struct {
	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

DownloadInfoByIdAndXPathParams defines parameters for DownloadInfoByIdAndXPath.

type DownloadInfoByIdAndXPathResponse

type DownloadInfoByIdAndXPathResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDownloadInfoByIdAndXPathResponse

func ParseDownloadInfoByIdAndXPathResponse(rsp *http.Response) (*DownloadInfoByIdAndXPathResponse, error)

ParseDownloadInfoByIdAndXPathResponse parses an HTTP response from a DownloadInfoByIdAndXPathWithResponse call

func (DownloadInfoByIdAndXPathResponse) ContentType

func (r DownloadInfoByIdAndXPathResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DownloadInfoByIdAndXPathResponse) GetBody

func (r DownloadInfoByIdAndXPathResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DownloadInfoByIdAndXPathResponse) Status

Status returns HTTPResponse.Status

func (DownloadInfoByIdAndXPathResponse) StatusCode

func (r DownloadInfoByIdAndXPathResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DownloadUrlByIdAndXPathParams

type DownloadUrlByIdAndXPathParams struct {
	// Expiration expiration value for generating the S3 pre-signed url in seconds.
	Expiration *int64 `form:"expiration,omitempty" json:"expiration,omitempty"`

	// Inline Inline content disposition enablement.
	Inline *bool `form:"inline,omitempty" json:"inline,omitempty"`

	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

DownloadUrlByIdAndXPathParams defines parameters for DownloadUrlByIdAndXPath.

type DownloadUrlByIdAndXPathResponse

type DownloadUrlByIdAndXPathResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDownloadUrlByIdAndXPathResponse

func ParseDownloadUrlByIdAndXPathResponse(rsp *http.Response) (*DownloadUrlByIdAndXPathResponse, error)

ParseDownloadUrlByIdAndXPathResponse parses an HTTP response from a DownloadUrlByIdAndXPathWithResponse call

func (DownloadUrlByIdAndXPathResponse) ContentType

func (r DownloadUrlByIdAndXPathResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DownloadUrlByIdAndXPathResponse) GetBody

func (r DownloadUrlByIdAndXPathResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DownloadUrlByIdAndXPathResponse) Status

Status returns HTTPResponse.Status

func (DownloadUrlByIdAndXPathResponse) StatusCode

func (r DownloadUrlByIdAndXPathResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Embedding

type Embedding struct {
	// SysembedBlobref Blob label for embeddings.
	SysembedBlobref *string `json:"sysembed_blobref,omitempty"`

	// SysembedDocId The unique identifier for the document the embedding is associated with.
	SysembedDocId string `json:"sysembed_docId"`

	// SysembedId The unique identifier for the embedding.
	SysembedId string `json:"sysembed_id"`

	// SysembedLocation Location the vector is derived from within the original document. For example this could be the page and paragraph number or coordinates of a bounding box.
	SysembedLocation *LocationModel `json:"sysembed_location,omitempty"`

	// SysembedScore A score representing the relevance of the hit
	SysembedScore *float64 `json:"sysembed_score,omitempty"`

	// SysembedText Text label for the vector or the original chunk for text embeddings.
	SysembedText string `json:"sysembed_text"`

	// SysembedType A label for the embedding type (used to ensure semantic queries are against vectors of the same type).
	SysembedType string `json:"sysembed_type"`

	// SysembedVector The vector as a list of floating point numbers.
	SysembedVector []float64 `json:"sysembed_vector"`
}

Embedding Represents the Embedding API's HTTP Post body.

type ExternalUserRelationsSecurityPolicyRelations

type ExternalUserRelationsSecurityPolicyRelations struct {
	Users *[]ExternalUserRelationsSecurityPolicyUser `json:"users,omitempty"`
}

ExternalUserRelationsSecurityPolicyRelations Configuration for the External User Relations Security Policy relations data

type ExternalUserRelationsSecurityPolicyUser

type ExternalUserRelationsSecurityPolicyUser struct {
	Id        string              `json:"id"`
	Relations map[string][]string `json:"relations"`
}

ExternalUserRelationsSecurityPolicyUser User for the External User Relations Security Policy data

type Field

type Field struct {
	// Constraints Represents a constraint.
	Constraints *Constraint `json:"constraints,omitempty"`

	// Default Deprecated: default values are not supported and this property will be removed in a future version.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Default *string `json:"default,omitempty"`

	// Extends Name of the referenced type, when the field also declares constraints, a default value or a nested type.
	Extends         *string           `json:"extends,omitempty"`
	Fields          *map[string]Field `json:"fields,omitempty"`
	FullTextIndexed *bool             `json:"fullTextIndexed,omitempty"`

	// List Represents a field.
	List *Field `json:"list,omitempty"`

	// Managed Repository-managed access, query and output behavior for a field.
	Managed   *FieldCharacteristics `json:"managed,omitempty"`
	ProjectId *string               `json:"projectId,omitempty"`

	// Type Name of the referenced type, when the field declares nothing else.
	Type *string `json:"type,omitempty"`
}

Field Represents a field.

type FieldCharacteristics

type FieldCharacteristics struct {
	FalseAsNull            *[]FieldCharacteristicsFalseAsNull `json:"falseAsNull,omitempty"`
	NoAutoCheckout         *bool                              `json:"noAutoCheckout,omitempty"`
	NotOutput              *[]FieldCharacteristicsNotOutput   `json:"notOutput,omitempty"`
	NotProjectable         *bool                              `json:"notProjectable,omitempty"`
	NotQueryable           *bool                              `json:"notQueryable,omitempty"`
	ReadPermission         *string                            `json:"readPermission,omitempty"`
	Source                 *FieldCharacteristicsSource        `json:"source,omitempty"`
	SystemOwned            *bool                              `json:"systemOwned,omitempty"`
	VersionWritePermission *string                            `json:"versionWritePermission,omitempty"`
	WritePermission        *string                            `json:"writePermission,omitempty"`
}

FieldCharacteristics Repository-managed access, query and output behavior for a field.

type FieldCharacteristicsFalseAsNull

type FieldCharacteristicsFalseAsNull string

FieldCharacteristicsFalseAsNull defines model for FieldCharacteristics.FalseAsNull.

const (
	FieldCharacteristicsFalseAsNullINDEX FieldCharacteristicsFalseAsNull = "INDEX"
	FieldCharacteristicsFalseAsNullREST  FieldCharacteristicsFalseAsNull = "REST"
	FieldCharacteristicsFalseAsNullSTORE FieldCharacteristicsFalseAsNull = "STORE"
)

Defines values for FieldCharacteristicsFalseAsNull.

func (FieldCharacteristicsFalseAsNull) Valid

Valid indicates whether the value is a known member of the FieldCharacteristicsFalseAsNull enum.

type FieldCharacteristicsNotOutput

type FieldCharacteristicsNotOutput string

FieldCharacteristicsNotOutput defines model for FieldCharacteristics.NotOutput.

const (
	FieldCharacteristicsNotOutputINDEX FieldCharacteristicsNotOutput = "INDEX"
	FieldCharacteristicsNotOutputREST  FieldCharacteristicsNotOutput = "REST"
	FieldCharacteristicsNotOutputSTORE FieldCharacteristicsNotOutput = "STORE"
)

Defines values for FieldCharacteristicsNotOutput.

func (FieldCharacteristicsNotOutput) Valid

Valid indicates whether the value is a known member of the FieldCharacteristicsNotOutput enum.

type FieldCharacteristicsSource

type FieldCharacteristicsSource string

FieldCharacteristicsSource defines model for FieldCharacteristics.Source.

const (
	COMPUTED     FieldCharacteristicsSource = "COMPUTED"
	QUERYVIRTUAL FieldCharacteristicsSource = "QUERY_VIRTUAL"
)

Defines values for FieldCharacteristicsSource.

func (FieldCharacteristicsSource) Valid

func (e FieldCharacteristicsSource) Valid() bool

Valid indicates whether the value is a known member of the FieldCharacteristicsSource enum.

type FulleffectiveaclParams

type FulleffectiveaclParams struct {
	// Usernames The list of users to fetch the ACL on the document.
	Usernames *[]string `form:"usernames,omitempty" json:"usernames,omitempty"`

	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

FulleffectiveaclParams defines parameters for Fulleffectiveacl.

type FulleffectiveaclResponse

type FulleffectiveaclResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ListEffectiveACLDTO
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *ListEffectiveACLDTO
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *ListEffectiveACLDTO
}

func ParseFulleffectiveaclResponse

func ParseFulleffectiveaclResponse(rsp *http.Response) (*FulleffectiveaclResponse, error)

ParseFulleffectiveaclResponse parses an HTTP response from a FulleffectiveaclWithResponse call

func (FulleffectiveaclResponse) ContentType

func (r FulleffectiveaclResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (FulleffectiveaclResponse) GetApplicationvndHxcsJSON200

func (r FulleffectiveaclResponse) GetApplicationvndHxcsJSON200() *ListEffectiveACLDTO

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (FulleffectiveaclResponse) GetApplicationvndHxcsV1JSON200

func (r FulleffectiveaclResponse) GetApplicationvndHxcsV1JSON200() *ListEffectiveACLDTO

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (FulleffectiveaclResponse) GetBody

func (r FulleffectiveaclResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (FulleffectiveaclResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (FulleffectiveaclResponse) Status

func (r FulleffectiveaclResponse) Status() string

Status returns HTTPResponse.Status

func (FulleffectiveaclResponse) StatusCode

func (r FulleffectiveaclResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type FulleffectivepermissionsParams

type FulleffectivepermissionsParams struct {
	// Usernames The list of users to fetch the ACL on the document.
	Usernames *[]string `form:"usernames,omitempty" json:"usernames,omitempty"`

	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

FulleffectivepermissionsParams defines parameters for Fulleffectivepermissions.

type FulleffectivepermissionsResponse

type FulleffectivepermissionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ListEffectivePermissionsDTO
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *ListEffectivePermissionsDTO
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *ListEffectivePermissionsDTO
}

func ParseFulleffectivepermissionsResponse

func ParseFulleffectivepermissionsResponse(rsp *http.Response) (*FulleffectivepermissionsResponse, error)

ParseFulleffectivepermissionsResponse parses an HTTP response from a FulleffectivepermissionsWithResponse call

func (FulleffectivepermissionsResponse) ContentType

func (r FulleffectivepermissionsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (FulleffectivepermissionsResponse) GetApplicationvndHxcsJSON200

func (r FulleffectivepermissionsResponse) GetApplicationvndHxcsJSON200() *ListEffectivePermissionsDTO

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (FulleffectivepermissionsResponse) GetApplicationvndHxcsV1JSON200

func (r FulleffectivepermissionsResponse) GetApplicationvndHxcsV1JSON200() *ListEffectivePermissionsDTO

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (FulleffectivepermissionsResponse) GetBody

func (r FulleffectivepermissionsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (FulleffectivepermissionsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (FulleffectivepermissionsResponse) Status

Status returns HTTPResponse.Status

func (FulleffectivepermissionsResponse) StatusCode

func (r FulleffectivepermissionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDocumentAncestorsParams

type GetDocumentAncestorsParams struct {
	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

GetDocumentAncestorsParams defines parameters for GetDocumentAncestors.

type GetDocumentAncestorsResponse

type GetDocumentAncestorsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DocumentAncestors
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *DocumentAncestors
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *DocumentAncestors
}

func ParseGetDocumentAncestorsResponse

func ParseGetDocumentAncestorsResponse(rsp *http.Response) (*GetDocumentAncestorsResponse, error)

ParseGetDocumentAncestorsResponse parses an HTTP response from a GetDocumentAncestorsWithResponse call

func (GetDocumentAncestorsResponse) ContentType

func (r GetDocumentAncestorsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDocumentAncestorsResponse) GetApplicationvndHxcsJSON200

func (r GetDocumentAncestorsResponse) GetApplicationvndHxcsJSON200() *DocumentAncestors

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (GetDocumentAncestorsResponse) GetApplicationvndHxcsV1JSON200

func (r GetDocumentAncestorsResponse) GetApplicationvndHxcsV1JSON200() *DocumentAncestors

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (GetDocumentAncestorsResponse) GetBody

func (r GetDocumentAncestorsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetDocumentAncestorsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetDocumentAncestorsResponse) Status

Status returns HTTPResponse.Status

func (GetDocumentAncestorsResponse) StatusCode

func (r GetDocumentAncestorsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDocumentByIdParams

type GetDocumentByIdParams struct {
	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

GetDocumentByIdParams defines parameters for GetDocumentById.

type GetDocumentByIdResponse

type GetDocumentByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Document
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *Document
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *Document
}

func ParseGetDocumentByIdResponse

func ParseGetDocumentByIdResponse(rsp *http.Response) (*GetDocumentByIdResponse, error)

ParseGetDocumentByIdResponse parses an HTTP response from a GetDocumentByIdWithResponse call

func (GetDocumentByIdResponse) ContentType

func (r GetDocumentByIdResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDocumentByIdResponse) GetApplicationvndHxcsJSON200

func (r GetDocumentByIdResponse) GetApplicationvndHxcsJSON200() *Document

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (GetDocumentByIdResponse) GetApplicationvndHxcsV1JSON200

func (r GetDocumentByIdResponse) GetApplicationvndHxcsV1JSON200() *Document

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (GetDocumentByIdResponse) GetBody

func (r GetDocumentByIdResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetDocumentByIdResponse) GetJSON200

func (r GetDocumentByIdResponse) GetJSON200() *Document

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetDocumentByIdResponse) Status

func (r GetDocumentByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetDocumentByIdResponse) StatusCode

func (r GetDocumentByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDocumentByPathParams

type GetDocumentByPathParams struct {
	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

GetDocumentByPathParams defines parameters for GetDocumentByPath.

type GetDocumentByPathResponse

type GetDocumentByPathResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Document
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *Document
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *Document
}

func ParseGetDocumentByPathResponse

func ParseGetDocumentByPathResponse(rsp *http.Response) (*GetDocumentByPathResponse, error)

ParseGetDocumentByPathResponse parses an HTTP response from a GetDocumentByPathWithResponse call

func (GetDocumentByPathResponse) ContentType

func (r GetDocumentByPathResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDocumentByPathResponse) GetApplicationvndHxcsJSON200

func (r GetDocumentByPathResponse) GetApplicationvndHxcsJSON200() *Document

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (GetDocumentByPathResponse) GetApplicationvndHxcsV1JSON200

func (r GetDocumentByPathResponse) GetApplicationvndHxcsV1JSON200() *Document

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (GetDocumentByPathResponse) GetBody

func (r GetDocumentByPathResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetDocumentByPathResponse) GetJSON200

func (r GetDocumentByPathResponse) GetJSON200() *Document

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetDocumentByPathResponse) Status

func (r GetDocumentByPathResponse) Status() string

Status returns HTTPResponse.Status

func (GetDocumentByPathResponse) StatusCode

func (r GetDocumentByPathResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDocumentsByAdvancedQueryJSONRequestBody

type GetDocumentsByAdvancedQueryJSONRequestBody = AdvancedQuery

GetDocumentsByAdvancedQueryJSONRequestBody defines body for GetDocumentsByAdvancedQuery for application/json ContentType.

type GetDocumentsByAdvancedQueryParams

type GetDocumentsByAdvancedQueryParams struct {
	Sync *bool `form:"sync,omitempty" json:"sync,omitempty"`
}

GetDocumentsByAdvancedQueryParams defines parameters for GetDocumentsByAdvancedQuery.

type GetDocumentsByAdvancedQueryResponse

type GetDocumentsByAdvancedQueryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *QueryResult
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *QueryResult
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *QueryResult
	// Headers503 the parsed response headers for an HTTP 503 response
	Headers503 *GetDocumentsByAdvancedQueryResponse503Headers
}

func ParseGetDocumentsByAdvancedQueryResponse

func ParseGetDocumentsByAdvancedQueryResponse(rsp *http.Response) (*GetDocumentsByAdvancedQueryResponse, error)

ParseGetDocumentsByAdvancedQueryResponse parses an HTTP response from a GetDocumentsByAdvancedQueryWithResponse call

func (GetDocumentsByAdvancedQueryResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDocumentsByAdvancedQueryResponse) GetApplicationvndHxcsJSON200

func (r GetDocumentsByAdvancedQueryResponse) GetApplicationvndHxcsJSON200() *QueryResult

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (GetDocumentsByAdvancedQueryResponse) GetApplicationvndHxcsV1JSON200

func (r GetDocumentsByAdvancedQueryResponse) GetApplicationvndHxcsV1JSON200() *QueryResult

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (GetDocumentsByAdvancedQueryResponse) GetBody

GetBody returns the raw response body bytes

func (GetDocumentsByAdvancedQueryResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetDocumentsByAdvancedQueryResponse) Status

Status returns HTTPResponse.Status

func (GetDocumentsByAdvancedQueryResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetDocumentsByAdvancedQueryResponse503Headers

type GetDocumentsByAdvancedQueryResponse503Headers struct {
	RetryAfter *int
}

GetDocumentsByAdvancedQueryResponse503Headers the declared response headers of an HTTP 503 response for GetDocumentsByAdvancedQuery

type GetDocumentsByNamedQueryJSONRequestBody

type GetDocumentsByNamedQueryJSONRequestBody = NamedQuery

GetDocumentsByNamedQueryJSONRequestBody defines body for GetDocumentsByNamedQuery for application/json ContentType.

type GetDocumentsByNamedQueryParams

type GetDocumentsByNamedQueryParams struct {
	Sync *bool `form:"sync,omitempty" json:"sync,omitempty"`
}

GetDocumentsByNamedQueryParams defines parameters for GetDocumentsByNamedQuery.

type GetDocumentsByNamedQueryResponse

type GetDocumentsByNamedQueryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *QueryResult
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *QueryResult
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *QueryResult
	// Headers503 the parsed response headers for an HTTP 503 response
	Headers503 *GetDocumentsByNamedQueryResponse503Headers
}

func ParseGetDocumentsByNamedQueryResponse

func ParseGetDocumentsByNamedQueryResponse(rsp *http.Response) (*GetDocumentsByNamedQueryResponse, error)

ParseGetDocumentsByNamedQueryResponse parses an HTTP response from a GetDocumentsByNamedQueryWithResponse call

func (GetDocumentsByNamedQueryResponse) ContentType

func (r GetDocumentsByNamedQueryResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDocumentsByNamedQueryResponse) GetApplicationvndHxcsJSON200

func (r GetDocumentsByNamedQueryResponse) GetApplicationvndHxcsJSON200() *QueryResult

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (GetDocumentsByNamedQueryResponse) GetApplicationvndHxcsV1JSON200

func (r GetDocumentsByNamedQueryResponse) GetApplicationvndHxcsV1JSON200() *QueryResult

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (GetDocumentsByNamedQueryResponse) GetBody

func (r GetDocumentsByNamedQueryResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetDocumentsByNamedQueryResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetDocumentsByNamedQueryResponse) Status

Status returns HTTPResponse.Status

func (GetDocumentsByNamedQueryResponse) StatusCode

func (r GetDocumentsByNamedQueryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDocumentsByNamedQueryResponse503Headers

type GetDocumentsByNamedQueryResponse503Headers struct {
	RetryAfter *int
}

GetDocumentsByNamedQueryResponse503Headers the declared response headers of an HTTP 503 response for GetDocumentsByNamedQuery

type GetDocumentsByQueryJSONRequestBody

type GetDocumentsByQueryJSONRequestBody = Query

GetDocumentsByQueryJSONRequestBody defines body for GetDocumentsByQuery for application/json ContentType.

type GetDocumentsByQueryParams

type GetDocumentsByQueryParams struct {
	Sync *bool `form:"sync,omitempty" json:"sync,omitempty"`
}

GetDocumentsByQueryParams defines parameters for GetDocumentsByQuery.

type GetDocumentsByQueryResponse

type GetDocumentsByQueryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *QueryResult
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *QueryResult
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *QueryResult
	// Headers503 the parsed response headers for an HTTP 503 response
	Headers503 *GetDocumentsByQueryResponse503Headers
}

func ParseGetDocumentsByQueryResponse

func ParseGetDocumentsByQueryResponse(rsp *http.Response) (*GetDocumentsByQueryResponse, error)

ParseGetDocumentsByQueryResponse parses an HTTP response from a GetDocumentsByQueryWithResponse call

func (GetDocumentsByQueryResponse) ContentType

func (r GetDocumentsByQueryResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDocumentsByQueryResponse) GetApplicationvndHxcsJSON200

func (r GetDocumentsByQueryResponse) GetApplicationvndHxcsJSON200() *QueryResult

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (GetDocumentsByQueryResponse) GetApplicationvndHxcsV1JSON200

func (r GetDocumentsByQueryResponse) GetApplicationvndHxcsV1JSON200() *QueryResult

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (GetDocumentsByQueryResponse) GetBody

func (r GetDocumentsByQueryResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetDocumentsByQueryResponse) GetJSON200

func (r GetDocumentsByQueryResponse) GetJSON200() *QueryResult

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetDocumentsByQueryResponse) Status

Status returns HTTPResponse.Status

func (GetDocumentsByQueryResponse) StatusCode

func (r GetDocumentsByQueryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDocumentsByQueryResponse503Headers

type GetDocumentsByQueryResponse503Headers struct {
	RetryAfter *int
}

GetDocumentsByQueryResponse503Headers the declared response headers of an HTTP 503 response for GetDocumentsByQuery

type GetEmbeddingParams

type GetEmbeddingParams struct {
	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

GetEmbeddingParams defines parameters for GetEmbedding.

type GetEmbeddingResponse

type GetEmbeddingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Embedding
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *Embedding
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *Embedding
}

func ParseGetEmbeddingResponse

func ParseGetEmbeddingResponse(rsp *http.Response) (*GetEmbeddingResponse, error)

ParseGetEmbeddingResponse parses an HTTP response from a GetEmbeddingWithResponse call

func (GetEmbeddingResponse) ContentType

func (r GetEmbeddingResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetEmbeddingResponse) GetApplicationvndHxcsJSON200

func (r GetEmbeddingResponse) GetApplicationvndHxcsJSON200() *Embedding

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (GetEmbeddingResponse) GetApplicationvndHxcsV1JSON200

func (r GetEmbeddingResponse) GetApplicationvndHxcsV1JSON200() *Embedding

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (GetEmbeddingResponse) GetBody

func (r GetEmbeddingResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetEmbeddingResponse) GetJSON200

func (r GetEmbeddingResponse) GetJSON200() *Embedding

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetEmbeddingResponse) Status

func (r GetEmbeddingResponse) Status() string

Status returns HTTPResponse.Status

func (GetEmbeddingResponse) StatusCode

func (r GetEmbeddingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetEmbeddingsByQueryJSONRequestBody

type GetEmbeddingsByQueryJSONRequestBody = VectorQuery

GetEmbeddingsByQueryJSONRequestBody defines body for GetEmbeddingsByQuery for application/json ContentType.

type GetEmbeddingsByQueryResponse

type GetEmbeddingsByQueryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *VectorSearchResult
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *VectorSearchResult
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *VectorSearchResult
	// Headers503 the parsed response headers for an HTTP 503 response
	Headers503 *GetEmbeddingsByQueryResponse503Headers
}

func ParseGetEmbeddingsByQueryResponse

func ParseGetEmbeddingsByQueryResponse(rsp *http.Response) (*GetEmbeddingsByQueryResponse, error)

ParseGetEmbeddingsByQueryResponse parses an HTTP response from a GetEmbeddingsByQueryWithResponse call

func (GetEmbeddingsByQueryResponse) ContentType

func (r GetEmbeddingsByQueryResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetEmbeddingsByQueryResponse) GetApplicationvndHxcsJSON200

func (r GetEmbeddingsByQueryResponse) GetApplicationvndHxcsJSON200() *VectorSearchResult

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (GetEmbeddingsByQueryResponse) GetApplicationvndHxcsV1JSON200

func (r GetEmbeddingsByQueryResponse) GetApplicationvndHxcsV1JSON200() *VectorSearchResult

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (GetEmbeddingsByQueryResponse) GetBody

func (r GetEmbeddingsByQueryResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetEmbeddingsByQueryResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetEmbeddingsByQueryResponse) Status

Status returns HTTPResponse.Status

func (GetEmbeddingsByQueryResponse) StatusCode

func (r GetEmbeddingsByQueryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetEmbeddingsByQueryResponse503Headers

type GetEmbeddingsByQueryResponse503Headers struct {
	RetryAfter *int
}

GetEmbeddingsByQueryResponse503Headers the declared response headers of an HTTP 503 response for GetEmbeddingsByQuery

type GetExternalUserRelationsParams

type GetExternalUserRelationsParams struct {
	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

GetExternalUserRelationsParams defines parameters for GetExternalUserRelations.

type GetExternalUserRelationsResponse

type GetExternalUserRelationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ExternalUserRelationsSecurityPolicyRelations
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *ExternalUserRelationsSecurityPolicyRelations
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *ExternalUserRelationsSecurityPolicyRelations
}

func ParseGetExternalUserRelationsResponse

func ParseGetExternalUserRelationsResponse(rsp *http.Response) (*GetExternalUserRelationsResponse, error)

ParseGetExternalUserRelationsResponse parses an HTTP response from a GetExternalUserRelationsWithResponse call

func (GetExternalUserRelationsResponse) ContentType

func (r GetExternalUserRelationsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetExternalUserRelationsResponse) GetApplicationvndHxcsJSON200

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (GetExternalUserRelationsResponse) GetApplicationvndHxcsV1JSON200

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (GetExternalUserRelationsResponse) GetBody

func (r GetExternalUserRelationsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetExternalUserRelationsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetExternalUserRelationsResponse) Status

Status returns HTTPResponse.Status

func (GetExternalUserRelationsResponse) StatusCode

func (r GetExternalUserRelationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetExternalUserRelationsStatusParams

type GetExternalUserRelationsStatusParams struct {
	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

GetExternalUserRelationsStatusParams defines parameters for GetExternalUserRelationsStatus.

type GetExternalUserRelationsStatusResponse

type GetExternalUserRelationsStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *map[string]map[string]interface{}
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *map[string]map[string]interface{}
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *map[string]map[string]interface{}
}

func ParseGetExternalUserRelationsStatusResponse

func ParseGetExternalUserRelationsStatusResponse(rsp *http.Response) (*GetExternalUserRelationsStatusResponse, error)

ParseGetExternalUserRelationsStatusResponse parses an HTTP response from a GetExternalUserRelationsStatusWithResponse call

func (GetExternalUserRelationsStatusResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetExternalUserRelationsStatusResponse) GetApplicationvndHxcsJSON200

func (r GetExternalUserRelationsStatusResponse) GetApplicationvndHxcsJSON200() *map[string]map[string]interface{}

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (GetExternalUserRelationsStatusResponse) GetApplicationvndHxcsV1JSON200

func (r GetExternalUserRelationsStatusResponse) GetApplicationvndHxcsV1JSON200() *map[string]map[string]interface{}

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (GetExternalUserRelationsStatusResponse) GetBody

GetBody returns the raw response body bytes

func (GetExternalUserRelationsStatusResponse) GetJSON200

func (r GetExternalUserRelationsStatusResponse) GetJSON200() *map[string]map[string]interface{}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetExternalUserRelationsStatusResponse) Status

Status returns HTTPResponse.Status

func (GetExternalUserRelationsStatusResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetGroupByIdResponse

type GetGroupByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Group
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *Group
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *Group
}

func ParseGetGroupByIdResponse

func ParseGetGroupByIdResponse(rsp *http.Response) (*GetGroupByIdResponse, error)

ParseGetGroupByIdResponse parses an HTTP response from a GetGroupByIdWithResponse call

func (GetGroupByIdResponse) ContentType

func (r GetGroupByIdResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetGroupByIdResponse) GetApplicationvndHxcsJSON200

func (r GetGroupByIdResponse) GetApplicationvndHxcsJSON200() *Group

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (GetGroupByIdResponse) GetApplicationvndHxcsV1JSON200

func (r GetGroupByIdResponse) GetApplicationvndHxcsV1JSON200() *Group

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (GetGroupByIdResponse) GetBody

func (r GetGroupByIdResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetGroupByIdResponse) GetJSON200

func (r GetGroupByIdResponse) GetJSON200() *Group

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetGroupByIdResponse) Status

func (r GetGroupByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetGroupByIdResponse) StatusCode

func (r GetGroupByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetModelItemsForProjectParams

type GetModelItemsForProjectParams struct {
	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

GetModelItemsForProjectParams defines parameters for GetModelItemsForProject.

type GetModelItemsForProjectResponse

type GetModelItemsForProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Model
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *Model
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *Model
}

func ParseGetModelItemsForProjectResponse

func ParseGetModelItemsForProjectResponse(rsp *http.Response) (*GetModelItemsForProjectResponse, error)

ParseGetModelItemsForProjectResponse parses an HTTP response from a GetModelItemsForProjectWithResponse call

func (GetModelItemsForProjectResponse) ContentType

func (r GetModelItemsForProjectResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetModelItemsForProjectResponse) GetApplicationvndHxcsJSON200

func (r GetModelItemsForProjectResponse) GetApplicationvndHxcsJSON200() *Model

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (GetModelItemsForProjectResponse) GetApplicationvndHxcsV1JSON200

func (r GetModelItemsForProjectResponse) GetApplicationvndHxcsV1JSON200() *Model

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (GetModelItemsForProjectResponse) GetBody

func (r GetModelItemsForProjectResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetModelItemsForProjectResponse) GetJSON200

func (r GetModelItemsForProjectResponse) GetJSON200() *Model

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetModelItemsForProjectResponse) Status

Status returns HTTPResponse.Status

func (GetModelItemsForProjectResponse) StatusCode

func (r GetModelItemsForProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetModelItemsForProjectV2Params

type GetModelItemsForProjectV2Params struct {
	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

GetModelItemsForProjectV2Params defines parameters for GetModelItemsForProjectV2.

type GetModelItemsForProjectV2Response

type GetModelItemsForProjectV2Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Model
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *Model
	// ApplicationvndHxcsV2JSON200 the response for an HTTP 200 `application/vnd.hxcs.v2+json` response
	ApplicationvndHxcsV2JSON200 *Model
}

func ParseGetModelItemsForProjectV2Response

func ParseGetModelItemsForProjectV2Response(rsp *http.Response) (*GetModelItemsForProjectV2Response, error)

ParseGetModelItemsForProjectV2Response parses an HTTP response from a GetModelItemsForProjectV2WithResponse call

func (GetModelItemsForProjectV2Response) ContentType

func (r GetModelItemsForProjectV2Response) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetModelItemsForProjectV2Response) GetApplicationvndHxcsJSON200

func (r GetModelItemsForProjectV2Response) GetApplicationvndHxcsJSON200() *Model

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (GetModelItemsForProjectV2Response) GetApplicationvndHxcsV2JSON200

func (r GetModelItemsForProjectV2Response) GetApplicationvndHxcsV2JSON200() *Model

GetApplicationvndHxcsV2JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v2+json` response

func (GetModelItemsForProjectV2Response) GetBody

GetBody returns the raw response body bytes

func (GetModelItemsForProjectV2Response) GetJSON200

func (r GetModelItemsForProjectV2Response) GetJSON200() *Model

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetModelItemsForProjectV2Response) Status

Status returns HTTPResponse.Status

func (GetModelItemsForProjectV2Response) StatusCode

func (r GetModelItemsForProjectV2Response) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetModelParams

type GetModelParams struct {
	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

GetModelParams defines parameters for GetModel.

type GetModelResponse

type GetModelResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Model
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *Model
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *Model
}

func ParseGetModelResponse

func ParseGetModelResponse(rsp *http.Response) (*GetModelResponse, error)

ParseGetModelResponse parses an HTTP response from a GetModelWithResponse call

func (GetModelResponse) ContentType

func (r GetModelResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetModelResponse) GetApplicationvndHxcsJSON200

func (r GetModelResponse) GetApplicationvndHxcsJSON200() *Model

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (GetModelResponse) GetApplicationvndHxcsV1JSON200

func (r GetModelResponse) GetApplicationvndHxcsV1JSON200() *Model

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (GetModelResponse) GetBody

func (r GetModelResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetModelResponse) GetJSON200

func (r GetModelResponse) GetJSON200() *Model

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetModelResponse) Status

func (r GetModelResponse) Status() string

Status returns HTTPResponse.Status

func (GetModelResponse) StatusCode

func (r GetModelResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetModelV2Params

type GetModelV2Params struct {
	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

GetModelV2Params defines parameters for GetModelV2.

type GetModelV2Response

type GetModelV2Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Model
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *Model
	// ApplicationvndHxcsV2JSON200 the response for an HTTP 200 `application/vnd.hxcs.v2+json` response
	ApplicationvndHxcsV2JSON200 *Model
}

func ParseGetModelV2Response

func ParseGetModelV2Response(rsp *http.Response) (*GetModelV2Response, error)

ParseGetModelV2Response parses an HTTP response from a GetModelV2WithResponse call

func (GetModelV2Response) ContentType

func (r GetModelV2Response) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetModelV2Response) GetApplicationvndHxcsJSON200

func (r GetModelV2Response) GetApplicationvndHxcsJSON200() *Model

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (GetModelV2Response) GetApplicationvndHxcsV2JSON200

func (r GetModelV2Response) GetApplicationvndHxcsV2JSON200() *Model

GetApplicationvndHxcsV2JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v2+json` response

func (GetModelV2Response) GetBody

func (r GetModelV2Response) GetBody() []byte

GetBody returns the raw response body bytes

func (GetModelV2Response) GetJSON200

func (r GetModelV2Response) GetJSON200() *Model

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetModelV2Response) Status

func (r GetModelV2Response) Status() string

Status returns HTTPResponse.Status

func (GetModelV2Response) StatusCode

func (r GetModelV2Response) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetNamedQueriesResponse

type GetNamedQueriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *map[string]interface{}
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *map[string]interface{}
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *map[string]interface{}
}

func ParseGetNamedQueriesResponse

func ParseGetNamedQueriesResponse(rsp *http.Response) (*GetNamedQueriesResponse, error)

ParseGetNamedQueriesResponse parses an HTTP response from a GetNamedQueriesWithResponse call

func (GetNamedQueriesResponse) ContentType

func (r GetNamedQueriesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetNamedQueriesResponse) GetApplicationvndHxcsJSON200

func (r GetNamedQueriesResponse) GetApplicationvndHxcsJSON200() *map[string]interface{}

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (GetNamedQueriesResponse) GetApplicationvndHxcsV1JSON200

func (r GetNamedQueriesResponse) GetApplicationvndHxcsV1JSON200() *map[string]interface{}

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (GetNamedQueriesResponse) GetBody

func (r GetNamedQueriesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetNamedQueriesResponse) GetJSON200

func (r GetNamedQueriesResponse) GetJSON200() *map[string]interface{}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetNamedQueriesResponse) Status

func (r GetNamedQueriesResponse) Status() string

Status returns HTTPResponse.Status

func (GetNamedQueriesResponse) StatusCode

func (r GetNamedQueriesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetNamedQueryResponse

type GetNamedQueryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *NamedQueryDefinition
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *NamedQueryDefinition
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *NamedQueryDefinition
}

func ParseGetNamedQueryResponse

func ParseGetNamedQueryResponse(rsp *http.Response) (*GetNamedQueryResponse, error)

ParseGetNamedQueryResponse parses an HTTP response from a GetNamedQueryWithResponse call

func (GetNamedQueryResponse) ContentType

func (r GetNamedQueryResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetNamedQueryResponse) GetApplicationvndHxcsJSON200

func (r GetNamedQueryResponse) GetApplicationvndHxcsJSON200() *NamedQueryDefinition

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (GetNamedQueryResponse) GetApplicationvndHxcsV1JSON200

func (r GetNamedQueryResponse) GetApplicationvndHxcsV1JSON200() *NamedQueryDefinition

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (GetNamedQueryResponse) GetBody

func (r GetNamedQueryResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetNamedQueryResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetNamedQueryResponse) Status

func (r GetNamedQueryResponse) Status() string

Status returns HTTPResponse.Status

func (GetNamedQueryResponse) StatusCode

func (r GetNamedQueryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSecurityPoliciesParams

type GetSecurityPoliciesParams struct {
	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

GetSecurityPoliciesParams defines parameters for GetSecurityPolicies.

type GetSecurityPoliciesResponse

type GetSecurityPoliciesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *map[string]SecurityPolicyConfig
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *map[string]SecurityPolicyConfig
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *map[string]SecurityPolicyConfig
}

func ParseGetSecurityPoliciesResponse

func ParseGetSecurityPoliciesResponse(rsp *http.Response) (*GetSecurityPoliciesResponse, error)

ParseGetSecurityPoliciesResponse parses an HTTP response from a GetSecurityPoliciesWithResponse call

func (GetSecurityPoliciesResponse) ContentType

func (r GetSecurityPoliciesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSecurityPoliciesResponse) GetApplicationvndHxcsJSON200

func (r GetSecurityPoliciesResponse) GetApplicationvndHxcsJSON200() *map[string]SecurityPolicyConfig

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (GetSecurityPoliciesResponse) GetApplicationvndHxcsV1JSON200

func (r GetSecurityPoliciesResponse) GetApplicationvndHxcsV1JSON200() *map[string]SecurityPolicyConfig

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (GetSecurityPoliciesResponse) GetBody

func (r GetSecurityPoliciesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSecurityPoliciesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSecurityPoliciesResponse) Status

Status returns HTTPResponse.Status

func (GetSecurityPoliciesResponse) StatusCode

func (r GetSecurityPoliciesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSecurityPoliciesV2Params

type GetSecurityPoliciesV2Params struct {
	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

GetSecurityPoliciesV2Params defines parameters for GetSecurityPoliciesV2.

type GetSecurityPoliciesV2Response

type GetSecurityPoliciesV2Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SecurityPolicies
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *SecurityPolicies
	// ApplicationvndHxcsV2JSON200 the response for an HTTP 200 `application/vnd.hxcs.v2+json` response
	ApplicationvndHxcsV2JSON200 *SecurityPolicies
}

func ParseGetSecurityPoliciesV2Response

func ParseGetSecurityPoliciesV2Response(rsp *http.Response) (*GetSecurityPoliciesV2Response, error)

ParseGetSecurityPoliciesV2Response parses an HTTP response from a GetSecurityPoliciesV2WithResponse call

func (GetSecurityPoliciesV2Response) ContentType

func (r GetSecurityPoliciesV2Response) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSecurityPoliciesV2Response) GetApplicationvndHxcsJSON200

func (r GetSecurityPoliciesV2Response) GetApplicationvndHxcsJSON200() *SecurityPolicies

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (GetSecurityPoliciesV2Response) GetApplicationvndHxcsV2JSON200

func (r GetSecurityPoliciesV2Response) GetApplicationvndHxcsV2JSON200() *SecurityPolicies

GetApplicationvndHxcsV2JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v2+json` response

func (GetSecurityPoliciesV2Response) GetBody

func (r GetSecurityPoliciesV2Response) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSecurityPoliciesV2Response) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSecurityPoliciesV2Response) Status

Status returns HTTPResponse.Status

func (GetSecurityPoliciesV2Response) StatusCode

func (r GetSecurityPoliciesV2Response) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetUploadInfoResponse

type GetUploadInfoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Upload
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *Upload
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *Upload
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *Upload
	// ApplicationvndHxcsJSON202 the response for an HTTP 202 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON202 *Upload
	// ApplicationvndHxcsV1JSON202 the response for an HTTP 202 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON202 *Upload
}

func ParseGetUploadInfoResponse

func ParseGetUploadInfoResponse(rsp *http.Response) (*GetUploadInfoResponse, error)

ParseGetUploadInfoResponse parses an HTTP response from a GetUploadInfoWithResponse call

func (GetUploadInfoResponse) ContentType

func (r GetUploadInfoResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetUploadInfoResponse) GetApplicationvndHxcsJSON200

func (r GetUploadInfoResponse) GetApplicationvndHxcsJSON200() *Upload

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (GetUploadInfoResponse) GetApplicationvndHxcsJSON202

func (r GetUploadInfoResponse) GetApplicationvndHxcsJSON202() *Upload

GetApplicationvndHxcsJSON202 returns the response for an HTTP 202 `application/vnd.hxcs+json` response

func (GetUploadInfoResponse) GetApplicationvndHxcsV1JSON200

func (r GetUploadInfoResponse) GetApplicationvndHxcsV1JSON200() *Upload

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (GetUploadInfoResponse) GetApplicationvndHxcsV1JSON202

func (r GetUploadInfoResponse) GetApplicationvndHxcsV1JSON202() *Upload

GetApplicationvndHxcsV1JSON202 returns the response for an HTTP 202 `application/vnd.hxcs.v1+json` response

func (GetUploadInfoResponse) GetBody

func (r GetUploadInfoResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetUploadInfoResponse) GetJSON200

func (r GetUploadInfoResponse) GetJSON200() *Upload

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetUploadInfoResponse) GetJSON202

func (r GetUploadInfoResponse) GetJSON202() *Upload

GetJSON202 returns the response for an HTTP 202 `application/json` response

func (GetUploadInfoResponse) Status

func (r GetUploadInfoResponse) Status() string

Status returns HTTPResponse.Status

func (GetUploadInfoResponse) StatusCode

func (r GetUploadInfoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetUserByIdResponse

type GetUserByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *User
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *User
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *User
}

func ParseGetUserByIdResponse

func ParseGetUserByIdResponse(rsp *http.Response) (*GetUserByIdResponse, error)

ParseGetUserByIdResponse parses an HTTP response from a GetUserByIdWithResponse call

func (GetUserByIdResponse) ContentType

func (r GetUserByIdResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetUserByIdResponse) GetApplicationvndHxcsJSON200

func (r GetUserByIdResponse) GetApplicationvndHxcsJSON200() *User

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (GetUserByIdResponse) GetApplicationvndHxcsV1JSON200

func (r GetUserByIdResponse) GetApplicationvndHxcsV1JSON200() *User

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (GetUserByIdResponse) GetBody

func (r GetUserByIdResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetUserByIdResponse) GetJSON200

func (r GetUserByIdResponse) GetJSON200() *User

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetUserByIdResponse) Status

func (r GetUserByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetUserByIdResponse) StatusCode

func (r GetUserByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetVocabularyEntriesParams

type GetVocabularyEntriesParams struct {
	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

GetVocabularyEntriesParams defines parameters for GetVocabularyEntries.

type GetVocabularyEntriesResponse

type GetVocabularyEntriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]VocabularyEntry
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *[]VocabularyEntry
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *[]VocabularyEntry
}

func ParseGetVocabularyEntriesResponse

func ParseGetVocabularyEntriesResponse(rsp *http.Response) (*GetVocabularyEntriesResponse, error)

ParseGetVocabularyEntriesResponse parses an HTTP response from a GetVocabularyEntriesWithResponse call

func (GetVocabularyEntriesResponse) ContentType

func (r GetVocabularyEntriesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetVocabularyEntriesResponse) GetApplicationvndHxcsJSON200

func (r GetVocabularyEntriesResponse) GetApplicationvndHxcsJSON200() *[]VocabularyEntry

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (GetVocabularyEntriesResponse) GetApplicationvndHxcsV1JSON200

func (r GetVocabularyEntriesResponse) GetApplicationvndHxcsV1JSON200() *[]VocabularyEntry

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (GetVocabularyEntriesResponse) GetBody

func (r GetVocabularyEntriesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetVocabularyEntriesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetVocabularyEntriesResponse) Status

Status returns HTTPResponse.Status

func (GetVocabularyEntriesResponse) StatusCode

func (r GetVocabularyEntriesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetVocabularyEntryParams

type GetVocabularyEntryParams struct {
	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

GetVocabularyEntryParams defines parameters for GetVocabularyEntry.

type GetVocabularyEntryResponse

type GetVocabularyEntryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *VocabularyEntry
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *VocabularyEntry
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *VocabularyEntry
}

func ParseGetVocabularyEntryResponse

func ParseGetVocabularyEntryResponse(rsp *http.Response) (*GetVocabularyEntryResponse, error)

ParseGetVocabularyEntryResponse parses an HTTP response from a GetVocabularyEntryWithResponse call

func (GetVocabularyEntryResponse) ContentType

func (r GetVocabularyEntryResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetVocabularyEntryResponse) GetApplicationvndHxcsJSON200

func (r GetVocabularyEntryResponse) GetApplicationvndHxcsJSON200() *VocabularyEntry

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (GetVocabularyEntryResponse) GetApplicationvndHxcsV1JSON200

func (r GetVocabularyEntryResponse) GetApplicationvndHxcsV1JSON200() *VocabularyEntry

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (GetVocabularyEntryResponse) GetBody

func (r GetVocabularyEntryResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetVocabularyEntryResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetVocabularyEntryResponse) Status

Status returns HTTPResponse.Status

func (GetVocabularyEntryResponse) StatusCode

func (r GetVocabularyEntryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetVocabularyListParams

type GetVocabularyListParams struct {
	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

GetVocabularyListParams defines parameters for GetVocabularyList.

type GetVocabularyListResponse

type GetVocabularyListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]VocabularyId
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *[]VocabularyId
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *[]VocabularyId
}

func ParseGetVocabularyListResponse

func ParseGetVocabularyListResponse(rsp *http.Response) (*GetVocabularyListResponse, error)

ParseGetVocabularyListResponse parses an HTTP response from a GetVocabularyListWithResponse call

func (GetVocabularyListResponse) ContentType

func (r GetVocabularyListResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetVocabularyListResponse) GetApplicationvndHxcsJSON200

func (r GetVocabularyListResponse) GetApplicationvndHxcsJSON200() *[]VocabularyId

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (GetVocabularyListResponse) GetApplicationvndHxcsV1JSON200

func (r GetVocabularyListResponse) GetApplicationvndHxcsV1JSON200() *[]VocabularyId

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (GetVocabularyListResponse) GetBody

func (r GetVocabularyListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetVocabularyListResponse) GetJSON200

func (r GetVocabularyListResponse) GetJSON200() *[]VocabularyId

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetVocabularyListResponse) Status

func (r GetVocabularyListResponse) Status() string

Status returns HTTPResponse.Status

func (GetVocabularyListResponse) StatusCode

func (r GetVocabularyListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Group

type Group struct {
	// Id UUID of the group.
	Id *string `json:"id,omitempty"`

	// Name Name of the group.
	Name *string `json:"name,omitempty"`
}

Group Represents a group.

type HelloResponse

type HelloResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseHelloResponse

func ParseHelloResponse(rsp *http.Response) (*HelloResponse, error)

ParseHelloResponse parses an HTTP response from a HelloWithResponse call

func (HelloResponse) ContentType

func (r HelloResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (HelloResponse) GetBody

func (r HelloResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (HelloResponse) Status

func (r HelloResponse) Status() string

Status returns HTTPResponse.Status

func (HelloResponse) StatusCode

func (r HelloResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HelloUserResponse

type HelloUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseHelloUserResponse

func ParseHelloUserResponse(rsp *http.Response) (*HelloUserResponse, error)

ParseHelloUserResponse parses an HTTP response from a HelloUserWithResponse call

func (HelloUserResponse) ContentType

func (r HelloUserResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (HelloUserResponse) GetBody

func (r HelloUserResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (HelloUserResponse) Status

func (r HelloUserResponse) Status() string

Status returns HTTPResponse.Status

func (HelloUserResponse) StatusCode

func (r HelloUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type ImageLocation

type ImageLocation struct {
	Bottom *int32 `json:"bottom,omitempty"`
	Left   *int32 `json:"left,omitempty"`
	Right  *int32 `json:"right,omitempty"`
	Top    *int32 `json:"top,omitempty"`
}

ImageLocation defines model for ImageLocation.

type ListEffectiveACLDTO

type ListEffectiveACLDTO struct {
	FullEffectiveACL *[]ListEffectiveACLPerUserDTO `json:"fullEffectiveACL,omitempty"`
	SysId            *string                       `json:"sys_id,omitempty"`
}

ListEffectiveACLDTO defines model for ListEffectiveACLDTO.

type ListEffectiveACLPerUserDTO

type ListEffectiveACLPerUserDTO struct {
	UserAcl *[]ACE  `json:"userAcl,omitempty"`
	UserId  *string `json:"userId,omitempty"`
}

ListEffectiveACLPerUserDTO defines model for ListEffectiveACLPerUserDTO.

type ListEffectivePermissionsDTO

type ListEffectivePermissionsDTO struct {
	FullEffectivePermissions *[]ListEffectivePermissionsPerUserDTO `json:"fullEffectivePermissions,omitempty"`
	SysId                    *string                               `json:"sys_id,omitempty"`
}

ListEffectivePermissionsDTO defines model for ListEffectivePermissionsDTO.

type ListEffectivePermissionsPerUserDTO

type ListEffectivePermissionsPerUserDTO struct {
	UserId          *string   `json:"userId,omitempty"`
	UserPermissions *[]string `json:"userPermissions,omitempty"`
}

ListEffectivePermissionsPerUserDTO defines model for ListEffectivePermissionsPerUserDTO.

type LocationModel

type LocationModel struct {
	Position    *ImageLocation       `json:"position,omitempty"`
	Spreadsheet *SpreadSheetLocation `json:"spreadsheet,omitempty"`
	Text        *TextLocation        `json:"text,omitempty"`
	Timestamp   *VideoLocation       `json:"timestamp,omitempty"`
}

LocationModel Location the vector is derived from within the original document. For example this could be the page and paragraph number or coordinates of a bounding box.

type MixinType

type MixinType struct {
	NoPerDocumentQuery *bool     `json:"noPerDocumentQuery,omitempty"`
	ProjectId          *string   `json:"projectId,omitempty"`
	Schemas            *[]string `json:"schemas,omitempty"`
}

MixinType Represents a mixin.

type Model

type Model struct {
	MixinTypes   *map[string]MixinType   `json:"mixinTypes,omitempty"`
	PrimaryTypes *map[string]PrimaryType `json:"primaryTypes,omitempty"`
	Schemas      *map[string]Schema      `json:"schemas,omitempty"`
	Types        *map[string]Type        `json:"types,omitempty"`

	// Version Optimistic-locking version, present on the v2 API only.
	Version *int64 `json:"version,omitempty"`
}

Model Represents a model.

type MoveCommand

type MoveCommand struct {
	// TargetParentId Target parent id where the document will be moved.  Example: "targetParentId": "097d50d7-f839-440a-b72c-f2a51ea214b7"
	TargetParentId string `json:"targetParentId"`
}

MoveCommand Represents the Move API's HTTP Post body.

type MoveJSONRequestBody

type MoveJSONRequestBody = MoveCommand

MoveJSONRequestBody defines body for Move for application/json ContentType.

type MoveParams

type MoveParams struct {
	// Condition Condition (an HXQL predicate).
	Condition *string `form:"condition,omitempty" json:"condition,omitempty"`

	// If Condition (an expression), for instance content.sys_title == "foo". Mutually exclusive with the condition parameter.
	If *string `form:"if,omitempty" json:"if,omitempty"`

	// UserChange User change: when true (the default), the update is flagged as a user change and increments the document's sys_ugen. Pass false for technical updates that should not be seen as user changes.
	UserChange *bool `form:"userChange,omitempty" json:"userChange,omitempty"`

	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

MoveParams defines parameters for Move.

type MoveResponse

type MoveResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Document
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *Document
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *Document
}

func ParseMoveResponse

func ParseMoveResponse(rsp *http.Response) (*MoveResponse, error)

ParseMoveResponse parses an HTTP response from a MoveWithResponse call

func (MoveResponse) ContentType

func (r MoveResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (MoveResponse) GetApplicationvndHxcsJSON200

func (r MoveResponse) GetApplicationvndHxcsJSON200() *Document

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (MoveResponse) GetApplicationvndHxcsV1JSON200

func (r MoveResponse) GetApplicationvndHxcsV1JSON200() *Document

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (MoveResponse) GetBody

func (r MoveResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (MoveResponse) GetJSON200

func (r MoveResponse) GetJSON200() *Document

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (MoveResponse) Status

func (r MoveResponse) Status() string

Status returns HTTPResponse.Status

func (MoveResponse) StatusCode

func (r MoveResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type NamedQuery

type NamedQuery struct {
	// Limit Max number of documents retrieved by the given query.
	//
	// Example: 100
	Limit *int64 `json:"limit,omitempty"`

	// Offset The initial document offset; for pagination support.
	//
	// Example: 0
	Offset     *int64                  `json:"offset,omitempty"`
	Parameters *map[string]interface{} `json:"parameters,omitempty"`

	// QueryName Name of the query.
	QueryName *string `json:"queryName,omitempty"`

	// RepositoryId The id of the internal repository.
	RepositoryId *string `json:"repositoryId,omitempty"`

	// SearchAfter Opaque cursor token for efficient pagination. Use the nextSearchAfter value from a previous response. When provided, offset is ignored.
	SearchAfter *string `json:"searchAfter,omitempty"`

	// SelectedQuickFilters List of filters to be applied to the result.
	//
	// Example: exclude documents that are not article: mydc_nature != 'article'
	SelectedQuickFilters *[]string `json:"selectedQuickFilters,omitempty"`

	// Sort List of fields used to sort the result.
	//
	// Example: ["sys_title"]
	Sort *[]string `json:"sort,omitempty"`

	// TrackTotalCount If true, the total count of documents retrieved by the query will be computed.
	TrackTotalCount *bool `json:"trackTotalCount,omitempty"`

	// TrackTotalCountUpTo Max number of documents to count. This can be set to -1 to remove the limit but it will be expensive on large indexes.
	//
	// Example: 100
	TrackTotalCountUpTo *int32 `json:"trackTotalCountUpTo,omitempty"`
}

NamedQuery Represents a query referencing a pre-defined named query definition by name.

type NamedQueryDefinition

type NamedQueryDefinition struct {
	Aliases      *[]string      `json:"aliases,omitempty"`
	Name         *string        `json:"name,omitempty"`
	QuickFilters *[]QuickFilter `json:"quickFilters,omitempty"`
	Sort         *[]string      `json:"sort,omitempty"`

	// WhereClauseDefinition Represents an advanced query where clause definition.
	WhereClauseDefinition *WhereClause `json:"whereClauseDefinition,omitempty"`
}

NamedQueryDefinition Represents a named query definition.

type PatchDocumentByIdApplicationJSONPatchPlusJSONBody

type PatchDocumentByIdApplicationJSONPatchPlusJSONBody = map[string]interface{}

PatchDocumentByIdApplicationJSONPatchPlusJSONBody defines parameters for PatchDocumentById.

type PatchDocumentByIdApplicationJSONPatchPlusJSONRequestBody

type PatchDocumentByIdApplicationJSONPatchPlusJSONRequestBody = PatchDocumentByIdApplicationJSONPatchPlusJSONBody

PatchDocumentByIdApplicationJSONPatchPlusJSONRequestBody defines body for PatchDocumentById for application/json-patch+json ContentType.

type PatchDocumentByIdParams

type PatchDocumentByIdParams struct {
	// Condition Condition (an HXQL predicate).
	Condition *string `form:"condition,omitempty" json:"condition,omitempty"`

	// If Condition (an expression), for instance content.sys_title == "foo". Mutually exclusive with the condition parameter.
	If *string `form:"if,omitempty" json:"if,omitempty"`

	// UserChange User change: when true (the default), the update is flagged as a user change and increments the document's sys_ugen. Pass false for technical updates that should not be seen as user changes.
	UserChange *bool `form:"userChange,omitempty" json:"userChange,omitempty"`

	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

PatchDocumentByIdParams defines parameters for PatchDocumentById.

type PatchDocumentByIdResponse

type PatchDocumentByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Document
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *Document
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *Document
}

func ParsePatchDocumentByIdResponse

func ParsePatchDocumentByIdResponse(rsp *http.Response) (*PatchDocumentByIdResponse, error)

ParsePatchDocumentByIdResponse parses an HTTP response from a PatchDocumentByIdWithResponse call

func (PatchDocumentByIdResponse) ContentType

func (r PatchDocumentByIdResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchDocumentByIdResponse) GetApplicationvndHxcsJSON200

func (r PatchDocumentByIdResponse) GetApplicationvndHxcsJSON200() *Document

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (PatchDocumentByIdResponse) GetApplicationvndHxcsV1JSON200

func (r PatchDocumentByIdResponse) GetApplicationvndHxcsV1JSON200() *Document

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (PatchDocumentByIdResponse) GetBody

func (r PatchDocumentByIdResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PatchDocumentByIdResponse) GetJSON200

func (r PatchDocumentByIdResponse) GetJSON200() *Document

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PatchDocumentByIdResponse) Status

func (r PatchDocumentByIdResponse) Status() string

Status returns HTTPResponse.Status

func (PatchDocumentByIdResponse) StatusCode

func (r PatchDocumentByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchDocumentByPathApplicationJSONPatchPlusJSONBody

type PatchDocumentByPathApplicationJSONPatchPlusJSONBody = map[string]interface{}

PatchDocumentByPathApplicationJSONPatchPlusJSONBody defines parameters for PatchDocumentByPath.

type PatchDocumentByPathApplicationJSONPatchPlusJSONRequestBody

type PatchDocumentByPathApplicationJSONPatchPlusJSONRequestBody = PatchDocumentByPathApplicationJSONPatchPlusJSONBody

PatchDocumentByPathApplicationJSONPatchPlusJSONRequestBody defines body for PatchDocumentByPath for application/json-patch+json ContentType.

type PatchDocumentByPathParams

type PatchDocumentByPathParams struct {
	// Condition Condition (an HXQL predicate).
	Condition *string `form:"condition,omitempty" json:"condition,omitempty"`

	// If Condition (an expression), for instance content.sys_title == "foo". Mutually exclusive with the condition parameter.
	If *string `form:"if,omitempty" json:"if,omitempty"`

	// UserChange User change: when true (the default), the update is flagged as a user change and increments the document's sys_ugen. Pass false for technical updates that should not be seen as user changes.
	UserChange *bool `form:"userChange,omitempty" json:"userChange,omitempty"`

	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

PatchDocumentByPathParams defines parameters for PatchDocumentByPath.

type PatchDocumentByPathResponse

type PatchDocumentByPathResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Document
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *Document
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *Document
}

func ParsePatchDocumentByPathResponse

func ParsePatchDocumentByPathResponse(rsp *http.Response) (*PatchDocumentByPathResponse, error)

ParsePatchDocumentByPathResponse parses an HTTP response from a PatchDocumentByPathWithResponse call

func (PatchDocumentByPathResponse) ContentType

func (r PatchDocumentByPathResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchDocumentByPathResponse) GetApplicationvndHxcsJSON200

func (r PatchDocumentByPathResponse) GetApplicationvndHxcsJSON200() *Document

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (PatchDocumentByPathResponse) GetApplicationvndHxcsV1JSON200

func (r PatchDocumentByPathResponse) GetApplicationvndHxcsV1JSON200() *Document

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (PatchDocumentByPathResponse) GetBody

func (r PatchDocumentByPathResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PatchDocumentByPathResponse) GetJSON200

func (r PatchDocumentByPathResponse) GetJSON200() *Document

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PatchDocumentByPathResponse) Status

Status returns HTTPResponse.Status

func (PatchDocumentByPathResponse) StatusCode

func (r PatchDocumentByPathResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchModelApplicationJSONPatchPlusJSONBody

type PatchModelApplicationJSONPatchPlusJSONBody = map[string]interface{}

PatchModelApplicationJSONPatchPlusJSONBody defines parameters for PatchModel.

type PatchModelApplicationJSONPatchPlusJSONRequestBody

type PatchModelApplicationJSONPatchPlusJSONRequestBody = PatchModelApplicationJSONPatchPlusJSONBody

PatchModelApplicationJSONPatchPlusJSONRequestBody defines body for PatchModel for application/json-patch+json ContentType.

type PatchModelParams

type PatchModelParams struct {
	// ValidateOnly Whether to just validate the changes, without applying them.
	ValidateOnly *bool `form:"validateOnly,omitempty" json:"validateOnly,omitempty"`

	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

PatchModelParams defines parameters for PatchModel.

type PatchModelResponse

type PatchModelResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Model
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *Model
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *Model
}

func ParsePatchModelResponse

func ParsePatchModelResponse(rsp *http.Response) (*PatchModelResponse, error)

ParsePatchModelResponse parses an HTTP response from a PatchModelWithResponse call

func (PatchModelResponse) ContentType

func (r PatchModelResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchModelResponse) GetApplicationvndHxcsJSON200

func (r PatchModelResponse) GetApplicationvndHxcsJSON200() *Model

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (PatchModelResponse) GetApplicationvndHxcsV1JSON200

func (r PatchModelResponse) GetApplicationvndHxcsV1JSON200() *Model

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (PatchModelResponse) GetBody

func (r PatchModelResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PatchModelResponse) GetJSON200

func (r PatchModelResponse) GetJSON200() *Model

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PatchModelResponse) Status

func (r PatchModelResponse) Status() string

Status returns HTTPResponse.Status

func (PatchModelResponse) StatusCode

func (r PatchModelResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchSecurityPoliciesApplicationJSONPatchPlusJSONBody

type PatchSecurityPoliciesApplicationJSONPatchPlusJSONBody = map[string]interface{}

PatchSecurityPoliciesApplicationJSONPatchPlusJSONBody defines parameters for PatchSecurityPolicies.

type PatchSecurityPoliciesApplicationJSONPatchPlusJSONRequestBody

type PatchSecurityPoliciesApplicationJSONPatchPlusJSONRequestBody = PatchSecurityPoliciesApplicationJSONPatchPlusJSONBody

PatchSecurityPoliciesApplicationJSONPatchPlusJSONRequestBody defines body for PatchSecurityPolicies for application/json-patch+json ContentType.

type PatchSecurityPoliciesParams

type PatchSecurityPoliciesParams struct {
	// ValidateOnly Whether to just validate the changes, without applying them.
	ValidateOnly *bool `form:"validateOnly,omitempty" json:"validateOnly,omitempty"`

	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

PatchSecurityPoliciesParams defines parameters for PatchSecurityPolicies.

type PatchSecurityPoliciesResponse

type PatchSecurityPoliciesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *map[string]SecurityPolicyConfig
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *map[string]SecurityPolicyConfig
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *map[string]SecurityPolicyConfig
}

func ParsePatchSecurityPoliciesResponse

func ParsePatchSecurityPoliciesResponse(rsp *http.Response) (*PatchSecurityPoliciesResponse, error)

ParsePatchSecurityPoliciesResponse parses an HTTP response from a PatchSecurityPoliciesWithResponse call

func (PatchSecurityPoliciesResponse) ContentType

func (r PatchSecurityPoliciesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchSecurityPoliciesResponse) GetApplicationvndHxcsJSON200

func (r PatchSecurityPoliciesResponse) GetApplicationvndHxcsJSON200() *map[string]SecurityPolicyConfig

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (PatchSecurityPoliciesResponse) GetApplicationvndHxcsV1JSON200

func (r PatchSecurityPoliciesResponse) GetApplicationvndHxcsV1JSON200() *map[string]SecurityPolicyConfig

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (PatchSecurityPoliciesResponse) GetBody

func (r PatchSecurityPoliciesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PatchSecurityPoliciesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PatchSecurityPoliciesResponse) Status

Status returns HTTPResponse.Status

func (PatchSecurityPoliciesResponse) StatusCode

func (r PatchSecurityPoliciesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Predicate

type Predicate struct {
	Operator        *string               `json:"operator,omitempty"`
	Parameters      *[]PredicateParameter `json:"parameters,omitempty"`
	SearchParameter *string               `json:"searchParameter,omitempty"`
}

Predicate Represents an advanced query predicate definition.

type PredicateParameter

type PredicateParameter struct {
	DefaultValue *map[string]interface{} `json:"defaultValue,omitempty"`
	Name         *string                 `json:"name,omitempty"`
}

PredicateParameter Represents an advanced query predicate parameter definition.

type PrimaryType

type PrimaryType struct {
	Extends   *string   `json:"extends,omitempty"`
	Mixins    *[]string `json:"mixins,omitempty"`
	ProjectId *string   `json:"projectId,omitempty"`
	Schemas   *[]string `json:"schemas,omitempty"`

	// Special Deprecated: the special flag is obsolete and will be removed in a future version.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Special  *bool     `json:"special,omitempty"`
	Subtypes *[]string `json:"subtypes,omitempty"`
}

PrimaryType Represents a primary type.

type Query

type Query struct {
	// Limit Max number of documents retrieved by the given query.
	//
	// Example: 100
	Limit *int64 `json:"limit,omitempty"`

	// Offset The initial document offset; for pagination support.
	//
	// Example: 0
	Offset *int64 `json:"offset,omitempty"`

	// Query The query, in the syntax given by the syntax field.
	//
	// Example: SELECT * FROM SysContent
	Query *string `json:"query,omitempty"`

	// RepositoryId The id of the internal repository.
	RepositoryId *string `json:"repositoryId,omitempty"`

	// SearchAfter Opaque cursor token for efficient pagination. Use the nextSearchAfter value from a previous response. When provided, offset is ignored.
	SearchAfter *string `json:"searchAfter,omitempty"`

	// Sort List of fields used to sort the result.
	//
	// Example: ["sys_title"]
	Sort *[]string `json:"sort,omitempty"`

	// Syntax The syntax the query is expressed in; absent for the default hxql syntax.
	Syntax *QuerySyntax `json:"syntax,omitempty"`

	// TrackTotalCount If true, the total count of documents retrieved by the query will be computed.
	TrackTotalCount *bool `json:"trackTotalCount,omitempty"`

	// TrackTotalCountUpTo Max number of documents to count. This can be set to -1 to remove the limit but it will be expensive on large indexes.
	//
	// Example: 100
	TrackTotalCountUpTo *int32 `json:"trackTotalCountUpTo,omitempty"`
}

Query Represents a query.

type QueryResult

type QueryResult struct {
	// AggregationsBuckets The list of aggregation buckets computed for the query.
	AggregationsBuckets *[]StringTermsBucket `json:"aggregationsBuckets,omitempty"`
	Count               *int64               `json:"count,omitempty"`

	// Documents The list of retrieved documents by the given query.
	Documents *[]Document `json:"documents,omitempty"`

	// Limit Max number of documents retrieved by the given query.
	//
	// Example: 100
	Limit *int64 `json:"limit,omitempty"`

	// Offset Actual document offset; for pagination support.
	//
	// Example: 0
	Offset *int64 `json:"offset,omitempty"`

	// Query The query, in the syntax it was expressed in.
	//
	// Example: SELECT * FROM SysContent
	Query *string `json:"query,omitempty"`

	// RepositoryId The id of the internal repository.
	RepositoryId *string `json:"repositoryId,omitempty"`

	// Syntax The syntax the query is expressed in; absent for the default hxql syntax.
	Syntax *QuerySyntax `json:"syntax,omitempty"`

	// TotalCount The total number of documents that match the query: is approximated if trackTotalCount is set to false.
	TotalCount *int64 `json:"totalCount,omitempty"`

	// TotalCountIsTruncated If true the total count of the query was truncated.
	TotalCountIsTruncated *bool `json:"totalCountIsTruncated,omitempty"`

	// TrackTotalCount If true the total count of the query was computed.
	TrackTotalCount *bool `json:"trackTotalCount,omitempty"`
}

QueryResult Represents a query result.

type QuerySyntax

type QuerySyntax string

QuerySyntax The syntax the query is expressed in; absent for the default hxql syntax.

const (
	Expr QuerySyntax = "expr"
	Hxql QuerySyntax = "hxql"
)

Defines values for QuerySyntax.

func (QuerySyntax) Valid

func (e QuerySyntax) Valid() bool

Valid indicates whether the value is a known member of the QuerySyntax enum.

type QueryTermsAggregationJSONRequestBody

type QueryTermsAggregationJSONRequestBody = TermsAggregationsQuery

QueryTermsAggregationJSONRequestBody defines body for QueryTermsAggregation for application/json ContentType.

type QueryTermsAggregationResponse

type QueryTermsAggregationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *QueryResult
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *QueryResult
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *QueryResult
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *RepositoryErrorResponse
	// Headers503 the parsed response headers for an HTTP 503 response
	Headers503 *QueryTermsAggregationResponse503Headers
}

func ParseQueryTermsAggregationResponse

func ParseQueryTermsAggregationResponse(rsp *http.Response) (*QueryTermsAggregationResponse, error)

ParseQueryTermsAggregationResponse parses an HTTP response from a QueryTermsAggregationWithResponse call

func (QueryTermsAggregationResponse) ContentType

func (r QueryTermsAggregationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (QueryTermsAggregationResponse) GetApplicationvndHxcsJSON200

func (r QueryTermsAggregationResponse) GetApplicationvndHxcsJSON200() *QueryResult

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (QueryTermsAggregationResponse) GetApplicationvndHxcsV1JSON200

func (r QueryTermsAggregationResponse) GetApplicationvndHxcsV1JSON200() *QueryResult

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (QueryTermsAggregationResponse) GetBody

func (r QueryTermsAggregationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (QueryTermsAggregationResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (QueryTermsAggregationResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (QueryTermsAggregationResponse) Status

Status returns HTTPResponse.Status

func (QueryTermsAggregationResponse) StatusCode

func (r QueryTermsAggregationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type QueryTermsAggregationResponse503Headers

type QueryTermsAggregationResponse503Headers struct {
	RetryAfter *int
}

QueryTermsAggregationResponse503Headers the declared response headers of an HTTP 503 response for QueryTermsAggregation

type QuickFilter

type QuickFilter struct {
	Clause *string   `json:"clause,omitempty"`
	Name   *string   `json:"name,omitempty"`
	Sort   *[]string `json:"sort,omitempty"`
}

QuickFilter Represents an advanced query quick filter definition.

type RenewCredentialsResponse

type RenewCredentialsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseRenewCredentialsResponse

func ParseRenewCredentialsResponse(rsp *http.Response) (*RenewCredentialsResponse, error)

ParseRenewCredentialsResponse parses an HTTP response from a RenewCredentialsWithResponse call

func (RenewCredentialsResponse) ContentType

func (r RenewCredentialsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RenewCredentialsResponse) GetBody

func (r RenewCredentialsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RenewCredentialsResponse) Status

func (r RenewCredentialsResponse) Status() string

Status returns HTTPResponse.Status

func (RenewCredentialsResponse) StatusCode

func (r RenewCredentialsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RepositoryErrorResponse

type RepositoryErrorResponse struct {
	EntityType *string `json:"entity-type,omitempty"`
	Exception  *struct {
		Cause *struct {
			LocalizedMessage *string `json:"localizedMessage,omitempty"`
			Message          *string `json:"message,omitempty"`
			StackTrace       *[]struct {
				ClassLoaderName *string `json:"classLoaderName,omitempty"`
				ClassName       *string `json:"className,omitempty"`
				FileName        *string `json:"fileName,omitempty"`
				LineNumber      *int32  `json:"lineNumber,omitempty"`
				MethodName      *string `json:"methodName,omitempty"`
				ModuleName      *string `json:"moduleName,omitempty"`
				ModuleVersion   *string `json:"moduleVersion,omitempty"`
				NativeMethod    *bool   `json:"nativeMethod,omitempty"`
			} `json:"stackTrace,omitempty"`
			Suppressed *[]struct {
				LocalizedMessage *string `json:"localizedMessage,omitempty"`
				Message          *string `json:"message,omitempty"`
				StackTrace       *[]struct {
					ClassLoaderName *string `json:"classLoaderName,omitempty"`
					ClassName       *string `json:"className,omitempty"`
					FileName        *string `json:"fileName,omitempty"`
					LineNumber      *int32  `json:"lineNumber,omitempty"`
					MethodName      *string `json:"methodName,omitempty"`
					ModuleName      *string `json:"moduleName,omitempty"`
					ModuleVersion   *string `json:"moduleVersion,omitempty"`
					NativeMethod    *bool   `json:"nativeMethod,omitempty"`
				} `json:"stackTrace,omitempty"`
			} `json:"suppressed,omitempty"`
		} `json:"cause,omitempty"`
		LocalizedMessage *string `json:"localizedMessage,omitempty"`
		Message          *string `json:"message,omitempty"`
		StackTrace       *[]struct {
			ClassLoaderName *string `json:"classLoaderName,omitempty"`
			ClassName       *string `json:"className,omitempty"`
			FileName        *string `json:"fileName,omitempty"`
			LineNumber      *int32  `json:"lineNumber,omitempty"`
			MethodName      *string `json:"methodName,omitempty"`
			ModuleName      *string `json:"moduleName,omitempty"`
			ModuleVersion   *string `json:"moduleVersion,omitempty"`
			NativeMethod    *bool   `json:"nativeMethod,omitempty"`
		} `json:"stackTrace,omitempty"`
		Suppressed *[]struct {
			LocalizedMessage *string `json:"localizedMessage,omitempty"`
			Message          *string `json:"message,omitempty"`
			StackTrace       *[]struct {
				ClassLoaderName *string `json:"classLoaderName,omitempty"`
				ClassName       *string `json:"className,omitempty"`
				FileName        *string `json:"fileName,omitempty"`
				LineNumber      *int32  `json:"lineNumber,omitempty"`
				MethodName      *string `json:"methodName,omitempty"`
				ModuleName      *string `json:"moduleName,omitempty"`
				ModuleVersion   *string `json:"moduleVersion,omitempty"`
				NativeMethod    *bool   `json:"nativeMethod,omitempty"`
			} `json:"stackTrace,omitempty"`
		} `json:"suppressed,omitempty"`
	} `json:"exception,omitempty"`
	Message    *string `json:"message,omitempty"`
	StackTrace *[]struct {
		ClassLoaderName *string `json:"classLoaderName,omitempty"`
		ClassName       *string `json:"className,omitempty"`
		FileName        *string `json:"fileName,omitempty"`
		LineNumber      *int32  `json:"lineNumber,omitempty"`
		MethodName      *string `json:"methodName,omitempty"`
		ModuleName      *string `json:"moduleName,omitempty"`
		ModuleVersion   *string `json:"moduleVersion,omitempty"`
		NativeMethod    *bool   `json:"nativeMethod,omitempty"`
	} `json:"stackTrace,omitempty"`
	Status *int32 `json:"status,omitempty"`
}

RepositoryErrorResponse defines model for RepositoryErrorResponse.

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type Resolver

type Resolver struct {
	Name       *string `json:"name,omitempty"`
	Repository *string `json:"repository,omitempty"`
	Store      *string `json:"store,omitempty"`
	Type       *string `json:"type,omitempty"`
	Validation *bool   `json:"validation,omitempty"`
	Vocabulary *string `json:"vocabulary,omitempty"`
}

Resolver Represents a resolver. Beyond "name" and "validation", the properties are resolver-specific parameters, e.g. "vocabulary", "repository", "store" or "type".

type RestoreVersionParams

type RestoreVersionParams struct {
	// UserChange User change: when true (the default), the update is flagged as a user change and increments the document's sys_ugen. Pass false for technical updates that should not be seen as user changes.
	UserChange *bool `form:"userChange,omitempty" json:"userChange,omitempty"`

	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

RestoreVersionParams defines parameters for RestoreVersion.

type RestoreVersionResponse

type RestoreVersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Document
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *Document
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *Document
}

func ParseRestoreVersionResponse

func ParseRestoreVersionResponse(rsp *http.Response) (*RestoreVersionResponse, error)

ParseRestoreVersionResponse parses an HTTP response from a RestoreVersionWithResponse call

func (RestoreVersionResponse) ContentType

func (r RestoreVersionResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RestoreVersionResponse) GetApplicationvndHxcsJSON200

func (r RestoreVersionResponse) GetApplicationvndHxcsJSON200() *Document

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (RestoreVersionResponse) GetApplicationvndHxcsV1JSON200

func (r RestoreVersionResponse) GetApplicationvndHxcsV1JSON200() *Document

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (RestoreVersionResponse) GetBody

func (r RestoreVersionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RestoreVersionResponse) GetJSON200

func (r RestoreVersionResponse) GetJSON200() *Document

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (RestoreVersionResponse) Status

func (r RestoreVersionResponse) Status() string

Status returns HTTPResponse.Status

func (RestoreVersionResponse) StatusCode

func (r RestoreVersionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Schema

type Schema struct {
	Fields *map[string]Field `json:"fields,omitempty"`

	// Prefix Field name prefix. Read-only: it is derived from the field names.
	Prefix          *string `json:"prefix,omitempty"`
	ProjectId       *string `json:"projectId,omitempty"`
	VersionWritable *bool   `json:"versionWritable,omitempty"`
}

Schema Represents a schema.

type SearchGroupsParams

type SearchGroupsParams struct {
	// Name Part of the group name or label
	Name string `form:"name" json:"name"`
}

SearchGroupsParams defines parameters for SearchGroups.

type SearchGroupsResponse

type SearchGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Group
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *[]Group
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *[]Group
}

func ParseSearchGroupsResponse

func ParseSearchGroupsResponse(rsp *http.Response) (*SearchGroupsResponse, error)

ParseSearchGroupsResponse parses an HTTP response from a SearchGroupsWithResponse call

func (SearchGroupsResponse) ContentType

func (r SearchGroupsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SearchGroupsResponse) GetApplicationvndHxcsJSON200

func (r SearchGroupsResponse) GetApplicationvndHxcsJSON200() *[]Group

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (SearchGroupsResponse) GetApplicationvndHxcsV1JSON200

func (r SearchGroupsResponse) GetApplicationvndHxcsV1JSON200() *[]Group

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (SearchGroupsResponse) GetBody

func (r SearchGroupsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SearchGroupsResponse) GetJSON200

func (r SearchGroupsResponse) GetJSON200() *[]Group

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SearchGroupsResponse) Status

func (r SearchGroupsResponse) Status() string

Status returns HTTPResponse.Status

func (SearchGroupsResponse) StatusCode

func (r SearchGroupsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SearchUsersByNameParams

type SearchUsersByNameParams struct {
	// Name Part of the user name or email
	Name string `form:"name" json:"name"`
}

SearchUsersByNameParams defines parameters for SearchUsersByName.

type SearchUsersByNameResponse

type SearchUsersByNameResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]User
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *[]User
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *[]User
}

func ParseSearchUsersByNameResponse

func ParseSearchUsersByNameResponse(rsp *http.Response) (*SearchUsersByNameResponse, error)

ParseSearchUsersByNameResponse parses an HTTP response from a SearchUsersByNameWithResponse call

func (SearchUsersByNameResponse) ContentType

func (r SearchUsersByNameResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SearchUsersByNameResponse) GetApplicationvndHxcsJSON200

func (r SearchUsersByNameResponse) GetApplicationvndHxcsJSON200() *[]User

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (SearchUsersByNameResponse) GetApplicationvndHxcsV1JSON200

func (r SearchUsersByNameResponse) GetApplicationvndHxcsV1JSON200() *[]User

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (SearchUsersByNameResponse) GetBody

func (r SearchUsersByNameResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SearchUsersByNameResponse) GetJSON200

func (r SearchUsersByNameResponse) GetJSON200() *[]User

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SearchUsersByNameResponse) Status

func (r SearchUsersByNameResponse) Status() string

Status returns HTTPResponse.Status

func (SearchUsersByNameResponse) StatusCode

func (r SearchUsersByNameResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SecurityPolicies

type SecurityPolicies struct {
	Policies *map[string]SecurityPolicyConfig `json:"policies,omitempty"`

	// Version Optimistic-locking version, present on the v2 API only.
	Version *int64 `json:"version,omitempty"`
}

SecurityPolicies Represents the security policies and their version.

type SecurityPolicyConfig

type SecurityPolicyConfig struct {
	ContentTypes  *[]string `json:"contentTypes,omitempty"`
	Engine        *string   `json:"engine,omitempty"`
	Expression    *string   `json:"expression,omitempty"`
	Mixin         *string   `json:"mixin,omitempty"`
	Permissions   *[]string `json:"permissions,omitempty"`
	ProjectId     *string   `json:"projectId,omitempty"`
	Relations     *[]string `json:"relations,omitempty"`
	UserAttribute *string   `json:"userAttribute,omitempty"`
}

SecurityPolicyConfig Configuration for a Security Policy

type SetExternalUserRelationsJSONRequestBody

type SetExternalUserRelationsJSONRequestBody = ExternalUserRelationsSecurityPolicyRelations

SetExternalUserRelationsJSONRequestBody defines body for SetExternalUserRelations for application/json ContentType.

type SetExternalUserRelationsParams

type SetExternalUserRelationsParams struct {
	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

SetExternalUserRelationsParams defines parameters for SetExternalUserRelations.

type SetExternalUserRelationsResponse

type SetExternalUserRelationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseSetExternalUserRelationsResponse

func ParseSetExternalUserRelationsResponse(rsp *http.Response) (*SetExternalUserRelationsResponse, error)

ParseSetExternalUserRelationsResponse parses an HTTP response from a SetExternalUserRelationsWithResponse call

func (SetExternalUserRelationsResponse) ContentType

func (r SetExternalUserRelationsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SetExternalUserRelationsResponse) GetBody

func (r SetExternalUserRelationsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SetExternalUserRelationsResponse) Status

Status returns HTTPResponse.Status

func (SetExternalUserRelationsResponse) StatusCode

func (r SetExternalUserRelationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetModelItemsForProjectJSONRequestBody

type SetModelItemsForProjectJSONRequestBody = Model

SetModelItemsForProjectJSONRequestBody defines body for SetModelItemsForProject for application/json ContentType.

type SetModelItemsForProjectParams

type SetModelItemsForProjectParams struct {
	// ValidateOnly Whether to just validate the changes, without applying them.
	ValidateOnly *bool `form:"validateOnly,omitempty" json:"validateOnly,omitempty"`

	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

SetModelItemsForProjectParams defines parameters for SetModelItemsForProject.

type SetModelItemsForProjectResponse

type SetModelItemsForProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Model
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *Model
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *Model
}

func ParseSetModelItemsForProjectResponse

func ParseSetModelItemsForProjectResponse(rsp *http.Response) (*SetModelItemsForProjectResponse, error)

ParseSetModelItemsForProjectResponse parses an HTTP response from a SetModelItemsForProjectWithResponse call

func (SetModelItemsForProjectResponse) ContentType

func (r SetModelItemsForProjectResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SetModelItemsForProjectResponse) GetApplicationvndHxcsJSON200

func (r SetModelItemsForProjectResponse) GetApplicationvndHxcsJSON200() *Model

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (SetModelItemsForProjectResponse) GetApplicationvndHxcsV1JSON200

func (r SetModelItemsForProjectResponse) GetApplicationvndHxcsV1JSON200() *Model

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (SetModelItemsForProjectResponse) GetBody

func (r SetModelItemsForProjectResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SetModelItemsForProjectResponse) GetJSON200

func (r SetModelItemsForProjectResponse) GetJSON200() *Model

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SetModelItemsForProjectResponse) Status

Status returns HTTPResponse.Status

func (SetModelItemsForProjectResponse) StatusCode

func (r SetModelItemsForProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetModelItemsForProjectV2JSONRequestBody

type SetModelItemsForProjectV2JSONRequestBody = Model

SetModelItemsForProjectV2JSONRequestBody defines body for SetModelItemsForProjectV2 for application/json ContentType.

type SetModelItemsForProjectV2Params

type SetModelItemsForProjectV2Params struct {
	// ValidateOnly Whether to just validate the changes, without applying them.
	ValidateOnly *bool `form:"validateOnly,omitempty" json:"validateOnly,omitempty"`

	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

SetModelItemsForProjectV2Params defines parameters for SetModelItemsForProjectV2.

type SetModelItemsForProjectV2Response

type SetModelItemsForProjectV2Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Model
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *Model
	// ApplicationvndHxcsV2JSON200 the response for an HTTP 200 `application/vnd.hxcs.v2+json` response
	ApplicationvndHxcsV2JSON200 *Model
}

func ParseSetModelItemsForProjectV2Response

func ParseSetModelItemsForProjectV2Response(rsp *http.Response) (*SetModelItemsForProjectV2Response, error)

ParseSetModelItemsForProjectV2Response parses an HTTP response from a SetModelItemsForProjectV2WithResponse call

func (SetModelItemsForProjectV2Response) ContentType

func (r SetModelItemsForProjectV2Response) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SetModelItemsForProjectV2Response) GetApplicationvndHxcsJSON200

func (r SetModelItemsForProjectV2Response) GetApplicationvndHxcsJSON200() *Model

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (SetModelItemsForProjectV2Response) GetApplicationvndHxcsV2JSON200

func (r SetModelItemsForProjectV2Response) GetApplicationvndHxcsV2JSON200() *Model

GetApplicationvndHxcsV2JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v2+json` response

func (SetModelItemsForProjectV2Response) GetBody

GetBody returns the raw response body bytes

func (SetModelItemsForProjectV2Response) GetJSON200

func (r SetModelItemsForProjectV2Response) GetJSON200() *Model

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SetModelItemsForProjectV2Response) Status

Status returns HTTPResponse.Status

func (SetModelItemsForProjectV2Response) StatusCode

func (r SetModelItemsForProjectV2Response) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetModelJSONRequestBody

type SetModelJSONRequestBody = Model

SetModelJSONRequestBody defines body for SetModel for application/json ContentType.

type SetModelParams

type SetModelParams struct {
	// ValidateOnly Whether to just validate the changes, without applying them.
	ValidateOnly *bool `form:"validateOnly,omitempty" json:"validateOnly,omitempty"`

	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

SetModelParams defines parameters for SetModel.

type SetModelResponse

type SetModelResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Model
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *Model
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *Model
}

func ParseSetModelResponse

func ParseSetModelResponse(rsp *http.Response) (*SetModelResponse, error)

ParseSetModelResponse parses an HTTP response from a SetModelWithResponse call

func (SetModelResponse) ContentType

func (r SetModelResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SetModelResponse) GetApplicationvndHxcsJSON200

func (r SetModelResponse) GetApplicationvndHxcsJSON200() *Model

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (SetModelResponse) GetApplicationvndHxcsV1JSON200

func (r SetModelResponse) GetApplicationvndHxcsV1JSON200() *Model

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (SetModelResponse) GetBody

func (r SetModelResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SetModelResponse) GetJSON200

func (r SetModelResponse) GetJSON200() *Model

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SetModelResponse) Status

func (r SetModelResponse) Status() string

Status returns HTTPResponse.Status

func (SetModelResponse) StatusCode

func (r SetModelResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetModelV2JSONRequestBody

type SetModelV2JSONRequestBody = Model

SetModelV2JSONRequestBody defines body for SetModelV2 for application/json ContentType.

type SetModelV2Params

type SetModelV2Params struct {
	// ValidateOnly Whether to just validate the changes, without applying them.
	ValidateOnly *bool `form:"validateOnly,omitempty" json:"validateOnly,omitempty"`

	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

SetModelV2Params defines parameters for SetModelV2.

type SetModelV2Response

type SetModelV2Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Model
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *Model
	// ApplicationvndHxcsV2JSON200 the response for an HTTP 200 `application/vnd.hxcs.v2+json` response
	ApplicationvndHxcsV2JSON200 *Model
}

func ParseSetModelV2Response

func ParseSetModelV2Response(rsp *http.Response) (*SetModelV2Response, error)

ParseSetModelV2Response parses an HTTP response from a SetModelV2WithResponse call

func (SetModelV2Response) ContentType

func (r SetModelV2Response) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SetModelV2Response) GetApplicationvndHxcsJSON200

func (r SetModelV2Response) GetApplicationvndHxcsJSON200() *Model

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (SetModelV2Response) GetApplicationvndHxcsV2JSON200

func (r SetModelV2Response) GetApplicationvndHxcsV2JSON200() *Model

GetApplicationvndHxcsV2JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v2+json` response

func (SetModelV2Response) GetBody

func (r SetModelV2Response) GetBody() []byte

GetBody returns the raw response body bytes

func (SetModelV2Response) GetJSON200

func (r SetModelV2Response) GetJSON200() *Model

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SetModelV2Response) Status

func (r SetModelV2Response) Status() string

Status returns HTTPResponse.Status

func (SetModelV2Response) StatusCode

func (r SetModelV2Response) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetSecurityPoliciesForProjectJSONBody

type SetSecurityPoliciesForProjectJSONBody map[string]SecurityPolicyConfig

SetSecurityPoliciesForProjectJSONBody defines parameters for SetSecurityPoliciesForProject.

type SetSecurityPoliciesForProjectJSONRequestBody

type SetSecurityPoliciesForProjectJSONRequestBody SetSecurityPoliciesForProjectJSONBody

SetSecurityPoliciesForProjectJSONRequestBody defines body for SetSecurityPoliciesForProject for application/json ContentType.

type SetSecurityPoliciesForProjectParams

type SetSecurityPoliciesForProjectParams struct {
	// ValidateOnly Whether to just validate the changes, without applying them.
	ValidateOnly *bool `form:"validateOnly,omitempty" json:"validateOnly,omitempty"`

	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

SetSecurityPoliciesForProjectParams defines parameters for SetSecurityPoliciesForProject.

type SetSecurityPoliciesForProjectResponse

type SetSecurityPoliciesForProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *map[string]SecurityPolicyConfig
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *map[string]SecurityPolicyConfig
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *map[string]SecurityPolicyConfig
}

func ParseSetSecurityPoliciesForProjectResponse

func ParseSetSecurityPoliciesForProjectResponse(rsp *http.Response) (*SetSecurityPoliciesForProjectResponse, error)

ParseSetSecurityPoliciesForProjectResponse parses an HTTP response from a SetSecurityPoliciesForProjectWithResponse call

func (SetSecurityPoliciesForProjectResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SetSecurityPoliciesForProjectResponse) GetApplicationvndHxcsJSON200

func (r SetSecurityPoliciesForProjectResponse) GetApplicationvndHxcsJSON200() *map[string]SecurityPolicyConfig

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (SetSecurityPoliciesForProjectResponse) GetApplicationvndHxcsV1JSON200

func (r SetSecurityPoliciesForProjectResponse) GetApplicationvndHxcsV1JSON200() *map[string]SecurityPolicyConfig

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (SetSecurityPoliciesForProjectResponse) GetBody

GetBody returns the raw response body bytes

func (SetSecurityPoliciesForProjectResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SetSecurityPoliciesForProjectResponse) Status

Status returns HTTPResponse.Status

func (SetSecurityPoliciesForProjectResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type SetSecurityPoliciesForProjectV2JSONRequestBody

type SetSecurityPoliciesForProjectV2JSONRequestBody = SecurityPolicies

SetSecurityPoliciesForProjectV2JSONRequestBody defines body for SetSecurityPoliciesForProjectV2 for application/json ContentType.

type SetSecurityPoliciesForProjectV2Params

type SetSecurityPoliciesForProjectV2Params struct {
	// ValidateOnly Whether to just validate the changes, without applying them.
	ValidateOnly *bool `form:"validateOnly,omitempty" json:"validateOnly,omitempty"`

	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

SetSecurityPoliciesForProjectV2Params defines parameters for SetSecurityPoliciesForProjectV2.

type SetSecurityPoliciesForProjectV2Response

type SetSecurityPoliciesForProjectV2Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SecurityPolicies
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *SecurityPolicies
	// ApplicationvndHxcsV2JSON200 the response for an HTTP 200 `application/vnd.hxcs.v2+json` response
	ApplicationvndHxcsV2JSON200 *SecurityPolicies
}

func ParseSetSecurityPoliciesForProjectV2Response

func ParseSetSecurityPoliciesForProjectV2Response(rsp *http.Response) (*SetSecurityPoliciesForProjectV2Response, error)

ParseSetSecurityPoliciesForProjectV2Response parses an HTTP response from a SetSecurityPoliciesForProjectV2WithResponse call

func (SetSecurityPoliciesForProjectV2Response) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SetSecurityPoliciesForProjectV2Response) GetApplicationvndHxcsJSON200

func (r SetSecurityPoliciesForProjectV2Response) GetApplicationvndHxcsJSON200() *SecurityPolicies

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (SetSecurityPoliciesForProjectV2Response) GetApplicationvndHxcsV2JSON200

func (r SetSecurityPoliciesForProjectV2Response) GetApplicationvndHxcsV2JSON200() *SecurityPolicies

GetApplicationvndHxcsV2JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v2+json` response

func (SetSecurityPoliciesForProjectV2Response) GetBody

GetBody returns the raw response body bytes

func (SetSecurityPoliciesForProjectV2Response) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SetSecurityPoliciesForProjectV2Response) Status

Status returns HTTPResponse.Status

func (SetSecurityPoliciesForProjectV2Response) StatusCode

StatusCode returns HTTPResponse.StatusCode

type SetSecurityPoliciesJSONBody

type SetSecurityPoliciesJSONBody map[string]SecurityPolicyConfig

SetSecurityPoliciesJSONBody defines parameters for SetSecurityPolicies.

type SetSecurityPoliciesJSONRequestBody

type SetSecurityPoliciesJSONRequestBody SetSecurityPoliciesJSONBody

SetSecurityPoliciesJSONRequestBody defines body for SetSecurityPolicies for application/json ContentType.

type SetSecurityPoliciesParams

type SetSecurityPoliciesParams struct {
	// ValidateOnly Whether to just validate the changes, without applying them.
	ValidateOnly *bool `form:"validateOnly,omitempty" json:"validateOnly,omitempty"`

	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

SetSecurityPoliciesParams defines parameters for SetSecurityPolicies.

type SetSecurityPoliciesResponse

type SetSecurityPoliciesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *map[string]SecurityPolicyConfig
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *map[string]SecurityPolicyConfig
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *map[string]SecurityPolicyConfig
}

func ParseSetSecurityPoliciesResponse

func ParseSetSecurityPoliciesResponse(rsp *http.Response) (*SetSecurityPoliciesResponse, error)

ParseSetSecurityPoliciesResponse parses an HTTP response from a SetSecurityPoliciesWithResponse call

func (SetSecurityPoliciesResponse) ContentType

func (r SetSecurityPoliciesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SetSecurityPoliciesResponse) GetApplicationvndHxcsJSON200

func (r SetSecurityPoliciesResponse) GetApplicationvndHxcsJSON200() *map[string]SecurityPolicyConfig

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (SetSecurityPoliciesResponse) GetApplicationvndHxcsV1JSON200

func (r SetSecurityPoliciesResponse) GetApplicationvndHxcsV1JSON200() *map[string]SecurityPolicyConfig

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (SetSecurityPoliciesResponse) GetBody

func (r SetSecurityPoliciesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SetSecurityPoliciesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SetSecurityPoliciesResponse) Status

Status returns HTTPResponse.Status

func (SetSecurityPoliciesResponse) StatusCode

func (r SetSecurityPoliciesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetSecurityPoliciesV2JSONRequestBody

type SetSecurityPoliciesV2JSONRequestBody = SecurityPolicies

SetSecurityPoliciesV2JSONRequestBody defines body for SetSecurityPoliciesV2 for application/json ContentType.

type SetSecurityPoliciesV2Params

type SetSecurityPoliciesV2Params struct {
	// ValidateOnly Whether to just validate the changes, without applying them.
	ValidateOnly *bool `form:"validateOnly,omitempty" json:"validateOnly,omitempty"`

	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

SetSecurityPoliciesV2Params defines parameters for SetSecurityPoliciesV2.

type SetSecurityPoliciesV2Response

type SetSecurityPoliciesV2Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SecurityPolicies
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *SecurityPolicies
	// ApplicationvndHxcsV2JSON200 the response for an HTTP 200 `application/vnd.hxcs.v2+json` response
	ApplicationvndHxcsV2JSON200 *SecurityPolicies
}

func ParseSetSecurityPoliciesV2Response

func ParseSetSecurityPoliciesV2Response(rsp *http.Response) (*SetSecurityPoliciesV2Response, error)

ParseSetSecurityPoliciesV2Response parses an HTTP response from a SetSecurityPoliciesV2WithResponse call

func (SetSecurityPoliciesV2Response) ContentType

func (r SetSecurityPoliciesV2Response) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SetSecurityPoliciesV2Response) GetApplicationvndHxcsJSON200

func (r SetSecurityPoliciesV2Response) GetApplicationvndHxcsJSON200() *SecurityPolicies

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (SetSecurityPoliciesV2Response) GetApplicationvndHxcsV2JSON200

func (r SetSecurityPoliciesV2Response) GetApplicationvndHxcsV2JSON200() *SecurityPolicies

GetApplicationvndHxcsV2JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v2+json` response

func (SetSecurityPoliciesV2Response) GetBody

func (r SetSecurityPoliciesV2Response) GetBody() []byte

GetBody returns the raw response body bytes

func (SetSecurityPoliciesV2Response) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SetSecurityPoliciesV2Response) Status

Status returns HTTPResponse.Status

func (SetSecurityPoliciesV2Response) StatusCode

func (r SetSecurityPoliciesV2Response) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SpreadSheetLocation

type SpreadSheetLocation struct {
	Column *int32  `json:"column,omitempty"`
	Row    *int32  `json:"row,omitempty"`
	Sheet  *string `json:"sheet,omitempty"`
}

SpreadSheetLocation defines model for SpreadSheetLocation.

type Status

type Status string

Status The current status of the application of the ACE rule.

const (
	StatusARCHIVED  Status = "ARCHIVED"
	StatusEFFECTIVE Status = "EFFECTIVE"
	StatusPENDING   Status = "PENDING"
)

Defines values for Status.

func (Status) Valid

func (e Status) Valid() bool

Valid indicates whether the value is a known member of the Status enum.

type StringTermsBucket

type StringTermsBucket = map[string]interface{}

StringTermsBucket The list of aggregation buckets computed for the query.

type TermsAggregationsQuery

type TermsAggregationsQuery struct {
	// Limit Max number of aggregation buckets retrieved by the given query.
	//
	// Example: 100
	Limit *int32 `json:"limit,omitempty"`

	// Query Represents a query.
	Query Query `json:"query"`

	// SearchTerm The search term to filter the terms aggregation results.
	SearchTerm *string `json:"searchTerm,omitempty"`

	// TermsAggregationProperty The property containing the array of keys to run the terms aggregation on.
	TermsAggregationProperty string `json:"termsAggregationProperty"`
}

TermsAggregationsQuery Represents a terms aggregations query.

type TextLocation

type TextLocation struct {
	Page      *int32 `json:"page,omitempty"`
	Paragraph *int32 `json:"paragraph,omitempty"`
}

TextLocation defines model for TextLocation.

type Type

type Type struct {
	// Constraints Represents a constraint.
	Constraints *Constraint       `json:"constraints,omitempty"`
	Extends     *string           `json:"extends,omitempty"`
	Fields      *map[string]Field `json:"fields,omitempty"`

	// List Represents a field.
	List      *Field  `json:"list,omitempty"`
	ProjectId *string `json:"projectId,omitempty"`
}

Type Represents a type.

type UpdateDocumentByIdJSONRequestBody

type UpdateDocumentByIdJSONRequestBody = Document

UpdateDocumentByIdJSONRequestBody defines body for UpdateDocumentById for application/json ContentType.

type UpdateDocumentByIdMultipartBody

type UpdateDocumentByIdMultipartBody struct {
	// Main Represents a document.
	Main     Document           `json:"main"`
	Main1234 openapi_types.File `json:"main1234"`
}

UpdateDocumentByIdMultipartBody defines parameters for UpdateDocumentById.

type UpdateDocumentByIdMultipartRequestBody

type UpdateDocumentByIdMultipartRequestBody UpdateDocumentByIdMultipartBody

UpdateDocumentByIdMultipartRequestBody defines body for UpdateDocumentById for multipart/form-data ContentType.

type UpdateDocumentByIdParams

type UpdateDocumentByIdParams struct {
	// Condition Condition (an HXQL predicate).
	Condition *string `form:"condition,omitempty" json:"condition,omitempty"`

	// If Condition (an expression), for instance content.sys_title == "foo". Mutually exclusive with the condition parameter.
	If *string `form:"if,omitempty" json:"if,omitempty"`

	// Upsert Create-or-update: when true, the document is created if it does not exist, or updated if it does. The response is 201 when a document was created, 200 when one was updated.
	Upsert *bool `form:"upsert,omitempty" json:"upsert,omitempty"`

	// UserChange User change: when true (the default), the update is flagged as a user change and increments the document's sys_ugen. Pass false for technical updates that should not be seen as user changes.
	UserChange *bool `form:"userChange,omitempty" json:"userChange,omitempty"`

	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

UpdateDocumentByIdParams defines parameters for UpdateDocumentById.

type UpdateDocumentByIdResponse

type UpdateDocumentByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Document
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *Document
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *Document
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Document
	// ApplicationvndHxcsJSON201 the response for an HTTP 201 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON201 *Document
	// ApplicationvndHxcsV1JSON201 the response for an HTTP 201 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON201 *Document
}

func ParseUpdateDocumentByIdResponse

func ParseUpdateDocumentByIdResponse(rsp *http.Response) (*UpdateDocumentByIdResponse, error)

ParseUpdateDocumentByIdResponse parses an HTTP response from a UpdateDocumentByIdWithResponse call

func (UpdateDocumentByIdResponse) ContentType

func (r UpdateDocumentByIdResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateDocumentByIdResponse) GetApplicationvndHxcsJSON200

func (r UpdateDocumentByIdResponse) GetApplicationvndHxcsJSON200() *Document

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (UpdateDocumentByIdResponse) GetApplicationvndHxcsJSON201

func (r UpdateDocumentByIdResponse) GetApplicationvndHxcsJSON201() *Document

GetApplicationvndHxcsJSON201 returns the response for an HTTP 201 `application/vnd.hxcs+json` response

func (UpdateDocumentByIdResponse) GetApplicationvndHxcsV1JSON200

func (r UpdateDocumentByIdResponse) GetApplicationvndHxcsV1JSON200() *Document

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (UpdateDocumentByIdResponse) GetApplicationvndHxcsV1JSON201

func (r UpdateDocumentByIdResponse) GetApplicationvndHxcsV1JSON201() *Document

GetApplicationvndHxcsV1JSON201 returns the response for an HTTP 201 `application/vnd.hxcs.v1+json` response

func (UpdateDocumentByIdResponse) GetBody

func (r UpdateDocumentByIdResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateDocumentByIdResponse) GetJSON200

func (r UpdateDocumentByIdResponse) GetJSON200() *Document

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateDocumentByIdResponse) GetJSON201

func (r UpdateDocumentByIdResponse) GetJSON201() *Document

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (UpdateDocumentByIdResponse) Status

Status returns HTTPResponse.Status

func (UpdateDocumentByIdResponse) StatusCode

func (r UpdateDocumentByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateDocumentByPathJSONRequestBody

type UpdateDocumentByPathJSONRequestBody = Document

UpdateDocumentByPathJSONRequestBody defines body for UpdateDocumentByPath for application/json ContentType.

type UpdateDocumentByPathMultipartBody

type UpdateDocumentByPathMultipartBody struct {
	// Main Represents a document.
	Main     Document           `json:"main"`
	Main1234 openapi_types.File `json:"main1234"`
}

UpdateDocumentByPathMultipartBody defines parameters for UpdateDocumentByPath.

type UpdateDocumentByPathMultipartRequestBody

type UpdateDocumentByPathMultipartRequestBody UpdateDocumentByPathMultipartBody

UpdateDocumentByPathMultipartRequestBody defines body for UpdateDocumentByPath for multipart/form-data ContentType.

type UpdateDocumentByPathParams

type UpdateDocumentByPathParams struct {
	// Condition Condition (an HXQL predicate).
	Condition *string `form:"condition,omitempty" json:"condition,omitempty"`

	// If Condition (an expression), for instance content.sys_title == "foo". Mutually exclusive with the condition parameter.
	If *string `form:"if,omitempty" json:"if,omitempty"`

	// Upsert Create-or-update: when true, the document is created if it does not exist, or updated if it does. The response is 201 when a document was created, 200 when one was updated.
	Upsert *bool `form:"upsert,omitempty" json:"upsert,omitempty"`

	// UserChange User change: when true (the default), the update is flagged as a user change and increments the document's sys_ugen. Pass false for technical updates that should not be seen as user changes.
	UserChange *bool `form:"userChange,omitempty" json:"userChange,omitempty"`

	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

UpdateDocumentByPathParams defines parameters for UpdateDocumentByPath.

type UpdateDocumentByPathResponse

type UpdateDocumentByPathResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Document
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *Document
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *Document
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Document
	// ApplicationvndHxcsJSON201 the response for an HTTP 201 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON201 *Document
	// ApplicationvndHxcsV1JSON201 the response for an HTTP 201 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON201 *Document
}

func ParseUpdateDocumentByPathResponse

func ParseUpdateDocumentByPathResponse(rsp *http.Response) (*UpdateDocumentByPathResponse, error)

ParseUpdateDocumentByPathResponse parses an HTTP response from a UpdateDocumentByPathWithResponse call

func (UpdateDocumentByPathResponse) ContentType

func (r UpdateDocumentByPathResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateDocumentByPathResponse) GetApplicationvndHxcsJSON200

func (r UpdateDocumentByPathResponse) GetApplicationvndHxcsJSON200() *Document

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (UpdateDocumentByPathResponse) GetApplicationvndHxcsJSON201

func (r UpdateDocumentByPathResponse) GetApplicationvndHxcsJSON201() *Document

GetApplicationvndHxcsJSON201 returns the response for an HTTP 201 `application/vnd.hxcs+json` response

func (UpdateDocumentByPathResponse) GetApplicationvndHxcsV1JSON200

func (r UpdateDocumentByPathResponse) GetApplicationvndHxcsV1JSON200() *Document

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (UpdateDocumentByPathResponse) GetApplicationvndHxcsV1JSON201

func (r UpdateDocumentByPathResponse) GetApplicationvndHxcsV1JSON201() *Document

GetApplicationvndHxcsV1JSON201 returns the response for an HTTP 201 `application/vnd.hxcs.v1+json` response

func (UpdateDocumentByPathResponse) GetBody

func (r UpdateDocumentByPathResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateDocumentByPathResponse) GetJSON200

func (r UpdateDocumentByPathResponse) GetJSON200() *Document

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateDocumentByPathResponse) GetJSON201

func (r UpdateDocumentByPathResponse) GetJSON201() *Document

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (UpdateDocumentByPathResponse) Status

Status returns HTTPResponse.Status

func (UpdateDocumentByPathResponse) StatusCode

func (r UpdateDocumentByPathResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateVocabularyEntryJSONRequestBody

type UpdateVocabularyEntryJSONRequestBody = VocabularyEntryRequest

UpdateVocabularyEntryJSONRequestBody defines body for UpdateVocabularyEntry for application/json ContentType.

type UpdateVocabularyEntryParams

type UpdateVocabularyEntryParams struct {
	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

UpdateVocabularyEntryParams defines parameters for UpdateVocabularyEntry.

type UpdateVocabularyEntryResponse

type UpdateVocabularyEntryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *VocabularyEntry
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *VocabularyEntry
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *VocabularyEntry
}

func ParseUpdateVocabularyEntryResponse

func ParseUpdateVocabularyEntryResponse(rsp *http.Response) (*UpdateVocabularyEntryResponse, error)

ParseUpdateVocabularyEntryResponse parses an HTTP response from a UpdateVocabularyEntryWithResponse call

func (UpdateVocabularyEntryResponse) ContentType

func (r UpdateVocabularyEntryResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateVocabularyEntryResponse) GetApplicationvndHxcsJSON200

func (r UpdateVocabularyEntryResponse) GetApplicationvndHxcsJSON200() *VocabularyEntry

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (UpdateVocabularyEntryResponse) GetApplicationvndHxcsV1JSON200

func (r UpdateVocabularyEntryResponse) GetApplicationvndHxcsV1JSON200() *VocabularyEntry

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (UpdateVocabularyEntryResponse) GetBody

func (r UpdateVocabularyEntryResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateVocabularyEntryResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateVocabularyEntryResponse) Status

Status returns HTTPResponse.Status

func (UpdateVocabularyEntryResponse) StatusCode

func (r UpdateVocabularyEntryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Upload

type Upload struct {
	// AttachDocId Id of the document to which the blob has been attached. Available when attachStatus is READY.
	AttachDocId *string `json:"attachDocId,omitempty"`

	// AttachStatus Status of the blob attachment phase.
	AttachStatus *UploadAttachStatus `json:"attachStatus,omitempty"`

	// ChunkCount Number of chunks uploaded.
	ChunkCount *int32 `json:"chunkCount,omitempty"`

	// ChunkIndexes The chunks that compose the Upload.
	ChunkIndexes *[]int32 `json:"chunkIndexes,omitempty"`

	// ChunksCompleted True if the number of loaded chunks is equals to the number of chunks size.
	ChunksCompleted *bool `json:"chunksCompleted,omitempty"`

	// Encoding Encoding of the content.
	//
	// Example: UTF-8
	Encoding *string `json:"encoding,omitempty"`

	// FileName Name of the associated file of the upload.
	FileName *string `json:"fileName,omitempty"`

	// FileSize File size in bytes; -1 is returned if the size in unknown.
	FileSize *int64 `json:"fileSize,omitempty"`

	// HasContent If the upload has associated content is true
	HasContent *bool `json:"hasContent,omitempty"`

	// Id Upload identifier.
	Id *string `json:"id,omitempty"`

	// MimeType Mime type of the content.
	//
	// Example: plain/text
	MimeType *string `json:"mimeType,omitempty"`

	// PartialFileSize Partial size in bytes. Amount of bytes for all uploaded chunks.
	PartialFileSize *int64                             `json:"partialFileSize,omitempty"`
	Properties      *map[string]map[string]interface{} `json:"properties,omitempty"`

	// Status Status of the upload.
	//
	// Example: INCOMPLETE
	Status *UploadStatus `json:"status,omitempty"`
}

Upload UploadAPI response object

type UploadAttachStatus

type UploadAttachStatus string

UploadAttachStatus Status of the blob attachment phase.

const (
	UploadAttachStatusERROR      UploadAttachStatus = "ERROR"
	UploadAttachStatusPENDING    UploadAttachStatus = "PENDING"
	UploadAttachStatusPROCESSING UploadAttachStatus = "PROCESSING"
	UploadAttachStatusREADY      UploadAttachStatus = "READY"
)

Defines values for UploadAttachStatus.

func (UploadAttachStatus) Valid

func (e UploadAttachStatus) Valid() bool

Valid indicates whether the value is a known member of the UploadAttachStatus enum.

type UploadFileInfo

type UploadFileInfo struct {
	// FileKey file key
	FileKey *string `json:"fileKey,omitempty"`

	// FileName file name
	//
	// Example: myFile.txt
	FileName *string `json:"fileName,omitempty"`

	// MimeType mimeType
	//
	// Example: text/plain
	MimeType *string `json:"mimeType,omitempty"`
}

UploadFileInfo Represents an uploaded file.

type UploadParams

type UploadParams struct {
	// BodyEncoding The body encoding (only base64 allowed).
	BodyEncoding *string `form:"bodyEncoding,omitempty" json:"bodyEncoding,omitempty"`

	// ChunkCount The total number of chunks.
	ChunkCount *int32 `form:"chunkCount,omitempty" json:"chunkCount,omitempty"`

	// ChunkIndex This chunk index, starting at 0..
	ChunkIndex *int32 `form:"chunkIndex,omitempty" json:"chunkIndex,omitempty"`

	// Chunked Indicates that the upload is chunked.
	Chunked *bool `form:"chunked,omitempty" json:"chunked,omitempty"`

	// Encoding The file encoding (for text files).
	Encoding *string `form:"encoding,omitempty" json:"encoding,omitempty"`

	// FileName The file name.
	FileName *string `form:"fileName,omitempty" json:"fileName,omitempty"`

	// Id The upload id. A new upload is created if null.
	Id *string `form:"id,omitempty" json:"id,omitempty"`

	// MimeType The file mimetype. For a text/uri-list upload, it takes precedence over the mimetype advertised by the external resource.
	MimeType *string `form:"mimeType,omitempty" json:"mimeType,omitempty"`
}

UploadParams defines parameters for Upload.

type UploadResponse

type UploadResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Upload
	// ApplicationvndHxcsJSON201 the response for an HTTP 201 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON201 *Upload
	// ApplicationvndHxcsV1JSON201 the response for an HTTP 201 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON201 *Upload
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *Upload
	// ApplicationvndHxcsJSON202 the response for an HTTP 202 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON202 *Upload
	// ApplicationvndHxcsV1JSON202 the response for an HTTP 202 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON202 *Upload
}

func ParseUploadResponse

func ParseUploadResponse(rsp *http.Response) (*UploadResponse, error)

ParseUploadResponse parses an HTTP response from a UploadWithResponse call

func (UploadResponse) ContentType

func (r UploadResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UploadResponse) GetApplicationvndHxcsJSON201

func (r UploadResponse) GetApplicationvndHxcsJSON201() *Upload

GetApplicationvndHxcsJSON201 returns the response for an HTTP 201 `application/vnd.hxcs+json` response

func (UploadResponse) GetApplicationvndHxcsJSON202

func (r UploadResponse) GetApplicationvndHxcsJSON202() *Upload

GetApplicationvndHxcsJSON202 returns the response for an HTTP 202 `application/vnd.hxcs+json` response

func (UploadResponse) GetApplicationvndHxcsV1JSON201

func (r UploadResponse) GetApplicationvndHxcsV1JSON201() *Upload

GetApplicationvndHxcsV1JSON201 returns the response for an HTTP 201 `application/vnd.hxcs.v1+json` response

func (UploadResponse) GetApplicationvndHxcsV1JSON202

func (r UploadResponse) GetApplicationvndHxcsV1JSON202() *Upload

GetApplicationvndHxcsV1JSON202 returns the response for an HTTP 202 `application/vnd.hxcs.v1+json` response

func (UploadResponse) GetBody

func (r UploadResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UploadResponse) GetJSON201

func (r UploadResponse) GetJSON201() *Upload

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (UploadResponse) GetJSON202

func (r UploadResponse) GetJSON202() *Upload

GetJSON202 returns the response for an HTTP 202 `application/json` response

func (UploadResponse) Status

func (r UploadResponse) Status() string

Status returns HTTPResponse.Status

func (UploadResponse) StatusCode

func (r UploadResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UploadStatus

type UploadStatus string

UploadStatus Status of the upload.

Example: INCOMPLETE

const (
	UploadStatusERROR      UploadStatus = "ERROR"
	UploadStatusINCOMPLETE UploadStatus = "INCOMPLETE"
	UploadStatusPROCESSING UploadStatus = "PROCESSING"
	UploadStatusREADY      UploadStatus = "READY"
)

Defines values for UploadStatus.

func (UploadStatus) Valid

func (e UploadStatus) Valid() bool

Valid indicates whether the value is a known member of the UploadStatus enum.

type User

type User struct {
	// Email Email address of the user.
	Email *string `json:"email,omitempty"`

	// FirstName First name of the user.
	FirstName *string `json:"firstName,omitempty"`

	// Id UUID of the user.
	Id *string `json:"id,omitempty"`

	// LastName Last name of the user.
	LastName   *string                            `json:"lastName,omitempty"`
	Properties *map[string]map[string]interface{} `json:"properties,omitempty"`

	// Username Login username of the user.
	Username *string `json:"username,omitempty"`
}

User Represents a user.

type VectorQuery

type VectorQuery struct {
	// ChunkFTS An optional space-separated list of terms to search for in the chunk.
	ChunkFTS *string `json:"chunkFTS,omitempty"`

	// EmbeddingType A wildcard query for the embedding type.
	EmbeddingType *string `json:"embeddingType,omitempty"`

	// Limit Max number of embeddings retrieved by the given query.
	//
	// Example: 100
	Limit *int64 `json:"limit,omitempty"`

	// Offset The initial embedding offset; for pagination support.
	//
	// Example: 0
	Offset *int64 `json:"offset,omitempty"`

	// Query The query used to filter the embeddings by the corresponding document, in the syntax given by the syntax field.
	//
	// Example: SELECT * FROM SysContent
	Query *string `json:"query,omitempty"`

	// RepositoryId The id of the internal repository.
	RepositoryId *string `json:"repositoryId,omitempty"`

	// Syntax The syntax the query is expressed in; absent for the default hxql syntax.
	Syntax *QuerySyntax `json:"syntax,omitempty"`

	// TrackTotalCount If true, the total count of embeddings retrieved by the query will be computed.
	TrackTotalCount *bool `json:"trackTotalCount,omitempty"`

	// TrackTotalCountUpTo Max number of embeddings to count. This can be set to -1 to remove the limit but it will be expensive on large indexes.
	//
	// Example: 100
	TrackTotalCountUpTo *int32 `json:"trackTotalCountUpTo,omitempty"`

	// Vector The vector to search for.
	Vector []float64 `json:"vector"`
}

VectorQuery Represents a vector search query.

type VectorSearchResult

type VectorSearchResult struct {
	Count *int64 `json:"count,omitempty"`

	// Embeddings The list of retrieved embeddings.
	Embeddings *[]Embedding `json:"embeddings,omitempty"`

	// Limit Max number of embeddings retrieved by the given query.
	//
	// Example: 100
	Limit *int64 `json:"limit,omitempty"`

	// Offset Actual embedding offset; for pagination support.
	//
	// Example: 0
	Offset *int64 `json:"offset,omitempty"`

	// Query The query, in the syntax it was expressed in.
	//
	// Example: SELECT * FROM SysContent
	Query *string `json:"query,omitempty"`

	// RepositoryId The id of the internal repository.
	RepositoryId *string `json:"repositoryId,omitempty"`

	// Syntax The syntax the query is expressed in; absent for the default hxql syntax.
	Syntax *QuerySyntax `json:"syntax,omitempty"`

	// TotalCount The total number of embeddings that match the query: is approximated if trackTotalCount is set to false.
	TotalCount *int64 `json:"totalCount,omitempty"`

	// TotalCountIsTruncated If true the total count of the query was truncated.
	TotalCountIsTruncated *bool `json:"totalCountIsTruncated,omitempty"`

	// TrackTotalCount If true the total count of the query was computed.
	TrackTotalCount *bool `json:"trackTotalCount,omitempty"`

	// Vector The supplied vector
	Vector *[]float64 `json:"vector,omitempty"`
}

VectorSearchResult The results of a vector search query.

type VideoLocation

type VideoLocation struct {
	End   *float64 `json:"end,omitempty"`
	Start *float64 `json:"start,omitempty"`
}

VideoLocation defines model for VideoLocation.

type Vocabulary

type Vocabulary struct {
	SysvocabId *string `json:"sysvocab_id,omitempty"`
}

Vocabulary Represents a Vocabulary

type VocabularyEntry

type VocabularyEntry struct {
	SysvocabId    *string `json:"sysvocab_id,omitempty"`
	SysvocabKey   *string `json:"sysvocab_key,omitempty"`
	SysvocabLabel *string `json:"sysvocab_label,omitempty"`
}

VocabularyEntry Represents a VocabularyEntry.

type VocabularyEntryRequest

type VocabularyEntryRequest struct {
	SysvocabKey   *string `json:"sysvocab_key,omitempty"`
	SysvocabLabel *string `json:"sysvocab_label,omitempty"`
}

VocabularyEntryRequest Represents a request to create VocabularyEntry.

type VocabularyId

type VocabularyId struct {
	SysvocabId *string `json:"sysvocab_id,omitempty"`
}

VocabularyId Represents a Vocabulary ID

type WaitForFullTextSearchIndexingParams

type WaitForFullTextSearchIndexingParams struct {
	// Refresh Refresh status.
	Refresh *bool `form:"refresh,omitempty" json:"refresh,omitempty"`

	// Timeout The timeout (in seconds).
	Timeout *int32 `form:"timeout,omitempty" json:"timeout,omitempty"`

	// WaitForAudit Wait for audit (deprecated, unused).
	WaitForAudit *bool `form:"waitForAudit,omitempty" json:"waitForAudit,omitempty"`

	// HXCSREPOSITORY The repository id.
	HXCSREPOSITORY *string `json:"HXCS-REPOSITORY,omitempty"`
}

WaitForFullTextSearchIndexingParams defines parameters for WaitForFullTextSearchIndexing.

type WaitForFullTextSearchIndexingResponse

type WaitForFullTextSearchIndexingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *map[string]interface{}
	// ApplicationvndHxcsJSON200 the response for an HTTP 200 `application/vnd.hxcs+json` response
	ApplicationvndHxcsJSON200 *map[string]interface{}
	// ApplicationvndHxcsV1JSON200 the response for an HTTP 200 `application/vnd.hxcs.v1+json` response
	ApplicationvndHxcsV1JSON200 *map[string]interface{}
}

func ParseWaitForFullTextSearchIndexingResponse

func ParseWaitForFullTextSearchIndexingResponse(rsp *http.Response) (*WaitForFullTextSearchIndexingResponse, error)

ParseWaitForFullTextSearchIndexingResponse parses an HTTP response from a WaitForFullTextSearchIndexingWithResponse call

func (WaitForFullTextSearchIndexingResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (WaitForFullTextSearchIndexingResponse) GetApplicationvndHxcsJSON200

func (r WaitForFullTextSearchIndexingResponse) GetApplicationvndHxcsJSON200() *map[string]interface{}

GetApplicationvndHxcsJSON200 returns the response for an HTTP 200 `application/vnd.hxcs+json` response

func (WaitForFullTextSearchIndexingResponse) GetApplicationvndHxcsV1JSON200

func (r WaitForFullTextSearchIndexingResponse) GetApplicationvndHxcsV1JSON200() *map[string]interface{}

GetApplicationvndHxcsV1JSON200 returns the response for an HTTP 200 `application/vnd.hxcs.v1+json` response

func (WaitForFullTextSearchIndexingResponse) GetBody

GetBody returns the raw response body bytes

func (WaitForFullTextSearchIndexingResponse) GetJSON200

func (r WaitForFullTextSearchIndexingResponse) GetJSON200() *map[string]interface{}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (WaitForFullTextSearchIndexingResponse) Status

Status returns HTTPResponse.Status

func (WaitForFullTextSearchIndexingResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type WhereClause

type WhereClause struct {
	Predicates *[]Predicate `json:"predicates,omitempty"`

	// Query The query, in the syntax given by the syntax field. An hxql query provides the statement the request selects from, an expr query only filters it.
	//
	// Example: SELECT * FROM SysContent
	Query *string `json:"query,omitempty"`

	// Syntax The syntax the query is expressed in; absent for the default hxql syntax.
	Syntax *QuerySyntax `json:"syntax,omitempty"`
}

WhereClause Represents an advanced query where clause definition.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL