Documentation
¶
Overview ¶
Package internalapi provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.0 DO NOT EDIT.
Index ¶
- func NewInternalBulkCreateRequest(server string, body InternalBulkCreateJSONRequestBody) (*http.Request, error)
- func NewInternalBulkCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewInternalBulkDeleteHashesRequest(server string, body InternalBulkDeleteHashesJSONRequestBody) (*http.Request, error)
- func NewInternalBulkDeleteHashesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewInternalBulkDocumentsRequest(server string, body InternalBulkDocumentsJSONRequestBody) (*http.Request, error)
- func NewInternalBulkDocumentsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewInternalBulkHashesRequest(server string, body InternalBulkHashesJSONRequestBody) (*http.Request, error)
- func NewInternalBulkHashesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewInternalBulkMissingSHA256Request(server string, body InternalBulkMissingSHA256JSONRequestBody) (*http.Request, error)
- func NewInternalBulkMissingSHA256RequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewInternalBulkSHA256ValidityRequest(server string, body InternalBulkSHA256ValidityJSONRequestBody) (*http.Request, error)
- func NewInternalBulkSHA256ValidityRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewInternalCreateRequest(server string, body InternalCreateJSONRequestBody) (*http.Request, error)
- func NewInternalCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewInternalDeleteByQueryRequest(server string, params *InternalDeleteByQueryParams) (*http.Request, error)
- func NewInternalDeleteRequest(server string, id string) (*http.Request, error)
- func NewInternalDownloadPartRequest(server string, fileId string, params *InternalDownloadPartParams) (*http.Request, error)
- func NewInternalDownloadRequest(server string, fileId string, params *InternalDownloadParams) (*http.Request, error)
- func NewInternalGetRequest(server string, id string) (*http.Request, error)
- func NewInternalInspectProjectBucketInventoryRequest(server string, body InternalInspectProjectBucketInventoryJSONRequestBody) (*http.Request, error)
- func NewInternalInspectProjectBucketInventoryRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewInternalInspectProjectScopesPostRequest(server string, body InternalInspectProjectScopesPostJSONRequestBody) (*http.Request, error)
- func NewInternalInspectProjectScopesPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewInternalInspectProjectScopesRequest(server string, params *InternalInspectProjectScopesParams) (*http.Request, error)
- func NewInternalListRequest(server string, params *InternalListParams) (*http.Request, error)
- func NewInternalMultipartCompleteRequest(server string, body InternalMultipartCompleteJSONRequestBody) (*http.Request, error)
- func NewInternalMultipartCompleteRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewInternalMultipartInitRequest(server string, body InternalMultipartInitJSONRequestBody) (*http.Request, error)
- func NewInternalMultipartInitRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewInternalMultipartUploadRequest(server string, body InternalMultipartUploadJSONRequestBody) (*http.Request, error)
- func NewInternalMultipartUploadRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewInternalRemoveControlledAccessRequest(server string, id string, body InternalRemoveControlledAccessJSONRequestBody) (*http.Request, error)
- func NewInternalRemoveControlledAccessRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewInternalUpdateRequest(server string, id string, body InternalUpdateJSONRequestBody) (*http.Request, error)
- func NewInternalUpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewInternalUploadBlankRequest(server string, body InternalUploadBlankJSONRequestBody) (*http.Request, error)
- func NewInternalUploadBlankRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewInternalUploadBulkRequest(server string, body InternalUploadBulkJSONRequestBody) (*http.Request, error)
- func NewInternalUploadBulkRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewInternalUploadURLRequest(server string, fileId string, params *InternalUploadURLParams) (*http.Request, error)
- type BulkCreateRequest
- type BulkDocumentsRequest
- func (t BulkDocumentsRequest) AsBulkDocumentsRequest0() (BulkDocumentsRequest0, error)
- func (t BulkDocumentsRequest) AsBulkDocumentsRequest1() (BulkDocumentsRequest1, error)
- func (t *BulkDocumentsRequest) FromBulkDocumentsRequest0(v BulkDocumentsRequest0) error
- func (t *BulkDocumentsRequest) FromBulkDocumentsRequest1(v BulkDocumentsRequest1) error
- func (t BulkDocumentsRequest) MarshalJSON() ([]byte, error)
- func (t *BulkDocumentsRequest) MergeBulkDocumentsRequest0(v BulkDocumentsRequest0) error
- func (t *BulkDocumentsRequest) MergeBulkDocumentsRequest1(v BulkDocumentsRequest1) error
- func (t *BulkDocumentsRequest) UnmarshalJSON(b []byte) error
- type BulkDocumentsRequest0
- type BulkDocumentsRequest1
- type BulkHashesRequest
- type BulkMissingSHA256Request
- type BulkMissingSHA256Response
- type BulkSHA256ValidityRequest
- type Client
- func (c *Client) InternalBulkCreate(ctx context.Context, body InternalBulkCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) InternalBulkCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) InternalBulkDeleteHashes(ctx context.Context, body InternalBulkDeleteHashesJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) InternalBulkDeleteHashesWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) InternalBulkDocuments(ctx context.Context, body InternalBulkDocumentsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) InternalBulkDocumentsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) InternalBulkHashes(ctx context.Context, body InternalBulkHashesJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) InternalBulkHashesWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) InternalBulkMissingSHA256(ctx context.Context, body InternalBulkMissingSHA256JSONRequestBody, ...) (*http.Response, error)
- func (c *Client) InternalBulkMissingSHA256WithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) InternalBulkSHA256Validity(ctx context.Context, body InternalBulkSHA256ValidityJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) InternalBulkSHA256ValidityWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) InternalCreate(ctx context.Context, body InternalCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) InternalCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) InternalDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) InternalDeleteByQuery(ctx context.Context, params *InternalDeleteByQueryParams, ...) (*http.Response, error)
- func (c *Client) InternalDownload(ctx context.Context, fileId string, params *InternalDownloadParams, ...) (*http.Response, error)
- func (c *Client) InternalDownloadPart(ctx context.Context, fileId string, params *InternalDownloadPartParams, ...) (*http.Response, error)
- func (c *Client) InternalGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) InternalInspectProjectBucketInventory(ctx context.Context, body InternalInspectProjectBucketInventoryJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) InternalInspectProjectBucketInventoryWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) InternalInspectProjectScopes(ctx context.Context, params *InternalInspectProjectScopesParams, ...) (*http.Response, error)
- func (c *Client) InternalInspectProjectScopesPost(ctx context.Context, body InternalInspectProjectScopesPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) InternalInspectProjectScopesPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) InternalList(ctx context.Context, params *InternalListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) InternalMultipartComplete(ctx context.Context, body InternalMultipartCompleteJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) InternalMultipartCompleteWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) InternalMultipartInit(ctx context.Context, body InternalMultipartInitJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) InternalMultipartInitWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) InternalMultipartUpload(ctx context.Context, body InternalMultipartUploadJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) InternalMultipartUploadWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) InternalRemoveControlledAccess(ctx context.Context, id string, ...) (*http.Response, error)
- func (c *Client) InternalRemoveControlledAccessWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) InternalUpdate(ctx context.Context, id string, body InternalUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) InternalUpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) InternalUploadBlank(ctx context.Context, body InternalUploadBlankJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) InternalUploadBlankWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) InternalUploadBulk(ctx context.Context, body InternalUploadBulkJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) InternalUploadBulkWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) InternalUploadURL(ctx context.Context, fileId string, params *InternalUploadURLParams, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) InternalBulkCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*InternalBulkCreateResponse, error)
- func (c *ClientWithResponses) InternalBulkCreateWithResponse(ctx context.Context, body InternalBulkCreateJSONRequestBody, ...) (*InternalBulkCreateResponse, error)
- func (c *ClientWithResponses) InternalBulkDeleteHashesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*InternalBulkDeleteHashesResponse, error)
- func (c *ClientWithResponses) InternalBulkDeleteHashesWithResponse(ctx context.Context, body InternalBulkDeleteHashesJSONRequestBody, ...) (*InternalBulkDeleteHashesResponse, error)
- func (c *ClientWithResponses) InternalBulkDocumentsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*InternalBulkDocumentsResponse, error)
- func (c *ClientWithResponses) InternalBulkDocumentsWithResponse(ctx context.Context, body InternalBulkDocumentsJSONRequestBody, ...) (*InternalBulkDocumentsResponse, error)
- func (c *ClientWithResponses) InternalBulkHashesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*InternalBulkHashesResponse, error)
- func (c *ClientWithResponses) InternalBulkHashesWithResponse(ctx context.Context, body InternalBulkHashesJSONRequestBody, ...) (*InternalBulkHashesResponse, error)
- func (c *ClientWithResponses) InternalBulkMissingSHA256WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*InternalBulkMissingSHA256Response, error)
- func (c *ClientWithResponses) InternalBulkMissingSHA256WithResponse(ctx context.Context, body InternalBulkMissingSHA256JSONRequestBody, ...) (*InternalBulkMissingSHA256Response, error)
- func (c *ClientWithResponses) InternalBulkSHA256ValidityWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*InternalBulkSHA256ValidityResponse, error)
- func (c *ClientWithResponses) InternalBulkSHA256ValidityWithResponse(ctx context.Context, body InternalBulkSHA256ValidityJSONRequestBody, ...) (*InternalBulkSHA256ValidityResponse, error)
- func (c *ClientWithResponses) InternalCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*InternalCreateResponse, error)
- func (c *ClientWithResponses) InternalCreateWithResponse(ctx context.Context, body InternalCreateJSONRequestBody, ...) (*InternalCreateResponse, error)
- func (c *ClientWithResponses) InternalDeleteByQueryWithResponse(ctx context.Context, params *InternalDeleteByQueryParams, ...) (*InternalDeleteByQueryResponse, error)
- func (c *ClientWithResponses) InternalDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*InternalDeleteResponse, error)
- func (c *ClientWithResponses) InternalDownloadPartWithResponse(ctx context.Context, fileId string, params *InternalDownloadPartParams, ...) (*InternalDownloadPartResponse, error)
- func (c *ClientWithResponses) InternalDownloadWithResponse(ctx context.Context, fileId string, params *InternalDownloadParams, ...) (*InternalDownloadResponse, error)
- func (c *ClientWithResponses) InternalGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*InternalGetResponse, error)
- func (c *ClientWithResponses) InternalInspectProjectBucketInventoryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*InternalInspectProjectBucketInventoryResponse, error)
- func (c *ClientWithResponses) InternalInspectProjectBucketInventoryWithResponse(ctx context.Context, body InternalInspectProjectBucketInventoryJSONRequestBody, ...) (*InternalInspectProjectBucketInventoryResponse, error)
- func (c *ClientWithResponses) InternalInspectProjectScopesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*InternalInspectProjectScopesPostResponse, error)
- func (c *ClientWithResponses) InternalInspectProjectScopesPostWithResponse(ctx context.Context, body InternalInspectProjectScopesPostJSONRequestBody, ...) (*InternalInspectProjectScopesPostResponse, error)
- func (c *ClientWithResponses) InternalInspectProjectScopesWithResponse(ctx context.Context, params *InternalInspectProjectScopesParams, ...) (*InternalInspectProjectScopesResponse, error)
- func (c *ClientWithResponses) InternalListWithResponse(ctx context.Context, params *InternalListParams, reqEditors ...RequestEditorFn) (*InternalListResponse, error)
- func (c *ClientWithResponses) InternalMultipartCompleteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*InternalMultipartCompleteResponse, error)
- func (c *ClientWithResponses) InternalMultipartCompleteWithResponse(ctx context.Context, body InternalMultipartCompleteJSONRequestBody, ...) (*InternalMultipartCompleteResponse, error)
- func (c *ClientWithResponses) InternalMultipartInitWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*InternalMultipartInitResponse, error)
- func (c *ClientWithResponses) InternalMultipartInitWithResponse(ctx context.Context, body InternalMultipartInitJSONRequestBody, ...) (*InternalMultipartInitResponse, error)
- func (c *ClientWithResponses) InternalMultipartUploadWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*InternalMultipartUploadResponse, error)
- func (c *ClientWithResponses) InternalMultipartUploadWithResponse(ctx context.Context, body InternalMultipartUploadJSONRequestBody, ...) (*InternalMultipartUploadResponse, error)
- func (c *ClientWithResponses) InternalRemoveControlledAccessWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*InternalRemoveControlledAccessResponse, error)
- func (c *ClientWithResponses) InternalRemoveControlledAccessWithResponse(ctx context.Context, id string, ...) (*InternalRemoveControlledAccessResponse, error)
- func (c *ClientWithResponses) InternalUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*InternalUpdateResponse, error)
- func (c *ClientWithResponses) InternalUpdateWithResponse(ctx context.Context, id string, body InternalUpdateJSONRequestBody, ...) (*InternalUpdateResponse, error)
- func (c *ClientWithResponses) InternalUploadBlankWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*InternalUploadBlankResponse, error)
- func (c *ClientWithResponses) InternalUploadBlankWithResponse(ctx context.Context, body InternalUploadBlankJSONRequestBody, ...) (*InternalUploadBlankResponse, error)
- func (c *ClientWithResponses) InternalUploadBulkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*InternalUploadBulkResponse, error)
- func (c *ClientWithResponses) InternalUploadBulkWithResponse(ctx context.Context, body InternalUploadBulkJSONRequestBody, ...) (*InternalUploadBulkResponse, error)
- func (c *ClientWithResponses) InternalUploadURLWithResponse(ctx context.Context, fileId string, params *InternalUploadURLParams, ...) (*InternalUploadURLResponse, error)
- type ClientWithResponsesInterface
- type ControlledAccessRemoveRequest
- type DeleteByQueryResponse
- type HashInfo
- type HttpRequestDoer
- type InternalBulkCreateJSONRequestBody
- type InternalBulkCreateResponse
- type InternalBulkDeleteHashesJSONRequestBody
- type InternalBulkDeleteHashesResponse
- type InternalBulkDocumentsJSONRequestBody
- type InternalBulkDocumentsResponse
- type InternalBulkHashesJSONRequestBody
- type InternalBulkHashesResponse
- type InternalBulkMissingSHA256JSONRequestBody
- type InternalBulkMissingSHA256Response
- type InternalBulkSHA256ValidityJSONRequestBody
- type InternalBulkSHA256ValidityResponse
- type InternalCreateJSONRequestBody
- type InternalCreateResponse
- type InternalDeleteByQueryParams
- type InternalDeleteByQueryResponse
- type InternalDeleteResponse
- type InternalDownloadParams
- type InternalDownloadPartParams
- type InternalDownloadPartResponse
- type InternalDownloadResponse
- type InternalGetResponse
- type InternalInspectProjectBucketInventoryJSONRequestBody
- type InternalInspectProjectBucketInventoryResponse
- type InternalInspectProjectScopesParams
- type InternalInspectProjectScopesPostJSONRequestBody
- type InternalInspectProjectScopesPostResponse
- type InternalInspectProjectScopesResponse
- type InternalListParams
- type InternalListResponse
- type InternalMultipartCompleteJSONRequestBody
- type InternalMultipartCompleteRequest
- type InternalMultipartCompleteResponse
- type InternalMultipartInitJSONRequestBody
- type InternalMultipartInitOutput
- type InternalMultipartInitRequest
- type InternalMultipartInitResponse
- type InternalMultipartPart
- type InternalMultipartUploadJSONRequestBody
- type InternalMultipartUploadOutput
- type InternalMultipartUploadRequest
- type InternalMultipartUploadResponse
- type InternalProjectBucketInventoryItem
- type InternalProjectBucketInventoryRequest
- type InternalProjectBucketInventoryResponse
- type InternalProjectBucketInventorySummary
- type InternalProjectScopeItem
- type InternalProjectScopesRequest
- type InternalProjectScopesResponse
- type InternalRecord
- type InternalRecordResponse
- type InternalRemoveControlledAccessJSONRequestBody
- type InternalRemoveControlledAccessResponse
- type InternalSignedURL
- type InternalUpdateJSONRequestBody
- type InternalUpdateResponse
- type InternalUploadBlankJSONRequestBody
- type InternalUploadBlankOutput
- type InternalUploadBlankRequest
- type InternalUploadBlankResponse
- type InternalUploadBulkItem
- type InternalUploadBulkJSONRequestBody
- type InternalUploadBulkOutput
- type InternalUploadBulkRequest
- type InternalUploadBulkResponse
- type InternalUploadBulkResult
- type InternalUploadURLParams
- type InternalUploadURLResponse
- type ListRecordsResponse
- type RequestEditorFn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInternalBulkCreateRequest ¶
func NewInternalBulkCreateRequest(server string, body InternalBulkCreateJSONRequestBody) (*http.Request, error)
NewInternalBulkCreateRequest calls the generic InternalBulkCreate builder with application/json body
func NewInternalBulkCreateRequestWithBody ¶
func NewInternalBulkCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewInternalBulkCreateRequestWithBody generates requests for InternalBulkCreate with any type of body
func NewInternalBulkDeleteHashesRequest ¶
func NewInternalBulkDeleteHashesRequest(server string, body InternalBulkDeleteHashesJSONRequestBody) (*http.Request, error)
NewInternalBulkDeleteHashesRequest calls the generic InternalBulkDeleteHashes builder with application/json body
func NewInternalBulkDeleteHashesRequestWithBody ¶
func NewInternalBulkDeleteHashesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewInternalBulkDeleteHashesRequestWithBody generates requests for InternalBulkDeleteHashes with any type of body
func NewInternalBulkDocumentsRequest ¶
func NewInternalBulkDocumentsRequest(server string, body InternalBulkDocumentsJSONRequestBody) (*http.Request, error)
NewInternalBulkDocumentsRequest calls the generic InternalBulkDocuments builder with application/json body
func NewInternalBulkDocumentsRequestWithBody ¶
func NewInternalBulkDocumentsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewInternalBulkDocumentsRequestWithBody generates requests for InternalBulkDocuments with any type of body
func NewInternalBulkHashesRequest ¶
func NewInternalBulkHashesRequest(server string, body InternalBulkHashesJSONRequestBody) (*http.Request, error)
NewInternalBulkHashesRequest calls the generic InternalBulkHashes builder with application/json body
func NewInternalBulkHashesRequestWithBody ¶
func NewInternalBulkHashesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewInternalBulkHashesRequestWithBody generates requests for InternalBulkHashes with any type of body
func NewInternalBulkMissingSHA256Request ¶ added in v0.2.9
func NewInternalBulkMissingSHA256Request(server string, body InternalBulkMissingSHA256JSONRequestBody) (*http.Request, error)
NewInternalBulkMissingSHA256Request calls the generic InternalBulkMissingSHA256 builder with application/json body
func NewInternalBulkMissingSHA256RequestWithBody ¶ added in v0.2.9
func NewInternalBulkMissingSHA256RequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewInternalBulkMissingSHA256RequestWithBody generates requests for InternalBulkMissingSHA256 with any type of body
func NewInternalBulkSHA256ValidityRequest ¶
func NewInternalBulkSHA256ValidityRequest(server string, body InternalBulkSHA256ValidityJSONRequestBody) (*http.Request, error)
NewInternalBulkSHA256ValidityRequest calls the generic InternalBulkSHA256Validity builder with application/json body
func NewInternalBulkSHA256ValidityRequestWithBody ¶
func NewInternalBulkSHA256ValidityRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewInternalBulkSHA256ValidityRequestWithBody generates requests for InternalBulkSHA256Validity with any type of body
func NewInternalCreateRequest ¶
func NewInternalCreateRequest(server string, body InternalCreateJSONRequestBody) (*http.Request, error)
NewInternalCreateRequest calls the generic InternalCreate builder with application/json body
func NewInternalCreateRequestWithBody ¶
func NewInternalCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewInternalCreateRequestWithBody generates requests for InternalCreate with any type of body
func NewInternalDeleteByQueryRequest ¶
func NewInternalDeleteByQueryRequest(server string, params *InternalDeleteByQueryParams) (*http.Request, error)
NewInternalDeleteByQueryRequest generates requests for InternalDeleteByQuery
func NewInternalDeleteRequest ¶
NewInternalDeleteRequest generates requests for InternalDelete
func NewInternalDownloadPartRequest ¶
func NewInternalDownloadPartRequest(server string, fileId string, params *InternalDownloadPartParams) (*http.Request, error)
NewInternalDownloadPartRequest generates requests for InternalDownloadPart
func NewInternalDownloadRequest ¶
func NewInternalDownloadRequest(server string, fileId string, params *InternalDownloadParams) (*http.Request, error)
NewInternalDownloadRequest generates requests for InternalDownload
func NewInternalGetRequest ¶
NewInternalGetRequest generates requests for InternalGet
func NewInternalInspectProjectBucketInventoryRequest ¶ added in v0.2.9
func NewInternalInspectProjectBucketInventoryRequest(server string, body InternalInspectProjectBucketInventoryJSONRequestBody) (*http.Request, error)
NewInternalInspectProjectBucketInventoryRequest calls the generic InternalInspectProjectBucketInventory builder with application/json body
func NewInternalInspectProjectBucketInventoryRequestWithBody ¶ added in v0.2.9
func NewInternalInspectProjectBucketInventoryRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewInternalInspectProjectBucketInventoryRequestWithBody generates requests for InternalInspectProjectBucketInventory with any type of body
func NewInternalInspectProjectScopesPostRequest ¶ added in v0.2.9
func NewInternalInspectProjectScopesPostRequest(server string, body InternalInspectProjectScopesPostJSONRequestBody) (*http.Request, error)
NewInternalInspectProjectScopesPostRequest calls the generic InternalInspectProjectScopesPost builder with application/json body
func NewInternalInspectProjectScopesPostRequestWithBody ¶ added in v0.2.9
func NewInternalInspectProjectScopesPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewInternalInspectProjectScopesPostRequestWithBody generates requests for InternalInspectProjectScopesPost with any type of body
func NewInternalInspectProjectScopesRequest ¶ added in v0.2.9
func NewInternalInspectProjectScopesRequest(server string, params *InternalInspectProjectScopesParams) (*http.Request, error)
NewInternalInspectProjectScopesRequest generates requests for InternalInspectProjectScopes
func NewInternalListRequest ¶
func NewInternalListRequest(server string, params *InternalListParams) (*http.Request, error)
NewInternalListRequest generates requests for InternalList
func NewInternalMultipartCompleteRequest ¶
func NewInternalMultipartCompleteRequest(server string, body InternalMultipartCompleteJSONRequestBody) (*http.Request, error)
NewInternalMultipartCompleteRequest calls the generic InternalMultipartComplete builder with application/json body
func NewInternalMultipartCompleteRequestWithBody ¶
func NewInternalMultipartCompleteRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewInternalMultipartCompleteRequestWithBody generates requests for InternalMultipartComplete with any type of body
func NewInternalMultipartInitRequest ¶
func NewInternalMultipartInitRequest(server string, body InternalMultipartInitJSONRequestBody) (*http.Request, error)
NewInternalMultipartInitRequest calls the generic InternalMultipartInit builder with application/json body
func NewInternalMultipartInitRequestWithBody ¶
func NewInternalMultipartInitRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewInternalMultipartInitRequestWithBody generates requests for InternalMultipartInit with any type of body
func NewInternalMultipartUploadRequest ¶
func NewInternalMultipartUploadRequest(server string, body InternalMultipartUploadJSONRequestBody) (*http.Request, error)
NewInternalMultipartUploadRequest calls the generic InternalMultipartUpload builder with application/json body
func NewInternalMultipartUploadRequestWithBody ¶
func NewInternalMultipartUploadRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewInternalMultipartUploadRequestWithBody generates requests for InternalMultipartUpload with any type of body
func NewInternalRemoveControlledAccessRequest ¶ added in v0.2.7
func NewInternalRemoveControlledAccessRequest(server string, id string, body InternalRemoveControlledAccessJSONRequestBody) (*http.Request, error)
NewInternalRemoveControlledAccessRequest calls the generic InternalRemoveControlledAccess builder with application/json body
func NewInternalRemoveControlledAccessRequestWithBody ¶ added in v0.2.7
func NewInternalRemoveControlledAccessRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewInternalRemoveControlledAccessRequestWithBody generates requests for InternalRemoveControlledAccess with any type of body
func NewInternalUpdateRequest ¶
func NewInternalUpdateRequest(server string, id string, body InternalUpdateJSONRequestBody) (*http.Request, error)
NewInternalUpdateRequest calls the generic InternalUpdate builder with application/json body
func NewInternalUpdateRequestWithBody ¶
func NewInternalUpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewInternalUpdateRequestWithBody generates requests for InternalUpdate with any type of body
func NewInternalUploadBlankRequest ¶
func NewInternalUploadBlankRequest(server string, body InternalUploadBlankJSONRequestBody) (*http.Request, error)
NewInternalUploadBlankRequest calls the generic InternalUploadBlank builder with application/json body
func NewInternalUploadBlankRequestWithBody ¶
func NewInternalUploadBlankRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewInternalUploadBlankRequestWithBody generates requests for InternalUploadBlank with any type of body
func NewInternalUploadBulkRequest ¶
func NewInternalUploadBulkRequest(server string, body InternalUploadBulkJSONRequestBody) (*http.Request, error)
NewInternalUploadBulkRequest calls the generic InternalUploadBulk builder with application/json body
func NewInternalUploadBulkRequestWithBody ¶
func NewInternalUploadBulkRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewInternalUploadBulkRequestWithBody generates requests for InternalUploadBulk with any type of body
func NewInternalUploadURLRequest ¶
func NewInternalUploadURLRequest(server string, fileId string, params *InternalUploadURLParams) (*http.Request, error)
NewInternalUploadURLRequest generates requests for InternalUploadURL
Types ¶
type BulkCreateRequest ¶
type BulkCreateRequest struct {
Records []InternalRecord `json:"records"`
}
BulkCreateRequest defines model for BulkCreateRequest.
type BulkDocumentsRequest ¶
type BulkDocumentsRequest struct {
// contains filtered or unexported fields
}
BulkDocumentsRequest defines model for BulkDocumentsRequest.
func (BulkDocumentsRequest) AsBulkDocumentsRequest0 ¶
func (t BulkDocumentsRequest) AsBulkDocumentsRequest0() (BulkDocumentsRequest0, error)
AsBulkDocumentsRequest0 returns the union data inside the BulkDocumentsRequest as a BulkDocumentsRequest0
func (BulkDocumentsRequest) AsBulkDocumentsRequest1 ¶
func (t BulkDocumentsRequest) AsBulkDocumentsRequest1() (BulkDocumentsRequest1, error)
AsBulkDocumentsRequest1 returns the union data inside the BulkDocumentsRequest as a BulkDocumentsRequest1
func (*BulkDocumentsRequest) FromBulkDocumentsRequest0 ¶
func (t *BulkDocumentsRequest) FromBulkDocumentsRequest0(v BulkDocumentsRequest0) error
FromBulkDocumentsRequest0 overwrites any union data inside the BulkDocumentsRequest as the provided BulkDocumentsRequest0
func (*BulkDocumentsRequest) FromBulkDocumentsRequest1 ¶
func (t *BulkDocumentsRequest) FromBulkDocumentsRequest1(v BulkDocumentsRequest1) error
FromBulkDocumentsRequest1 overwrites any union data inside the BulkDocumentsRequest as the provided BulkDocumentsRequest1
func (BulkDocumentsRequest) MarshalJSON ¶
func (t BulkDocumentsRequest) MarshalJSON() ([]byte, error)
func (*BulkDocumentsRequest) MergeBulkDocumentsRequest0 ¶
func (t *BulkDocumentsRequest) MergeBulkDocumentsRequest0(v BulkDocumentsRequest0) error
MergeBulkDocumentsRequest0 performs a merge with any union data inside the BulkDocumentsRequest, using the provided BulkDocumentsRequest0
func (*BulkDocumentsRequest) MergeBulkDocumentsRequest1 ¶
func (t *BulkDocumentsRequest) MergeBulkDocumentsRequest1(v BulkDocumentsRequest1) error
MergeBulkDocumentsRequest1 performs a merge with any union data inside the BulkDocumentsRequest, using the provided BulkDocumentsRequest1
func (*BulkDocumentsRequest) UnmarshalJSON ¶
func (t *BulkDocumentsRequest) UnmarshalJSON(b []byte) error
type BulkDocumentsRequest0 ¶
type BulkDocumentsRequest0 = []string
BulkDocumentsRequest0 defines model for .
type BulkDocumentsRequest1 ¶
type BulkDocumentsRequest1 struct {
Ids *[]string `json:"ids,omitempty"`
}
BulkDocumentsRequest1 defines model for .
type BulkHashesRequest ¶
type BulkHashesRequest struct {
Hashes []string `json:"hashes"`
}
BulkHashesRequest defines model for BulkHashesRequest.
type BulkMissingSHA256Request ¶ added in v0.2.9
type BulkMissingSHA256Request struct {
Organization string `json:"organization"`
Project string `json:"project"`
Sha256 []string `json:"sha256"`
}
BulkMissingSHA256Request defines model for BulkMissingSHA256Request.
type BulkMissingSHA256Response ¶ added in v0.2.9
type BulkMissingSHA256Response struct {
Checked int32 `json:"checked"`
MissingSha256 []string `json:"missing_sha256"`
}
BulkMissingSHA256Response defines model for BulkMissingSHA256Response.
type BulkSHA256ValidityRequest ¶
type BulkSHA256ValidityRequest struct {
Hashes *[]string `json:"hashes,omitempty"`
Sha256 *[]string `json:"sha256,omitempty"`
}
BulkSHA256ValidityRequest defines model for BulkSHA256ValidityRequest.
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) InternalBulkCreate ¶
func (c *Client) InternalBulkCreate(ctx context.Context, body InternalBulkCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) InternalBulkCreateWithBody ¶
func (*Client) InternalBulkDeleteHashes ¶
func (c *Client) InternalBulkDeleteHashes(ctx context.Context, body InternalBulkDeleteHashesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) InternalBulkDeleteHashesWithBody ¶
func (*Client) InternalBulkDocuments ¶
func (c *Client) InternalBulkDocuments(ctx context.Context, body InternalBulkDocumentsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) InternalBulkDocumentsWithBody ¶
func (*Client) InternalBulkHashes ¶
func (c *Client) InternalBulkHashes(ctx context.Context, body InternalBulkHashesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) InternalBulkHashesWithBody ¶
func (*Client) InternalBulkMissingSHA256 ¶ added in v0.2.9
func (c *Client) InternalBulkMissingSHA256(ctx context.Context, body InternalBulkMissingSHA256JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) InternalBulkMissingSHA256WithBody ¶ added in v0.2.9
func (*Client) InternalBulkSHA256Validity ¶
func (c *Client) InternalBulkSHA256Validity(ctx context.Context, body InternalBulkSHA256ValidityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) InternalBulkSHA256ValidityWithBody ¶
func (*Client) InternalCreate ¶
func (c *Client) InternalCreate(ctx context.Context, body InternalCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) InternalCreateWithBody ¶
func (*Client) InternalDelete ¶
func (*Client) InternalDeleteByQuery ¶
func (c *Client) InternalDeleteByQuery(ctx context.Context, params *InternalDeleteByQueryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) InternalDownload ¶
func (c *Client) InternalDownload(ctx context.Context, fileId string, params *InternalDownloadParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) InternalDownloadPart ¶
func (c *Client) InternalDownloadPart(ctx context.Context, fileId string, params *InternalDownloadPartParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) InternalGet ¶
func (*Client) InternalInspectProjectBucketInventory ¶ added in v0.2.9
func (c *Client) InternalInspectProjectBucketInventory(ctx context.Context, body InternalInspectProjectBucketInventoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) InternalInspectProjectBucketInventoryWithBody ¶ added in v0.2.9
func (*Client) InternalInspectProjectScopes ¶ added in v0.2.9
func (c *Client) InternalInspectProjectScopes(ctx context.Context, params *InternalInspectProjectScopesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) InternalInspectProjectScopesPost ¶ added in v0.2.9
func (c *Client) InternalInspectProjectScopesPost(ctx context.Context, body InternalInspectProjectScopesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) InternalInspectProjectScopesPostWithBody ¶ added in v0.2.9
func (*Client) InternalList ¶
func (c *Client) InternalList(ctx context.Context, params *InternalListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) InternalMultipartComplete ¶
func (c *Client) InternalMultipartComplete(ctx context.Context, body InternalMultipartCompleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) InternalMultipartCompleteWithBody ¶
func (*Client) InternalMultipartInit ¶
func (c *Client) InternalMultipartInit(ctx context.Context, body InternalMultipartInitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) InternalMultipartInitWithBody ¶
func (*Client) InternalMultipartUpload ¶
func (c *Client) InternalMultipartUpload(ctx context.Context, body InternalMultipartUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) InternalMultipartUploadWithBody ¶
func (*Client) InternalRemoveControlledAccess ¶ added in v0.2.7
func (c *Client) InternalRemoveControlledAccess(ctx context.Context, id string, body InternalRemoveControlledAccessJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) InternalRemoveControlledAccessWithBody ¶ added in v0.2.7
func (*Client) InternalUpdate ¶
func (c *Client) InternalUpdate(ctx context.Context, id string, body InternalUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) InternalUpdateWithBody ¶
func (*Client) InternalUploadBlank ¶
func (c *Client) InternalUploadBlank(ctx context.Context, body InternalUploadBlankJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) InternalUploadBlankWithBody ¶
func (*Client) InternalUploadBulk ¶
func (c *Client) InternalUploadBulk(ctx context.Context, body InternalUploadBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) InternalUploadBulkWithBody ¶
func (*Client) InternalUploadURL ¶
func (c *Client) InternalUploadURL(ctx context.Context, fileId string, params *InternalUploadURLParams, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface {
// InternalDownload request
InternalDownload(ctx context.Context, fileId string, params *InternalDownloadParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// InternalDownloadPart request
InternalDownloadPart(ctx context.Context, fileId string, params *InternalDownloadPartParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// InternalInspectProjectBucketInventoryWithBody request with any body
InternalInspectProjectBucketInventoryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
InternalInspectProjectBucketInventory(ctx context.Context, body InternalInspectProjectBucketInventoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// InternalInspectProjectScopes request
InternalInspectProjectScopes(ctx context.Context, params *InternalInspectProjectScopesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// InternalInspectProjectScopesPostWithBody request with any body
InternalInspectProjectScopesPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
InternalInspectProjectScopesPost(ctx context.Context, body InternalInspectProjectScopesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// InternalMultipartCompleteWithBody request with any body
InternalMultipartCompleteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
InternalMultipartComplete(ctx context.Context, body InternalMultipartCompleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// InternalMultipartInitWithBody request with any body
InternalMultipartInitWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
InternalMultipartInit(ctx context.Context, body InternalMultipartInitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// InternalMultipartUploadWithBody request with any body
InternalMultipartUploadWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
InternalMultipartUpload(ctx context.Context, body InternalMultipartUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// InternalUploadBlankWithBody request with any body
InternalUploadBlankWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
InternalUploadBlank(ctx context.Context, body InternalUploadBlankJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// InternalUploadBulkWithBody request with any body
InternalUploadBulkWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
InternalUploadBulk(ctx context.Context, body InternalUploadBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// InternalUploadURL request
InternalUploadURL(ctx context.Context, fileId string, params *InternalUploadURLParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// InternalDeleteByQuery request
InternalDeleteByQuery(ctx context.Context, params *InternalDeleteByQueryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// InternalList request
InternalList(ctx context.Context, params *InternalListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// InternalCreateWithBody request with any body
InternalCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
InternalCreate(ctx context.Context, body InternalCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// InternalBulkCreateWithBody request with any body
InternalBulkCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
InternalBulkCreate(ctx context.Context, body InternalBulkCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// InternalBulkDeleteHashesWithBody request with any body
InternalBulkDeleteHashesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
InternalBulkDeleteHashes(ctx context.Context, body InternalBulkDeleteHashesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// InternalBulkDocumentsWithBody request with any body
InternalBulkDocumentsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
InternalBulkDocuments(ctx context.Context, body InternalBulkDocumentsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// InternalBulkHashesWithBody request with any body
InternalBulkHashesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
InternalBulkHashes(ctx context.Context, body InternalBulkHashesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// InternalBulkMissingSHA256WithBody request with any body
InternalBulkMissingSHA256WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
InternalBulkMissingSHA256(ctx context.Context, body InternalBulkMissingSHA256JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// InternalBulkSHA256ValidityWithBody request with any body
InternalBulkSHA256ValidityWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
InternalBulkSHA256Validity(ctx context.Context, body InternalBulkSHA256ValidityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// InternalDelete request
InternalDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// InternalGet request
InternalGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// InternalUpdateWithBody request with any body
InternalUpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
InternalUpdate(ctx context.Context, id string, body InternalUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// InternalRemoveControlledAccessWithBody request with any body
InternalRemoveControlledAccessWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
InternalRemoveControlledAccess(ctx context.Context, id string, body InternalRemoveControlledAccessJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
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) InternalBulkCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) InternalBulkCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InternalBulkCreateResponse, error)
InternalBulkCreateWithBodyWithResponse request with arbitrary body returning *InternalBulkCreateResponse
func (*ClientWithResponses) InternalBulkCreateWithResponse ¶
func (c *ClientWithResponses) InternalBulkCreateWithResponse(ctx context.Context, body InternalBulkCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*InternalBulkCreateResponse, error)
func (*ClientWithResponses) InternalBulkDeleteHashesWithBodyWithResponse ¶
func (c *ClientWithResponses) InternalBulkDeleteHashesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InternalBulkDeleteHashesResponse, error)
InternalBulkDeleteHashesWithBodyWithResponse request with arbitrary body returning *InternalBulkDeleteHashesResponse
func (*ClientWithResponses) InternalBulkDeleteHashesWithResponse ¶
func (c *ClientWithResponses) InternalBulkDeleteHashesWithResponse(ctx context.Context, body InternalBulkDeleteHashesJSONRequestBody, reqEditors ...RequestEditorFn) (*InternalBulkDeleteHashesResponse, error)
func (*ClientWithResponses) InternalBulkDocumentsWithBodyWithResponse ¶
func (c *ClientWithResponses) InternalBulkDocumentsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InternalBulkDocumentsResponse, error)
InternalBulkDocumentsWithBodyWithResponse request with arbitrary body returning *InternalBulkDocumentsResponse
func (*ClientWithResponses) InternalBulkDocumentsWithResponse ¶
func (c *ClientWithResponses) InternalBulkDocumentsWithResponse(ctx context.Context, body InternalBulkDocumentsJSONRequestBody, reqEditors ...RequestEditorFn) (*InternalBulkDocumentsResponse, error)
func (*ClientWithResponses) InternalBulkHashesWithBodyWithResponse ¶
func (c *ClientWithResponses) InternalBulkHashesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InternalBulkHashesResponse, error)
InternalBulkHashesWithBodyWithResponse request with arbitrary body returning *InternalBulkHashesResponse
func (*ClientWithResponses) InternalBulkHashesWithResponse ¶
func (c *ClientWithResponses) InternalBulkHashesWithResponse(ctx context.Context, body InternalBulkHashesJSONRequestBody, reqEditors ...RequestEditorFn) (*InternalBulkHashesResponse, error)
func (*ClientWithResponses) InternalBulkMissingSHA256WithBodyWithResponse ¶ added in v0.2.9
func (c *ClientWithResponses) InternalBulkMissingSHA256WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InternalBulkMissingSHA256Response, error)
InternalBulkMissingSHA256WithBodyWithResponse request with arbitrary body returning *InternalBulkMissingSHA256Response
func (*ClientWithResponses) InternalBulkMissingSHA256WithResponse ¶ added in v0.2.9
func (c *ClientWithResponses) InternalBulkMissingSHA256WithResponse(ctx context.Context, body InternalBulkMissingSHA256JSONRequestBody, reqEditors ...RequestEditorFn) (*InternalBulkMissingSHA256Response, error)
func (*ClientWithResponses) InternalBulkSHA256ValidityWithBodyWithResponse ¶
func (c *ClientWithResponses) InternalBulkSHA256ValidityWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InternalBulkSHA256ValidityResponse, error)
InternalBulkSHA256ValidityWithBodyWithResponse request with arbitrary body returning *InternalBulkSHA256ValidityResponse
func (*ClientWithResponses) InternalBulkSHA256ValidityWithResponse ¶
func (c *ClientWithResponses) InternalBulkSHA256ValidityWithResponse(ctx context.Context, body InternalBulkSHA256ValidityJSONRequestBody, reqEditors ...RequestEditorFn) (*InternalBulkSHA256ValidityResponse, error)
func (*ClientWithResponses) InternalCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) InternalCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InternalCreateResponse, error)
InternalCreateWithBodyWithResponse request with arbitrary body returning *InternalCreateResponse
func (*ClientWithResponses) InternalCreateWithResponse ¶
func (c *ClientWithResponses) InternalCreateWithResponse(ctx context.Context, body InternalCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*InternalCreateResponse, error)
func (*ClientWithResponses) InternalDeleteByQueryWithResponse ¶
func (c *ClientWithResponses) InternalDeleteByQueryWithResponse(ctx context.Context, params *InternalDeleteByQueryParams, reqEditors ...RequestEditorFn) (*InternalDeleteByQueryResponse, error)
InternalDeleteByQueryWithResponse request returning *InternalDeleteByQueryResponse
func (*ClientWithResponses) InternalDeleteWithResponse ¶
func (c *ClientWithResponses) InternalDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*InternalDeleteResponse, error)
InternalDeleteWithResponse request returning *InternalDeleteResponse
func (*ClientWithResponses) InternalDownloadPartWithResponse ¶
func (c *ClientWithResponses) InternalDownloadPartWithResponse(ctx context.Context, fileId string, params *InternalDownloadPartParams, reqEditors ...RequestEditorFn) (*InternalDownloadPartResponse, error)
InternalDownloadPartWithResponse request returning *InternalDownloadPartResponse
func (*ClientWithResponses) InternalDownloadWithResponse ¶
func (c *ClientWithResponses) InternalDownloadWithResponse(ctx context.Context, fileId string, params *InternalDownloadParams, reqEditors ...RequestEditorFn) (*InternalDownloadResponse, error)
InternalDownloadWithResponse request returning *InternalDownloadResponse
func (*ClientWithResponses) InternalGetWithResponse ¶
func (c *ClientWithResponses) InternalGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*InternalGetResponse, error)
InternalGetWithResponse request returning *InternalGetResponse
func (*ClientWithResponses) InternalInspectProjectBucketInventoryWithBodyWithResponse ¶ added in v0.2.9
func (c *ClientWithResponses) InternalInspectProjectBucketInventoryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InternalInspectProjectBucketInventoryResponse, error)
InternalInspectProjectBucketInventoryWithBodyWithResponse request with arbitrary body returning *InternalInspectProjectBucketInventoryResponse
func (*ClientWithResponses) InternalInspectProjectBucketInventoryWithResponse ¶ added in v0.2.9
func (c *ClientWithResponses) InternalInspectProjectBucketInventoryWithResponse(ctx context.Context, body InternalInspectProjectBucketInventoryJSONRequestBody, reqEditors ...RequestEditorFn) (*InternalInspectProjectBucketInventoryResponse, error)
func (*ClientWithResponses) InternalInspectProjectScopesPostWithBodyWithResponse ¶ added in v0.2.9
func (c *ClientWithResponses) InternalInspectProjectScopesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InternalInspectProjectScopesPostResponse, error)
InternalInspectProjectScopesPostWithBodyWithResponse request with arbitrary body returning *InternalInspectProjectScopesPostResponse
func (*ClientWithResponses) InternalInspectProjectScopesPostWithResponse ¶ added in v0.2.9
func (c *ClientWithResponses) InternalInspectProjectScopesPostWithResponse(ctx context.Context, body InternalInspectProjectScopesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*InternalInspectProjectScopesPostResponse, error)
func (*ClientWithResponses) InternalInspectProjectScopesWithResponse ¶ added in v0.2.9
func (c *ClientWithResponses) InternalInspectProjectScopesWithResponse(ctx context.Context, params *InternalInspectProjectScopesParams, reqEditors ...RequestEditorFn) (*InternalInspectProjectScopesResponse, error)
InternalInspectProjectScopesWithResponse request returning *InternalInspectProjectScopesResponse
func (*ClientWithResponses) InternalListWithResponse ¶
func (c *ClientWithResponses) InternalListWithResponse(ctx context.Context, params *InternalListParams, reqEditors ...RequestEditorFn) (*InternalListResponse, error)
InternalListWithResponse request returning *InternalListResponse
func (*ClientWithResponses) InternalMultipartCompleteWithBodyWithResponse ¶
func (c *ClientWithResponses) InternalMultipartCompleteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InternalMultipartCompleteResponse, error)
InternalMultipartCompleteWithBodyWithResponse request with arbitrary body returning *InternalMultipartCompleteResponse
func (*ClientWithResponses) InternalMultipartCompleteWithResponse ¶
func (c *ClientWithResponses) InternalMultipartCompleteWithResponse(ctx context.Context, body InternalMultipartCompleteJSONRequestBody, reqEditors ...RequestEditorFn) (*InternalMultipartCompleteResponse, error)
func (*ClientWithResponses) InternalMultipartInitWithBodyWithResponse ¶
func (c *ClientWithResponses) InternalMultipartInitWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InternalMultipartInitResponse, error)
InternalMultipartInitWithBodyWithResponse request with arbitrary body returning *InternalMultipartInitResponse
func (*ClientWithResponses) InternalMultipartInitWithResponse ¶
func (c *ClientWithResponses) InternalMultipartInitWithResponse(ctx context.Context, body InternalMultipartInitJSONRequestBody, reqEditors ...RequestEditorFn) (*InternalMultipartInitResponse, error)
func (*ClientWithResponses) InternalMultipartUploadWithBodyWithResponse ¶
func (c *ClientWithResponses) InternalMultipartUploadWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InternalMultipartUploadResponse, error)
InternalMultipartUploadWithBodyWithResponse request with arbitrary body returning *InternalMultipartUploadResponse
func (*ClientWithResponses) InternalMultipartUploadWithResponse ¶
func (c *ClientWithResponses) InternalMultipartUploadWithResponse(ctx context.Context, body InternalMultipartUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*InternalMultipartUploadResponse, error)
func (*ClientWithResponses) InternalRemoveControlledAccessWithBodyWithResponse ¶ added in v0.2.7
func (c *ClientWithResponses) InternalRemoveControlledAccessWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InternalRemoveControlledAccessResponse, error)
InternalRemoveControlledAccessWithBodyWithResponse request with arbitrary body returning *InternalRemoveControlledAccessResponse
func (*ClientWithResponses) InternalRemoveControlledAccessWithResponse ¶ added in v0.2.7
func (c *ClientWithResponses) InternalRemoveControlledAccessWithResponse(ctx context.Context, id string, body InternalRemoveControlledAccessJSONRequestBody, reqEditors ...RequestEditorFn) (*InternalRemoveControlledAccessResponse, error)
func (*ClientWithResponses) InternalUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) InternalUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InternalUpdateResponse, error)
InternalUpdateWithBodyWithResponse request with arbitrary body returning *InternalUpdateResponse
func (*ClientWithResponses) InternalUpdateWithResponse ¶
func (c *ClientWithResponses) InternalUpdateWithResponse(ctx context.Context, id string, body InternalUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*InternalUpdateResponse, error)
func (*ClientWithResponses) InternalUploadBlankWithBodyWithResponse ¶
func (c *ClientWithResponses) InternalUploadBlankWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InternalUploadBlankResponse, error)
InternalUploadBlankWithBodyWithResponse request with arbitrary body returning *InternalUploadBlankResponse
func (*ClientWithResponses) InternalUploadBlankWithResponse ¶
func (c *ClientWithResponses) InternalUploadBlankWithResponse(ctx context.Context, body InternalUploadBlankJSONRequestBody, reqEditors ...RequestEditorFn) (*InternalUploadBlankResponse, error)
func (*ClientWithResponses) InternalUploadBulkWithBodyWithResponse ¶
func (c *ClientWithResponses) InternalUploadBulkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InternalUploadBulkResponse, error)
InternalUploadBulkWithBodyWithResponse request with arbitrary body returning *InternalUploadBulkResponse
func (*ClientWithResponses) InternalUploadBulkWithResponse ¶
func (c *ClientWithResponses) InternalUploadBulkWithResponse(ctx context.Context, body InternalUploadBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*InternalUploadBulkResponse, error)
func (*ClientWithResponses) InternalUploadURLWithResponse ¶
func (c *ClientWithResponses) InternalUploadURLWithResponse(ctx context.Context, fileId string, params *InternalUploadURLParams, reqEditors ...RequestEditorFn) (*InternalUploadURLResponse, error)
InternalUploadURLWithResponse request returning *InternalUploadURLResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// InternalDownloadWithResponse request
InternalDownloadWithResponse(ctx context.Context, fileId string, params *InternalDownloadParams, reqEditors ...RequestEditorFn) (*InternalDownloadResponse, error)
// InternalDownloadPartWithResponse request
InternalDownloadPartWithResponse(ctx context.Context, fileId string, params *InternalDownloadPartParams, reqEditors ...RequestEditorFn) (*InternalDownloadPartResponse, error)
// InternalInspectProjectBucketInventoryWithBodyWithResponse request with any body
InternalInspectProjectBucketInventoryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InternalInspectProjectBucketInventoryResponse, error)
InternalInspectProjectBucketInventoryWithResponse(ctx context.Context, body InternalInspectProjectBucketInventoryJSONRequestBody, reqEditors ...RequestEditorFn) (*InternalInspectProjectBucketInventoryResponse, error)
// InternalInspectProjectScopesWithResponse request
InternalInspectProjectScopesWithResponse(ctx context.Context, params *InternalInspectProjectScopesParams, reqEditors ...RequestEditorFn) (*InternalInspectProjectScopesResponse, error)
// InternalInspectProjectScopesPostWithBodyWithResponse request with any body
InternalInspectProjectScopesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InternalInspectProjectScopesPostResponse, error)
InternalInspectProjectScopesPostWithResponse(ctx context.Context, body InternalInspectProjectScopesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*InternalInspectProjectScopesPostResponse, error)
// InternalMultipartCompleteWithBodyWithResponse request with any body
InternalMultipartCompleteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InternalMultipartCompleteResponse, error)
InternalMultipartCompleteWithResponse(ctx context.Context, body InternalMultipartCompleteJSONRequestBody, reqEditors ...RequestEditorFn) (*InternalMultipartCompleteResponse, error)
// InternalMultipartInitWithBodyWithResponse request with any body
InternalMultipartInitWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InternalMultipartInitResponse, error)
InternalMultipartInitWithResponse(ctx context.Context, body InternalMultipartInitJSONRequestBody, reqEditors ...RequestEditorFn) (*InternalMultipartInitResponse, error)
// InternalMultipartUploadWithBodyWithResponse request with any body
InternalMultipartUploadWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InternalMultipartUploadResponse, error)
InternalMultipartUploadWithResponse(ctx context.Context, body InternalMultipartUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*InternalMultipartUploadResponse, error)
// InternalUploadBlankWithBodyWithResponse request with any body
InternalUploadBlankWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InternalUploadBlankResponse, error)
InternalUploadBlankWithResponse(ctx context.Context, body InternalUploadBlankJSONRequestBody, reqEditors ...RequestEditorFn) (*InternalUploadBlankResponse, error)
// InternalUploadBulkWithBodyWithResponse request with any body
InternalUploadBulkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InternalUploadBulkResponse, error)
InternalUploadBulkWithResponse(ctx context.Context, body InternalUploadBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*InternalUploadBulkResponse, error)
// InternalUploadURLWithResponse request
InternalUploadURLWithResponse(ctx context.Context, fileId string, params *InternalUploadURLParams, reqEditors ...RequestEditorFn) (*InternalUploadURLResponse, error)
// InternalDeleteByQueryWithResponse request
InternalDeleteByQueryWithResponse(ctx context.Context, params *InternalDeleteByQueryParams, reqEditors ...RequestEditorFn) (*InternalDeleteByQueryResponse, error)
// InternalListWithResponse request
InternalListWithResponse(ctx context.Context, params *InternalListParams, reqEditors ...RequestEditorFn) (*InternalListResponse, error)
// InternalCreateWithBodyWithResponse request with any body
InternalCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InternalCreateResponse, error)
InternalCreateWithResponse(ctx context.Context, body InternalCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*InternalCreateResponse, error)
// InternalBulkCreateWithBodyWithResponse request with any body
InternalBulkCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InternalBulkCreateResponse, error)
InternalBulkCreateWithResponse(ctx context.Context, body InternalBulkCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*InternalBulkCreateResponse, error)
// InternalBulkDeleteHashesWithBodyWithResponse request with any body
InternalBulkDeleteHashesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InternalBulkDeleteHashesResponse, error)
InternalBulkDeleteHashesWithResponse(ctx context.Context, body InternalBulkDeleteHashesJSONRequestBody, reqEditors ...RequestEditorFn) (*InternalBulkDeleteHashesResponse, error)
// InternalBulkDocumentsWithBodyWithResponse request with any body
InternalBulkDocumentsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InternalBulkDocumentsResponse, error)
InternalBulkDocumentsWithResponse(ctx context.Context, body InternalBulkDocumentsJSONRequestBody, reqEditors ...RequestEditorFn) (*InternalBulkDocumentsResponse, error)
// InternalBulkHashesWithBodyWithResponse request with any body
InternalBulkHashesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InternalBulkHashesResponse, error)
InternalBulkHashesWithResponse(ctx context.Context, body InternalBulkHashesJSONRequestBody, reqEditors ...RequestEditorFn) (*InternalBulkHashesResponse, error)
// InternalBulkMissingSHA256WithBodyWithResponse request with any body
InternalBulkMissingSHA256WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InternalBulkMissingSHA256Response, error)
InternalBulkMissingSHA256WithResponse(ctx context.Context, body InternalBulkMissingSHA256JSONRequestBody, reqEditors ...RequestEditorFn) (*InternalBulkMissingSHA256Response, error)
// InternalBulkSHA256ValidityWithBodyWithResponse request with any body
InternalBulkSHA256ValidityWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InternalBulkSHA256ValidityResponse, error)
InternalBulkSHA256ValidityWithResponse(ctx context.Context, body InternalBulkSHA256ValidityJSONRequestBody, reqEditors ...RequestEditorFn) (*InternalBulkSHA256ValidityResponse, error)
// InternalDeleteWithResponse request
InternalDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*InternalDeleteResponse, error)
// InternalGetWithResponse request
InternalGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*InternalGetResponse, error)
// InternalUpdateWithBodyWithResponse request with any body
InternalUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InternalUpdateResponse, error)
InternalUpdateWithResponse(ctx context.Context, id string, body InternalUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*InternalUpdateResponse, error)
// InternalRemoveControlledAccessWithBodyWithResponse request with any body
InternalRemoveControlledAccessWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InternalRemoveControlledAccessResponse, error)
InternalRemoveControlledAccessWithResponse(ctx context.Context, id string, body InternalRemoveControlledAccessJSONRequestBody, reqEditors ...RequestEditorFn) (*InternalRemoveControlledAccessResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type ControlledAccessRemoveRequest ¶ added in v0.2.7
type ControlledAccessRemoveRequest struct {
Resource string `json:"resource"`
}
ControlledAccessRemoveRequest defines model for ControlledAccessRemoveRequest.
type DeleteByQueryResponse ¶
type DeleteByQueryResponse struct {
Deleted *int `json:"deleted,omitempty"`
}
DeleteByQueryResponse defines model for DeleteByQueryResponse.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type InternalBulkCreateJSONRequestBody ¶
type InternalBulkCreateJSONRequestBody = BulkCreateRequest
InternalBulkCreateJSONRequestBody defines body for InternalBulkCreate for application/json ContentType.
type InternalBulkCreateResponse ¶
type InternalBulkCreateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *ListRecordsResponse
}
func ParseInternalBulkCreateResponse ¶
func ParseInternalBulkCreateResponse(rsp *http.Response) (*InternalBulkCreateResponse, error)
ParseInternalBulkCreateResponse parses an HTTP response from a InternalBulkCreateWithResponse call
func (InternalBulkCreateResponse) Status ¶
func (r InternalBulkCreateResponse) Status() string
Status returns HTTPResponse.Status
func (InternalBulkCreateResponse) StatusCode ¶
func (r InternalBulkCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InternalBulkDeleteHashesJSONRequestBody ¶
type InternalBulkDeleteHashesJSONRequestBody = BulkHashesRequest
InternalBulkDeleteHashesJSONRequestBody defines body for InternalBulkDeleteHashes for application/json ContentType.
type InternalBulkDeleteHashesResponse ¶
type InternalBulkDeleteHashesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DeleteByQueryResponse
}
func ParseInternalBulkDeleteHashesResponse ¶
func ParseInternalBulkDeleteHashesResponse(rsp *http.Response) (*InternalBulkDeleteHashesResponse, error)
ParseInternalBulkDeleteHashesResponse parses an HTTP response from a InternalBulkDeleteHashesWithResponse call
func (InternalBulkDeleteHashesResponse) Status ¶
func (r InternalBulkDeleteHashesResponse) Status() string
Status returns HTTPResponse.Status
func (InternalBulkDeleteHashesResponse) StatusCode ¶
func (r InternalBulkDeleteHashesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InternalBulkDocumentsJSONRequestBody ¶
type InternalBulkDocumentsJSONRequestBody = BulkDocumentsRequest
InternalBulkDocumentsJSONRequestBody defines body for InternalBulkDocuments for application/json ContentType.
type InternalBulkDocumentsResponse ¶
type InternalBulkDocumentsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]InternalRecordResponse
}
func ParseInternalBulkDocumentsResponse ¶
func ParseInternalBulkDocumentsResponse(rsp *http.Response) (*InternalBulkDocumentsResponse, error)
ParseInternalBulkDocumentsResponse parses an HTTP response from a InternalBulkDocumentsWithResponse call
func (InternalBulkDocumentsResponse) Status ¶
func (r InternalBulkDocumentsResponse) Status() string
Status returns HTTPResponse.Status
func (InternalBulkDocumentsResponse) StatusCode ¶
func (r InternalBulkDocumentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InternalBulkHashesJSONRequestBody ¶
type InternalBulkHashesJSONRequestBody = BulkHashesRequest
InternalBulkHashesJSONRequestBody defines body for InternalBulkHashes for application/json ContentType.
type InternalBulkHashesResponse ¶
type InternalBulkHashesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ListRecordsResponse
}
func ParseInternalBulkHashesResponse ¶
func ParseInternalBulkHashesResponse(rsp *http.Response) (*InternalBulkHashesResponse, error)
ParseInternalBulkHashesResponse parses an HTTP response from a InternalBulkHashesWithResponse call
func (InternalBulkHashesResponse) Status ¶
func (r InternalBulkHashesResponse) Status() string
Status returns HTTPResponse.Status
func (InternalBulkHashesResponse) StatusCode ¶
func (r InternalBulkHashesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InternalBulkMissingSHA256JSONRequestBody ¶ added in v0.2.9
type InternalBulkMissingSHA256JSONRequestBody = BulkMissingSHA256Request
InternalBulkMissingSHA256JSONRequestBody defines body for InternalBulkMissingSHA256 for application/json ContentType.
type InternalBulkMissingSHA256Response ¶ added in v0.2.9
type InternalBulkMissingSHA256Response struct {
Body []byte
HTTPResponse *http.Response
JSON200 *BulkMissingSHA256Response
}
func ParseInternalBulkMissingSHA256Response ¶ added in v0.2.9
func ParseInternalBulkMissingSHA256Response(rsp *http.Response) (*InternalBulkMissingSHA256Response, error)
ParseInternalBulkMissingSHA256Response parses an HTTP response from a InternalBulkMissingSHA256WithResponse call
func (InternalBulkMissingSHA256Response) Status ¶ added in v0.2.9
func (r InternalBulkMissingSHA256Response) Status() string
Status returns HTTPResponse.Status
func (InternalBulkMissingSHA256Response) StatusCode ¶ added in v0.2.9
func (r InternalBulkMissingSHA256Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InternalBulkSHA256ValidityJSONRequestBody ¶
type InternalBulkSHA256ValidityJSONRequestBody = BulkSHA256ValidityRequest
InternalBulkSHA256ValidityJSONRequestBody defines body for InternalBulkSHA256Validity for application/json ContentType.
type InternalBulkSHA256ValidityResponse ¶
type InternalBulkSHA256ValidityResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *map[string]bool
}
func ParseInternalBulkSHA256ValidityResponse ¶
func ParseInternalBulkSHA256ValidityResponse(rsp *http.Response) (*InternalBulkSHA256ValidityResponse, error)
ParseInternalBulkSHA256ValidityResponse parses an HTTP response from a InternalBulkSHA256ValidityWithResponse call
func (InternalBulkSHA256ValidityResponse) Status ¶
func (r InternalBulkSHA256ValidityResponse) Status() string
Status returns HTTPResponse.Status
func (InternalBulkSHA256ValidityResponse) StatusCode ¶
func (r InternalBulkSHA256ValidityResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InternalCreateJSONRequestBody ¶
type InternalCreateJSONRequestBody = InternalRecord
InternalCreateJSONRequestBody defines body for InternalCreate for application/json ContentType.
type InternalCreateResponse ¶
type InternalCreateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *InternalRecordResponse
}
func ParseInternalCreateResponse ¶
func ParseInternalCreateResponse(rsp *http.Response) (*InternalCreateResponse, error)
ParseInternalCreateResponse parses an HTTP response from a InternalCreateWithResponse call
func (InternalCreateResponse) Status ¶
func (r InternalCreateResponse) Status() string
Status returns HTTPResponse.Status
func (InternalCreateResponse) StatusCode ¶
func (r InternalCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InternalDeleteByQueryParams ¶
type InternalDeleteByQueryParams struct {
Organization *string `form:"organization,omitempty" json:"organization,omitempty"`
Program *string `form:"program,omitempty" json:"program,omitempty"`
Project *string `form:"project,omitempty" json:"project,omitempty"`
Hash *string `form:"hash,omitempty" json:"hash,omitempty"`
HashType *string `form:"hash_type,omitempty" json:"hash_type,omitempty"`
}
InternalDeleteByQueryParams defines parameters for InternalDeleteByQuery.
type InternalDeleteByQueryResponse ¶
type InternalDeleteByQueryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DeleteByQueryResponse
}
func ParseInternalDeleteByQueryResponse ¶
func ParseInternalDeleteByQueryResponse(rsp *http.Response) (*InternalDeleteByQueryResponse, error)
ParseInternalDeleteByQueryResponse parses an HTTP response from a InternalDeleteByQueryWithResponse call
func (InternalDeleteByQueryResponse) Status ¶
func (r InternalDeleteByQueryResponse) Status() string
Status returns HTTPResponse.Status
func (InternalDeleteByQueryResponse) StatusCode ¶
func (r InternalDeleteByQueryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InternalDeleteResponse ¶
func ParseInternalDeleteResponse ¶
func ParseInternalDeleteResponse(rsp *http.Response) (*InternalDeleteResponse, error)
ParseInternalDeleteResponse parses an HTTP response from a InternalDeleteWithResponse call
func (InternalDeleteResponse) Status ¶
func (r InternalDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (InternalDeleteResponse) StatusCode ¶
func (r InternalDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InternalDownloadParams ¶
type InternalDownloadParams struct {
Redirect *bool `form:"redirect,omitempty" json:"redirect,omitempty"`
ExpiresIn *int `form:"expires_in,omitempty" json:"expires_in,omitempty"`
}
InternalDownloadParams defines parameters for InternalDownload.
type InternalDownloadPartParams ¶
type InternalDownloadPartParams struct {
Start int64 `form:"start" json:"start"`
End int64 `form:"end" json:"end"`
}
InternalDownloadPartParams defines parameters for InternalDownloadPart.
type InternalDownloadPartResponse ¶
type InternalDownloadPartResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *InternalSignedURL
}
func ParseInternalDownloadPartResponse ¶
func ParseInternalDownloadPartResponse(rsp *http.Response) (*InternalDownloadPartResponse, error)
ParseInternalDownloadPartResponse parses an HTTP response from a InternalDownloadPartWithResponse call
func (InternalDownloadPartResponse) Status ¶
func (r InternalDownloadPartResponse) Status() string
Status returns HTTPResponse.Status
func (InternalDownloadPartResponse) StatusCode ¶
func (r InternalDownloadPartResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InternalDownloadResponse ¶
type InternalDownloadResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *InternalSignedURL
}
func ParseInternalDownloadResponse ¶
func ParseInternalDownloadResponse(rsp *http.Response) (*InternalDownloadResponse, error)
ParseInternalDownloadResponse parses an HTTP response from a InternalDownloadWithResponse call
func (InternalDownloadResponse) Status ¶
func (r InternalDownloadResponse) Status() string
Status returns HTTPResponse.Status
func (InternalDownloadResponse) StatusCode ¶
func (r InternalDownloadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InternalGetResponse ¶
type InternalGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *InternalRecordResponse
}
func ParseInternalGetResponse ¶
func ParseInternalGetResponse(rsp *http.Response) (*InternalGetResponse, error)
ParseInternalGetResponse parses an HTTP response from a InternalGetWithResponse call
func (InternalGetResponse) Status ¶
func (r InternalGetResponse) Status() string
Status returns HTTPResponse.Status
func (InternalGetResponse) StatusCode ¶
func (r InternalGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InternalInspectProjectBucketInventoryJSONRequestBody ¶ added in v0.2.9
type InternalInspectProjectBucketInventoryJSONRequestBody = InternalProjectBucketInventoryRequest
InternalInspectProjectBucketInventoryJSONRequestBody defines body for InternalInspectProjectBucketInventory for application/json ContentType.
type InternalInspectProjectBucketInventoryResponse ¶ added in v0.2.9
type InternalInspectProjectBucketInventoryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *InternalProjectBucketInventoryResponse
}
func ParseInternalInspectProjectBucketInventoryResponse ¶ added in v0.2.9
func ParseInternalInspectProjectBucketInventoryResponse(rsp *http.Response) (*InternalInspectProjectBucketInventoryResponse, error)
ParseInternalInspectProjectBucketInventoryResponse parses an HTTP response from a InternalInspectProjectBucketInventoryWithResponse call
func (InternalInspectProjectBucketInventoryResponse) Status ¶ added in v0.2.9
func (r InternalInspectProjectBucketInventoryResponse) Status() string
Status returns HTTPResponse.Status
func (InternalInspectProjectBucketInventoryResponse) StatusCode ¶ added in v0.2.9
func (r InternalInspectProjectBucketInventoryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InternalInspectProjectScopesParams ¶ added in v0.2.9
type InternalInspectProjectScopesParams struct {
Organization string `form:"organization" json:"organization"`
Project string `form:"project" json:"project"`
}
InternalInspectProjectScopesParams defines parameters for InternalInspectProjectScopes.
type InternalInspectProjectScopesPostJSONRequestBody ¶ added in v0.2.9
type InternalInspectProjectScopesPostJSONRequestBody = InternalProjectScopesRequest
InternalInspectProjectScopesPostJSONRequestBody defines body for InternalInspectProjectScopesPost for application/json ContentType.
type InternalInspectProjectScopesPostResponse ¶ added in v0.2.9
type InternalInspectProjectScopesPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *InternalProjectScopesResponse
}
func ParseInternalInspectProjectScopesPostResponse ¶ added in v0.2.9
func ParseInternalInspectProjectScopesPostResponse(rsp *http.Response) (*InternalInspectProjectScopesPostResponse, error)
ParseInternalInspectProjectScopesPostResponse parses an HTTP response from a InternalInspectProjectScopesPostWithResponse call
func (InternalInspectProjectScopesPostResponse) Status ¶ added in v0.2.9
func (r InternalInspectProjectScopesPostResponse) Status() string
Status returns HTTPResponse.Status
func (InternalInspectProjectScopesPostResponse) StatusCode ¶ added in v0.2.9
func (r InternalInspectProjectScopesPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InternalInspectProjectScopesResponse ¶ added in v0.2.9
type InternalInspectProjectScopesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *InternalProjectScopesResponse
}
func ParseInternalInspectProjectScopesResponse ¶ added in v0.2.9
func ParseInternalInspectProjectScopesResponse(rsp *http.Response) (*InternalInspectProjectScopesResponse, error)
ParseInternalInspectProjectScopesResponse parses an HTTP response from a InternalInspectProjectScopesWithResponse call
func (InternalInspectProjectScopesResponse) Status ¶ added in v0.2.9
func (r InternalInspectProjectScopesResponse) Status() string
Status returns HTTPResponse.Status
func (InternalInspectProjectScopesResponse) StatusCode ¶ added in v0.2.9
func (r InternalInspectProjectScopesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InternalListParams ¶
type InternalListParams struct {
Hash *string `form:"hash,omitempty" json:"hash,omitempty"`
Url *string `form:"url,omitempty" json:"url,omitempty"`
Organization *string `form:"organization,omitempty" json:"organization,omitempty"`
Program *string `form:"program,omitempty" json:"program,omitempty"`
Project *string `form:"project,omitempty" json:"project,omitempty"`
Path *string `form:"path,omitempty" json:"path,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
Start *string `form:"start,omitempty" json:"start,omitempty"`
Page *int `form:"page,omitempty" json:"page,omitempty"`
}
InternalListParams defines parameters for InternalList.
type InternalListResponse ¶
type InternalListResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ListRecordsResponse
}
func ParseInternalListResponse ¶
func ParseInternalListResponse(rsp *http.Response) (*InternalListResponse, error)
ParseInternalListResponse parses an HTTP response from a InternalListWithResponse call
func (InternalListResponse) Status ¶
func (r InternalListResponse) Status() string
Status returns HTTPResponse.Status
func (InternalListResponse) StatusCode ¶
func (r InternalListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InternalMultipartCompleteJSONRequestBody ¶
type InternalMultipartCompleteJSONRequestBody = InternalMultipartCompleteRequest
InternalMultipartCompleteJSONRequestBody defines body for InternalMultipartComplete for application/json ContentType.
type InternalMultipartCompleteRequest ¶
type InternalMultipartCompleteRequest struct {
Bucket *string `json:"bucket,omitempty"`
Key string `json:"key"`
Parts []InternalMultipartPart `json:"parts"`
UploadId string `json:"uploadId"`
}
InternalMultipartCompleteRequest defines model for InternalMultipartCompleteRequest.
type InternalMultipartCompleteResponse ¶
func ParseInternalMultipartCompleteResponse ¶
func ParseInternalMultipartCompleteResponse(rsp *http.Response) (*InternalMultipartCompleteResponse, error)
ParseInternalMultipartCompleteResponse parses an HTTP response from a InternalMultipartCompleteWithResponse call
func (InternalMultipartCompleteResponse) Status ¶
func (r InternalMultipartCompleteResponse) Status() string
Status returns HTTPResponse.Status
func (InternalMultipartCompleteResponse) StatusCode ¶
func (r InternalMultipartCompleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InternalMultipartInitJSONRequestBody ¶
type InternalMultipartInitJSONRequestBody = InternalMultipartInitRequest
InternalMultipartInitJSONRequestBody defines body for InternalMultipartInit for application/json ContentType.
type InternalMultipartInitOutput ¶
type InternalMultipartInitOutput struct {
Guid *string `json:"guid,omitempty"`
UploadId *string `json:"uploadId,omitempty"`
}
InternalMultipartInitOutput defines model for InternalMultipartInitOutput.
type InternalMultipartInitRequest ¶
type InternalMultipartInitRequest struct {
Guid *string `json:"guid,omitempty"`
Key *string `json:"key,omitempty"`
Organization *string `json:"organization,omitempty"`
Project *string `json:"project,omitempty"`
}
InternalMultipartInitRequest defines model for InternalMultipartInitRequest.
type InternalMultipartInitResponse ¶
type InternalMultipartInitResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *InternalMultipartInitOutput
}
func ParseInternalMultipartInitResponse ¶
func ParseInternalMultipartInitResponse(rsp *http.Response) (*InternalMultipartInitResponse, error)
ParseInternalMultipartInitResponse parses an HTTP response from a InternalMultipartInitWithResponse call
func (InternalMultipartInitResponse) Status ¶
func (r InternalMultipartInitResponse) Status() string
Status returns HTTPResponse.Status
func (InternalMultipartInitResponse) StatusCode ¶
func (r InternalMultipartInitResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InternalMultipartPart ¶
type InternalMultipartPart struct {
ETag string `json:"ETag"`
PartNumber int32 `json:"PartNumber"`
}
InternalMultipartPart defines model for InternalMultipartPart.
type InternalMultipartUploadJSONRequestBody ¶
type InternalMultipartUploadJSONRequestBody = InternalMultipartUploadRequest
InternalMultipartUploadJSONRequestBody defines body for InternalMultipartUpload for application/json ContentType.
type InternalMultipartUploadOutput ¶
type InternalMultipartUploadOutput struct {
PresignedUrl *string `json:"presigned_url,omitempty"`
}
InternalMultipartUploadOutput defines model for InternalMultipartUploadOutput.
type InternalMultipartUploadRequest ¶
type InternalMultipartUploadRequest struct {
Bucket *string `json:"bucket,omitempty"`
Key string `json:"key"`
PartNumber int32 `json:"partNumber"`
UploadId string `json:"uploadId"`
}
InternalMultipartUploadRequest defines model for InternalMultipartUploadRequest.
type InternalMultipartUploadResponse ¶
type InternalMultipartUploadResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *InternalMultipartUploadOutput
}
func ParseInternalMultipartUploadResponse ¶
func ParseInternalMultipartUploadResponse(rsp *http.Response) (*InternalMultipartUploadResponse, error)
ParseInternalMultipartUploadResponse parses an HTTP response from a InternalMultipartUploadWithResponse call
func (InternalMultipartUploadResponse) Status ¶
func (r InternalMultipartUploadResponse) Status() string
Status returns HTTPResponse.Status
func (InternalMultipartUploadResponse) StatusCode ¶
func (r InternalMultipartUploadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InternalProjectBucketInventoryItem ¶ added in v0.2.9
type InternalProjectBucketInventoryItem struct {
Bucket *string `json:"bucket,omitempty"`
Etag *string `json:"etag,omitempty"`
Key *string `json:"key,omitempty"`
LastModified *string `json:"last_modified,omitempty"`
MetaSha256 *string `json:"meta_sha256,omitempty"`
ObjectUrl *string `json:"object_url,omitempty"`
Path *string `json:"path,omitempty"`
Provider *string `json:"provider,omitempty"`
SizeBytes *int64 `json:"size_bytes,omitempty"`
}
InternalProjectBucketInventoryItem defines model for InternalProjectBucketInventoryItem.
type InternalProjectBucketInventoryRequest ¶ added in v0.2.9
type InternalProjectBucketInventoryRequest struct {
Organization *string `json:"organization,omitempty"`
PathPrefix *string `json:"path_prefix,omitempty"`
Project *string `json:"project,omitempty"`
}
InternalProjectBucketInventoryRequest defines model for InternalProjectBucketInventoryRequest.
type InternalProjectBucketInventoryResponse ¶ added in v0.2.9
type InternalProjectBucketInventoryResponse struct {
Items *[]InternalProjectBucketInventoryItem `json:"items,omitempty"`
Summary *InternalProjectBucketInventorySummary `json:"summary,omitempty"`
}
InternalProjectBucketInventoryResponse defines model for InternalProjectBucketInventoryResponse.
type InternalProjectBucketInventorySummary ¶ added in v0.2.9
type InternalProjectBucketInventorySummary struct {
Bucket *string `json:"bucket,omitempty"`
ComputedAt *string `json:"computed_at,omitempty"`
Exists *bool `json:"exists,omitempty"`
Mode *string `json:"mode,omitempty"`
ObjectCount *int `json:"object_count,omitempty"`
ObjectUrl *string `json:"object_url,omitempty"`
Prefix *string `json:"prefix,omitempty"`
Provider *string `json:"provider,omitempty"`
TotalBytes *int64 `json:"total_bytes,omitempty"`
}
InternalProjectBucketInventorySummary defines model for InternalProjectBucketInventorySummary.
type InternalProjectScopeItem ¶ added in v0.2.9
type InternalProjectScopeItem struct {
Bucket *string `json:"bucket,omitempty"`
Organization *string `json:"organization,omitempty"`
Path *string `json:"path,omitempty"`
ProjectId *string `json:"project_id,omitempty"`
}
InternalProjectScopeItem defines model for InternalProjectScopeItem.
type InternalProjectScopesRequest ¶ added in v0.2.9
type InternalProjectScopesRequest struct {
Organization string `json:"organization"`
Project string `json:"project"`
}
InternalProjectScopesRequest defines model for InternalProjectScopesRequest.
type InternalProjectScopesResponse ¶ added in v0.2.9
type InternalProjectScopesResponse struct {
Items *[]InternalProjectScopeItem `json:"items,omitempty"`
}
InternalProjectScopesResponse defines model for InternalProjectScopesResponse.
type InternalRecord ¶
type InternalRecord struct {
AccessMethods *[]externalRef0.AccessMethod `json:"access_methods,omitempty"`
ControlledAccess *[]string `json:"controlled_access,omitempty"`
CreatedTime *string `json:"created_time,omitempty"`
Description *string `json:"description,omitempty"`
Did string `json:"did"`
// Hashes Hash map, e.g. {"sha256":"..."}
Hashes *HashInfo `json:"hashes,omitempty"`
Name *string `json:"name,omitempty"`
NameAliases *[]string `json:"name_aliases,omitempty"`
Organization *string `json:"organization,omitempty"`
Project *string `json:"project,omitempty"`
Size *int64 `json:"size,omitempty"`
UpdatedTime *string `json:"updated_time,omitempty"`
Version *string `json:"version,omitempty"`
}
InternalRecord defines model for InternalRecord.
type InternalRecordResponse ¶
type InternalRecordResponse struct {
AccessMethods *[]externalRef0.AccessMethod `json:"access_methods,omitempty"`
Baseid *string `json:"baseid,omitempty"`
ControlledAccess *[]string `json:"controlled_access,omitempty"`
CreatedDate *string `json:"created_date,omitempty"`
CreatedTime *string `json:"created_time,omitempty"`
Description *string `json:"description,omitempty"`
Did string `json:"did"`
// Hashes Hash map, e.g. {"sha256":"..."}
Hashes *HashInfo `json:"hashes,omitempty"`
Name *string `json:"name,omitempty"`
NameAliases *[]string `json:"name_aliases,omitempty"`
Organization *string `json:"organization,omitempty"`
Project *string `json:"project,omitempty"`
Rev *string `json:"rev,omitempty"`
Size *int64 `json:"size,omitempty"`
UpdatedDate *string `json:"updated_date,omitempty"`
UpdatedTime *string `json:"updated_time,omitempty"`
Uploader *string `json:"uploader,omitempty"`
Version *string `json:"version,omitempty"`
}
InternalRecordResponse defines model for InternalRecordResponse.
type InternalRemoveControlledAccessJSONRequestBody ¶ added in v0.2.7
type InternalRemoveControlledAccessJSONRequestBody = ControlledAccessRemoveRequest
InternalRemoveControlledAccessJSONRequestBody defines body for InternalRemoveControlledAccess for application/json ContentType.
type InternalRemoveControlledAccessResponse ¶ added in v0.2.7
type InternalRemoveControlledAccessResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *InternalRecordResponse
}
func ParseInternalRemoveControlledAccessResponse ¶ added in v0.2.7
func ParseInternalRemoveControlledAccessResponse(rsp *http.Response) (*InternalRemoveControlledAccessResponse, error)
ParseInternalRemoveControlledAccessResponse parses an HTTP response from a InternalRemoveControlledAccessWithResponse call
func (InternalRemoveControlledAccessResponse) Status ¶ added in v0.2.7
func (r InternalRemoveControlledAccessResponse) Status() string
Status returns HTTPResponse.Status
func (InternalRemoveControlledAccessResponse) StatusCode ¶ added in v0.2.7
func (r InternalRemoveControlledAccessResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InternalSignedURL ¶
type InternalSignedURL struct {
Url *string `json:"url,omitempty"`
}
InternalSignedURL defines model for InternalSignedURL.
type InternalUpdateJSONRequestBody ¶
type InternalUpdateJSONRequestBody = InternalRecord
InternalUpdateJSONRequestBody defines body for InternalUpdate for application/json ContentType.
type InternalUpdateResponse ¶
type InternalUpdateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *InternalRecordResponse
}
func ParseInternalUpdateResponse ¶
func ParseInternalUpdateResponse(rsp *http.Response) (*InternalUpdateResponse, error)
ParseInternalUpdateResponse parses an HTTP response from a InternalUpdateWithResponse call
func (InternalUpdateResponse) Status ¶
func (r InternalUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (InternalUpdateResponse) StatusCode ¶
func (r InternalUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InternalUploadBlankJSONRequestBody ¶
type InternalUploadBlankJSONRequestBody = InternalUploadBlankRequest
InternalUploadBlankJSONRequestBody defines body for InternalUploadBlank for application/json ContentType.
type InternalUploadBlankOutput ¶
type InternalUploadBlankOutput struct {
Bucket *string `json:"bucket,omitempty"`
Guid *string `json:"guid,omitempty"`
Url *string `json:"url,omitempty"`
}
InternalUploadBlankOutput defines model for InternalUploadBlankOutput.
type InternalUploadBlankRequest ¶
type InternalUploadBlankRequest struct {
Guid *string `json:"guid,omitempty"`
Organization *string `json:"organization,omitempty"`
Project *string `json:"project,omitempty"`
}
InternalUploadBlankRequest defines model for InternalUploadBlankRequest.
type InternalUploadBlankResponse ¶
type InternalUploadBlankResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *InternalUploadBlankOutput
}
func ParseInternalUploadBlankResponse ¶
func ParseInternalUploadBlankResponse(rsp *http.Response) (*InternalUploadBlankResponse, error)
ParseInternalUploadBlankResponse parses an HTTP response from a InternalUploadBlankWithResponse call
func (InternalUploadBlankResponse) Status ¶
func (r InternalUploadBlankResponse) Status() string
Status returns HTTPResponse.Status
func (InternalUploadBlankResponse) StatusCode ¶
func (r InternalUploadBlankResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InternalUploadBulkItem ¶
type InternalUploadBulkItem struct {
ExpiresIn *int32 `json:"expires_in,omitempty"`
FileId string `json:"file_id"`
Key *string `json:"key,omitempty"`
Organization *string `json:"organization,omitempty"`
Project *string `json:"project,omitempty"`
}
InternalUploadBulkItem defines model for InternalUploadBulkItem.
type InternalUploadBulkJSONRequestBody ¶
type InternalUploadBulkJSONRequestBody = InternalUploadBulkRequest
InternalUploadBulkJSONRequestBody defines body for InternalUploadBulk for application/json ContentType.
type InternalUploadBulkOutput ¶
type InternalUploadBulkOutput struct {
Results *[]InternalUploadBulkResult `json:"results,omitempty"`
}
InternalUploadBulkOutput defines model for InternalUploadBulkOutput.
type InternalUploadBulkRequest ¶
type InternalUploadBulkRequest struct {
Requests []InternalUploadBulkItem `json:"requests"`
}
InternalUploadBulkRequest defines model for InternalUploadBulkRequest.
type InternalUploadBulkResponse ¶
type InternalUploadBulkResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *InternalUploadBulkOutput
JSON207 *InternalUploadBulkOutput
}
func ParseInternalUploadBulkResponse ¶
func ParseInternalUploadBulkResponse(rsp *http.Response) (*InternalUploadBulkResponse, error)
ParseInternalUploadBulkResponse parses an HTTP response from a InternalUploadBulkWithResponse call
func (InternalUploadBulkResponse) Status ¶
func (r InternalUploadBulkResponse) Status() string
Status returns HTTPResponse.Status
func (InternalUploadBulkResponse) StatusCode ¶
func (r InternalUploadBulkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InternalUploadBulkResult ¶
type InternalUploadBulkResult struct {
Bucket *string `json:"bucket,omitempty"`
Error *string `json:"error,omitempty"`
FileId string `json:"file_id"`
Key *string `json:"key,omitempty"`
Status int32 `json:"status"`
Url *string `json:"url,omitempty"`
}
InternalUploadBulkResult defines model for InternalUploadBulkResult.
type InternalUploadURLParams ¶
type InternalUploadURLParams struct {
Organization *string `form:"organization,omitempty" json:"organization,omitempty"`
Project *string `form:"project,omitempty" json:"project,omitempty"`
Key *string `form:"key,omitempty" json:"key,omitempty"`
ExpiresIn *int32 `form:"expires_in,omitempty" json:"expires_in,omitempty"`
}
InternalUploadURLParams defines parameters for InternalUploadURL.
type InternalUploadURLResponse ¶
type InternalUploadURLResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *InternalSignedURL
}
func ParseInternalUploadURLResponse ¶
func ParseInternalUploadURLResponse(rsp *http.Response) (*InternalUploadURLResponse, error)
ParseInternalUploadURLResponse parses an HTTP response from a InternalUploadURLWithResponse call
func (InternalUploadURLResponse) Status ¶
func (r InternalUploadURLResponse) Status() string
Status returns HTTPResponse.Status
func (InternalUploadURLResponse) StatusCode ¶
func (r InternalUploadURLResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListRecordsResponse ¶
type ListRecordsResponse struct {
Records *[]InternalRecord `json:"records,omitempty"`
}
ListRecordsResponse defines model for ListRecordsResponse.