Documentation
¶
Overview ¶
Package api provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.
Index ¶
- func GetSpec() (swagger *openapi3.T, err error)
- func GetSpecJSON() ([]byte, error)
- func GetSwagger() (*openapi3.T, error)deprecated
- func Handler(si ServerInterface) http.Handler
- func HandlerFromMux(si ServerInterface, m ServeMux) http.Handler
- func HandlerFromMuxWithBaseURL(si ServerInterface, m ServeMux, baseURL string) http.Handler
- func HandlerWithOptions(si ServerInterface, options StdHTTPServerOptions) http.Handler
- func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)
- type ActionInput
- func (t ActionInput) AsArrImportInput() (ArrImportInput, error)
- func (t ActionInput) AsArrRegistrationInput() (ArrRegistrationInput, error)
- func (t ActionInput) AsClientRemoveInput() (ClientRemoveInput, error)
- func (t ActionInput) AsClientStopInput() (ClientStopInput, error)
- func (t ActionInput) AsDescriptorDeleteInput() (DescriptorDeleteInput, error)
- func (t ActionInput) AsFsCopyInput() (FsCopyInput, error)
- func (t ActionInput) AsFsDeleteInput() (FsDeleteInput, error)
- func (t ActionInput) AsFsHardlinkInput() (FsHardlinkInput, error)
- func (t ActionInput) AsFsMoveInput() (FsMoveInput, error)
- func (t ActionInput) AsFsRenameInput() (FsRenameInput, error)
- func (t ActionInput) AsFsRestoreInput() (FsRestoreInput, error)
- func (t ActionInput) AsFsTrashInput() (FsTrashInput, error)
- func (t ActionInput) AsJellyfinRefreshInput() (JellyfinRefreshInput, error)
- func (t ActionInput) Discriminator() (string, error)
- func (t *ActionInput) FromArrImportInput(v ArrImportInput) error
- func (t *ActionInput) FromArrRegistrationInput(v ArrRegistrationInput) error
- func (t *ActionInput) FromClientRemoveInput(v ClientRemoveInput) error
- func (t *ActionInput) FromClientStopInput(v ClientStopInput) error
- func (t *ActionInput) FromDescriptorDeleteInput(v DescriptorDeleteInput) error
- func (t *ActionInput) FromFsCopyInput(v FsCopyInput) error
- func (t *ActionInput) FromFsDeleteInput(v FsDeleteInput) error
- func (t *ActionInput) FromFsHardlinkInput(v FsHardlinkInput) error
- func (t *ActionInput) FromFsMoveInput(v FsMoveInput) error
- func (t *ActionInput) FromFsRenameInput(v FsRenameInput) error
- func (t *ActionInput) FromFsRestoreInput(v FsRestoreInput) error
- func (t *ActionInput) FromFsTrashInput(v FsTrashInput) error
- func (t *ActionInput) FromJellyfinRefreshInput(v JellyfinRefreshInput) error
- func (t ActionInput) MarshalJSON() ([]byte, error)
- func (t *ActionInput) MergeArrImportInput(v ArrImportInput) error
- func (t *ActionInput) MergeArrRegistrationInput(v ArrRegistrationInput) error
- func (t *ActionInput) MergeClientRemoveInput(v ClientRemoveInput) error
- func (t *ActionInput) MergeClientStopInput(v ClientStopInput) error
- func (t *ActionInput) MergeDescriptorDeleteInput(v DescriptorDeleteInput) error
- func (t *ActionInput) MergeFsCopyInput(v FsCopyInput) error
- func (t *ActionInput) MergeFsDeleteInput(v FsDeleteInput) error
- func (t *ActionInput) MergeFsHardlinkInput(v FsHardlinkInput) error
- func (t *ActionInput) MergeFsMoveInput(v FsMoveInput) error
- func (t *ActionInput) MergeFsRenameInput(v FsRenameInput) error
- func (t *ActionInput) MergeFsRestoreInput(v FsRestoreInput) error
- func (t *ActionInput) MergeFsTrashInput(v FsTrashInput) error
- func (t *ActionInput) MergeJellyfinRefreshInput(v JellyfinRefreshInput) error
- func (t *ActionInput) UnmarshalJSON(b []byte) error
- func (t ActionInput) ValueByDiscriminator() (interface{}, error)
- type ActionPlan
- type ActionPlanCreate
- type ActionPlanId
- type ActionPlanList
- type ActionPlanRequiredApproval
- type ActionPlanStatus
- type ActionRun
- type ActionRunId
- type ActionRunList
- type ActionRunOutcome
- type ActionState
- type ApiKeyCredential
- type ApiKeyCredentialKind
- type ArrImportInput
- type ArrImportInputKind
- type ArrImportInputTransfer
- type ArrOptions
- type ArrOptionsKind
- type ArrRegistrationInput
- type ArrRegistrationInputKind
- type AsyncAccepted
- type AsyncState
- type Attempt
- type AttemptList
- type AttemptState
- type AuditEvent
- type AuditEventActor
- type AuditEventList
- type CancelActionRun202JSONResponse
- type CancelActionRun202ResponseHeaders
- type CancelActionRun404ApplicationProblemPlusJSONResponse
- type CancelActionRun409ApplicationProblemPlusJSONResponse
- type CancelActionRun429ApplicationProblemPlusJSONResponse
- type CancelActionRunJSONRequestBody
- type CancelActionRunParams
- type CancelActionRunRequestObject
- type CancelActionRunResponseObject
- type CancelScan202JSONResponse
- type CancelScan202ResponseHeaders
- type CancelScan404ApplicationProblemPlusJSONResponse
- type CancelScan409ApplicationProblemPlusJSONResponse
- type CancelScan429ApplicationProblemPlusJSONResponse
- type CancelScanParams
- type CancelScanRequestObject
- type CancelScanResponseObject
- type CancelWorkflowRun202JSONResponse
- type CancelWorkflowRun202ResponseHeaders
- type CancelWorkflowRun404ApplicationProblemPlusJSONResponse
- type CancelWorkflowRun409ApplicationProblemPlusJSONResponse
- type CancelWorkflowRun429ApplicationProblemPlusJSONResponse
- type CancelWorkflowRunJSONRequestBody
- type CancelWorkflowRunParams
- type CancelWorkflowRunRequestObject
- type CancelWorkflowRunResponseObject
- type Cancellation
- type CancellationCreate
- type CancellationState
- type CheckState
- type ClientRemoveInput
- type ClientRemoveInputKind
- type ClientRemoveInputRetainPayload
- type ClientStopInput
- type ClientStopInputKind
- type ConfigId
- type Configuration
- type ConfigurationKeySource
- type Connection
- type ConnectionCheck
- type ConnectionCheckCreate
- type ConnectionCheckId
- type ConnectionCheckList
- type ConnectionCreate
- type ConnectionCreateKind
- type ConnectionCredentialState
- type ConnectionFilter
- type ConnectionHealth
- type ConnectionId
- type ConnectionKind
- type ConnectionList
- type ConnectionOptions
- type ConnectionOptions_Options
- func (t ConnectionOptions_Options) AsArrOptions() (ArrOptions, error)
- func (t ConnectionOptions_Options) AsDownloadClientOptions() (DownloadClientOptions, error)
- func (t ConnectionOptions_Options) AsJellyfinOptions() (JellyfinOptions, error)
- func (t ConnectionOptions_Options) AsSeerrOptions() (SeerrOptions, error)
- func (t ConnectionOptions_Options) Discriminator() (string, error)
- func (t *ConnectionOptions_Options) FromArrOptions(v ArrOptions) error
- func (t *ConnectionOptions_Options) FromDownloadClientOptions(v DownloadClientOptions) error
- func (t *ConnectionOptions_Options) FromJellyfinOptions(v JellyfinOptions) error
- func (t *ConnectionOptions_Options) FromSeerrOptions(v SeerrOptions) error
- func (t ConnectionOptions_Options) MarshalJSON() ([]byte, error)
- func (t *ConnectionOptions_Options) MergeArrOptions(v ArrOptions) error
- func (t *ConnectionOptions_Options) MergeDownloadClientOptions(v DownloadClientOptions) error
- func (t *ConnectionOptions_Options) MergeJellyfinOptions(v JellyfinOptions) error
- func (t *ConnectionOptions_Options) MergeSeerrOptions(v SeerrOptions) error
- func (t *ConnectionOptions_Options) UnmarshalJSON(b []byte) error
- func (t ConnectionOptions_Options) ValueByDiscriminator() (interface{}, error)
- type ConnectionPatch
- type Coverage
- type CoverageCompleteness
- type CreateActionPlan201JSONResponse
- type CreateActionPlan201ResponseHeaders
- type CreateActionPlan400ApplicationProblemPlusJSONResponse
- type CreateActionPlan409ApplicationProblemPlusJSONResponse
- type CreateActionPlan413ApplicationProblemPlusJSONResponse
- type CreateActionPlan422ApplicationProblemPlusJSONResponse
- type CreateActionPlan429ApplicationProblemPlusJSONResponse
- type CreateActionPlanJSONRequestBody
- type CreateActionPlanParams
- type CreateActionPlanRequestObject
- type CreateActionPlanResponseObject
- type CreateActionPlanRevision201JSONResponse
- type CreateActionPlanRevision201ResponseHeaders
- type CreateActionPlanRevision404ApplicationProblemPlusJSONResponse
- type CreateActionPlanRevision409ApplicationProblemPlusJSONResponse
- type CreateActionPlanRevision422ApplicationProblemPlusJSONResponse
- type CreateActionPlanRevision429ApplicationProblemPlusJSONResponse
- type CreateActionPlanRevisionJSONRequestBody
- type CreateActionPlanRevisionParams
- type CreateActionPlanRevisionRequestObject
- type CreateActionPlanRevisionResponseObject
- type CreateConnection201JSONResponse
- type CreateConnection201ResponseHeaders
- type CreateConnection400ApplicationProblemPlusJSONResponse
- type CreateConnection409ApplicationProblemPlusJSONResponse
- type CreateConnection422ApplicationProblemPlusJSONResponse
- type CreateConnection429ApplicationProblemPlusJSONResponse
- type CreateConnectionCheck202JSONResponse
- type CreateConnectionCheck202ResponseHeaders
- type CreateConnectionCheck400ApplicationProblemPlusJSONResponse
- type CreateConnectionCheck404ApplicationProblemPlusJSONResponse
- type CreateConnectionCheck409ApplicationProblemPlusJSONResponse
- type CreateConnectionCheck429ApplicationProblemPlusJSONResponse
- type CreateConnectionCheck503ApplicationProblemPlusJSONResponse
- type CreateConnectionCheckJSONRequestBody
- type CreateConnectionCheckParams
- type CreateConnectionCheckRequestObject
- type CreateConnectionCheckResponseObject
- type CreateConnectionJSONRequestBody
- type CreateConnectionParams
- type CreateConnectionRequestObject
- type CreateConnectionResponseObject
- type CreatePathMapping201JSONResponse
- type CreatePathMapping201ResponseHeaders
- type CreatePathMapping400ApplicationProblemPlusJSONResponse
- type CreatePathMapping409ApplicationProblemPlusJSONResponse
- type CreatePathMapping422ApplicationProblemPlusJSONResponse
- type CreatePathMapping429ApplicationProblemPlusJSONResponse
- type CreatePathMappingJSONRequestBody
- type CreatePathMappingParams
- type CreatePathMappingRequestObject
- type CreatePathMappingResponseObject
- type CreateReviewDecision202JSONResponse
- type CreateReviewDecision202ResponseHeaders
- type CreateReviewDecision400ApplicationProblemPlusJSONResponse
- type CreateReviewDecision409ApplicationProblemPlusJSONResponse
- type CreateReviewDecision422ApplicationProblemPlusJSONResponse
- type CreateReviewDecision429ApplicationProblemPlusJSONResponse
- type CreateReviewDecisionJSONRequestBody
- type CreateReviewDecisionParams
- type CreateReviewDecisionRequestObject
- type CreateReviewDecisionResponseObject
- type CreateScan202JSONResponse
- type CreateScan202ResponseHeaders
- type CreateScan400ApplicationProblemPlusJSONResponse
- type CreateScan409ApplicationProblemPlusJSONResponse
- type CreateScan429ApplicationProblemPlusJSONResponse
- type CreateScanJSONRequestBody
- type CreateScanParams
- type CreateScanRequestObject
- type CreateScanResponseObject
- type CreateStorageRoot201JSONResponse
- type CreateStorageRoot201ResponseHeaders
- type CreateStorageRoot400ApplicationProblemPlusJSONResponse
- type CreateStorageRoot409ApplicationProblemPlusJSONResponse
- type CreateStorageRoot422ApplicationProblemPlusJSONResponse
- type CreateStorageRoot429ApplicationProblemPlusJSONResponse
- type CreateStorageRootJSONRequestBody
- type CreateStorageRootParams
- type CreateStorageRootRequestObject
- type CreateStorageRootResponseObject
- type CreateWorkflowRun202JSONResponse
- type CreateWorkflowRun202ResponseHeaders
- type CreateWorkflowRun400ApplicationProblemPlusJSONResponse
- type CreateWorkflowRun409ApplicationProblemPlusJSONResponse
- type CreateWorkflowRun422ApplicationProblemPlusJSONResponse
- type CreateWorkflowRun429ApplicationProblemPlusJSONResponse
- type CreateWorkflowRunJSONRequestBody
- type CreateWorkflowRunParams
- type CreateWorkflowRunRequestObject
- type CreateWorkflowRunResponseObject
- type CredentialInput
- func (t CredentialInput) AsApiKeyCredential() (ApiKeyCredential, error)
- func (t CredentialInput) AsTokenCredential() (TokenCredential, error)
- func (t CredentialInput) AsUsernamePasswordCredential() (UsernamePasswordCredential, error)
- func (t CredentialInput) Discriminator() (string, error)
- func (t *CredentialInput) FromApiKeyCredential(v ApiKeyCredential) error
- func (t *CredentialInput) FromTokenCredential(v TokenCredential) error
- func (t *CredentialInput) FromUsernamePasswordCredential(v UsernamePasswordCredential) error
- func (t CredentialInput) MarshalJSON() ([]byte, error)
- func (t *CredentialInput) MergeApiKeyCredential(v ApiKeyCredential) error
- func (t *CredentialInput) MergeTokenCredential(v TokenCredential) error
- func (t *CredentialInput) MergeUsernamePasswordCredential(v UsernamePasswordCredential) error
- func (t *CredentialInput) UnmarshalJSON(b []byte) error
- func (t CredentialInput) ValueByDiscriminator() (interface{}, error)
- type Cursor
- type Descriptor
- type DescriptorAvailability
- type DescriptorDeleteInput
- type DescriptorDeleteInputIrreversibleAcknowledgement
- type DescriptorDeleteInputKind
- type DescriptorId
- type DescriptorList
- type DescriptorType
- type Discovery
- type DiscoveryId
- type DiscoveryList
- type DiscoveryReadiness
- type Download
- type DownloadClientOptions
- type DownloadClientOptionsKind
- type DownloadId
- type DownloadList
- type DownloadState
- type FieldError
- type FileManifestEntry
- type FileManifestEntryRole
- type FileManifestEntryType
- type FileMap
- type FileTarget
- type FsCopyInput
- type FsCopyInputKind
- type FsDeleteInput
- type FsDeleteInputIrreversibleAcknowledgement
- type FsDeleteInputKind
- type FsDeleteInputPermanent
- type FsHardlinkInput
- type FsHardlinkInputKind
- type FsMoveInput
- type FsMoveInputExecutor
- type FsMoveInputKind
- type FsRenameInput
- type FsRenameInputExecutor
- type FsRenameInputKind
- type FsRestoreInput
- type FsRestoreInputKind
- type FsTrashInput
- type FsTrashInputKind
- type GetActionPlan200JSONResponse
- type GetActionPlan200ResponseHeaders
- type GetActionPlan404ApplicationProblemPlusJSONResponse
- type GetActionPlanRequestObject
- type GetActionPlanResponseObject
- type GetActionRun200JSONResponse
- type GetActionRun200ResponseHeaders
- type GetActionRun404ApplicationProblemPlusJSONResponse
- type GetActionRunRequestObject
- type GetActionRunResponseObject
- type GetConfiguration200JSONResponse
- type GetConfiguration200ResponseHeaders
- type GetConfigurationRequestObject
- type GetConfigurationResponseObject
- type GetConnection200JSONResponse
- type GetConnection200ResponseHeaders
- type GetConnection404ApplicationProblemPlusJSONResponse
- type GetConnectionCheck200JSONResponse
- type GetConnectionCheck200ResponseHeaders
- type GetConnectionCheck404ApplicationProblemPlusJSONResponse
- type GetConnectionCheckRequestObject
- type GetConnectionCheckResponseObject
- type GetConnectionOptions200JSONResponse
- type GetConnectionOptions200ResponseHeaders
- type GetConnectionOptions404ApplicationProblemPlusJSONResponse
- type GetConnectionOptions503ApplicationProblemPlusJSONResponse
- type GetConnectionOptionsRequestObject
- type GetConnectionOptionsResponseObject
- type GetConnectionRequestObject
- type GetConnectionResponseObject
- type GetDescriptor200JSONResponse
- type GetDescriptor200ResponseHeaders
- type GetDescriptor404ApplicationProblemPlusJSONResponse
- type GetDescriptorContent200ApplicationoctetStreamResponse
- type GetDescriptorContent200ResponseHeaders
- type GetDescriptorContent404ApplicationProblemPlusJSONResponse
- type GetDescriptorContentRequestObject
- type GetDescriptorContentResponseObject
- type GetDescriptorRequestObject
- type GetDescriptorResponseObject
- type GetDiscovery200JSONResponse
- type GetDiscovery200ResponseHeaders
- type GetDiscovery404ApplicationProblemPlusJSONResponse
- type GetDiscoveryRequestObject
- type GetDiscoveryResponseObject
- type GetDownload200JSONResponse
- type GetDownload200ResponseHeaders
- type GetDownload404ApplicationProblemPlusJSONResponse
- type GetDownloadRequestObject
- type GetDownloadResponseObject
- type GetLiveHealth200JSONResponse
- type GetLiveHealthRequestObject
- type GetLiveHealthResponseObject
- type GetMedia200JSONResponse
- type GetMedia200ResponseHeaders
- type GetMedia404ApplicationProblemPlusJSONResponse
- type GetMediaRequestObject
- type GetMediaResponseObject
- type GetPathMapping200JSONResponse
- type GetPathMapping200ResponseHeaders
- type GetPathMapping404ApplicationProblemPlusJSONResponse
- type GetPathMappingRequestObject
- type GetPathMappingResponseObject
- type GetReadyHealth200JSONResponse
- type GetReadyHealth503ApplicationProblemPlusJSONResponse
- type GetReadyHealthRequestObject
- type GetReadyHealthResponseObject
- type GetReviewDecision200JSONResponse
- type GetReviewDecision200ResponseHeaders
- type GetReviewDecision404ApplicationProblemPlusJSONResponse
- type GetReviewDecisionRequestObject
- type GetReviewDecisionResponseObject
- type GetScan200JSONResponse
- type GetScan200ResponseHeaders
- type GetScan404ApplicationProblemPlusJSONResponse
- type GetScanRequestObject
- type GetScanResponseObject
- type GetStorageRoot200JSONResponse
- type GetStorageRoot200ResponseHeaders
- type GetStorageRoot404ApplicationProblemPlusJSONResponse
- type GetStorageRootRequestObject
- type GetStorageRootResponseObject
- type GetTrash200JSONResponse
- type GetTrash200ResponseHeaders
- type GetTrash404ApplicationProblemPlusJSONResponse
- type GetTrashRequestObject
- type GetTrashResponseObject
- type GetWorkflowRun200JSONResponse
- type GetWorkflowRun200ResponseHeaders
- type GetWorkflowRun404ApplicationProblemPlusJSONResponse
- type GetWorkflowRunRequestObject
- type GetWorkflowRunResponseObject
- type Health
- type HealthStatus
- type Id
- type IdempotencyKey
- type IfMatch
- type ImportFile
- type InvalidParamFormatError
- type JellyfinItemRefreshInput
- type JellyfinItemRefreshInputKind
- type JellyfinItemRefreshInputScope
- type JellyfinLibraryRefreshInput
- type JellyfinLibraryRefreshInputKind
- type JellyfinLibraryRefreshInputScope
- type JellyfinOptions
- type JellyfinOptionsKind
- type JellyfinRefreshInput
- func (t JellyfinRefreshInput) AsJellyfinItemRefreshInput() (JellyfinItemRefreshInput, error)
- func (t JellyfinRefreshInput) AsJellyfinLibraryRefreshInput() (JellyfinLibraryRefreshInput, error)
- func (t *JellyfinRefreshInput) FromJellyfinItemRefreshInput(v JellyfinItemRefreshInput) error
- func (t *JellyfinRefreshInput) FromJellyfinLibraryRefreshInput(v JellyfinLibraryRefreshInput) error
- func (t JellyfinRefreshInput) MarshalJSON() ([]byte, error)
- func (t *JellyfinRefreshInput) MergeJellyfinItemRefreshInput(v JellyfinItemRefreshInput) error
- func (t *JellyfinRefreshInput) MergeJellyfinLibraryRefreshInput(v JellyfinLibraryRefreshInput) error
- func (t *JellyfinRefreshInput) UnmarshalJSON(b []byte) error
- type Limit
- type ListActionAttempts200JSONResponse
- type ListActionAttempts200ResponseHeaders
- type ListActionAttempts404ApplicationProblemPlusJSONResponse
- type ListActionAttempts409ApplicationProblemPlusJSONResponse
- type ListActionAttemptsParams
- type ListActionAttemptsRequestObject
- type ListActionAttemptsResponseObject
- type ListActionPlans200JSONResponse
- type ListActionPlans200ResponseHeaders
- type ListActionPlans409ApplicationProblemPlusJSONResponse
- type ListActionPlansParams
- type ListActionPlansRequestObject
- type ListActionPlansResponseObject
- type ListActionRuns200JSONResponse
- type ListActionRuns200ResponseHeaders
- type ListActionRuns409ApplicationProblemPlusJSONResponse
- type ListActionRunsParams
- type ListActionRunsRequestObject
- type ListActionRunsResponseObject
- type ListAuditEvents200JSONResponse
- type ListAuditEvents200ResponseHeaders
- type ListAuditEvents409ApplicationProblemPlusJSONResponse
- type ListAuditEventsParams
- type ListAuditEventsRequestObject
- type ListAuditEventsResponseObject
- type ListConnectionChecks200JSONResponse
- type ListConnectionChecks200ResponseHeaders
- type ListConnectionChecks409ApplicationProblemPlusJSONResponse
- type ListConnectionChecksParams
- type ListConnectionChecksRequestObject
- type ListConnectionChecksResponseObject
- type ListConnections200JSONResponse
- type ListConnections200ResponseHeaders
- type ListConnections409ApplicationProblemPlusJSONResponse
- type ListConnectionsParams
- type ListConnectionsRequestObject
- type ListConnectionsResponseObject
- type ListDescriptors200JSONResponse
- type ListDescriptors200ResponseHeaders
- type ListDescriptors409ApplicationProblemPlusJSONResponse
- type ListDescriptorsParams
- type ListDescriptorsRequestObject
- type ListDescriptorsResponseObject
- type ListDiscoveries200JSONResponse
- type ListDiscoveries200ResponseHeaders
- type ListDiscoveries409ApplicationProblemPlusJSONResponse
- type ListDiscoveriesParams
- type ListDiscoveriesRequestObject
- type ListDiscoveriesResponseObject
- type ListDownloads200JSONResponse
- type ListDownloads200ResponseHeaders
- type ListDownloads409ApplicationProblemPlusJSONResponse
- type ListDownloadsParams
- type ListDownloadsRequestObject
- type ListDownloadsResponseObject
- type ListMedia200JSONResponse
- type ListMedia200ResponseHeaders
- type ListMedia409ApplicationProblemPlusJSONResponse
- type ListMediaParams
- type ListMediaRequestObject
- type ListMediaResponseObject
- type ListMetadataCandidates200JSONResponse
- type ListMetadataCandidates200ResponseHeaders
- type ListMetadataCandidates400ApplicationProblemPlusJSONResponse
- type ListMetadataCandidates404ApplicationProblemPlusJSONResponse
- type ListMetadataCandidates409ApplicationProblemPlusJSONResponse
- type ListMetadataCandidates503ApplicationProblemPlusJSONResponse
- type ListMetadataCandidatesParams
- type ListMetadataCandidatesRequestObject
- type ListMetadataCandidatesResponseObject
- type ListPathMappings200JSONResponse
- type ListPathMappings200ResponseHeaders
- type ListPathMappings409ApplicationProblemPlusJSONResponse
- type ListPathMappingsParams
- type ListPathMappingsRequestObject
- type ListPathMappingsResponseObject
- type ListScans200JSONResponse
- type ListScans200ResponseHeaders
- type ListScans409ApplicationProblemPlusJSONResponse
- type ListScansParams
- type ListScansRequestObject
- type ListScansResponseObject
- type ListStorageRoots200JSONResponse
- type ListStorageRoots200ResponseHeaders
- type ListStorageRoots409ApplicationProblemPlusJSONResponse
- type ListStorageRootsParams
- type ListStorageRootsRequestObject
- type ListStorageRootsResponseObject
- type ListTrash200JSONResponse
- type ListTrash200ResponseHeaders
- type ListTrash409ApplicationProblemPlusJSONResponse
- type ListTrashParams
- type ListTrashRequestObject
- type ListTrashResponseObject
- type ListWorkflowRuns200JSONResponse
- type ListWorkflowRuns200ResponseHeaders
- type ListWorkflowRuns409ApplicationProblemPlusJSONResponse
- type ListWorkflowRunsParams
- type ListWorkflowRunsRequestObject
- type ListWorkflowRunsResponseObject
- type Media
- type MediaId
- type MediaKind
- type MediaKindFilter
- type MediaList
- type MetadataCandidate
- type MetadataCandidateList
- type MiddlewareFunc
- type NullableTimestamp
- type OptionItem
- type Page
- type PatchConnection200JSONResponse
- type PatchConnection200ResponseHeaders
- type PatchConnection400ApplicationProblemPlusJSONResponse
- type PatchConnection404ApplicationProblemPlusJSONResponse
- type PatchConnection409ApplicationProblemPlusJSONResponse
- type PatchConnection412ApplicationProblemPlusJSONResponse
- type PatchConnection428ApplicationProblemPlusJSONResponse
- type PatchConnectionJSONRequestBody
- type PatchConnectionParams
- type PatchConnectionRequestObject
- type PatchConnectionResponseObject
- type PatchPathMapping200JSONResponse
- type PatchPathMapping200ResponseHeaders
- type PatchPathMapping400ApplicationProblemPlusJSONResponse
- type PatchPathMapping404ApplicationProblemPlusJSONResponse
- type PatchPathMapping409ApplicationProblemPlusJSONResponse
- type PatchPathMapping412ApplicationProblemPlusJSONResponse
- type PatchPathMapping428ApplicationProblemPlusJSONResponse
- type PatchPathMappingJSONRequestBody
- type PatchPathMappingParams
- type PatchPathMappingRequestObject
- type PatchPathMappingResponseObject
- type PatchStorageRoot200JSONResponse
- type PatchStorageRoot200ResponseHeaders
- type PatchStorageRoot400ApplicationProblemPlusJSONResponse
- type PatchStorageRoot404ApplicationProblemPlusJSONResponse
- type PatchStorageRoot409ApplicationProblemPlusJSONResponse
- type PatchStorageRoot412ApplicationProblemPlusJSONResponse
- type PatchStorageRoot428ApplicationProblemPlusJSONResponse
- type PatchStorageRootJSONRequestBody
- type PatchStorageRootParams
- type PatchStorageRootRequestObject
- type PatchStorageRootResponseObject
- type PathMapping
- type PathMappingCreate
- type PathMappingId
- type PathMappingList
- type PathMappingPatch
- type Problem
- type Problem400
- type Problem400ApplicationProblemPlusJSONResponse
- type Problem404
- type Problem404ApplicationProblemPlusJSONResponse
- type Problem409
- type Problem409ApplicationProblemPlusJSONResponse
- type Problem412
- type Problem412ApplicationProblemPlusJSONResponse
- type Problem413
- type Problem413ApplicationProblemPlusJSONResponse
- type Problem422
- type Problem422ApplicationProblemPlusJSONResponse
- type Problem428
- type Problem428ApplicationProblemPlusJSONResponse
- type Problem429
- type Problem429ApplicationProblemPlusJSONResponse
- type Problem429ResponseHeaders
- type Problem503
- type Problem503ApplicationProblemPlusJSONResponse
- type ProblemSnapshotExpired
- type ProblemSnapshotExpiredApplicationProblemPlusJSONResponse
- type Provenance
- type ReconciliationRequest
- type ReconciliationRequestScope
- type RequestActionReconciliation202JSONResponse
- type RequestActionReconciliation202ResponseHeaders
- type RequestActionReconciliation404ApplicationProblemPlusJSONResponse
- type RequestActionReconciliation409ApplicationProblemPlusJSONResponse
- type RequestActionReconciliation429ApplicationProblemPlusJSONResponse
- type RequestActionReconciliationJSONRequestBody
- type RequestActionReconciliationParams
- type RequestActionReconciliationRequestObject
- type RequestActionReconciliationResponseObject
- type RequestActionRetry202JSONResponse
- type RequestActionRetry202ResponseHeaders
- type RequestActionRetry404ApplicationProblemPlusJSONResponse
- type RequestActionRetry409ApplicationProblemPlusJSONResponse
- type RequestActionRetry429ApplicationProblemPlusJSONResponse
- type RequestActionRetryJSONRequestBody
- type RequestActionRetryParams
- type RequestActionRetryRequestObject
- type RequestActionRetryResponseObject
- type RequiredHeaderError
- type RequiredParamError
- type RetireConnection204Response
- type RetireConnection404ApplicationProblemPlusJSONResponse
- type RetireConnection409ApplicationProblemPlusJSONResponse
- type RetireConnection412ApplicationProblemPlusJSONResponse
- type RetireConnection428ApplicationProblemPlusJSONResponse
- type RetireConnectionParams
- type RetireConnectionRequestObject
- type RetireConnectionResponseObject
- type RetirePathMapping204Response
- type RetirePathMapping404ApplicationProblemPlusJSONResponse
- type RetirePathMapping409ApplicationProblemPlusJSONResponse
- type RetirePathMapping412ApplicationProblemPlusJSONResponse
- type RetirePathMapping428ApplicationProblemPlusJSONResponse
- type RetirePathMappingParams
- type RetirePathMappingRequestObject
- type RetirePathMappingResponseObject
- type RetireStorageRoot204Response
- type RetireStorageRoot404ApplicationProblemPlusJSONResponse
- type RetireStorageRoot409ApplicationProblemPlusJSONResponse
- type RetireStorageRoot412ApplicationProblemPlusJSONResponse
- type RetireStorageRoot428ApplicationProblemPlusJSONResponse
- type RetireStorageRootParams
- type RetireStorageRootRequestObject
- type RetireStorageRootResponseObject
- type RetryPolicy
- type RetryRequest
- type ReviewDecision
- type ReviewDecisionActor
- type ReviewDecisionCreate
- type ReviewDecisionCreateDecision
- type ReviewDecisionDecision
- type ReviewDecisionId
- type RootFilter
- type RuntimeId
- type Scan
- type ScanCreate
- type ScanCreateScope
- type ScanId
- type ScanList
- type ScanState
- type SeerrOptions
- type SeerrOptionsKind
- type ServeMux
- type ServerInterface
- type ServerInterfaceWrapper
- func (siw *ServerInterfaceWrapper) CancelActionRun(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CancelScan(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CancelWorkflowRun(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateActionPlan(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateActionPlanRevision(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateConnection(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateConnectionCheck(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreatePathMapping(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateReviewDecision(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateScan(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateStorageRoot(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateWorkflowRun(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetActionPlan(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetActionRun(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetConfiguration(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetConnection(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetConnectionCheck(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetConnectionOptions(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetDescriptor(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetDescriptorContent(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetDiscovery(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetDownload(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetLiveHealth(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetMedia(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetPathMapping(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetReadyHealth(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetReviewDecision(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetScan(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetStorageRoot(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetTrash(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetWorkflowRun(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListActionAttempts(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListActionPlans(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListActionRuns(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListAuditEvents(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListConnectionChecks(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListConnections(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListDescriptors(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListDiscoveries(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListDownloads(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListMedia(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListMetadataCandidates(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListPathMappings(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListScans(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListStorageRoots(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListTrash(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListWorkflowRuns(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PatchConnection(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PatchPathMapping(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PatchStorageRoot(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RequestActionReconciliation(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RequestActionRetry(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RetireConnection(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RetirePathMapping(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RetireStorageRoot(w http.ResponseWriter, r *http.Request)
- type SourceMetadata
- type SourceMetadataReloadPolicy
- type SourceMetadataSource
- type StdHTTPServerOptions
- type StepState
- type StoragePurpose
- type StorageRoot
- type StorageRootCreate
- type StorageRootId
- type StorageRootList
- type StorageRootPatch
- type StorageRootPermission
- type StrictHTTPServerOptions
- type StrictHandlerFunc
- type StrictMiddlewareFunc
- type StrictServerInterface
- type Timestamp
- type TokenCredential
- type TokenCredentialKind
- type TooManyValuesForParamError
- type TrackingObservation
- type TrackingObservationDimension
- type TrackingObservationValue
- type TrashEntry
- type TrashEntryState
- type TrashId
- type TrashList
- type UnescapedCookieParamError
- type UnmarshalingParamError
- type UsernamePasswordCredential
- type UsernamePasswordCredentialKind
- type WatchSettings
- type WorkflowRun
- type WorkflowRunCreate
- type WorkflowRunId
- type WorkflowRunList
- type WorkflowState
- type WorkflowStep
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSpec ¶
GetSpec returns the OpenAPI specification corresponding to the generated code in this file. External references in the spec are resolved through PathToRawSpec; externally-referenced files must be embedded in their corresponding Go packages (via the import-mapping feature). URL-based external refs are not supported.
func GetSpecJSON ¶
GetSpecJSON returns the raw JSON bytes of the embedded OpenAPI specification: decompressed but not unmarshaled. External references are not resolved here; the bytes are the spec exactly as embedded by codegen. The result is cached at package init time, so repeated calls are cheap.
func GetSwagger
deprecated
func Handler ¶
func Handler(si ServerInterface) http.Handler
Handler creates http.Handler with routing matching OpenAPI spec.
func HandlerFromMux ¶
func HandlerFromMux(si ServerInterface, m ServeMux) http.Handler
HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.
func HandlerFromMuxWithBaseURL ¶
func HandlerFromMuxWithBaseURL(si ServerInterface, m ServeMux, baseURL string) http.Handler
func HandlerWithOptions ¶
func HandlerWithOptions(si ServerInterface, options StdHTTPServerOptions) http.Handler
HandlerWithOptions creates http.Handler with additional options
Types ¶
type ActionInput ¶
type ActionInput struct {
// contains filtered or unexported fields
}
ActionInput defines model for ActionInput.
func (ActionInput) AsArrImportInput ¶
func (t ActionInput) AsArrImportInput() (ArrImportInput, error)
AsArrImportInput returns the union data inside the ActionInput as a ArrImportInput
func (ActionInput) AsArrRegistrationInput ¶
func (t ActionInput) AsArrRegistrationInput() (ArrRegistrationInput, error)
AsArrRegistrationInput returns the union data inside the ActionInput as a ArrRegistrationInput
func (ActionInput) AsClientRemoveInput ¶
func (t ActionInput) AsClientRemoveInput() (ClientRemoveInput, error)
AsClientRemoveInput returns the union data inside the ActionInput as a ClientRemoveInput
func (ActionInput) AsClientStopInput ¶
func (t ActionInput) AsClientStopInput() (ClientStopInput, error)
AsClientStopInput returns the union data inside the ActionInput as a ClientStopInput
func (ActionInput) AsDescriptorDeleteInput ¶
func (t ActionInput) AsDescriptorDeleteInput() (DescriptorDeleteInput, error)
AsDescriptorDeleteInput returns the union data inside the ActionInput as a DescriptorDeleteInput
func (ActionInput) AsFsCopyInput ¶
func (t ActionInput) AsFsCopyInput() (FsCopyInput, error)
AsFsCopyInput returns the union data inside the ActionInput as a FsCopyInput
func (ActionInput) AsFsDeleteInput ¶
func (t ActionInput) AsFsDeleteInput() (FsDeleteInput, error)
AsFsDeleteInput returns the union data inside the ActionInput as a FsDeleteInput
func (ActionInput) AsFsHardlinkInput ¶
func (t ActionInput) AsFsHardlinkInput() (FsHardlinkInput, error)
AsFsHardlinkInput returns the union data inside the ActionInput as a FsHardlinkInput
func (ActionInput) AsFsMoveInput ¶
func (t ActionInput) AsFsMoveInput() (FsMoveInput, error)
AsFsMoveInput returns the union data inside the ActionInput as a FsMoveInput
func (ActionInput) AsFsRenameInput ¶
func (t ActionInput) AsFsRenameInput() (FsRenameInput, error)
AsFsRenameInput returns the union data inside the ActionInput as a FsRenameInput
func (ActionInput) AsFsRestoreInput ¶
func (t ActionInput) AsFsRestoreInput() (FsRestoreInput, error)
AsFsRestoreInput returns the union data inside the ActionInput as a FsRestoreInput
func (ActionInput) AsFsTrashInput ¶
func (t ActionInput) AsFsTrashInput() (FsTrashInput, error)
AsFsTrashInput returns the union data inside the ActionInput as a FsTrashInput
func (ActionInput) AsJellyfinRefreshInput ¶
func (t ActionInput) AsJellyfinRefreshInput() (JellyfinRefreshInput, error)
AsJellyfinRefreshInput returns the union data inside the ActionInput as a JellyfinRefreshInput
func (ActionInput) Discriminator ¶
func (t ActionInput) Discriminator() (string, error)
func (*ActionInput) FromArrImportInput ¶
func (t *ActionInput) FromArrImportInput(v ArrImportInput) error
FromArrImportInput overwrites any union data inside the ActionInput as the provided ArrImportInput
func (*ActionInput) FromArrRegistrationInput ¶
func (t *ActionInput) FromArrRegistrationInput(v ArrRegistrationInput) error
FromArrRegistrationInput overwrites any union data inside the ActionInput as the provided ArrRegistrationInput
func (*ActionInput) FromClientRemoveInput ¶
func (t *ActionInput) FromClientRemoveInput(v ClientRemoveInput) error
FromClientRemoveInput overwrites any union data inside the ActionInput as the provided ClientRemoveInput
func (*ActionInput) FromClientStopInput ¶
func (t *ActionInput) FromClientStopInput(v ClientStopInput) error
FromClientStopInput overwrites any union data inside the ActionInput as the provided ClientStopInput
func (*ActionInput) FromDescriptorDeleteInput ¶
func (t *ActionInput) FromDescriptorDeleteInput(v DescriptorDeleteInput) error
FromDescriptorDeleteInput overwrites any union data inside the ActionInput as the provided DescriptorDeleteInput
func (*ActionInput) FromFsCopyInput ¶
func (t *ActionInput) FromFsCopyInput(v FsCopyInput) error
FromFsCopyInput overwrites any union data inside the ActionInput as the provided FsCopyInput
func (*ActionInput) FromFsDeleteInput ¶
func (t *ActionInput) FromFsDeleteInput(v FsDeleteInput) error
FromFsDeleteInput overwrites any union data inside the ActionInput as the provided FsDeleteInput
func (*ActionInput) FromFsHardlinkInput ¶
func (t *ActionInput) FromFsHardlinkInput(v FsHardlinkInput) error
FromFsHardlinkInput overwrites any union data inside the ActionInput as the provided FsHardlinkInput
func (*ActionInput) FromFsMoveInput ¶
func (t *ActionInput) FromFsMoveInput(v FsMoveInput) error
FromFsMoveInput overwrites any union data inside the ActionInput as the provided FsMoveInput
func (*ActionInput) FromFsRenameInput ¶
func (t *ActionInput) FromFsRenameInput(v FsRenameInput) error
FromFsRenameInput overwrites any union data inside the ActionInput as the provided FsRenameInput
func (*ActionInput) FromFsRestoreInput ¶
func (t *ActionInput) FromFsRestoreInput(v FsRestoreInput) error
FromFsRestoreInput overwrites any union data inside the ActionInput as the provided FsRestoreInput
func (*ActionInput) FromFsTrashInput ¶
func (t *ActionInput) FromFsTrashInput(v FsTrashInput) error
FromFsTrashInput overwrites any union data inside the ActionInput as the provided FsTrashInput
func (*ActionInput) FromJellyfinRefreshInput ¶
func (t *ActionInput) FromJellyfinRefreshInput(v JellyfinRefreshInput) error
FromJellyfinRefreshInput overwrites any union data inside the ActionInput as the provided JellyfinRefreshInput
func (ActionInput) MarshalJSON ¶
func (t ActionInput) MarshalJSON() ([]byte, error)
func (*ActionInput) MergeArrImportInput ¶
func (t *ActionInput) MergeArrImportInput(v ArrImportInput) error
MergeArrImportInput performs a merge with any union data inside the ActionInput, using the provided ArrImportInput
func (*ActionInput) MergeArrRegistrationInput ¶
func (t *ActionInput) MergeArrRegistrationInput(v ArrRegistrationInput) error
MergeArrRegistrationInput performs a merge with any union data inside the ActionInput, using the provided ArrRegistrationInput
func (*ActionInput) MergeClientRemoveInput ¶
func (t *ActionInput) MergeClientRemoveInput(v ClientRemoveInput) error
MergeClientRemoveInput performs a merge with any union data inside the ActionInput, using the provided ClientRemoveInput
func (*ActionInput) MergeClientStopInput ¶
func (t *ActionInput) MergeClientStopInput(v ClientStopInput) error
MergeClientStopInput performs a merge with any union data inside the ActionInput, using the provided ClientStopInput
func (*ActionInput) MergeDescriptorDeleteInput ¶
func (t *ActionInput) MergeDescriptorDeleteInput(v DescriptorDeleteInput) error
MergeDescriptorDeleteInput performs a merge with any union data inside the ActionInput, using the provided DescriptorDeleteInput
func (*ActionInput) MergeFsCopyInput ¶
func (t *ActionInput) MergeFsCopyInput(v FsCopyInput) error
MergeFsCopyInput performs a merge with any union data inside the ActionInput, using the provided FsCopyInput
func (*ActionInput) MergeFsDeleteInput ¶
func (t *ActionInput) MergeFsDeleteInput(v FsDeleteInput) error
MergeFsDeleteInput performs a merge with any union data inside the ActionInput, using the provided FsDeleteInput
func (*ActionInput) MergeFsHardlinkInput ¶
func (t *ActionInput) MergeFsHardlinkInput(v FsHardlinkInput) error
MergeFsHardlinkInput performs a merge with any union data inside the ActionInput, using the provided FsHardlinkInput
func (*ActionInput) MergeFsMoveInput ¶
func (t *ActionInput) MergeFsMoveInput(v FsMoveInput) error
MergeFsMoveInput performs a merge with any union data inside the ActionInput, using the provided FsMoveInput
func (*ActionInput) MergeFsRenameInput ¶
func (t *ActionInput) MergeFsRenameInput(v FsRenameInput) error
MergeFsRenameInput performs a merge with any union data inside the ActionInput, using the provided FsRenameInput
func (*ActionInput) MergeFsRestoreInput ¶
func (t *ActionInput) MergeFsRestoreInput(v FsRestoreInput) error
MergeFsRestoreInput performs a merge with any union data inside the ActionInput, using the provided FsRestoreInput
func (*ActionInput) MergeFsTrashInput ¶
func (t *ActionInput) MergeFsTrashInput(v FsTrashInput) error
MergeFsTrashInput performs a merge with any union data inside the ActionInput, using the provided FsTrashInput
func (*ActionInput) MergeJellyfinRefreshInput ¶
func (t *ActionInput) MergeJellyfinRefreshInput(v JellyfinRefreshInput) error
MergeJellyfinRefreshInput performs a merge with any union data inside the ActionInput, using the provided JellyfinRefreshInput
func (*ActionInput) UnmarshalJSON ¶
func (t *ActionInput) UnmarshalJSON(b []byte) error
func (ActionInput) ValueByDiscriminator ¶
func (t ActionInput) ValueByDiscriminator() (interface{}, error)
type ActionPlan ¶
type ActionPlan struct {
Action ActionInput `json:"action"`
BlockingIssues *[]string `json:"blockingIssues,omitempty"`
Capabilities []string `json:"capabilities"`
Conflicts *[]string `json:"conflicts,omitempty"`
ConnectionRevisions *map[string]string `json:"connectionRevisions,omitempty"`
CreatedAt *Timestamp `json:"createdAt,omitempty"`
DesiredState map[string]interface{} `json:"desiredState"`
Digest string `json:"digest"`
EstimatedBytes *int `json:"estimatedBytes,omitempty"`
ExpiresAt *Timestamp `json:"expiresAt,omitempty"`
Id Id `json:"id"`
Impacts *[]string `json:"impacts,omitempty"`
Manifest []FileManifestEntry `json:"manifest"`
MappingRevisions *map[string]string `json:"mappingRevisions,omitempty"`
Preconditions []string `json:"preconditions"`
RequiredApproval ActionPlanRequiredApproval `json:"requiredApproval"`
Revision int `json:"revision"`
Status ActionPlanStatus `json:"status"`
}
ActionPlan defines model for ActionPlan.
type ActionPlanCreate ¶
type ActionPlanCreate struct {
Action ActionInput `json:"action"`
ExpiresInSeconds *int `json:"expiresInSeconds,omitempty"`
}
ActionPlanCreate defines model for ActionPlanCreate.
type ActionPlanList ¶
type ActionPlanList struct {
Items []ActionPlan `json:"items"`
Page Page `json:"page"`
}
ActionPlanList defines model for ActionPlanList.
type ActionPlanRequiredApproval ¶
type ActionPlanRequiredApproval string
ActionPlanRequiredApproval defines model for ActionPlan.RequiredApproval.
const ( Irreversible ActionPlanRequiredApproval = "irreversible" Review ActionPlanRequiredApproval = "review" )
Defines values for ActionPlanRequiredApproval.
func (ActionPlanRequiredApproval) Valid ¶
func (e ActionPlanRequiredApproval) Valid() bool
Valid indicates whether the value is a known member of the ActionPlanRequiredApproval enum.
type ActionPlanStatus ¶
type ActionPlanStatus string
ActionPlanStatus defines model for ActionPlan.Status.
const ( ActionPlanStatusExpired ActionPlanStatus = "expired" ActionPlanStatusInvalid ActionPlanStatus = "invalid" ActionPlanStatusPreparing ActionPlanStatus = "preparing" ActionPlanStatusReady ActionPlanStatus = "ready" )
Defines values for ActionPlanStatus.
func (ActionPlanStatus) Valid ¶
func (e ActionPlanStatus) Valid() bool
Valid indicates whether the value is a known member of the ActionPlanStatus enum.
type ActionRun ¶
type ActionRun struct {
Attempts int `json:"attempts"`
Cancellation *Cancellation `json:"cancellation,omitempty"`
DeadlineAt *Timestamp `json:"deadlineAt,omitempty"`
Effects []string `json:"effects"`
Id Id `json:"id"`
LastObservation *string `json:"lastObservation,omitempty"`
NextAttemptAt *Timestamp `json:"nextAttemptAt,omitempty"`
Outcome ActionRunOutcome `json:"outcome"`
PlanId Id `json:"planId"`
RetryPolicy RetryPolicy `json:"retryPolicy"`
RetryReason *string `json:"retryReason,omitempty"`
Revision int `json:"revision"`
State ActionState `json:"state"`
StepId *string `json:"stepId,omitempty"`
UnresolvedEffects []string `json:"unresolvedEffects"`
WorkflowRunId *Id `json:"workflowRunId,omitempty"`
}
ActionRun defines model for ActionRun.
type ActionRunList ¶
ActionRunList defines model for ActionRunList.
type ActionRunOutcome ¶
type ActionRunOutcome string
ActionRunOutcome defines model for ActionRun.Outcome.
const ( ActionRunOutcomeAlreadySatisfied ActionRunOutcome = "already_satisfied" ActionRunOutcomeApplied ActionRunOutcome = "applied" ActionRunOutcomeCancelled ActionRunOutcome = "cancelled" ActionRunOutcomeFailed ActionRunOutcome = "failed" ActionRunOutcomePending ActionRunOutcome = "pending" ActionRunOutcomeUnknown ActionRunOutcome = "unknown" )
Defines values for ActionRunOutcome.
func (ActionRunOutcome) Valid ¶
func (e ActionRunOutcome) Valid() bool
Valid indicates whether the value is a known member of the ActionRunOutcome enum.
type ActionState ¶
type ActionState string
ActionState defines model for ActionState.
const ( ActionStateCancelled ActionState = "cancelled" ActionStateDeadlineExceeded ActionState = "deadline_exceeded" ActionStateFailed ActionState = "failed" ActionStateNeedsReview ActionState = "needs_review" ActionStateQueued ActionState = "queued" ActionStateReconciling ActionState = "reconciling" ActionStateRunning ActionState = "running" ActionStateSucceeded ActionState = "succeeded" ActionStateWaitingDependency ActionState = "waiting_dependency" )
Defines values for ActionState.
func (ActionState) Valid ¶
func (e ActionState) Valid() bool
Valid indicates whether the value is a known member of the ActionState enum.
type ApiKeyCredential ¶
type ApiKeyCredential struct {
ApiKey *string `json:"apiKey,omitempty"`
Kind ApiKeyCredentialKind `json:"kind"`
}
ApiKeyCredential defines model for ApiKeyCredential.
type ApiKeyCredentialKind ¶
type ApiKeyCredentialKind string
ApiKeyCredentialKind defines model for ApiKeyCredential.Kind.
const (
ApiKey ApiKeyCredentialKind = "api_key"
)
Defines values for ApiKeyCredentialKind.
func (ApiKeyCredentialKind) Valid ¶
func (e ApiKeyCredentialKind) Valid() bool
Valid indicates whether the value is a known member of the ApiKeyCredentialKind enum.
type ArrImportInput ¶
type ArrImportInput struct {
ConnectionId ConfigId `json:"connectionId"`
Files []ImportFile `json:"files"`
Kind ArrImportInputKind `json:"kind"`
PreviewRevision string `json:"previewRevision"`
RegisteredExternalId string `json:"registeredExternalId"`
Transfer ArrImportInputTransfer `json:"transfer"`
}
ArrImportInput defines model for ArrImportInput.
type ArrImportInputKind ¶
type ArrImportInputKind string
ArrImportInputKind defines model for ArrImportInput.Kind.
const (
ArrImport ArrImportInputKind = "arr.import"
)
Defines values for ArrImportInputKind.
func (ArrImportInputKind) Valid ¶
func (e ArrImportInputKind) Valid() bool
Valid indicates whether the value is a known member of the ArrImportInputKind enum.
type ArrImportInputTransfer ¶
type ArrImportInputTransfer string
ArrImportInputTransfer defines model for ArrImportInput.Transfer.
const ( Copy ArrImportInputTransfer = "copy" Hardlink ArrImportInputTransfer = "hardlink" Move ArrImportInputTransfer = "move" )
Defines values for ArrImportInputTransfer.
func (ArrImportInputTransfer) Valid ¶
func (e ArrImportInputTransfer) Valid() bool
Valid indicates whether the value is a known member of the ArrImportInputTransfer enum.
type ArrOptions ¶
type ArrOptions struct {
Episodes []int `json:"episodes"`
Kind ArrOptionsKind `json:"kind"`
QualityProfiles []OptionItem `json:"qualityProfiles"`
RootFolders []string `json:"rootFolders"`
Seasons []int `json:"seasons"`
SeriesTypes []string `json:"seriesTypes"`
}
ArrOptions defines model for ArrOptions.
type ArrOptionsKind ¶
type ArrOptionsKind string
ArrOptionsKind defines model for ArrOptions.Kind.
const (
Arr ArrOptionsKind = "arr"
)
Defines values for ArrOptionsKind.
func (ArrOptionsKind) Valid ¶
func (e ArrOptionsKind) Valid() bool
Valid indicates whether the value is a known member of the ArrOptionsKind enum.
type ArrRegistrationInput ¶
type ArrRegistrationInput struct {
ConnectionId ConfigId `json:"connectionId"`
Fields struct {
Monitored *bool `json:"monitored,omitempty"`
QualityProfileId *int `json:"qualityProfileId,omitempty"`
RootFolder *string `json:"rootFolder,omitempty"`
SeasonFolder *bool `json:"seasonFolder,omitempty"`
Seasons *[]int `json:"seasons,omitempty"`
SeriesType *string `json:"seriesType,omitempty"`
} `json:"fields"`
Kind ArrRegistrationInputKind `json:"kind"`
MediaKind MediaKind `json:"mediaKind"`
ProviderId string `json:"providerId"`
}
ArrRegistrationInput defines model for ArrRegistrationInput.
type ArrRegistrationInputKind ¶
type ArrRegistrationInputKind string
ArrRegistrationInputKind defines model for ArrRegistrationInput.Kind.
const (
ArrRegistration ArrRegistrationInputKind = "arr.registration"
)
Defines values for ArrRegistrationInputKind.
func (ArrRegistrationInputKind) Valid ¶
func (e ArrRegistrationInputKind) Valid() bool
Valid indicates whether the value is a known member of the ArrRegistrationInputKind enum.
type AsyncAccepted ¶
type AsyncAccepted struct {
Id Id `json:"id"`
NextAttemptAt *Timestamp `json:"nextAttemptAt,omitempty"`
ParentId Id `json:"parentId"`
State AsyncState `json:"state"`
}
AsyncAccepted defines model for AsyncAccepted.
type AsyncState ¶
type AsyncState string
AsyncState defines model for AsyncState.
const ( AsyncStateCancelled AsyncState = "cancelled" AsyncStateDeadlineExceeded AsyncState = "deadline_exceeded" AsyncStateFailed AsyncState = "failed" AsyncStateQueued AsyncState = "queued" AsyncStateRunning AsyncState = "running" AsyncStateSucceeded AsyncState = "succeeded" )
Defines values for AsyncState.
func (AsyncState) Valid ¶
func (e AsyncState) Valid() bool
Valid indicates whether the value is a known member of the AsyncState enum.
type Attempt ¶
type Attempt struct {
ActionRunId Id `json:"actionRunId"`
Attempt int `json:"attempt"`
CompletedAt *Timestamp `json:"completedAt,omitempty"`
Evidence *[]string `json:"evidence,omitempty"`
Id Id `json:"id"`
Retryable *bool `json:"retryable,omitempty"`
SanitizedResult *string `json:"sanitizedResult,omitempty"`
StartedAt Timestamp `json:"startedAt"`
State AttemptState `json:"state"`
}
Attempt defines model for Attempt.
type AttemptList ¶
AttemptList defines model for AttemptList.
type AttemptState ¶
type AttemptState string
AttemptState defines model for AttemptState.
const ( AttemptStateCancelled AttemptState = "cancelled" AttemptStateFailed AttemptState = "failed" AttemptStateReconciling AttemptState = "reconciling" AttemptStateRunning AttemptState = "running" AttemptStateSucceeded AttemptState = "succeeded" )
Defines values for AttemptState.
func (AttemptState) Valid ¶
func (e AttemptState) Valid() bool
Valid indicates whether the value is a known member of the AttemptState enum.
type AuditEvent ¶
type AuditEvent struct {
Actor AuditEventActor `json:"actor"`
EffectCount *int `json:"effectCount,omitempty"`
Id Id `json:"id"`
OccurredAt Timestamp `json:"occurredAt"`
ResourceId *Id `json:"resourceId,omitempty"`
Summary *string `json:"summary,omitempty"`
Type string `json:"type"`
}
AuditEvent defines model for AuditEvent.
type AuditEventActor ¶
type AuditEventActor string
AuditEventActor defines model for AuditEvent.Actor.
const (
AuditEventActorUnauthenticated AuditEventActor = "unauthenticated"
)
Defines values for AuditEventActor.
func (AuditEventActor) Valid ¶
func (e AuditEventActor) Valid() bool
Valid indicates whether the value is a known member of the AuditEventActor enum.
type AuditEventList ¶
type AuditEventList struct {
Items []AuditEvent `json:"items"`
Page Page `json:"page"`
}
AuditEventList defines model for AuditEventList.
type CancelActionRun202JSONResponse ¶
type CancelActionRun202JSONResponse struct {
Body Cancellation
Headers CancelActionRun202ResponseHeaders
}
func (CancelActionRun202JSONResponse) VisitCancelActionRunResponse ¶
func (response CancelActionRun202JSONResponse) VisitCancelActionRunResponse(w http.ResponseWriter) error
type CancelActionRun404ApplicationProblemPlusJSONResponse ¶
type CancelActionRun404ApplicationProblemPlusJSONResponse struct {
Problem404ApplicationProblemPlusJSONResponse
}
func (CancelActionRun404ApplicationProblemPlusJSONResponse) VisitCancelActionRunResponse ¶
func (response CancelActionRun404ApplicationProblemPlusJSONResponse) VisitCancelActionRunResponse(w http.ResponseWriter) error
type CancelActionRun409ApplicationProblemPlusJSONResponse ¶
type CancelActionRun409ApplicationProblemPlusJSONResponse struct {
Problem409ApplicationProblemPlusJSONResponse
}
func (CancelActionRun409ApplicationProblemPlusJSONResponse) VisitCancelActionRunResponse ¶
func (response CancelActionRun409ApplicationProblemPlusJSONResponse) VisitCancelActionRunResponse(w http.ResponseWriter) error
type CancelActionRun429ApplicationProblemPlusJSONResponse ¶
type CancelActionRun429ApplicationProblemPlusJSONResponse struct {
Problem429ApplicationProblemPlusJSONResponse
}
func (CancelActionRun429ApplicationProblemPlusJSONResponse) VisitCancelActionRunResponse ¶
func (response CancelActionRun429ApplicationProblemPlusJSONResponse) VisitCancelActionRunResponse(w http.ResponseWriter) error
type CancelActionRunJSONRequestBody ¶
type CancelActionRunJSONRequestBody = CancellationCreate
CancelActionRunJSONRequestBody defines body for CancelActionRun for application/json ContentType.
type CancelActionRunParams ¶
type CancelActionRunParams struct {
IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}
CancelActionRunParams defines parameters for CancelActionRun.
type CancelActionRunRequestObject ¶
type CancelActionRunRequestObject struct {
ActionRunId ActionRunId `json:"actionRunId"`
Params CancelActionRunParams
Body *CancelActionRunJSONRequestBody
}
type CancelActionRunResponseObject ¶
type CancelActionRunResponseObject interface {
VisitCancelActionRunResponse(w http.ResponseWriter) error
}
type CancelScan202JSONResponse ¶
type CancelScan202JSONResponse struct {
Body Cancellation
Headers CancelScan202ResponseHeaders
}
func (CancelScan202JSONResponse) VisitCancelScanResponse ¶
func (response CancelScan202JSONResponse) VisitCancelScanResponse(w http.ResponseWriter) error
type CancelScan404ApplicationProblemPlusJSONResponse ¶
type CancelScan404ApplicationProblemPlusJSONResponse struct {
Problem404ApplicationProblemPlusJSONResponse
}
func (CancelScan404ApplicationProblemPlusJSONResponse) VisitCancelScanResponse ¶
func (response CancelScan404ApplicationProblemPlusJSONResponse) VisitCancelScanResponse(w http.ResponseWriter) error
type CancelScan409ApplicationProblemPlusJSONResponse ¶
type CancelScan409ApplicationProblemPlusJSONResponse struct {
Problem409ApplicationProblemPlusJSONResponse
}
func (CancelScan409ApplicationProblemPlusJSONResponse) VisitCancelScanResponse ¶
func (response CancelScan409ApplicationProblemPlusJSONResponse) VisitCancelScanResponse(w http.ResponseWriter) error
type CancelScan429ApplicationProblemPlusJSONResponse ¶
type CancelScan429ApplicationProblemPlusJSONResponse struct {
Problem429ApplicationProblemPlusJSONResponse
}
func (CancelScan429ApplicationProblemPlusJSONResponse) VisitCancelScanResponse ¶
func (response CancelScan429ApplicationProblemPlusJSONResponse) VisitCancelScanResponse(w http.ResponseWriter) error
type CancelScanParams ¶
type CancelScanParams struct {
IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}
CancelScanParams defines parameters for CancelScan.
type CancelScanRequestObject ¶
type CancelScanRequestObject struct {
ScanId ScanId `json:"scanId"`
Params CancelScanParams
}
type CancelScanResponseObject ¶
type CancelScanResponseObject interface {
VisitCancelScanResponse(w http.ResponseWriter) error
}
type CancelWorkflowRun202JSONResponse ¶
type CancelWorkflowRun202JSONResponse struct {
Body Cancellation
Headers CancelWorkflowRun202ResponseHeaders
}
func (CancelWorkflowRun202JSONResponse) VisitCancelWorkflowRunResponse ¶
func (response CancelWorkflowRun202JSONResponse) VisitCancelWorkflowRunResponse(w http.ResponseWriter) error
type CancelWorkflowRun404ApplicationProblemPlusJSONResponse ¶
type CancelWorkflowRun404ApplicationProblemPlusJSONResponse struct {
Problem404ApplicationProblemPlusJSONResponse
}
func (CancelWorkflowRun404ApplicationProblemPlusJSONResponse) VisitCancelWorkflowRunResponse ¶
func (response CancelWorkflowRun404ApplicationProblemPlusJSONResponse) VisitCancelWorkflowRunResponse(w http.ResponseWriter) error
type CancelWorkflowRun409ApplicationProblemPlusJSONResponse ¶
type CancelWorkflowRun409ApplicationProblemPlusJSONResponse struct {
Problem409ApplicationProblemPlusJSONResponse
}
func (CancelWorkflowRun409ApplicationProblemPlusJSONResponse) VisitCancelWorkflowRunResponse ¶
func (response CancelWorkflowRun409ApplicationProblemPlusJSONResponse) VisitCancelWorkflowRunResponse(w http.ResponseWriter) error
type CancelWorkflowRun429ApplicationProblemPlusJSONResponse ¶
type CancelWorkflowRun429ApplicationProblemPlusJSONResponse struct {
Problem429ApplicationProblemPlusJSONResponse
}
func (CancelWorkflowRun429ApplicationProblemPlusJSONResponse) VisitCancelWorkflowRunResponse ¶
func (response CancelWorkflowRun429ApplicationProblemPlusJSONResponse) VisitCancelWorkflowRunResponse(w http.ResponseWriter) error
type CancelWorkflowRunJSONRequestBody ¶
type CancelWorkflowRunJSONRequestBody = CancellationCreate
CancelWorkflowRunJSONRequestBody defines body for CancelWorkflowRun for application/json ContentType.
type CancelWorkflowRunParams ¶
type CancelWorkflowRunParams struct {
IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}
CancelWorkflowRunParams defines parameters for CancelWorkflowRun.
type CancelWorkflowRunRequestObject ¶
type CancelWorkflowRunRequestObject struct {
WorkflowRunId WorkflowRunId `json:"workflowRunId"`
Params CancelWorkflowRunParams
Body *CancelWorkflowRunJSONRequestBody
}
type CancelWorkflowRunResponseObject ¶
type CancelWorkflowRunResponseObject interface {
VisitCancelWorkflowRunResponse(w http.ResponseWriter) error
}
type Cancellation ¶
type Cancellation struct {
EffectiveAt *Timestamp `json:"effectiveAt,omitempty"`
Id Id `json:"id"`
ParentId Id `json:"parentId"`
Reason *string `json:"reason,omitempty"`
RequestedAt Timestamp `json:"requestedAt"`
State CancellationState `json:"state"`
}
Cancellation defines model for Cancellation.
type CancellationCreate ¶
type CancellationCreate struct {
Reason *string `json:"reason,omitempty"`
}
CancellationCreate defines model for CancellationCreate.
type CancellationState ¶
type CancellationState string
CancellationState defines model for Cancellation.State.
const ( Acknowledged CancellationState = "acknowledged" AlreadyTerminal CancellationState = "already_terminal" Effective CancellationState = "effective" Requested CancellationState = "requested" )
Defines values for CancellationState.
func (CancellationState) Valid ¶
func (e CancellationState) Valid() bool
Valid indicates whether the value is a known member of the CancellationState enum.
type CheckState ¶
type CheckState string
CheckState defines model for CheckState.
const ( CheckStateCancelled CheckState = "cancelled" CheckStateFailed CheckState = "failed" CheckStateQueued CheckState = "queued" CheckStateRunning CheckState = "running" CheckStateSucceeded CheckState = "succeeded" )
Defines values for CheckState.
func (CheckState) Valid ¶
func (e CheckState) Valid() bool
Valid indicates whether the value is a known member of the CheckState enum.
type ClientRemoveInput ¶
type ClientRemoveInput struct {
ClientItemIds []string `json:"clientItemIds"`
ConnectionId ConfigId `json:"connectionId"`
Kind ClientRemoveInputKind `json:"kind"`
RetainPayload ClientRemoveInputRetainPayload `json:"retainPayload"`
}
ClientRemoveInput defines model for ClientRemoveInput.
type ClientRemoveInputKind ¶
type ClientRemoveInputKind string
ClientRemoveInputKind defines model for ClientRemoveInput.Kind.
const (
ClientRemove ClientRemoveInputKind = "client.remove"
)
Defines values for ClientRemoveInputKind.
func (ClientRemoveInputKind) Valid ¶
func (e ClientRemoveInputKind) Valid() bool
Valid indicates whether the value is a known member of the ClientRemoveInputKind enum.
type ClientRemoveInputRetainPayload ¶
type ClientRemoveInputRetainPayload bool
ClientRemoveInputRetainPayload defines model for ClientRemoveInput.RetainPayload.
const (
ClientRemoveInputRetainPayloadTrue ClientRemoveInputRetainPayload = true
)
Defines values for ClientRemoveInputRetainPayload.
func (ClientRemoveInputRetainPayload) Valid ¶
func (e ClientRemoveInputRetainPayload) Valid() bool
Valid indicates whether the value is a known member of the ClientRemoveInputRetainPayload enum.
type ClientStopInput ¶
type ClientStopInput struct {
ClientItemIds []string `json:"clientItemIds"`
ConnectionId ConfigId `json:"connectionId"`
Kind ClientStopInputKind `json:"kind"`
}
ClientStopInput defines model for ClientStopInput.
type ClientStopInputKind ¶
type ClientStopInputKind string
ClientStopInputKind defines model for ClientStopInput.Kind.
const (
ClientStop ClientStopInputKind = "client.stop"
)
Defines values for ClientStopInputKind.
func (ClientStopInputKind) Valid ¶
func (e ClientStopInputKind) Valid() bool
Valid indicates whether the value is a known member of the ClientStopInputKind enum.
type Configuration ¶
type Configuration struct {
Connections []Connection `json:"connections"`
KeyPath *string `json:"keyPath,omitempty"`
KeySource ConfigurationKeySource `json:"keySource"`
PathMappings []PathMapping `json:"pathMappings"`
RestartRequired *bool `json:"restartRequired,omitempty"`
Source SourceMetadata `json:"source"`
StorageRoots []StorageRoot `json:"storageRoots"`
}
Configuration defines model for Configuration.
type ConfigurationKeySource ¶
type ConfigurationKeySource string
ConfigurationKeySource defines model for Configuration.KeySource.
const ( Environment ConfigurationKeySource = "environment" GeneratedPersistent ConfigurationKeySource = "generated_persistent" SecretFile ConfigurationKeySource = "secret_file" )
Defines values for ConfigurationKeySource.
func (ConfigurationKeySource) Valid ¶
func (e ConfigurationKeySource) Valid() bool
Valid indicates whether the value is a known member of the ConfigurationKeySource enum.
type Connection ¶
type Connection struct {
Capabilities *[]string `json:"capabilities,omitempty"`
CredentialState ConnectionCredentialState `json:"credentialState"`
Endpoint string `json:"endpoint"`
Health ConnectionHealth `json:"health"`
Id ConfigId `json:"id"`
Kind ConnectionKind `json:"kind"`
Label string `json:"label"`
ObservedVersion *string `json:"observedVersion,omitempty"`
RetiredAt *Timestamp `json:"retiredAt,omitempty"`
Revision string `json:"revision"`
Source SourceMetadata `json:"source"`
}
Connection defines model for Connection.
type ConnectionCheck ¶
type ConnectionCheck struct {
Capabilities *[]string `json:"capabilities,omitempty"`
CompletedAt *Timestamp `json:"completedAt,omitempty"`
ConnectionId ConfigId `json:"connectionId"`
CreatedAt Timestamp `json:"createdAt"`
Id Id `json:"id"`
SanitizedError *string `json:"sanitizedError,omitempty"`
State CheckState `json:"state"`
}
ConnectionCheck defines model for ConnectionCheck.
type ConnectionCheckCreate ¶
type ConnectionCheckCreate struct {
ConnectionId ConfigId `json:"connectionId"`
}
ConnectionCheckCreate defines model for ConnectionCheckCreate.
type ConnectionCheckId ¶
type ConnectionCheckId = Id
ConnectionCheckId defines model for ConnectionCheckId.
type ConnectionCheckList ¶
type ConnectionCheckList struct {
Items []ConnectionCheck `json:"items"`
Page Page `json:"page"`
}
ConnectionCheckList defines model for ConnectionCheckList.
type ConnectionCreate ¶
type ConnectionCreate struct {
Credentials *CredentialInput `json:"credentials,omitempty"`
Endpoint string `json:"endpoint"`
Id ConfigId `json:"id"`
Kind ConnectionCreateKind `json:"kind"`
Label string `json:"label"`
}
ConnectionCreate defines model for ConnectionCreate.
type ConnectionCreateKind ¶
type ConnectionCreateKind string
ConnectionCreateKind defines model for ConnectionCreate.Kind.
const ( ConnectionCreateKindJellyfin ConnectionCreateKind = "jellyfin" ConnectionCreateKindNzbget ConnectionCreateKind = "nzbget" ConnectionCreateKindQbittorrent ConnectionCreateKind = "qbittorrent" ConnectionCreateKindRadarr ConnectionCreateKind = "radarr" ConnectionCreateKindSeerr ConnectionCreateKind = "seerr" ConnectionCreateKindSonarr ConnectionCreateKind = "sonarr" )
Defines values for ConnectionCreateKind.
func (ConnectionCreateKind) Valid ¶
func (e ConnectionCreateKind) Valid() bool
Valid indicates whether the value is a known member of the ConnectionCreateKind enum.
type ConnectionCredentialState ¶
type ConnectionCredentialState string
ConnectionCredentialState defines model for Connection.CredentialState.
const ( ConnectionCredentialStateInvalid ConnectionCredentialState = "invalid" ConnectionCredentialStateManaged ConnectionCredentialState = "managed" ConnectionCredentialStateMissing ConnectionCredentialState = "missing" ConnectionCredentialStateStaticReference ConnectionCredentialState = "static_reference" )
Defines values for ConnectionCredentialState.
func (ConnectionCredentialState) Valid ¶
func (e ConnectionCredentialState) Valid() bool
Valid indicates whether the value is a known member of the ConnectionCredentialState enum.
type ConnectionFilter ¶
type ConnectionFilter = ConfigId
ConnectionFilter defines model for ConnectionFilter.
type ConnectionHealth ¶
type ConnectionHealth string
ConnectionHealth defines model for Connection.Health.
const ( ConnectionHealthDegraded ConnectionHealth = "degraded" ConnectionHealthHealthy ConnectionHealth = "healthy" ConnectionHealthUnknown ConnectionHealth = "unknown" )
Defines values for ConnectionHealth.
func (ConnectionHealth) Valid ¶
func (e ConnectionHealth) Valid() bool
Valid indicates whether the value is a known member of the ConnectionHealth enum.
type ConnectionKind ¶
type ConnectionKind string
ConnectionKind defines model for Connection.Kind.
const ( ConnectionKindJellyfin ConnectionKind = "jellyfin" ConnectionKindNzbget ConnectionKind = "nzbget" ConnectionKindQbittorrent ConnectionKind = "qbittorrent" ConnectionKindRadarr ConnectionKind = "radarr" ConnectionKindSeerr ConnectionKind = "seerr" ConnectionKindSonarr ConnectionKind = "sonarr" )
Defines values for ConnectionKind.
func (ConnectionKind) Valid ¶
func (e ConnectionKind) Valid() bool
Valid indicates whether the value is a known member of the ConnectionKind enum.
type ConnectionList ¶
type ConnectionList struct {
Items []Connection `json:"items"`
Page Page `json:"page"`
}
ConnectionList defines model for ConnectionList.
type ConnectionOptions ¶
type ConnectionOptions struct {
ConnectionId ConfigId `json:"connectionId"`
ObservedAt Timestamp `json:"observedAt"`
Options ConnectionOptions_Options `json:"options"`
}
ConnectionOptions defines model for ConnectionOptions.
type ConnectionOptions_Options ¶
type ConnectionOptions_Options struct {
// contains filtered or unexported fields
}
ConnectionOptions_Options defines model for ConnectionOptions.Options.
func (ConnectionOptions_Options) AsArrOptions ¶
func (t ConnectionOptions_Options) AsArrOptions() (ArrOptions, error)
AsArrOptions returns the union data inside the ConnectionOptions_Options as a ArrOptions
func (ConnectionOptions_Options) AsDownloadClientOptions ¶
func (t ConnectionOptions_Options) AsDownloadClientOptions() (DownloadClientOptions, error)
AsDownloadClientOptions returns the union data inside the ConnectionOptions_Options as a DownloadClientOptions
func (ConnectionOptions_Options) AsJellyfinOptions ¶
func (t ConnectionOptions_Options) AsJellyfinOptions() (JellyfinOptions, error)
AsJellyfinOptions returns the union data inside the ConnectionOptions_Options as a JellyfinOptions
func (ConnectionOptions_Options) AsSeerrOptions ¶
func (t ConnectionOptions_Options) AsSeerrOptions() (SeerrOptions, error)
AsSeerrOptions returns the union data inside the ConnectionOptions_Options as a SeerrOptions
func (ConnectionOptions_Options) Discriminator ¶
func (t ConnectionOptions_Options) Discriminator() (string, error)
func (*ConnectionOptions_Options) FromArrOptions ¶
func (t *ConnectionOptions_Options) FromArrOptions(v ArrOptions) error
FromArrOptions overwrites any union data inside the ConnectionOptions_Options as the provided ArrOptions
func (*ConnectionOptions_Options) FromDownloadClientOptions ¶
func (t *ConnectionOptions_Options) FromDownloadClientOptions(v DownloadClientOptions) error
FromDownloadClientOptions overwrites any union data inside the ConnectionOptions_Options as the provided DownloadClientOptions
func (*ConnectionOptions_Options) FromJellyfinOptions ¶
func (t *ConnectionOptions_Options) FromJellyfinOptions(v JellyfinOptions) error
FromJellyfinOptions overwrites any union data inside the ConnectionOptions_Options as the provided JellyfinOptions
func (*ConnectionOptions_Options) FromSeerrOptions ¶
func (t *ConnectionOptions_Options) FromSeerrOptions(v SeerrOptions) error
FromSeerrOptions overwrites any union data inside the ConnectionOptions_Options as the provided SeerrOptions
func (ConnectionOptions_Options) MarshalJSON ¶
func (t ConnectionOptions_Options) MarshalJSON() ([]byte, error)
func (*ConnectionOptions_Options) MergeArrOptions ¶
func (t *ConnectionOptions_Options) MergeArrOptions(v ArrOptions) error
MergeArrOptions performs a merge with any union data inside the ConnectionOptions_Options, using the provided ArrOptions
func (*ConnectionOptions_Options) MergeDownloadClientOptions ¶
func (t *ConnectionOptions_Options) MergeDownloadClientOptions(v DownloadClientOptions) error
MergeDownloadClientOptions performs a merge with any union data inside the ConnectionOptions_Options, using the provided DownloadClientOptions
func (*ConnectionOptions_Options) MergeJellyfinOptions ¶
func (t *ConnectionOptions_Options) MergeJellyfinOptions(v JellyfinOptions) error
MergeJellyfinOptions performs a merge with any union data inside the ConnectionOptions_Options, using the provided JellyfinOptions
func (*ConnectionOptions_Options) MergeSeerrOptions ¶
func (t *ConnectionOptions_Options) MergeSeerrOptions(v SeerrOptions) error
MergeSeerrOptions performs a merge with any union data inside the ConnectionOptions_Options, using the provided SeerrOptions
func (*ConnectionOptions_Options) UnmarshalJSON ¶
func (t *ConnectionOptions_Options) UnmarshalJSON(b []byte) error
func (ConnectionOptions_Options) ValueByDiscriminator ¶
func (t ConnectionOptions_Options) ValueByDiscriminator() (interface{}, error)
type ConnectionPatch ¶
type ConnectionPatch struct {
Credentials *CredentialInput `json:"credentials,omitempty"`
Endpoint *string `json:"endpoint,omitempty"`
Label *string `json:"label,omitempty"`
}
ConnectionPatch defines model for ConnectionPatch.
type Coverage ¶
type Coverage struct {
CompletedAt *Timestamp `json:"completedAt,omitempty"`
Completeness CoverageCompleteness `json:"completeness"`
ConnectionId *ConfigId `json:"connectionId,omitempty"`
ObservedAt Timestamp `json:"observedAt"`
ObservedCount *int `json:"observedCount,omitempty"`
ReasonCodes *[]string `json:"reasonCodes,omitempty"`
RootId *ConfigId `json:"rootId,omitempty"`
SnapshotRevision *string `json:"snapshotRevision,omitempty"`
SourceId *Id `json:"sourceId,omitempty"`
StartedAt *Timestamp `json:"startedAt,omitempty"`
}
Coverage defines model for Coverage.
type CoverageCompleteness ¶
type CoverageCompleteness string
CoverageCompleteness defines model for Coverage.Completeness.
const ( CoverageCompletenessComplete CoverageCompleteness = "complete" CoverageCompletenessPartial CoverageCompleteness = "partial" CoverageCompletenessUnknown CoverageCompleteness = "unknown" )
Defines values for CoverageCompleteness.
func (CoverageCompleteness) Valid ¶
func (e CoverageCompleteness) Valid() bool
Valid indicates whether the value is a known member of the CoverageCompleteness enum.
type CreateActionPlan201JSONResponse ¶
type CreateActionPlan201JSONResponse struct {
Body ActionPlan
Headers CreateActionPlan201ResponseHeaders
}
func (CreateActionPlan201JSONResponse) VisitCreateActionPlanResponse ¶
func (response CreateActionPlan201JSONResponse) VisitCreateActionPlanResponse(w http.ResponseWriter) error
type CreateActionPlan400ApplicationProblemPlusJSONResponse ¶
type CreateActionPlan400ApplicationProblemPlusJSONResponse struct {
Problem400ApplicationProblemPlusJSONResponse
}
func (CreateActionPlan400ApplicationProblemPlusJSONResponse) VisitCreateActionPlanResponse ¶
func (response CreateActionPlan400ApplicationProblemPlusJSONResponse) VisitCreateActionPlanResponse(w http.ResponseWriter) error
type CreateActionPlan409ApplicationProblemPlusJSONResponse ¶
type CreateActionPlan409ApplicationProblemPlusJSONResponse struct {
Problem409ApplicationProblemPlusJSONResponse
}
func (CreateActionPlan409ApplicationProblemPlusJSONResponse) VisitCreateActionPlanResponse ¶
func (response CreateActionPlan409ApplicationProblemPlusJSONResponse) VisitCreateActionPlanResponse(w http.ResponseWriter) error
type CreateActionPlan413ApplicationProblemPlusJSONResponse ¶
type CreateActionPlan413ApplicationProblemPlusJSONResponse struct {
Problem413ApplicationProblemPlusJSONResponse
}
func (CreateActionPlan413ApplicationProblemPlusJSONResponse) VisitCreateActionPlanResponse ¶
func (response CreateActionPlan413ApplicationProblemPlusJSONResponse) VisitCreateActionPlanResponse(w http.ResponseWriter) error
type CreateActionPlan422ApplicationProblemPlusJSONResponse ¶
type CreateActionPlan422ApplicationProblemPlusJSONResponse struct {
Problem422ApplicationProblemPlusJSONResponse
}
func (CreateActionPlan422ApplicationProblemPlusJSONResponse) VisitCreateActionPlanResponse ¶
func (response CreateActionPlan422ApplicationProblemPlusJSONResponse) VisitCreateActionPlanResponse(w http.ResponseWriter) error
type CreateActionPlan429ApplicationProblemPlusJSONResponse ¶
type CreateActionPlan429ApplicationProblemPlusJSONResponse struct {
Problem429ApplicationProblemPlusJSONResponse
}
func (CreateActionPlan429ApplicationProblemPlusJSONResponse) VisitCreateActionPlanResponse ¶
func (response CreateActionPlan429ApplicationProblemPlusJSONResponse) VisitCreateActionPlanResponse(w http.ResponseWriter) error
type CreateActionPlanJSONRequestBody ¶
type CreateActionPlanJSONRequestBody = ActionPlanCreate
CreateActionPlanJSONRequestBody defines body for CreateActionPlan for application/json ContentType.
type CreateActionPlanParams ¶
type CreateActionPlanParams struct {
IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}
CreateActionPlanParams defines parameters for CreateActionPlan.
type CreateActionPlanRequestObject ¶
type CreateActionPlanRequestObject struct {
Params CreateActionPlanParams
Body *CreateActionPlanJSONRequestBody
}
type CreateActionPlanResponseObject ¶
type CreateActionPlanResponseObject interface {
VisitCreateActionPlanResponse(w http.ResponseWriter) error
}
type CreateActionPlanRevision201JSONResponse ¶
type CreateActionPlanRevision201JSONResponse struct {
Body ActionPlan
Headers CreateActionPlanRevision201ResponseHeaders
}
func (CreateActionPlanRevision201JSONResponse) VisitCreateActionPlanRevisionResponse ¶
func (response CreateActionPlanRevision201JSONResponse) VisitCreateActionPlanRevisionResponse(w http.ResponseWriter) error
type CreateActionPlanRevision404ApplicationProblemPlusJSONResponse ¶
type CreateActionPlanRevision404ApplicationProblemPlusJSONResponse struct {
Problem404ApplicationProblemPlusJSONResponse
}
func (CreateActionPlanRevision404ApplicationProblemPlusJSONResponse) VisitCreateActionPlanRevisionResponse ¶
func (response CreateActionPlanRevision404ApplicationProblemPlusJSONResponse) VisitCreateActionPlanRevisionResponse(w http.ResponseWriter) error
type CreateActionPlanRevision409ApplicationProblemPlusJSONResponse ¶
type CreateActionPlanRevision409ApplicationProblemPlusJSONResponse struct {
Problem409ApplicationProblemPlusJSONResponse
}
func (CreateActionPlanRevision409ApplicationProblemPlusJSONResponse) VisitCreateActionPlanRevisionResponse ¶
func (response CreateActionPlanRevision409ApplicationProblemPlusJSONResponse) VisitCreateActionPlanRevisionResponse(w http.ResponseWriter) error
type CreateActionPlanRevision422ApplicationProblemPlusJSONResponse ¶
type CreateActionPlanRevision422ApplicationProblemPlusJSONResponse struct {
Problem422ApplicationProblemPlusJSONResponse
}
func (CreateActionPlanRevision422ApplicationProblemPlusJSONResponse) VisitCreateActionPlanRevisionResponse ¶
func (response CreateActionPlanRevision422ApplicationProblemPlusJSONResponse) VisitCreateActionPlanRevisionResponse(w http.ResponseWriter) error
type CreateActionPlanRevision429ApplicationProblemPlusJSONResponse ¶
type CreateActionPlanRevision429ApplicationProblemPlusJSONResponse struct {
Problem429ApplicationProblemPlusJSONResponse
}
func (CreateActionPlanRevision429ApplicationProblemPlusJSONResponse) VisitCreateActionPlanRevisionResponse ¶
func (response CreateActionPlanRevision429ApplicationProblemPlusJSONResponse) VisitCreateActionPlanRevisionResponse(w http.ResponseWriter) error
type CreateActionPlanRevisionJSONRequestBody ¶
type CreateActionPlanRevisionJSONRequestBody = ActionPlanCreate
CreateActionPlanRevisionJSONRequestBody defines body for CreateActionPlanRevision for application/json ContentType.
type CreateActionPlanRevisionParams ¶
type CreateActionPlanRevisionParams struct {
IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}
CreateActionPlanRevisionParams defines parameters for CreateActionPlanRevision.
type CreateActionPlanRevisionRequestObject ¶
type CreateActionPlanRevisionRequestObject struct {
ActionPlanId ActionPlanId `json:"actionPlanId"`
Params CreateActionPlanRevisionParams
Body *CreateActionPlanRevisionJSONRequestBody
}
type CreateActionPlanRevisionResponseObject ¶
type CreateActionPlanRevisionResponseObject interface {
VisitCreateActionPlanRevisionResponse(w http.ResponseWriter) error
}
type CreateConnection201JSONResponse ¶
type CreateConnection201JSONResponse struct {
Body Connection
Headers CreateConnection201ResponseHeaders
}
func (CreateConnection201JSONResponse) VisitCreateConnectionResponse ¶
func (response CreateConnection201JSONResponse) VisitCreateConnectionResponse(w http.ResponseWriter) error
type CreateConnection400ApplicationProblemPlusJSONResponse ¶
type CreateConnection400ApplicationProblemPlusJSONResponse struct {
Problem400ApplicationProblemPlusJSONResponse
}
func (CreateConnection400ApplicationProblemPlusJSONResponse) VisitCreateConnectionResponse ¶
func (response CreateConnection400ApplicationProblemPlusJSONResponse) VisitCreateConnectionResponse(w http.ResponseWriter) error
type CreateConnection409ApplicationProblemPlusJSONResponse ¶
type CreateConnection409ApplicationProblemPlusJSONResponse struct {
Problem409ApplicationProblemPlusJSONResponse
}
func (CreateConnection409ApplicationProblemPlusJSONResponse) VisitCreateConnectionResponse ¶
func (response CreateConnection409ApplicationProblemPlusJSONResponse) VisitCreateConnectionResponse(w http.ResponseWriter) error
type CreateConnection422ApplicationProblemPlusJSONResponse ¶
type CreateConnection422ApplicationProblemPlusJSONResponse struct {
Problem422ApplicationProblemPlusJSONResponse
}
func (CreateConnection422ApplicationProblemPlusJSONResponse) VisitCreateConnectionResponse ¶
func (response CreateConnection422ApplicationProblemPlusJSONResponse) VisitCreateConnectionResponse(w http.ResponseWriter) error
type CreateConnection429ApplicationProblemPlusJSONResponse ¶
type CreateConnection429ApplicationProblemPlusJSONResponse struct {
Problem429ApplicationProblemPlusJSONResponse
}
func (CreateConnection429ApplicationProblemPlusJSONResponse) VisitCreateConnectionResponse ¶
func (response CreateConnection429ApplicationProblemPlusJSONResponse) VisitCreateConnectionResponse(w http.ResponseWriter) error
type CreateConnectionCheck202JSONResponse ¶
type CreateConnectionCheck202JSONResponse struct {
Body AsyncAccepted
Headers CreateConnectionCheck202ResponseHeaders
}
func (CreateConnectionCheck202JSONResponse) VisitCreateConnectionCheckResponse ¶
func (response CreateConnectionCheck202JSONResponse) VisitCreateConnectionCheckResponse(w http.ResponseWriter) error
type CreateConnectionCheck400ApplicationProblemPlusJSONResponse ¶
type CreateConnectionCheck400ApplicationProblemPlusJSONResponse struct {
Problem400ApplicationProblemPlusJSONResponse
}
func (CreateConnectionCheck400ApplicationProblemPlusJSONResponse) VisitCreateConnectionCheckResponse ¶
func (response CreateConnectionCheck400ApplicationProblemPlusJSONResponse) VisitCreateConnectionCheckResponse(w http.ResponseWriter) error
type CreateConnectionCheck404ApplicationProblemPlusJSONResponse ¶
type CreateConnectionCheck404ApplicationProblemPlusJSONResponse struct {
Problem404ApplicationProblemPlusJSONResponse
}
func (CreateConnectionCheck404ApplicationProblemPlusJSONResponse) VisitCreateConnectionCheckResponse ¶
func (response CreateConnectionCheck404ApplicationProblemPlusJSONResponse) VisitCreateConnectionCheckResponse(w http.ResponseWriter) error
type CreateConnectionCheck409ApplicationProblemPlusJSONResponse ¶
type CreateConnectionCheck409ApplicationProblemPlusJSONResponse struct {
Problem409ApplicationProblemPlusJSONResponse
}
func (CreateConnectionCheck409ApplicationProblemPlusJSONResponse) VisitCreateConnectionCheckResponse ¶
func (response CreateConnectionCheck409ApplicationProblemPlusJSONResponse) VisitCreateConnectionCheckResponse(w http.ResponseWriter) error
type CreateConnectionCheck429ApplicationProblemPlusJSONResponse ¶
type CreateConnectionCheck429ApplicationProblemPlusJSONResponse struct {
Problem429ApplicationProblemPlusJSONResponse
}
func (CreateConnectionCheck429ApplicationProblemPlusJSONResponse) VisitCreateConnectionCheckResponse ¶
func (response CreateConnectionCheck429ApplicationProblemPlusJSONResponse) VisitCreateConnectionCheckResponse(w http.ResponseWriter) error
type CreateConnectionCheck503ApplicationProblemPlusJSONResponse ¶
type CreateConnectionCheck503ApplicationProblemPlusJSONResponse struct {
Problem503ApplicationProblemPlusJSONResponse
}
func (CreateConnectionCheck503ApplicationProblemPlusJSONResponse) VisitCreateConnectionCheckResponse ¶
func (response CreateConnectionCheck503ApplicationProblemPlusJSONResponse) VisitCreateConnectionCheckResponse(w http.ResponseWriter) error
type CreateConnectionCheckJSONRequestBody ¶
type CreateConnectionCheckJSONRequestBody = ConnectionCheckCreate
CreateConnectionCheckJSONRequestBody defines body for CreateConnectionCheck for application/json ContentType.
type CreateConnectionCheckParams ¶
type CreateConnectionCheckParams struct {
IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}
CreateConnectionCheckParams defines parameters for CreateConnectionCheck.
type CreateConnectionCheckRequestObject ¶
type CreateConnectionCheckRequestObject struct {
Params CreateConnectionCheckParams
Body *CreateConnectionCheckJSONRequestBody
}
type CreateConnectionCheckResponseObject ¶
type CreateConnectionCheckResponseObject interface {
VisitCreateConnectionCheckResponse(w http.ResponseWriter) error
}
type CreateConnectionJSONRequestBody ¶
type CreateConnectionJSONRequestBody = ConnectionCreate
CreateConnectionJSONRequestBody defines body for CreateConnection for application/json ContentType.
type CreateConnectionParams ¶
type CreateConnectionParams struct {
IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}
CreateConnectionParams defines parameters for CreateConnection.
type CreateConnectionRequestObject ¶
type CreateConnectionRequestObject struct {
Params CreateConnectionParams
Body *CreateConnectionJSONRequestBody
}
type CreateConnectionResponseObject ¶
type CreateConnectionResponseObject interface {
VisitCreateConnectionResponse(w http.ResponseWriter) error
}
type CreatePathMapping201JSONResponse ¶
type CreatePathMapping201JSONResponse struct {
Body PathMapping
Headers CreatePathMapping201ResponseHeaders
}
func (CreatePathMapping201JSONResponse) VisitCreatePathMappingResponse ¶
func (response CreatePathMapping201JSONResponse) VisitCreatePathMappingResponse(w http.ResponseWriter) error
type CreatePathMapping400ApplicationProblemPlusJSONResponse ¶
type CreatePathMapping400ApplicationProblemPlusJSONResponse struct {
Problem400ApplicationProblemPlusJSONResponse
}
func (CreatePathMapping400ApplicationProblemPlusJSONResponse) VisitCreatePathMappingResponse ¶
func (response CreatePathMapping400ApplicationProblemPlusJSONResponse) VisitCreatePathMappingResponse(w http.ResponseWriter) error
type CreatePathMapping409ApplicationProblemPlusJSONResponse ¶
type CreatePathMapping409ApplicationProblemPlusJSONResponse struct {
Problem409ApplicationProblemPlusJSONResponse
}
func (CreatePathMapping409ApplicationProblemPlusJSONResponse) VisitCreatePathMappingResponse ¶
func (response CreatePathMapping409ApplicationProblemPlusJSONResponse) VisitCreatePathMappingResponse(w http.ResponseWriter) error
type CreatePathMapping422ApplicationProblemPlusJSONResponse ¶
type CreatePathMapping422ApplicationProblemPlusJSONResponse struct {
Problem422ApplicationProblemPlusJSONResponse
}
func (CreatePathMapping422ApplicationProblemPlusJSONResponse) VisitCreatePathMappingResponse ¶
func (response CreatePathMapping422ApplicationProblemPlusJSONResponse) VisitCreatePathMappingResponse(w http.ResponseWriter) error
type CreatePathMapping429ApplicationProblemPlusJSONResponse ¶
type CreatePathMapping429ApplicationProblemPlusJSONResponse struct {
Problem429ApplicationProblemPlusJSONResponse
}
func (CreatePathMapping429ApplicationProblemPlusJSONResponse) VisitCreatePathMappingResponse ¶
func (response CreatePathMapping429ApplicationProblemPlusJSONResponse) VisitCreatePathMappingResponse(w http.ResponseWriter) error
type CreatePathMappingJSONRequestBody ¶
type CreatePathMappingJSONRequestBody = PathMappingCreate
CreatePathMappingJSONRequestBody defines body for CreatePathMapping for application/json ContentType.
type CreatePathMappingParams ¶
type CreatePathMappingParams struct {
IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}
CreatePathMappingParams defines parameters for CreatePathMapping.
type CreatePathMappingRequestObject ¶
type CreatePathMappingRequestObject struct {
Params CreatePathMappingParams
Body *CreatePathMappingJSONRequestBody
}
type CreatePathMappingResponseObject ¶
type CreatePathMappingResponseObject interface {
VisitCreatePathMappingResponse(w http.ResponseWriter) error
}
type CreateReviewDecision202JSONResponse ¶
type CreateReviewDecision202JSONResponse struct {
Body ReviewDecision
Headers CreateReviewDecision202ResponseHeaders
}
func (CreateReviewDecision202JSONResponse) VisitCreateReviewDecisionResponse ¶
func (response CreateReviewDecision202JSONResponse) VisitCreateReviewDecisionResponse(w http.ResponseWriter) error
type CreateReviewDecision400ApplicationProblemPlusJSONResponse ¶
type CreateReviewDecision400ApplicationProblemPlusJSONResponse struct {
Problem400ApplicationProblemPlusJSONResponse
}
func (CreateReviewDecision400ApplicationProblemPlusJSONResponse) VisitCreateReviewDecisionResponse ¶
func (response CreateReviewDecision400ApplicationProblemPlusJSONResponse) VisitCreateReviewDecisionResponse(w http.ResponseWriter) error
type CreateReviewDecision409ApplicationProblemPlusJSONResponse ¶
type CreateReviewDecision409ApplicationProblemPlusJSONResponse struct {
Problem409ApplicationProblemPlusJSONResponse
}
func (CreateReviewDecision409ApplicationProblemPlusJSONResponse) VisitCreateReviewDecisionResponse ¶
func (response CreateReviewDecision409ApplicationProblemPlusJSONResponse) VisitCreateReviewDecisionResponse(w http.ResponseWriter) error
type CreateReviewDecision422ApplicationProblemPlusJSONResponse ¶
type CreateReviewDecision422ApplicationProblemPlusJSONResponse struct {
Problem422ApplicationProblemPlusJSONResponse
}
func (CreateReviewDecision422ApplicationProblemPlusJSONResponse) VisitCreateReviewDecisionResponse ¶
func (response CreateReviewDecision422ApplicationProblemPlusJSONResponse) VisitCreateReviewDecisionResponse(w http.ResponseWriter) error
type CreateReviewDecision429ApplicationProblemPlusJSONResponse ¶
type CreateReviewDecision429ApplicationProblemPlusJSONResponse struct {
Problem429ApplicationProblemPlusJSONResponse
}
func (CreateReviewDecision429ApplicationProblemPlusJSONResponse) VisitCreateReviewDecisionResponse ¶
func (response CreateReviewDecision429ApplicationProblemPlusJSONResponse) VisitCreateReviewDecisionResponse(w http.ResponseWriter) error
type CreateReviewDecisionJSONRequestBody ¶
type CreateReviewDecisionJSONRequestBody = ReviewDecisionCreate
CreateReviewDecisionJSONRequestBody defines body for CreateReviewDecision for application/json ContentType.
type CreateReviewDecisionParams ¶
type CreateReviewDecisionParams struct {
IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}
CreateReviewDecisionParams defines parameters for CreateReviewDecision.
type CreateReviewDecisionRequestObject ¶
type CreateReviewDecisionRequestObject struct {
Params CreateReviewDecisionParams
Body *CreateReviewDecisionJSONRequestBody
}
type CreateReviewDecisionResponseObject ¶
type CreateReviewDecisionResponseObject interface {
VisitCreateReviewDecisionResponse(w http.ResponseWriter) error
}
type CreateScan202JSONResponse ¶
type CreateScan202JSONResponse struct {
Body AsyncAccepted
Headers CreateScan202ResponseHeaders
}
func (CreateScan202JSONResponse) VisitCreateScanResponse ¶
func (response CreateScan202JSONResponse) VisitCreateScanResponse(w http.ResponseWriter) error
type CreateScan400ApplicationProblemPlusJSONResponse ¶
type CreateScan400ApplicationProblemPlusJSONResponse struct {
Problem400ApplicationProblemPlusJSONResponse
}
func (CreateScan400ApplicationProblemPlusJSONResponse) VisitCreateScanResponse ¶
func (response CreateScan400ApplicationProblemPlusJSONResponse) VisitCreateScanResponse(w http.ResponseWriter) error
type CreateScan409ApplicationProblemPlusJSONResponse ¶
type CreateScan409ApplicationProblemPlusJSONResponse struct {
Problem409ApplicationProblemPlusJSONResponse
}
func (CreateScan409ApplicationProblemPlusJSONResponse) VisitCreateScanResponse ¶
func (response CreateScan409ApplicationProblemPlusJSONResponse) VisitCreateScanResponse(w http.ResponseWriter) error
type CreateScan429ApplicationProblemPlusJSONResponse ¶
type CreateScan429ApplicationProblemPlusJSONResponse struct {
Problem429ApplicationProblemPlusJSONResponse
}
func (CreateScan429ApplicationProblemPlusJSONResponse) VisitCreateScanResponse ¶
func (response CreateScan429ApplicationProblemPlusJSONResponse) VisitCreateScanResponse(w http.ResponseWriter) error
type CreateScanJSONRequestBody ¶
type CreateScanJSONRequestBody = ScanCreate
CreateScanJSONRequestBody defines body for CreateScan for application/json ContentType.
type CreateScanParams ¶
type CreateScanParams struct {
IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}
CreateScanParams defines parameters for CreateScan.
type CreateScanRequestObject ¶
type CreateScanRequestObject struct {
Params CreateScanParams
Body *CreateScanJSONRequestBody
}
type CreateScanResponseObject ¶
type CreateScanResponseObject interface {
VisitCreateScanResponse(w http.ResponseWriter) error
}
type CreateStorageRoot201JSONResponse ¶
type CreateStorageRoot201JSONResponse struct {
Body StorageRoot
Headers CreateStorageRoot201ResponseHeaders
}
func (CreateStorageRoot201JSONResponse) VisitCreateStorageRootResponse ¶
func (response CreateStorageRoot201JSONResponse) VisitCreateStorageRootResponse(w http.ResponseWriter) error
type CreateStorageRoot400ApplicationProblemPlusJSONResponse ¶
type CreateStorageRoot400ApplicationProblemPlusJSONResponse struct {
Problem400ApplicationProblemPlusJSONResponse
}
func (CreateStorageRoot400ApplicationProblemPlusJSONResponse) VisitCreateStorageRootResponse ¶
func (response CreateStorageRoot400ApplicationProblemPlusJSONResponse) VisitCreateStorageRootResponse(w http.ResponseWriter) error
type CreateStorageRoot409ApplicationProblemPlusJSONResponse ¶
type CreateStorageRoot409ApplicationProblemPlusJSONResponse struct {
Problem409ApplicationProblemPlusJSONResponse
}
func (CreateStorageRoot409ApplicationProblemPlusJSONResponse) VisitCreateStorageRootResponse ¶
func (response CreateStorageRoot409ApplicationProblemPlusJSONResponse) VisitCreateStorageRootResponse(w http.ResponseWriter) error
type CreateStorageRoot422ApplicationProblemPlusJSONResponse ¶
type CreateStorageRoot422ApplicationProblemPlusJSONResponse struct {
Problem422ApplicationProblemPlusJSONResponse
}
func (CreateStorageRoot422ApplicationProblemPlusJSONResponse) VisitCreateStorageRootResponse ¶
func (response CreateStorageRoot422ApplicationProblemPlusJSONResponse) VisitCreateStorageRootResponse(w http.ResponseWriter) error
type CreateStorageRoot429ApplicationProblemPlusJSONResponse ¶
type CreateStorageRoot429ApplicationProblemPlusJSONResponse struct {
Problem429ApplicationProblemPlusJSONResponse
}
func (CreateStorageRoot429ApplicationProblemPlusJSONResponse) VisitCreateStorageRootResponse ¶
func (response CreateStorageRoot429ApplicationProblemPlusJSONResponse) VisitCreateStorageRootResponse(w http.ResponseWriter) error
type CreateStorageRootJSONRequestBody ¶
type CreateStorageRootJSONRequestBody = StorageRootCreate
CreateStorageRootJSONRequestBody defines body for CreateStorageRoot for application/json ContentType.
type CreateStorageRootParams ¶
type CreateStorageRootParams struct {
IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}
CreateStorageRootParams defines parameters for CreateStorageRoot.
type CreateStorageRootRequestObject ¶
type CreateStorageRootRequestObject struct {
Params CreateStorageRootParams
Body *CreateStorageRootJSONRequestBody
}
type CreateStorageRootResponseObject ¶
type CreateStorageRootResponseObject interface {
VisitCreateStorageRootResponse(w http.ResponseWriter) error
}
type CreateWorkflowRun202JSONResponse ¶
type CreateWorkflowRun202JSONResponse struct {
Body WorkflowRun
Headers CreateWorkflowRun202ResponseHeaders
}
func (CreateWorkflowRun202JSONResponse) VisitCreateWorkflowRunResponse ¶
func (response CreateWorkflowRun202JSONResponse) VisitCreateWorkflowRunResponse(w http.ResponseWriter) error
type CreateWorkflowRun400ApplicationProblemPlusJSONResponse ¶
type CreateWorkflowRun400ApplicationProblemPlusJSONResponse struct {
Problem400ApplicationProblemPlusJSONResponse
}
func (CreateWorkflowRun400ApplicationProblemPlusJSONResponse) VisitCreateWorkflowRunResponse ¶
func (response CreateWorkflowRun400ApplicationProblemPlusJSONResponse) VisitCreateWorkflowRunResponse(w http.ResponseWriter) error
type CreateWorkflowRun409ApplicationProblemPlusJSONResponse ¶
type CreateWorkflowRun409ApplicationProblemPlusJSONResponse struct {
Problem409ApplicationProblemPlusJSONResponse
}
func (CreateWorkflowRun409ApplicationProblemPlusJSONResponse) VisitCreateWorkflowRunResponse ¶
func (response CreateWorkflowRun409ApplicationProblemPlusJSONResponse) VisitCreateWorkflowRunResponse(w http.ResponseWriter) error
type CreateWorkflowRun422ApplicationProblemPlusJSONResponse ¶
type CreateWorkflowRun422ApplicationProblemPlusJSONResponse struct {
Problem422ApplicationProblemPlusJSONResponse
}
func (CreateWorkflowRun422ApplicationProblemPlusJSONResponse) VisitCreateWorkflowRunResponse ¶
func (response CreateWorkflowRun422ApplicationProblemPlusJSONResponse) VisitCreateWorkflowRunResponse(w http.ResponseWriter) error
type CreateWorkflowRun429ApplicationProblemPlusJSONResponse ¶
type CreateWorkflowRun429ApplicationProblemPlusJSONResponse struct {
Problem429ApplicationProblemPlusJSONResponse
}
func (CreateWorkflowRun429ApplicationProblemPlusJSONResponse) VisitCreateWorkflowRunResponse ¶
func (response CreateWorkflowRun429ApplicationProblemPlusJSONResponse) VisitCreateWorkflowRunResponse(w http.ResponseWriter) error
type CreateWorkflowRunJSONRequestBody ¶
type CreateWorkflowRunJSONRequestBody = WorkflowRunCreate
CreateWorkflowRunJSONRequestBody defines body for CreateWorkflowRun for application/json ContentType.
type CreateWorkflowRunParams ¶
type CreateWorkflowRunParams struct {
IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}
CreateWorkflowRunParams defines parameters for CreateWorkflowRun.
type CreateWorkflowRunRequestObject ¶
type CreateWorkflowRunRequestObject struct {
Params CreateWorkflowRunParams
Body *CreateWorkflowRunJSONRequestBody
}
type CreateWorkflowRunResponseObject ¶
type CreateWorkflowRunResponseObject interface {
VisitCreateWorkflowRunResponse(w http.ResponseWriter) error
}
type CredentialInput ¶
type CredentialInput struct {
// contains filtered or unexported fields
}
CredentialInput defines model for CredentialInput.
func (CredentialInput) AsApiKeyCredential ¶
func (t CredentialInput) AsApiKeyCredential() (ApiKeyCredential, error)
AsApiKeyCredential returns the union data inside the CredentialInput as a ApiKeyCredential
func (CredentialInput) AsTokenCredential ¶
func (t CredentialInput) AsTokenCredential() (TokenCredential, error)
AsTokenCredential returns the union data inside the CredentialInput as a TokenCredential
func (CredentialInput) AsUsernamePasswordCredential ¶
func (t CredentialInput) AsUsernamePasswordCredential() (UsernamePasswordCredential, error)
AsUsernamePasswordCredential returns the union data inside the CredentialInput as a UsernamePasswordCredential
func (CredentialInput) Discriminator ¶
func (t CredentialInput) Discriminator() (string, error)
func (*CredentialInput) FromApiKeyCredential ¶
func (t *CredentialInput) FromApiKeyCredential(v ApiKeyCredential) error
FromApiKeyCredential overwrites any union data inside the CredentialInput as the provided ApiKeyCredential
func (*CredentialInput) FromTokenCredential ¶
func (t *CredentialInput) FromTokenCredential(v TokenCredential) error
FromTokenCredential overwrites any union data inside the CredentialInput as the provided TokenCredential
func (*CredentialInput) FromUsernamePasswordCredential ¶
func (t *CredentialInput) FromUsernamePasswordCredential(v UsernamePasswordCredential) error
FromUsernamePasswordCredential overwrites any union data inside the CredentialInput as the provided UsernamePasswordCredential
func (CredentialInput) MarshalJSON ¶
func (t CredentialInput) MarshalJSON() ([]byte, error)
func (*CredentialInput) MergeApiKeyCredential ¶
func (t *CredentialInput) MergeApiKeyCredential(v ApiKeyCredential) error
MergeApiKeyCredential performs a merge with any union data inside the CredentialInput, using the provided ApiKeyCredential
func (*CredentialInput) MergeTokenCredential ¶
func (t *CredentialInput) MergeTokenCredential(v TokenCredential) error
MergeTokenCredential performs a merge with any union data inside the CredentialInput, using the provided TokenCredential
func (*CredentialInput) MergeUsernamePasswordCredential ¶
func (t *CredentialInput) MergeUsernamePasswordCredential(v UsernamePasswordCredential) error
MergeUsernamePasswordCredential performs a merge with any union data inside the CredentialInput, using the provided UsernamePasswordCredential
func (*CredentialInput) UnmarshalJSON ¶
func (t *CredentialInput) UnmarshalJSON(b []byte) error
func (CredentialInput) ValueByDiscriminator ¶
func (t CredentialInput) ValueByDiscriminator() (interface{}, error)
type Descriptor ¶
type Descriptor struct {
Availability DescriptorAvailability `json:"availability"`
CapturedAt Timestamp `json:"capturedAt"`
Digest string `json:"digest"`
Id Id `json:"id"`
RetentionUntil *Timestamp `json:"retentionUntil,omitempty"`
Size int `json:"size"`
Source *string `json:"source,omitempty"`
Type DescriptorType `json:"type"`
}
Descriptor defines model for Descriptor.
type DescriptorAvailability ¶
type DescriptorAvailability string
DescriptorAvailability defines model for Descriptor.Availability.
const ( DescriptorAvailabilityAvailable DescriptorAvailability = "available" DescriptorAvailabilityUnknown DescriptorAvailability = "unknown" )
Defines values for DescriptorAvailability.
func (DescriptorAvailability) Valid ¶
func (e DescriptorAvailability) Valid() bool
Valid indicates whether the value is a known member of the DescriptorAvailability enum.
type DescriptorDeleteInput ¶
type DescriptorDeleteInput struct {
DescriptorIds []Id `json:"descriptorIds"`
IrreversibleAcknowledgement DescriptorDeleteInputIrreversibleAcknowledgement `json:"irreversibleAcknowledgement"`
Kind DescriptorDeleteInputKind `json:"kind"`
}
DescriptorDeleteInput defines model for DescriptorDeleteInput.
type DescriptorDeleteInputIrreversibleAcknowledgement ¶
type DescriptorDeleteInputIrreversibleAcknowledgement bool
DescriptorDeleteInputIrreversibleAcknowledgement defines model for DescriptorDeleteInput.IrreversibleAcknowledgement.
const (
DescriptorDeleteInputIrreversibleAcknowledgementTrue DescriptorDeleteInputIrreversibleAcknowledgement = true
)
Defines values for DescriptorDeleteInputIrreversibleAcknowledgement.
func (DescriptorDeleteInputIrreversibleAcknowledgement) Valid ¶
func (e DescriptorDeleteInputIrreversibleAcknowledgement) Valid() bool
Valid indicates whether the value is a known member of the DescriptorDeleteInputIrreversibleAcknowledgement enum.
type DescriptorDeleteInputKind ¶
type DescriptorDeleteInputKind string
DescriptorDeleteInputKind defines model for DescriptorDeleteInput.Kind.
const (
DescriptorDelete DescriptorDeleteInputKind = "descriptor.delete"
)
Defines values for DescriptorDeleteInputKind.
func (DescriptorDeleteInputKind) Valid ¶
func (e DescriptorDeleteInputKind) Valid() bool
Valid indicates whether the value is a known member of the DescriptorDeleteInputKind enum.
type DescriptorList ¶
type DescriptorList struct {
Items []Descriptor `json:"items"`
Page Page `json:"page"`
}
DescriptorList defines model for DescriptorList.
type DescriptorType ¶
type DescriptorType string
DescriptorType defines model for Descriptor.Type.
const ( DescriptorTypeNzb DescriptorType = "nzb" DescriptorTypeTorrent DescriptorType = "torrent" DescriptorTypeUnknown DescriptorType = "unknown" )
Defines values for DescriptorType.
func (DescriptorType) Valid ¶
func (e DescriptorType) Valid() bool
Valid indicates whether the value is a known member of the DescriptorType enum.
type Discovery ¶
type Discovery struct {
Candidates *[]MetadataCandidate `json:"candidates,omitempty"`
Coverage *Coverage `json:"coverage,omitempty"`
Files []FileManifestEntry `json:"files"`
Id Id `json:"id"`
ObservedAt Timestamp `json:"observedAt"`
Provenance *[]Provenance `json:"provenance,omitempty"`
Readiness DiscoveryReadiness `json:"readiness"`
}
Discovery defines model for Discovery.
type DiscoveryList ¶
DiscoveryList defines model for DiscoveryList.
type DiscoveryReadiness ¶
type DiscoveryReadiness string
DiscoveryReadiness defines model for Discovery.Readiness.
const ( DiscoveryReadinessChanging DiscoveryReadiness = "changing" DiscoveryReadinessDownloading DiscoveryReadiness = "downloading" DiscoveryReadinessProcessing DiscoveryReadiness = "processing" DiscoveryReadinessReady DiscoveryReadiness = "ready" DiscoveryReadinessUnknown DiscoveryReadiness = "unknown" DiscoveryReadinessUnsupported DiscoveryReadiness = "unsupported" )
Defines values for DiscoveryReadiness.
func (DiscoveryReadiness) Valid ¶
func (e DiscoveryReadiness) Valid() bool
Valid indicates whether the value is a known member of the DiscoveryReadiness enum.
type Download ¶
type Download struct {
ClientItemId *string `json:"clientItemId,omitempty"`
CompletedAt *Timestamp `json:"completedAt,omitempty"`
ConnectionId ConfigId `json:"connectionId"`
Coverage *Coverage `json:"coverage,omitempty"`
DeprecatedId *string `json:"deprecatedId,omitempty"`
DescriptorId *Id `json:"descriptorId,omitempty"`
Hash *string `json:"hash,omitempty"`
Id Id `json:"id"`
NzbId *string `json:"nzbId,omitempty"`
ObservedAt Timestamp `json:"observedAt"`
SourcePath *FileTarget `json:"sourcePath,omitempty"`
State DownloadState `json:"state"`
}
Download defines model for Download.
type DownloadClientOptions ¶
type DownloadClientOptions struct {
Categories []string `json:"categories"`
Kind DownloadClientOptionsKind `json:"kind"`
Tags []string `json:"tags"`
}
DownloadClientOptions defines model for DownloadClientOptions.
type DownloadClientOptionsKind ¶
type DownloadClientOptionsKind string
DownloadClientOptionsKind defines model for DownloadClientOptions.Kind.
const (
DownloadClient DownloadClientOptionsKind = "download_client"
)
Defines values for DownloadClientOptionsKind.
func (DownloadClientOptionsKind) Valid ¶
func (e DownloadClientOptionsKind) Valid() bool
Valid indicates whether the value is a known member of the DownloadClientOptionsKind enum.
type DownloadList ¶
DownloadList defines model for DownloadList.
type DownloadState ¶
type DownloadState string
DownloadState defines model for Download.State.
const ( DownloadStateComplete DownloadState = "complete" DownloadStateDownloading DownloadState = "downloading" DownloadStateFailed DownloadState = "failed" DownloadStateProcessing DownloadState = "processing" DownloadStateQueued DownloadState = "queued" DownloadStateSeeding DownloadState = "seeding" DownloadStateUnknown DownloadState = "unknown" )
Defines values for DownloadState.
func (DownloadState) Valid ¶
func (e DownloadState) Valid() bool
Valid indicates whether the value is a known member of the DownloadState enum.
type FieldError ¶
type FieldError struct {
Code string `json:"code"`
Field string `json:"field"`
Message *string `json:"message,omitempty"`
}
FieldError defines model for FieldError.
type FileManifestEntry ¶
type FileManifestEntry struct {
Digest *string `json:"digest,omitempty"`
FileIdentity *string `json:"fileIdentity,omitempty"`
ObservedAt *Timestamp `json:"observedAt,omitempty"`
// RelativePath Root-relative path. The server rejects dot-dot components, root targets and symlink escapes.
RelativePath string `json:"relativePath"`
Role *FileManifestEntryRole `json:"role,omitempty"`
RootId ConfigId `json:"rootId"`
Size int `json:"size"`
Type FileManifestEntryType `json:"type"`
}
FileManifestEntry defines model for FileManifestEntry.
type FileManifestEntryRole ¶
type FileManifestEntryRole string
FileManifestEntryRole defines model for FileManifestEntry.Role.
const ( FileManifestEntryRoleCompanion FileManifestEntryRole = "companion" FileManifestEntryRoleSubtitle FileManifestEntryRole = "subtitle" FileManifestEntryRoleVideo FileManifestEntryRole = "video" )
Defines values for FileManifestEntryRole.
func (FileManifestEntryRole) Valid ¶
func (e FileManifestEntryRole) Valid() bool
Valid indicates whether the value is a known member of the FileManifestEntryRole enum.
type FileManifestEntryType ¶
type FileManifestEntryType string
FileManifestEntryType defines model for FileManifestEntry.Type.
const ( FileManifestEntryTypeCompanion FileManifestEntryType = "companion" FileManifestEntryTypeDirectory FileManifestEntryType = "directory" FileManifestEntryTypeFile FileManifestEntryType = "file" FileManifestEntryTypeSubtitle FileManifestEntryType = "subtitle" )
Defines values for FileManifestEntryType.
func (FileManifestEntryType) Valid ¶
func (e FileManifestEntryType) Valid() bool
Valid indicates whether the value is a known member of the FileManifestEntryType enum.
type FileMap ¶
type FileMap struct {
Destination FileTarget `json:"destination"`
Source FileTarget `json:"source"`
}
FileMap defines model for FileMap.
type FileTarget ¶
type FileTarget struct {
// RelativePath Root-relative path. The server rejects dot-dot components, root targets and symlink escapes.
RelativePath string `json:"relativePath"`
RootId ConfigId `json:"rootId"`
}
FileTarget defines model for FileTarget.
type FsCopyInput ¶
type FsCopyInput struct {
Files []FileMap `json:"files"`
Kind FsCopyInputKind `json:"kind"`
}
FsCopyInput defines model for FsCopyInput.
type FsCopyInputKind ¶
type FsCopyInputKind string
FsCopyInputKind defines model for FsCopyInput.Kind.
const (
FsCopy FsCopyInputKind = "fs.copy"
)
Defines values for FsCopyInputKind.
func (FsCopyInputKind) Valid ¶
func (e FsCopyInputKind) Valid() bool
Valid indicates whether the value is a known member of the FsCopyInputKind enum.
type FsDeleteInput ¶
type FsDeleteInput struct {
Files []FileTarget `json:"files"`
IrreversibleAcknowledgement FsDeleteInputIrreversibleAcknowledgement `json:"irreversibleAcknowledgement"`
Kind FsDeleteInputKind `json:"kind"`
Permanent FsDeleteInputPermanent `json:"permanent"`
}
FsDeleteInput defines model for FsDeleteInput.
type FsDeleteInputIrreversibleAcknowledgement ¶
type FsDeleteInputIrreversibleAcknowledgement bool
FsDeleteInputIrreversibleAcknowledgement defines model for FsDeleteInput.IrreversibleAcknowledgement.
const (
FsDeleteInputIrreversibleAcknowledgementTrue FsDeleteInputIrreversibleAcknowledgement = true
)
Defines values for FsDeleteInputIrreversibleAcknowledgement.
func (FsDeleteInputIrreversibleAcknowledgement) Valid ¶
func (e FsDeleteInputIrreversibleAcknowledgement) Valid() bool
Valid indicates whether the value is a known member of the FsDeleteInputIrreversibleAcknowledgement enum.
type FsDeleteInputKind ¶
type FsDeleteInputKind string
FsDeleteInputKind defines model for FsDeleteInput.Kind.
const (
FsDelete FsDeleteInputKind = "fs.delete"
)
Defines values for FsDeleteInputKind.
func (FsDeleteInputKind) Valid ¶
func (e FsDeleteInputKind) Valid() bool
Valid indicates whether the value is a known member of the FsDeleteInputKind enum.
type FsDeleteInputPermanent ¶
type FsDeleteInputPermanent bool
FsDeleteInputPermanent defines model for FsDeleteInput.Permanent.
const (
FsDeleteInputPermanentTrue FsDeleteInputPermanent = true
)
Defines values for FsDeleteInputPermanent.
func (FsDeleteInputPermanent) Valid ¶
func (e FsDeleteInputPermanent) Valid() bool
Valid indicates whether the value is a known member of the FsDeleteInputPermanent enum.
type FsHardlinkInput ¶
type FsHardlinkInput struct {
Files []FileMap `json:"files"`
Kind FsHardlinkInputKind `json:"kind"`
}
FsHardlinkInput defines model for FsHardlinkInput.
type FsHardlinkInputKind ¶
type FsHardlinkInputKind string
FsHardlinkInputKind defines model for FsHardlinkInput.Kind.
const (
FsHardlink FsHardlinkInputKind = "fs.hardlink"
)
Defines values for FsHardlinkInputKind.
func (FsHardlinkInputKind) Valid ¶
func (e FsHardlinkInputKind) Valid() bool
Valid indicates whether the value is a known member of the FsHardlinkInputKind enum.
type FsMoveInput ¶
type FsMoveInput struct {
Executor FsMoveInputExecutor `json:"executor"`
Files []FileMap `json:"files"`
Kind FsMoveInputKind `json:"kind"`
}
FsMoveInput defines model for FsMoveInput.
type FsMoveInputExecutor ¶
type FsMoveInputExecutor string
FsMoveInputExecutor defines model for FsMoveInput.Executor.
const ( FsMoveInputExecutorMastarr FsMoveInputExecutor = "mastarr" FsMoveInputExecutorNativeClient FsMoveInputExecutor = "native_client" )
Defines values for FsMoveInputExecutor.
func (FsMoveInputExecutor) Valid ¶
func (e FsMoveInputExecutor) Valid() bool
Valid indicates whether the value is a known member of the FsMoveInputExecutor enum.
type FsMoveInputKind ¶
type FsMoveInputKind string
FsMoveInputKind defines model for FsMoveInput.Kind.
const (
FsMove FsMoveInputKind = "fs.move"
)
Defines values for FsMoveInputKind.
func (FsMoveInputKind) Valid ¶
func (e FsMoveInputKind) Valid() bool
Valid indicates whether the value is a known member of the FsMoveInputKind enum.
type FsRenameInput ¶
type FsRenameInput struct {
Executor FsRenameInputExecutor `json:"executor"`
Files []FileMap `json:"files"`
Kind FsRenameInputKind `json:"kind"`
}
FsRenameInput defines model for FsRenameInput.
type FsRenameInputExecutor ¶
type FsRenameInputExecutor string
FsRenameInputExecutor defines model for FsRenameInput.Executor.
const ( FsRenameInputExecutorMastarr FsRenameInputExecutor = "mastarr" FsRenameInputExecutorNativeClient FsRenameInputExecutor = "native_client" )
Defines values for FsRenameInputExecutor.
func (FsRenameInputExecutor) Valid ¶
func (e FsRenameInputExecutor) Valid() bool
Valid indicates whether the value is a known member of the FsRenameInputExecutor enum.
type FsRenameInputKind ¶
type FsRenameInputKind string
FsRenameInputKind defines model for FsRenameInput.Kind.
const (
FsRename FsRenameInputKind = "fs.rename"
)
Defines values for FsRenameInputKind.
func (FsRenameInputKind) Valid ¶
func (e FsRenameInputKind) Valid() bool
Valid indicates whether the value is a known member of the FsRenameInputKind enum.
type FsRestoreInput ¶
type FsRestoreInput struct {
Files []FileMap `json:"files"`
Kind FsRestoreInputKind `json:"kind"`
TrashId Id `json:"trashId"`
}
FsRestoreInput defines model for FsRestoreInput.
type FsRestoreInputKind ¶
type FsRestoreInputKind string
FsRestoreInputKind defines model for FsRestoreInput.Kind.
const (
FsRestore FsRestoreInputKind = "fs.restore"
)
Defines values for FsRestoreInputKind.
func (FsRestoreInputKind) Valid ¶
func (e FsRestoreInputKind) Valid() bool
Valid indicates whether the value is a known member of the FsRestoreInputKind enum.
type FsTrashInput ¶
type FsTrashInput struct {
Files []FileTarget `json:"files"`
Kind FsTrashInputKind `json:"kind"`
RetentionDays int `json:"retentionDays"`
StoppedClientIds *[]string `json:"stoppedClientIds,omitempty"`
}
FsTrashInput defines model for FsTrashInput.
type FsTrashInputKind ¶
type FsTrashInputKind string
FsTrashInputKind defines model for FsTrashInput.Kind.
const (
FsTrash FsTrashInputKind = "fs.trash"
)
Defines values for FsTrashInputKind.
func (FsTrashInputKind) Valid ¶
func (e FsTrashInputKind) Valid() bool
Valid indicates whether the value is a known member of the FsTrashInputKind enum.
type GetActionPlan200JSONResponse ¶
type GetActionPlan200JSONResponse struct {
Body ActionPlan
Headers GetActionPlan200ResponseHeaders
}
func (GetActionPlan200JSONResponse) VisitGetActionPlanResponse ¶
func (response GetActionPlan200JSONResponse) VisitGetActionPlanResponse(w http.ResponseWriter) error
type GetActionPlan200ResponseHeaders ¶
type GetActionPlan200ResponseHeaders struct {
CacheControl *string
}
type GetActionPlan404ApplicationProblemPlusJSONResponse ¶
type GetActionPlan404ApplicationProblemPlusJSONResponse struct {
Problem404ApplicationProblemPlusJSONResponse
}
func (GetActionPlan404ApplicationProblemPlusJSONResponse) VisitGetActionPlanResponse ¶
func (response GetActionPlan404ApplicationProblemPlusJSONResponse) VisitGetActionPlanResponse(w http.ResponseWriter) error
type GetActionPlanRequestObject ¶
type GetActionPlanRequestObject struct {
ActionPlanId ActionPlanId `json:"actionPlanId"`
}
type GetActionPlanResponseObject ¶
type GetActionPlanResponseObject interface {
VisitGetActionPlanResponse(w http.ResponseWriter) error
}
type GetActionRun200JSONResponse ¶
type GetActionRun200JSONResponse struct {
Body ActionRun
Headers GetActionRun200ResponseHeaders
}
func (GetActionRun200JSONResponse) VisitGetActionRunResponse ¶
func (response GetActionRun200JSONResponse) VisitGetActionRunResponse(w http.ResponseWriter) error
type GetActionRun200ResponseHeaders ¶
type GetActionRun200ResponseHeaders struct {
CacheControl *string
}
type GetActionRun404ApplicationProblemPlusJSONResponse ¶
type GetActionRun404ApplicationProblemPlusJSONResponse struct {
Problem404ApplicationProblemPlusJSONResponse
}
func (GetActionRun404ApplicationProblemPlusJSONResponse) VisitGetActionRunResponse ¶
func (response GetActionRun404ApplicationProblemPlusJSONResponse) VisitGetActionRunResponse(w http.ResponseWriter) error
type GetActionRunRequestObject ¶
type GetActionRunRequestObject struct {
ActionRunId ActionRunId `json:"actionRunId"`
}
type GetActionRunResponseObject ¶
type GetActionRunResponseObject interface {
VisitGetActionRunResponse(w http.ResponseWriter) error
}
type GetConfiguration200JSONResponse ¶
type GetConfiguration200JSONResponse struct {
Body Configuration
Headers GetConfiguration200ResponseHeaders
}
func (GetConfiguration200JSONResponse) VisitGetConfigurationResponse ¶
func (response GetConfiguration200JSONResponse) VisitGetConfigurationResponse(w http.ResponseWriter) error
type GetConfigurationRequestObject ¶
type GetConfigurationRequestObject struct {
}
type GetConfigurationResponseObject ¶
type GetConfigurationResponseObject interface {
VisitGetConfigurationResponse(w http.ResponseWriter) error
}
type GetConnection200JSONResponse ¶
type GetConnection200JSONResponse struct {
Body Connection
Headers GetConnection200ResponseHeaders
}
func (GetConnection200JSONResponse) VisitGetConnectionResponse ¶
func (response GetConnection200JSONResponse) VisitGetConnectionResponse(w http.ResponseWriter) error
type GetConnection404ApplicationProblemPlusJSONResponse ¶
type GetConnection404ApplicationProblemPlusJSONResponse struct {
Problem404ApplicationProblemPlusJSONResponse
}
func (GetConnection404ApplicationProblemPlusJSONResponse) VisitGetConnectionResponse ¶
func (response GetConnection404ApplicationProblemPlusJSONResponse) VisitGetConnectionResponse(w http.ResponseWriter) error
type GetConnectionCheck200JSONResponse ¶
type GetConnectionCheck200JSONResponse struct {
Body ConnectionCheck
Headers GetConnectionCheck200ResponseHeaders
}
func (GetConnectionCheck200JSONResponse) VisitGetConnectionCheckResponse ¶
func (response GetConnectionCheck200JSONResponse) VisitGetConnectionCheckResponse(w http.ResponseWriter) error
type GetConnectionCheck200ResponseHeaders ¶
type GetConnectionCheck200ResponseHeaders struct {
CacheControl *string
}
type GetConnectionCheck404ApplicationProblemPlusJSONResponse ¶
type GetConnectionCheck404ApplicationProblemPlusJSONResponse struct {
Problem404ApplicationProblemPlusJSONResponse
}
func (GetConnectionCheck404ApplicationProblemPlusJSONResponse) VisitGetConnectionCheckResponse ¶
func (response GetConnectionCheck404ApplicationProblemPlusJSONResponse) VisitGetConnectionCheckResponse(w http.ResponseWriter) error
type GetConnectionCheckRequestObject ¶
type GetConnectionCheckRequestObject struct {
ConnectionCheckId ConnectionCheckId `json:"connectionCheckId"`
}
type GetConnectionCheckResponseObject ¶
type GetConnectionCheckResponseObject interface {
VisitGetConnectionCheckResponse(w http.ResponseWriter) error
}
type GetConnectionOptions200JSONResponse ¶
type GetConnectionOptions200JSONResponse struct {
Body ConnectionOptions
Headers GetConnectionOptions200ResponseHeaders
}
func (GetConnectionOptions200JSONResponse) VisitGetConnectionOptionsResponse ¶
func (response GetConnectionOptions200JSONResponse) VisitGetConnectionOptionsResponse(w http.ResponseWriter) error
type GetConnectionOptions200ResponseHeaders ¶
type GetConnectionOptions200ResponseHeaders struct {
CacheControl *string
}
type GetConnectionOptions404ApplicationProblemPlusJSONResponse ¶
type GetConnectionOptions404ApplicationProblemPlusJSONResponse struct {
Problem404ApplicationProblemPlusJSONResponse
}
func (GetConnectionOptions404ApplicationProblemPlusJSONResponse) VisitGetConnectionOptionsResponse ¶
func (response GetConnectionOptions404ApplicationProblemPlusJSONResponse) VisitGetConnectionOptionsResponse(w http.ResponseWriter) error
type GetConnectionOptions503ApplicationProblemPlusJSONResponse ¶
type GetConnectionOptions503ApplicationProblemPlusJSONResponse struct {
Problem503ApplicationProblemPlusJSONResponse
}
func (GetConnectionOptions503ApplicationProblemPlusJSONResponse) VisitGetConnectionOptionsResponse ¶
func (response GetConnectionOptions503ApplicationProblemPlusJSONResponse) VisitGetConnectionOptionsResponse(w http.ResponseWriter) error
type GetConnectionOptionsRequestObject ¶
type GetConnectionOptionsRequestObject struct {
ConnectionId ConnectionId `json:"connectionId"`
}
type GetConnectionOptionsResponseObject ¶
type GetConnectionOptionsResponseObject interface {
VisitGetConnectionOptionsResponse(w http.ResponseWriter) error
}
type GetConnectionRequestObject ¶
type GetConnectionRequestObject struct {
ConnectionId ConnectionId `json:"connectionId"`
}
type GetConnectionResponseObject ¶
type GetConnectionResponseObject interface {
VisitGetConnectionResponse(w http.ResponseWriter) error
}
type GetDescriptor200JSONResponse ¶
type GetDescriptor200JSONResponse struct {
Body Descriptor
Headers GetDescriptor200ResponseHeaders
}
func (GetDescriptor200JSONResponse) VisitGetDescriptorResponse ¶
func (response GetDescriptor200JSONResponse) VisitGetDescriptorResponse(w http.ResponseWriter) error
type GetDescriptor200ResponseHeaders ¶
type GetDescriptor200ResponseHeaders struct {
CacheControl *string
}
type GetDescriptor404ApplicationProblemPlusJSONResponse ¶
type GetDescriptor404ApplicationProblemPlusJSONResponse struct {
Problem404ApplicationProblemPlusJSONResponse
}
func (GetDescriptor404ApplicationProblemPlusJSONResponse) VisitGetDescriptorResponse ¶
func (response GetDescriptor404ApplicationProblemPlusJSONResponse) VisitGetDescriptorResponse(w http.ResponseWriter) error
type GetDescriptorContent200ApplicationoctetStreamResponse ¶
type GetDescriptorContent200ApplicationoctetStreamResponse struct {
Body io.Reader
Headers GetDescriptorContent200ResponseHeaders
ContentLength int64
}
func (GetDescriptorContent200ApplicationoctetStreamResponse) VisitGetDescriptorContentResponse ¶
func (response GetDescriptorContent200ApplicationoctetStreamResponse) VisitGetDescriptorContentResponse(w http.ResponseWriter) error
type GetDescriptorContent404ApplicationProblemPlusJSONResponse ¶
type GetDescriptorContent404ApplicationProblemPlusJSONResponse struct {
Problem404ApplicationProblemPlusJSONResponse
}
func (GetDescriptorContent404ApplicationProblemPlusJSONResponse) VisitGetDescriptorContentResponse ¶
func (response GetDescriptorContent404ApplicationProblemPlusJSONResponse) VisitGetDescriptorContentResponse(w http.ResponseWriter) error
type GetDescriptorContentRequestObject ¶
type GetDescriptorContentRequestObject struct {
DescriptorId DescriptorId `json:"descriptorId"`
}
type GetDescriptorContentResponseObject ¶
type GetDescriptorContentResponseObject interface {
VisitGetDescriptorContentResponse(w http.ResponseWriter) error
}
type GetDescriptorRequestObject ¶
type GetDescriptorRequestObject struct {
DescriptorId DescriptorId `json:"descriptorId"`
}
type GetDescriptorResponseObject ¶
type GetDescriptorResponseObject interface {
VisitGetDescriptorResponse(w http.ResponseWriter) error
}
type GetDiscovery200JSONResponse ¶
type GetDiscovery200JSONResponse struct {
Body Discovery
Headers GetDiscovery200ResponseHeaders
}
func (GetDiscovery200JSONResponse) VisitGetDiscoveryResponse ¶
func (response GetDiscovery200JSONResponse) VisitGetDiscoveryResponse(w http.ResponseWriter) error
type GetDiscovery200ResponseHeaders ¶
type GetDiscovery200ResponseHeaders struct {
CacheControl *string
}
type GetDiscovery404ApplicationProblemPlusJSONResponse ¶
type GetDiscovery404ApplicationProblemPlusJSONResponse struct {
Problem404ApplicationProblemPlusJSONResponse
}
func (GetDiscovery404ApplicationProblemPlusJSONResponse) VisitGetDiscoveryResponse ¶
func (response GetDiscovery404ApplicationProblemPlusJSONResponse) VisitGetDiscoveryResponse(w http.ResponseWriter) error
type GetDiscoveryRequestObject ¶
type GetDiscoveryRequestObject struct {
DiscoveryId DiscoveryId `json:"discoveryId"`
}
type GetDiscoveryResponseObject ¶
type GetDiscoveryResponseObject interface {
VisitGetDiscoveryResponse(w http.ResponseWriter) error
}
type GetDownload200JSONResponse ¶
type GetDownload200JSONResponse struct {
Body Download
Headers GetDownload200ResponseHeaders
}
func (GetDownload200JSONResponse) VisitGetDownloadResponse ¶
func (response GetDownload200JSONResponse) VisitGetDownloadResponse(w http.ResponseWriter) error
type GetDownload200ResponseHeaders ¶
type GetDownload200ResponseHeaders struct {
CacheControl *string
}
type GetDownload404ApplicationProblemPlusJSONResponse ¶
type GetDownload404ApplicationProblemPlusJSONResponse struct {
Problem404ApplicationProblemPlusJSONResponse
}
func (GetDownload404ApplicationProblemPlusJSONResponse) VisitGetDownloadResponse ¶
func (response GetDownload404ApplicationProblemPlusJSONResponse) VisitGetDownloadResponse(w http.ResponseWriter) error
type GetDownloadRequestObject ¶
type GetDownloadRequestObject struct {
DownloadId DownloadId `json:"downloadId"`
}
type GetDownloadResponseObject ¶
type GetDownloadResponseObject interface {
VisitGetDownloadResponse(w http.ResponseWriter) error
}
type GetLiveHealth200JSONResponse ¶
type GetLiveHealth200JSONResponse Health
func (GetLiveHealth200JSONResponse) VisitGetLiveHealthResponse ¶
func (response GetLiveHealth200JSONResponse) VisitGetLiveHealthResponse(w http.ResponseWriter) error
type GetLiveHealthRequestObject ¶
type GetLiveHealthRequestObject struct {
}
type GetLiveHealthResponseObject ¶
type GetLiveHealthResponseObject interface {
VisitGetLiveHealthResponse(w http.ResponseWriter) error
}
type GetMedia200JSONResponse ¶
type GetMedia200JSONResponse struct {
Body Media
Headers GetMedia200ResponseHeaders
}
func (GetMedia200JSONResponse) VisitGetMediaResponse ¶
func (response GetMedia200JSONResponse) VisitGetMediaResponse(w http.ResponseWriter) error
type GetMedia200ResponseHeaders ¶
type GetMedia200ResponseHeaders struct {
CacheControl *string
}
type GetMedia404ApplicationProblemPlusJSONResponse ¶
type GetMedia404ApplicationProblemPlusJSONResponse struct {
Problem404ApplicationProblemPlusJSONResponse
}
func (GetMedia404ApplicationProblemPlusJSONResponse) VisitGetMediaResponse ¶
func (response GetMedia404ApplicationProblemPlusJSONResponse) VisitGetMediaResponse(w http.ResponseWriter) error
type GetMediaRequestObject ¶
type GetMediaRequestObject struct {
MediaId MediaId `json:"mediaId"`
}
type GetMediaResponseObject ¶
type GetMediaResponseObject interface {
VisitGetMediaResponse(w http.ResponseWriter) error
}
type GetPathMapping200JSONResponse ¶
type GetPathMapping200JSONResponse struct {
Body PathMapping
Headers GetPathMapping200ResponseHeaders
}
func (GetPathMapping200JSONResponse) VisitGetPathMappingResponse ¶
func (response GetPathMapping200JSONResponse) VisitGetPathMappingResponse(w http.ResponseWriter) error
type GetPathMapping404ApplicationProblemPlusJSONResponse ¶
type GetPathMapping404ApplicationProblemPlusJSONResponse struct {
Problem404ApplicationProblemPlusJSONResponse
}
func (GetPathMapping404ApplicationProblemPlusJSONResponse) VisitGetPathMappingResponse ¶
func (response GetPathMapping404ApplicationProblemPlusJSONResponse) VisitGetPathMappingResponse(w http.ResponseWriter) error
type GetPathMappingRequestObject ¶
type GetPathMappingRequestObject struct {
PathMappingId PathMappingId `json:"pathMappingId"`
}
type GetPathMappingResponseObject ¶
type GetPathMappingResponseObject interface {
VisitGetPathMappingResponse(w http.ResponseWriter) error
}
type GetReadyHealth200JSONResponse ¶
type GetReadyHealth200JSONResponse Health
func (GetReadyHealth200JSONResponse) VisitGetReadyHealthResponse ¶
func (response GetReadyHealth200JSONResponse) VisitGetReadyHealthResponse(w http.ResponseWriter) error
type GetReadyHealth503ApplicationProblemPlusJSONResponse ¶
type GetReadyHealth503ApplicationProblemPlusJSONResponse struct {
Problem503ApplicationProblemPlusJSONResponse
}
func (GetReadyHealth503ApplicationProblemPlusJSONResponse) VisitGetReadyHealthResponse ¶
func (response GetReadyHealth503ApplicationProblemPlusJSONResponse) VisitGetReadyHealthResponse(w http.ResponseWriter) error
type GetReadyHealthRequestObject ¶
type GetReadyHealthRequestObject struct {
}
type GetReadyHealthResponseObject ¶
type GetReadyHealthResponseObject interface {
VisitGetReadyHealthResponse(w http.ResponseWriter) error
}
type GetReviewDecision200JSONResponse ¶
type GetReviewDecision200JSONResponse struct {
Body ReviewDecision
Headers GetReviewDecision200ResponseHeaders
}
func (GetReviewDecision200JSONResponse) VisitGetReviewDecisionResponse ¶
func (response GetReviewDecision200JSONResponse) VisitGetReviewDecisionResponse(w http.ResponseWriter) error
type GetReviewDecision200ResponseHeaders ¶
type GetReviewDecision200ResponseHeaders struct {
CacheControl *string
}
type GetReviewDecision404ApplicationProblemPlusJSONResponse ¶
type GetReviewDecision404ApplicationProblemPlusJSONResponse struct {
Problem404ApplicationProblemPlusJSONResponse
}
func (GetReviewDecision404ApplicationProblemPlusJSONResponse) VisitGetReviewDecisionResponse ¶
func (response GetReviewDecision404ApplicationProblemPlusJSONResponse) VisitGetReviewDecisionResponse(w http.ResponseWriter) error
type GetReviewDecisionRequestObject ¶
type GetReviewDecisionRequestObject struct {
ReviewDecisionId ReviewDecisionId `json:"reviewDecisionId"`
}
type GetReviewDecisionResponseObject ¶
type GetReviewDecisionResponseObject interface {
VisitGetReviewDecisionResponse(w http.ResponseWriter) error
}
type GetScan200JSONResponse ¶
type GetScan200JSONResponse struct {
Body Scan
Headers GetScan200ResponseHeaders
}
func (GetScan200JSONResponse) VisitGetScanResponse ¶
func (response GetScan200JSONResponse) VisitGetScanResponse(w http.ResponseWriter) error
type GetScan200ResponseHeaders ¶
type GetScan200ResponseHeaders struct {
CacheControl *string
}
type GetScan404ApplicationProblemPlusJSONResponse ¶
type GetScan404ApplicationProblemPlusJSONResponse struct {
Problem404ApplicationProblemPlusJSONResponse
}
func (GetScan404ApplicationProblemPlusJSONResponse) VisitGetScanResponse ¶
func (response GetScan404ApplicationProblemPlusJSONResponse) VisitGetScanResponse(w http.ResponseWriter) error
type GetScanRequestObject ¶
type GetScanRequestObject struct {
ScanId ScanId `json:"scanId"`
}
type GetScanResponseObject ¶
type GetScanResponseObject interface {
VisitGetScanResponse(w http.ResponseWriter) error
}
type GetStorageRoot200JSONResponse ¶
type GetStorageRoot200JSONResponse struct {
Body StorageRoot
Headers GetStorageRoot200ResponseHeaders
}
func (GetStorageRoot200JSONResponse) VisitGetStorageRootResponse ¶
func (response GetStorageRoot200JSONResponse) VisitGetStorageRootResponse(w http.ResponseWriter) error
type GetStorageRoot404ApplicationProblemPlusJSONResponse ¶
type GetStorageRoot404ApplicationProblemPlusJSONResponse struct {
Problem404ApplicationProblemPlusJSONResponse
}
func (GetStorageRoot404ApplicationProblemPlusJSONResponse) VisitGetStorageRootResponse ¶
func (response GetStorageRoot404ApplicationProblemPlusJSONResponse) VisitGetStorageRootResponse(w http.ResponseWriter) error
type GetStorageRootRequestObject ¶
type GetStorageRootRequestObject struct {
StorageRootId StorageRootId `json:"storageRootId"`
}
type GetStorageRootResponseObject ¶
type GetStorageRootResponseObject interface {
VisitGetStorageRootResponse(w http.ResponseWriter) error
}
type GetTrash200JSONResponse ¶
type GetTrash200JSONResponse struct {
Body TrashEntry
Headers GetTrash200ResponseHeaders
}
func (GetTrash200JSONResponse) VisitGetTrashResponse ¶
func (response GetTrash200JSONResponse) VisitGetTrashResponse(w http.ResponseWriter) error
type GetTrash200ResponseHeaders ¶
type GetTrash200ResponseHeaders struct {
CacheControl *string
}
type GetTrash404ApplicationProblemPlusJSONResponse ¶
type GetTrash404ApplicationProblemPlusJSONResponse struct {
Problem404ApplicationProblemPlusJSONResponse
}
func (GetTrash404ApplicationProblemPlusJSONResponse) VisitGetTrashResponse ¶
func (response GetTrash404ApplicationProblemPlusJSONResponse) VisitGetTrashResponse(w http.ResponseWriter) error
type GetTrashRequestObject ¶
type GetTrashRequestObject struct {
TrashId TrashId `json:"trashId"`
}
type GetTrashResponseObject ¶
type GetTrashResponseObject interface {
VisitGetTrashResponse(w http.ResponseWriter) error
}
type GetWorkflowRun200JSONResponse ¶
type GetWorkflowRun200JSONResponse struct {
Body WorkflowRun
Headers GetWorkflowRun200ResponseHeaders
}
func (GetWorkflowRun200JSONResponse) VisitGetWorkflowRunResponse ¶
func (response GetWorkflowRun200JSONResponse) VisitGetWorkflowRunResponse(w http.ResponseWriter) error
type GetWorkflowRun200ResponseHeaders ¶
type GetWorkflowRun200ResponseHeaders struct {
CacheControl *string
}
type GetWorkflowRun404ApplicationProblemPlusJSONResponse ¶
type GetWorkflowRun404ApplicationProblemPlusJSONResponse struct {
Problem404ApplicationProblemPlusJSONResponse
}
func (GetWorkflowRun404ApplicationProblemPlusJSONResponse) VisitGetWorkflowRunResponse ¶
func (response GetWorkflowRun404ApplicationProblemPlusJSONResponse) VisitGetWorkflowRunResponse(w http.ResponseWriter) error
type GetWorkflowRunRequestObject ¶
type GetWorkflowRunRequestObject struct {
WorkflowRunId WorkflowRunId `json:"workflowRunId"`
}
type GetWorkflowRunResponseObject ¶
type GetWorkflowRunResponseObject interface {
VisitGetWorkflowRunResponse(w http.ResponseWriter) error
}
type Health ¶
type Health struct {
ObservedAt Timestamp `json:"observedAt"`
Reason *string `json:"reason,omitempty"`
Status HealthStatus `json:"status"`
}
Health defines model for Health.
type HealthStatus ¶
type HealthStatus string
HealthStatus defines model for Health.Status.
const ( HealthStatusDegraded HealthStatus = "degraded" HealthStatusNotReady HealthStatus = "not_ready" HealthStatusOk HealthStatus = "ok" )
Defines values for HealthStatus.
func (HealthStatus) Valid ¶
func (e HealthStatus) Valid() bool
Valid indicates whether the value is a known member of the HealthStatus enum.
type ImportFile ¶
type ImportFile struct {
Forced *bool `json:"forced,omitempty"`
HearingImpaired *bool `json:"hearingImpaired,omitempty"`
Language *string `json:"language,omitempty"`
MovieOrEpisodeId int `json:"movieOrEpisodeId"`
Source FileTarget `json:"source"`
Subtitle *bool `json:"subtitle,omitempty"`
}
ImportFile defines model for ImportFile.
type InvalidParamFormatError ¶
func (*InvalidParamFormatError) Error ¶
func (e *InvalidParamFormatError) Error() string
func (*InvalidParamFormatError) Unwrap ¶
func (e *InvalidParamFormatError) Unwrap() error
type JellyfinItemRefreshInput ¶
type JellyfinItemRefreshInput struct {
ConnectionId ConfigId `json:"connectionId"`
ItemId string `json:"itemId"`
Kind JellyfinItemRefreshInputKind `json:"kind"`
Scope JellyfinItemRefreshInputScope `json:"scope"`
}
JellyfinItemRefreshInput defines model for JellyfinItemRefreshInput.
type JellyfinItemRefreshInputKind ¶
type JellyfinItemRefreshInputKind string
JellyfinItemRefreshInputKind defines model for JellyfinItemRefreshInput.Kind.
const (
JellyfinItemRefreshInputKindJellyfinRefresh JellyfinItemRefreshInputKind = "jellyfin.refresh"
)
Defines values for JellyfinItemRefreshInputKind.
func (JellyfinItemRefreshInputKind) Valid ¶
func (e JellyfinItemRefreshInputKind) Valid() bool
Valid indicates whether the value is a known member of the JellyfinItemRefreshInputKind enum.
type JellyfinItemRefreshInputScope ¶
type JellyfinItemRefreshInputScope string
JellyfinItemRefreshInputScope defines model for JellyfinItemRefreshInput.Scope.
const (
Item JellyfinItemRefreshInputScope = "item"
)
Defines values for JellyfinItemRefreshInputScope.
func (JellyfinItemRefreshInputScope) Valid ¶
func (e JellyfinItemRefreshInputScope) Valid() bool
Valid indicates whether the value is a known member of the JellyfinItemRefreshInputScope enum.
type JellyfinLibraryRefreshInput ¶
type JellyfinLibraryRefreshInput struct {
ConnectionId ConfigId `json:"connectionId"`
Kind JellyfinLibraryRefreshInputKind `json:"kind"`
Scope JellyfinLibraryRefreshInputScope `json:"scope"`
}
JellyfinLibraryRefreshInput defines model for JellyfinLibraryRefreshInput.
type JellyfinLibraryRefreshInputKind ¶
type JellyfinLibraryRefreshInputKind string
JellyfinLibraryRefreshInputKind defines model for JellyfinLibraryRefreshInput.Kind.
const (
JellyfinLibraryRefreshInputKindJellyfinRefresh JellyfinLibraryRefreshInputKind = "jellyfin.refresh"
)
Defines values for JellyfinLibraryRefreshInputKind.
func (JellyfinLibraryRefreshInputKind) Valid ¶
func (e JellyfinLibraryRefreshInputKind) Valid() bool
Valid indicates whether the value is a known member of the JellyfinLibraryRefreshInputKind enum.
type JellyfinLibraryRefreshInputScope ¶
type JellyfinLibraryRefreshInputScope string
JellyfinLibraryRefreshInputScope defines model for JellyfinLibraryRefreshInput.Scope.
const (
JellyfinLibraryRefreshInputScopeLibrary JellyfinLibraryRefreshInputScope = "library"
)
Defines values for JellyfinLibraryRefreshInputScope.
func (JellyfinLibraryRefreshInputScope) Valid ¶
func (e JellyfinLibraryRefreshInputScope) Valid() bool
Valid indicates whether the value is a known member of the JellyfinLibraryRefreshInputScope enum.
type JellyfinOptions ¶
type JellyfinOptions struct {
Kind JellyfinOptionsKind `json:"kind"`
Libraries []OptionItem `json:"libraries"`
}
JellyfinOptions defines model for JellyfinOptions.
type JellyfinOptionsKind ¶
type JellyfinOptionsKind string
JellyfinOptionsKind defines model for JellyfinOptions.Kind.
const (
JellyfinOptionsKindJellyfin JellyfinOptionsKind = "jellyfin"
)
Defines values for JellyfinOptionsKind.
func (JellyfinOptionsKind) Valid ¶
func (e JellyfinOptionsKind) Valid() bool
Valid indicates whether the value is a known member of the JellyfinOptionsKind enum.
type JellyfinRefreshInput ¶
type JellyfinRefreshInput struct {
// contains filtered or unexported fields
}
JellyfinRefreshInput defines model for JellyfinRefreshInput.
func (JellyfinRefreshInput) AsJellyfinItemRefreshInput ¶
func (t JellyfinRefreshInput) AsJellyfinItemRefreshInput() (JellyfinItemRefreshInput, error)
AsJellyfinItemRefreshInput returns the union data inside the JellyfinRefreshInput as a JellyfinItemRefreshInput
func (JellyfinRefreshInput) AsJellyfinLibraryRefreshInput ¶
func (t JellyfinRefreshInput) AsJellyfinLibraryRefreshInput() (JellyfinLibraryRefreshInput, error)
AsJellyfinLibraryRefreshInput returns the union data inside the JellyfinRefreshInput as a JellyfinLibraryRefreshInput
func (*JellyfinRefreshInput) FromJellyfinItemRefreshInput ¶
func (t *JellyfinRefreshInput) FromJellyfinItemRefreshInput(v JellyfinItemRefreshInput) error
FromJellyfinItemRefreshInput overwrites any union data inside the JellyfinRefreshInput as the provided JellyfinItemRefreshInput
func (*JellyfinRefreshInput) FromJellyfinLibraryRefreshInput ¶
func (t *JellyfinRefreshInput) FromJellyfinLibraryRefreshInput(v JellyfinLibraryRefreshInput) error
FromJellyfinLibraryRefreshInput overwrites any union data inside the JellyfinRefreshInput as the provided JellyfinLibraryRefreshInput
func (JellyfinRefreshInput) MarshalJSON ¶
func (t JellyfinRefreshInput) MarshalJSON() ([]byte, error)
func (*JellyfinRefreshInput) MergeJellyfinItemRefreshInput ¶
func (t *JellyfinRefreshInput) MergeJellyfinItemRefreshInput(v JellyfinItemRefreshInput) error
MergeJellyfinItemRefreshInput performs a merge with any union data inside the JellyfinRefreshInput, using the provided JellyfinItemRefreshInput
func (*JellyfinRefreshInput) MergeJellyfinLibraryRefreshInput ¶
func (t *JellyfinRefreshInput) MergeJellyfinLibraryRefreshInput(v JellyfinLibraryRefreshInput) error
MergeJellyfinLibraryRefreshInput performs a merge with any union data inside the JellyfinRefreshInput, using the provided JellyfinLibraryRefreshInput
func (*JellyfinRefreshInput) UnmarshalJSON ¶
func (t *JellyfinRefreshInput) UnmarshalJSON(b []byte) error
type ListActionAttempts200JSONResponse ¶
type ListActionAttempts200JSONResponse struct {
Body AttemptList
Headers ListActionAttempts200ResponseHeaders
}
func (ListActionAttempts200JSONResponse) VisitListActionAttemptsResponse ¶
func (response ListActionAttempts200JSONResponse) VisitListActionAttemptsResponse(w http.ResponseWriter) error
type ListActionAttempts200ResponseHeaders ¶
type ListActionAttempts200ResponseHeaders struct {
CacheControl *string
}
type ListActionAttempts404ApplicationProblemPlusJSONResponse ¶
type ListActionAttempts404ApplicationProblemPlusJSONResponse struct {
Problem404ApplicationProblemPlusJSONResponse
}
func (ListActionAttempts404ApplicationProblemPlusJSONResponse) VisitListActionAttemptsResponse ¶
func (response ListActionAttempts404ApplicationProblemPlusJSONResponse) VisitListActionAttemptsResponse(w http.ResponseWriter) error
type ListActionAttempts409ApplicationProblemPlusJSONResponse ¶
type ListActionAttempts409ApplicationProblemPlusJSONResponse struct {
ProblemSnapshotExpiredApplicationProblemPlusJSONResponse
}
func (ListActionAttempts409ApplicationProblemPlusJSONResponse) VisitListActionAttemptsResponse ¶
func (response ListActionAttempts409ApplicationProblemPlusJSONResponse) VisitListActionAttemptsResponse(w http.ResponseWriter) error
type ListActionAttemptsParams ¶
type ListActionAttemptsParams struct {
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
}
ListActionAttemptsParams defines parameters for ListActionAttempts.
type ListActionAttemptsRequestObject ¶
type ListActionAttemptsRequestObject struct {
ActionRunId ActionRunId `json:"actionRunId"`
Params ListActionAttemptsParams
}
type ListActionAttemptsResponseObject ¶
type ListActionAttemptsResponseObject interface {
VisitListActionAttemptsResponse(w http.ResponseWriter) error
}
type ListActionPlans200JSONResponse ¶
type ListActionPlans200JSONResponse struct {
Body ActionPlanList
Headers ListActionPlans200ResponseHeaders
}
func (ListActionPlans200JSONResponse) VisitListActionPlansResponse ¶
func (response ListActionPlans200JSONResponse) VisitListActionPlansResponse(w http.ResponseWriter) error
type ListActionPlans200ResponseHeaders ¶
type ListActionPlans200ResponseHeaders struct {
CacheControl *string
}
type ListActionPlans409ApplicationProblemPlusJSONResponse ¶
type ListActionPlans409ApplicationProblemPlusJSONResponse struct {
ProblemSnapshotExpiredApplicationProblemPlusJSONResponse
}
func (ListActionPlans409ApplicationProblemPlusJSONResponse) VisitListActionPlansResponse ¶
func (response ListActionPlans409ApplicationProblemPlusJSONResponse) VisitListActionPlansResponse(w http.ResponseWriter) error
type ListActionPlansParams ¶
type ListActionPlansParams struct {
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
}
ListActionPlansParams defines parameters for ListActionPlans.
type ListActionPlansRequestObject ¶
type ListActionPlansRequestObject struct {
Params ListActionPlansParams
}
type ListActionPlansResponseObject ¶
type ListActionPlansResponseObject interface {
VisitListActionPlansResponse(w http.ResponseWriter) error
}
type ListActionRuns200JSONResponse ¶
type ListActionRuns200JSONResponse struct {
Body ActionRunList
Headers ListActionRuns200ResponseHeaders
}
func (ListActionRuns200JSONResponse) VisitListActionRunsResponse ¶
func (response ListActionRuns200JSONResponse) VisitListActionRunsResponse(w http.ResponseWriter) error
type ListActionRuns200ResponseHeaders ¶
type ListActionRuns200ResponseHeaders struct {
CacheControl *string
}
type ListActionRuns409ApplicationProblemPlusJSONResponse ¶
type ListActionRuns409ApplicationProblemPlusJSONResponse struct {
ProblemSnapshotExpiredApplicationProblemPlusJSONResponse
}
func (ListActionRuns409ApplicationProblemPlusJSONResponse) VisitListActionRunsResponse ¶
func (response ListActionRuns409ApplicationProblemPlusJSONResponse) VisitListActionRunsResponse(w http.ResponseWriter) error
type ListActionRunsParams ¶
type ListActionRunsParams struct {
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
}
ListActionRunsParams defines parameters for ListActionRuns.
type ListActionRunsRequestObject ¶
type ListActionRunsRequestObject struct {
Params ListActionRunsParams
}
type ListActionRunsResponseObject ¶
type ListActionRunsResponseObject interface {
VisitListActionRunsResponse(w http.ResponseWriter) error
}
type ListAuditEvents200JSONResponse ¶
type ListAuditEvents200JSONResponse struct {
Body AuditEventList
Headers ListAuditEvents200ResponseHeaders
}
func (ListAuditEvents200JSONResponse) VisitListAuditEventsResponse ¶
func (response ListAuditEvents200JSONResponse) VisitListAuditEventsResponse(w http.ResponseWriter) error
type ListAuditEvents200ResponseHeaders ¶
type ListAuditEvents200ResponseHeaders struct {
CacheControl *string
}
type ListAuditEvents409ApplicationProblemPlusJSONResponse ¶
type ListAuditEvents409ApplicationProblemPlusJSONResponse struct {
ProblemSnapshotExpiredApplicationProblemPlusJSONResponse
}
func (ListAuditEvents409ApplicationProblemPlusJSONResponse) VisitListAuditEventsResponse ¶
func (response ListAuditEvents409ApplicationProblemPlusJSONResponse) VisitListAuditEventsResponse(w http.ResponseWriter) error
type ListAuditEventsParams ¶
type ListAuditEventsParams struct {
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
}
ListAuditEventsParams defines parameters for ListAuditEvents.
type ListAuditEventsRequestObject ¶
type ListAuditEventsRequestObject struct {
Params ListAuditEventsParams
}
type ListAuditEventsResponseObject ¶
type ListAuditEventsResponseObject interface {
VisitListAuditEventsResponse(w http.ResponseWriter) error
}
type ListConnectionChecks200JSONResponse ¶
type ListConnectionChecks200JSONResponse struct {
Body ConnectionCheckList
Headers ListConnectionChecks200ResponseHeaders
}
func (ListConnectionChecks200JSONResponse) VisitListConnectionChecksResponse ¶
func (response ListConnectionChecks200JSONResponse) VisitListConnectionChecksResponse(w http.ResponseWriter) error
type ListConnectionChecks200ResponseHeaders ¶
type ListConnectionChecks200ResponseHeaders struct {
CacheControl *string
}
type ListConnectionChecks409ApplicationProblemPlusJSONResponse ¶
type ListConnectionChecks409ApplicationProblemPlusJSONResponse struct {
ProblemSnapshotExpiredApplicationProblemPlusJSONResponse
}
func (ListConnectionChecks409ApplicationProblemPlusJSONResponse) VisitListConnectionChecksResponse ¶
func (response ListConnectionChecks409ApplicationProblemPlusJSONResponse) VisitListConnectionChecksResponse(w http.ResponseWriter) error
type ListConnectionChecksParams ¶
type ListConnectionChecksParams struct {
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
}
ListConnectionChecksParams defines parameters for ListConnectionChecks.
type ListConnectionChecksRequestObject ¶
type ListConnectionChecksRequestObject struct {
Params ListConnectionChecksParams
}
type ListConnectionChecksResponseObject ¶
type ListConnectionChecksResponseObject interface {
VisitListConnectionChecksResponse(w http.ResponseWriter) error
}
type ListConnections200JSONResponse ¶
type ListConnections200JSONResponse struct {
Body ConnectionList
Headers ListConnections200ResponseHeaders
}
func (ListConnections200JSONResponse) VisitListConnectionsResponse ¶
func (response ListConnections200JSONResponse) VisitListConnectionsResponse(w http.ResponseWriter) error
type ListConnections200ResponseHeaders ¶
type ListConnections200ResponseHeaders struct {
CacheControl *string
}
type ListConnections409ApplicationProblemPlusJSONResponse ¶
type ListConnections409ApplicationProblemPlusJSONResponse struct {
ProblemSnapshotExpiredApplicationProblemPlusJSONResponse
}
func (ListConnections409ApplicationProblemPlusJSONResponse) VisitListConnectionsResponse ¶
func (response ListConnections409ApplicationProblemPlusJSONResponse) VisitListConnectionsResponse(w http.ResponseWriter) error
type ListConnectionsParams ¶
type ListConnectionsParams struct {
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
}
ListConnectionsParams defines parameters for ListConnections.
type ListConnectionsRequestObject ¶
type ListConnectionsRequestObject struct {
Params ListConnectionsParams
}
type ListConnectionsResponseObject ¶
type ListConnectionsResponseObject interface {
VisitListConnectionsResponse(w http.ResponseWriter) error
}
type ListDescriptors200JSONResponse ¶
type ListDescriptors200JSONResponse struct {
Body DescriptorList
Headers ListDescriptors200ResponseHeaders
}
func (ListDescriptors200JSONResponse) VisitListDescriptorsResponse ¶
func (response ListDescriptors200JSONResponse) VisitListDescriptorsResponse(w http.ResponseWriter) error
type ListDescriptors200ResponseHeaders ¶
type ListDescriptors200ResponseHeaders struct {
CacheControl *string
}
type ListDescriptors409ApplicationProblemPlusJSONResponse ¶
type ListDescriptors409ApplicationProblemPlusJSONResponse struct {
ProblemSnapshotExpiredApplicationProblemPlusJSONResponse
}
func (ListDescriptors409ApplicationProblemPlusJSONResponse) VisitListDescriptorsResponse ¶
func (response ListDescriptors409ApplicationProblemPlusJSONResponse) VisitListDescriptorsResponse(w http.ResponseWriter) error
type ListDescriptorsParams ¶
type ListDescriptorsParams struct {
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
}
ListDescriptorsParams defines parameters for ListDescriptors.
type ListDescriptorsRequestObject ¶
type ListDescriptorsRequestObject struct {
Params ListDescriptorsParams
}
type ListDescriptorsResponseObject ¶
type ListDescriptorsResponseObject interface {
VisitListDescriptorsResponse(w http.ResponseWriter) error
}
type ListDiscoveries200JSONResponse ¶
type ListDiscoveries200JSONResponse struct {
Body DiscoveryList
Headers ListDiscoveries200ResponseHeaders
}
func (ListDiscoveries200JSONResponse) VisitListDiscoveriesResponse ¶
func (response ListDiscoveries200JSONResponse) VisitListDiscoveriesResponse(w http.ResponseWriter) error
type ListDiscoveries200ResponseHeaders ¶
type ListDiscoveries200ResponseHeaders struct {
CacheControl *string
}
type ListDiscoveries409ApplicationProblemPlusJSONResponse ¶
type ListDiscoveries409ApplicationProblemPlusJSONResponse struct {
ProblemSnapshotExpiredApplicationProblemPlusJSONResponse
}
func (ListDiscoveries409ApplicationProblemPlusJSONResponse) VisitListDiscoveriesResponse ¶
func (response ListDiscoveries409ApplicationProblemPlusJSONResponse) VisitListDiscoveriesResponse(w http.ResponseWriter) error
type ListDiscoveriesParams ¶
type ListDiscoveriesParams struct {
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
RootId *RootFilter `form:"rootId,omitempty" json:"rootId,omitempty"`
}
ListDiscoveriesParams defines parameters for ListDiscoveries.
type ListDiscoveriesRequestObject ¶
type ListDiscoveriesRequestObject struct {
Params ListDiscoveriesParams
}
type ListDiscoveriesResponseObject ¶
type ListDiscoveriesResponseObject interface {
VisitListDiscoveriesResponse(w http.ResponseWriter) error
}
type ListDownloads200JSONResponse ¶
type ListDownloads200JSONResponse struct {
Body DownloadList
Headers ListDownloads200ResponseHeaders
}
func (ListDownloads200JSONResponse) VisitListDownloadsResponse ¶
func (response ListDownloads200JSONResponse) VisitListDownloadsResponse(w http.ResponseWriter) error
type ListDownloads200ResponseHeaders ¶
type ListDownloads200ResponseHeaders struct {
CacheControl *string
}
type ListDownloads409ApplicationProblemPlusJSONResponse ¶
type ListDownloads409ApplicationProblemPlusJSONResponse struct {
ProblemSnapshotExpiredApplicationProblemPlusJSONResponse
}
func (ListDownloads409ApplicationProblemPlusJSONResponse) VisitListDownloadsResponse ¶
func (response ListDownloads409ApplicationProblemPlusJSONResponse) VisitListDownloadsResponse(w http.ResponseWriter) error
type ListDownloadsParams ¶
type ListDownloadsParams struct {
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
ConnectionId *ConnectionFilter `form:"connectionId,omitempty" json:"connectionId,omitempty"`
}
ListDownloadsParams defines parameters for ListDownloads.
type ListDownloadsRequestObject ¶
type ListDownloadsRequestObject struct {
Params ListDownloadsParams
}
type ListDownloadsResponseObject ¶
type ListDownloadsResponseObject interface {
VisitListDownloadsResponse(w http.ResponseWriter) error
}
type ListMedia200JSONResponse ¶
type ListMedia200JSONResponse struct {
Body MediaList
Headers ListMedia200ResponseHeaders
}
func (ListMedia200JSONResponse) VisitListMediaResponse ¶
func (response ListMedia200JSONResponse) VisitListMediaResponse(w http.ResponseWriter) error
type ListMedia200ResponseHeaders ¶
type ListMedia200ResponseHeaders struct {
CacheControl *string
}
type ListMedia409ApplicationProblemPlusJSONResponse ¶
type ListMedia409ApplicationProblemPlusJSONResponse struct {
ProblemSnapshotExpiredApplicationProblemPlusJSONResponse
}
func (ListMedia409ApplicationProblemPlusJSONResponse) VisitListMediaResponse ¶
func (response ListMedia409ApplicationProblemPlusJSONResponse) VisitListMediaResponse(w http.ResponseWriter) error
type ListMediaParams ¶
type ListMediaParams struct {
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
Kind *MediaKindFilter `form:"kind,omitempty" json:"kind,omitempty"`
}
ListMediaParams defines parameters for ListMedia.
type ListMediaRequestObject ¶
type ListMediaRequestObject struct {
Params ListMediaParams
}
type ListMediaResponseObject ¶
type ListMediaResponseObject interface {
VisitListMediaResponse(w http.ResponseWriter) error
}
type ListMetadataCandidates200JSONResponse ¶
type ListMetadataCandidates200JSONResponse struct {
Body MetadataCandidateList
Headers ListMetadataCandidates200ResponseHeaders
}
func (ListMetadataCandidates200JSONResponse) VisitListMetadataCandidatesResponse ¶
func (response ListMetadataCandidates200JSONResponse) VisitListMetadataCandidatesResponse(w http.ResponseWriter) error
type ListMetadataCandidates200ResponseHeaders ¶
type ListMetadataCandidates200ResponseHeaders struct {
CacheControl *string
}
type ListMetadataCandidates400ApplicationProblemPlusJSONResponse ¶
type ListMetadataCandidates400ApplicationProblemPlusJSONResponse struct {
Problem400ApplicationProblemPlusJSONResponse
}
func (ListMetadataCandidates400ApplicationProblemPlusJSONResponse) VisitListMetadataCandidatesResponse ¶
func (response ListMetadataCandidates400ApplicationProblemPlusJSONResponse) VisitListMetadataCandidatesResponse(w http.ResponseWriter) error
type ListMetadataCandidates404ApplicationProblemPlusJSONResponse ¶
type ListMetadataCandidates404ApplicationProblemPlusJSONResponse struct {
Problem404ApplicationProblemPlusJSONResponse
}
func (ListMetadataCandidates404ApplicationProblemPlusJSONResponse) VisitListMetadataCandidatesResponse ¶
func (response ListMetadataCandidates404ApplicationProblemPlusJSONResponse) VisitListMetadataCandidatesResponse(w http.ResponseWriter) error
type ListMetadataCandidates409ApplicationProblemPlusJSONResponse ¶
type ListMetadataCandidates409ApplicationProblemPlusJSONResponse struct {
ProblemSnapshotExpiredApplicationProblemPlusJSONResponse
}
func (ListMetadataCandidates409ApplicationProblemPlusJSONResponse) VisitListMetadataCandidatesResponse ¶
func (response ListMetadataCandidates409ApplicationProblemPlusJSONResponse) VisitListMetadataCandidatesResponse(w http.ResponseWriter) error
type ListMetadataCandidates503ApplicationProblemPlusJSONResponse ¶
type ListMetadataCandidates503ApplicationProblemPlusJSONResponse struct {
Problem503ApplicationProblemPlusJSONResponse
}
func (ListMetadataCandidates503ApplicationProblemPlusJSONResponse) VisitListMetadataCandidatesResponse ¶
func (response ListMetadataCandidates503ApplicationProblemPlusJSONResponse) VisitListMetadataCandidatesResponse(w http.ResponseWriter) error
type ListMetadataCandidatesParams ¶
type ListMetadataCandidatesParams struct {
ConnectionId ConfigId `form:"connectionId" json:"connectionId"`
Kind MediaKind `form:"kind" json:"kind"`
Query string `form:"query" json:"query"`
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}
ListMetadataCandidatesParams defines parameters for ListMetadataCandidates.
type ListMetadataCandidatesRequestObject ¶
type ListMetadataCandidatesRequestObject struct {
Params ListMetadataCandidatesParams
}
type ListMetadataCandidatesResponseObject ¶
type ListMetadataCandidatesResponseObject interface {
VisitListMetadataCandidatesResponse(w http.ResponseWriter) error
}
type ListPathMappings200JSONResponse ¶
type ListPathMappings200JSONResponse struct {
Body PathMappingList
Headers ListPathMappings200ResponseHeaders
}
func (ListPathMappings200JSONResponse) VisitListPathMappingsResponse ¶
func (response ListPathMappings200JSONResponse) VisitListPathMappingsResponse(w http.ResponseWriter) error
type ListPathMappings200ResponseHeaders ¶
type ListPathMappings200ResponseHeaders struct {
CacheControl *string
}
type ListPathMappings409ApplicationProblemPlusJSONResponse ¶
type ListPathMappings409ApplicationProblemPlusJSONResponse struct {
ProblemSnapshotExpiredApplicationProblemPlusJSONResponse
}
func (ListPathMappings409ApplicationProblemPlusJSONResponse) VisitListPathMappingsResponse ¶
func (response ListPathMappings409ApplicationProblemPlusJSONResponse) VisitListPathMappingsResponse(w http.ResponseWriter) error
type ListPathMappingsParams ¶
type ListPathMappingsParams struct {
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
}
ListPathMappingsParams defines parameters for ListPathMappings.
type ListPathMappingsRequestObject ¶
type ListPathMappingsRequestObject struct {
Params ListPathMappingsParams
}
type ListPathMappingsResponseObject ¶
type ListPathMappingsResponseObject interface {
VisitListPathMappingsResponse(w http.ResponseWriter) error
}
type ListScans200JSONResponse ¶
type ListScans200JSONResponse struct {
Body ScanList
Headers ListScans200ResponseHeaders
}
func (ListScans200JSONResponse) VisitListScansResponse ¶
func (response ListScans200JSONResponse) VisitListScansResponse(w http.ResponseWriter) error
type ListScans200ResponseHeaders ¶
type ListScans200ResponseHeaders struct {
CacheControl *string
}
type ListScans409ApplicationProblemPlusJSONResponse ¶
type ListScans409ApplicationProblemPlusJSONResponse struct {
ProblemSnapshotExpiredApplicationProblemPlusJSONResponse
}
func (ListScans409ApplicationProblemPlusJSONResponse) VisitListScansResponse ¶
func (response ListScans409ApplicationProblemPlusJSONResponse) VisitListScansResponse(w http.ResponseWriter) error
type ListScansParams ¶
type ListScansParams struct {
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
}
ListScansParams defines parameters for ListScans.
type ListScansRequestObject ¶
type ListScansRequestObject struct {
Params ListScansParams
}
type ListScansResponseObject ¶
type ListScansResponseObject interface {
VisitListScansResponse(w http.ResponseWriter) error
}
type ListStorageRoots200JSONResponse ¶
type ListStorageRoots200JSONResponse struct {
Body StorageRootList
Headers ListStorageRoots200ResponseHeaders
}
func (ListStorageRoots200JSONResponse) VisitListStorageRootsResponse ¶
func (response ListStorageRoots200JSONResponse) VisitListStorageRootsResponse(w http.ResponseWriter) error
type ListStorageRoots200ResponseHeaders ¶
type ListStorageRoots200ResponseHeaders struct {
CacheControl *string
}
type ListStorageRoots409ApplicationProblemPlusJSONResponse ¶
type ListStorageRoots409ApplicationProblemPlusJSONResponse struct {
ProblemSnapshotExpiredApplicationProblemPlusJSONResponse
}
func (ListStorageRoots409ApplicationProblemPlusJSONResponse) VisitListStorageRootsResponse ¶
func (response ListStorageRoots409ApplicationProblemPlusJSONResponse) VisitListStorageRootsResponse(w http.ResponseWriter) error
type ListStorageRootsParams ¶
type ListStorageRootsParams struct {
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
}
ListStorageRootsParams defines parameters for ListStorageRoots.
type ListStorageRootsRequestObject ¶
type ListStorageRootsRequestObject struct {
Params ListStorageRootsParams
}
type ListStorageRootsResponseObject ¶
type ListStorageRootsResponseObject interface {
VisitListStorageRootsResponse(w http.ResponseWriter) error
}
type ListTrash200JSONResponse ¶
type ListTrash200JSONResponse struct {
Body TrashList
Headers ListTrash200ResponseHeaders
}
func (ListTrash200JSONResponse) VisitListTrashResponse ¶
func (response ListTrash200JSONResponse) VisitListTrashResponse(w http.ResponseWriter) error
type ListTrash200ResponseHeaders ¶
type ListTrash200ResponseHeaders struct {
CacheControl *string
}
type ListTrash409ApplicationProblemPlusJSONResponse ¶
type ListTrash409ApplicationProblemPlusJSONResponse struct {
ProblemSnapshotExpiredApplicationProblemPlusJSONResponse
}
func (ListTrash409ApplicationProblemPlusJSONResponse) VisitListTrashResponse ¶
func (response ListTrash409ApplicationProblemPlusJSONResponse) VisitListTrashResponse(w http.ResponseWriter) error
type ListTrashParams ¶
type ListTrashParams struct {
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
}
ListTrashParams defines parameters for ListTrash.
type ListTrashRequestObject ¶
type ListTrashRequestObject struct {
Params ListTrashParams
}
type ListTrashResponseObject ¶
type ListTrashResponseObject interface {
VisitListTrashResponse(w http.ResponseWriter) error
}
type ListWorkflowRuns200JSONResponse ¶
type ListWorkflowRuns200JSONResponse struct {
Body WorkflowRunList
Headers ListWorkflowRuns200ResponseHeaders
}
func (ListWorkflowRuns200JSONResponse) VisitListWorkflowRunsResponse ¶
func (response ListWorkflowRuns200JSONResponse) VisitListWorkflowRunsResponse(w http.ResponseWriter) error
type ListWorkflowRuns200ResponseHeaders ¶
type ListWorkflowRuns200ResponseHeaders struct {
CacheControl *string
}
type ListWorkflowRuns409ApplicationProblemPlusJSONResponse ¶
type ListWorkflowRuns409ApplicationProblemPlusJSONResponse struct {
ProblemSnapshotExpiredApplicationProblemPlusJSONResponse
}
func (ListWorkflowRuns409ApplicationProblemPlusJSONResponse) VisitListWorkflowRunsResponse ¶
func (response ListWorkflowRuns409ApplicationProblemPlusJSONResponse) VisitListWorkflowRunsResponse(w http.ResponseWriter) error
type ListWorkflowRunsParams ¶
type ListWorkflowRunsParams struct {
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
}
ListWorkflowRunsParams defines parameters for ListWorkflowRuns.
type ListWorkflowRunsRequestObject ¶
type ListWorkflowRunsRequestObject struct {
Params ListWorkflowRunsParams
}
type ListWorkflowRunsResponseObject ¶
type ListWorkflowRunsResponseObject interface {
VisitListWorkflowRunsResponse(w http.ResponseWriter) error
}
type Media ¶
type Media struct {
DiscoveryIds *[]Id `json:"discoveryIds,omitempty"`
Id Id `json:"id"`
Kind MediaKind `json:"kind"`
ObservedAt Timestamp `json:"observedAt"`
ProviderId string `json:"providerId"`
Title *string `json:"title,omitempty"`
Tracking []TrackingObservation `json:"tracking"`
}
Media defines model for Media.
type MediaKind ¶
type MediaKind string
MediaKind defines model for MediaKind.
type MediaKindFilter ¶
type MediaKindFilter = MediaKind
MediaKindFilter defines model for MediaKindFilter.
type MetadataCandidate ¶
type MetadataCandidate struct {
Episodes *[]int `json:"episodes,omitempty"`
ExternalId *string `json:"externalId,omitempty"`
Kind MediaKind `json:"kind"`
ProviderId *string `json:"providerId,omitempty"`
Score *float32 `json:"score,omitempty"`
Season *int `json:"season,omitempty"`
Title string `json:"title"`
Year *int `json:"year,omitempty"`
}
MetadataCandidate defines model for MetadataCandidate.
type MetadataCandidateList ¶
type MetadataCandidateList struct {
Items []MetadataCandidate `json:"items"`
Page Page `json:"page"`
}
MetadataCandidateList defines model for MetadataCandidateList.
type NullableTimestamp ¶
NullableTimestamp defines model for NullableTimestamp.
type OptionItem ¶
OptionItem defines model for OptionItem.
type Page ¶
type Page struct {
Coverage []Coverage `json:"coverage"`
NextCursor *string `json:"nextCursor"`
ObservedAt Timestamp `json:"observedAt"`
}
Page defines model for Page.
type PatchConnection200JSONResponse ¶
type PatchConnection200JSONResponse struct {
Body Connection
Headers PatchConnection200ResponseHeaders
}
func (PatchConnection200JSONResponse) VisitPatchConnectionResponse ¶
func (response PatchConnection200JSONResponse) VisitPatchConnectionResponse(w http.ResponseWriter) error
type PatchConnection400ApplicationProblemPlusJSONResponse ¶
type PatchConnection400ApplicationProblemPlusJSONResponse struct {
Problem400ApplicationProblemPlusJSONResponse
}
func (PatchConnection400ApplicationProblemPlusJSONResponse) VisitPatchConnectionResponse ¶
func (response PatchConnection400ApplicationProblemPlusJSONResponse) VisitPatchConnectionResponse(w http.ResponseWriter) error
type PatchConnection404ApplicationProblemPlusJSONResponse ¶
type PatchConnection404ApplicationProblemPlusJSONResponse struct {
Problem404ApplicationProblemPlusJSONResponse
}
func (PatchConnection404ApplicationProblemPlusJSONResponse) VisitPatchConnectionResponse ¶
func (response PatchConnection404ApplicationProblemPlusJSONResponse) VisitPatchConnectionResponse(w http.ResponseWriter) error
type PatchConnection409ApplicationProblemPlusJSONResponse ¶
type PatchConnection409ApplicationProblemPlusJSONResponse struct {
Problem409ApplicationProblemPlusJSONResponse
}
func (PatchConnection409ApplicationProblemPlusJSONResponse) VisitPatchConnectionResponse ¶
func (response PatchConnection409ApplicationProblemPlusJSONResponse) VisitPatchConnectionResponse(w http.ResponseWriter) error
type PatchConnection412ApplicationProblemPlusJSONResponse ¶
type PatchConnection412ApplicationProblemPlusJSONResponse struct {
Problem412ApplicationProblemPlusJSONResponse
}
func (PatchConnection412ApplicationProblemPlusJSONResponse) VisitPatchConnectionResponse ¶
func (response PatchConnection412ApplicationProblemPlusJSONResponse) VisitPatchConnectionResponse(w http.ResponseWriter) error
type PatchConnection428ApplicationProblemPlusJSONResponse ¶
type PatchConnection428ApplicationProblemPlusJSONResponse struct {
Problem428ApplicationProblemPlusJSONResponse
}
func (PatchConnection428ApplicationProblemPlusJSONResponse) VisitPatchConnectionResponse ¶
func (response PatchConnection428ApplicationProblemPlusJSONResponse) VisitPatchConnectionResponse(w http.ResponseWriter) error
type PatchConnectionJSONRequestBody ¶
type PatchConnectionJSONRequestBody = ConnectionPatch
PatchConnectionJSONRequestBody defines body for PatchConnection for application/json ContentType.
type PatchConnectionParams ¶
type PatchConnectionParams struct {
IfMatch IfMatch `json:"If-Match"`
IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}
PatchConnectionParams defines parameters for PatchConnection.
type PatchConnectionRequestObject ¶
type PatchConnectionRequestObject struct {
ConnectionId ConnectionId `json:"connectionId"`
Params PatchConnectionParams
Body *PatchConnectionJSONRequestBody
}
type PatchConnectionResponseObject ¶
type PatchConnectionResponseObject interface {
VisitPatchConnectionResponse(w http.ResponseWriter) error
}
type PatchPathMapping200JSONResponse ¶
type PatchPathMapping200JSONResponse struct {
Body PathMapping
Headers PatchPathMapping200ResponseHeaders
}
func (PatchPathMapping200JSONResponse) VisitPatchPathMappingResponse ¶
func (response PatchPathMapping200JSONResponse) VisitPatchPathMappingResponse(w http.ResponseWriter) error
type PatchPathMapping400ApplicationProblemPlusJSONResponse ¶
type PatchPathMapping400ApplicationProblemPlusJSONResponse struct {
Problem400ApplicationProblemPlusJSONResponse
}
func (PatchPathMapping400ApplicationProblemPlusJSONResponse) VisitPatchPathMappingResponse ¶
func (response PatchPathMapping400ApplicationProblemPlusJSONResponse) VisitPatchPathMappingResponse(w http.ResponseWriter) error
type PatchPathMapping404ApplicationProblemPlusJSONResponse ¶
type PatchPathMapping404ApplicationProblemPlusJSONResponse struct {
Problem404ApplicationProblemPlusJSONResponse
}
func (PatchPathMapping404ApplicationProblemPlusJSONResponse) VisitPatchPathMappingResponse ¶
func (response PatchPathMapping404ApplicationProblemPlusJSONResponse) VisitPatchPathMappingResponse(w http.ResponseWriter) error
type PatchPathMapping409ApplicationProblemPlusJSONResponse ¶
type PatchPathMapping409ApplicationProblemPlusJSONResponse struct {
Problem409ApplicationProblemPlusJSONResponse
}
func (PatchPathMapping409ApplicationProblemPlusJSONResponse) VisitPatchPathMappingResponse ¶
func (response PatchPathMapping409ApplicationProblemPlusJSONResponse) VisitPatchPathMappingResponse(w http.ResponseWriter) error
type PatchPathMapping412ApplicationProblemPlusJSONResponse ¶
type PatchPathMapping412ApplicationProblemPlusJSONResponse struct {
Problem412ApplicationProblemPlusJSONResponse
}
func (PatchPathMapping412ApplicationProblemPlusJSONResponse) VisitPatchPathMappingResponse ¶
func (response PatchPathMapping412ApplicationProblemPlusJSONResponse) VisitPatchPathMappingResponse(w http.ResponseWriter) error
type PatchPathMapping428ApplicationProblemPlusJSONResponse ¶
type PatchPathMapping428ApplicationProblemPlusJSONResponse struct {
Problem428ApplicationProblemPlusJSONResponse
}
func (PatchPathMapping428ApplicationProblemPlusJSONResponse) VisitPatchPathMappingResponse ¶
func (response PatchPathMapping428ApplicationProblemPlusJSONResponse) VisitPatchPathMappingResponse(w http.ResponseWriter) error
type PatchPathMappingJSONRequestBody ¶
type PatchPathMappingJSONRequestBody = PathMappingPatch
PatchPathMappingJSONRequestBody defines body for PatchPathMapping for application/json ContentType.
type PatchPathMappingParams ¶
type PatchPathMappingParams struct {
IfMatch IfMatch `json:"If-Match"`
IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}
PatchPathMappingParams defines parameters for PatchPathMapping.
type PatchPathMappingRequestObject ¶
type PatchPathMappingRequestObject struct {
PathMappingId PathMappingId `json:"pathMappingId"`
Params PatchPathMappingParams
Body *PatchPathMappingJSONRequestBody
}
type PatchPathMappingResponseObject ¶
type PatchPathMappingResponseObject interface {
VisitPatchPathMappingResponse(w http.ResponseWriter) error
}
type PatchStorageRoot200JSONResponse ¶
type PatchStorageRoot200JSONResponse struct {
Body StorageRoot
Headers PatchStorageRoot200ResponseHeaders
}
func (PatchStorageRoot200JSONResponse) VisitPatchStorageRootResponse ¶
func (response PatchStorageRoot200JSONResponse) VisitPatchStorageRootResponse(w http.ResponseWriter) error
type PatchStorageRoot400ApplicationProblemPlusJSONResponse ¶
type PatchStorageRoot400ApplicationProblemPlusJSONResponse struct {
Problem400ApplicationProblemPlusJSONResponse
}
func (PatchStorageRoot400ApplicationProblemPlusJSONResponse) VisitPatchStorageRootResponse ¶
func (response PatchStorageRoot400ApplicationProblemPlusJSONResponse) VisitPatchStorageRootResponse(w http.ResponseWriter) error
type PatchStorageRoot404ApplicationProblemPlusJSONResponse ¶
type PatchStorageRoot404ApplicationProblemPlusJSONResponse struct {
Problem404ApplicationProblemPlusJSONResponse
}
func (PatchStorageRoot404ApplicationProblemPlusJSONResponse) VisitPatchStorageRootResponse ¶
func (response PatchStorageRoot404ApplicationProblemPlusJSONResponse) VisitPatchStorageRootResponse(w http.ResponseWriter) error
type PatchStorageRoot409ApplicationProblemPlusJSONResponse ¶
type PatchStorageRoot409ApplicationProblemPlusJSONResponse struct {
Problem409ApplicationProblemPlusJSONResponse
}
func (PatchStorageRoot409ApplicationProblemPlusJSONResponse) VisitPatchStorageRootResponse ¶
func (response PatchStorageRoot409ApplicationProblemPlusJSONResponse) VisitPatchStorageRootResponse(w http.ResponseWriter) error
type PatchStorageRoot412ApplicationProblemPlusJSONResponse ¶
type PatchStorageRoot412ApplicationProblemPlusJSONResponse struct {
Problem412ApplicationProblemPlusJSONResponse
}
func (PatchStorageRoot412ApplicationProblemPlusJSONResponse) VisitPatchStorageRootResponse ¶
func (response PatchStorageRoot412ApplicationProblemPlusJSONResponse) VisitPatchStorageRootResponse(w http.ResponseWriter) error
type PatchStorageRoot428ApplicationProblemPlusJSONResponse ¶
type PatchStorageRoot428ApplicationProblemPlusJSONResponse struct {
Problem428ApplicationProblemPlusJSONResponse
}
func (PatchStorageRoot428ApplicationProblemPlusJSONResponse) VisitPatchStorageRootResponse ¶
func (response PatchStorageRoot428ApplicationProblemPlusJSONResponse) VisitPatchStorageRootResponse(w http.ResponseWriter) error
type PatchStorageRootJSONRequestBody ¶
type PatchStorageRootJSONRequestBody = StorageRootPatch
PatchStorageRootJSONRequestBody defines body for PatchStorageRoot for application/json ContentType.
type PatchStorageRootParams ¶
type PatchStorageRootParams struct {
IfMatch IfMatch `json:"If-Match"`
IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}
PatchStorageRootParams defines parameters for PatchStorageRoot.
type PatchStorageRootRequestObject ¶
type PatchStorageRootRequestObject struct {
StorageRootId StorageRootId `json:"storageRootId"`
Params PatchStorageRootParams
Body *PatchStorageRootJSONRequestBody
}
type PatchStorageRootResponseObject ¶
type PatchStorageRootResponseObject interface {
VisitPatchStorageRootResponse(w http.ResponseWriter) error
}
type PathMapping ¶
type PathMapping struct {
ConnectionId ConfigId `json:"connectionId"`
DestinationPrefix string `json:"destinationPrefix"`
Id ConfigId `json:"id"`
Revision string `json:"revision"`
RootId ConfigId `json:"rootId"`
Source SourceMetadata `json:"source"`
SourcePrefix string `json:"sourcePrefix"`
}
PathMapping defines model for PathMapping.
type PathMappingCreate ¶
type PathMappingCreate struct {
ConnectionId ConfigId `json:"connectionId"`
DestinationPrefix string `json:"destinationPrefix"`
Id ConfigId `json:"id"`
RootId ConfigId `json:"rootId"`
SourcePrefix string `json:"sourcePrefix"`
}
PathMappingCreate defines model for PathMappingCreate.
type PathMappingList ¶
type PathMappingList struct {
Items []PathMapping `json:"items"`
Page Page `json:"page"`
}
PathMappingList defines model for PathMappingList.
type PathMappingPatch ¶
type PathMappingPatch struct {
DestinationPrefix *string `json:"destinationPrefix,omitempty"`
SourcePrefix *string `json:"sourcePrefix,omitempty"`
}
PathMappingPatch defines model for PathMappingPatch.
type Problem ¶
type Problem struct {
Code string `json:"code"`
Detail *string `json:"detail,omitempty"`
FieldErrors *[]FieldError `json:"fieldErrors,omitempty"`
NextAction *string `json:"nextAction,omitempty"`
RequestId string `json:"requestId"`
ResourceId *Id `json:"resourceId,omitempty"`
Retryable bool `json:"retryable"`
Status int `json:"status"`
Title string `json:"title"`
Type string `json:"type"`
}
Problem defines model for Problem.
type Problem400ApplicationProblemPlusJSONResponse ¶
type Problem400ApplicationProblemPlusJSONResponse Problem
type Problem404ApplicationProblemPlusJSONResponse ¶
type Problem404ApplicationProblemPlusJSONResponse Problem
type Problem409ApplicationProblemPlusJSONResponse ¶
type Problem409ApplicationProblemPlusJSONResponse Problem
type Problem412ApplicationProblemPlusJSONResponse ¶
type Problem412ApplicationProblemPlusJSONResponse Problem
type Problem413ApplicationProblemPlusJSONResponse ¶
type Problem413ApplicationProblemPlusJSONResponse Problem
type Problem422ApplicationProblemPlusJSONResponse ¶
type Problem422ApplicationProblemPlusJSONResponse Problem
type Problem428ApplicationProblemPlusJSONResponse ¶
type Problem428ApplicationProblemPlusJSONResponse Problem
type Problem429ApplicationProblemPlusJSONResponse ¶
type Problem429ApplicationProblemPlusJSONResponse struct {
Body Problem
Headers Problem429ResponseHeaders
}
type Problem429ResponseHeaders ¶
type Problem429ResponseHeaders struct {
RetryAfter *int
}
type Problem503ApplicationProblemPlusJSONResponse ¶
type Problem503ApplicationProblemPlusJSONResponse Problem
type ProblemSnapshotExpired ¶
type ProblemSnapshotExpired = Problem
ProblemSnapshotExpired defines model for ProblemSnapshotExpired.
type ProblemSnapshotExpiredApplicationProblemPlusJSONResponse ¶
type ProblemSnapshotExpiredApplicationProblemPlusJSONResponse Problem
type Provenance ¶
type Provenance struct {
ClientItemId *string `json:"clientItemId,omitempty"`
CompletedAt *Timestamp `json:"completedAt,omitempty"`
ConnectionId *ConfigId `json:"connectionId,omitempty"`
DescriptorId *Id `json:"descriptorId,omitempty"`
Hash *string `json:"hash,omitempty"`
SourcePath *FileTarget `json:"sourcePath,omitempty"`
}
Provenance defines model for Provenance.
type ReconciliationRequest ¶
type ReconciliationRequest struct {
Scope *ReconciliationRequestScope `json:"scope,omitempty"`
}
ReconciliationRequest defines model for ReconciliationRequest.
type ReconciliationRequestScope ¶
type ReconciliationRequestScope string
ReconciliationRequestScope defines model for ReconciliationRequest.Scope.
const ( ReconciliationRequestScopeAll ReconciliationRequestScope = "all" ReconciliationRequestScopeFilesystem ReconciliationRequestScope = "filesystem" ReconciliationRequestScopeUpstream ReconciliationRequestScope = "upstream" )
Defines values for ReconciliationRequestScope.
func (ReconciliationRequestScope) Valid ¶
func (e ReconciliationRequestScope) Valid() bool
Valid indicates whether the value is a known member of the ReconciliationRequestScope enum.
type RequestActionReconciliation202JSONResponse ¶
type RequestActionReconciliation202JSONResponse struct {
Body AsyncAccepted
Headers RequestActionReconciliation202ResponseHeaders
}
func (RequestActionReconciliation202JSONResponse) VisitRequestActionReconciliationResponse ¶
func (response RequestActionReconciliation202JSONResponse) VisitRequestActionReconciliationResponse(w http.ResponseWriter) error
type RequestActionReconciliation404ApplicationProblemPlusJSONResponse ¶
type RequestActionReconciliation404ApplicationProblemPlusJSONResponse struct {
Problem404ApplicationProblemPlusJSONResponse
}
func (RequestActionReconciliation404ApplicationProblemPlusJSONResponse) VisitRequestActionReconciliationResponse ¶
func (response RequestActionReconciliation404ApplicationProblemPlusJSONResponse) VisitRequestActionReconciliationResponse(w http.ResponseWriter) error
type RequestActionReconciliation409ApplicationProblemPlusJSONResponse ¶
type RequestActionReconciliation409ApplicationProblemPlusJSONResponse struct {
Problem409ApplicationProblemPlusJSONResponse
}
func (RequestActionReconciliation409ApplicationProblemPlusJSONResponse) VisitRequestActionReconciliationResponse ¶
func (response RequestActionReconciliation409ApplicationProblemPlusJSONResponse) VisitRequestActionReconciliationResponse(w http.ResponseWriter) error
type RequestActionReconciliation429ApplicationProblemPlusJSONResponse ¶
type RequestActionReconciliation429ApplicationProblemPlusJSONResponse struct {
Problem429ApplicationProblemPlusJSONResponse
}
func (RequestActionReconciliation429ApplicationProblemPlusJSONResponse) VisitRequestActionReconciliationResponse ¶
func (response RequestActionReconciliation429ApplicationProblemPlusJSONResponse) VisitRequestActionReconciliationResponse(w http.ResponseWriter) error
type RequestActionReconciliationJSONRequestBody ¶
type RequestActionReconciliationJSONRequestBody = ReconciliationRequest
RequestActionReconciliationJSONRequestBody defines body for RequestActionReconciliation for application/json ContentType.
type RequestActionReconciliationParams ¶
type RequestActionReconciliationParams struct {
IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}
RequestActionReconciliationParams defines parameters for RequestActionReconciliation.
type RequestActionReconciliationRequestObject ¶
type RequestActionReconciliationRequestObject struct {
ActionRunId ActionRunId `json:"actionRunId"`
Params RequestActionReconciliationParams
Body *RequestActionReconciliationJSONRequestBody
}
type RequestActionReconciliationResponseObject ¶
type RequestActionReconciliationResponseObject interface {
VisitRequestActionReconciliationResponse(w http.ResponseWriter) error
}
type RequestActionRetry202JSONResponse ¶
type RequestActionRetry202JSONResponse struct {
Body AsyncAccepted
Headers RequestActionRetry202ResponseHeaders
}
func (RequestActionRetry202JSONResponse) VisitRequestActionRetryResponse ¶
func (response RequestActionRetry202JSONResponse) VisitRequestActionRetryResponse(w http.ResponseWriter) error
type RequestActionRetry404ApplicationProblemPlusJSONResponse ¶
type RequestActionRetry404ApplicationProblemPlusJSONResponse struct {
Problem404ApplicationProblemPlusJSONResponse
}
func (RequestActionRetry404ApplicationProblemPlusJSONResponse) VisitRequestActionRetryResponse ¶
func (response RequestActionRetry404ApplicationProblemPlusJSONResponse) VisitRequestActionRetryResponse(w http.ResponseWriter) error
type RequestActionRetry409ApplicationProblemPlusJSONResponse ¶
type RequestActionRetry409ApplicationProblemPlusJSONResponse struct {
Problem409ApplicationProblemPlusJSONResponse
}
func (RequestActionRetry409ApplicationProblemPlusJSONResponse) VisitRequestActionRetryResponse ¶
func (response RequestActionRetry409ApplicationProblemPlusJSONResponse) VisitRequestActionRetryResponse(w http.ResponseWriter) error
type RequestActionRetry429ApplicationProblemPlusJSONResponse ¶
type RequestActionRetry429ApplicationProblemPlusJSONResponse struct {
Problem429ApplicationProblemPlusJSONResponse
}
func (RequestActionRetry429ApplicationProblemPlusJSONResponse) VisitRequestActionRetryResponse ¶
func (response RequestActionRetry429ApplicationProblemPlusJSONResponse) VisitRequestActionRetryResponse(w http.ResponseWriter) error
type RequestActionRetryJSONRequestBody ¶
type RequestActionRetryJSONRequestBody = RetryRequest
RequestActionRetryJSONRequestBody defines body for RequestActionRetry for application/json ContentType.
type RequestActionRetryParams ¶
type RequestActionRetryParams struct {
IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}
RequestActionRetryParams defines parameters for RequestActionRetry.
type RequestActionRetryRequestObject ¶
type RequestActionRetryRequestObject struct {
ActionRunId ActionRunId `json:"actionRunId"`
Params RequestActionRetryParams
Body *RequestActionRetryJSONRequestBody
}
type RequestActionRetryResponseObject ¶
type RequestActionRetryResponseObject interface {
VisitRequestActionRetryResponse(w http.ResponseWriter) error
}
type RequiredHeaderError ¶
func (*RequiredHeaderError) Error ¶
func (e *RequiredHeaderError) Error() string
func (*RequiredHeaderError) Unwrap ¶
func (e *RequiredHeaderError) Unwrap() error
type RequiredParamError ¶
type RequiredParamError struct {
ParamName string
}
func (*RequiredParamError) Error ¶
func (e *RequiredParamError) Error() string
type RetireConnection204Response ¶
type RetireConnection204Response struct {
}
func (RetireConnection204Response) VisitRetireConnectionResponse ¶
func (response RetireConnection204Response) VisitRetireConnectionResponse(w http.ResponseWriter) error
type RetireConnection404ApplicationProblemPlusJSONResponse ¶
type RetireConnection404ApplicationProblemPlusJSONResponse struct {
Problem404ApplicationProblemPlusJSONResponse
}
func (RetireConnection404ApplicationProblemPlusJSONResponse) VisitRetireConnectionResponse ¶
func (response RetireConnection404ApplicationProblemPlusJSONResponse) VisitRetireConnectionResponse(w http.ResponseWriter) error
type RetireConnection409ApplicationProblemPlusJSONResponse ¶
type RetireConnection409ApplicationProblemPlusJSONResponse struct {
Problem409ApplicationProblemPlusJSONResponse
}
func (RetireConnection409ApplicationProblemPlusJSONResponse) VisitRetireConnectionResponse ¶
func (response RetireConnection409ApplicationProblemPlusJSONResponse) VisitRetireConnectionResponse(w http.ResponseWriter) error
type RetireConnection412ApplicationProblemPlusJSONResponse ¶
type RetireConnection412ApplicationProblemPlusJSONResponse struct {
Problem412ApplicationProblemPlusJSONResponse
}
func (RetireConnection412ApplicationProblemPlusJSONResponse) VisitRetireConnectionResponse ¶
func (response RetireConnection412ApplicationProblemPlusJSONResponse) VisitRetireConnectionResponse(w http.ResponseWriter) error
type RetireConnection428ApplicationProblemPlusJSONResponse ¶
type RetireConnection428ApplicationProblemPlusJSONResponse struct {
Problem428ApplicationProblemPlusJSONResponse
}
func (RetireConnection428ApplicationProblemPlusJSONResponse) VisitRetireConnectionResponse ¶
func (response RetireConnection428ApplicationProblemPlusJSONResponse) VisitRetireConnectionResponse(w http.ResponseWriter) error
type RetireConnectionParams ¶
type RetireConnectionParams struct {
IfMatch IfMatch `json:"If-Match"`
IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}
RetireConnectionParams defines parameters for RetireConnection.
type RetireConnectionRequestObject ¶
type RetireConnectionRequestObject struct {
ConnectionId ConnectionId `json:"connectionId"`
Params RetireConnectionParams
}
type RetireConnectionResponseObject ¶
type RetireConnectionResponseObject interface {
VisitRetireConnectionResponse(w http.ResponseWriter) error
}
type RetirePathMapping204Response ¶
type RetirePathMapping204Response struct {
}
func (RetirePathMapping204Response) VisitRetirePathMappingResponse ¶
func (response RetirePathMapping204Response) VisitRetirePathMappingResponse(w http.ResponseWriter) error
type RetirePathMapping404ApplicationProblemPlusJSONResponse ¶
type RetirePathMapping404ApplicationProblemPlusJSONResponse struct {
Problem404ApplicationProblemPlusJSONResponse
}
func (RetirePathMapping404ApplicationProblemPlusJSONResponse) VisitRetirePathMappingResponse ¶
func (response RetirePathMapping404ApplicationProblemPlusJSONResponse) VisitRetirePathMappingResponse(w http.ResponseWriter) error
type RetirePathMapping409ApplicationProblemPlusJSONResponse ¶
type RetirePathMapping409ApplicationProblemPlusJSONResponse struct {
Problem409ApplicationProblemPlusJSONResponse
}
func (RetirePathMapping409ApplicationProblemPlusJSONResponse) VisitRetirePathMappingResponse ¶
func (response RetirePathMapping409ApplicationProblemPlusJSONResponse) VisitRetirePathMappingResponse(w http.ResponseWriter) error
type RetirePathMapping412ApplicationProblemPlusJSONResponse ¶
type RetirePathMapping412ApplicationProblemPlusJSONResponse struct {
Problem412ApplicationProblemPlusJSONResponse
}
func (RetirePathMapping412ApplicationProblemPlusJSONResponse) VisitRetirePathMappingResponse ¶
func (response RetirePathMapping412ApplicationProblemPlusJSONResponse) VisitRetirePathMappingResponse(w http.ResponseWriter) error
type RetirePathMapping428ApplicationProblemPlusJSONResponse ¶
type RetirePathMapping428ApplicationProblemPlusJSONResponse struct {
Problem428ApplicationProblemPlusJSONResponse
}
func (RetirePathMapping428ApplicationProblemPlusJSONResponse) VisitRetirePathMappingResponse ¶
func (response RetirePathMapping428ApplicationProblemPlusJSONResponse) VisitRetirePathMappingResponse(w http.ResponseWriter) error
type RetirePathMappingParams ¶
type RetirePathMappingParams struct {
IfMatch IfMatch `json:"If-Match"`
IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}
RetirePathMappingParams defines parameters for RetirePathMapping.
type RetirePathMappingRequestObject ¶
type RetirePathMappingRequestObject struct {
PathMappingId PathMappingId `json:"pathMappingId"`
Params RetirePathMappingParams
}
type RetirePathMappingResponseObject ¶
type RetirePathMappingResponseObject interface {
VisitRetirePathMappingResponse(w http.ResponseWriter) error
}
type RetireStorageRoot204Response ¶
type RetireStorageRoot204Response struct {
}
func (RetireStorageRoot204Response) VisitRetireStorageRootResponse ¶
func (response RetireStorageRoot204Response) VisitRetireStorageRootResponse(w http.ResponseWriter) error
type RetireStorageRoot404ApplicationProblemPlusJSONResponse ¶
type RetireStorageRoot404ApplicationProblemPlusJSONResponse struct {
Problem404ApplicationProblemPlusJSONResponse
}
func (RetireStorageRoot404ApplicationProblemPlusJSONResponse) VisitRetireStorageRootResponse ¶
func (response RetireStorageRoot404ApplicationProblemPlusJSONResponse) VisitRetireStorageRootResponse(w http.ResponseWriter) error
type RetireStorageRoot409ApplicationProblemPlusJSONResponse ¶
type RetireStorageRoot409ApplicationProblemPlusJSONResponse struct {
Problem409ApplicationProblemPlusJSONResponse
}
func (RetireStorageRoot409ApplicationProblemPlusJSONResponse) VisitRetireStorageRootResponse ¶
func (response RetireStorageRoot409ApplicationProblemPlusJSONResponse) VisitRetireStorageRootResponse(w http.ResponseWriter) error
type RetireStorageRoot412ApplicationProblemPlusJSONResponse ¶
type RetireStorageRoot412ApplicationProblemPlusJSONResponse struct {
Problem412ApplicationProblemPlusJSONResponse
}
func (RetireStorageRoot412ApplicationProblemPlusJSONResponse) VisitRetireStorageRootResponse ¶
func (response RetireStorageRoot412ApplicationProblemPlusJSONResponse) VisitRetireStorageRootResponse(w http.ResponseWriter) error
type RetireStorageRoot428ApplicationProblemPlusJSONResponse ¶
type RetireStorageRoot428ApplicationProblemPlusJSONResponse struct {
Problem428ApplicationProblemPlusJSONResponse
}
func (RetireStorageRoot428ApplicationProblemPlusJSONResponse) VisitRetireStorageRootResponse ¶
func (response RetireStorageRoot428ApplicationProblemPlusJSONResponse) VisitRetireStorageRootResponse(w http.ResponseWriter) error
type RetireStorageRootParams ¶
type RetireStorageRootParams struct {
IfMatch IfMatch `json:"If-Match"`
IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}
RetireStorageRootParams defines parameters for RetireStorageRoot.
type RetireStorageRootRequestObject ¶
type RetireStorageRootRequestObject struct {
StorageRootId StorageRootId `json:"storageRootId"`
Params RetireStorageRootParams
}
type RetireStorageRootResponseObject ¶
type RetireStorageRootResponseObject interface {
VisitRetireStorageRootResponse(w http.ResponseWriter) error
}
type RetryPolicy ¶
type RetryPolicy struct {
BackoffSeconds int `json:"backoffSeconds"`
InactivityTimeoutSeconds int `json:"inactivityTimeoutSeconds"`
MaxAttempts int `json:"maxAttempts"`
}
RetryPolicy defines model for RetryPolicy.
type RetryRequest ¶
type RetryRequest struct {
ExpectedRevision int `json:"expectedRevision"`
Reason *string `json:"reason,omitempty"`
}
RetryRequest defines model for RetryRequest.
type ReviewDecision ¶
type ReviewDecision struct {
Actor ReviewDecisionActor `json:"actor"`
CreatedAt Timestamp `json:"createdAt"`
Decision ReviewDecisionDecision `json:"decision"`
Digest string `json:"digest"`
Id Id `json:"id"`
PlanId Id `json:"planId"`
ResultingActionRunId *Id `json:"resultingActionRunId,omitempty"`
Revision int `json:"revision"`
UnverifiedLabel *string `json:"unverifiedLabel,omitempty"`
}
ReviewDecision defines model for ReviewDecision.
type ReviewDecisionActor ¶
type ReviewDecisionActor string
ReviewDecisionActor defines model for ReviewDecision.Actor.
const (
ReviewDecisionActorUnauthenticated ReviewDecisionActor = "unauthenticated"
)
Defines values for ReviewDecisionActor.
func (ReviewDecisionActor) Valid ¶
func (e ReviewDecisionActor) Valid() bool
Valid indicates whether the value is a known member of the ReviewDecisionActor enum.
type ReviewDecisionCreate ¶
type ReviewDecisionCreate struct {
Decision ReviewDecisionCreateDecision `json:"decision"`
Digest string `json:"digest"`
IrreversibleAcknowledgement *bool `json:"irreversibleAcknowledgement,omitempty"`
PlanId Id `json:"planId"`
Revision int `json:"revision"`
// UnverifiedLabel Optional caller label, never trusted as actor identity.
UnverifiedLabel *string `json:"unverifiedLabel,omitempty"`
}
ReviewDecisionCreate defines model for ReviewDecisionCreate.
type ReviewDecisionCreateDecision ¶
type ReviewDecisionCreateDecision string
ReviewDecisionCreateDecision defines model for ReviewDecisionCreate.Decision.
const ( ReviewDecisionCreateDecisionApprove ReviewDecisionCreateDecision = "approve" ReviewDecisionCreateDecisionReject ReviewDecisionCreateDecision = "reject" )
Defines values for ReviewDecisionCreateDecision.
func (ReviewDecisionCreateDecision) Valid ¶
func (e ReviewDecisionCreateDecision) Valid() bool
Valid indicates whether the value is a known member of the ReviewDecisionCreateDecision enum.
type ReviewDecisionDecision ¶
type ReviewDecisionDecision string
ReviewDecisionDecision defines model for ReviewDecision.Decision.
const ( ReviewDecisionDecisionApprove ReviewDecisionDecision = "approve" ReviewDecisionDecisionReject ReviewDecisionDecision = "reject" )
Defines values for ReviewDecisionDecision.
func (ReviewDecisionDecision) Valid ¶
func (e ReviewDecisionDecision) Valid() bool
Valid indicates whether the value is a known member of the ReviewDecisionDecision enum.
type ReviewDecisionId ¶
type ReviewDecisionId = Id
ReviewDecisionId defines model for ReviewDecisionId.
type Scan ¶
type Scan struct {
Cancellation *Cancellation `json:"cancellation,omitempty"`
CompletedAt *Timestamp `json:"completedAt,omitempty"`
Coverage []Coverage `json:"coverage"`
CreatedAt Timestamp `json:"createdAt"`
Id Id `json:"id"`
Scope string `json:"scope"`
State ScanState `json:"state"`
}
Scan defines model for Scan.
type ScanCreate ¶
type ScanCreate struct {
ConnectionIds *[]ConfigId `json:"connectionIds,omitempty"`
RootIds *[]ConfigId `json:"rootIds,omitempty"`
Scope ScanCreateScope `json:"scope"`
}
ScanCreate defines model for ScanCreate.
type ScanCreateScope ¶
type ScanCreateScope string
ScanCreateScope defines model for ScanCreate.Scope.
const ( ScanCreateScopeAll ScanCreateScope = "all" ScanCreateScopeCatalogs ScanCreateScope = "catalogs" ScanCreateScopeDownloadClients ScanCreateScope = "download_clients" ScanCreateScopeRoots ScanCreateScope = "roots" )
Defines values for ScanCreateScope.
func (ScanCreateScope) Valid ¶
func (e ScanCreateScope) Valid() bool
Valid indicates whether the value is a known member of the ScanCreateScope enum.
type ScanState ¶
type ScanState string
ScanState defines model for ScanState.
const ( ScanStateCancelled ScanState = "cancelled" ScanStateDeadlineExceeded ScanState = "deadline_exceeded" ScanStateFailed ScanState = "failed" ScanStateQueued ScanState = "queued" ScanStateRunning ScanState = "running" ScanStateSucceeded ScanState = "succeeded" ScanStateWaiting ScanState = "waiting" )
Defines values for ScanState.
type SeerrOptions ¶
type SeerrOptions struct {
Kind SeerrOptionsKind `json:"kind"`
Statuses []string `json:"statuses"`
}
SeerrOptions defines model for SeerrOptions.
type SeerrOptionsKind ¶
type SeerrOptionsKind string
SeerrOptionsKind defines model for SeerrOptions.Kind.
const (
SeerrOptionsKindSeerr SeerrOptionsKind = "seerr"
)
Defines values for SeerrOptionsKind.
func (SeerrOptionsKind) Valid ¶
func (e SeerrOptionsKind) Valid() bool
Valid indicates whether the value is a known member of the SeerrOptionsKind enum.
type ServeMux ¶
type ServeMux interface {
HandleFunc(pattern string, handler func(http.ResponseWriter, *http.Request))
http.Handler
}
ServeMux is an abstraction of http.ServeMux.
type ServerInterface ¶
type ServerInterface interface {
// (GET /api/v1/action-plans)
ListActionPlans(w http.ResponseWriter, r *http.Request, params ListActionPlansParams)
// (POST /api/v1/action-plans)
CreateActionPlan(w http.ResponseWriter, r *http.Request, params CreateActionPlanParams)
// (GET /api/v1/action-plans/{actionPlanId})
GetActionPlan(w http.ResponseWriter, r *http.Request, actionPlanId ActionPlanId)
// (POST /api/v1/action-plans/{actionPlanId}/revisions)
CreateActionPlanRevision(w http.ResponseWriter, r *http.Request, actionPlanId ActionPlanId, params CreateActionPlanRevisionParams)
// (GET /api/v1/action-runs)
ListActionRuns(w http.ResponseWriter, r *http.Request, params ListActionRunsParams)
// (GET /api/v1/action-runs/{actionRunId})
GetActionRun(w http.ResponseWriter, r *http.Request, actionRunId ActionRunId)
// (GET /api/v1/action-runs/{actionRunId}/attempts)
ListActionAttempts(w http.ResponseWriter, r *http.Request, actionRunId ActionRunId, params ListActionAttemptsParams)
// (POST /api/v1/action-runs/{actionRunId}/cancellations)
CancelActionRun(w http.ResponseWriter, r *http.Request, actionRunId ActionRunId, params CancelActionRunParams)
// (POST /api/v1/action-runs/{actionRunId}/reconciliations)
RequestActionReconciliation(w http.ResponseWriter, r *http.Request, actionRunId ActionRunId, params RequestActionReconciliationParams)
// (POST /api/v1/action-runs/{actionRunId}/retry-requests)
RequestActionRetry(w http.ResponseWriter, r *http.Request, actionRunId ActionRunId, params RequestActionRetryParams)
// (GET /api/v1/audit-events)
ListAuditEvents(w http.ResponseWriter, r *http.Request, params ListAuditEventsParams)
// (GET /api/v1/configuration)
GetConfiguration(w http.ResponseWriter, r *http.Request)
// (GET /api/v1/connection-checks)
ListConnectionChecks(w http.ResponseWriter, r *http.Request, params ListConnectionChecksParams)
// (POST /api/v1/connection-checks)
CreateConnectionCheck(w http.ResponseWriter, r *http.Request, params CreateConnectionCheckParams)
// (GET /api/v1/connection-checks/{connectionCheckId})
GetConnectionCheck(w http.ResponseWriter, r *http.Request, connectionCheckId ConnectionCheckId)
// (GET /api/v1/connections)
ListConnections(w http.ResponseWriter, r *http.Request, params ListConnectionsParams)
// (POST /api/v1/connections)
CreateConnection(w http.ResponseWriter, r *http.Request, params CreateConnectionParams)
// (DELETE /api/v1/connections/{connectionId})
RetireConnection(w http.ResponseWriter, r *http.Request, connectionId ConnectionId, params RetireConnectionParams)
// (GET /api/v1/connections/{connectionId})
GetConnection(w http.ResponseWriter, r *http.Request, connectionId ConnectionId)
// (PATCH /api/v1/connections/{connectionId})
PatchConnection(w http.ResponseWriter, r *http.Request, connectionId ConnectionId, params PatchConnectionParams)
// (GET /api/v1/connections/{connectionId}/options)
GetConnectionOptions(w http.ResponseWriter, r *http.Request, connectionId ConnectionId)
// (GET /api/v1/descriptors)
ListDescriptors(w http.ResponseWriter, r *http.Request, params ListDescriptorsParams)
// (GET /api/v1/descriptors/{descriptorId})
GetDescriptor(w http.ResponseWriter, r *http.Request, descriptorId DescriptorId)
// (GET /api/v1/descriptors/{descriptorId}/content)
GetDescriptorContent(w http.ResponseWriter, r *http.Request, descriptorId DescriptorId)
// (GET /api/v1/discoveries)
ListDiscoveries(w http.ResponseWriter, r *http.Request, params ListDiscoveriesParams)
// (GET /api/v1/discoveries/{discoveryId})
GetDiscovery(w http.ResponseWriter, r *http.Request, discoveryId DiscoveryId)
// (GET /api/v1/downloads)
ListDownloads(w http.ResponseWriter, r *http.Request, params ListDownloadsParams)
// (GET /api/v1/downloads/{downloadId})
GetDownload(w http.ResponseWriter, r *http.Request, downloadId DownloadId)
// (GET /api/v1/media)
ListMedia(w http.ResponseWriter, r *http.Request, params ListMediaParams)
// (GET /api/v1/media/{mediaId})
GetMedia(w http.ResponseWriter, r *http.Request, mediaId MediaId)
// (GET /api/v1/metadata-candidates)
ListMetadataCandidates(w http.ResponseWriter, r *http.Request, params ListMetadataCandidatesParams)
// (GET /api/v1/path-mappings)
ListPathMappings(w http.ResponseWriter, r *http.Request, params ListPathMappingsParams)
// (POST /api/v1/path-mappings)
CreatePathMapping(w http.ResponseWriter, r *http.Request, params CreatePathMappingParams)
// (DELETE /api/v1/path-mappings/{pathMappingId})
RetirePathMapping(w http.ResponseWriter, r *http.Request, pathMappingId PathMappingId, params RetirePathMappingParams)
// (GET /api/v1/path-mappings/{pathMappingId})
GetPathMapping(w http.ResponseWriter, r *http.Request, pathMappingId PathMappingId)
// (PATCH /api/v1/path-mappings/{pathMappingId})
PatchPathMapping(w http.ResponseWriter, r *http.Request, pathMappingId PathMappingId, params PatchPathMappingParams)
// (POST /api/v1/review-decisions)
CreateReviewDecision(w http.ResponseWriter, r *http.Request, params CreateReviewDecisionParams)
// (GET /api/v1/review-decisions/{reviewDecisionId})
GetReviewDecision(w http.ResponseWriter, r *http.Request, reviewDecisionId ReviewDecisionId)
// (GET /api/v1/scans)
ListScans(w http.ResponseWriter, r *http.Request, params ListScansParams)
// (POST /api/v1/scans)
CreateScan(w http.ResponseWriter, r *http.Request, params CreateScanParams)
// (GET /api/v1/scans/{scanId})
GetScan(w http.ResponseWriter, r *http.Request, scanId ScanId)
// (POST /api/v1/scans/{scanId}/cancellations)
CancelScan(w http.ResponseWriter, r *http.Request, scanId ScanId, params CancelScanParams)
// (GET /api/v1/storage-roots)
ListStorageRoots(w http.ResponseWriter, r *http.Request, params ListStorageRootsParams)
// (POST /api/v1/storage-roots)
CreateStorageRoot(w http.ResponseWriter, r *http.Request, params CreateStorageRootParams)
// (DELETE /api/v1/storage-roots/{storageRootId})
RetireStorageRoot(w http.ResponseWriter, r *http.Request, storageRootId StorageRootId, params RetireStorageRootParams)
// (GET /api/v1/storage-roots/{storageRootId})
GetStorageRoot(w http.ResponseWriter, r *http.Request, storageRootId StorageRootId)
// (PATCH /api/v1/storage-roots/{storageRootId})
PatchStorageRoot(w http.ResponseWriter, r *http.Request, storageRootId StorageRootId, params PatchStorageRootParams)
// (GET /api/v1/trash)
ListTrash(w http.ResponseWriter, r *http.Request, params ListTrashParams)
// (GET /api/v1/trash/{trashId})
GetTrash(w http.ResponseWriter, r *http.Request, trashId TrashId)
// (GET /api/v1/workflow-runs)
ListWorkflowRuns(w http.ResponseWriter, r *http.Request, params ListWorkflowRunsParams)
// (POST /api/v1/workflow-runs)
CreateWorkflowRun(w http.ResponseWriter, r *http.Request, params CreateWorkflowRunParams)
// (GET /api/v1/workflow-runs/{workflowRunId})
GetWorkflowRun(w http.ResponseWriter, r *http.Request, workflowRunId WorkflowRunId)
// (POST /api/v1/workflow-runs/{workflowRunId}/cancellations)
CancelWorkflowRun(w http.ResponseWriter, r *http.Request, workflowRunId WorkflowRunId, params CancelWorkflowRunParams)
// (GET /health/live)
GetLiveHealth(w http.ResponseWriter, r *http.Request)
// (GET /health/ready)
GetReadyHealth(w http.ResponseWriter, r *http.Request)
}
ServerInterface represents all server handlers.
func NewStrictHandler ¶
func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface
func NewStrictHandlerWithOptions ¶
func NewStrictHandlerWithOptions(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc, options StrictHTTPServerOptions) ServerInterface
type ServerInterfaceWrapper ¶
type ServerInterfaceWrapper struct {
Handler ServerInterface
HandlerMiddlewares []MiddlewareFunc
ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
ServerInterfaceWrapper converts contexts to parameters.
func (*ServerInterfaceWrapper) CancelActionRun ¶
func (siw *ServerInterfaceWrapper) CancelActionRun(w http.ResponseWriter, r *http.Request)
CancelActionRun operation middleware
func (*ServerInterfaceWrapper) CancelScan ¶
func (siw *ServerInterfaceWrapper) CancelScan(w http.ResponseWriter, r *http.Request)
CancelScan operation middleware
func (*ServerInterfaceWrapper) CancelWorkflowRun ¶
func (siw *ServerInterfaceWrapper) CancelWorkflowRun(w http.ResponseWriter, r *http.Request)
CancelWorkflowRun operation middleware
func (*ServerInterfaceWrapper) CreateActionPlan ¶
func (siw *ServerInterfaceWrapper) CreateActionPlan(w http.ResponseWriter, r *http.Request)
CreateActionPlan operation middleware
func (*ServerInterfaceWrapper) CreateActionPlanRevision ¶
func (siw *ServerInterfaceWrapper) CreateActionPlanRevision(w http.ResponseWriter, r *http.Request)
CreateActionPlanRevision operation middleware
func (*ServerInterfaceWrapper) CreateConnection ¶
func (siw *ServerInterfaceWrapper) CreateConnection(w http.ResponseWriter, r *http.Request)
CreateConnection operation middleware
func (*ServerInterfaceWrapper) CreateConnectionCheck ¶
func (siw *ServerInterfaceWrapper) CreateConnectionCheck(w http.ResponseWriter, r *http.Request)
CreateConnectionCheck operation middleware
func (*ServerInterfaceWrapper) CreatePathMapping ¶
func (siw *ServerInterfaceWrapper) CreatePathMapping(w http.ResponseWriter, r *http.Request)
CreatePathMapping operation middleware
func (*ServerInterfaceWrapper) CreateReviewDecision ¶
func (siw *ServerInterfaceWrapper) CreateReviewDecision(w http.ResponseWriter, r *http.Request)
CreateReviewDecision operation middleware
func (*ServerInterfaceWrapper) CreateScan ¶
func (siw *ServerInterfaceWrapper) CreateScan(w http.ResponseWriter, r *http.Request)
CreateScan operation middleware
func (*ServerInterfaceWrapper) CreateStorageRoot ¶
func (siw *ServerInterfaceWrapper) CreateStorageRoot(w http.ResponseWriter, r *http.Request)
CreateStorageRoot operation middleware
func (*ServerInterfaceWrapper) CreateWorkflowRun ¶
func (siw *ServerInterfaceWrapper) CreateWorkflowRun(w http.ResponseWriter, r *http.Request)
CreateWorkflowRun operation middleware
func (*ServerInterfaceWrapper) GetActionPlan ¶
func (siw *ServerInterfaceWrapper) GetActionPlan(w http.ResponseWriter, r *http.Request)
GetActionPlan operation middleware
func (*ServerInterfaceWrapper) GetActionRun ¶
func (siw *ServerInterfaceWrapper) GetActionRun(w http.ResponseWriter, r *http.Request)
GetActionRun operation middleware
func (*ServerInterfaceWrapper) GetConfiguration ¶
func (siw *ServerInterfaceWrapper) GetConfiguration(w http.ResponseWriter, r *http.Request)
GetConfiguration operation middleware
func (*ServerInterfaceWrapper) GetConnection ¶
func (siw *ServerInterfaceWrapper) GetConnection(w http.ResponseWriter, r *http.Request)
GetConnection operation middleware
func (*ServerInterfaceWrapper) GetConnectionCheck ¶
func (siw *ServerInterfaceWrapper) GetConnectionCheck(w http.ResponseWriter, r *http.Request)
GetConnectionCheck operation middleware
func (*ServerInterfaceWrapper) GetConnectionOptions ¶
func (siw *ServerInterfaceWrapper) GetConnectionOptions(w http.ResponseWriter, r *http.Request)
GetConnectionOptions operation middleware
func (*ServerInterfaceWrapper) GetDescriptor ¶
func (siw *ServerInterfaceWrapper) GetDescriptor(w http.ResponseWriter, r *http.Request)
GetDescriptor operation middleware
func (*ServerInterfaceWrapper) GetDescriptorContent ¶
func (siw *ServerInterfaceWrapper) GetDescriptorContent(w http.ResponseWriter, r *http.Request)
GetDescriptorContent operation middleware
func (*ServerInterfaceWrapper) GetDiscovery ¶
func (siw *ServerInterfaceWrapper) GetDiscovery(w http.ResponseWriter, r *http.Request)
GetDiscovery operation middleware
func (*ServerInterfaceWrapper) GetDownload ¶
func (siw *ServerInterfaceWrapper) GetDownload(w http.ResponseWriter, r *http.Request)
GetDownload operation middleware
func (*ServerInterfaceWrapper) GetLiveHealth ¶
func (siw *ServerInterfaceWrapper) GetLiveHealth(w http.ResponseWriter, r *http.Request)
GetLiveHealth operation middleware
func (*ServerInterfaceWrapper) GetMedia ¶
func (siw *ServerInterfaceWrapper) GetMedia(w http.ResponseWriter, r *http.Request)
GetMedia operation middleware
func (*ServerInterfaceWrapper) GetPathMapping ¶
func (siw *ServerInterfaceWrapper) GetPathMapping(w http.ResponseWriter, r *http.Request)
GetPathMapping operation middleware
func (*ServerInterfaceWrapper) GetReadyHealth ¶
func (siw *ServerInterfaceWrapper) GetReadyHealth(w http.ResponseWriter, r *http.Request)
GetReadyHealth operation middleware
func (*ServerInterfaceWrapper) GetReviewDecision ¶
func (siw *ServerInterfaceWrapper) GetReviewDecision(w http.ResponseWriter, r *http.Request)
GetReviewDecision operation middleware
func (*ServerInterfaceWrapper) GetScan ¶
func (siw *ServerInterfaceWrapper) GetScan(w http.ResponseWriter, r *http.Request)
GetScan operation middleware
func (*ServerInterfaceWrapper) GetStorageRoot ¶
func (siw *ServerInterfaceWrapper) GetStorageRoot(w http.ResponseWriter, r *http.Request)
GetStorageRoot operation middleware
func (*ServerInterfaceWrapper) GetTrash ¶
func (siw *ServerInterfaceWrapper) GetTrash(w http.ResponseWriter, r *http.Request)
GetTrash operation middleware
func (*ServerInterfaceWrapper) GetWorkflowRun ¶
func (siw *ServerInterfaceWrapper) GetWorkflowRun(w http.ResponseWriter, r *http.Request)
GetWorkflowRun operation middleware
func (*ServerInterfaceWrapper) ListActionAttempts ¶
func (siw *ServerInterfaceWrapper) ListActionAttempts(w http.ResponseWriter, r *http.Request)
ListActionAttempts operation middleware
func (*ServerInterfaceWrapper) ListActionPlans ¶
func (siw *ServerInterfaceWrapper) ListActionPlans(w http.ResponseWriter, r *http.Request)
ListActionPlans operation middleware
func (*ServerInterfaceWrapper) ListActionRuns ¶
func (siw *ServerInterfaceWrapper) ListActionRuns(w http.ResponseWriter, r *http.Request)
ListActionRuns operation middleware
func (*ServerInterfaceWrapper) ListAuditEvents ¶
func (siw *ServerInterfaceWrapper) ListAuditEvents(w http.ResponseWriter, r *http.Request)
ListAuditEvents operation middleware
func (*ServerInterfaceWrapper) ListConnectionChecks ¶
func (siw *ServerInterfaceWrapper) ListConnectionChecks(w http.ResponseWriter, r *http.Request)
ListConnectionChecks operation middleware
func (*ServerInterfaceWrapper) ListConnections ¶
func (siw *ServerInterfaceWrapper) ListConnections(w http.ResponseWriter, r *http.Request)
ListConnections operation middleware
func (*ServerInterfaceWrapper) ListDescriptors ¶
func (siw *ServerInterfaceWrapper) ListDescriptors(w http.ResponseWriter, r *http.Request)
ListDescriptors operation middleware
func (*ServerInterfaceWrapper) ListDiscoveries ¶
func (siw *ServerInterfaceWrapper) ListDiscoveries(w http.ResponseWriter, r *http.Request)
ListDiscoveries operation middleware
func (*ServerInterfaceWrapper) ListDownloads ¶
func (siw *ServerInterfaceWrapper) ListDownloads(w http.ResponseWriter, r *http.Request)
ListDownloads operation middleware
func (*ServerInterfaceWrapper) ListMedia ¶
func (siw *ServerInterfaceWrapper) ListMedia(w http.ResponseWriter, r *http.Request)
ListMedia operation middleware
func (*ServerInterfaceWrapper) ListMetadataCandidates ¶
func (siw *ServerInterfaceWrapper) ListMetadataCandidates(w http.ResponseWriter, r *http.Request)
ListMetadataCandidates operation middleware
func (*ServerInterfaceWrapper) ListPathMappings ¶
func (siw *ServerInterfaceWrapper) ListPathMappings(w http.ResponseWriter, r *http.Request)
ListPathMappings operation middleware
func (*ServerInterfaceWrapper) ListScans ¶
func (siw *ServerInterfaceWrapper) ListScans(w http.ResponseWriter, r *http.Request)
ListScans operation middleware
func (*ServerInterfaceWrapper) ListStorageRoots ¶
func (siw *ServerInterfaceWrapper) ListStorageRoots(w http.ResponseWriter, r *http.Request)
ListStorageRoots operation middleware
func (*ServerInterfaceWrapper) ListTrash ¶
func (siw *ServerInterfaceWrapper) ListTrash(w http.ResponseWriter, r *http.Request)
ListTrash operation middleware
func (*ServerInterfaceWrapper) ListWorkflowRuns ¶
func (siw *ServerInterfaceWrapper) ListWorkflowRuns(w http.ResponseWriter, r *http.Request)
ListWorkflowRuns operation middleware
func (*ServerInterfaceWrapper) PatchConnection ¶
func (siw *ServerInterfaceWrapper) PatchConnection(w http.ResponseWriter, r *http.Request)
PatchConnection operation middleware
func (*ServerInterfaceWrapper) PatchPathMapping ¶
func (siw *ServerInterfaceWrapper) PatchPathMapping(w http.ResponseWriter, r *http.Request)
PatchPathMapping operation middleware
func (*ServerInterfaceWrapper) PatchStorageRoot ¶
func (siw *ServerInterfaceWrapper) PatchStorageRoot(w http.ResponseWriter, r *http.Request)
PatchStorageRoot operation middleware
func (*ServerInterfaceWrapper) RequestActionReconciliation ¶
func (siw *ServerInterfaceWrapper) RequestActionReconciliation(w http.ResponseWriter, r *http.Request)
RequestActionReconciliation operation middleware
func (*ServerInterfaceWrapper) RequestActionRetry ¶
func (siw *ServerInterfaceWrapper) RequestActionRetry(w http.ResponseWriter, r *http.Request)
RequestActionRetry operation middleware
func (*ServerInterfaceWrapper) RetireConnection ¶
func (siw *ServerInterfaceWrapper) RetireConnection(w http.ResponseWriter, r *http.Request)
RetireConnection operation middleware
func (*ServerInterfaceWrapper) RetirePathMapping ¶
func (siw *ServerInterfaceWrapper) RetirePathMapping(w http.ResponseWriter, r *http.Request)
RetirePathMapping operation middleware
func (*ServerInterfaceWrapper) RetireStorageRoot ¶
func (siw *ServerInterfaceWrapper) RetireStorageRoot(w http.ResponseWriter, r *http.Request)
RetireStorageRoot operation middleware
type SourceMetadata ¶
type SourceMetadata struct {
DocumentId string `json:"documentId"`
Editable bool `json:"editable"`
ReloadPolicy SourceMetadataReloadPolicy `json:"reloadPolicy"`
Revision string `json:"revision"`
Source SourceMetadataSource `json:"source"`
StartupAt Timestamp `json:"startupAt"`
}
SourceMetadata defines model for SourceMetadata.
type SourceMetadataReloadPolicy ¶
type SourceMetadataReloadPolicy string
SourceMetadataReloadPolicy defines model for SourceMetadata.ReloadPolicy.
const (
RestartRequired SourceMetadataReloadPolicy = "restart_required"
)
Defines values for SourceMetadataReloadPolicy.
func (SourceMetadataReloadPolicy) Valid ¶
func (e SourceMetadataReloadPolicy) Valid() bool
Valid indicates whether the value is a known member of the SourceMetadataReloadPolicy enum.
type SourceMetadataSource ¶
type SourceMetadataSource string
SourceMetadataSource defines model for SourceMetadata.Source.
const ( Api SourceMetadataSource = "api" Yaml SourceMetadataSource = "yaml" )
Defines values for SourceMetadataSource.
func (SourceMetadataSource) Valid ¶
func (e SourceMetadataSource) Valid() bool
Valid indicates whether the value is a known member of the SourceMetadataSource enum.
type StdHTTPServerOptions ¶
type StdHTTPServerOptions struct {
BaseURL string
BaseRouter ServeMux
Middlewares []MiddlewareFunc
ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
type StepState ¶
type StepState string
StepState defines model for StepState.
const ( StepStateBlocked StepState = "blocked" StepStateCancelled StepState = "cancelled" StepStateFailed StepState = "failed" StepStateQueued StepState = "queued" StepStateRunning StepState = "running" StepStateSkipped StepState = "skipped" StepStateSucceeded StepState = "succeeded" )
Defines values for StepState.
type StoragePurpose ¶
type StoragePurpose string
StoragePurpose defines model for StoragePurpose.
const ( StoragePurposeDescriptor StoragePurpose = "descriptor" StoragePurposeDownload StoragePurpose = "download" StoragePurposeLibrary StoragePurpose = "library" StoragePurposeTrash StoragePurpose = "trash" )
Defines values for StoragePurpose.
func (StoragePurpose) Valid ¶
func (e StoragePurpose) Valid() bool
Valid indicates whether the value is a known member of the StoragePurpose enum.
type StorageRoot ¶
type StorageRoot struct {
Capabilities []string `json:"capabilities"`
Id ConfigId `json:"id"`
Label string `json:"label"`
// Path Effective host path for this root. The server never accepts this value in an action target.
Path string `json:"path"`
Permission *StorageRootPermission `json:"permission,omitempty"`
Purpose StoragePurpose `json:"purpose"`
RetiredAt *Timestamp `json:"retiredAt,omitempty"`
Revision string `json:"revision"`
Source SourceMetadata `json:"source"`
Watch WatchSettings `json:"watch"`
}
StorageRoot defines model for StorageRoot.
type StorageRootCreate ¶
type StorageRootCreate struct {
Id ConfigId `json:"id"`
Label string `json:"label"`
// Path Host path accepted only at the configuration boundary.
Path string `json:"path"`
Purpose StoragePurpose `json:"purpose"`
}
StorageRootCreate defines model for StorageRootCreate.
type StorageRootList ¶
type StorageRootList struct {
Items []StorageRoot `json:"items"`
Page Page `json:"page"`
}
StorageRootList defines model for StorageRootList.
type StorageRootPatch ¶
type StorageRootPatch struct {
Label *string `json:"label,omitempty"`
Path *string `json:"path,omitempty"`
WatchEnabled *bool `json:"watchEnabled,omitempty"`
WatchIntervalSeconds *int `json:"watchIntervalSeconds,omitempty"`
}
StorageRootPatch defines model for StorageRootPatch.
type StorageRootPermission ¶
type StorageRootPermission string
StorageRootPermission defines model for StorageRoot.Permission.
const ( StorageRootPermissionReadOnly StorageRootPermission = "read_only" StorageRootPermissionReadWrite StorageRootPermission = "read_write" StorageRootPermissionUnknown StorageRootPermission = "unknown" )
Defines values for StorageRootPermission.
func (StorageRootPermission) Valid ¶
func (e StorageRootPermission) Valid() bool
Valid indicates whether the value is a known member of the StorageRootPermission enum.
type StrictHTTPServerOptions ¶
type StrictHTTPServerOptions struct {
RequestErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
ResponseErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
type StrictHandlerFunc ¶
type StrictMiddlewareFunc ¶
type StrictMiddlewareFunc func(f StrictHandlerFunc, operationID string) StrictHandlerFunc
type StrictServerInterface ¶
type StrictServerInterface interface {
// (GET /api/v1/action-plans)
ListActionPlans(ctx context.Context, request ListActionPlansRequestObject) (ListActionPlansResponseObject, error)
// (POST /api/v1/action-plans)
CreateActionPlan(ctx context.Context, request CreateActionPlanRequestObject) (CreateActionPlanResponseObject, error)
// (GET /api/v1/action-plans/{actionPlanId})
GetActionPlan(ctx context.Context, request GetActionPlanRequestObject) (GetActionPlanResponseObject, error)
// (POST /api/v1/action-plans/{actionPlanId}/revisions)
CreateActionPlanRevision(ctx context.Context, request CreateActionPlanRevisionRequestObject) (CreateActionPlanRevisionResponseObject, error)
// (GET /api/v1/action-runs)
ListActionRuns(ctx context.Context, request ListActionRunsRequestObject) (ListActionRunsResponseObject, error)
// (GET /api/v1/action-runs/{actionRunId})
GetActionRun(ctx context.Context, request GetActionRunRequestObject) (GetActionRunResponseObject, error)
// (GET /api/v1/action-runs/{actionRunId}/attempts)
ListActionAttempts(ctx context.Context, request ListActionAttemptsRequestObject) (ListActionAttemptsResponseObject, error)
// (POST /api/v1/action-runs/{actionRunId}/cancellations)
CancelActionRun(ctx context.Context, request CancelActionRunRequestObject) (CancelActionRunResponseObject, error)
// (POST /api/v1/action-runs/{actionRunId}/reconciliations)
RequestActionReconciliation(ctx context.Context, request RequestActionReconciliationRequestObject) (RequestActionReconciliationResponseObject, error)
// (POST /api/v1/action-runs/{actionRunId}/retry-requests)
RequestActionRetry(ctx context.Context, request RequestActionRetryRequestObject) (RequestActionRetryResponseObject, error)
// (GET /api/v1/audit-events)
ListAuditEvents(ctx context.Context, request ListAuditEventsRequestObject) (ListAuditEventsResponseObject, error)
// (GET /api/v1/configuration)
GetConfiguration(ctx context.Context, request GetConfigurationRequestObject) (GetConfigurationResponseObject, error)
// (GET /api/v1/connection-checks)
ListConnectionChecks(ctx context.Context, request ListConnectionChecksRequestObject) (ListConnectionChecksResponseObject, error)
// (POST /api/v1/connection-checks)
CreateConnectionCheck(ctx context.Context, request CreateConnectionCheckRequestObject) (CreateConnectionCheckResponseObject, error)
// (GET /api/v1/connection-checks/{connectionCheckId})
GetConnectionCheck(ctx context.Context, request GetConnectionCheckRequestObject) (GetConnectionCheckResponseObject, error)
// (GET /api/v1/connections)
ListConnections(ctx context.Context, request ListConnectionsRequestObject) (ListConnectionsResponseObject, error)
// (POST /api/v1/connections)
CreateConnection(ctx context.Context, request CreateConnectionRequestObject) (CreateConnectionResponseObject, error)
// (DELETE /api/v1/connections/{connectionId})
RetireConnection(ctx context.Context, request RetireConnectionRequestObject) (RetireConnectionResponseObject, error)
// (GET /api/v1/connections/{connectionId})
GetConnection(ctx context.Context, request GetConnectionRequestObject) (GetConnectionResponseObject, error)
// (PATCH /api/v1/connections/{connectionId})
PatchConnection(ctx context.Context, request PatchConnectionRequestObject) (PatchConnectionResponseObject, error)
// (GET /api/v1/connections/{connectionId}/options)
GetConnectionOptions(ctx context.Context, request GetConnectionOptionsRequestObject) (GetConnectionOptionsResponseObject, error)
// (GET /api/v1/descriptors)
ListDescriptors(ctx context.Context, request ListDescriptorsRequestObject) (ListDescriptorsResponseObject, error)
// (GET /api/v1/descriptors/{descriptorId})
GetDescriptor(ctx context.Context, request GetDescriptorRequestObject) (GetDescriptorResponseObject, error)
// (GET /api/v1/descriptors/{descriptorId}/content)
GetDescriptorContent(ctx context.Context, request GetDescriptorContentRequestObject) (GetDescriptorContentResponseObject, error)
// (GET /api/v1/discoveries)
ListDiscoveries(ctx context.Context, request ListDiscoveriesRequestObject) (ListDiscoveriesResponseObject, error)
// (GET /api/v1/discoveries/{discoveryId})
GetDiscovery(ctx context.Context, request GetDiscoveryRequestObject) (GetDiscoveryResponseObject, error)
// (GET /api/v1/downloads)
ListDownloads(ctx context.Context, request ListDownloadsRequestObject) (ListDownloadsResponseObject, error)
// (GET /api/v1/downloads/{downloadId})
GetDownload(ctx context.Context, request GetDownloadRequestObject) (GetDownloadResponseObject, error)
// (GET /api/v1/media)
ListMedia(ctx context.Context, request ListMediaRequestObject) (ListMediaResponseObject, error)
// (GET /api/v1/media/{mediaId})
GetMedia(ctx context.Context, request GetMediaRequestObject) (GetMediaResponseObject, error)
// (GET /api/v1/metadata-candidates)
ListMetadataCandidates(ctx context.Context, request ListMetadataCandidatesRequestObject) (ListMetadataCandidatesResponseObject, error)
// (GET /api/v1/path-mappings)
ListPathMappings(ctx context.Context, request ListPathMappingsRequestObject) (ListPathMappingsResponseObject, error)
// (POST /api/v1/path-mappings)
CreatePathMapping(ctx context.Context, request CreatePathMappingRequestObject) (CreatePathMappingResponseObject, error)
// (DELETE /api/v1/path-mappings/{pathMappingId})
RetirePathMapping(ctx context.Context, request RetirePathMappingRequestObject) (RetirePathMappingResponseObject, error)
// (GET /api/v1/path-mappings/{pathMappingId})
GetPathMapping(ctx context.Context, request GetPathMappingRequestObject) (GetPathMappingResponseObject, error)
// (PATCH /api/v1/path-mappings/{pathMappingId})
PatchPathMapping(ctx context.Context, request PatchPathMappingRequestObject) (PatchPathMappingResponseObject, error)
// (POST /api/v1/review-decisions)
CreateReviewDecision(ctx context.Context, request CreateReviewDecisionRequestObject) (CreateReviewDecisionResponseObject, error)
// (GET /api/v1/review-decisions/{reviewDecisionId})
GetReviewDecision(ctx context.Context, request GetReviewDecisionRequestObject) (GetReviewDecisionResponseObject, error)
// (GET /api/v1/scans)
ListScans(ctx context.Context, request ListScansRequestObject) (ListScansResponseObject, error)
// (POST /api/v1/scans)
CreateScan(ctx context.Context, request CreateScanRequestObject) (CreateScanResponseObject, error)
// (GET /api/v1/scans/{scanId})
GetScan(ctx context.Context, request GetScanRequestObject) (GetScanResponseObject, error)
// (POST /api/v1/scans/{scanId}/cancellations)
CancelScan(ctx context.Context, request CancelScanRequestObject) (CancelScanResponseObject, error)
// (GET /api/v1/storage-roots)
ListStorageRoots(ctx context.Context, request ListStorageRootsRequestObject) (ListStorageRootsResponseObject, error)
// (POST /api/v1/storage-roots)
CreateStorageRoot(ctx context.Context, request CreateStorageRootRequestObject) (CreateStorageRootResponseObject, error)
// (DELETE /api/v1/storage-roots/{storageRootId})
RetireStorageRoot(ctx context.Context, request RetireStorageRootRequestObject) (RetireStorageRootResponseObject, error)
// (GET /api/v1/storage-roots/{storageRootId})
GetStorageRoot(ctx context.Context, request GetStorageRootRequestObject) (GetStorageRootResponseObject, error)
// (PATCH /api/v1/storage-roots/{storageRootId})
PatchStorageRoot(ctx context.Context, request PatchStorageRootRequestObject) (PatchStorageRootResponseObject, error)
// (GET /api/v1/trash)
ListTrash(ctx context.Context, request ListTrashRequestObject) (ListTrashResponseObject, error)
// (GET /api/v1/trash/{trashId})
GetTrash(ctx context.Context, request GetTrashRequestObject) (GetTrashResponseObject, error)
// (GET /api/v1/workflow-runs)
ListWorkflowRuns(ctx context.Context, request ListWorkflowRunsRequestObject) (ListWorkflowRunsResponseObject, error)
// (POST /api/v1/workflow-runs)
CreateWorkflowRun(ctx context.Context, request CreateWorkflowRunRequestObject) (CreateWorkflowRunResponseObject, error)
// (GET /api/v1/workflow-runs/{workflowRunId})
GetWorkflowRun(ctx context.Context, request GetWorkflowRunRequestObject) (GetWorkflowRunResponseObject, error)
// (POST /api/v1/workflow-runs/{workflowRunId}/cancellations)
CancelWorkflowRun(ctx context.Context, request CancelWorkflowRunRequestObject) (CancelWorkflowRunResponseObject, error)
// (GET /health/live)
GetLiveHealth(ctx context.Context, request GetLiveHealthRequestObject) (GetLiveHealthResponseObject, error)
// (GET /health/ready)
GetReadyHealth(ctx context.Context, request GetReadyHealthRequestObject) (GetReadyHealthResponseObject, error)
}
StrictServerInterface represents all server handlers.
type TokenCredential ¶
type TokenCredential struct {
Kind TokenCredentialKind `json:"kind"`
Token *string `json:"token,omitempty"`
}
TokenCredential defines model for TokenCredential.
type TokenCredentialKind ¶
type TokenCredentialKind string
TokenCredentialKind defines model for TokenCredential.Kind.
const (
Token TokenCredentialKind = "token"
)
Defines values for TokenCredentialKind.
func (TokenCredentialKind) Valid ¶
func (e TokenCredentialKind) Valid() bool
Valid indicates whether the value is a known member of the TokenCredentialKind enum.
type TooManyValuesForParamError ¶
func (*TooManyValuesForParamError) Error ¶
func (e *TooManyValuesForParamError) Error() string
type TrackingObservation ¶
type TrackingObservation struct {
ConnectionId ConfigId `json:"connectionId"`
CoverageId *Id `json:"coverageId,omitempty"`
Dimension TrackingObservationDimension `json:"dimension"`
Evidence *[]string `json:"evidence,omitempty"`
ExternalId *string `json:"externalId,omitempty"`
ObservedAt Timestamp `json:"observedAt"`
ProviderId *string `json:"providerId,omitempty"`
Value TrackingObservationValue `json:"value"`
}
TrackingObservation defines model for TrackingObservation.
type TrackingObservationDimension ¶
type TrackingObservationDimension string
TrackingObservationDimension defines model for TrackingObservation.Dimension.
const ( Availability TrackingObservationDimension = "availability" Import TrackingObservationDimension = "import" Registration TrackingObservationDimension = "registration" Request TrackingObservationDimension = "request" )
Defines values for TrackingObservationDimension.
func (TrackingObservationDimension) Valid ¶
func (e TrackingObservationDimension) Valid() bool
Valid indicates whether the value is a known member of the TrackingObservationDimension enum.
type TrackingObservationValue ¶
type TrackingObservationValue string
TrackingObservationValue defines model for TrackingObservation.Value.
const ( TrackingObservationValueAbsent TrackingObservationValue = "absent" TrackingObservationValuePresent TrackingObservationValue = "present" TrackingObservationValueUnknown TrackingObservationValue = "unknown" )
Defines values for TrackingObservationValue.
func (TrackingObservationValue) Valid ¶
func (e TrackingObservationValue) Valid() bool
Valid indicates whether the value is a known member of the TrackingObservationValue enum.
type TrashEntry ¶
type TrashEntry struct {
Capabilities *[]string `json:"capabilities,omitempty"`
ClientAssociations *[]string `json:"clientAssociations,omitempty"`
ExpiresAt Timestamp `json:"expiresAt"`
Files []FileManifestEntry `json:"files"`
Holds *[]string `json:"holds,omitempty"`
Id Id `json:"id"`
OriginalPaths []FileTarget `json:"originalPaths"`
State TrashEntryState `json:"state"`
}
TrashEntry defines model for TrashEntry.
type TrashEntryState ¶
type TrashEntryState string
TrashEntryState defines model for TrashEntry.State.
const ( TrashEntryStateBlocked TrashEntryState = "blocked" TrashEntryStateHeld TrashEntryState = "held" TrashEntryStatePurged TrashEntryState = "purged" TrashEntryStatePurging TrashEntryState = "purging" TrashEntryStateReady TrashEntryState = "ready" TrashEntryStateRestoring TrashEntryState = "restoring" )
Defines values for TrashEntryState.
func (TrashEntryState) Valid ¶
func (e TrashEntryState) Valid() bool
Valid indicates whether the value is a known member of the TrashEntryState enum.
type TrashList ¶
type TrashList struct {
Items []TrashEntry `json:"items"`
Page Page `json:"page"`
}
TrashList defines model for TrashList.
type UnescapedCookieParamError ¶
func (*UnescapedCookieParamError) Error ¶
func (e *UnescapedCookieParamError) Error() string
func (*UnescapedCookieParamError) Unwrap ¶
func (e *UnescapedCookieParamError) Unwrap() error
type UnmarshalingParamError ¶
func (*UnmarshalingParamError) Error ¶
func (e *UnmarshalingParamError) Error() string
func (*UnmarshalingParamError) Unwrap ¶
func (e *UnmarshalingParamError) Unwrap() error
type UsernamePasswordCredential ¶
type UsernamePasswordCredential struct {
Kind UsernamePasswordCredentialKind `json:"kind"`
Password *string `json:"password,omitempty"`
Username string `json:"username"`
}
UsernamePasswordCredential defines model for UsernamePasswordCredential.
type UsernamePasswordCredentialKind ¶
type UsernamePasswordCredentialKind string
UsernamePasswordCredentialKind defines model for UsernamePasswordCredential.Kind.
const (
UsernamePassword UsernamePasswordCredentialKind = "username_password"
)
Defines values for UsernamePasswordCredentialKind.
func (UsernamePasswordCredentialKind) Valid ¶
func (e UsernamePasswordCredentialKind) Valid() bool
Valid indicates whether the value is a known member of the UsernamePasswordCredentialKind enum.
type WatchSettings ¶
type WatchSettings struct {
Enabled bool `json:"enabled"`
IntervalSeconds int `json:"intervalSeconds"`
}
WatchSettings defines model for WatchSettings.
type WorkflowRun ¶
type WorkflowRun struct {
AggregateEffectCount *int `json:"aggregateEffectCount,omitempty"`
ApprovalGates *[]string `json:"approvalGates,omitempty"`
Cancellation *Cancellation `json:"cancellation,omitempty"`
CurrentStep *string `json:"currentStep"`
DeadlineAt *NullableTimestamp `json:"deadlineAt"`
Id Id `json:"id"`
Name string `json:"name"`
RecipeVersion *string `json:"recipeVersion,omitempty"`
State WorkflowState `json:"state"`
Steps []WorkflowStep `json:"steps"`
UnresolvedCount *int `json:"unresolvedCount,omitempty"`
}
WorkflowRun defines model for WorkflowRun.
type WorkflowRunCreate ¶
type WorkflowRunCreate struct {
DeadlineSeconds *int `json:"deadlineSeconds,omitempty"`
Name string `json:"name"`
RecipeVersion *string `json:"recipeVersion,omitempty"`
Steps []struct {
ActionPlanId Id `json:"actionPlanId"`
Id string `json:"id"`
} `json:"steps"`
}
WorkflowRunCreate defines model for WorkflowRunCreate.
type WorkflowRunList ¶
type WorkflowRunList struct {
Items []WorkflowRun `json:"items"`
Page Page `json:"page"`
}
WorkflowRunList defines model for WorkflowRunList.
type WorkflowState ¶
type WorkflowState string
WorkflowState defines model for WorkflowState.
const ( WorkflowStateAwaitingApproval WorkflowState = "awaiting_approval" WorkflowStateCancelled WorkflowState = "cancelled" WorkflowStateDeadlineExceeded WorkflowState = "deadline_exceeded" WorkflowStateFailed WorkflowState = "failed" WorkflowStateNeedsReview WorkflowState = "needs_review" WorkflowStateRunning WorkflowState = "running" WorkflowStateSucceeded WorkflowState = "succeeded" WorkflowStateWaitingDependency WorkflowState = "waiting_dependency" )
Defines values for WorkflowState.
func (WorkflowState) Valid ¶
func (e WorkflowState) Valid() bool
Valid indicates whether the value is a known member of the WorkflowState enum.
type WorkflowStep ¶
type WorkflowStep struct {
ActionPlanId Id `json:"actionPlanId"`
ActionRunId *Id `json:"actionRunId,omitempty"`
// ApprovalGate Server-derived approval requirement from the referenced immutable plan.
ApprovalGate *string `json:"approvalGate,omitempty"`
Id string `json:"id"`
State StepState `json:"state"`
}
WorkflowStep defines model for WorkflowStep.