apigen

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2026 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Overview

Package apigen 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

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSpec

func GetSpec() (swagger *openapi3.T, err error)

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

func GetSpecJSON() ([]byte, error)

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 GetSwagger() (*openapi3.T, error)

GetSwagger returns the OpenAPI specification corresponding to the generated code in this file.

Deprecated: GetSwagger predates kin-openapi renaming openapi3.Swagger to openapi3.T. Use GetSpec instead. This wrapper is retained for backwards compatibility.

func Handler

func Handler(si ServerInterface) http.Handler

Handler creates http.Handler with routing matching OpenAPI spec.

func HandlerFromMux

func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler

HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.

func HandlerFromMuxWithBaseURL

func HandlerFromMuxWithBaseURL(si ServerInterface, r chi.Router, baseURL string) http.Handler

func HandlerWithOptions

func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler

HandlerWithOptions creates http.Handler with additional options

func PathToRawSpec

func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)

Constructs a synthetic filesystem for resolving external references when loading openapi specifications.

Types

type AcceptInvite201JSONResponse

type AcceptInvite201JSONResponse LoginResponse

func (AcceptInvite201JSONResponse) VisitAcceptInviteResponse

func (response AcceptInvite201JSONResponse) VisitAcceptInviteResponse(w http.ResponseWriter) error

type AcceptInviteJSONRequestBody

type AcceptInviteJSONRequestBody = AcceptInviteRequest

AcceptInviteJSONRequestBody defines body for AcceptInvite for application/json ContentType.

type AcceptInviteRequest

type AcceptInviteRequest struct {
	DisplayName *DisplayName `json:"display_name,omitempty"`

	// Password 8 to 256 characters.
	Password Password `json:"password"`
	Token    string   `json:"token"`

	// Username Letters, digits, `.`, `_` and `-`, starting with a letter or digit. Case-insensitively unique.
	Username Username `json:"username"`
}

AcceptInviteRequest defines model for AcceptInviteRequest.

type AcceptInviteRequestObject

type AcceptInviteRequestObject struct {
	Body *AcceptInviteJSONRequestBody
}

type AcceptInviteResponseObject

type AcceptInviteResponseObject interface {
	VisitAcceptInviteResponse(w http.ResponseWriter) error
}

type AcceptInvitedefaultApplicationProblemPlusJSONResponse

type AcceptInvitedefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (AcceptInvitedefaultApplicationProblemPlusJSONResponse) VisitAcceptInviteResponse

type AddFromSource200JSONResponse

type AddFromSource200JSONResponse AddFromSourceResult

func (AddFromSource200JSONResponse) VisitAddFromSourceResponse

func (response AddFromSource200JSONResponse) VisitAddFromSourceResponse(w http.ResponseWriter) error

type AddFromSourceJSONRequestBody

type AddFromSourceJSONRequestBody = SeriesRef

AddFromSourceJSONRequestBody defines body for AddFromSource for application/json ContentType.

type AddFromSourceRequestObject

type AddFromSourceRequestObject struct {
	Body *AddFromSourceJSONRequestBody
}

type AddFromSourceResponseObject

type AddFromSourceResponseObject interface {
	VisitAddFromSourceResponse(w http.ResponseWriter) error
}

type AddFromSourceResult

type AddFromSourceResult struct {
	Added      bool             `json:"added"`
	Candidates []EntryCandidate `json:"candidates"`
	Entry      *LibraryEntry    `json:"entry,omitempty"`
}

AddFromSourceResult defines model for AddFromSourceResult.

type AddFromSourcedefaultApplicationProblemPlusJSONResponse

type AddFromSourcedefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (AddFromSourcedefaultApplicationProblemPlusJSONResponse) VisitAddFromSourceResponse

type AddToLibrary200JSONResponse

type AddToLibrary200JSONResponse LibraryEntry

func (AddToLibrary200JSONResponse) VisitAddToLibraryResponse

func (response AddToLibrary200JSONResponse) VisitAddToLibraryResponse(w http.ResponseWriter) error

type AddToLibrary201JSONResponse

type AddToLibrary201JSONResponse LibraryEntry

func (AddToLibrary201JSONResponse) VisitAddToLibraryResponse

func (response AddToLibrary201JSONResponse) VisitAddToLibraryResponse(w http.ResponseWriter) error

type AddToLibraryJSONRequestBody

type AddToLibraryJSONRequestBody = AddToLibraryRequest

AddToLibraryJSONRequestBody defines body for AddToLibrary for application/json ContentType.

type AddToLibraryRequest

type AddToLibraryRequest struct {
	EntryId string     `json:"entry_id"`
	Source  *SeriesRef `json:"source,omitempty"`
}

AddToLibraryRequest defines model for AddToLibraryRequest.

type AddToLibraryRequestObject

type AddToLibraryRequestObject struct {
	Body *AddToLibraryJSONRequestBody
}

type AddToLibraryResponseObject

type AddToLibraryResponseObject interface {
	VisitAddToLibraryResponse(w http.ResponseWriter) error
}

type AddToLibrarydefaultApplicationProblemPlusJSONResponse

type AddToLibrarydefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (AddToLibrarydefaultApplicationProblemPlusJSONResponse) VisitAddToLibraryResponse

type ApiKey

type ApiKey struct {
	CreatedAt  time.Time          `json:"created_at"`
	ExpiresAt  *time.Time         `json:"expires_at,omitempty"`
	Id         openapi_types.UUID `json:"id"`
	LastUsedAt *time.Time         `json:"last_used_at,omitempty"`
	Name       string             `json:"name"`

	// Prefix The start of the key, to tell keys apart.
	Prefix string        `json:"prefix"`
	Scopes []ApiKeyScope `json:"scopes"`
}

ApiKey defines model for ApiKey.

type ApiKeyCreated

type ApiKeyCreated struct {
	ApiKey ApiKey `json:"api_key"`

	// Key The key. Shown only here.
	Key string `json:"key"`
}

ApiKeyCreated defines model for ApiKeyCreated.

type ApiKeyList

type ApiKeyList struct {
	ApiKeys []ApiKey `json:"api_keys"`
}

ApiKeyList defines model for ApiKeyList.

type ApiKeyScope

type ApiKeyScope string

ApiKeyScope defines model for ApiKeyScope.

const (
	ApiKeyScopeAdmin       ApiKeyScope = "admin"
	ApiKeyScopeMetricsRead ApiKeyScope = "metrics:read"
	ApiKeyScopeRead        ApiKeyScope = "read"
	ApiKeyScopeWrite       ApiKeyScope = "write"
)

Defines values for ApiKeyScope.

func (ApiKeyScope) Valid

func (e ApiKeyScope) Valid() bool

Valid indicates whether the value is a known member of the ApiKeyScope enum.

type AssignNetworkProfile200JSONResponse

type AssignNetworkProfile200JSONResponse NetworkAssignment

func (AssignNetworkProfile200JSONResponse) VisitAssignNetworkProfileResponse

func (response AssignNetworkProfile200JSONResponse) VisitAssignNetworkProfileResponse(w http.ResponseWriter) error

type AssignNetworkProfileJSONRequestBody

type AssignNetworkProfileJSONRequestBody = NetworkAssignmentRequest

AssignNetworkProfileJSONRequestBody defines body for AssignNetworkProfile for application/json ContentType.

type AssignNetworkProfileRequestObject

type AssignNetworkProfileRequestObject struct {
	Body *AssignNetworkProfileJSONRequestBody
}

type AssignNetworkProfileResponseObject

type AssignNetworkProfileResponseObject interface {
	VisitAssignNetworkProfileResponse(w http.ResponseWriter) error
}

type AssignNetworkProfiledefaultApplicationProblemPlusJSONResponse

type AssignNetworkProfiledefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (AssignNetworkProfiledefaultApplicationProblemPlusJSONResponse) VisitAssignNetworkProfileResponse

func (response AssignNetworkProfiledefaultApplicationProblemPlusJSONResponse) VisitAssignNetworkProfileResponse(w http.ResponseWriter) error

type AttachCandidate200JSONResponse

type AttachCandidate200JSONResponse MatchSeries

func (AttachCandidate200JSONResponse) VisitAttachCandidateResponse

func (response AttachCandidate200JSONResponse) VisitAttachCandidateResponse(w http.ResponseWriter) error

type AttachCandidateRequestObject

type AttachCandidateRequestObject struct {
	WorkId   WorkId   `json:"work_id"`
	SeriesId SeriesId `json:"series_id"`
}

type AttachCandidateResponseObject

type AttachCandidateResponseObject interface {
	VisitAttachCandidateResponse(w http.ResponseWriter) error
}

type AttachCandidatedefaultApplicationProblemPlusJSONResponse

type AttachCandidatedefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (AttachCandidatedefaultApplicationProblemPlusJSONResponse) VisitAttachCandidateResponse

func (response AttachCandidatedefaultApplicationProblemPlusJSONResponse) VisitAttachCandidateResponse(w http.ResponseWriter) error

type AttachSeries201JSONResponse

type AttachSeries201JSONResponse MatchSeries

func (AttachSeries201JSONResponse) VisitAttachSeriesResponse

func (response AttachSeries201JSONResponse) VisitAttachSeriesResponse(w http.ResponseWriter) error

type AttachSeriesJSONRequestBody

type AttachSeriesJSONRequestBody = AttachSeriesRequest

AttachSeriesJSONRequestBody defines body for AttachSeries for application/json ContentType.

type AttachSeriesRequest

type AttachSeriesRequest struct {
	Key      *string `json:"key,omitempty"`
	SourceId *string `json:"source_id,omitempty"`
	Url      *string `json:"url,omitempty"`
}

AttachSeriesRequest Either source_id and key, or url.

type AttachSeriesRequestObject

type AttachSeriesRequestObject struct {
	WorkId WorkId `json:"work_id"`
	Body   *AttachSeriesJSONRequestBody
}

type AttachSeriesResponseObject

type AttachSeriesResponseObject interface {
	VisitAttachSeriesResponse(w http.ResponseWriter) error
}

type AttachSeriesdefaultApplicationProblemPlusJSONResponse

type AttachSeriesdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (AttachSeriesdefaultApplicationProblemPlusJSONResponse) VisitAttachSeriesResponse

type Attribution

type Attribution struct {
	License    *string `json:"license,omitempty"`
	LicenseUrl *string `json:"license_url,omitempty"`
	Notice     *string `json:"notice,omitempty"`
	Provider   string  `json:"provider"`
	Url        *string `json:"url,omitempty"`
}

Attribution Where data comes from and under which terms. Show it next to the data.

type AutoDownloadRequest

type AutoDownloadRequest struct {
	Enabled bool `json:"enabled"`
}

AutoDownloadRequest defines model for AutoDownloadRequest.

type BookmarkList

type BookmarkList struct {
	ChapterIds []openapi_types.UUID `json:"chapter_ids"`
}

BookmarkList defines model for BookmarkList.

type BrowseCatalog200JSONResponse

type BrowseCatalog200JSONResponse CatalogPage

func (BrowseCatalog200JSONResponse) VisitBrowseCatalogResponse

func (response BrowseCatalog200JSONResponse) VisitBrowseCatalogResponse(w http.ResponseWriter) error

type BrowseCatalogParams

type BrowseCatalogParams struct {
	// Type Only these types, e.g. manga, manhwa, manhua, webtoon, comic, light_novel.
	Type *CatalogType `form:"type,omitempty" json:"type,omitempty"`

	// Status Only these statuses, e.g. releasing, completed, hiatus, cancelled, upcoming.
	Status *CatalogStatus `form:"status,omitempty" json:"status,omitempty"`

	// Genre Only entries with all of these genres.
	Genre    *CatalogGenre            `form:"genre,omitempty" json:"genre,omitempty"`
	YearFrom *YearFrom                `form:"year_from,omitempty" json:"year_from,omitempty"`
	YearTo   *YearTo                  `form:"year_to,omitempty" json:"year_to,omitempty"`
	Sort     *BrowseCatalogParamsSort `form:"sort,omitempty" json:"sort,omitempty"`

	// Reverse Reverse the sort order.
	Reverse *Reverse `form:"reverse,omitempty" json:"reverse,omitempty"`

	// Lang Preferred language for titles and descriptions (BCP 47, e.g. "en", "ja-Latn"). Default from the Accept-Language header.
	Lang *Lang `form:"lang,omitempty" json:"lang,omitempty"`

	// PageSize Entries per page, 1 to 100. Default 30.
	PageSize *CatalogPageSize `form:"page_size,omitempty" json:"page_size,omitempty"`

	// PageToken The `next_page_token` of the previous page.
	PageToken *PageToken `form:"page_token,omitempty" json:"page_token,omitempty"`
}

BrowseCatalogParams defines parameters for BrowseCatalog.

type BrowseCatalogParamsSort

type BrowseCatalogParamsSort string

BrowseCatalogParamsSort defines parameters for BrowseCatalog.

const (
	BrowseCatalogParamsSortPopularity BrowseCatalogParamsSort = "popularity"
	BrowseCatalogParamsSortRating     BrowseCatalogParamsSort = "rating"
	BrowseCatalogParamsSortRelevance  BrowseCatalogParamsSort = "relevance"
	BrowseCatalogParamsSortTitle      BrowseCatalogParamsSort = "title"
	BrowseCatalogParamsSortUpdated    BrowseCatalogParamsSort = "updated"
	BrowseCatalogParamsSortYear       BrowseCatalogParamsSort = "year"
)

Defines values for BrowseCatalogParamsSort.

func (BrowseCatalogParamsSort) Valid

func (e BrowseCatalogParamsSort) Valid() bool

Valid indicates whether the value is a known member of the BrowseCatalogParamsSort enum.

type BrowseCatalogRequestObject

type BrowseCatalogRequestObject struct {
	Params BrowseCatalogParams
}

type BrowseCatalogResponseObject

type BrowseCatalogResponseObject interface {
	VisitBrowseCatalogResponse(w http.ResponseWriter) error
}

type BrowseCatalogdefaultApplicationProblemPlusJSONResponse

type BrowseCatalogdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (BrowseCatalogdefaultApplicationProblemPlusJSONResponse) VisitBrowseCatalogResponse

type CancelJobRun202JSONResponse

type CancelJobRun202JSONResponse JobRunSummary

func (CancelJobRun202JSONResponse) VisitCancelJobRunResponse

func (response CancelJobRun202JSONResponse) VisitCancelJobRunResponse(w http.ResponseWriter) error

type CancelJobRunRequestObject

type CancelJobRunRequestObject struct {
	RunId RunId `json:"run_id"`
}

type CancelJobRunResponseObject

type CancelJobRunResponseObject interface {
	VisitCancelJobRunResponse(w http.ResponseWriter) error
}

type CancelJobRundefaultApplicationProblemPlusJSONResponse

type CancelJobRundefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (CancelJobRundefaultApplicationProblemPlusJSONResponse) VisitCancelJobRunResponse

type CancelMetaJobRun202JSONResponse

type CancelMetaJobRun202JSONResponse JobRunSummary

func (CancelMetaJobRun202JSONResponse) VisitCancelMetaJobRunResponse

func (response CancelMetaJobRun202JSONResponse) VisitCancelMetaJobRunResponse(w http.ResponseWriter) error

type CancelMetaJobRunRequestObject

type CancelMetaJobRunRequestObject struct {
	RunId RunId `json:"run_id"`
}

type CancelMetaJobRunResponseObject

type CancelMetaJobRunResponseObject interface {
	VisitCancelMetaJobRunResponse(w http.ResponseWriter) error
}

type CancelMetaJobRundefaultApplicationProblemPlusJSONResponse

type CancelMetaJobRundefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (CancelMetaJobRundefaultApplicationProblemPlusJSONResponse) VisitCancelMetaJobRunResponse

func (response CancelMetaJobRundefaultApplicationProblemPlusJSONResponse) VisitCancelMetaJobRunResponse(w http.ResponseWriter) error

type CancelPluginJobRun202JSONResponse

type CancelPluginJobRun202JSONResponse PluginJobRunSummary

func (CancelPluginJobRun202JSONResponse) VisitCancelPluginJobRunResponse

func (response CancelPluginJobRun202JSONResponse) VisitCancelPluginJobRunResponse(w http.ResponseWriter) error

type CancelPluginJobRunRequestObject

type CancelPluginJobRunRequestObject struct {
	PluginId PluginId `json:"plugin_id"`
	RunId    string   `json:"run_id"`
}

type CancelPluginJobRunResponseObject

type CancelPluginJobRunResponseObject interface {
	VisitCancelPluginJobRunResponse(w http.ResponseWriter) error
}

type CancelPluginJobRundefaultApplicationProblemPlusJSONResponse

type CancelPluginJobRundefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (CancelPluginJobRundefaultApplicationProblemPlusJSONResponse) VisitCancelPluginJobRunResponse

func (response CancelPluginJobRundefaultApplicationProblemPlusJSONResponse) VisitCancelPluginJobRunResponse(w http.ResponseWriter) error

type CancelTask200JSONResponse

type CancelTask200JSONResponse Task

func (CancelTask200JSONResponse) VisitCancelTaskResponse

func (response CancelTask200JSONResponse) VisitCancelTaskResponse(w http.ResponseWriter) error

type CancelTaskRequestObject

type CancelTaskRequestObject struct {
	TaskId TaskId `json:"task_id"`
}

type CancelTaskResponseObject

type CancelTaskResponseObject interface {
	VisitCancelTaskResponse(w http.ResponseWriter) error
}

type CancelTaskdefaultApplicationProblemPlusJSONResponse

type CancelTaskdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (CancelTaskdefaultApplicationProblemPlusJSONResponse) VisitCancelTaskResponse

type CatalogCover

type CatalogCover struct {
	// Blurhash A placeholder to show while the image loads.
	Blurhash  *string `json:"blurhash,omitempty"`
	Height    *int    `json:"height,omitempty"`
	Thumbhash *string `json:"thumbhash,omitempty"`

	// Url The server's URL for the image, relative to the server, e.g. "/api/v1/catalog/entries/{id}/cover".
	Url   string `json:"url"`
	Width *int   `json:"width,omitempty"`
}

CatalogCover defines model for CatalogCover.

type CatalogCredit

type CatalogCredit struct {
	Name     string  `json:"name"`
	PersonId *string `json:"person_id,omitempty"`

	// Role author, artist, writer, illustrator, original_creator, …
	Role string `json:"role"`
}

CatalogCredit defines model for CatalogCredit.

type CatalogDescription

type CatalogDescription struct {
	// Format HTML comes from the provider; sanitise it before showing.
	Format   CatalogDescriptionFormat `json:"format"`
	Language *string                  `json:"language,omitempty"`
	Text     string                   `json:"text"`
}

CatalogDescription defines model for CatalogDescription.

type CatalogDescriptionFormat

type CatalogDescriptionFormat string

CatalogDescriptionFormat HTML comes from the provider; sanitise it before showing.

const (
	CatalogDescriptionFormatHtml     CatalogDescriptionFormat = "html"
	CatalogDescriptionFormatMarkdown CatalogDescriptionFormat = "markdown"
	CatalogDescriptionFormatPlain    CatalogDescriptionFormat = "plain"
)

Defines values for CatalogDescriptionFormat.

func (CatalogDescriptionFormat) Valid

func (e CatalogDescriptionFormat) Valid() bool

Valid indicates whether the value is a known member of the CatalogDescriptionFormat enum.

type CatalogEntry

type CatalogEntry struct {
	Attribution   []Attribution        `json:"attribution"`
	ContentRating EntryContentRating   `json:"content_rating"`
	Cover         *CatalogCover        `json:"cover,omitempty"`
	Credits       []CatalogCredit      `json:"credits"`
	Descriptions  []CatalogDescription `json:"descriptions"`
	EndYear       *int                 `json:"end_year,omitempty"`
	ExternalIds   []CatalogExternalId  `json:"external_ids"`
	Genres        []string             `json:"genres"`
	Id            string               `json:"id"`

	// LibraryWorkId The work, when this entry is in your library.
	LibraryWorkId    *openapi_types.UUID `json:"library_work_id,omitempty"`
	Links            []CatalogLink       `json:"links"`
	OriginalLanguage *string             `json:"original_language,omitempty"`
	Status           *string             `json:"status,omitempty"`
	Tags             []CatalogTag        `json:"tags"`
	Title            string              `json:"title"`
	Titles           []CatalogTitle      `json:"titles"`
	Type             *string             `json:"type,omitempty"`

	// Year The year it started.
	Year *int `json:"year,omitempty"`
}

CatalogEntry defines model for CatalogEntry.

type CatalogEntrySummary

type CatalogEntrySummary struct {
	Attribution   []Attribution      `json:"attribution"`
	ContentRating EntryContentRating `json:"content_rating"`
	Cover         *CatalogCover      `json:"cover,omitempty"`
	Genres        []string           `json:"genres"`
	Id            string             `json:"id"`

	// LibraryWorkId The work, when this entry is in your library.
	LibraryWorkId    *openapi_types.UUID `json:"library_work_id,omitempty"`
	OriginalLanguage *string             `json:"original_language,omitempty"`

	// Rating Average score from 0 to 10, when known.
	Rating *float32 `json:"rating,omitempty"`

	// Status releasing, completed, hiatus, cancelled, upcoming or unknown. Absent when unknown.
	Status *string `json:"status,omitempty"`

	// Title The title in the requested language when known.
	Title string `json:"title"`

	// Type e.g. manga, manhwa, manhua, webtoon, comic, light_novel. Absent when unknown; the list may grow.
	Type *string `json:"type,omitempty"`
	Year *int    `json:"year,omitempty"`
}

CatalogEntrySummary defines model for CatalogEntrySummary.

type CatalogExternalId

type CatalogExternalId struct {
	Id       string  `json:"id"`
	Provider string  `json:"provider"`
	Url      *string `json:"url,omitempty"`
}

CatalogExternalId defines model for CatalogExternalId.

type CatalogGenre

type CatalogGenre = []string

CatalogGenre defines model for CatalogGenre.

type CatalogLink struct {
	Title *string `json:"title,omitempty"`
	Type  string  `json:"type"`
	Url   string  `json:"url"`
}

CatalogLink defines model for CatalogLink.

type CatalogPage

type CatalogPage struct {
	Entries       []CatalogEntrySummary `json:"entries"`
	NextPageToken string                `json:"next_page_token"`

	// NoProviders The metadata service has no provider, so the catalogue is empty.
	NoProviders bool `json:"no_providers"`

	// TotalSize The number of matches, when the catalogue knows it.
	TotalSize *int64 `json:"total_size,omitempty"`
}

CatalogPage defines model for CatalogPage.

type CatalogPageSize

type CatalogPageSize = int

CatalogPageSize defines model for CatalogPageSize.

type CatalogSearchHit

type CatalogSearchHit struct {
	Entry CatalogEntrySummary `json:"entry"`

	// Matched The title or name that matched, when it isn't the shown title.
	Matched *string `json:"matched,omitempty"`
}

CatalogSearchHit defines model for CatalogSearchHit.

type CatalogSearchPage

type CatalogSearchPage struct {
	Hits          []CatalogSearchHit `json:"hits"`
	NextPageToken string             `json:"next_page_token"`
	NoProviders   bool               `json:"no_providers"`
	TotalSize     *int64             `json:"total_size,omitempty"`
}

CatalogSearchPage defines model for CatalogSearchPage.

type CatalogSort

type CatalogSort string

CatalogSort defines model for CatalogSort.

const (
	CatalogSortPopularity CatalogSort = "popularity"
	CatalogSortRating     CatalogSort = "rating"
	CatalogSortRelevance  CatalogSort = "relevance"
	CatalogSortTitle      CatalogSort = "title"
	CatalogSortUpdated    CatalogSort = "updated"
	CatalogSortYear       CatalogSort = "year"
)

Defines values for CatalogSort.

func (CatalogSort) Valid

func (e CatalogSort) Valid() bool

Valid indicates whether the value is a known member of the CatalogSort enum.

type CatalogStatus

type CatalogStatus = []string

CatalogStatus defines model for CatalogStatus.

type CatalogTag

type CatalogTag struct {
	Genre   bool   `json:"genre"`
	Name    string `json:"name"`
	Spoiler bool   `json:"spoiler"`
}

CatalogTag defines model for CatalogTag.

type CatalogTitle

type CatalogTitle struct {
	// Kind official, native, romanized, alternative, unofficial or unknown.
	Kind string `json:"kind"`

	// Language BCP 47, e.g. "ja", "ja-Latn", "en".
	Language *string `json:"language,omitempty"`
	Primary  bool    `json:"primary"`
	Text     string  `json:"text"`
}

CatalogTitle defines model for CatalogTitle.

type CatalogType

type CatalogType = []string

CatalogType defines model for CatalogType.

type ChangeMyPassword204Response

type ChangeMyPassword204Response struct {
}

func (ChangeMyPassword204Response) VisitChangeMyPasswordResponse

func (response ChangeMyPassword204Response) VisitChangeMyPasswordResponse(w http.ResponseWriter) error

type ChangeMyPasswordJSONRequestBody

type ChangeMyPasswordJSONRequestBody = ChangePasswordRequest

ChangeMyPasswordJSONRequestBody defines body for ChangeMyPassword for application/json ContentType.

type ChangeMyPasswordRequestObject

type ChangeMyPasswordRequestObject struct {
	Body *ChangeMyPasswordJSONRequestBody
}

type ChangeMyPasswordResponseObject

type ChangeMyPasswordResponseObject interface {
	VisitChangeMyPasswordResponse(w http.ResponseWriter) error
}

type ChangeMyPassworddefaultApplicationProblemPlusJSONResponse

type ChangeMyPassworddefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (ChangeMyPassworddefaultApplicationProblemPlusJSONResponse) VisitChangeMyPasswordResponse

func (response ChangeMyPassworddefaultApplicationProblemPlusJSONResponse) VisitChangeMyPasswordResponse(w http.ResponseWriter) error

type ChangePasswordRequest

type ChangePasswordRequest struct {
	CurrentPassword string `json:"current_password"`

	// NewPassword 8 to 256 characters.
	NewPassword Password `json:"new_password"`
}

ChangePasswordRequest defines model for ChangePasswordRequest.

type ChapterDetail

type ChapterDetail struct {
	Chapter  UnifiedChapter   `json:"chapter"`
	Variants []ChapterVariant `json:"variants"`
}

ChapterDetail defines model for ChapterDetail.

type ChapterId

type ChapterId = openapi_types.UUID

ChapterId defines model for ChapterId.

type ChapterList

type ChapterList struct {
	Chapters []UnifiedChapter `json:"chapters"`
}

ChapterList defines model for ChapterList.

type ChapterPages

type ChapterPages struct {
	Chapter       UnifiedChapter      `json:"chapter"`
	NextChapterId *openapi_types.UUID `json:"next_chapter_id,omitempty"`

	// Origin Pages come live from the source, or from the downloaded file.
	Origin        ChapterPagesOrigin  `json:"origin"`
	Pages         []ReaderPage        `json:"pages"`
	PrevChapterId *openapi_types.UUID `json:"prev_chapter_id,omitempty"`
	Progress      *ChapterProgress    `json:"progress,omitempty"`
	Variant       ChapterVariant      `json:"variant"`
	WorkId        openapi_types.UUID  `json:"work_id"`
}

ChapterPages defines model for ChapterPages.

type ChapterPagesOrigin

type ChapterPagesOrigin string

ChapterPagesOrigin Pages come live from the source, or from the downloaded file.

const (
	ChapterPagesOriginFile   ChapterPagesOrigin = "file"
	ChapterPagesOriginSource ChapterPagesOrigin = "source"
)

Defines values for ChapterPagesOrigin.

func (ChapterPagesOrigin) Valid

func (e ChapterPagesOrigin) Valid() bool

Valid indicates whether the value is a known member of the ChapterPagesOrigin enum.

type ChapterProgress

type ChapterProgress struct {
	ChapterId openapi_types.UUID `json:"chapter_id"`
	Completed bool               `json:"completed"`

	// Page The page you are on, from 0.
	Page      int       `json:"page"`
	Pages     *int      `json:"pages,omitempty"`
	UpdatedAt time.Time `json:"updated_at"`
}

ChapterProgress defines model for ChapterProgress.

type ChapterVariant

type ChapterVariant struct {
	// DisplayTitle The chapter's own name without its number, volume or scanlator noise ("Vol. 1 Chapter 1: Double Dungeon" → "Double Dungeon"); empty when the name says nothing else, so show "Chapter N".
	DisplayTitle string                     `json:"display_title"`
	Id           openapi_types.UUID         `json:"id"`
	Key          string                     `json:"key"`
	Lang         *string                    `json:"lang,omitempty"`
	Name         string                     `json:"name"`
	Number       *float32                   `json:"number,omitempty"`
	Priority     int                        `json:"priority"`
	Scanlator    *string                    `json:"scanlator,omitempty"`
	SeriesId     openapi_types.UUID         `json:"series_id"`
	SourceHealth ChapterVariantSourceHealth `json:"source_health"`
	SourceId     string                     `json:"source_id"`
	SourceName   string                     `json:"source_name"`
	UploadedAt   *time.Time                 `json:"uploaded_at,omitempty"`
	Volume       *string                    `json:"volume,omitempty"`
}

ChapterVariant defines model for ChapterVariant.

type ChapterVariantSourceHealth

type ChapterVariantSourceHealth string

ChapterVariantSourceHealth defines model for ChapterVariant.SourceHealth.

const (
	ChapterVariantSourceHealthFailing ChapterVariantSourceHealth = "failing"
	ChapterVariantSourceHealthOk      ChapterVariantSourceHealth = "ok"
	ChapterVariantSourceHealthUnknown ChapterVariantSourceHealth = "unknown"
)

Defines values for ChapterVariantSourceHealth.

func (ChapterVariantSourceHealth) Valid

func (e ChapterVariantSourceHealth) Valid() bool

Valid indicates whether the value is a known member of the ChapterVariantSourceHealth enum.

type CheckInvite200JSONResponse

type CheckInvite200JSONResponse InviteCheck

func (CheckInvite200JSONResponse) VisitCheckInviteResponse

func (response CheckInvite200JSONResponse) VisitCheckInviteResponse(w http.ResponseWriter) error

type CheckInviteJSONRequestBody

type CheckInviteJSONRequestBody = InviteToken

CheckInviteJSONRequestBody defines body for CheckInvite for application/json ContentType.

type CheckInviteRequestObject

type CheckInviteRequestObject struct {
	Body *CheckInviteJSONRequestBody
}

type CheckInviteResponseObject

type CheckInviteResponseObject interface {
	VisitCheckInviteResponse(w http.ResponseWriter) error
}

type CheckInvitedefaultApplicationProblemPlusJSONResponse

type CheckInvitedefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (CheckInvitedefaultApplicationProblemPlusJSONResponse) VisitCheckInviteResponse

type CheckMetaConnection200JSONResponse

type CheckMetaConnection200JSONResponse MetaConnection

func (CheckMetaConnection200JSONResponse) VisitCheckMetaConnectionResponse

func (response CheckMetaConnection200JSONResponse) VisitCheckMetaConnectionResponse(w http.ResponseWriter) error

type CheckMetaConnectionRequestObject

type CheckMetaConnectionRequestObject struct {
}

type CheckMetaConnectionResponseObject

type CheckMetaConnectionResponseObject interface {
	VisitCheckMetaConnectionResponse(w http.ResponseWriter) error
}

type CheckMetaConnectiondefaultApplicationProblemPlusJSONResponse

type CheckMetaConnectiondefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (CheckMetaConnectiondefaultApplicationProblemPlusJSONResponse) VisitCheckMetaConnectionResponse

func (response CheckMetaConnectiondefaultApplicationProblemPlusJSONResponse) VisitCheckMetaConnectionResponse(w http.ResponseWriter) error

type ChiServerOptions

type ChiServerOptions struct {
	BaseURL          string
	BaseRouter       chi.Router
	Middlewares      []MiddlewareFunc
	ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type ClearMyHistory204Response

type ClearMyHistory204Response struct {
}

func (ClearMyHistory204Response) VisitClearMyHistoryResponse

func (response ClearMyHistory204Response) VisitClearMyHistoryResponse(w http.ResponseWriter) error

type ClearMyHistoryRequestObject

type ClearMyHistoryRequestObject struct {
}

type ClearMyHistoryResponseObject

type ClearMyHistoryResponseObject interface {
	VisitClearMyHistoryResponse(w http.ResponseWriter) error
}

type ClearMyHistorydefaultApplicationProblemPlusJSONResponse

type ClearMyHistorydefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (ClearMyHistorydefaultApplicationProblemPlusJSONResponse) VisitClearMyHistoryResponse

func (response ClearMyHistorydefaultApplicationProblemPlusJSONResponse) VisitClearMyHistoryResponse(w http.ResponseWriter) error

type ClearPackageImageRetries204Response

type ClearPackageImageRetries204Response struct {
}

func (ClearPackageImageRetries204Response) VisitClearPackageImageRetriesResponse

func (response ClearPackageImageRetries204Response) VisitClearPackageImageRetriesResponse(w http.ResponseWriter) error

type ClearPackageImageRetriesRequestObject

type ClearPackageImageRetriesRequestObject struct {
	PluginId  PluginId  `json:"plugin_id"`
	PackageId PackageId `json:"package_id"`
}

type ClearPackageImageRetriesResponseObject

type ClearPackageImageRetriesResponseObject interface {
	VisitClearPackageImageRetriesResponse(w http.ResponseWriter) error
}

type ClearPackageImageRetriesdefaultApplicationProblemPlusJSONResponse

type ClearPackageImageRetriesdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (ClearPackageImageRetriesdefaultApplicationProblemPlusJSONResponse) VisitClearPackageImageRetriesResponse

func (response ClearPackageImageRetriesdefaultApplicationProblemPlusJSONResponse) VisitClearPackageImageRetriesResponse(w http.ResponseWriter) error

type ClearSourceImageRetries204Response

type ClearSourceImageRetries204Response struct {
}

func (ClearSourceImageRetries204Response) VisitClearSourceImageRetriesResponse

func (response ClearSourceImageRetries204Response) VisitClearSourceImageRetriesResponse(w http.ResponseWriter) error

type ClearSourceImageRetriesRequestObject

type ClearSourceImageRetriesRequestObject struct {
	SourceId SourceId `json:"source_id"`
}

type ClearSourceImageRetriesResponseObject

type ClearSourceImageRetriesResponseObject interface {
	VisitClearSourceImageRetriesResponse(w http.ResponseWriter) error
}

type ClearSourceImageRetriesdefaultApplicationProblemPlusJSONResponse

type ClearSourceImageRetriesdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (ClearSourceImageRetriesdefaultApplicationProblemPlusJSONResponse) VisitClearSourceImageRetriesResponse

func (response ClearSourceImageRetriesdefaultApplicationProblemPlusJSONResponse) VisitClearSourceImageRetriesResponse(w http.ResponseWriter) error

type CompleteSetup200JSONResponse

type CompleteSetup200JSONResponse SetupStatus

func (CompleteSetup200JSONResponse) VisitCompleteSetupResponse

func (response CompleteSetup200JSONResponse) VisitCompleteSetupResponse(w http.ResponseWriter) error

type CompleteSetupRequestObject

type CompleteSetupRequestObject struct {
}

type CompleteSetupResponseObject

type CompleteSetupResponseObject interface {
	VisitCompleteSetupResponse(w http.ResponseWriter) error
}

type CompleteSetupdefaultApplicationProblemPlusJSONResponse

type CompleteSetupdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (CompleteSetupdefaultApplicationProblemPlusJSONResponse) VisitCompleteSetupResponse

type ComponentHealth

type ComponentHealth struct {
	Error     *string `json:"error,omitempty"`
	LatencyMs *int    `json:"latency_ms,omitempty"`
	Name      string  `json:"name"`

	// Required Whether the server can't work without it.
	Required bool                  `json:"required"`
	Status   ComponentHealthStatus `json:"status"`
}

ComponentHealth defines model for ComponentHealth.

type ComponentHealthStatus

type ComponentHealthStatus string

ComponentHealthStatus defines model for ComponentHealth.Status.

const (
	ComponentHealthStatusFailing ComponentHealthStatus = "failing"
	ComponentHealthStatusOk      ComponentHealthStatus = "ok"
)

Defines values for ComponentHealthStatus.

func (ComponentHealthStatus) Valid

func (e ComponentHealthStatus) Valid() bool

Valid indicates whether the value is a known member of the ComponentHealthStatus enum.

type ConfirmDuplicateRequest

type ConfirmDuplicateRequest struct {
	// Keep The entry that stays; absent keeps the more popular one.
	Keep *ConfirmDuplicateRequestKeep `json:"keep,omitempty"`
	Note *string                      `json:"note,omitempty"`
}

ConfirmDuplicateRequest defines model for ConfirmDuplicateRequest.

type ConfirmDuplicateRequestKeep

type ConfirmDuplicateRequestKeep string

ConfirmDuplicateRequestKeep The entry that stays; absent keeps the more popular one.

const (
	ConfirmDuplicateRequestKeepA ConfirmDuplicateRequestKeep = "a"
	ConfirmDuplicateRequestKeepB ConfirmDuplicateRequestKeep = "b"
)

Defines values for ConfirmDuplicateRequestKeep.

func (ConfirmDuplicateRequestKeep) Valid

Valid indicates whether the value is a known member of the ConfirmDuplicateRequestKeep enum.

type ConfirmMetaDuplicate200JSONResponse

type ConfirmMetaDuplicate200JSONResponse ConfirmedDuplicate

func (ConfirmMetaDuplicate200JSONResponse) VisitConfirmMetaDuplicateResponse

func (response ConfirmMetaDuplicate200JSONResponse) VisitConfirmMetaDuplicateResponse(w http.ResponseWriter) error

type ConfirmMetaDuplicateJSONRequestBody

type ConfirmMetaDuplicateJSONRequestBody = ConfirmDuplicateRequest

ConfirmMetaDuplicateJSONRequestBody defines body for ConfirmMetaDuplicate for application/json ContentType.

type ConfirmMetaDuplicateRequestObject

type ConfirmMetaDuplicateRequestObject struct {
	PairId int64 `json:"pair_id"`
	Body   *ConfirmMetaDuplicateJSONRequestBody
}

type ConfirmMetaDuplicateResponseObject

type ConfirmMetaDuplicateResponseObject interface {
	VisitConfirmMetaDuplicateResponse(w http.ResponseWriter) error
}

type ConfirmMetaDuplicatedefaultApplicationProblemPlusJSONResponse

type ConfirmMetaDuplicatedefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (ConfirmMetaDuplicatedefaultApplicationProblemPlusJSONResponse) VisitConfirmMetaDuplicateResponse

func (response ConfirmMetaDuplicatedefaultApplicationProblemPlusJSONResponse) VisitConfirmMetaDuplicateResponse(w http.ResponseWriter) error

type ConfirmedDuplicate

type ConfirmedDuplicate struct {
	// EntryId The entry the two are now.
	EntryId string        `json:"entry_id"`
	Pair    DuplicatePair `json:"pair"`
}

ConfirmedDuplicate defines model for ConfirmedDuplicate.

type ContentRating

type ContentRating string

ContentRating Content ratings from mildest to strongest.

const (
	ContentRatingErotic       ContentRating = "erotic"
	ContentRatingPornographic ContentRating = "pornographic"
	ContentRatingSafe         ContentRating = "safe"
	ContentRatingSuggestive   ContentRating = "suggestive"
)

Defines values for ContentRating.

func (ContentRating) Valid

func (e ContentRating) Valid() bool

Valid indicates whether the value is a known member of the ContentRating enum.

type CreateApiKeyRequest

type CreateApiKeyRequest struct {
	// ExpiresAt Optional. The key stops working then.
	ExpiresAt *time.Time    `json:"expires_at,omitempty"`
	Name      string        `json:"name"`
	Scopes    []ApiKeyScope `json:"scopes"`
}

CreateApiKeyRequest defines model for CreateApiKeyRequest.

type CreateInvite201JSONResponse

type CreateInvite201JSONResponse InviteCreated

func (CreateInvite201JSONResponse) VisitCreateInviteResponse

func (response CreateInvite201JSONResponse) VisitCreateInviteResponse(w http.ResponseWriter) error

type CreateInviteJSONRequestBody

type CreateInviteJSONRequestBody = CreateInviteRequest

CreateInviteJSONRequestBody defines body for CreateInvite for application/json ContentType.

type CreateInviteRequest

type CreateInviteRequest struct {
	// ExpiresInHours Default 72.
	ExpiresInHours *int `json:"expires_in_hours,omitempty"`

	// Grants Only the fields sent change.
	Grants *GrantsPatch `json:"grants,omitempty"`
	Note   *string      `json:"note,omitempty"`

	// Role Admins may do everything; users what their grants allow.
	Role *Role `json:"role,omitempty"`
}

CreateInviteRequest defines model for CreateInviteRequest.

type CreateInviteRequestObject

type CreateInviteRequestObject struct {
	Body *CreateInviteJSONRequestBody
}

type CreateInviteResponseObject

type CreateInviteResponseObject interface {
	VisitCreateInviteResponse(w http.ResponseWriter) error
}

type CreateInvitedefaultApplicationProblemPlusJSONResponse

type CreateInvitedefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (CreateInvitedefaultApplicationProblemPlusJSONResponse) VisitCreateInviteResponse

type CreateMyApiKey201JSONResponse

type CreateMyApiKey201JSONResponse ApiKeyCreated

func (CreateMyApiKey201JSONResponse) VisitCreateMyApiKeyResponse

func (response CreateMyApiKey201JSONResponse) VisitCreateMyApiKeyResponse(w http.ResponseWriter) error

type CreateMyApiKeyJSONRequestBody

type CreateMyApiKeyJSONRequestBody = CreateApiKeyRequest

CreateMyApiKeyJSONRequestBody defines body for CreateMyApiKey for application/json ContentType.

type CreateMyApiKeyRequestObject

type CreateMyApiKeyRequestObject struct {
	Body *CreateMyApiKeyJSONRequestBody
}

type CreateMyApiKeyResponseObject

type CreateMyApiKeyResponseObject interface {
	VisitCreateMyApiKeyResponse(w http.ResponseWriter) error
}

type CreateMyApiKeydefaultApplicationProblemPlusJSONResponse

type CreateMyApiKeydefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (CreateMyApiKeydefaultApplicationProblemPlusJSONResponse) VisitCreateMyApiKeyResponse

func (response CreateMyApiKeydefaultApplicationProblemPlusJSONResponse) VisitCreateMyApiKeyResponse(w http.ResponseWriter) error

type CreateNetworkProfile201JSONResponse

type CreateNetworkProfile201JSONResponse NetworkProfile

func (CreateNetworkProfile201JSONResponse) VisitCreateNetworkProfileResponse

func (response CreateNetworkProfile201JSONResponse) VisitCreateNetworkProfileResponse(w http.ResponseWriter) error

type CreateNetworkProfileJSONRequestBody

type CreateNetworkProfileJSONRequestBody = NewNetworkProfile

CreateNetworkProfileJSONRequestBody defines body for CreateNetworkProfile for application/json ContentType.

type CreateNetworkProfileRequestObject

type CreateNetworkProfileRequestObject struct {
	Body *CreateNetworkProfileJSONRequestBody
}

type CreateNetworkProfileResponseObject

type CreateNetworkProfileResponseObject interface {
	VisitCreateNetworkProfileResponse(w http.ResponseWriter) error
}

type CreateNetworkProfiledefaultApplicationProblemPlusJSONResponse

type CreateNetworkProfiledefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (CreateNetworkProfiledefaultApplicationProblemPlusJSONResponse) VisitCreateNetworkProfileResponse

func (response CreateNetworkProfiledefaultApplicationProblemPlusJSONResponse) VisitCreateNetworkProfileResponse(w http.ResponseWriter) error

type CreateProxy201JSONResponse

type CreateProxy201JSONResponse Proxy

func (CreateProxy201JSONResponse) VisitCreateProxyResponse

func (response CreateProxy201JSONResponse) VisitCreateProxyResponse(w http.ResponseWriter) error

type CreateProxyJSONRequestBody

type CreateProxyJSONRequestBody = NewProxy

CreateProxyJSONRequestBody defines body for CreateProxy for application/json ContentType.

type CreateProxyRequestObject

type CreateProxyRequestObject struct {
	Body *CreateProxyJSONRequestBody
}

type CreateProxyResponseObject

type CreateProxyResponseObject interface {
	VisitCreateProxyResponse(w http.ResponseWriter) error
}

type CreateProxydefaultApplicationProblemPlusJSONResponse

type CreateProxydefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (CreateProxydefaultApplicationProblemPlusJSONResponse) VisitCreateProxyResponse

type CreateSetupAdmin201JSONResponse

type CreateSetupAdmin201JSONResponse LoginResponse

func (CreateSetupAdmin201JSONResponse) VisitCreateSetupAdminResponse

func (response CreateSetupAdmin201JSONResponse) VisitCreateSetupAdminResponse(w http.ResponseWriter) error

type CreateSetupAdminJSONRequestBody

type CreateSetupAdminJSONRequestBody = CreateSetupAdminRequest

CreateSetupAdminJSONRequestBody defines body for CreateSetupAdmin for application/json ContentType.

type CreateSetupAdminRequest

type CreateSetupAdminRequest struct {
	DisplayName *DisplayName `json:"display_name,omitempty"`

	// Password 8 to 256 characters.
	Password Password `json:"password"`

	// Username Letters, digits, `.`, `_` and `-`, starting with a letter or digit. Case-insensitively unique.
	Username Username `json:"username"`
}

CreateSetupAdminRequest defines model for CreateSetupAdminRequest.

type CreateSetupAdminRequestObject

type CreateSetupAdminRequestObject struct {
	Body *CreateSetupAdminJSONRequestBody
}

type CreateSetupAdminResponseObject

type CreateSetupAdminResponseObject interface {
	VisitCreateSetupAdminResponse(w http.ResponseWriter) error
}

type CreateSetupAdmindefaultApplicationProblemPlusJSONResponse

type CreateSetupAdmindefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (CreateSetupAdmindefaultApplicationProblemPlusJSONResponse) VisitCreateSetupAdminResponse

func (response CreateSetupAdmindefaultApplicationProblemPlusJSONResponse) VisitCreateSetupAdminResponse(w http.ResponseWriter) error

type CreateSolver201JSONResponse

type CreateSolver201JSONResponse Solver

func (CreateSolver201JSONResponse) VisitCreateSolverResponse

func (response CreateSolver201JSONResponse) VisitCreateSolverResponse(w http.ResponseWriter) error

type CreateSolverJSONRequestBody

type CreateSolverJSONRequestBody = NewSolver

CreateSolverJSONRequestBody defines body for CreateSolver for application/json ContentType.

type CreateSolverRequestObject

type CreateSolverRequestObject struct {
	Body *CreateSolverJSONRequestBody
}

type CreateSolverResponseObject

type CreateSolverResponseObject interface {
	VisitCreateSolverResponse(w http.ResponseWriter) error
}

type CreateSolverdefaultApplicationProblemPlusJSONResponse

type CreateSolverdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (CreateSolverdefaultApplicationProblemPlusJSONResponse) VisitCreateSolverResponse

type CreateStorage201JSONResponse

type CreateStorage201JSONResponse StorageInfo

func (CreateStorage201JSONResponse) VisitCreateStorageResponse

func (response CreateStorage201JSONResponse) VisitCreateStorageResponse(w http.ResponseWriter) error

type CreateStorageJSONRequestBody

type CreateStorageJSONRequestBody = CreateStorageRequest

CreateStorageJSONRequestBody defines body for CreateStorage for application/json ContentType.

type CreateStorageRequest

type CreateStorageRequest struct {
	AccessKey *string `json:"access_key,omitempty"`
	Bucket    *string `json:"bucket,omitempty"`

	// Endpoint S3, e.g. "https://s3.example.com".
	Endpoint  *string                  `json:"endpoint,omitempty"`
	Id        string                   `json:"id"`
	Kind      CreateStorageRequestKind `json:"kind"`
	Name      string                   `json:"name"`
	PathStyle *bool                    `json:"path_style,omitempty"`
	Prefix    *string                  `json:"prefix,omitempty"`
	Region    *string                  `json:"region,omitempty"`

	// Root Local storages; an absolute path.
	Root *string `json:"root,omitempty"`

	// SecretKey Leave out to keep the stored one.
	SecretKey *string `json:"secret_key,omitempty"`
}

CreateStorageRequest defines model for CreateStorageRequest.

type CreateStorageRequestKind

type CreateStorageRequestKind string

CreateStorageRequestKind defines model for CreateStorageRequest.Kind.

const (
	CreateStorageRequestKindLocal CreateStorageRequestKind = "local"
	CreateStorageRequestKindS3    CreateStorageRequestKind = "s3"
)

Defines values for CreateStorageRequestKind.

func (CreateStorageRequestKind) Valid

func (e CreateStorageRequestKind) Valid() bool

Valid indicates whether the value is a known member of the CreateStorageRequestKind enum.

type CreateStorageRequestObject

type CreateStorageRequestObject struct {
	Body *CreateStorageJSONRequestBody
}

type CreateStorageResponseObject

type CreateStorageResponseObject interface {
	VisitCreateStorageResponse(w http.ResponseWriter) error
}

type CreateStoragedefaultApplicationProblemPlusJSONResponse

type CreateStoragedefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (CreateStoragedefaultApplicationProblemPlusJSONResponse) VisitCreateStorageResponse

type CreateUser201JSONResponse

type CreateUser201JSONResponse User

func (CreateUser201JSONResponse) VisitCreateUserResponse

func (response CreateUser201JSONResponse) VisitCreateUserResponse(w http.ResponseWriter) error

type CreateUserJSONRequestBody

type CreateUserJSONRequestBody = CreateUserRequest

CreateUserJSONRequestBody defines body for CreateUser for application/json ContentType.

type CreateUserRequest

type CreateUserRequest struct {
	DisplayName *DisplayName `json:"display_name,omitempty"`

	// Grants Only the fields sent change.
	Grants *GrantsPatch `json:"grants,omitempty"`

	// Password 8 to 256 characters.
	Password Password `json:"password"`

	// Role Admins may do everything; users what their grants allow.
	Role *Role `json:"role,omitempty"`

	// Username Letters, digits, `.`, `_` and `-`, starting with a letter or digit. Case-insensitively unique.
	Username Username `json:"username"`
}

CreateUserRequest defines model for CreateUserRequest.

type CreateUserRequestObject

type CreateUserRequestObject struct {
	Body *CreateUserJSONRequestBody
}

type CreateUserResponseObject

type CreateUserResponseObject interface {
	VisitCreateUserResponse(w http.ResponseWriter) error
}

type CreateUserdefaultApplicationProblemPlusJSONResponse

type CreateUserdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (CreateUserdefaultApplicationProblemPlusJSONResponse) VisitCreateUserResponse

type DeleteChapterFile204Response

type DeleteChapterFile204Response struct {
}

func (DeleteChapterFile204Response) VisitDeleteChapterFileResponse

func (response DeleteChapterFile204Response) VisitDeleteChapterFileResponse(w http.ResponseWriter) error

type DeleteChapterFileRequestObject

type DeleteChapterFileRequestObject struct {
	ChapterId ChapterId `json:"chapter_id"`
}

type DeleteChapterFileResponseObject

type DeleteChapterFileResponseObject interface {
	VisitDeleteChapterFileResponse(w http.ResponseWriter) error
}

type DeleteChapterFiledefaultApplicationProblemPlusJSONResponse

type DeleteChapterFiledefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (DeleteChapterFiledefaultApplicationProblemPlusJSONResponse) VisitDeleteChapterFileResponse

func (response DeleteChapterFiledefaultApplicationProblemPlusJSONResponse) VisitDeleteChapterFileResponse(w http.ResponseWriter) error

type DeleteInvite204Response

type DeleteInvite204Response struct {
}

func (DeleteInvite204Response) VisitDeleteInviteResponse

func (response DeleteInvite204Response) VisitDeleteInviteResponse(w http.ResponseWriter) error

type DeleteInviteRequestObject

type DeleteInviteRequestObject struct {
	Id Id `json:"id"`
}

type DeleteInviteResponseObject

type DeleteInviteResponseObject interface {
	VisitDeleteInviteResponse(w http.ResponseWriter) error
}

type DeleteInvitedefaultApplicationProblemPlusJSONResponse

type DeleteInvitedefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (DeleteInvitedefaultApplicationProblemPlusJSONResponse) VisitDeleteInviteResponse

type DeleteMyApiKey204Response

type DeleteMyApiKey204Response struct {
}

func (DeleteMyApiKey204Response) VisitDeleteMyApiKeyResponse

func (response DeleteMyApiKey204Response) VisitDeleteMyApiKeyResponse(w http.ResponseWriter) error

type DeleteMyApiKeyRequestObject

type DeleteMyApiKeyRequestObject struct {
	Id Id `json:"id"`
}

type DeleteMyApiKeyResponseObject

type DeleteMyApiKeyResponseObject interface {
	VisitDeleteMyApiKeyResponse(w http.ResponseWriter) error
}

type DeleteMyApiKeydefaultApplicationProblemPlusJSONResponse

type DeleteMyApiKeydefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (DeleteMyApiKeydefaultApplicationProblemPlusJSONResponse) VisitDeleteMyApiKeyResponse

func (response DeleteMyApiKeydefaultApplicationProblemPlusJSONResponse) VisitDeleteMyApiKeyResponse(w http.ResponseWriter) error

type DeleteMySession204Response

type DeleteMySession204Response struct {
}

func (DeleteMySession204Response) VisitDeleteMySessionResponse

func (response DeleteMySession204Response) VisitDeleteMySessionResponse(w http.ResponseWriter) error

type DeleteMySessionRequestObject

type DeleteMySessionRequestObject struct {
	Id Id `json:"id"`
}

type DeleteMySessionResponseObject

type DeleteMySessionResponseObject interface {
	VisitDeleteMySessionResponse(w http.ResponseWriter) error
}

type DeleteMySessiondefaultApplicationProblemPlusJSONResponse

type DeleteMySessiondefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (DeleteMySessiondefaultApplicationProblemPlusJSONResponse) VisitDeleteMySessionResponse

func (response DeleteMySessiondefaultApplicationProblemPlusJSONResponse) VisitDeleteMySessionResponse(w http.ResponseWriter) error

type DeleteNetworkProfile204Response

type DeleteNetworkProfile204Response struct {
}

func (DeleteNetworkProfile204Response) VisitDeleteNetworkProfileResponse

func (response DeleteNetworkProfile204Response) VisitDeleteNetworkProfileResponse(w http.ResponseWriter) error

type DeleteNetworkProfileRequestObject

type DeleteNetworkProfileRequestObject struct {
	ProfileId ProfileId `json:"profile_id"`
}

type DeleteNetworkProfileResponseObject

type DeleteNetworkProfileResponseObject interface {
	VisitDeleteNetworkProfileResponse(w http.ResponseWriter) error
}

type DeleteNetworkProfiledefaultApplicationProblemPlusJSONResponse

type DeleteNetworkProfiledefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (DeleteNetworkProfiledefaultApplicationProblemPlusJSONResponse) VisitDeleteNetworkProfileResponse

func (response DeleteNetworkProfiledefaultApplicationProblemPlusJSONResponse) VisitDeleteNetworkProfileResponse(w http.ResponseWriter) error

type DeletePlugin204Response

type DeletePlugin204Response struct {
}

func (DeletePlugin204Response) VisitDeletePluginResponse

func (response DeletePlugin204Response) VisitDeletePluginResponse(w http.ResponseWriter) error

type DeletePluginRequestObject

type DeletePluginRequestObject struct {
	PluginId PluginId `json:"plugin_id"`
}

type DeletePluginResponseObject

type DeletePluginResponseObject interface {
	VisitDeletePluginResponse(w http.ResponseWriter) error
}

type DeletePlugindefaultApplicationProblemPlusJSONResponse

type DeletePlugindefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (DeletePlugindefaultApplicationProblemPlusJSONResponse) VisitDeletePluginResponse

type DeleteProxy204Response

type DeleteProxy204Response struct {
}

func (DeleteProxy204Response) VisitDeleteProxyResponse

func (response DeleteProxy204Response) VisitDeleteProxyResponse(w http.ResponseWriter) error

type DeleteProxyRequestObject

type DeleteProxyRequestObject struct {
	ProxyId ProxyId `json:"proxy_id"`
}

type DeleteProxyResponseObject

type DeleteProxyResponseObject interface {
	VisitDeleteProxyResponse(w http.ResponseWriter) error
}

type DeleteProxydefaultApplicationProblemPlusJSONResponse

type DeleteProxydefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (DeleteProxydefaultApplicationProblemPlusJSONResponse) VisitDeleteProxyResponse

type DeleteReaderSettings204Response

type DeleteReaderSettings204Response struct {
}

func (DeleteReaderSettings204Response) VisitDeleteReaderSettingsResponse

func (response DeleteReaderSettings204Response) VisitDeleteReaderSettingsResponse(w http.ResponseWriter) error

type DeleteReaderSettingsRequestObject

type DeleteReaderSettingsRequestObject struct {
	Scope string `json:"scope"`
}

type DeleteReaderSettingsResponseObject

type DeleteReaderSettingsResponseObject interface {
	VisitDeleteReaderSettingsResponse(w http.ResponseWriter) error
}

type DeleteReaderSettingsdefaultApplicationProblemPlusJSONResponse

type DeleteReaderSettingsdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (DeleteReaderSettingsdefaultApplicationProblemPlusJSONResponse) VisitDeleteReaderSettingsResponse

func (response DeleteReaderSettingsdefaultApplicationProblemPlusJSONResponse) VisitDeleteReaderSettingsResponse(w http.ResponseWriter) error

type DeleteSolver204Response

type DeleteSolver204Response struct {
}

func (DeleteSolver204Response) VisitDeleteSolverResponse

func (response DeleteSolver204Response) VisitDeleteSolverResponse(w http.ResponseWriter) error

type DeleteSolverRequestObject

type DeleteSolverRequestObject struct {
	SolverId SolverId `json:"solver_id"`
}

type DeleteSolverResponseObject

type DeleteSolverResponseObject interface {
	VisitDeleteSolverResponse(w http.ResponseWriter) error
}

type DeleteSolverdefaultApplicationProblemPlusJSONResponse

type DeleteSolverdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (DeleteSolverdefaultApplicationProblemPlusJSONResponse) VisitDeleteSolverResponse

type DeleteStorage204Response

type DeleteStorage204Response struct {
}

func (DeleteStorage204Response) VisitDeleteStorageResponse

func (response DeleteStorage204Response) VisitDeleteStorageResponse(w http.ResponseWriter) error

type DeleteStorageRequestObject

type DeleteStorageRequestObject struct {
	StorageId StorageId `json:"storage_id"`
}

type DeleteStorageResponseObject

type DeleteStorageResponseObject interface {
	VisitDeleteStorageResponse(w http.ResponseWriter) error
}

type DeleteStoragedefaultApplicationProblemPlusJSONResponse

type DeleteStoragedefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (DeleteStoragedefaultApplicationProblemPlusJSONResponse) VisitDeleteStorageResponse

type DeleteUser204Response

type DeleteUser204Response struct {
}

func (DeleteUser204Response) VisitDeleteUserResponse

func (response DeleteUser204Response) VisitDeleteUserResponse(w http.ResponseWriter) error

type DeleteUserRequestObject

type DeleteUserRequestObject struct {
	Id Id `json:"id"`
}

type DeleteUserResponseObject

type DeleteUserResponseObject interface {
	VisitDeleteUserResponse(w http.ResponseWriter) error
}

type DeleteUserdefaultApplicationProblemPlusJSONResponse

type DeleteUserdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (DeleteUserdefaultApplicationProblemPlusJSONResponse) VisitDeleteUserResponse

type DetachSeries200JSONResponse

type DetachSeries200JSONResponse MatchSeries

func (DetachSeries200JSONResponse) VisitDetachSeriesResponse

func (response DetachSeries200JSONResponse) VisitDetachSeriesResponse(w http.ResponseWriter) error

type DetachSeriesRequestObject

type DetachSeriesRequestObject struct {
	WorkId   WorkId   `json:"work_id"`
	SeriesId SeriesId `json:"series_id"`
}

type DetachSeriesResponseObject

type DetachSeriesResponseObject interface {
	VisitDetachSeriesResponse(w http.ResponseWriter) error
}

type DetachSeriesdefaultApplicationProblemPlusJSONResponse

type DetachSeriesdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (DetachSeriesdefaultApplicationProblemPlusJSONResponse) VisitDetachSeriesResponse

type DismissMetaDuplicate200JSONResponse

type DismissMetaDuplicate200JSONResponse DuplicatePair

func (DismissMetaDuplicate200JSONResponse) VisitDismissMetaDuplicateResponse

func (response DismissMetaDuplicate200JSONResponse) VisitDismissMetaDuplicateResponse(w http.ResponseWriter) error

type DismissMetaDuplicateJSONRequestBody

type DismissMetaDuplicateJSONRequestBody = DuplicateNote

DismissMetaDuplicateJSONRequestBody defines body for DismissMetaDuplicate for application/json ContentType.

type DismissMetaDuplicateRequestObject

type DismissMetaDuplicateRequestObject struct {
	PairId int64 `json:"pair_id"`
	Body   *DismissMetaDuplicateJSONRequestBody
}

type DismissMetaDuplicateResponseObject

type DismissMetaDuplicateResponseObject interface {
	VisitDismissMetaDuplicateResponse(w http.ResponseWriter) error
}

type DismissMetaDuplicatedefaultApplicationProblemPlusJSONResponse

type DismissMetaDuplicatedefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (DismissMetaDuplicatedefaultApplicationProblemPlusJSONResponse) VisitDismissMetaDuplicateResponse

func (response DismissMetaDuplicatedefaultApplicationProblemPlusJSONResponse) VisitDismissMetaDuplicateResponse(w http.ResponseWriter) error

type DisplayName

type DisplayName = string

DisplayName defines model for DisplayName.

type DownloadChapters202JSONResponse

type DownloadChapters202JSONResponse DownloadsQueued

func (DownloadChapters202JSONResponse) VisitDownloadChaptersResponse

func (response DownloadChapters202JSONResponse) VisitDownloadChaptersResponse(w http.ResponseWriter) error

type DownloadChaptersJSONRequestBody

type DownloadChaptersJSONRequestBody = DownloadChaptersRequest

DownloadChaptersJSONRequestBody defines body for DownloadChapters for application/json ContentType.

type DownloadChaptersRequest

type DownloadChaptersRequest struct {
	ChapterIds *[]openapi_types.UUID         `json:"chapter_ids,omitempty"`
	Scope      *DownloadChaptersRequestScope `json:"scope,omitempty"`
}

DownloadChaptersRequest defines model for DownloadChaptersRequest.

type DownloadChaptersRequestObject

type DownloadChaptersRequestObject struct {
	WorkId WorkId `json:"work_id"`
	Body   *DownloadChaptersJSONRequestBody
}

type DownloadChaptersRequestScope

type DownloadChaptersRequestScope string

DownloadChaptersRequestScope defines model for DownloadChaptersRequest.Scope.

const (
	DownloadChaptersRequestScopeAll    DownloadChaptersRequestScope = "all"
	DownloadChaptersRequestScopeUnread DownloadChaptersRequestScope = "unread"
)

Defines values for DownloadChaptersRequestScope.

func (DownloadChaptersRequestScope) Valid

Valid indicates whether the value is a known member of the DownloadChaptersRequestScope enum.

type DownloadChaptersResponseObject

type DownloadChaptersResponseObject interface {
	VisitDownloadChaptersResponse(w http.ResponseWriter) error
}

type DownloadChaptersdefaultApplicationProblemPlusJSONResponse

type DownloadChaptersdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (DownloadChaptersdefaultApplicationProblemPlusJSONResponse) VisitDownloadChaptersResponse

func (response DownloadChaptersdefaultApplicationProblemPlusJSONResponse) VisitDownloadChaptersResponse(w http.ResponseWriter) error

type DownloadItem

type DownloadItem struct {
	ChapterId     openapi_types.UUID `json:"chapter_id"`
	ChapterNumber *float32           `json:"chapter_number,omitempty"`
	ChapterTitle  string             `json:"chapter_title"`
	Task          Task               `json:"task"`
	WorkId        openapi_types.UUID `json:"work_id"`
	WorkTitle     string             `json:"work_title"`
}

DownloadItem defines model for DownloadItem.

type DownloadPage

type DownloadPage struct {
	Items         []DownloadItem `json:"items"`
	NextPageToken string         `json:"next_page_token"`
}

DownloadPage defines model for DownloadPage.

type DownloadsQueued

type DownloadsQueued struct {
	// Downloaded Already downloaded; nothing to do.
	Downloaded int `json:"downloaded"`
	Queued     int `json:"queued"`

	// Unavailable No source lists them.
	Unavailable int `json:"unavailable"`
}

DownloadsQueued defines model for DownloadsQueued.

type DuplicateJudge

type DuplicateJudge struct {
	// Covers Send cover images to models that take them.
	Covers    bool `json:"covers"`
	Enabled   bool `json:"enabled"`
	HasApiKey bool `json:"has_api_key"`

	// Kind The kind of model service, as meta names it.
	Kind  string  `json:"kind"`
	Model *string `json:"model,omitempty"`

	// Origin Where the settings come from, "config" or "admin".
	Origin string  `json:"origin"`
	Url    *string `json:"url,omitempty"`
}

DuplicateJudge defines model for DuplicateJudge.

type DuplicateJudgeSettings

type DuplicateJudgeSettings struct {
	// ApiKey Never returned; empty keeps the stored one.
	ApiKey  *string `json:"api_key,omitempty"`
	Covers  *bool   `json:"covers,omitempty"`
	Enabled bool    `json:"enabled"`
	Kind    string  `json:"kind"`
	Model   *string `json:"model,omitempty"`
	Url     *string `json:"url,omitempty"`
}

DuplicateJudgeSettings defines model for DuplicateJudgeSettings.

type DuplicateJudgeTest

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

DuplicateJudgeTest defines model for DuplicateJudgeTest.

type DuplicateNote

type DuplicateNote struct {
	Note *string `json:"note,omitempty"`
}

DuplicateNote defines model for DuplicateNote.

type DuplicatePage

type DuplicatePage struct {
	NextPageToken string          `json:"next_page_token"`
	Pairs         []DuplicatePair `json:"pairs"`
	TotalSize     int64           `json:"total_size"`
}

DuplicatePage defines model for DuplicatePage.

type DuplicatePair

type DuplicatePair struct {
	CreatedAt time.Time           `json:"created_at"`
	DecidedAt *time.Time          `json:"decided_at,omitempty"`
	DecidedBy *string             `json:"decided_by,omitempty"`
	EntryA    CatalogEntrySummary `json:"entry_a"`
	EntryB    CatalogEntrySummary `json:"entry_b"`
	Id        int64               `json:"id"`
	Note      *string             `json:"note,omitempty"`

	// Score 0..1, how likely meta's own comparison thinks the two are one work.
	Score     float32             `json:"score"`
	Signals   DuplicateSignals    `json:"signals"`
	Status    DuplicatePairStatus `json:"status"`
	UpdatedAt time.Time           `json:"updated_at"`
	Verdict   *DuplicateVerdict   `json:"verdict,omitempty"`
}

DuplicatePair defines model for DuplicatePair.

type DuplicatePairStatus

type DuplicatePairStatus string

DuplicatePairStatus defines model for DuplicatePair.Status.

const (
	DuplicatePairStatusConfirmed DuplicatePairStatus = "confirmed"
	DuplicatePairStatusDismissed DuplicatePairStatus = "dismissed"
	DuplicatePairStatusOpen      DuplicatePairStatus = "open"
	DuplicatePairStatusUnknown   DuplicatePairStatus = "unknown"
)

Defines values for DuplicatePairStatus.

func (DuplicatePairStatus) Valid

func (e DuplicatePairStatus) Valid() bool

Valid indicates whether the value is a known member of the DuplicatePairStatus enum.

type DuplicateSignals

type DuplicateSignals struct {
	LanguageA *string `json:"language_a,omitempty"`
	LanguageB *string `json:"language_b,omitempty"`

	// People Share of credited people in common (0..1); -1 when a side has none.
	People       float32 `json:"people"`
	SameProvider bool    `json:"same_provider"`

	// SharedIds IDs at another site both report.
	SharedIds    []string `json:"shared_ids"`
	SharedPeople []string `json:"shared_people"`

	// Title Best title similarity (1 is the same normalized title).
	Title  float32 `json:"title"`
	TitleA *string `json:"title_a,omitempty"`
	TitleB *string `json:"title_b,omitempty"`
	TypeA  *string `json:"type_a,omitempty"`
	TypeB  *string `json:"type_b,omitempty"`
	YearA  *int    `json:"year_a,omitempty"`
	YearB  *int    `json:"year_b,omitempty"`
}

DuplicateSignals defines model for DuplicateSignals.

type DuplicateVerdict

type DuplicateVerdict struct {
	At *time.Time `json:"at,omitempty"`

	// Choice same_work, related_work or different.
	Choice        string             `json:"choice"`
	Confidence    *float32           `json:"confidence,omitempty"`
	Judge         string             `json:"judge"`
	Model         *string            `json:"model,omitempty"`
	Probabilities map[string]float32 `json:"probabilities"`

	// Same Probability that the two are one work.
	Same   float32 `json:"same"`
	Tokens *int64  `json:"tokens,omitempty"`
}

DuplicateVerdict defines model for DuplicateVerdict.

type EntryCandidate

type EntryCandidate struct {
	// AuthorsMatch Absent when one side names no people.
	AuthorsMatch *bool               `json:"authors_match,omitempty"`
	Entry        CatalogEntrySummary `json:"entry"`
	MatchedTitle *string             `json:"matched_title,omitempty"`

	// Score Title similarity, 0 to 1.
	Score float32 `json:"score"`
}

EntryCandidate defines model for EntryCandidate.

type EntryContentRating

type EntryContentRating string

EntryContentRating defines model for EntryContentRating.

const (
	EntryContentRatingErotic       EntryContentRating = "erotic"
	EntryContentRatingPornographic EntryContentRating = "pornographic"
	EntryContentRatingSafe         EntryContentRating = "safe"
	EntryContentRatingSuggestive   EntryContentRating = "suggestive"
	EntryContentRatingUnknown      EntryContentRating = "unknown"
)

Defines values for EntryContentRating.

func (EntryContentRating) Valid

func (e EntryContentRating) Valid() bool

Valid indicates whether the value is a known member of the EntryContentRating enum.

type EntryId

type EntryId = string

EntryId defines model for EntryId.

type FieldError

type FieldError struct {
	// Field The field, e.g. "grants.allowed_sources".
	Field   string `json:"field"`
	Message string `json:"message"`
}

FieldError defines model for FieldError.

type GetCatalogEntry200JSONResponse

type GetCatalogEntry200JSONResponse CatalogEntry

func (GetCatalogEntry200JSONResponse) VisitGetCatalogEntryResponse

func (response GetCatalogEntry200JSONResponse) VisitGetCatalogEntryResponse(w http.ResponseWriter) error

type GetCatalogEntryCover200ImageResponse

type GetCatalogEntryCover200ImageResponse struct {
	Body          io.Reader
	Headers       GetCatalogEntryCover200ResponseHeaders
	ContentType   string
	ContentLength int64
}

func (GetCatalogEntryCover200ImageResponse) VisitGetCatalogEntryCoverResponse

func (response GetCatalogEntryCover200ImageResponse) VisitGetCatalogEntryCoverResponse(w http.ResponseWriter) error

type GetCatalogEntryCover200ResponseHeaders

type GetCatalogEntryCover200ResponseHeaders struct {
	CacheControl *string
}

type GetCatalogEntryCoverRequestObject

type GetCatalogEntryCoverRequestObject struct {
	EntryId EntryId `json:"entry_id"`
}

type GetCatalogEntryCoverResponseObject

type GetCatalogEntryCoverResponseObject interface {
	VisitGetCatalogEntryCoverResponse(w http.ResponseWriter) error
}

type GetCatalogEntryCoverdefaultApplicationProblemPlusJSONResponse

type GetCatalogEntryCoverdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetCatalogEntryCoverdefaultApplicationProblemPlusJSONResponse) VisitGetCatalogEntryCoverResponse

func (response GetCatalogEntryCoverdefaultApplicationProblemPlusJSONResponse) VisitGetCatalogEntryCoverResponse(w http.ResponseWriter) error

type GetCatalogEntryParams

type GetCatalogEntryParams struct {
	// Lang Preferred language for titles and descriptions (BCP 47, e.g. "en", "ja-Latn"). Default from the Accept-Language header.
	Lang *Lang `form:"lang,omitempty" json:"lang,omitempty"`
}

GetCatalogEntryParams defines parameters for GetCatalogEntry.

type GetCatalogEntryRequestObject

type GetCatalogEntryRequestObject struct {
	EntryId EntryId `json:"entry_id"`
	Params  GetCatalogEntryParams
}

type GetCatalogEntryResponseObject

type GetCatalogEntryResponseObject interface {
	VisitGetCatalogEntryResponse(w http.ResponseWriter) error
}

type GetCatalogEntrydefaultApplicationProblemPlusJSONResponse

type GetCatalogEntrydefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetCatalogEntrydefaultApplicationProblemPlusJSONResponse) VisitGetCatalogEntryResponse

func (response GetCatalogEntrydefaultApplicationProblemPlusJSONResponse) VisitGetCatalogEntryResponse(w http.ResponseWriter) error

type GetChapterPage200ImageResponse

type GetChapterPage200ImageResponse struct {
	Body          io.Reader
	Headers       GetChapterPage200ResponseHeaders
	ContentType   string
	ContentLength int64
}

func (GetChapterPage200ImageResponse) VisitGetChapterPageResponse

func (response GetChapterPage200ImageResponse) VisitGetChapterPageResponse(w http.ResponseWriter) error

type GetChapterPage200ResponseHeaders

type GetChapterPage200ResponseHeaders struct {
	CacheControl *string
}

type GetChapterPageParams

type GetChapterPageParams struct {
	// VariantId Read this copy instead of the chosen one.
	VariantId *VariantIdQuery `form:"variant_id,omitempty" json:"variant_id,omitempty"`
}

GetChapterPageParams defines parameters for GetChapterPage.

type GetChapterPageRequestObject

type GetChapterPageRequestObject struct {
	ChapterId ChapterId `json:"chapter_id"`
	Index     int       `json:"index"`
	Params    GetChapterPageParams
}

type GetChapterPageResponseObject

type GetChapterPageResponseObject interface {
	VisitGetChapterPageResponse(w http.ResponseWriter) error
}

type GetChapterPagedefaultApplicationProblemPlusJSONResponse

type GetChapterPagedefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetChapterPagedefaultApplicationProblemPlusJSONResponse) VisitGetChapterPageResponse

func (response GetChapterPagedefaultApplicationProblemPlusJSONResponse) VisitGetChapterPageResponse(w http.ResponseWriter) error

type GetChapterPages200JSONResponse

type GetChapterPages200JSONResponse ChapterPages

func (GetChapterPages200JSONResponse) VisitGetChapterPagesResponse

func (response GetChapterPages200JSONResponse) VisitGetChapterPagesResponse(w http.ResponseWriter) error

type GetChapterPagesParams

type GetChapterPagesParams struct {
	// VariantId Read this copy instead of the chosen one.
	VariantId *VariantIdQuery `form:"variant_id,omitempty" json:"variant_id,omitempty"`
}

GetChapterPagesParams defines parameters for GetChapterPages.

type GetChapterPagesRequestObject

type GetChapterPagesRequestObject struct {
	ChapterId ChapterId `json:"chapter_id"`
	Params    GetChapterPagesParams
}

type GetChapterPagesResponseObject

type GetChapterPagesResponseObject interface {
	VisitGetChapterPagesResponse(w http.ResponseWriter) error
}

type GetChapterPagesdefaultApplicationProblemPlusJSONResponse

type GetChapterPagesdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetChapterPagesdefaultApplicationProblemPlusJSONResponse) VisitGetChapterPagesResponse

func (response GetChapterPagesdefaultApplicationProblemPlusJSONResponse) VisitGetChapterPagesResponse(w http.ResponseWriter) error

type GetJob200JSONResponse

type GetJob200JSONResponse Job

func (GetJob200JSONResponse) VisitGetJobResponse

func (response GetJob200JSONResponse) VisitGetJobResponse(w http.ResponseWriter) error

type GetJobRequestObject

type GetJobRequestObject struct {
	JobId JobId `json:"job_id"`
}

type GetJobResponseObject

type GetJobResponseObject interface {
	VisitGetJobResponse(w http.ResponseWriter) error
}

type GetJobRun200JSONResponse

type GetJobRun200JSONResponse JobRun

func (GetJobRun200JSONResponse) VisitGetJobRunResponse

func (response GetJobRun200JSONResponse) VisitGetJobRunResponse(w http.ResponseWriter) error

type GetJobRunRequestObject

type GetJobRunRequestObject struct {
	RunId RunId `json:"run_id"`
}

type GetJobRunResponseObject

type GetJobRunResponseObject interface {
	VisitGetJobRunResponse(w http.ResponseWriter) error
}

type GetJobRundefaultApplicationProblemPlusJSONResponse

type GetJobRundefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetJobRundefaultApplicationProblemPlusJSONResponse) VisitGetJobRunResponse

type GetJobdefaultApplicationProblemPlusJSONResponse

type GetJobdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetJobdefaultApplicationProblemPlusJSONResponse) VisitGetJobResponse

type GetMe200JSONResponse

type GetMe200JSONResponse Me

func (GetMe200JSONResponse) VisitGetMeResponse

func (response GetMe200JSONResponse) VisitGetMeResponse(w http.ResponseWriter) error

type GetMeRequestObject

type GetMeRequestObject struct {
}

type GetMeResponseObject

type GetMeResponseObject interface {
	VisitGetMeResponse(w http.ResponseWriter) error
}

type GetMedefaultApplicationProblemPlusJSONResponse

type GetMedefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetMedefaultApplicationProblemPlusJSONResponse) VisitGetMeResponse

type GetMetaConnection200JSONResponse

type GetMetaConnection200JSONResponse MetaConnection

func (GetMetaConnection200JSONResponse) VisitGetMetaConnectionResponse

func (response GetMetaConnection200JSONResponse) VisitGetMetaConnectionResponse(w http.ResponseWriter) error

type GetMetaConnectionRequestObject

type GetMetaConnectionRequestObject struct {
}

type GetMetaConnectionResponseObject

type GetMetaConnectionResponseObject interface {
	VisitGetMetaConnectionResponse(w http.ResponseWriter) error
}

type GetMetaConnectiondefaultApplicationProblemPlusJSONResponse

type GetMetaConnectiondefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetMetaConnectiondefaultApplicationProblemPlusJSONResponse) VisitGetMetaConnectionResponse

func (response GetMetaConnectiondefaultApplicationProblemPlusJSONResponse) VisitGetMetaConnectionResponse(w http.ResponseWriter) error

type GetMetaDuplicate200JSONResponse

type GetMetaDuplicate200JSONResponse DuplicatePair

func (GetMetaDuplicate200JSONResponse) VisitGetMetaDuplicateResponse

func (response GetMetaDuplicate200JSONResponse) VisitGetMetaDuplicateResponse(w http.ResponseWriter) error

type GetMetaDuplicateJudge200JSONResponse

type GetMetaDuplicateJudge200JSONResponse DuplicateJudge

func (GetMetaDuplicateJudge200JSONResponse) VisitGetMetaDuplicateJudgeResponse

func (response GetMetaDuplicateJudge200JSONResponse) VisitGetMetaDuplicateJudgeResponse(w http.ResponseWriter) error

type GetMetaDuplicateJudgeRequestObject

type GetMetaDuplicateJudgeRequestObject struct {
}

type GetMetaDuplicateJudgeResponseObject

type GetMetaDuplicateJudgeResponseObject interface {
	VisitGetMetaDuplicateJudgeResponse(w http.ResponseWriter) error
}

type GetMetaDuplicateJudgedefaultApplicationProblemPlusJSONResponse

type GetMetaDuplicateJudgedefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetMetaDuplicateJudgedefaultApplicationProblemPlusJSONResponse) VisitGetMetaDuplicateJudgeResponse

func (response GetMetaDuplicateJudgedefaultApplicationProblemPlusJSONResponse) VisitGetMetaDuplicateJudgeResponse(w http.ResponseWriter) error

type GetMetaDuplicateRequestObject

type GetMetaDuplicateRequestObject struct {
	PairId int64 `json:"pair_id"`
}

type GetMetaDuplicateResponseObject

type GetMetaDuplicateResponseObject interface {
	VisitGetMetaDuplicateResponse(w http.ResponseWriter) error
}

type GetMetaDuplicatedefaultApplicationProblemPlusJSONResponse

type GetMetaDuplicatedefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetMetaDuplicatedefaultApplicationProblemPlusJSONResponse) VisitGetMetaDuplicateResponse

func (response GetMetaDuplicatedefaultApplicationProblemPlusJSONResponse) VisitGetMetaDuplicateResponse(w http.ResponseWriter) error

type GetMetaHealth200JSONResponse

type GetMetaHealth200JSONResponse MetaServiceHealth

func (GetMetaHealth200JSONResponse) VisitGetMetaHealthResponse

func (response GetMetaHealth200JSONResponse) VisitGetMetaHealthResponse(w http.ResponseWriter) error

type GetMetaHealthRequestObject

type GetMetaHealthRequestObject struct {
}

type GetMetaHealthResponseObject

type GetMetaHealthResponseObject interface {
	VisitGetMetaHealthResponse(w http.ResponseWriter) error
}

type GetMetaHealthdefaultApplicationProblemPlusJSONResponse

type GetMetaHealthdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetMetaHealthdefaultApplicationProblemPlusJSONResponse) VisitGetMetaHealthResponse

type GetMetaJob200JSONResponse

type GetMetaJob200JSONResponse Job

func (GetMetaJob200JSONResponse) VisitGetMetaJobResponse

func (response GetMetaJob200JSONResponse) VisitGetMetaJobResponse(w http.ResponseWriter) error

type GetMetaJobRequestObject

type GetMetaJobRequestObject struct {
	JobId JobId `json:"job_id"`
}

type GetMetaJobResponseObject

type GetMetaJobResponseObject interface {
	VisitGetMetaJobResponse(w http.ResponseWriter) error
}

type GetMetaJobRun200JSONResponse

type GetMetaJobRun200JSONResponse JobRun

func (GetMetaJobRun200JSONResponse) VisitGetMetaJobRunResponse

func (response GetMetaJobRun200JSONResponse) VisitGetMetaJobRunResponse(w http.ResponseWriter) error

type GetMetaJobRunRequestObject

type GetMetaJobRunRequestObject struct {
	RunId RunId `json:"run_id"`
}

type GetMetaJobRunResponseObject

type GetMetaJobRunResponseObject interface {
	VisitGetMetaJobRunResponse(w http.ResponseWriter) error
}

type GetMetaJobRundefaultApplicationProblemPlusJSONResponse

type GetMetaJobRundefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetMetaJobRundefaultApplicationProblemPlusJSONResponse) VisitGetMetaJobRunResponse

type GetMetaJobdefaultApplicationProblemPlusJSONResponse

type GetMetaJobdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetMetaJobdefaultApplicationProblemPlusJSONResponse) VisitGetMetaJobResponse

type GetMetaNetwork200JSONResponse

type GetMetaNetwork200JSONResponse MetaNetwork

func (GetMetaNetwork200JSONResponse) VisitGetMetaNetworkResponse

func (response GetMetaNetwork200JSONResponse) VisitGetMetaNetworkResponse(w http.ResponseWriter) error

type GetMetaNetworkRequestObject

type GetMetaNetworkRequestObject struct {
}

type GetMetaNetworkResponseObject

type GetMetaNetworkResponseObject interface {
	VisitGetMetaNetworkResponse(w http.ResponseWriter) error
}

type GetMetaNetworkdefaultApplicationProblemPlusJSONResponse

type GetMetaNetworkdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetMetaNetworkdefaultApplicationProblemPlusJSONResponse) VisitGetMetaNetworkResponse

func (response GetMetaNetworkdefaultApplicationProblemPlusJSONResponse) VisitGetMetaNetworkResponse(w http.ResponseWriter) error

type GetMetaSearchEngine200JSONResponse

type GetMetaSearchEngine200JSONResponse MetaSearchEngine

func (GetMetaSearchEngine200JSONResponse) VisitGetMetaSearchEngineResponse

func (response GetMetaSearchEngine200JSONResponse) VisitGetMetaSearchEngineResponse(w http.ResponseWriter) error

type GetMetaSearchEngineRequestObject

type GetMetaSearchEngineRequestObject struct {
}

type GetMetaSearchEngineResponseObject

type GetMetaSearchEngineResponseObject interface {
	VisitGetMetaSearchEngineResponse(w http.ResponseWriter) error
}

type GetMetaSearchEnginedefaultApplicationProblemPlusJSONResponse

type GetMetaSearchEnginedefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetMetaSearchEnginedefaultApplicationProblemPlusJSONResponse) VisitGetMetaSearchEngineResponse

func (response GetMetaSearchEnginedefaultApplicationProblemPlusJSONResponse) VisitGetMetaSearchEngineResponse(w http.ResponseWriter) error

type GetMetaSyncRun200JSONResponse

type GetMetaSyncRun200JSONResponse MetaSyncRun

func (GetMetaSyncRun200JSONResponse) VisitGetMetaSyncRunResponse

func (response GetMetaSyncRun200JSONResponse) VisitGetMetaSyncRunResponse(w http.ResponseWriter) error

type GetMetaSyncRunRequestObject

type GetMetaSyncRunRequestObject struct {
	SyncRunId string `json:"sync_run_id"`
}

type GetMetaSyncRunResponseObject

type GetMetaSyncRunResponseObject interface {
	VisitGetMetaSyncRunResponse(w http.ResponseWriter) error
}

type GetMetaSyncRundefaultApplicationProblemPlusJSONResponse

type GetMetaSyncRundefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetMetaSyncRundefaultApplicationProblemPlusJSONResponse) VisitGetMetaSyncRunResponse

func (response GetMetaSyncRundefaultApplicationProblemPlusJSONResponse) VisitGetMetaSyncRunResponse(w http.ResponseWriter) error

type GetMyHistory200JSONResponse

type GetMyHistory200JSONResponse HistoryPage

func (GetMyHistory200JSONResponse) VisitGetMyHistoryResponse

func (response GetMyHistory200JSONResponse) VisitGetMyHistoryResponse(w http.ResponseWriter) error

type GetMyHistoryParams

type GetMyHistoryParams struct {
	// PageSize Items per page, 1 to 200. Default 50.
	PageSize *PageSize `form:"page_size,omitempty" json:"page_size,omitempty"`

	// PageToken The `next_page_token` of the previous page.
	PageToken *PageToken `form:"page_token,omitempty" json:"page_token,omitempty"`

	// Per `series` for one entry per series; `chapter` (the default) for every chapter read.
	Per *GetMyHistoryParamsPer `form:"per,omitempty" json:"per,omitempty"`

	// WorkId Only this series (e.g. every chapter read of it).
	WorkId *openapi_types.UUID `form:"work_id,omitempty" json:"work_id,omitempty"`

	// Q Only series whose title has this.
	Q *string `form:"q,omitempty" json:"q,omitempty"`
}

GetMyHistoryParams defines parameters for GetMyHistory.

type GetMyHistoryParamsPer

type GetMyHistoryParamsPer string

GetMyHistoryParamsPer defines parameters for GetMyHistory.

const (
	GetMyHistoryParamsPerChapter GetMyHistoryParamsPer = "chapter"
	GetMyHistoryParamsPerSeries  GetMyHistoryParamsPer = "series"
)

Defines values for GetMyHistoryParamsPer.

func (GetMyHistoryParamsPer) Valid

func (e GetMyHistoryParamsPer) Valid() bool

Valid indicates whether the value is a known member of the GetMyHistoryParamsPer enum.

type GetMyHistoryRequestObject

type GetMyHistoryRequestObject struct {
	Params GetMyHistoryParams
}

type GetMyHistoryResponseObject

type GetMyHistoryResponseObject interface {
	VisitGetMyHistoryResponse(w http.ResponseWriter) error
}

type GetMyHistorydefaultApplicationProblemPlusJSONResponse

type GetMyHistorydefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetMyHistorydefaultApplicationProblemPlusJSONResponse) VisitGetMyHistoryResponse

type GetMyPreferences200JSONResponse

type GetMyPreferences200JSONResponse map[string]interface{}

func (GetMyPreferences200JSONResponse) VisitGetMyPreferencesResponse

func (response GetMyPreferences200JSONResponse) VisitGetMyPreferencesResponse(w http.ResponseWriter) error

type GetMyPreferencesRequestObject

type GetMyPreferencesRequestObject struct {
}

type GetMyPreferencesResponseObject

type GetMyPreferencesResponseObject interface {
	VisitGetMyPreferencesResponse(w http.ResponseWriter) error
}

type GetMyPreferencesdefaultApplicationProblemPlusJSONResponse

type GetMyPreferencesdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetMyPreferencesdefaultApplicationProblemPlusJSONResponse) VisitGetMyPreferencesResponse

func (response GetMyPreferencesdefaultApplicationProblemPlusJSONResponse) VisitGetMyPreferencesResponse(w http.ResponseWriter) error

type GetMyUpdates200JSONResponse

type GetMyUpdates200JSONResponse UpdatesPage

func (GetMyUpdates200JSONResponse) VisitGetMyUpdatesResponse

func (response GetMyUpdates200JSONResponse) VisitGetMyUpdatesResponse(w http.ResponseWriter) error

type GetMyUpdatesParams

type GetMyUpdatesParams struct {
	// PageSize Items per page, 1 to 200. Default 50.
	PageSize *PageSize `form:"page_size,omitempty" json:"page_size,omitempty"`

	// PageToken The `next_page_token` of the previous page.
	PageToken *PageToken `form:"page_token,omitempty" json:"page_token,omitempty"`
}

GetMyUpdatesParams defines parameters for GetMyUpdates.

type GetMyUpdatesRequestObject

type GetMyUpdatesRequestObject struct {
	Params GetMyUpdatesParams
}

type GetMyUpdatesResponseObject

type GetMyUpdatesResponseObject interface {
	VisitGetMyUpdatesResponse(w http.ResponseWriter) error
}

type GetMyUpdatesStatus200JSONResponse

type GetMyUpdatesStatus200JSONResponse UpdatesStatus

func (GetMyUpdatesStatus200JSONResponse) VisitGetMyUpdatesStatusResponse

func (response GetMyUpdatesStatus200JSONResponse) VisitGetMyUpdatesStatusResponse(w http.ResponseWriter) error

type GetMyUpdatesStatusRequestObject

type GetMyUpdatesStatusRequestObject struct {
}

type GetMyUpdatesStatusResponseObject

type GetMyUpdatesStatusResponseObject interface {
	VisitGetMyUpdatesStatusResponse(w http.ResponseWriter) error
}

type GetMyUpdatesStatusdefaultApplicationProblemPlusJSONResponse

type GetMyUpdatesStatusdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetMyUpdatesStatusdefaultApplicationProblemPlusJSONResponse) VisitGetMyUpdatesStatusResponse

func (response GetMyUpdatesStatusdefaultApplicationProblemPlusJSONResponse) VisitGetMyUpdatesStatusResponse(w http.ResponseWriter) error

type GetMyUpdatesdefaultApplicationProblemPlusJSONResponse

type GetMyUpdatesdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetMyUpdatesdefaultApplicationProblemPlusJSONResponse) VisitGetMyUpdatesResponse

type GetNetworkProfile200JSONResponse

type GetNetworkProfile200JSONResponse NetworkProfile

func (GetNetworkProfile200JSONResponse) VisitGetNetworkProfileResponse

func (response GetNetworkProfile200JSONResponse) VisitGetNetworkProfileResponse(w http.ResponseWriter) error

type GetNetworkProfileRequestObject

type GetNetworkProfileRequestObject struct {
	ProfileId ProfileId `json:"profile_id"`
}

type GetNetworkProfileResponseObject

type GetNetworkProfileResponseObject interface {
	VisitGetNetworkProfileResponse(w http.ResponseWriter) error
}

type GetNetworkProfiledefaultApplicationProblemPlusJSONResponse

type GetNetworkProfiledefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetNetworkProfiledefaultApplicationProblemPlusJSONResponse) VisitGetNetworkProfileResponse

func (response GetNetworkProfiledefaultApplicationProblemPlusJSONResponse) VisitGetNetworkProfileResponse(w http.ResponseWriter) error

type GetPackage200JSONResponse

type GetPackage200JSONResponse Package

func (GetPackage200JSONResponse) VisitGetPackageResponse

func (response GetPackage200JSONResponse) VisitGetPackageResponse(w http.ResponseWriter) error

type GetPackageIcon200ImageResponse

type GetPackageIcon200ImageResponse struct {
	Body          io.Reader
	Headers       GetPackageIcon200ResponseHeaders
	ContentType   string
	ContentLength int64
}

func (GetPackageIcon200ImageResponse) VisitGetPackageIconResponse

func (response GetPackageIcon200ImageResponse) VisitGetPackageIconResponse(w http.ResponseWriter) error

type GetPackageIcon200ResponseHeaders

type GetPackageIcon200ResponseHeaders struct {
	CacheControl *string
}

type GetPackageIconParams

type GetPackageIconParams struct {
	Ref string `form:"ref" json:"ref"`
	Sig string `form:"sig" json:"sig"`
}

GetPackageIconParams defines parameters for GetPackageIcon.

type GetPackageIconRequestObject

type GetPackageIconRequestObject struct {
	PluginId  PluginId  `json:"plugin_id"`
	PackageId PackageId `json:"package_id"`
	Params    GetPackageIconParams
}

type GetPackageIconResponseObject

type GetPackageIconResponseObject interface {
	VisitGetPackageIconResponse(w http.ResponseWriter) error
}

type GetPackageIcondefaultApplicationProblemPlusJSONResponse

type GetPackageIcondefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetPackageIcondefaultApplicationProblemPlusJSONResponse) VisitGetPackageIconResponse

func (response GetPackageIcondefaultApplicationProblemPlusJSONResponse) VisitGetPackageIconResponse(w http.ResponseWriter) error

type GetPackageImageRetries200JSONResponse

type GetPackageImageRetries200JSONResponse ImageRetries

func (GetPackageImageRetries200JSONResponse) VisitGetPackageImageRetriesResponse

func (response GetPackageImageRetries200JSONResponse) VisitGetPackageImageRetriesResponse(w http.ResponseWriter) error

type GetPackageImageRetriesRequestObject

type GetPackageImageRetriesRequestObject struct {
	PluginId  PluginId  `json:"plugin_id"`
	PackageId PackageId `json:"package_id"`
}

type GetPackageImageRetriesResponseObject

type GetPackageImageRetriesResponseObject interface {
	VisitGetPackageImageRetriesResponse(w http.ResponseWriter) error
}

type GetPackageImageRetriesdefaultApplicationProblemPlusJSONResponse

type GetPackageImageRetriesdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetPackageImageRetriesdefaultApplicationProblemPlusJSONResponse) VisitGetPackageImageRetriesResponse

func (response GetPackageImageRetriesdefaultApplicationProblemPlusJSONResponse) VisitGetPackageImageRetriesResponse(w http.ResponseWriter) error

type GetPackageRequestObject

type GetPackageRequestObject struct {
	PluginId  PluginId  `json:"plugin_id"`
	PackageId PackageId `json:"package_id"`
}

type GetPackageResponseObject

type GetPackageResponseObject interface {
	VisitGetPackageResponse(w http.ResponseWriter) error
}

type GetPackagedefaultApplicationProblemPlusJSONResponse

type GetPackagedefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetPackagedefaultApplicationProblemPlusJSONResponse) VisitGetPackageResponse

type GetPlugin200JSONResponse

type GetPlugin200JSONResponse Plugin

func (GetPlugin200JSONResponse) VisitGetPluginResponse

func (response GetPlugin200JSONResponse) VisitGetPluginResponse(w http.ResponseWriter) error

type GetPluginConfig200JSONResponse

type GetPluginConfig200JSONResponse PluginConfig

func (GetPluginConfig200JSONResponse) VisitGetPluginConfigResponse

func (response GetPluginConfig200JSONResponse) VisitGetPluginConfigResponse(w http.ResponseWriter) error

type GetPluginConfigRequestObject

type GetPluginConfigRequestObject struct {
	PluginId PluginId `json:"plugin_id"`
}

type GetPluginConfigResponseObject

type GetPluginConfigResponseObject interface {
	VisitGetPluginConfigResponse(w http.ResponseWriter) error
}

type GetPluginConfigdefaultApplicationProblemPlusJSONResponse

type GetPluginConfigdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetPluginConfigdefaultApplicationProblemPlusJSONResponse) VisitGetPluginConfigResponse

func (response GetPluginConfigdefaultApplicationProblemPlusJSONResponse) VisitGetPluginConfigResponse(w http.ResponseWriter) error

type GetPluginJob200JSONResponse

type GetPluginJob200JSONResponse PluginJob

func (GetPluginJob200JSONResponse) VisitGetPluginJobResponse

func (response GetPluginJob200JSONResponse) VisitGetPluginJobResponse(w http.ResponseWriter) error

type GetPluginJobRequestObject

type GetPluginJobRequestObject struct {
	PluginId PluginId `json:"plugin_id"`
	JobId    JobId    `json:"job_id"`
}

type GetPluginJobResponseObject

type GetPluginJobResponseObject interface {
	VisitGetPluginJobResponse(w http.ResponseWriter) error
}

type GetPluginJobRun200JSONResponse

type GetPluginJobRun200JSONResponse PluginJobRun

func (GetPluginJobRun200JSONResponse) VisitGetPluginJobRunResponse

func (response GetPluginJobRun200JSONResponse) VisitGetPluginJobRunResponse(w http.ResponseWriter) error

type GetPluginJobRunRequestObject

type GetPluginJobRunRequestObject struct {
	PluginId PluginId `json:"plugin_id"`
	RunId    string   `json:"run_id"`
}

type GetPluginJobRunResponseObject

type GetPluginJobRunResponseObject interface {
	VisitGetPluginJobRunResponse(w http.ResponseWriter) error
}

type GetPluginJobRundefaultApplicationProblemPlusJSONResponse

type GetPluginJobRundefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetPluginJobRundefaultApplicationProblemPlusJSONResponse) VisitGetPluginJobRunResponse

func (response GetPluginJobRundefaultApplicationProblemPlusJSONResponse) VisitGetPluginJobRunResponse(w http.ResponseWriter) error

type GetPluginJobdefaultApplicationProblemPlusJSONResponse

type GetPluginJobdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetPluginJobdefaultApplicationProblemPlusJSONResponse) VisitGetPluginJobResponse

type GetPluginNetwork200JSONResponse

type GetPluginNetwork200JSONResponse PluginNetwork

func (GetPluginNetwork200JSONResponse) VisitGetPluginNetworkResponse

func (response GetPluginNetwork200JSONResponse) VisitGetPluginNetworkResponse(w http.ResponseWriter) error

type GetPluginNetworkRequestObject

type GetPluginNetworkRequestObject struct {
	PluginId PluginId `json:"plugin_id"`
}

type GetPluginNetworkResponseObject

type GetPluginNetworkResponseObject interface {
	VisitGetPluginNetworkResponse(w http.ResponseWriter) error
}

type GetPluginNetworkdefaultApplicationProblemPlusJSONResponse

type GetPluginNetworkdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetPluginNetworkdefaultApplicationProblemPlusJSONResponse) VisitGetPluginNetworkResponse

func (response GetPluginNetworkdefaultApplicationProblemPlusJSONResponse) VisitGetPluginNetworkResponse(w http.ResponseWriter) error

type GetPluginRequestObject

type GetPluginRequestObject struct {
	PluginId PluginId `json:"plugin_id"`
}

type GetPluginResponseObject

type GetPluginResponseObject interface {
	VisitGetPluginResponse(w http.ResponseWriter) error
}

type GetPlugindefaultApplicationProblemPlusJSONResponse

type GetPlugindefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetPlugindefaultApplicationProblemPlusJSONResponse) VisitGetPluginResponse

type GetProxy200JSONResponse

type GetProxy200JSONResponse Proxy

func (GetProxy200JSONResponse) VisitGetProxyResponse

func (response GetProxy200JSONResponse) VisitGetProxyResponse(w http.ResponseWriter) error

type GetProxyRequestObject

type GetProxyRequestObject struct {
	ProxyId ProxyId `json:"proxy_id"`
}

type GetProxyResponseObject

type GetProxyResponseObject interface {
	VisitGetProxyResponse(w http.ResponseWriter) error
}

type GetProxydefaultApplicationProblemPlusJSONResponse

type GetProxydefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetProxydefaultApplicationProblemPlusJSONResponse) VisitGetProxyResponse

type GetQueue200JSONResponse

type GetQueue200JSONResponse QueueState

func (GetQueue200JSONResponse) VisitGetQueueResponse

func (response GetQueue200JSONResponse) VisitGetQueueResponse(w http.ResponseWriter) error

type GetQueueRequestObject

type GetQueueRequestObject struct {
}

type GetQueueResponseObject

type GetQueueResponseObject interface {
	VisitGetQueueResponse(w http.ResponseWriter) error
}

type GetQueuedefaultApplicationProblemPlusJSONResponse

type GetQueuedefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetQueuedefaultApplicationProblemPlusJSONResponse) VisitGetQueueResponse

type GetReaderSettings200JSONResponse

type GetReaderSettings200JSONResponse ReaderSettings

func (GetReaderSettings200JSONResponse) VisitGetReaderSettingsResponse

func (response GetReaderSettings200JSONResponse) VisitGetReaderSettingsResponse(w http.ResponseWriter) error

type GetReaderSettingsParams

type GetReaderSettingsParams struct {
	SourceId *string             `form:"source_id,omitempty" json:"source_id,omitempty"`
	WorkId   *openapi_types.UUID `form:"work_id,omitempty" json:"work_id,omitempty"`
}

GetReaderSettingsParams defines parameters for GetReaderSettings.

type GetReaderSettingsRequestObject

type GetReaderSettingsRequestObject struct {
	Params GetReaderSettingsParams
}

type GetReaderSettingsResponseObject

type GetReaderSettingsResponseObject interface {
	VisitGetReaderSettingsResponse(w http.ResponseWriter) error
}

type GetReaderSettingsdefaultApplicationProblemPlusJSONResponse

type GetReaderSettingsdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetReaderSettingsdefaultApplicationProblemPlusJSONResponse) VisitGetReaderSettingsResponse

func (response GetReaderSettingsdefaultApplicationProblemPlusJSONResponse) VisitGetReaderSettingsResponse(w http.ResponseWriter) error

type GetSetup200JSONResponse

type GetSetup200JSONResponse SetupStatus

func (GetSetup200JSONResponse) VisitGetSetupResponse

func (response GetSetup200JSONResponse) VisitGetSetupResponse(w http.ResponseWriter) error

type GetSetupRequestObject

type GetSetupRequestObject struct {
}

type GetSetupResponseObject

type GetSetupResponseObject interface {
	VisitGetSetupResponse(w http.ResponseWriter) error
}

type GetSetupdefaultApplicationProblemPlusJSONResponse

type GetSetupdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetSetupdefaultApplicationProblemPlusJSONResponse) VisitGetSetupResponse

type GetSolver200JSONResponse

type GetSolver200JSONResponse Solver

func (GetSolver200JSONResponse) VisitGetSolverResponse

func (response GetSolver200JSONResponse) VisitGetSolverResponse(w http.ResponseWriter) error

type GetSolverRequestObject

type GetSolverRequestObject struct {
	SolverId SolverId `json:"solver_id"`
}

type GetSolverResponseObject

type GetSolverResponseObject interface {
	VisitGetSolverResponse(w http.ResponseWriter) error
}

type GetSolverdefaultApplicationProblemPlusJSONResponse

type GetSolverdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetSolverdefaultApplicationProblemPlusJSONResponse) VisitGetSolverResponse

type GetSourceImageRetries200JSONResponse

type GetSourceImageRetries200JSONResponse ImageRetries

func (GetSourceImageRetries200JSONResponse) VisitGetSourceImageRetriesResponse

func (response GetSourceImageRetries200JSONResponse) VisitGetSourceImageRetriesResponse(w http.ResponseWriter) error

type GetSourceImageRetriesRequestObject

type GetSourceImageRetriesRequestObject struct {
	SourceId SourceId `json:"source_id"`
}

type GetSourceImageRetriesResponseObject

type GetSourceImageRetriesResponseObject interface {
	VisitGetSourceImageRetriesResponse(w http.ResponseWriter) error
}

type GetSourceImageRetriesdefaultApplicationProblemPlusJSONResponse

type GetSourceImageRetriesdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetSourceImageRetriesdefaultApplicationProblemPlusJSONResponse) VisitGetSourceImageRetriesResponse

func (response GetSourceImageRetriesdefaultApplicationProblemPlusJSONResponse) VisitGetSourceImageRetriesResponse(w http.ResponseWriter) error

type GetSourceNetwork200JSONResponse

type GetSourceNetwork200JSONResponse SourceNetwork

func (GetSourceNetwork200JSONResponse) VisitGetSourceNetworkResponse

func (response GetSourceNetwork200JSONResponse) VisitGetSourceNetworkResponse(w http.ResponseWriter) error

type GetSourceNetworkRequestObject

type GetSourceNetworkRequestObject struct {
	SourceId SourceId `json:"source_id"`
}

type GetSourceNetworkResponseObject

type GetSourceNetworkResponseObject interface {
	VisitGetSourceNetworkResponse(w http.ResponseWriter) error
}

type GetSourceNetworkdefaultApplicationProblemPlusJSONResponse

type GetSourceNetworkdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetSourceNetworkdefaultApplicationProblemPlusJSONResponse) VisitGetSourceNetworkResponse

func (response GetSourceNetworkdefaultApplicationProblemPlusJSONResponse) VisitGetSourceNetworkResponse(w http.ResponseWriter) error

type GetSourceSettings200JSONResponse

type GetSourceSettings200JSONResponse SourceSettings

func (GetSourceSettings200JSONResponse) VisitGetSourceSettingsResponse

func (response GetSourceSettings200JSONResponse) VisitGetSourceSettingsResponse(w http.ResponseWriter) error

type GetSourceSettingsRequestObject

type GetSourceSettingsRequestObject struct {
	SourceId SourceId `json:"source_id"`
}

type GetSourceSettingsResponseObject

type GetSourceSettingsResponseObject interface {
	VisitGetSourceSettingsResponse(w http.ResponseWriter) error
}

type GetSourceSettingsdefaultApplicationProblemPlusJSONResponse

type GetSourceSettingsdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetSourceSettingsdefaultApplicationProblemPlusJSONResponse) VisitGetSourceSettingsResponse

func (response GetSourceSettingsdefaultApplicationProblemPlusJSONResponse) VisitGetSourceSettingsResponse(w http.ResponseWriter) error

type GetSystemHealth200JSONResponse

type GetSystemHealth200JSONResponse SystemHealth

func (GetSystemHealth200JSONResponse) VisitGetSystemHealthResponse

func (response GetSystemHealth200JSONResponse) VisitGetSystemHealthResponse(w http.ResponseWriter) error

type GetSystemHealthRequestObject

type GetSystemHealthRequestObject struct {
}

type GetSystemHealthResponseObject

type GetSystemHealthResponseObject interface {
	VisitGetSystemHealthResponse(w http.ResponseWriter) error
}

type GetSystemHealthdefaultApplicationProblemPlusJSONResponse

type GetSystemHealthdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetSystemHealthdefaultApplicationProblemPlusJSONResponse) VisitGetSystemHealthResponse

func (response GetSystemHealthdefaultApplicationProblemPlusJSONResponse) VisitGetSystemHealthResponse(w http.ResponseWriter) error

type GetSystemInfo200JSONResponse

type GetSystemInfo200JSONResponse SystemInfo

func (GetSystemInfo200JSONResponse) VisitGetSystemInfoResponse

func (response GetSystemInfo200JSONResponse) VisitGetSystemInfoResponse(w http.ResponseWriter) error

type GetSystemInfoRequestObject

type GetSystemInfoRequestObject struct {
}

type GetSystemInfoResponseObject

type GetSystemInfoResponseObject interface {
	VisitGetSystemInfoResponse(w http.ResponseWriter) error
}

type GetSystemInfodefaultApplicationProblemPlusJSONResponse

type GetSystemInfodefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetSystemInfodefaultApplicationProblemPlusJSONResponse) VisitGetSystemInfoResponse

type GetTask200JSONResponse

type GetTask200JSONResponse Task

func (GetTask200JSONResponse) VisitGetTaskResponse

func (response GetTask200JSONResponse) VisitGetTaskResponse(w http.ResponseWriter) error

type GetTaskRequestObject

type GetTaskRequestObject struct {
	TaskId TaskId `json:"task_id"`
}

type GetTaskResponseObject

type GetTaskResponseObject interface {
	VisitGetTaskResponse(w http.ResponseWriter) error
}

type GetTaskdefaultApplicationProblemPlusJSONResponse

type GetTaskdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetTaskdefaultApplicationProblemPlusJSONResponse) VisitGetTaskResponse

type GetUser200JSONResponse

type GetUser200JSONResponse User

func (GetUser200JSONResponse) VisitGetUserResponse

func (response GetUser200JSONResponse) VisitGetUserResponse(w http.ResponseWriter) error

type GetUserRequestObject

type GetUserRequestObject struct {
	Id Id `json:"id"`
}

type GetUserResponseObject

type GetUserResponseObject interface {
	VisitGetUserResponse(w http.ResponseWriter) error
}

type GetUserdefaultApplicationProblemPlusJSONResponse

type GetUserdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetUserdefaultApplicationProblemPlusJSONResponse) VisitGetUserResponse

type GetWork200JSONResponse

type GetWork200JSONResponse Work

func (GetWork200JSONResponse) VisitGetWorkResponse

func (response GetWork200JSONResponse) VisitGetWorkResponse(w http.ResponseWriter) error

type GetWorkChapter200JSONResponse

type GetWorkChapter200JSONResponse ChapterDetail

func (GetWorkChapter200JSONResponse) VisitGetWorkChapterResponse

func (response GetWorkChapter200JSONResponse) VisitGetWorkChapterResponse(w http.ResponseWriter) error

type GetWorkChapterRequestObject

type GetWorkChapterRequestObject struct {
	WorkId    WorkId    `json:"work_id"`
	ChapterId ChapterId `json:"chapter_id"`
}

type GetWorkChapterResponseObject

type GetWorkChapterResponseObject interface {
	VisitGetWorkChapterResponse(w http.ResponseWriter) error
}

type GetWorkChapterdefaultApplicationProblemPlusJSONResponse

type GetWorkChapterdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetWorkChapterdefaultApplicationProblemPlusJSONResponse) VisitGetWorkChapterResponse

func (response GetWorkChapterdefaultApplicationProblemPlusJSONResponse) VisitGetWorkChapterResponse(w http.ResponseWriter) error

type GetWorkCover200ImageResponse

type GetWorkCover200ImageResponse struct {
	Body          io.Reader
	Headers       GetWorkCover200ResponseHeaders
	ContentType   string
	ContentLength int64
}

func (GetWorkCover200ImageResponse) VisitGetWorkCoverResponse

func (response GetWorkCover200ImageResponse) VisitGetWorkCoverResponse(w http.ResponseWriter) error

type GetWorkCover200ResponseHeaders

type GetWorkCover200ResponseHeaders struct {
	CacheControl *string
}

type GetWorkCoverRequestObject

type GetWorkCoverRequestObject struct {
	WorkId WorkId `json:"work_id"`
}

type GetWorkCoverResponseObject

type GetWorkCoverResponseObject interface {
	VisitGetWorkCoverResponse(w http.ResponseWriter) error
}

type GetWorkCoverdefaultApplicationProblemPlusJSONResponse

type GetWorkCoverdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetWorkCoverdefaultApplicationProblemPlusJSONResponse) VisitGetWorkCoverResponse

type GetWorkProgress200JSONResponse

type GetWorkProgress200JSONResponse WorkProgress

func (GetWorkProgress200JSONResponse) VisitGetWorkProgressResponse

func (response GetWorkProgress200JSONResponse) VisitGetWorkProgressResponse(w http.ResponseWriter) error

type GetWorkProgressRequestObject

type GetWorkProgressRequestObject struct {
	WorkId WorkId `json:"work_id"`
}

type GetWorkProgressResponseObject

type GetWorkProgressResponseObject interface {
	VisitGetWorkProgressResponse(w http.ResponseWriter) error
}

type GetWorkProgressdefaultApplicationProblemPlusJSONResponse

type GetWorkProgressdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetWorkProgressdefaultApplicationProblemPlusJSONResponse) VisitGetWorkProgressResponse

func (response GetWorkProgressdefaultApplicationProblemPlusJSONResponse) VisitGetWorkProgressResponse(w http.ResponseWriter) error

type GetWorkRequestObject

type GetWorkRequestObject struct {
	WorkId WorkId `json:"work_id"`
}

type GetWorkResponseObject

type GetWorkResponseObject interface {
	VisitGetWorkResponse(w http.ResponseWriter) error
}

type GetWorkdefaultApplicationProblemPlusJSONResponse

type GetWorkdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (GetWorkdefaultApplicationProblemPlusJSONResponse) VisitGetWorkResponse

type Grants

type Grants struct {
	// AllSources Every source is allowed, including ones added later. When false, only `allowed_sources`.
	AllSources bool `json:"all_sources"`

	// AllowedSources Source IDs (`plugin:source`) the user may use when `all_sources` is false.
	AllowedSources []string `json:"allowed_sources"`

	// ContentRatingCeiling Content ratings from mildest to strongest.
	ContentRatingCeiling ContentRating `json:"content_rating_ceiling"`

	// MayAdd Add works to their library.
	MayAdd bool `json:"may_add"`

	// MayDownload Queue downloads.
	MayDownload bool `json:"may_download"`

	// MayManageMatches Fix source matches, pin chapter variants and set source priorities for works.
	MayManageMatches bool `json:"may_manage_matches"`
}

Grants What a user may do. Admins may always do everything, whatever their grants say.

type GrantsPatch

type GrantsPatch struct {
	AllSources     *bool     `json:"all_sources,omitempty"`
	AllowedSources *[]string `json:"allowed_sources,omitempty"`

	// ContentRatingCeiling Content ratings from mildest to strongest.
	ContentRatingCeiling *ContentRating `json:"content_rating_ceiling,omitempty"`
	MayAdd               *bool          `json:"may_add,omitempty"`
	MayDownload          *bool          `json:"may_download,omitempty"`
	MayManageMatches     *bool          `json:"may_manage_matches,omitempty"`
}

GrantsPatch Only the fields sent change.

type HealthStatus

type HealthStatus string

HealthStatus `unavailable`: a required component fails. `degraded`: an optional one fails.

const (
	HealthStatusDegraded    HealthStatus = "degraded"
	HealthStatusOk          HealthStatus = "ok"
	HealthStatusUnavailable HealthStatus = "unavailable"
)

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 HistoryItem

type HistoryItem struct {
	// ChapterDisplayTitle The chapter's own name without number, volume or release noise (empty when there's nothing else).
	ChapterDisplayTitle *string            `json:"chapter_display_title,omitempty"`
	ChapterId           openapi_types.UUID `json:"chapter_id"`
	ChapterNumber       *float32           `json:"chapter_number,omitempty"`
	ChapterTitle        string             `json:"chapter_title"`
	ChapterVolume       *string            `json:"chapter_volume,omitempty"`
	Completed           bool               `json:"completed"`

	// ContinueChapterId Where "Resume" opens for the series (as GET /works/{work_id}/progress says); absent when everything is read.
	ContinueChapterId *openapi_types.UUID `json:"continue_chapter_id,omitempty"`
	Page              int                 `json:"page"`
	Pages             *int                `json:"pages,omitempty"`
	UpdatedAt         time.Time           `json:"updated_at"`
	WorkCoverUrl      *string             `json:"work_cover_url,omitempty"`
	WorkId            openapi_types.UUID  `json:"work_id"`
	WorkTitle         string              `json:"work_title"`
}

HistoryItem defines model for HistoryItem.

type HistoryPage

type HistoryPage struct {
	Items         []HistoryItem `json:"items"`
	NextPageToken string        `json:"next_page_token"`
}

HistoryPage defines model for HistoryPage.

type Id

type Id = openapi_types.UUID

Id defines model for Id.

type ImageRetries

type ImageRetries struct {
	Effective ImageRetryDelays `json:"effective"`

	// FromTargetId The target `effective` comes from ("plugin:package" or the source's ID); absent for the default.
	FromTargetId *string `json:"from_target_id,omitempty"`

	// Level Where `effective` comes from.
	Level ImageRetriesLevel `json:"level"`
	Own   *struct {
		DelaysMs  []int     `json:"delays_ms"`
		UpdatedAt time.Time `json:"updated_at"`
	} `json:"own,omitempty"`

	// TargetId "plugin:package" for a package, the source's ID for a source.
	TargetId   string                 `json:"target_id"`
	TargetKind ImageRetriesTargetKind `json:"target_kind"`
}

ImageRetries How failed page images are retried at one level. `own` absent means nothing is set here (it inherits); `own.delays_ms: []` means retries are off here. A source uses its own setting, else its package's, else the default (2 more attempts, after 1 s and then 3 s).

type ImageRetriesInput

type ImageRetriesInput struct {
	// DelaysMs The waits before each extra attempt at a failed page image, in milliseconds; `[]` means no retries at this level.
	DelaysMs []int `json:"delays_ms"`
}

ImageRetriesInput defines model for ImageRetriesInput.

type ImageRetriesLevel

type ImageRetriesLevel string

ImageRetriesLevel Where `effective` comes from.

const (
	ImageRetriesLevelDefault ImageRetriesLevel = "default"
	ImageRetriesLevelPackage ImageRetriesLevel = "package"
	ImageRetriesLevelSource  ImageRetriesLevel = "source"
)

Defines values for ImageRetriesLevel.

func (ImageRetriesLevel) Valid

func (e ImageRetriesLevel) Valid() bool

Valid indicates whether the value is a known member of the ImageRetriesLevel enum.

type ImageRetriesTargetKind

type ImageRetriesTargetKind string

ImageRetriesTargetKind defines model for ImageRetries.TargetKind.

const (
	ImageRetriesTargetKindPackage ImageRetriesTargetKind = "package"
	ImageRetriesTargetKindSource  ImageRetriesTargetKind = "source"
)

Defines values for ImageRetriesTargetKind.

func (ImageRetriesTargetKind) Valid

func (e ImageRetriesTargetKind) Valid() bool

Valid indicates whether the value is a known member of the ImageRetriesTargetKind enum.

type ImageRetryDelays

type ImageRetryDelays struct {
	// Attempts Extra attempts after the first (the length of `delays_ms`).
	Attempts int   `json:"attempts"`
	DelaysMs []int `json:"delays_ms"`
}

ImageRetryDelays defines model for ImageRetryDelays.

type InstallPackage202JSONResponse

type InstallPackage202JSONResponse TaskRef

func (InstallPackage202JSONResponse) VisitInstallPackageResponse

func (response InstallPackage202JSONResponse) VisitInstallPackageResponse(w http.ResponseWriter) error

type InstallPackageJSONRequestBody

type InstallPackageJSONRequestBody = InstallPackageRequest

InstallPackageJSONRequestBody defines body for InstallPackage for application/json ContentType.

type InstallPackageRequest

type InstallPackageRequest struct {
	// OriginId Which offer to install; empty lets the plugin pick the best one.
	OriginId *string `json:"origin_id,omitempty"`
}

InstallPackageRequest defines model for InstallPackageRequest.

type InstallPackageRequestObject

type InstallPackageRequestObject struct {
	PluginId  PluginId  `json:"plugin_id"`
	PackageId PackageId `json:"package_id"`
	Body      *InstallPackageJSONRequestBody
}

type InstallPackageResponseObject

type InstallPackageResponseObject interface {
	VisitInstallPackageResponse(w http.ResponseWriter) error
}

type InstallPackagedefaultApplicationProblemPlusJSONResponse

type InstallPackagedefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (InstallPackagedefaultApplicationProblemPlusJSONResponse) VisitInstallPackageResponse

func (response InstallPackagedefaultApplicationProblemPlusJSONResponse) VisitInstallPackageResponse(w http.ResponseWriter) error

type InvalidParamFormatError

type InvalidParamFormatError struct {
	ParamName string
	Err       error
}

func (*InvalidParamFormatError) Error

func (e *InvalidParamFormatError) Error() string

func (*InvalidParamFormatError) Unwrap

func (e *InvalidParamFormatError) Unwrap() error

type Invite

type Invite struct {
	CreatedAt time.Time `json:"created_at"`
	ExpiresAt time.Time `json:"expires_at"`

	// Grants What a user may do. Admins may always do everything, whatever their grants say.
	Grants Grants             `json:"grants"`
	Id     openapi_types.UUID `json:"id"`

	// Note The admin's note, e.g. who it's for.
	Note string `json:"note"`

	// Role Admins may do everything; users what their grants allow.
	Role Role `json:"role"`
}

Invite defines model for Invite.

type InviteCheck

type InviteCheck struct {
	ExpiresAt time.Time `json:"expires_at"`

	// Role Admins may do everything; users what their grants allow.
	Role Role `json:"role"`
}

InviteCheck defines model for InviteCheck.

type InviteCreated

type InviteCreated struct {
	Invite Invite `json:"invite"`

	// Token The invite token. Shown only here.
	Token string `json:"token"`
}

InviteCreated defines model for InviteCreated.

type InviteList

type InviteList struct {
	Invites []Invite `json:"invites"`
}

InviteList defines model for InviteList.

type InviteToken

type InviteToken struct {
	Token string `json:"token"`
}

InviteToken defines model for InviteToken.

type Job

type Job struct {
	Cancellable  bool                `json:"cancellable"`
	CurrentRunId *openapi_types.UUID `json:"current_run_id,omitempty"`
	Description  string              `json:"description"`

	// DisabledReason Why the job can't run now (e.g. a feature it needs is off); absent when it can. Running it answers `409`, code `job_disabled`, and its schedule doesn't fire meanwhile.
	DisabledReason *string        `json:"disabled_reason,omitempty"`
	Group          string         `json:"group"`
	Id             string         `json:"id"`
	LastRun        *JobRunSummary `json:"last_run,omitempty"`
	Name           string         `json:"name"`
	NextRunAt      *time.Time     `json:"next_run_at,omitempty"`
	Params         []JobParam     `json:"params"`
	Running        bool           `json:"running"`
	Schedule       JobSchedule    `json:"schedule"`
}

Job defines model for Job.

type JobId

type JobId = string

JobId defines model for JobId.

type JobList

type JobList struct {
	Jobs []Job `json:"jobs"`
}

JobList defines model for JobList.

type JobParam

type JobParam struct {
	Choices     *[]string `json:"choices,omitempty"`
	Default     *string   `json:"default,omitempty"`
	Description *string   `json:"description,omitempty"`
	Name        string    `json:"name"`
	Required    bool      `json:"required"`

	// Type How to send the value in `params`, always as a string; `string_list` is comma-separated (e.g. "en,de").
	Type JobParamType `json:"type"`
}

JobParam defines model for JobParam.

type JobParamType

type JobParamType string

JobParamType How to send the value in `params`, always as a string; `string_list` is comma-separated (e.g. "en,de").

const (
	JobParamTypeBool       JobParamType = "bool"
	JobParamTypeInt        JobParamType = "int"
	JobParamTypeString     JobParamType = "string"
	JobParamTypeStringList JobParamType = "string_list"
)

Defines values for JobParamType.

func (JobParamType) Valid

func (e JobParamType) Valid() bool

Valid indicates whether the value is a known member of the JobParamType enum.

type JobProgress

type JobProgress struct {
	Done  int64   `json:"done"`
	Phase *string `json:"phase,omitempty"`
	Total *int64  `json:"total,omitempty"`
	Unit  *string `json:"unit,omitempty"`
}

JobProgress defines model for JobProgress.

type JobRun

type JobRun struct {
	Notes    []JobRunNote      `json:"notes"`
	Params   map[string]string `json:"params"`
	Progress *JobProgress      `json:"progress,omitempty"`
	Summary  JobRunSummary     `json:"summary"`
}

JobRun defines model for JobRun.

type JobRunList

type JobRunList struct {
	NextPageToken string          `json:"next_page_token"`
	Runs          []JobRunSummary `json:"runs"`
}

JobRunList defines model for JobRunList.

type JobRunNote

type JobRunNote struct {
	At      time.Time `json:"at"`
	Level   string    `json:"level"`
	Message string    `json:"message"`
	Ref     *string   `json:"ref,omitempty"`
}

JobRunNote defines model for JobRunNote.

type JobRunStatus

type JobRunStatus string

JobRunStatus defines model for JobRunStatus.

const (
	JobRunStatusCancelled JobRunStatus = "cancelled"
	JobRunStatusFailed    JobRunStatus = "failed"
	JobRunStatusRunning   JobRunStatus = "running"
	JobRunStatusSkipped   JobRunStatus = "skipped"
	JobRunStatusSucceeded JobRunStatus = "succeeded"
)

Defines values for JobRunStatus.

func (JobRunStatus) Valid

func (e JobRunStatus) Valid() bool

Valid indicates whether the value is a known member of the JobRunStatus enum.

type JobRunSummary

type JobRunSummary struct {
	Counts      map[string]int64     `json:"counts"`
	FinishedAt  *time.Time           `json:"finished_at,omitempty"`
	Id          openapi_types.UUID   `json:"id"`
	JobId       string               `json:"job_id"`
	Message     string               `json:"message"`
	StartedAt   time.Time            `json:"started_at"`
	Status      JobRunStatus         `json:"status"`
	Trigger     JobRunSummaryTrigger `json:"trigger"`
	TriggeredBy *string              `json:"triggered_by,omitempty"`
}

JobRunSummary defines model for JobRunSummary.

type JobRunSummaryTrigger

type JobRunSummaryTrigger string

JobRunSummaryTrigger defines model for JobRunSummary.Trigger.

const (
	JobRunSummaryTriggerManual   JobRunSummaryTrigger = "manual"
	JobRunSummaryTriggerSchedule JobRunSummaryTrigger = "schedule"
	JobRunSummaryTriggerStartup  JobRunSummaryTrigger = "startup"
	JobRunSummaryTriggerSystem   JobRunSummaryTrigger = "system"
)

Defines values for JobRunSummaryTrigger.

func (JobRunSummaryTrigger) Valid

func (e JobRunSummaryTrigger) Valid() bool

Valid indicates whether the value is a known member of the JobRunSummaryTrigger enum.

type JobSchedule

type JobSchedule struct {
	// Cron A cron schedule (the connected services' jobs); absent otherwise.
	Cron    *string `json:"cron,omitempty"`
	Enabled bool    `json:"enabled"`

	// IntervalSeconds Absent for jobs run by hand only.
	IntervalSeconds *int `json:"interval_seconds,omitempty"`

	// Source Where the schedule is configured (read-only here).
	Source *string `json:"source,omitempty"`

	// TimeZone The IANA time zone a cron schedule runs in (e.g. "UTC"); absent when the service doesn't say.
	TimeZone *string `json:"time_zone,omitempty"`
}

JobSchedule defines model for JobSchedule.

type Lang

type Lang = string

Lang defines model for Lang.

type LibraryEntry

type LibraryEntry struct {
	AddedAt time.Time `json:"added_at"`

	// AutoDownload New chapters are downloaded automatically.
	AutoDownload bool `json:"auto_download"`

	// Bookmarks Chapters of it you bookmarked.
	Bookmarks int `json:"bookmarks"`

	// Chapters Its available chapters (as in its chapter list).
	Chapters int64 `json:"chapters"`

	// ContinueChapterId The chapter "Continue" opens (as GET /works/{work_id}/progress says); absent when there's nothing to read.
	ContinueChapterId *openapi_types.UUID `json:"continue_chapter_id,omitempty"`

	// Downloaded Its chapters stored as files.
	Downloaded int64 `json:"downloaded"`

	// LastReadAt When you last read in it.
	LastReadAt *time.Time `json:"last_read_at,omitempty"`

	// LatestChapterAt When its newest chapter came out (or was first seen, when the source gives no date).
	LatestChapterAt *time.Time `json:"latest_chapter_at,omitempty"`

	// NewChapters Chapters found since you last marked the work seen.
	NewChapters int `json:"new_chapters"`

	// Started You read some of it.
	Started bool `json:"started"`

	// Unread Its available chapters you haven't finished (the cover badge).
	Unread int64       `json:"unread"`
	Work   WorkSummary `json:"work"`
}

LibraryEntry defines model for LibraryEntry.

type LibraryPage

type LibraryPage struct {
	Entries       []LibraryEntry `json:"entries"`
	NextPageToken string         `json:"next_page_token"`
}

LibraryPage defines model for LibraryPage.

type ListBookmarks200JSONResponse

type ListBookmarks200JSONResponse BookmarkList

func (ListBookmarks200JSONResponse) VisitListBookmarksResponse

func (response ListBookmarks200JSONResponse) VisitListBookmarksResponse(w http.ResponseWriter) error

type ListBookmarksRequestObject

type ListBookmarksRequestObject struct {
	WorkId WorkId `json:"work_id"`
}

type ListBookmarksResponseObject

type ListBookmarksResponseObject interface {
	VisitListBookmarksResponse(w http.ResponseWriter) error
}

type ListBookmarksdefaultApplicationProblemPlusJSONResponse

type ListBookmarksdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (ListBookmarksdefaultApplicationProblemPlusJSONResponse) VisitListBookmarksResponse

type ListDownloads200JSONResponse

type ListDownloads200JSONResponse DownloadPage

func (ListDownloads200JSONResponse) VisitListDownloadsResponse

func (response ListDownloads200JSONResponse) VisitListDownloadsResponse(w http.ResponseWriter) error

type ListDownloadsParams

type ListDownloadsParams struct {
	All   *bool      `form:"all,omitempty" json:"all,omitempty"`
	State *TaskState `form:"state,omitempty" json:"state,omitempty"`

	// PageSize Items per page, 1 to 200. Default 50.
	PageSize *PageSize `form:"page_size,omitempty" json:"page_size,omitempty"`

	// PageToken The `next_page_token` of the previous page.
	PageToken *PageToken `form:"page_token,omitempty" json:"page_token,omitempty"`
}

ListDownloadsParams defines parameters for ListDownloads.

type ListDownloadsRequestObject

type ListDownloadsRequestObject struct {
	Params ListDownloadsParams
}

type ListDownloadsResponseObject

type ListDownloadsResponseObject interface {
	VisitListDownloadsResponse(w http.ResponseWriter) error
}

type ListDownloadsdefaultApplicationProblemPlusJSONResponse

type ListDownloadsdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (ListDownloadsdefaultApplicationProblemPlusJSONResponse) VisitListDownloadsResponse

type ListInvites200JSONResponse

type ListInvites200JSONResponse InviteList

func (ListInvites200JSONResponse) VisitListInvitesResponse

func (response ListInvites200JSONResponse) VisitListInvitesResponse(w http.ResponseWriter) error

type ListInvitesRequestObject

type ListInvitesRequestObject struct {
}

type ListInvitesResponseObject

type ListInvitesResponseObject interface {
	VisitListInvitesResponse(w http.ResponseWriter) error
}

type ListInvitesdefaultApplicationProblemPlusJSONResponse

type ListInvitesdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (ListInvitesdefaultApplicationProblemPlusJSONResponse) VisitListInvitesResponse

type ListJobRuns200JSONResponse

type ListJobRuns200JSONResponse JobRunList

func (ListJobRuns200JSONResponse) VisitListJobRunsResponse

func (response ListJobRuns200JSONResponse) VisitListJobRunsResponse(w http.ResponseWriter) error

type ListJobRunsParams

type ListJobRunsParams struct {
	// PageSize Items per page, 1 to 200. Default 50.
	PageSize *PageSize `form:"page_size,omitempty" json:"page_size,omitempty"`

	// PageToken The `next_page_token` of the previous page.
	PageToken *PageToken    `form:"page_token,omitempty" json:"page_token,omitempty"`
	Status    *JobRunStatus `form:"status,omitempty" json:"status,omitempty"`
}

ListJobRunsParams defines parameters for ListJobRuns.

type ListJobRunsRequestObject

type ListJobRunsRequestObject struct {
	JobId  JobId `json:"job_id"`
	Params ListJobRunsParams
}

type ListJobRunsResponseObject

type ListJobRunsResponseObject interface {
	VisitListJobRunsResponse(w http.ResponseWriter) error
}

type ListJobRunsdefaultApplicationProblemPlusJSONResponse

type ListJobRunsdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (ListJobRunsdefaultApplicationProblemPlusJSONResponse) VisitListJobRunsResponse

type ListJobs200JSONResponse

type ListJobs200JSONResponse JobList

func (ListJobs200JSONResponse) VisitListJobsResponse

func (response ListJobs200JSONResponse) VisitListJobsResponse(w http.ResponseWriter) error

type ListJobsRequestObject

type ListJobsRequestObject struct {
}

type ListJobsResponseObject

type ListJobsResponseObject interface {
	VisitListJobsResponse(w http.ResponseWriter) error
}

type ListJobsdefaultApplicationProblemPlusJSONResponse

type ListJobsdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (ListJobsdefaultApplicationProblemPlusJSONResponse) VisitListJobsResponse

type ListLibrary200JSONResponse

type ListLibrary200JSONResponse LibraryPage

func (ListLibrary200JSONResponse) VisitListLibraryResponse

func (response ListLibrary200JSONResponse) VisitListLibraryResponse(w http.ResponseWriter) error

type ListLibraryParams

type ListLibraryParams struct {
	// Q Only titles containing this.
	Q *string `form:"q,omitempty" json:"q,omitempty"`

	// PageSize Items per page, 1 to 200. Default 50.
	PageSize *PageSize `form:"page_size,omitempty" json:"page_size,omitempty"`

	// PageToken The `next_page_token` of the previous page.
	PageToken *PageToken `form:"page_token,omitempty" json:"page_token,omitempty"`
}

ListLibraryParams defines parameters for ListLibrary.

type ListLibraryRequestObject

type ListLibraryRequestObject struct {
	Params ListLibraryParams
}

type ListLibraryResponseObject

type ListLibraryResponseObject interface {
	VisitListLibraryResponse(w http.ResponseWriter) error
}

type ListLibrarydefaultApplicationProblemPlusJSONResponse

type ListLibrarydefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (ListLibrarydefaultApplicationProblemPlusJSONResponse) VisitListLibraryResponse

type ListMetaDuplicates200JSONResponse

type ListMetaDuplicates200JSONResponse DuplicatePage

func (ListMetaDuplicates200JSONResponse) VisitListMetaDuplicatesResponse

func (response ListMetaDuplicates200JSONResponse) VisitListMetaDuplicatesResponse(w http.ResponseWriter) error

type ListMetaDuplicatesParams

type ListMetaDuplicatesParams struct {
	Status   *ListMetaDuplicatesParamsStatus `form:"status,omitempty" json:"status,omitempty"`
	MinScore *float32                        `form:"min_score,omitempty" json:"min_score,omitempty"`

	// JudgedOnly Only pairs the decision model rated.
	JudgedOnly *bool `form:"judged_only,omitempty" json:"judged_only,omitempty"`

	// PageSize Items per page, 1 to 200. Default 50.
	PageSize *PageSize `form:"page_size,omitempty" json:"page_size,omitempty"`

	// PageToken The `next_page_token` of the previous page.
	PageToken *PageToken `form:"page_token,omitempty" json:"page_token,omitempty"`
}

ListMetaDuplicatesParams defines parameters for ListMetaDuplicates.

type ListMetaDuplicatesParamsStatus

type ListMetaDuplicatesParamsStatus string

ListMetaDuplicatesParamsStatus defines parameters for ListMetaDuplicates.

const (
	ListMetaDuplicatesParamsStatusConfirmed ListMetaDuplicatesParamsStatus = "confirmed"
	ListMetaDuplicatesParamsStatusDismissed ListMetaDuplicatesParamsStatus = "dismissed"
	ListMetaDuplicatesParamsStatusOpen      ListMetaDuplicatesParamsStatus = "open"
)

Defines values for ListMetaDuplicatesParamsStatus.

func (ListMetaDuplicatesParamsStatus) Valid

Valid indicates whether the value is a known member of the ListMetaDuplicatesParamsStatus enum.

type ListMetaDuplicatesRequestObject

type ListMetaDuplicatesRequestObject struct {
	Params ListMetaDuplicatesParams
}

type ListMetaDuplicatesResponseObject

type ListMetaDuplicatesResponseObject interface {
	VisitListMetaDuplicatesResponse(w http.ResponseWriter) error
}

type ListMetaDuplicatesdefaultApplicationProblemPlusJSONResponse

type ListMetaDuplicatesdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (ListMetaDuplicatesdefaultApplicationProblemPlusJSONResponse) VisitListMetaDuplicatesResponse

func (response ListMetaDuplicatesdefaultApplicationProblemPlusJSONResponse) VisitListMetaDuplicatesResponse(w http.ResponseWriter) error

type ListMetaJobRuns200JSONResponse

type ListMetaJobRuns200JSONResponse JobRunList

func (ListMetaJobRuns200JSONResponse) VisitListMetaJobRunsResponse

func (response ListMetaJobRuns200JSONResponse) VisitListMetaJobRunsResponse(w http.ResponseWriter) error

type ListMetaJobRunsParams

type ListMetaJobRunsParams struct {
	// PageSize Items per page, 1 to 200. Default 50.
	PageSize *PageSize `form:"page_size,omitempty" json:"page_size,omitempty"`

	// PageToken The `next_page_token` of the previous page.
	PageToken *PageToken    `form:"page_token,omitempty" json:"page_token,omitempty"`
	Status    *JobRunStatus `form:"status,omitempty" json:"status,omitempty"`
}

ListMetaJobRunsParams defines parameters for ListMetaJobRuns.

type ListMetaJobRunsRequestObject

type ListMetaJobRunsRequestObject struct {
	JobId  JobId `json:"job_id"`
	Params ListMetaJobRunsParams
}

type ListMetaJobRunsResponseObject

type ListMetaJobRunsResponseObject interface {
	VisitListMetaJobRunsResponse(w http.ResponseWriter) error
}

type ListMetaJobRunsdefaultApplicationProblemPlusJSONResponse

type ListMetaJobRunsdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (ListMetaJobRunsdefaultApplicationProblemPlusJSONResponse) VisitListMetaJobRunsResponse

func (response ListMetaJobRunsdefaultApplicationProblemPlusJSONResponse) VisitListMetaJobRunsResponse(w http.ResponseWriter) error

type ListMetaJobs200JSONResponse

type ListMetaJobs200JSONResponse JobList

func (ListMetaJobs200JSONResponse) VisitListMetaJobsResponse

func (response ListMetaJobs200JSONResponse) VisitListMetaJobsResponse(w http.ResponseWriter) error

type ListMetaJobsRequestObject

type ListMetaJobsRequestObject struct {
}

type ListMetaJobsResponseObject

type ListMetaJobsResponseObject interface {
	VisitListMetaJobsResponse(w http.ResponseWriter) error
}

type ListMetaJobsdefaultApplicationProblemPlusJSONResponse

type ListMetaJobsdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (ListMetaJobsdefaultApplicationProblemPlusJSONResponse) VisitListMetaJobsResponse

type ListMetaProviders200JSONResponse

type ListMetaProviders200JSONResponse MetaProviderList

func (ListMetaProviders200JSONResponse) VisitListMetaProvidersResponse

func (response ListMetaProviders200JSONResponse) VisitListMetaProvidersResponse(w http.ResponseWriter) error

type ListMetaProvidersRequestObject

type ListMetaProvidersRequestObject struct {
}

type ListMetaProvidersResponseObject

type ListMetaProvidersResponseObject interface {
	VisitListMetaProvidersResponse(w http.ResponseWriter) error
}

type ListMetaProvidersdefaultApplicationProblemPlusJSONResponse

type ListMetaProvidersdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (ListMetaProvidersdefaultApplicationProblemPlusJSONResponse) VisitListMetaProvidersResponse

func (response ListMetaProvidersdefaultApplicationProblemPlusJSONResponse) VisitListMetaProvidersResponse(w http.ResponseWriter) error

type ListMetaSyncRuns200JSONResponse

type ListMetaSyncRuns200JSONResponse MetaSyncRunList

func (ListMetaSyncRuns200JSONResponse) VisitListMetaSyncRunsResponse

func (response ListMetaSyncRuns200JSONResponse) VisitListMetaSyncRunsResponse(w http.ResponseWriter) error

type ListMetaSyncRunsParams

type ListMetaSyncRunsParams struct {
	// Provider Only this provider's runs.
	Provider *string `form:"provider,omitempty" json:"provider,omitempty"`

	// PageSize Items per page, 1 to 200. Default 50.
	PageSize *PageSize `form:"page_size,omitempty" json:"page_size,omitempty"`

	// PageToken The `next_page_token` of the previous page.
	PageToken *PageToken `form:"page_token,omitempty" json:"page_token,omitempty"`
}

ListMetaSyncRunsParams defines parameters for ListMetaSyncRuns.

type ListMetaSyncRunsRequestObject

type ListMetaSyncRunsRequestObject struct {
	Params ListMetaSyncRunsParams
}

type ListMetaSyncRunsResponseObject

type ListMetaSyncRunsResponseObject interface {
	VisitListMetaSyncRunsResponse(w http.ResponseWriter) error
}

type ListMetaSyncRunsdefaultApplicationProblemPlusJSONResponse

type ListMetaSyncRunsdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (ListMetaSyncRunsdefaultApplicationProblemPlusJSONResponse) VisitListMetaSyncRunsResponse

func (response ListMetaSyncRunsdefaultApplicationProblemPlusJSONResponse) VisitListMetaSyncRunsResponse(w http.ResponseWriter) error

type ListMyApiKeys200JSONResponse

type ListMyApiKeys200JSONResponse ApiKeyList

func (ListMyApiKeys200JSONResponse) VisitListMyApiKeysResponse

func (response ListMyApiKeys200JSONResponse) VisitListMyApiKeysResponse(w http.ResponseWriter) error

type ListMyApiKeysRequestObject

type ListMyApiKeysRequestObject struct {
}

type ListMyApiKeysResponseObject

type ListMyApiKeysResponseObject interface {
	VisitListMyApiKeysResponse(w http.ResponseWriter) error
}

type ListMyApiKeysdefaultApplicationProblemPlusJSONResponse

type ListMyApiKeysdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (ListMyApiKeysdefaultApplicationProblemPlusJSONResponse) VisitListMyApiKeysResponse

type ListMySessions200JSONResponse

type ListMySessions200JSONResponse SessionList

func (ListMySessions200JSONResponse) VisitListMySessionsResponse

func (response ListMySessions200JSONResponse) VisitListMySessionsResponse(w http.ResponseWriter) error

type ListMySessionsRequestObject

type ListMySessionsRequestObject struct {
}

type ListMySessionsResponseObject

type ListMySessionsResponseObject interface {
	VisitListMySessionsResponse(w http.ResponseWriter) error
}

type ListMySessionsdefaultApplicationProblemPlusJSONResponse

type ListMySessionsdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (ListMySessionsdefaultApplicationProblemPlusJSONResponse) VisitListMySessionsResponse

func (response ListMySessionsdefaultApplicationProblemPlusJSONResponse) VisitListMySessionsResponse(w http.ResponseWriter) error

type ListNetworkAssignments200JSONResponse

type ListNetworkAssignments200JSONResponse NetworkAssignmentList

func (ListNetworkAssignments200JSONResponse) VisitListNetworkAssignmentsResponse

func (response ListNetworkAssignments200JSONResponse) VisitListNetworkAssignmentsResponse(w http.ResponseWriter) error

type ListNetworkAssignmentsRequestObject

type ListNetworkAssignmentsRequestObject struct {
}

type ListNetworkAssignmentsResponseObject

type ListNetworkAssignmentsResponseObject interface {
	VisitListNetworkAssignmentsResponse(w http.ResponseWriter) error
}

type ListNetworkAssignmentsdefaultApplicationProblemPlusJSONResponse

type ListNetworkAssignmentsdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (ListNetworkAssignmentsdefaultApplicationProblemPlusJSONResponse) VisitListNetworkAssignmentsResponse

func (response ListNetworkAssignmentsdefaultApplicationProblemPlusJSONResponse) VisitListNetworkAssignmentsResponse(w http.ResponseWriter) error

type ListNetworkProfiles200JSONResponse

type ListNetworkProfiles200JSONResponse NetworkProfileList

func (ListNetworkProfiles200JSONResponse) VisitListNetworkProfilesResponse

func (response ListNetworkProfiles200JSONResponse) VisitListNetworkProfilesResponse(w http.ResponseWriter) error

type ListNetworkProfilesParams

type ListNetworkProfilesParams struct {
	IncludeCustom *bool             `form:"include_custom,omitempty" json:"include_custom,omitempty"`
	OwnerKind     *ProfileOwnerKind `form:"owner_kind,omitempty" json:"owner_kind,omitempty"`
	OwnerId       *string           `form:"owner_id,omitempty" json:"owner_id,omitempty"`
}

ListNetworkProfilesParams defines parameters for ListNetworkProfiles.

type ListNetworkProfilesRequestObject

type ListNetworkProfilesRequestObject struct {
	Params ListNetworkProfilesParams
}

type ListNetworkProfilesResponseObject

type ListNetworkProfilesResponseObject interface {
	VisitListNetworkProfilesResponse(w http.ResponseWriter) error
}

type ListNetworkProfilesdefaultApplicationProblemPlusJSONResponse

type ListNetworkProfilesdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (ListNetworkProfilesdefaultApplicationProblemPlusJSONResponse) VisitListNetworkProfilesResponse

func (response ListNetworkProfilesdefaultApplicationProblemPlusJSONResponse) VisitListNetworkProfilesResponse(w http.ResponseWriter) error

type ListPackageOrigins200JSONResponse

type ListPackageOrigins200JSONResponse PackageOriginList

func (ListPackageOrigins200JSONResponse) VisitListPackageOriginsResponse

func (response ListPackageOrigins200JSONResponse) VisitListPackageOriginsResponse(w http.ResponseWriter) error

type ListPackageOriginsRequestObject

type ListPackageOriginsRequestObject struct {
	PluginId PluginId `json:"plugin_id"`
}

type ListPackageOriginsResponseObject

type ListPackageOriginsResponseObject interface {
	VisitListPackageOriginsResponse(w http.ResponseWriter) error
}

type ListPackageOriginsdefaultApplicationProblemPlusJSONResponse

type ListPackageOriginsdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (ListPackageOriginsdefaultApplicationProblemPlusJSONResponse) VisitListPackageOriginsResponse

func (response ListPackageOriginsdefaultApplicationProblemPlusJSONResponse) VisitListPackageOriginsResponse(w http.ResponseWriter) error

type ListPackages200JSONResponse

type ListPackages200JSONResponse PackageList

func (ListPackages200JSONResponse) VisitListPackagesResponse

func (response ListPackages200JSONResponse) VisitListPackagesResponse(w http.ResponseWriter) error

type ListPackagesParams

type ListPackagesParams struct {
	// Q Matches the package's or its sources' names.
	Q *string `form:"q,omitempty" json:"q,omitempty"`

	// Lang Only packages with a source in this language.
	Lang *string `form:"lang,omitempty" json:"lang,omitempty"`

	// Installed Only installed packages.
	Installed *bool `form:"installed,omitempty" json:"installed,omitempty"`

	// Updates Only installed packages with an update.
	Updates *bool `form:"updates,omitempty" json:"updates,omitempty"`

	// OriginId Only packages this origin (e.g. a store) offers.
	OriginId *string `form:"origin_id,omitempty" json:"origin_id,omitempty"`
}

ListPackagesParams defines parameters for ListPackages.

type ListPackagesRequestObject

type ListPackagesRequestObject struct {
	PluginId PluginId `json:"plugin_id"`
	Params   ListPackagesParams
}

type ListPackagesResponseObject

type ListPackagesResponseObject interface {
	VisitListPackagesResponse(w http.ResponseWriter) error
}

type ListPackagesdefaultApplicationProblemPlusJSONResponse

type ListPackagesdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (ListPackagesdefaultApplicationProblemPlusJSONResponse) VisitListPackagesResponse

type ListPluginJobRuns200JSONResponse

type ListPluginJobRuns200JSONResponse PluginJobRunList

func (ListPluginJobRuns200JSONResponse) VisitListPluginJobRunsResponse

func (response ListPluginJobRuns200JSONResponse) VisitListPluginJobRunsResponse(w http.ResponseWriter) error

type ListPluginJobRunsParams

type ListPluginJobRunsParams struct {
	// PageSize Items per page, 1 to 200. Default 50.
	PageSize *PageSize `form:"page_size,omitempty" json:"page_size,omitempty"`

	// PageToken The `next_page_token` of the previous page.
	PageToken *PageToken    `form:"page_token,omitempty" json:"page_token,omitempty"`
	Status    *JobRunStatus `form:"status,omitempty" json:"status,omitempty"`
}

ListPluginJobRunsParams defines parameters for ListPluginJobRuns.

type ListPluginJobRunsRequestObject

type ListPluginJobRunsRequestObject struct {
	PluginId PluginId `json:"plugin_id"`
	JobId    JobId    `json:"job_id"`
	Params   ListPluginJobRunsParams
}

type ListPluginJobRunsResponseObject

type ListPluginJobRunsResponseObject interface {
	VisitListPluginJobRunsResponse(w http.ResponseWriter) error
}

type ListPluginJobRunsdefaultApplicationProblemPlusJSONResponse

type ListPluginJobRunsdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (ListPluginJobRunsdefaultApplicationProblemPlusJSONResponse) VisitListPluginJobRunsResponse

func (response ListPluginJobRunsdefaultApplicationProblemPlusJSONResponse) VisitListPluginJobRunsResponse(w http.ResponseWriter) error

type ListPluginJobs200JSONResponse

type ListPluginJobs200JSONResponse PluginJobList

func (ListPluginJobs200JSONResponse) VisitListPluginJobsResponse

func (response ListPluginJobs200JSONResponse) VisitListPluginJobsResponse(w http.ResponseWriter) error

type ListPluginJobsRequestObject

type ListPluginJobsRequestObject struct {
	PluginId PluginId `json:"plugin_id"`
}

type ListPluginJobsResponseObject

type ListPluginJobsResponseObject interface {
	VisitListPluginJobsResponse(w http.ResponseWriter) error
}

type ListPluginJobsdefaultApplicationProblemPlusJSONResponse

type ListPluginJobsdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (ListPluginJobsdefaultApplicationProblemPlusJSONResponse) VisitListPluginJobsResponse

func (response ListPluginJobsdefaultApplicationProblemPlusJSONResponse) VisitListPluginJobsResponse(w http.ResponseWriter) error

type ListPlugins200JSONResponse

type ListPlugins200JSONResponse PluginList

func (ListPlugins200JSONResponse) VisitListPluginsResponse

func (response ListPlugins200JSONResponse) VisitListPluginsResponse(w http.ResponseWriter) error

type ListPluginsRequestObject

type ListPluginsRequestObject struct {
}

type ListPluginsResponseObject

type ListPluginsResponseObject interface {
	VisitListPluginsResponse(w http.ResponseWriter) error
}

type ListPluginsdefaultApplicationProblemPlusJSONResponse

type ListPluginsdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (ListPluginsdefaultApplicationProblemPlusJSONResponse) VisitListPluginsResponse

type ListProxies200JSONResponse

type ListProxies200JSONResponse ProxyList

func (ListProxies200JSONResponse) VisitListProxiesResponse

func (response ListProxies200JSONResponse) VisitListProxiesResponse(w http.ResponseWriter) error

type ListProxiesParams

type ListProxiesParams struct {
	IncludeCustom *bool             `form:"include_custom,omitempty" json:"include_custom,omitempty"`
	OwnerKind     *ProfileOwnerKind `form:"owner_kind,omitempty" json:"owner_kind,omitempty"`
	OwnerId       *string           `form:"owner_id,omitempty" json:"owner_id,omitempty"`
}

ListProxiesParams defines parameters for ListProxies.

type ListProxiesRequestObject

type ListProxiesRequestObject struct {
	Params ListProxiesParams
}

type ListProxiesResponseObject

type ListProxiesResponseObject interface {
	VisitListProxiesResponse(w http.ResponseWriter) error
}

type ListProxiesdefaultApplicationProblemPlusJSONResponse

type ListProxiesdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (ListProxiesdefaultApplicationProblemPlusJSONResponse) VisitListProxiesResponse

type ListSeriesChapters200JSONResponse

type ListSeriesChapters200JSONResponse SeriesChapterList

func (ListSeriesChapters200JSONResponse) VisitListSeriesChaptersResponse

func (response ListSeriesChapters200JSONResponse) VisitListSeriesChaptersResponse(w http.ResponseWriter) error

type ListSeriesChaptersRequestObject

type ListSeriesChaptersRequestObject struct {
	WorkId   WorkId   `json:"work_id"`
	SeriesId SeriesId `json:"series_id"`
}

type ListSeriesChaptersResponseObject

type ListSeriesChaptersResponseObject interface {
	VisitListSeriesChaptersResponse(w http.ResponseWriter) error
}

type ListSeriesChaptersdefaultApplicationProblemPlusJSONResponse

type ListSeriesChaptersdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (ListSeriesChaptersdefaultApplicationProblemPlusJSONResponse) VisitListSeriesChaptersResponse

func (response ListSeriesChaptersdefaultApplicationProblemPlusJSONResponse) VisitListSeriesChaptersResponse(w http.ResponseWriter) error

type ListSolvers200JSONResponse

type ListSolvers200JSONResponse SolverList

func (ListSolvers200JSONResponse) VisitListSolversResponse

func (response ListSolvers200JSONResponse) VisitListSolversResponse(w http.ResponseWriter) error

type ListSolversParams

type ListSolversParams struct {
	IncludeCustom *bool             `form:"include_custom,omitempty" json:"include_custom,omitempty"`
	OwnerKind     *ProfileOwnerKind `form:"owner_kind,omitempty" json:"owner_kind,omitempty"`
	OwnerId       *string           `form:"owner_id,omitempty" json:"owner_id,omitempty"`
}

ListSolversParams defines parameters for ListSolvers.

type ListSolversRequestObject

type ListSolversRequestObject struct {
	Params ListSolversParams
}

type ListSolversResponseObject

type ListSolversResponseObject interface {
	VisitListSolversResponse(w http.ResponseWriter) error
}

type ListSolversdefaultApplicationProblemPlusJSONResponse

type ListSolversdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (ListSolversdefaultApplicationProblemPlusJSONResponse) VisitListSolversResponse

type ListSources200JSONResponse

type ListSources200JSONResponse SourceList

func (ListSources200JSONResponse) VisitListSourcesResponse

func (response ListSources200JSONResponse) VisitListSourcesResponse(w http.ResponseWriter) error

type ListSourcesParams

type ListSourcesParams struct {
	All *bool `form:"all,omitempty" json:"all,omitempty"`

	// Lang Only sources in this language.
	Lang *string `form:"lang,omitempty" json:"lang,omitempty"`

	// PluginId Only this plugin's sources.
	PluginId *string `form:"plugin_id,omitempty" json:"plugin_id,omitempty"`

	// PackageId Only sources this package provides.
	PackageId *string `form:"package_id,omitempty" json:"package_id,omitempty"`

	// Enabled Only sources turned on (`true`) or off (`false`) by an admin. Turned-off sources show only with `all=true`.
	Enabled *bool `form:"enabled,omitempty" json:"enabled,omitempty"`

	// Present Only sources their plugin lists (`true`) or no longer lists (`false`). Absent sources show only with `all=true`.
	Present *bool `form:"present,omitempty" json:"present,omitempty"`
}

ListSourcesParams defines parameters for ListSources.

type ListSourcesRequestObject

type ListSourcesRequestObject struct {
	Params ListSourcesParams
}

type ListSourcesResponseObject

type ListSourcesResponseObject interface {
	VisitListSourcesResponse(w http.ResponseWriter) error
}

type ListSourcesdefaultApplicationProblemPlusJSONResponse

type ListSourcesdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (ListSourcesdefaultApplicationProblemPlusJSONResponse) VisitListSourcesResponse

type ListStorages200JSONResponse

type ListStorages200JSONResponse StorageList

func (ListStorages200JSONResponse) VisitListStoragesResponse

func (response ListStorages200JSONResponse) VisitListStoragesResponse(w http.ResponseWriter) error

type ListStoragesRequestObject

type ListStoragesRequestObject struct {
}

type ListStoragesResponseObject

type ListStoragesResponseObject interface {
	VisitListStoragesResponse(w http.ResponseWriter) error
}

type ListStoragesdefaultApplicationProblemPlusJSONResponse

type ListStoragesdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (ListStoragesdefaultApplicationProblemPlusJSONResponse) VisitListStoragesResponse

type ListTasks200JSONResponse

type ListTasks200JSONResponse TaskList

func (ListTasks200JSONResponse) VisitListTasksResponse

func (response ListTasks200JSONResponse) VisitListTasksResponse(w http.ResponseWriter) error

type ListTasksParams

type ListTasksParams struct {
	Kind  *string    `form:"kind,omitempty" json:"kind,omitempty"`
	State *TaskState `form:"state,omitempty" json:"state,omitempty"`

	// PageSize Items per page, 1 to 200. Default 50.
	PageSize *PageSize `form:"page_size,omitempty" json:"page_size,omitempty"`

	// PageToken The `next_page_token` of the previous page.
	PageToken *PageToken `form:"page_token,omitempty" json:"page_token,omitempty"`
}

ListTasksParams defines parameters for ListTasks.

type ListTasksRequestObject

type ListTasksRequestObject struct {
	Params ListTasksParams
}

type ListTasksResponseObject

type ListTasksResponseObject interface {
	VisitListTasksResponse(w http.ResponseWriter) error
}

type ListTasksdefaultApplicationProblemPlusJSONResponse

type ListTasksdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (ListTasksdefaultApplicationProblemPlusJSONResponse) VisitListTasksResponse

type ListUsers200JSONResponse

type ListUsers200JSONResponse UserList

func (ListUsers200JSONResponse) VisitListUsersResponse

func (response ListUsers200JSONResponse) VisitListUsersResponse(w http.ResponseWriter) error

type ListUsersParams

type ListUsersParams struct {
	// PageSize Items per page, 1 to 200. Default 50.
	PageSize *PageSize `form:"page_size,omitempty" json:"page_size,omitempty"`

	// PageToken The `next_page_token` of the previous page.
	PageToken *PageToken `form:"page_token,omitempty" json:"page_token,omitempty"`
}

ListUsersParams defines parameters for ListUsers.

type ListUsersRequestObject

type ListUsersRequestObject struct {
	Params ListUsersParams
}

type ListUsersResponseObject

type ListUsersResponseObject interface {
	VisitListUsersResponse(w http.ResponseWriter) error
}

type ListUsersdefaultApplicationProblemPlusJSONResponse

type ListUsersdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (ListUsersdefaultApplicationProblemPlusJSONResponse) VisitListUsersResponse

type ListWorkChapters200JSONResponse

type ListWorkChapters200JSONResponse ChapterList

func (ListWorkChapters200JSONResponse) VisitListWorkChaptersResponse

func (response ListWorkChapters200JSONResponse) VisitListWorkChaptersResponse(w http.ResponseWriter) error

type ListWorkChaptersParams

type ListWorkChaptersParams struct {
	// Order asc (reading order, the default) or desc.
	Order *ListWorkChaptersParamsOrder `form:"order,omitempty" json:"order,omitempty"`

	// Bookmarked Only chapters you bookmarked (`true`) or didn't (`false`).
	Bookmarked *bool `form:"bookmarked,omitempty" json:"bookmarked,omitempty"`
}

ListWorkChaptersParams defines parameters for ListWorkChapters.

type ListWorkChaptersParamsOrder

type ListWorkChaptersParamsOrder string

ListWorkChaptersParamsOrder defines parameters for ListWorkChapters.

const (
	ListWorkChaptersParamsOrderAsc  ListWorkChaptersParamsOrder = "asc"
	ListWorkChaptersParamsOrderDesc ListWorkChaptersParamsOrder = "desc"
)

Defines values for ListWorkChaptersParamsOrder.

func (ListWorkChaptersParamsOrder) Valid

Valid indicates whether the value is a known member of the ListWorkChaptersParamsOrder enum.

type ListWorkChaptersRequestObject

type ListWorkChaptersRequestObject struct {
	WorkId WorkId `json:"work_id"`
	Params ListWorkChaptersParams
}

type ListWorkChaptersResponseObject

type ListWorkChaptersResponseObject interface {
	VisitListWorkChaptersResponse(w http.ResponseWriter) error
}

type ListWorkChaptersdefaultApplicationProblemPlusJSONResponse

type ListWorkChaptersdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (ListWorkChaptersdefaultApplicationProblemPlusJSONResponse) VisitListWorkChaptersResponse

func (response ListWorkChaptersdefaultApplicationProblemPlusJSONResponse) VisitListWorkChaptersResponse(w http.ResponseWriter) error

type Login200JSONResponse

type Login200JSONResponse LoginResponse

func (Login200JSONResponse) VisitLoginResponse

func (response Login200JSONResponse) VisitLoginResponse(w http.ResponseWriter) error

type LoginJSONRequestBody

type LoginJSONRequestBody = LoginRequest

LoginJSONRequestBody defines body for Login for application/json ContentType.

type LoginRequest

type LoginRequest struct {
	Password string `json:"password"`
	Username string `json:"username"`
}

LoginRequest defines model for LoginRequest.

type LoginRequestObject

type LoginRequestObject struct {
	Body *LoginJSONRequestBody
}

type LoginResponse

type LoginResponse struct {
	// CsrfToken Send it as `X-CSRF-Token` with changing requests. Also in the `panelarr_csrf` cookie.
	CsrfToken string `json:"csrf_token"`
	User      User   `json:"user"`
}

LoginResponse defines model for LoginResponse.

type LoginResponseObject

type LoginResponseObject interface {
	VisitLoginResponse(w http.ResponseWriter) error
}

type LogindefaultApplicationProblemPlusJSONResponse

type LogindefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (LogindefaultApplicationProblemPlusJSONResponse) VisitLoginResponse

type Logout204Response

type Logout204Response struct {
}

func (Logout204Response) VisitLogoutResponse

func (response Logout204Response) VisitLogoutResponse(w http.ResponseWriter) error

type LogoutRequestObject

type LogoutRequestObject struct {
}

type LogoutResponseObject

type LogoutResponseObject interface {
	VisitLogoutResponse(w http.ResponseWriter) error
}

type LogoutdefaultApplicationProblemPlusJSONResponse

type LogoutdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (LogoutdefaultApplicationProblemPlusJSONResponse) VisitLogoutResponse

type MarkChaptersRead204Response

type MarkChaptersRead204Response struct {
}

func (MarkChaptersRead204Response) VisitMarkChaptersReadResponse

func (response MarkChaptersRead204Response) VisitMarkChaptersReadResponse(w http.ResponseWriter) error

type MarkChaptersReadJSONRequestBody

type MarkChaptersReadJSONRequestBody = MarkReadRequest

MarkChaptersReadJSONRequestBody defines body for MarkChaptersRead for application/json ContentType.

type MarkChaptersReadRequestObject

type MarkChaptersReadRequestObject struct {
	WorkId WorkId `json:"work_id"`
	Body   *MarkChaptersReadJSONRequestBody
}

type MarkChaptersReadResponseObject

type MarkChaptersReadResponseObject interface {
	VisitMarkChaptersReadResponse(w http.ResponseWriter) error
}

type MarkChaptersReaddefaultApplicationProblemPlusJSONResponse

type MarkChaptersReaddefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (MarkChaptersReaddefaultApplicationProblemPlusJSONResponse) VisitMarkChaptersReadResponse

func (response MarkChaptersReaddefaultApplicationProblemPlusJSONResponse) VisitMarkChaptersReadResponse(w http.ResponseWriter) error

type MarkReadRequest

type MarkReadRequest struct {
	ChapterIds []openapi_types.UUID `json:"chapter_ids"`
	Read       bool                 `json:"read"`
}

MarkReadRequest defines model for MarkReadRequest.

type MarkWorkSeen204Response

type MarkWorkSeen204Response struct {
}

func (MarkWorkSeen204Response) VisitMarkWorkSeenResponse

func (response MarkWorkSeen204Response) VisitMarkWorkSeenResponse(w http.ResponseWriter) error

type MarkWorkSeenRequestObject

type MarkWorkSeenRequestObject struct {
	WorkId WorkId `json:"work_id"`
}

type MarkWorkSeenResponseObject

type MarkWorkSeenResponseObject interface {
	VisitMarkWorkSeenResponse(w http.ResponseWriter) error
}

type MarkWorkSeendefaultApplicationProblemPlusJSONResponse

type MarkWorkSeendefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (MarkWorkSeendefaultApplicationProblemPlusJSONResponse) VisitMarkWorkSeenResponse

type MatchEvidence

type MatchEvidence struct {
	AuthorsMatch *bool   `json:"authors_match,omitempty"`
	ChapterCount *int    `json:"chapter_count,omitempty"`
	EntryTitle   *string `json:"entry_title,omitempty"`

	// MatchedTitle The entry's title that matched best.
	MatchedTitle *string `json:"matched_title,omitempty"`

	// Query The search that found it.
	Query         *string  `json:"query,omitempty"`
	SourceAuthors []string `json:"source_authors"`
	TitleScore    float32  `json:"title_score"`
}

MatchEvidence defines model for MatchEvidence.

type MatchSeries

type MatchSeries struct {
	CoverUrl *string            `json:"cover_url,omitempty"`
	Evidence MatchEvidence      `json:"evidence"`
	Id       openapi_types.UUID `json:"id"`
	Key      string             `json:"key"`
	Origin   MatchSeriesOrigin  `json:"origin"`
	Priority int                `json:"priority"`
	Score    float32            `json:"score"`
	SourceId string             `json:"source_id"`
	State    MatchSeriesState   `json:"state"`
	Title    string             `json:"title"`
	Url      *string            `json:"url,omitempty"`
}

MatchSeries defines model for MatchSeries.

type MatchSeriesOrigin

type MatchSeriesOrigin string

MatchSeriesOrigin defines model for MatchSeries.Origin.

const (
	MatchSeriesOriginAuto   MatchSeriesOrigin = "auto"
	MatchSeriesOriginManual MatchSeriesOrigin = "manual"
	MatchSeriesOriginUrl    MatchSeriesOrigin = "url"
)

Defines values for MatchSeriesOrigin.

func (MatchSeriesOrigin) Valid

func (e MatchSeriesOrigin) Valid() bool

Valid indicates whether the value is a known member of the MatchSeriesOrigin enum.

type MatchSeriesState

type MatchSeriesState string

MatchSeriesState defines model for MatchSeries.State.

const (
	MatchSeriesStateAttached  MatchSeriesState = "attached"
	MatchSeriesStateCandidate MatchSeriesState = "candidate"
	MatchSeriesStateRejected  MatchSeriesState = "rejected"
)

Defines values for MatchSeriesState.

func (MatchSeriesState) Valid

func (e MatchSeriesState) Valid() bool

Valid indicates whether the value is a known member of the MatchSeriesState enum.

type MatchWork202JSONResponse

type MatchWork202JSONResponse TaskRef

func (MatchWork202JSONResponse) VisitMatchWorkResponse

func (response MatchWork202JSONResponse) VisitMatchWorkResponse(w http.ResponseWriter) error

type MatchWorkJSONRequestBody

type MatchWorkJSONRequestBody = MatchWorkRequest

MatchWorkJSONRequestBody defines body for MatchWork for application/json ContentType.

type MatchWorkRequest

type MatchWorkRequest struct {
	Force *bool `json:"force,omitempty"`
}

MatchWorkRequest defines model for MatchWorkRequest.

type MatchWorkRequestObject

type MatchWorkRequestObject struct {
	WorkId WorkId `json:"work_id"`
	Body   *MatchWorkJSONRequestBody
}

type MatchWorkResponseObject

type MatchWorkResponseObject interface {
	VisitMatchWorkResponse(w http.ResponseWriter) error
}

type MatchWorkdefaultApplicationProblemPlusJSONResponse

type MatchWorkdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (MatchWorkdefaultApplicationProblemPlusJSONResponse) VisitMatchWorkResponse

type Me

type Me struct {
	Auth struct {
		Method MeAuthMethod `json:"method"`

		// Scopes For API keys, the key's scopes; for sessions, every scope the user's role allows.
		Scopes []ApiKeyScope `json:"scopes"`
	} `json:"auth"`
	User User `json:"user"`
}

Me defines model for Me.

type MeAuthMethod

type MeAuthMethod string

MeAuthMethod defines model for Me.Auth.Method.

const (
	MeAuthMethodApiKey  MeAuthMethod = "api_key"
	MeAuthMethodSession MeAuthMethod = "session"
)

Defines values for MeAuthMethod.

func (MeAuthMethod) Valid

func (e MeAuthMethod) Valid() bool

Valid indicates whether the value is a known member of the MeAuthMethod enum.

type MetaCheck

type MetaCheck struct {
	AdminScope bool      `json:"admin_scope"`
	CheckedAt  time.Time `json:"checked_at"`
	Configured bool      `json:"configured"`
	KeyValid   bool      `json:"key_valid"`

	// Problem What to do, when not ready.
	Problem   *string        `json:"problem,omitempty"`
	Providers []MetaProvider `json:"providers"`
	Reachable bool           `json:"reachable"`

	// Ready Reachable, an admin key, and a provider with entries.
	Ready bool `json:"ready"`
}

MetaCheck defines model for MetaCheck.

type MetaComponentHealth

type MetaComponentHealth struct {
	CheckedAt *time.Time        `json:"checked_at,omitempty"`
	Details   map[string]string `json:"details"`
	Kind      string            `json:"kind"`
	LatencyMs *int              `json:"latency_ms,omitempty"`
	Message   *string           `json:"message,omitempty"`

	// Name "database", "search" or "provider:<id>".
	Name   string                    `json:"name"`
	Status MetaComponentHealthStatus `json:"status"`
}

MetaComponentHealth defines model for MetaComponentHealth.

type MetaComponentHealthStatus

type MetaComponentHealthStatus string

MetaComponentHealthStatus defines model for MetaComponentHealth.Status.

const (
	MetaComponentHealthStatusDegraded MetaComponentHealthStatus = "degraded"
	MetaComponentHealthStatusDown     MetaComponentHealthStatus = "down"
	MetaComponentHealthStatusOk       MetaComponentHealthStatus = "ok"
	MetaComponentHealthStatusUnknown  MetaComponentHealthStatus = "unknown"
)

Defines values for MetaComponentHealthStatus.

func (MetaComponentHealthStatus) Valid

func (e MetaComponentHealthStatus) Valid() bool

Valid indicates whether the value is a known member of the MetaComponentHealthStatus enum.

type MetaConnection

type MetaConnection struct {
	Check MetaCheck `json:"check"`

	// ManagedByEnv The connection comes from PANELARR_META_URL and can't be changed here.
	ManagedByEnv bool `json:"managed_by_env"`

	// Url Empty when not connected. The key is never shown.
	Url *string `json:"url,omitempty"`
}

MetaConnection defines model for MetaConnection.

type MetaEntryRefresh

type MetaEntryRefresh struct {
	// Failed Providers that failed, with the reason.
	Failed map[string]string `json:"failed"`

	// Refreshed Providers that returned fresh data.
	Refreshed []string `json:"refreshed"`
}

MetaEntryRefresh defines model for MetaEntryRefresh.

type MetaNetwork

type MetaNetwork struct {
	Assignment *NetworkAssignment `json:"assignment,omitempty"`
	Providers  []ProviderNetwork  `json:"providers"`
}

MetaNetwork defines model for MetaNetwork.

type MetaNotice

type MetaNotice struct {
	At      *time.Time `json:"at,omitempty"`
	Level   string     `json:"level"`
	Message string     `json:"message"`
	Ref     *string    `json:"ref,omitempty"`
}

MetaNotice defines model for MetaNotice.

type MetaProvider

type MetaProvider struct {
	// Health ok, degraded, down or unknown.
	Health  string  `json:"health"`
	Id      string  `json:"id"`
	Message *string `json:"message,omitempty"`

	// Records Records the provider has delivered so far.
	Records int64 `json:"records"`
}

MetaProvider defines model for MetaProvider.

type MetaProviderDetail

type MetaProviderDetail struct {
	Health        MetaProviderDetailHealth `json:"health"`
	HealthMessage *string                  `json:"health_message,omitempty"`
	Id            string                   `json:"id"`
	LastRuns      []MetaSyncRun            `json:"last_runs"`

	// Mode How meta runs its plugin (e.g. in process or as a service).
	Mode          string  `json:"mode"`
	PluginId      *string `json:"plugin_id,omitempty"`
	PluginName    *string `json:"plugin_name,omitempty"`
	PluginVersion *string `json:"plugin_version,omitempty"`
	RecordCount   int64   `json:"record_count"`

	// Schedules Sync schedules per ingestion kind, from meta's configuration (read-only).
	Schedules map[string]string `json:"schedules"`
}

MetaProviderDetail defines model for MetaProviderDetail.

type MetaProviderDetailHealth

type MetaProviderDetailHealth string

MetaProviderDetailHealth defines model for MetaProviderDetail.Health.

const (
	MetaProviderDetailHealthDegraded MetaProviderDetailHealth = "degraded"
	MetaProviderDetailHealthDown     MetaProviderDetailHealth = "down"
	MetaProviderDetailHealthOk       MetaProviderDetailHealth = "ok"
	MetaProviderDetailHealthUnknown  MetaProviderDetailHealth = "unknown"
)

Defines values for MetaProviderDetailHealth.

func (MetaProviderDetailHealth) Valid

func (e MetaProviderDetailHealth) Valid() bool

Valid indicates whether the value is a known member of the MetaProviderDetailHealth enum.

type MetaProviderList

type MetaProviderList struct {
	Providers []MetaProviderDetail `json:"providers"`
}

MetaProviderList defines model for MetaProviderList.

type MetaSearchEngine

type MetaSearchEngine struct {
	Settings struct {
		Backend     string  `json:"backend"`
		Browse      *string `json:"browse,omitempty"`
		HasApiKey   bool    `json:"has_api_key"`
		IndexPrefix *string `json:"index_prefix,omitempty"`

		// Origin Where the settings come from, "config" or "admin".
		Origin string  `json:"origin"`
		Url    *string `json:"url,omitempty"`
	} `json:"settings"`
	Status SearchEngineStatus `json:"status"`
}

MetaSearchEngine defines model for MetaSearchEngine.

type MetaServiceHealth

type MetaServiceHealth struct {
	Components []MetaComponentHealth   `json:"components"`
	Status     MetaServiceHealthStatus `json:"status"`
	Version    *string                 `json:"version,omitempty"`
}

MetaServiceHealth defines model for MetaServiceHealth.

type MetaServiceHealthStatus

type MetaServiceHealthStatus string

MetaServiceHealthStatus defines model for MetaServiceHealth.Status.

const (
	MetaServiceHealthStatusDegraded MetaServiceHealthStatus = "degraded"
	MetaServiceHealthStatusDown     MetaServiceHealthStatus = "down"
	MetaServiceHealthStatusOk       MetaServiceHealthStatus = "ok"
	MetaServiceHealthStatusUnknown  MetaServiceHealthStatus = "unknown"
)

Defines values for MetaServiceHealthStatus.

func (MetaServiceHealthStatus) Valid

func (e MetaServiceHealthStatus) Valid() bool

Valid indicates whether the value is a known member of the MetaServiceHealthStatus enum.

type MetaSyncRun

type MetaSyncRun struct {
	// Changed Records that changed what meta had stored.
	Changed     int64      `json:"changed"`
	CursorEnd   *string    `json:"cursor_end,omitempty"`
	CursorStart *string    `json:"cursor_start,omitempty"`
	Error       *string    `json:"error,omitempty"`
	FinishedAt  *time.Time `json:"finished_at,omitempty"`
	Id          string     `json:"id"`

	// Kind The ingestion kind, e.g. dump or delta.
	Kind string `json:"kind"`

	// MarkedRemoved Records marked removed because a full snapshot no longer had them.
	MarkedRemoved int64        `json:"marked_removed"`
	Merges        int64        `json:"merges"`
	Notices       []MetaNotice `json:"notices"`

	// Progress The plugin's last progress report (its own fields, e.g. bytes downloaded).
	Progress   *map[string]interface{} `json:"progress,omitempty"`
	Provider   string                  `json:"provider"`
	Removals   int64                   `json:"removals"`
	Skipped    int64                   `json:"skipped"`
	SnapshotId *string                 `json:"snapshot_id,omitempty"`
	StartedAt  *time.Time              `json:"started_at,omitempty"`
	Status     MetaSyncRunStatus       `json:"status"`
	Trigger    string                  `json:"trigger"`

	// Upserts Records received.
	Upserts int64 `json:"upserts"`
}

MetaSyncRun defines model for MetaSyncRun.

type MetaSyncRunList

type MetaSyncRunList struct {
	NextPageToken string        `json:"next_page_token"`
	Runs          []MetaSyncRun `json:"runs"`
}

MetaSyncRunList defines model for MetaSyncRunList.

type MetaSyncRunStatus

type MetaSyncRunStatus string

MetaSyncRunStatus defines model for MetaSyncRun.Status.

const (
	MetaSyncRunStatusCancelled MetaSyncRunStatus = "cancelled"
	MetaSyncRunStatusFailed    MetaSyncRunStatus = "failed"
	MetaSyncRunStatusRunning   MetaSyncRunStatus = "running"
	MetaSyncRunStatusSucceeded MetaSyncRunStatus = "succeeded"
	MetaSyncRunStatusUnknown   MetaSyncRunStatus = "unknown"
)

Defines values for MetaSyncRunStatus.

func (MetaSyncRunStatus) Valid

func (e MetaSyncRunStatus) Valid() bool

Valid indicates whether the value is a known member of the MetaSyncRunStatus enum.

type MetaSyncStarted

type MetaSyncStarted struct {
	RunId string `json:"run_id"`
}

MetaSyncStarted defines model for MetaSyncStarted.

type MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

type MoveStorage202JSONResponse

type MoveStorage202JSONResponse TaskRef

func (MoveStorage202JSONResponse) VisitMoveStorageResponse

func (response MoveStorage202JSONResponse) VisitMoveStorageResponse(w http.ResponseWriter) error

type MoveStorageJSONRequestBody

type MoveStorageJSONRequestBody = MoveStorageRequest

MoveStorageJSONRequestBody defines body for MoveStorage for application/json ContentType.

type MoveStorageRequest

type MoveStorageRequest struct {
	To string `json:"to"`
}

MoveStorageRequest defines model for MoveStorageRequest.

type MoveStorageRequestObject

type MoveStorageRequestObject struct {
	StorageId StorageId `json:"storage_id"`
	Body      *MoveStorageJSONRequestBody
}

type MoveStorageResponseObject

type MoveStorageResponseObject interface {
	VisitMoveStorageResponse(w http.ResponseWriter) error
}

type MoveStoragedefaultApplicationProblemPlusJSONResponse

type MoveStoragedefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (MoveStoragedefaultApplicationProblemPlusJSONResponse) VisitMoveStorageResponse

type NetworkApplied

type NetworkApplied struct {
	// Origin `pushed`: Panelarr's profile; `plugin`: the plugin's own settings; `none`: a direct connection; `unknown`: the plugin can't say.
	Origin      NetworkAppliedOrigin `json:"origin"`
	ProfileName *string              `json:"profile_name,omitempty"`
}

NetworkApplied What the plugin says it applies (only from GET /sources/{source_id}/network).

type NetworkAppliedOrigin

type NetworkAppliedOrigin string

NetworkAppliedOrigin `pushed`: Panelarr's profile; `plugin`: the plugin's own settings; `none`: a direct connection; `unknown`: the plugin can't say.

const (
	NetworkAppliedOriginNone    NetworkAppliedOrigin = "none"
	NetworkAppliedOriginPlugin  NetworkAppliedOrigin = "plugin"
	NetworkAppliedOriginPushed  NetworkAppliedOrigin = "pushed"
	NetworkAppliedOriginUnknown NetworkAppliedOrigin = "unknown"
)

Defines values for NetworkAppliedOrigin.

func (NetworkAppliedOrigin) Valid

func (e NetworkAppliedOrigin) Valid() bool

Valid indicates whether the value is a known member of the NetworkAppliedOrigin enum.

type NetworkAssignment

type NetworkAssignment struct {
	PluginDefault bool              `json:"plugin_default"`
	ProfileId     *string           `json:"profile_id,omitempty"`
	TargetId      string            `json:"target_id"`
	TargetKind    NetworkTargetKind `json:"target_kind"`
	UpdatedAt     time.Time         `json:"updated_at"`
}

NetworkAssignment defines model for NetworkAssignment.

type NetworkAssignmentList

type NetworkAssignmentList struct {
	Assignments []NetworkAssignment `json:"assignments"`
}

NetworkAssignmentList defines model for NetworkAssignmentList.

type NetworkAssignmentRequest

type NetworkAssignmentRequest struct {
	// PluginDefault Use the plugin's own settings here (instead of profile_id).
	PluginDefault *bool             `json:"plugin_default,omitempty"`
	ProfileId     *string           `json:"profile_id,omitempty"`
	TargetId      *string           `json:"target_id,omitempty"`
	TargetKind    NetworkTargetKind `json:"target_kind"`
}

NetworkAssignmentRequest defines model for NetworkAssignmentRequest.

type NetworkEffective

type NetworkEffective struct {
	// Level Where it comes from; `none` means nothing is assigned (the plugin's own settings).
	Level NetworkEffectiveLevel `json:"level"`

	// PluginDefault The plugin's own settings are in force.
	PluginDefault bool    `json:"plugin_default"`
	ProfileId     *string `json:"profile_id,omitempty"`
}

NetworkEffective defines model for NetworkEffective.

type NetworkEffectiveLevel

type NetworkEffectiveLevel string

NetworkEffectiveLevel Where it comes from; `none` means nothing is assigned (the plugin's own settings).

const (
	NetworkEffectiveLevelGlobal   NetworkEffectiveLevel = "global"
	NetworkEffectiveLevelMeta     NetworkEffectiveLevel = "meta"
	NetworkEffectiveLevelNone     NetworkEffectiveLevel = "none"
	NetworkEffectiveLevelPackage  NetworkEffectiveLevel = "package"
	NetworkEffectiveLevelPlugin   NetworkEffectiveLevel = "plugin"
	NetworkEffectiveLevelProvider NetworkEffectiveLevel = "provider"
	NetworkEffectiveLevelSource   NetworkEffectiveLevel = "source"
)

Defines values for NetworkEffectiveLevel.

func (NetworkEffectiveLevel) Valid

func (e NetworkEffectiveLevel) Valid() bool

Valid indicates whether the value is a known member of the NetworkEffectiveLevel enum.

type NetworkProfile

type NetworkProfile struct {
	// AssignedTo Where it is assigned.
	AssignedTo []NetworkTarget `json:"assigned_to"`

	// Concurrency Parallel requests per source; absent or 0 means the plugin's default.
	Concurrency *int      `json:"concurrency,omitempty"`
	CreatedAt   time.Time `json:"created_at"`

	// DohUrl DNS-over-HTTPS resolver; absent means the system resolver.
	DohUrl *string `json:"doh_url,omitempty"`

	// Headers Extra headers on every request.
	Headers map[string]string `json:"headers"`
	Id      string            `json:"id"`
	Name    string            `json:"name"`
	Owner   *ProfileOwner     `json:"owner,omitempty"`

	// ProxyId The proxy; absent means a direct connection.
	ProxyId   *string           `json:"proxy_id,omitempty"`
	RateLimit *NetworkRateLimit `json:"rate_limit,omitempty"`

	// SharedCookieJar Name of a cookie jar shared with other sources; absent means each source has its own.
	SharedCookieJar *string `json:"shared_cookie_jar,omitempty"`

	// SolverId The challenge solver; absent means none.
	SolverId  *string          `json:"solver_id,omitempty"`
	Timeouts  NetworkTimeouts  `json:"timeouts"`
	UpdatedAt time.Time        `json:"updated_at"`
	UserAgent NetworkUserAgent `json:"user_agent"`
}

NetworkProfile defines model for NetworkProfile.

type NetworkProfileList

type NetworkProfileList struct {
	Profiles []NetworkProfile `json:"profiles"`
}

NetworkProfileList defines model for NetworkProfileList.

type NetworkProfileSettings

type NetworkProfileSettings struct {
	// Concurrency Parallel requests per source; absent or 0 means the plugin's default.
	Concurrency *int `json:"concurrency,omitempty"`

	// DohUrl DNS-over-HTTPS resolver; absent means the system resolver.
	DohUrl *string `json:"doh_url,omitempty"`

	// Headers Extra headers on every request.
	Headers *map[string]string `json:"headers,omitempty"`
	Name    string             `json:"name"`

	// ProxyId The proxy; absent means a direct connection.
	ProxyId   *string           `json:"proxy_id,omitempty"`
	RateLimit *NetworkRateLimit `json:"rate_limit,omitempty"`

	// SharedCookieJar Name of a cookie jar shared with other sources; absent means each source has its own.
	SharedCookieJar *string `json:"shared_cookie_jar,omitempty"`

	// SolverId The challenge solver; absent means none.
	SolverId  *string           `json:"solver_id,omitempty"`
	Timeouts  *NetworkTimeouts  `json:"timeouts,omitempty"`
	UserAgent *NetworkUserAgent `json:"user_agent,omitempty"`
}

NetworkProfileSettings defines model for NetworkProfileSettings.

type NetworkPush

type NetworkPush struct {
	Error    *string    `json:"error,omitempty"`
	PushedAt *time.Time `json:"pushed_at,omitempty"`

	// State `pushed`: the plugin has it; `pending`: it changed and is on its
	// way (or the plugin is down); `failed`: the last push failed
	// (tried again at the next sync); `not_needed`: nothing assigned
	// and nothing pushed before; `not_accepted`: the plugin doesn't
	// take network profiles.
	State NetworkPushState `json:"state"`
}

NetworkPush Whether the plugin has the profile in force.

type NetworkPushState

type NetworkPushState string

NetworkPushState `pushed`: the plugin has it; `pending`: it changed and is on its way (or the plugin is down); `failed`: the last push failed (tried again at the next sync); `not_needed`: nothing assigned and nothing pushed before; `not_accepted`: the plugin doesn't take network profiles.

const (
	NetworkPushStateFailed      NetworkPushState = "failed"
	NetworkPushStateNotAccepted NetworkPushState = "not_accepted"
	NetworkPushStateNotNeeded   NetworkPushState = "not_needed"
	NetworkPushStatePending     NetworkPushState = "pending"
	NetworkPushStatePushed      NetworkPushState = "pushed"
)

Defines values for NetworkPushState.

func (NetworkPushState) Valid

func (e NetworkPushState) Valid() bool

Valid indicates whether the value is a known member of the NetworkPushState enum.

type NetworkRateLimit

type NetworkRateLimit struct {
	Burst         *int    `json:"burst,omitempty"`
	PeriodSeconds float32 `json:"period_seconds"`
	Requests      int     `json:"requests"`

	// Scope One budget per source (the default) or per target host.
	Scope *NetworkRateLimitScope `json:"scope,omitempty"`
}

NetworkRateLimit defines model for NetworkRateLimit.

type NetworkRateLimitScope

type NetworkRateLimitScope string

NetworkRateLimitScope One budget per source (the default) or per target host.

const (
	NetworkRateLimitScopeHost   NetworkRateLimitScope = "host"
	NetworkRateLimitScopeSource NetworkRateLimitScope = "source"
)

Defines values for NetworkRateLimitScope.

func (NetworkRateLimitScope) Valid

func (e NetworkRateLimitScope) Valid() bool

Valid indicates whether the value is a known member of the NetworkRateLimitScope enum.

type NetworkTarget

type NetworkTarget struct {
	// TargetId Empty for `global` and `meta`.
	TargetId   string            `json:"target_id"`
	TargetKind NetworkTargetKind `json:"target_kind"`
}

NetworkTarget defines model for NetworkTarget.

type NetworkTargetKind

type NetworkTargetKind string

NetworkTargetKind defines model for NetworkTargetKind.

const (
	NetworkTargetKindGlobal   NetworkTargetKind = "global"
	NetworkTargetKindMeta     NetworkTargetKind = "meta"
	NetworkTargetKindPackage  NetworkTargetKind = "package"
	NetworkTargetKindPlugin   NetworkTargetKind = "plugin"
	NetworkTargetKindProvider NetworkTargetKind = "provider"
	NetworkTargetKindSource   NetworkTargetKind = "source"
)

Defines values for NetworkTargetKind.

func (NetworkTargetKind) Valid

func (e NetworkTargetKind) Valid() bool

Valid indicates whether the value is a known member of the NetworkTargetKind enum.

type NetworkTest

type NetworkTest struct {
	LatencyMs int    `json:"latency_ms"`
	Message   string `json:"message"`
	Ok        bool   `json:"ok"`

	// Version The solver's version, when it says.
	Version *string `json:"version,omitempty"`
}

NetworkTest defines model for NetworkTest.

type NetworkTimeouts

type NetworkTimeouts struct {
	CallSeconds    *float32 `json:"call_seconds,omitempty"`
	ConnectSeconds *float32 `json:"connect_seconds,omitempty"`
	ReadSeconds    *float32 `json:"read_seconds,omitempty"`
}

NetworkTimeouts defines model for NetworkTimeouts.

type NetworkUserAgent

type NetworkUserAgent struct {
	// Mode `default`: the plugin's; `from_solver` needs a solver.
	Mode NetworkUserAgentMode `json:"mode"`

	// Value The user agent, for `fixed`.
	Value *string `json:"value,omitempty"`
}

NetworkUserAgent defines model for NetworkUserAgent.

type NetworkUserAgentMode

type NetworkUserAgentMode string

NetworkUserAgentMode `default`: the plugin's; `from_solver` needs a solver.

const (
	NetworkUserAgentModeDefault       NetworkUserAgentMode = "default"
	NetworkUserAgentModeFixed         NetworkUserAgentMode = "fixed"
	NetworkUserAgentModeFromSolver    NetworkUserAgentMode = "from_solver"
	NetworkUserAgentModeRandomDesktop NetworkUserAgentMode = "random_desktop"
)

Defines values for NetworkUserAgentMode.

func (NetworkUserAgentMode) Valid

func (e NetworkUserAgentMode) Valid() bool

Valid indicates whether the value is a known member of the NetworkUserAgentMode enum.

type NewNetworkProfile

type NewNetworkProfile struct {
	// Concurrency Parallel requests per source; absent or 0 means the plugin's default.
	Concurrency *int `json:"concurrency,omitempty"`

	// DohUrl DNS-over-HTTPS resolver; absent means the system resolver.
	DohUrl *string `json:"doh_url,omitempty"`

	// Headers Extra headers on every request.
	Headers *map[string]string `json:"headers,omitempty"`
	Id      string             `json:"id"`
	Name    string             `json:"name"`
	Owner   *ProfileOwner      `json:"owner,omitempty"`

	// ProxyId The proxy; absent means a direct connection.
	ProxyId   *string           `json:"proxy_id,omitempty"`
	RateLimit *NetworkRateLimit `json:"rate_limit,omitempty"`

	// SharedCookieJar Name of a cookie jar shared with other sources; absent means each source has its own.
	SharedCookieJar *string `json:"shared_cookie_jar,omitempty"`

	// SolverId The challenge solver; absent means none.
	SolverId  *string           `json:"solver_id,omitempty"`
	Timeouts  *NetworkTimeouts  `json:"timeouts,omitempty"`
	UserAgent *NetworkUserAgent `json:"user_agent,omitempty"`
}

NewNetworkProfile defines model for NewNetworkProfile.

type NewProxy

type NewProxy struct {
	Id   string `json:"id"`
	Name string `json:"name"`

	// Owner Makes it custom to one plugin, extension, source or provider (only usable by profiles of that owner, removed with its plugin).
	Owner *ProfileOwner `json:"owner,omitempty"`

	// Password Stored encrypted; never returned.
	Password *string `json:"password,omitempty"`
	Url      string  `json:"url"`
	Username *string `json:"username,omitempty"`
}

NewProxy defines model for NewProxy.

type NewSolver

type NewSolver struct {
	AsResponseFallback *bool  `json:"as_response_fallback,omitempty"`
	Id                 string `json:"id"`
	MaxTimeoutSeconds  *int   `json:"max_timeout_seconds,omitempty"`
	Name               string `json:"name"`

	// Owner Makes it custom to one plugin, extension, source or provider (only usable by profiles of that owner, removed with its plugin).
	Owner             *ProfileOwner `json:"owner,omitempty"`
	SessionTtlSeconds *int          `json:"session_ttl_seconds,omitempty"`
	Type              SolverType    `json:"type"`
	Url               string        `json:"url"`
}

NewSolver defines model for NewSolver.

type Package

type Package struct {
	ContentRating PackageContentRating `json:"content_rating"`

	// Details Set on installed packages.
	Details *PackageDetails `json:"details,omitempty"`

	// EnabledLangs The languages chosen for it; empty means every language the plugin allows.
	EnabledLangs []string `json:"enabled_langs"`

	// Error Why an installed package isn't working.
	Error *string `json:"error,omitempty"`

	// IconUrl The server's URL for the package's icon, when it has one.
	IconUrl          *string `json:"icon_url,omitempty"`
	Id               string  `json:"id"`
	Installed        bool    `json:"installed"`
	InstalledVersion *string `json:"installed_version,omitempty"`

	// Langs Languages its sources cover (BCP 47, or "all"/"multi").
	Langs []string `json:"langs"`
	Name  string   `json:"name"`

	// Offers Where it can come from (e.g. stores).
	Offers  []PackageOffer  `json:"offers"`
	Sources []PackageSource `json:"sources"`

	// Supported The plugin can run the version offered.
	Supported bool `json:"supported"`

	// TaskId An install, update or uninstall of it that is queued or running.
	TaskId          *openapi_types.UUID `json:"task_id,omitempty"`
	UpdateAvailable bool                `json:"update_available"`

	// Version The newest version offered.
	Version string `json:"version"`
}

Package A package that provides sources, e.g. an extension.

type PackageContentRating

type PackageContentRating string

PackageContentRating defines model for Package.ContentRating.

const (
	PackageContentRatingMixed   PackageContentRating = "mixed"
	PackageContentRatingNsfw    PackageContentRating = "nsfw"
	PackageContentRatingSafe    PackageContentRating = "safe"
	PackageContentRatingUnknown PackageContentRating = "unknown"
)

Defines values for PackageContentRating.

func (PackageContentRating) Valid

func (e PackageContentRating) Valid() bool

Valid indicates whether the value is a known member of the PackageContentRating enum.

type PackageDetails

type PackageDetails struct {
	// ApiVersion The version of the API the package was built for.
	ApiVersion  *string    `json:"api_version,omitempty"`
	InstalledAt *time.Time `json:"installed_at,omitempty"`

	// OriginId The origin it was installed from.
	OriginId           *string `json:"origin_id,omitempty"`
	Sha256             *string `json:"sha256,omitempty"`
	SigningFingerprint *string `json:"signing_fingerprint,omitempty"`
}

PackageDetails Set on installed packages.

type PackageId

type PackageId = string

PackageId defines model for PackageId.

type PackageLanguages

type PackageLanguages struct {
	EnabledLangs []string `json:"enabled_langs"`
}

PackageLanguages defines model for PackageLanguages.

type PackageList

type PackageList struct {
	Packages []Package `json:"packages"`
}

PackageList defines model for PackageList.

type PackageOffer

type PackageOffer struct {
	OriginId   string `json:"origin_id"`
	OriginName string `json:"origin_name"`
	Supported  bool   `json:"supported"`
	Version    string `json:"version"`
}

PackageOffer defines model for PackageOffer.

type PackageOrigin

type PackageOrigin struct {
	// Error Why the last refresh failed.
	Error        *string    `json:"error,omitempty"`
	Id           string     `json:"id"`
	Name         string     `json:"name"`
	PackageCount int        `json:"package_count"`
	RefreshedAt  *time.Time `json:"refreshed_at,omitempty"`

	// SigningKeyFingerprint The pinned signing key of its packages.
	SigningKeyFingerprint *string `json:"signing_key_fingerprint,omitempty"`
	Url                   *string `json:"url,omitempty"`
}

PackageOrigin defines model for PackageOrigin.

type PackageOriginList

type PackageOriginList struct {
	Origins []PackageOrigin `json:"origins"`
}

PackageOriginList defines model for PackageOriginList.

type PackageSource

type PackageSource struct {
	// Available Its language is turned on at the plugin's and the package's level, so it is listed while the package is installed. An admin may still turn the source off.
	Available bool `json:"available"`

	// Id The source's ID on the server ("plugin:source") once installed.
	Id   string `json:"id"`
	Lang string `json:"lang"`
	Name string `json:"name"`
}

PackageSource defines model for PackageSource.

type PageSize

type PageSize = int

PageSize defines model for PageSize.

type PageToken

type PageToken = string

PageToken defines model for PageToken.

type Password

type Password = string

Password 8 to 256 characters.

type PinChapterVariant200JSONResponse

type PinChapterVariant200JSONResponse ChapterDetail

func (PinChapterVariant200JSONResponse) VisitPinChapterVariantResponse

func (response PinChapterVariant200JSONResponse) VisitPinChapterVariantResponse(w http.ResponseWriter) error

type PinChapterVariantJSONRequestBody

type PinChapterVariantJSONRequestBody = PinVariantRequest

PinChapterVariantJSONRequestBody defines body for PinChapterVariant for application/json ContentType.

type PinChapterVariantRequestObject

type PinChapterVariantRequestObject struct {
	WorkId    WorkId    `json:"work_id"`
	ChapterId ChapterId `json:"chapter_id"`
	Body      *PinChapterVariantJSONRequestBody
}

type PinChapterVariantResponseObject

type PinChapterVariantResponseObject interface {
	VisitPinChapterVariantResponse(w http.ResponseWriter) error
}

type PinChapterVariantdefaultApplicationProblemPlusJSONResponse

type PinChapterVariantdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (PinChapterVariantdefaultApplicationProblemPlusJSONResponse) VisitPinChapterVariantResponse

func (response PinChapterVariantdefaultApplicationProblemPlusJSONResponse) VisitPinChapterVariantResponse(w http.ResponseWriter) error

type PinVariantRequest

type PinVariantRequest struct {
	VariantId *openapi_types.UUID `json:"variant_id"`
}

PinVariantRequest defines model for PinVariantRequest.

type Plugin

type Plugin struct {
	// Capabilities What the plugin supports beyond the contract, e.g. `packages` (it installs packages that provide sources; show its packages) or `network_profiles`.
	Capabilities     []string   `json:"capabilities"`
	CheckedAt        *time.Time `json:"checked_at,omitempty"`
	Contracts        []string   `json:"contracts"`
	CreatedAt        time.Time  `json:"created_at"`
	DefaultRateLimit *RateLimit `json:"default_rate_limit,omitempty"`
	Enabled          bool       `json:"enabled"`

	// HasConfig The plugin has settings (see its config).
	HasConfig     bool         `json:"has_config"`
	Health        PluginHealth `json:"health"`
	HealthMessage *string      `json:"health_message,omitempty"`
	Id            string       `json:"id"`

	// MaxConcurrencyPerSource How many calls per source the plugin takes at once, when it says.
	MaxConcurrencyPerSource *int `json:"max_concurrency_per_source,omitempty"`

	// Name The plugin's own name.
	Name string `json:"name"`

	// PluginId The plugin's own ID (what it reports), e.g. to tell instances of one plugin apart.
	PluginId *string `json:"plugin_id,omitempty"`

	// SourceCount Sources the plugin lists now.
	SourceCount int64  `json:"source_count"`
	Url         string `json:"url"`
	Version     string `json:"version"`
}

Plugin defines model for Plugin.

type PluginConfig

type PluginConfig struct {
	// Schema The plugin's JSON Schema for its configuration. Render the form from it.
	Schema map[string]interface{} `json:"schema"`
	Values map[string]interface{} `json:"values"`
}

PluginConfig defines model for PluginConfig.

type PluginHealth

type PluginHealth string

PluginHealth defines model for Plugin.Health.

const (
	PluginHealthDegraded PluginHealth = "degraded"
	PluginHealthDown     PluginHealth = "down"
	PluginHealthOk       PluginHealth = "ok"
	PluginHealthUnknown  PluginHealth = "unknown"
)

Defines values for PluginHealth.

func (PluginHealth) Valid

func (e PluginHealth) Valid() bool

Valid indicates whether the value is a known member of the PluginHealth enum.

type PluginId

type PluginId = string

PluginId defines model for PluginId.

type PluginJob

type PluginJob struct {
	Cancellable  bool    `json:"cancellable"`
	CurrentRunId *string `json:"current_run_id,omitempty"`
	Description  string  `json:"description"`

	// DisabledReason Why the job can't run now (e.g. a feature it needs is off); absent when it can. Running it answers `409`, code `job_disabled`, and its schedule doesn't fire meanwhile.
	DisabledReason *string `json:"disabled_reason,omitempty"`
	Group          string  `json:"group"`
	Id             string  `json:"id"`

	// LastRun As `JobRunSummary`, field for field, except that run IDs are the plugin's own strings.
	LastRun   *PluginJobRunSummary `json:"last_run,omitempty"`
	Name      string               `json:"name"`
	NextRunAt *time.Time           `json:"next_run_at,omitempty"`
	Params    []JobParam           `json:"params"`
	Running   bool                 `json:"running"`
	Schedule  JobSchedule          `json:"schedule"`
}

PluginJob As `Job`, field for field, except that run IDs are the plugin's own strings.

type PluginJobList

type PluginJobList struct {
	Jobs []PluginJob `json:"jobs"`
}

PluginJobList As `JobList`, field for field, except that run IDs are the plugin's own strings.

type PluginJobRun

type PluginJobRun struct {
	Notes    []JobRunNote      `json:"notes"`
	Params   map[string]string `json:"params"`
	Progress *JobProgress      `json:"progress,omitempty"`

	// Summary As `JobRunSummary`, field for field, except that run IDs are the plugin's own strings.
	Summary PluginJobRunSummary `json:"summary"`
}

PluginJobRun As `JobRun`, field for field, except that run IDs are the plugin's own strings.

type PluginJobRunList

type PluginJobRunList struct {
	NextPageToken string                `json:"next_page_token"`
	Runs          []PluginJobRunSummary `json:"runs"`
}

PluginJobRunList As `JobRunList`, field for field, except that run IDs are the plugin's own strings.

type PluginJobRunSummary

type PluginJobRunSummary struct {
	Counts     map[string]int64 `json:"counts"`
	FinishedAt *time.Time       `json:"finished_at,omitempty"`

	// Id The plugin's own run ID (not always a UUID).
	Id          string                     `json:"id"`
	JobId       string                     `json:"job_id"`
	Message     string                     `json:"message"`
	StartedAt   time.Time                  `json:"started_at"`
	Status      JobRunStatus               `json:"status"`
	Trigger     PluginJobRunSummaryTrigger `json:"trigger"`
	TriggeredBy *string                    `json:"triggered_by,omitempty"`
}

PluginJobRunSummary As `JobRunSummary`, field for field, except that run IDs are the plugin's own strings.

type PluginJobRunSummaryTrigger

type PluginJobRunSummaryTrigger string

PluginJobRunSummaryTrigger defines model for PluginJobRunSummary.Trigger.

const (
	PluginJobRunSummaryTriggerManual   PluginJobRunSummaryTrigger = "manual"
	PluginJobRunSummaryTriggerSchedule PluginJobRunSummaryTrigger = "schedule"
	PluginJobRunSummaryTriggerStartup  PluginJobRunSummaryTrigger = "startup"
	PluginJobRunSummaryTriggerSystem   PluginJobRunSummaryTrigger = "system"
)

Defines values for PluginJobRunSummaryTrigger.

func (PluginJobRunSummaryTrigger) Valid

func (e PluginJobRunSummaryTrigger) Valid() bool

Valid indicates whether the value is a known member of the PluginJobRunSummaryTrigger enum.

type PluginList

type PluginList struct {
	Plugins []Plugin `json:"plugins"`
}

PluginList defines model for PluginList.

type PluginNetwork

type PluginNetwork struct {
	// AcceptsProfiles The plugin declares the network profile service; others never receive profiles.
	AcceptsProfiles bool `json:"accepts_profiles"`

	// AcceptsSolver The plugin declares the solver service; others receive profiles without the solver.
	AcceptsSolver bool               `json:"accepts_solver"`
	Assignment    *NetworkAssignment `json:"assignment,omitempty"`

	// Packages Assignments at the plugin's packages.
	Packages []NetworkAssignment `json:"packages"`
	PluginId string              `json:"plugin_id"`
	Sources  []SourceNetwork     `json:"sources"`
}

PluginNetwork defines model for PluginNetwork.

type Problem

type Problem struct {
	// ChapterLabel With `work_id`, the chapter's name for showing (English), e.g. `Vol. 2 Chapter 15: Rain`, `Chapter 3` or an extra's own name.
	ChapterLabel *string `json:"chapter_label,omitempty"`

	// Code A stable, machine-readable error code. Common ones:
	// `invalid_request`, `unauthenticated`, `forbidden`, `csrf_failed`,
	// `not_found`, `setup_required`, `rate_limited`, `internal`.
	Code string `json:"code"`

	// CurrentRun With code `already_running` from a plugin's jobs, the run that is going on (the plugin's own ID).
	CurrentRun *string `json:"current_run,omitempty"`

	// CurrentRunId With code `already_running`, the run that is going on.
	CurrentRunId *openapi_types.UUID `json:"current_run_id,omitempty"`

	// Detail What went wrong in this occurrence, for people.
	Detail *string `json:"detail,omitempty"`

	// Errors Per-field validation errors.
	Errors *[]FieldError `json:"errors,omitempty"`

	// Instance The request path.
	Instance *string `json:"instance,omitempty"`

	// RequestId The request's ID, also in the X-Request-Id header and the server log.
	RequestId *string `json:"request_id,omitempty"`

	// Status The HTTP status code.
	Status int `json:"status"`

	// Title A short, human-readable summary of the problem type.
	Title string `json:"title"`

	// Type A URI reference that identifies the problem type; "about:blank" when only the status applies.
	//
	// Examples: about:blank
	Type string `json:"type"`

	// WorkId From `GET /chapters/{chapter_id}/pages`, the work of the chapter that couldn't be loaded, so the reader can go back to the series. Only when you may see the work.
	WorkId *openapi_types.UUID `json:"work_id,omitempty"`

	// WorkTitle With `work_id`, the work's title.
	WorkTitle *string `json:"work_title,omitempty"`
}

Problem RFC 9457 problem details.

type ProblemApplicationProblemPlusJSONResponse

type ProblemApplicationProblemPlusJSONResponse Problem

type ProfileId

type ProfileId = string

ProfileId defines model for ProfileId.

type ProfileOwner

type ProfileOwner struct {
	// Id A plugin ID, "plugin:package", a source ID or a provider ID.
	Id   string           `json:"id"`
	Kind ProfileOwnerKind `json:"kind"`
}

ProfileOwner defines model for ProfileOwner.

type ProfileOwnerKind

type ProfileOwnerKind string

ProfileOwnerKind defines model for ProfileOwnerKind.

const (
	ProfileOwnerKindPackage  ProfileOwnerKind = "package"
	ProfileOwnerKindPlugin   ProfileOwnerKind = "plugin"
	ProfileOwnerKindProvider ProfileOwnerKind = "provider"
	ProfileOwnerKindSource   ProfileOwnerKind = "source"
)

Defines values for ProfileOwnerKind.

func (ProfileOwnerKind) Valid

func (e ProfileOwnerKind) Valid() bool

Valid indicates whether the value is a known member of the ProfileOwnerKind enum.

type ProviderNetwork

type ProviderNetwork struct {
	// AcceptsProfiles Its plugin takes network profiles (meta gives them only to those).
	AcceptsProfiles bool `json:"accepts_profiles"`

	// Applied What meta applies to the provider.
	Applied struct {
		// Origin `pushed`: Panelarr's profile; `meta`/`meta_default`: meta's own assignment or default; `none`: a direct connection.
		Origin      ProviderNetworkAppliedOrigin `json:"origin"`
		ProfileName *string                      `json:"profile_name,omitempty"`
		PushedAt    *time.Time                   `json:"pushed_at,omitempty"`
	} `json:"applied"`
	Assignment *NetworkAssignment `json:"assignment,omitempty"`
	Effective  NetworkEffective   `json:"effective"`
	ProviderId string             `json:"provider_id"`

	// Push Whether the plugin has the profile in force.
	Push NetworkPush `json:"push"`
}

ProviderNetwork defines model for ProviderNetwork.

type ProviderNetworkAppliedOrigin

type ProviderNetworkAppliedOrigin string

ProviderNetworkAppliedOrigin `pushed`: Panelarr's profile; `meta`/`meta_default`: meta's own assignment or default; `none`: a direct connection.

const (
	ProviderNetworkAppliedOriginMeta        ProviderNetworkAppliedOrigin = "meta"
	ProviderNetworkAppliedOriginMetaDefault ProviderNetworkAppliedOrigin = "meta_default"
	ProviderNetworkAppliedOriginNone        ProviderNetworkAppliedOrigin = "none"
	ProviderNetworkAppliedOriginPushed      ProviderNetworkAppliedOrigin = "pushed"
)

Defines values for ProviderNetworkAppliedOrigin.

func (ProviderNetworkAppliedOrigin) Valid

Valid indicates whether the value is a known member of the ProviderNetworkAppliedOrigin enum.

type Proxy

type Proxy struct {
	CreatedAt   time.Time     `json:"created_at"`
	HasPassword bool          `json:"has_password"`
	Id          string        `json:"id"`
	Name        string        `json:"name"`
	Owner       *ProfileOwner `json:"owner,omitempty"`
	UpdatedAt   time.Time     `json:"updated_at"`

	// Url http://, https:// or socks5://host:port, without credentials.
	Url      string  `json:"url"`
	Username *string `json:"username,omitempty"`
}

Proxy An HTTP, HTTPS or SOCKS5 proxy, shared or custom to one owner. The password is never returned.

type ProxyId

type ProxyId = string

ProxyId defines model for ProxyId.

type ProxyList

type ProxyList struct {
	Proxies []Proxy `json:"proxies"`
}

ProxyList defines model for ProxyList.

type ProxyTarget

type ProxyTarget struct {
	// Url An http(s) URL to request through the proxy. Without it, the check only connects to the proxy.
	Url *string `json:"url,omitempty"`
}

ProxyTarget defines model for ProxyTarget.

type ProxyTestRequest

type ProxyTestRequest struct {
	Proxy NewProxy `json:"proxy"`

	// Url An http(s) URL to request through the proxy. Without it, the check only connects to the proxy. A saved proxy's stored password is used when the password is left empty.
	Url *string `json:"url,omitempty"`
}

ProxyTestRequest defines model for ProxyTestRequest.

type PutMetaDuplicateJudge200JSONResponse

type PutMetaDuplicateJudge200JSONResponse DuplicateJudge

func (PutMetaDuplicateJudge200JSONResponse) VisitPutMetaDuplicateJudgeResponse

func (response PutMetaDuplicateJudge200JSONResponse) VisitPutMetaDuplicateJudgeResponse(w http.ResponseWriter) error

type PutMetaDuplicateJudgeJSONRequestBody

type PutMetaDuplicateJudgeJSONRequestBody = DuplicateJudgeSettings

PutMetaDuplicateJudgeJSONRequestBody defines body for PutMetaDuplicateJudge for application/json ContentType.

type PutMetaDuplicateJudgeRequestObject

type PutMetaDuplicateJudgeRequestObject struct {
	Body *PutMetaDuplicateJudgeJSONRequestBody
}

type PutMetaDuplicateJudgeResponseObject

type PutMetaDuplicateJudgeResponseObject interface {
	VisitPutMetaDuplicateJudgeResponse(w http.ResponseWriter) error
}

type PutMetaDuplicateJudgedefaultApplicationProblemPlusJSONResponse

type PutMetaDuplicateJudgedefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (PutMetaDuplicateJudgedefaultApplicationProblemPlusJSONResponse) VisitPutMetaDuplicateJudgeResponse

func (response PutMetaDuplicateJudgedefaultApplicationProblemPlusJSONResponse) VisitPutMetaDuplicateJudgeResponse(w http.ResponseWriter) error

type PutMetaSearchEngine200JSONResponse

type PutMetaSearchEngine200JSONResponse MetaSearchEngine

func (PutMetaSearchEngine200JSONResponse) VisitPutMetaSearchEngineResponse

func (response PutMetaSearchEngine200JSONResponse) VisitPutMetaSearchEngineResponse(w http.ResponseWriter) error

type PutMetaSearchEngineJSONRequestBody

type PutMetaSearchEngineJSONRequestBody = SearchEngineSettings

PutMetaSearchEngineJSONRequestBody defines body for PutMetaSearchEngine for application/json ContentType.

type PutMetaSearchEngineRequestObject

type PutMetaSearchEngineRequestObject struct {
	Body *PutMetaSearchEngineJSONRequestBody
}

type PutMetaSearchEngineResponseObject

type PutMetaSearchEngineResponseObject interface {
	VisitPutMetaSearchEngineResponse(w http.ResponseWriter) error
}

type PutMetaSearchEnginedefaultApplicationProblemPlusJSONResponse

type PutMetaSearchEnginedefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (PutMetaSearchEnginedefaultApplicationProblemPlusJSONResponse) VisitPutMetaSearchEngineResponse

func (response PutMetaSearchEnginedefaultApplicationProblemPlusJSONResponse) VisitPutMetaSearchEngineResponse(w http.ResponseWriter) error

type PutMyPreferences204Response

type PutMyPreferences204Response struct {
}

func (PutMyPreferences204Response) VisitPutMyPreferencesResponse

func (response PutMyPreferences204Response) VisitPutMyPreferencesResponse(w http.ResponseWriter) error

type PutMyPreferencesJSONBody

type PutMyPreferencesJSONBody map[string]interface{}

PutMyPreferencesJSONBody defines parameters for PutMyPreferences.

type PutMyPreferencesJSONRequestBody

type PutMyPreferencesJSONRequestBody PutMyPreferencesJSONBody

PutMyPreferencesJSONRequestBody defines body for PutMyPreferences for application/json ContentType.

type PutMyPreferencesRequestObject

type PutMyPreferencesRequestObject struct {
	Body *PutMyPreferencesJSONRequestBody
}

type PutMyPreferencesResponseObject

type PutMyPreferencesResponseObject interface {
	VisitPutMyPreferencesResponse(w http.ResponseWriter) error
}

type PutMyPreferencesdefaultApplicationProblemPlusJSONResponse

type PutMyPreferencesdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (PutMyPreferencesdefaultApplicationProblemPlusJSONResponse) VisitPutMyPreferencesResponse

func (response PutMyPreferencesdefaultApplicationProblemPlusJSONResponse) VisitPutMyPreferencesResponse(w http.ResponseWriter) error

type PutReaderSettings204Response

type PutReaderSettings204Response struct {
}

func (PutReaderSettings204Response) VisitPutReaderSettingsResponse

func (response PutReaderSettings204Response) VisitPutReaderSettingsResponse(w http.ResponseWriter) error

type PutReaderSettingsJSONBody

type PutReaderSettingsJSONBody map[string]interface{}

PutReaderSettingsJSONBody defines parameters for PutReaderSettings.

type PutReaderSettingsJSONRequestBody

type PutReaderSettingsJSONRequestBody PutReaderSettingsJSONBody

PutReaderSettingsJSONRequestBody defines body for PutReaderSettings for application/json ContentType.

type PutReaderSettingsRequestObject

type PutReaderSettingsRequestObject struct {
	Scope string `json:"scope"`
	Body  *PutReaderSettingsJSONRequestBody
}

type PutReaderSettingsResponseObject

type PutReaderSettingsResponseObject interface {
	VisitPutReaderSettingsResponse(w http.ResponseWriter) error
}

type PutReaderSettingsdefaultApplicationProblemPlusJSONResponse

type PutReaderSettingsdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (PutReaderSettingsdefaultApplicationProblemPlusJSONResponse) VisitPutReaderSettingsResponse

func (response PutReaderSettingsdefaultApplicationProblemPlusJSONResponse) VisitPutReaderSettingsResponse(w http.ResponseWriter) error

type QueueKind

type QueueKind struct {
	Concurrency int    `json:"concurrency"`
	Failed      int64  `json:"failed"`
	Kind        string `json:"kind"`
	Paused      bool   `json:"paused"`
	Queued      int64  `json:"queued"`
	Running     int    `json:"running"`
}

QueueKind defines model for QueueKind.

type QueueState

type QueueState struct {
	Kinds []QueueKind `json:"kinds"`
}

QueueState defines model for QueueState.

type RateLimit

type RateLimit struct {
	Burst         *int    `json:"burst,omitempty"`
	PeriodSeconds float32 `json:"period_seconds"`
	Requests      int     `json:"requests"`
}

RateLimit defines model for RateLimit.

type ReaderPage

type ReaderPage struct {
	Index int `json:"index"`

	// Url The server's URL for the page image.
	Url string `json:"url"`
}

ReaderPage defines model for ReaderPage.

type ReaderSettings

type ReaderSettings struct {
	Effective map[string]interface{}  `json:"effective"`
	Global    *map[string]interface{} `json:"global,omitempty"`
	Source    *map[string]interface{} `json:"source,omitempty"`
	Work      *map[string]interface{} `json:"work,omitempty"`
}

ReaderSettings defines model for ReaderSettings.

type RefreshMetaEntry200JSONResponse

type RefreshMetaEntry200JSONResponse MetaEntryRefresh

func (RefreshMetaEntry200JSONResponse) VisitRefreshMetaEntryResponse

func (response RefreshMetaEntry200JSONResponse) VisitRefreshMetaEntryResponse(w http.ResponseWriter) error

type RefreshMetaEntryRequestObject

type RefreshMetaEntryRequestObject struct {
	EntryId EntryId `json:"entry_id"`
}

type RefreshMetaEntryResponseObject

type RefreshMetaEntryResponseObject interface {
	VisitRefreshMetaEntryResponse(w http.ResponseWriter) error
}

type RefreshMetaEntrydefaultApplicationProblemPlusJSONResponse

type RefreshMetaEntrydefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (RefreshMetaEntrydefaultApplicationProblemPlusJSONResponse) VisitRefreshMetaEntryResponse

func (response RefreshMetaEntrydefaultApplicationProblemPlusJSONResponse) VisitRefreshMetaEntryResponse(w http.ResponseWriter) error

type RefreshMyUpdates202JSONResponse

type RefreshMyUpdates202JSONResponse RefreshQueued

func (RefreshMyUpdates202JSONResponse) VisitRefreshMyUpdatesResponse

func (response RefreshMyUpdates202JSONResponse) VisitRefreshMyUpdatesResponse(w http.ResponseWriter) error

type RefreshMyUpdatesRequestObject

type RefreshMyUpdatesRequestObject struct {
}

type RefreshMyUpdatesResponseObject

type RefreshMyUpdatesResponseObject interface {
	VisitRefreshMyUpdatesResponse(w http.ResponseWriter) error
}

type RefreshMyUpdatesdefaultApplicationProblemPlusJSONResponse

type RefreshMyUpdatesdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (RefreshMyUpdatesdefaultApplicationProblemPlusJSONResponse) VisitRefreshMyUpdatesResponse

func (response RefreshMyUpdatesdefaultApplicationProblemPlusJSONResponse) VisitRefreshMyUpdatesResponse(w http.ResponseWriter) error

type RefreshPackageOrigin200JSONResponse

type RefreshPackageOrigin200JSONResponse PackageOrigin

func (RefreshPackageOrigin200JSONResponse) VisitRefreshPackageOriginResponse

func (response RefreshPackageOrigin200JSONResponse) VisitRefreshPackageOriginResponse(w http.ResponseWriter) error

type RefreshPackageOriginRequestObject

type RefreshPackageOriginRequestObject struct {
	PluginId PluginId `json:"plugin_id"`
	OriginId string   `json:"origin_id"`
}

type RefreshPackageOriginResponseObject

type RefreshPackageOriginResponseObject interface {
	VisitRefreshPackageOriginResponse(w http.ResponseWriter) error
}

type RefreshPackageOrigindefaultApplicationProblemPlusJSONResponse

type RefreshPackageOrigindefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (RefreshPackageOrigindefaultApplicationProblemPlusJSONResponse) VisitRefreshPackageOriginResponse

func (response RefreshPackageOrigindefaultApplicationProblemPlusJSONResponse) VisitRefreshPackageOriginResponse(w http.ResponseWriter) error

type RefreshQueued

type RefreshQueued struct {
	Queued int `json:"queued"`
}

RefreshQueued defines model for RefreshQueued.

type RefreshWork202JSONResponse

type RefreshWork202JSONResponse RefreshQueued

func (RefreshWork202JSONResponse) VisitRefreshWorkResponse

func (response RefreshWork202JSONResponse) VisitRefreshWorkResponse(w http.ResponseWriter) error

type RefreshWorkRequestObject

type RefreshWorkRequestObject struct {
	WorkId WorkId `json:"work_id"`
}

type RefreshWorkResponseObject

type RefreshWorkResponseObject interface {
	VisitRefreshWorkResponse(w http.ResponseWriter) error
}

type RefreshWorkdefaultApplicationProblemPlusJSONResponse

type RefreshWorkdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (RefreshWorkdefaultApplicationProblemPlusJSONResponse) VisitRefreshWorkResponse

type RegisterPlugin201JSONResponse

type RegisterPlugin201JSONResponse Plugin

func (RegisterPlugin201JSONResponse) VisitRegisterPluginResponse

func (response RegisterPlugin201JSONResponse) VisitRegisterPluginResponse(w http.ResponseWriter) error

type RegisterPluginJSONRequestBody

type RegisterPluginJSONRequestBody = RegisterPluginRequest

RegisterPluginJSONRequestBody defines body for RegisterPlugin for application/json ContentType.

type RegisterPluginRequest

type RegisterPluginRequest struct {
	ApiKey *string `json:"api_key,omitempty"`
	Id     *string `json:"id,omitempty"`

	// Url The plugin service's base URL, e.g. "http://source-plugin:8904".
	Url string `json:"url"`
}

RegisterPluginRequest defines model for RegisterPluginRequest.

type RegisterPluginRequestObject

type RegisterPluginRequestObject struct {
	Body *RegisterPluginJSONRequestBody
}

type RegisterPluginResponseObject

type RegisterPluginResponseObject interface {
	VisitRegisterPluginResponse(w http.ResponseWriter) error
}

type RegisterPlugindefaultApplicationProblemPlusJSONResponse

type RegisterPlugindefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (RegisterPlugindefaultApplicationProblemPlusJSONResponse) VisitRegisterPluginResponse

func (response RegisterPlugindefaultApplicationProblemPlusJSONResponse) VisitRegisterPluginResponse(w http.ResponseWriter) error

type ReloadPackage200JSONResponse

type ReloadPackage200JSONResponse Package

func (ReloadPackage200JSONResponse) VisitReloadPackageResponse

func (response ReloadPackage200JSONResponse) VisitReloadPackageResponse(w http.ResponseWriter) error

type ReloadPackageRequestObject

type ReloadPackageRequestObject struct {
	PluginId  PluginId  `json:"plugin_id"`
	PackageId PackageId `json:"package_id"`
}

type ReloadPackageResponseObject

type ReloadPackageResponseObject interface {
	VisitReloadPackageResponse(w http.ResponseWriter) error
}

type ReloadPackagedefaultApplicationProblemPlusJSONResponse

type ReloadPackagedefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (ReloadPackagedefaultApplicationProblemPlusJSONResponse) VisitReloadPackageResponse

type RemoveFromLibrary204Response

type RemoveFromLibrary204Response struct {
}

func (RemoveFromLibrary204Response) VisitRemoveFromLibraryResponse

func (response RemoveFromLibrary204Response) VisitRemoveFromLibraryResponse(w http.ResponseWriter) error

type RemoveFromLibraryRequestObject

type RemoveFromLibraryRequestObject struct {
	WorkId WorkId `json:"work_id"`
}

type RemoveFromLibraryResponseObject

type RemoveFromLibraryResponseObject interface {
	VisitRemoveFromLibraryResponse(w http.ResponseWriter) error
}

type RemoveFromLibrarydefaultApplicationProblemPlusJSONResponse

type RemoveFromLibrarydefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (RemoveFromLibrarydefaultApplicationProblemPlusJSONResponse) VisitRemoveFromLibraryResponse

func (response RemoveFromLibrarydefaultApplicationProblemPlusJSONResponse) VisitRemoveFromLibraryResponse(w http.ResponseWriter) error

type RemoveFromMyHistory204Response

type RemoveFromMyHistory204Response struct {
}

func (RemoveFromMyHistory204Response) VisitRemoveFromMyHistoryResponse

func (response RemoveFromMyHistory204Response) VisitRemoveFromMyHistoryResponse(w http.ResponseWriter) error

type RemoveFromMyHistoryRequestObject

type RemoveFromMyHistoryRequestObject struct {
	WorkId WorkId `json:"work_id"`
}

type RemoveFromMyHistoryResponseObject

type RemoveFromMyHistoryResponseObject interface {
	VisitRemoveFromMyHistoryResponse(w http.ResponseWriter) error
}

type RemoveFromMyHistorydefaultApplicationProblemPlusJSONResponse

type RemoveFromMyHistorydefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (RemoveFromMyHistorydefaultApplicationProblemPlusJSONResponse) VisitRemoveFromMyHistoryResponse

func (response RemoveFromMyHistorydefaultApplicationProblemPlusJSONResponse) VisitRemoveFromMyHistoryResponse(w http.ResponseWriter) error

type ReopenMetaDuplicate200JSONResponse

type ReopenMetaDuplicate200JSONResponse DuplicatePair

func (ReopenMetaDuplicate200JSONResponse) VisitReopenMetaDuplicateResponse

func (response ReopenMetaDuplicate200JSONResponse) VisitReopenMetaDuplicateResponse(w http.ResponseWriter) error

type ReopenMetaDuplicateRequestObject

type ReopenMetaDuplicateRequestObject struct {
	PairId int64 `json:"pair_id"`
}

type ReopenMetaDuplicateResponseObject

type ReopenMetaDuplicateResponseObject interface {
	VisitReopenMetaDuplicateResponse(w http.ResponseWriter) error
}

type ReopenMetaDuplicatedefaultApplicationProblemPlusJSONResponse

type ReopenMetaDuplicatedefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (ReopenMetaDuplicatedefaultApplicationProblemPlusJSONResponse) VisitReopenMetaDuplicateResponse

func (response ReopenMetaDuplicatedefaultApplicationProblemPlusJSONResponse) VisitReopenMetaDuplicateResponse(w http.ResponseWriter) error

type ReplaceNetworkProfile200JSONResponse

type ReplaceNetworkProfile200JSONResponse NetworkProfile

func (ReplaceNetworkProfile200JSONResponse) VisitReplaceNetworkProfileResponse

func (response ReplaceNetworkProfile200JSONResponse) VisitReplaceNetworkProfileResponse(w http.ResponseWriter) error

type ReplaceNetworkProfileJSONRequestBody

type ReplaceNetworkProfileJSONRequestBody = NetworkProfileSettings

ReplaceNetworkProfileJSONRequestBody defines body for ReplaceNetworkProfile for application/json ContentType.

type ReplaceNetworkProfileRequestObject

type ReplaceNetworkProfileRequestObject struct {
	ProfileId ProfileId `json:"profile_id"`
	Body      *ReplaceNetworkProfileJSONRequestBody
}

type ReplaceNetworkProfileResponseObject

type ReplaceNetworkProfileResponseObject interface {
	VisitReplaceNetworkProfileResponse(w http.ResponseWriter) error
}

type ReplaceNetworkProfiledefaultApplicationProblemPlusJSONResponse

type ReplaceNetworkProfiledefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (ReplaceNetworkProfiledefaultApplicationProblemPlusJSONResponse) VisitReplaceNetworkProfileResponse

func (response ReplaceNetworkProfiledefaultApplicationProblemPlusJSONResponse) VisitReplaceNetworkProfileResponse(w http.ResponseWriter) error

type RequiredHeaderError

type RequiredHeaderError struct {
	ParamName string
	Err       error
}

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 ResetMetaDuplicateJudge200JSONResponse

type ResetMetaDuplicateJudge200JSONResponse DuplicateJudge

func (ResetMetaDuplicateJudge200JSONResponse) VisitResetMetaDuplicateJudgeResponse

func (response ResetMetaDuplicateJudge200JSONResponse) VisitResetMetaDuplicateJudgeResponse(w http.ResponseWriter) error

type ResetMetaDuplicateJudgeRequestObject

type ResetMetaDuplicateJudgeRequestObject struct {
}

type ResetMetaDuplicateJudgeResponseObject

type ResetMetaDuplicateJudgeResponseObject interface {
	VisitResetMetaDuplicateJudgeResponse(w http.ResponseWriter) error
}

type ResetMetaDuplicateJudgedefaultApplicationProblemPlusJSONResponse

type ResetMetaDuplicateJudgedefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (ResetMetaDuplicateJudgedefaultApplicationProblemPlusJSONResponse) VisitResetMetaDuplicateJudgeResponse

func (response ResetMetaDuplicateJudgedefaultApplicationProblemPlusJSONResponse) VisitResetMetaDuplicateJudgeResponse(w http.ResponseWriter) error

type ResetMetaSearchEngine200JSONResponse

type ResetMetaSearchEngine200JSONResponse MetaSearchEngine

func (ResetMetaSearchEngine200JSONResponse) VisitResetMetaSearchEngineResponse

func (response ResetMetaSearchEngine200JSONResponse) VisitResetMetaSearchEngineResponse(w http.ResponseWriter) error

type ResetMetaSearchEngineRequestObject

type ResetMetaSearchEngineRequestObject struct {
}

type ResetMetaSearchEngineResponseObject

type ResetMetaSearchEngineResponseObject interface {
	VisitResetMetaSearchEngineResponse(w http.ResponseWriter) error
}

type ResetMetaSearchEnginedefaultApplicationProblemPlusJSONResponse

type ResetMetaSearchEnginedefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (ResetMetaSearchEnginedefaultApplicationProblemPlusJSONResponse) VisitResetMetaSearchEngineResponse

func (response ResetMetaSearchEnginedefaultApplicationProblemPlusJSONResponse) VisitResetMetaSearchEngineResponse(w http.ResponseWriter) error

type RetryTask200JSONResponse

type RetryTask200JSONResponse Task

func (RetryTask200JSONResponse) VisitRetryTaskResponse

func (response RetryTask200JSONResponse) VisitRetryTaskResponse(w http.ResponseWriter) error

type RetryTaskRequestObject

type RetryTaskRequestObject struct {
	TaskId TaskId `json:"task_id"`
}

type RetryTaskResponseObject

type RetryTaskResponseObject interface {
	VisitRetryTaskResponse(w http.ResponseWriter) error
}

type RetryTaskdefaultApplicationProblemPlusJSONResponse

type RetryTaskdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (RetryTaskdefaultApplicationProblemPlusJSONResponse) VisitRetryTaskResponse

type Reverse

type Reverse = bool

Reverse defines model for Reverse.

type Role

type Role string

Role Admins may do everything; users what their grants allow.

const (
	RoleAdmin Role = "admin"
	RoleUser  Role = "user"
)

Defines values for Role.

func (Role) Valid

func (e Role) Valid() bool

Valid indicates whether the value is a known member of the Role enum.

type RunId

type RunId = openapi_types.UUID

RunId defines model for RunId.

type RunJob202JSONResponse

type RunJob202JSONResponse JobRunSummary

func (RunJob202JSONResponse) VisitRunJobResponse

func (response RunJob202JSONResponse) VisitRunJobResponse(w http.ResponseWriter) error

type RunJobJSONRequestBody

type RunJobJSONRequestBody = RunJobRequest

RunJobJSONRequestBody defines body for RunJob for application/json ContentType.

type RunJobRequest

type RunJobRequest struct {
	Params *map[string]string `json:"params,omitempty"`
}

RunJobRequest defines model for RunJobRequest.

type RunJobRequestObject

type RunJobRequestObject struct {
	JobId JobId `json:"job_id"`
	Body  *RunJobJSONRequestBody
}

type RunJobResponseObject

type RunJobResponseObject interface {
	VisitRunJobResponse(w http.ResponseWriter) error
}

type RunJobdefaultApplicationProblemPlusJSONResponse

type RunJobdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (RunJobdefaultApplicationProblemPlusJSONResponse) VisitRunJobResponse

type RunMetaJob202JSONResponse

type RunMetaJob202JSONResponse JobRunSummary

func (RunMetaJob202JSONResponse) VisitRunMetaJobResponse

func (response RunMetaJob202JSONResponse) VisitRunMetaJobResponse(w http.ResponseWriter) error

type RunMetaJobJSONRequestBody

type RunMetaJobJSONRequestBody = RunJobRequest

RunMetaJobJSONRequestBody defines body for RunMetaJob for application/json ContentType.

type RunMetaJobRequestObject

type RunMetaJobRequestObject struct {
	JobId JobId `json:"job_id"`
	Body  *RunMetaJobJSONRequestBody
}

type RunMetaJobResponseObject

type RunMetaJobResponseObject interface {
	VisitRunMetaJobResponse(w http.ResponseWriter) error
}

type RunMetaJobdefaultApplicationProblemPlusJSONResponse

type RunMetaJobdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (RunMetaJobdefaultApplicationProblemPlusJSONResponse) VisitRunMetaJobResponse

type RunMetaProviderSync202JSONResponse

type RunMetaProviderSync202JSONResponse MetaSyncStarted

func (RunMetaProviderSync202JSONResponse) VisitRunMetaProviderSyncResponse

func (response RunMetaProviderSync202JSONResponse) VisitRunMetaProviderSyncResponse(w http.ResponseWriter) error

type RunMetaProviderSyncJSONRequestBody

type RunMetaProviderSyncJSONRequestBody = RunMetaSyncRequest

RunMetaProviderSyncJSONRequestBody defines body for RunMetaProviderSync for application/json ContentType.

type RunMetaProviderSyncRequestObject

type RunMetaProviderSyncRequestObject struct {
	Provider string `json:"provider"`
	Body     *RunMetaProviderSyncJSONRequestBody
}

type RunMetaProviderSyncResponseObject

type RunMetaProviderSyncResponseObject interface {
	VisitRunMetaProviderSyncResponse(w http.ResponseWriter) error
}

type RunMetaProviderSyncdefaultApplicationProblemPlusJSONResponse

type RunMetaProviderSyncdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (RunMetaProviderSyncdefaultApplicationProblemPlusJSONResponse) VisitRunMetaProviderSyncResponse

func (response RunMetaProviderSyncdefaultApplicationProblemPlusJSONResponse) VisitRunMetaProviderSyncResponse(w http.ResponseWriter) error

type RunMetaSyncRequest

type RunMetaSyncRequest struct {
	// Kind The sync kind the provider supports, "dump" (full import, the default) or "delta".
	Kind *RunMetaSyncRequestKind `json:"kind,omitempty"`
}

RunMetaSyncRequest defines model for RunMetaSyncRequest.

type RunMetaSyncRequestKind

type RunMetaSyncRequestKind string

RunMetaSyncRequestKind The sync kind the provider supports, "dump" (full import, the default) or "delta".

const (
	RunMetaSyncRequestKindDelta RunMetaSyncRequestKind = "delta"
	RunMetaSyncRequestKindDump  RunMetaSyncRequestKind = "dump"
)

Defines values for RunMetaSyncRequestKind.

func (RunMetaSyncRequestKind) Valid

func (e RunMetaSyncRequestKind) Valid() bool

Valid indicates whether the value is a known member of the RunMetaSyncRequestKind enum.

type RunPluginJob202JSONResponse

type RunPluginJob202JSONResponse PluginJobRunSummary

func (RunPluginJob202JSONResponse) VisitRunPluginJobResponse

func (response RunPluginJob202JSONResponse) VisitRunPluginJobResponse(w http.ResponseWriter) error

type RunPluginJobJSONRequestBody

type RunPluginJobJSONRequestBody = RunJobRequest

RunPluginJobJSONRequestBody defines body for RunPluginJob for application/json ContentType.

type RunPluginJobRequestObject

type RunPluginJobRequestObject struct {
	PluginId PluginId `json:"plugin_id"`
	JobId    JobId    `json:"job_id"`
	Body     *RunPluginJobJSONRequestBody
}

type RunPluginJobResponseObject

type RunPluginJobResponseObject interface {
	VisitRunPluginJobResponse(w http.ResponseWriter) error
}

type RunPluginJobdefaultApplicationProblemPlusJSONResponse

type RunPluginJobdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (RunPluginJobdefaultApplicationProblemPlusJSONResponse) VisitRunPluginJobResponse

type SearchCatalog200JSONResponse

type SearchCatalog200JSONResponse CatalogSearchPage

func (SearchCatalog200JSONResponse) VisitSearchCatalogResponse

func (response SearchCatalog200JSONResponse) VisitSearchCatalogResponse(w http.ResponseWriter) error

type SearchCatalogParams

type SearchCatalogParams struct {
	Q string `form:"q" json:"q"`

	// Type Only these types, e.g. manga, manhwa, manhua, webtoon, comic, light_novel.
	Type *CatalogType `form:"type,omitempty" json:"type,omitempty"`

	// Status Only these statuses, e.g. releasing, completed, hiatus, cancelled, upcoming.
	Status *CatalogStatus `form:"status,omitempty" json:"status,omitempty"`

	// Genre Only entries with all of these genres.
	Genre    *CatalogGenre            `form:"genre,omitempty" json:"genre,omitempty"`
	YearFrom *YearFrom                `form:"year_from,omitempty" json:"year_from,omitempty"`
	YearTo   *YearTo                  `form:"year_to,omitempty" json:"year_to,omitempty"`
	Sort     *SearchCatalogParamsSort `form:"sort,omitempty" json:"sort,omitempty"`

	// Reverse Reverse the sort order.
	Reverse *Reverse `form:"reverse,omitempty" json:"reverse,omitempty"`

	// Lang Preferred language for titles and descriptions (BCP 47, e.g. "en", "ja-Latn"). Default from the Accept-Language header.
	Lang *Lang `form:"lang,omitempty" json:"lang,omitempty"`

	// PageSize Entries per page, 1 to 100. Default 30.
	PageSize *CatalogPageSize `form:"page_size,omitempty" json:"page_size,omitempty"`

	// PageToken The `next_page_token` of the previous page.
	PageToken *PageToken `form:"page_token,omitempty" json:"page_token,omitempty"`
}

SearchCatalogParams defines parameters for SearchCatalog.

type SearchCatalogParamsSort

type SearchCatalogParamsSort string

SearchCatalogParamsSort defines parameters for SearchCatalog.

const (
	SearchCatalogParamsSortPopularity SearchCatalogParamsSort = "popularity"
	SearchCatalogParamsSortRating     SearchCatalogParamsSort = "rating"
	SearchCatalogParamsSortRelevance  SearchCatalogParamsSort = "relevance"
	SearchCatalogParamsSortTitle      SearchCatalogParamsSort = "title"
	SearchCatalogParamsSortUpdated    SearchCatalogParamsSort = "updated"
	SearchCatalogParamsSortYear       SearchCatalogParamsSort = "year"
)

Defines values for SearchCatalogParamsSort.

func (SearchCatalogParamsSort) Valid

func (e SearchCatalogParamsSort) Valid() bool

Valid indicates whether the value is a known member of the SearchCatalogParamsSort enum.

type SearchCatalogRequestObject

type SearchCatalogRequestObject struct {
	Params SearchCatalogParams
}

type SearchCatalogResponseObject

type SearchCatalogResponseObject interface {
	VisitSearchCatalogResponse(w http.ResponseWriter) error
}

type SearchCatalogdefaultApplicationProblemPlusJSONResponse

type SearchCatalogdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (SearchCatalogdefaultApplicationProblemPlusJSONResponse) VisitSearchCatalogResponse

type SearchEngineSettings

type SearchEngineSettings struct {
	// ApiKey Never returned; empty keeps the stored one.
	ApiKey  *string                     `json:"api_key,omitempty"`
	Backend SearchEngineSettingsBackend `json:"backend"`

	// Browse Who serves browsing without search text.
	Browse      *SearchEngineSettingsBrowse `json:"browse,omitempty"`
	IndexPrefix *string                     `json:"index_prefix,omitempty"`

	// Url The engine's URL; meta talks to it, browsers never do.
	Url *string `json:"url,omitempty"`
}

SearchEngineSettings defines model for SearchEngineSettings.

type SearchEngineSettingsBackend

type SearchEngineSettingsBackend string

SearchEngineSettingsBackend defines model for SearchEngineSettings.Backend.

const (
	SearchEngineSettingsBackendMeilisearch SearchEngineSettingsBackend = "meilisearch"
	SearchEngineSettingsBackendPostgres    SearchEngineSettingsBackend = "postgres"
	SearchEngineSettingsBackendTypesense   SearchEngineSettingsBackend = "typesense"
)

Defines values for SearchEngineSettingsBackend.

func (SearchEngineSettingsBackend) Valid

Valid indicates whether the value is a known member of the SearchEngineSettingsBackend enum.

type SearchEngineSettingsBrowse

type SearchEngineSettingsBrowse string

SearchEngineSettingsBrowse Who serves browsing without search text.

const (
	SearchEngineSettingsBrowseEngine   SearchEngineSettingsBrowse = "engine"
	SearchEngineSettingsBrowseFacets   SearchEngineSettingsBrowse = "facets"
	SearchEngineSettingsBrowsePostgres SearchEngineSettingsBrowse = "postgres"
)

Defines values for SearchEngineSettingsBrowse.

func (SearchEngineSettingsBrowse) Valid

func (e SearchEngineSettingsBrowse) Valid() bool

Valid indicates whether the value is a known member of the SearchEngineSettingsBrowse enum.

type SearchEngineStatus

type SearchEngineStatus struct {
	Applied int64 `json:"applied"`

	// Backend The backend answering searches now.
	Backend string     `json:"backend"`
	BuiltAt *time.Time `json:"built_at,omitempty"`

	// Degraded Recent queries failed and the database answered them.
	Degraded       bool       `json:"degraded"`
	Documents      int64      `json:"documents"`
	Error          *string    `json:"error,omitempty"`
	ErrorAt        *time.Time `json:"error_at,omitempty"`
	Facets         bool       `json:"facets"`
	Index          *string    `json:"index,omitempty"`
	IndexerError   *string    `json:"indexer_error,omitempty"`
	IndexerErrorAt *time.Time `json:"indexer_error_at,omitempty"`

	// LagSeconds The age of the oldest pending change.
	LagSeconds *float32 `json:"lag_seconds,omitempty"`

	// Pending Entry changes waiting for the engine.
	Pending   int64 `json:"pending"`
	Reachable bool  `json:"reachable"`

	// Ready The index is built and searches use it.
	Ready         bool `json:"ready"`
	Substring     bool `json:"substring"`
	TypoTolerance bool `json:"typo_tolerance"`
}

SearchEngineStatus defines model for SearchEngineStatus.

type SearchEngineTest

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

SearchEngineTest defines model for SearchEngineTest.

type SearchWorkSource200JSONResponse

type SearchWorkSource200JSONResponse SourceSeriesPage

func (SearchWorkSource200JSONResponse) VisitSearchWorkSourceResponse

func (response SearchWorkSource200JSONResponse) VisitSearchWorkSourceResponse(w http.ResponseWriter) error

type SearchWorkSourceJSONRequestBody

type SearchWorkSourceJSONRequestBody = SourceSearchRequest

SearchWorkSourceJSONRequestBody defines body for SearchWorkSource for application/json ContentType.

type SearchWorkSourceRequestObject

type SearchWorkSourceRequestObject struct {
	WorkId   WorkId   `json:"work_id"`
	SourceId SourceId `json:"source_id"`
	Body     *SearchWorkSourceJSONRequestBody
}

type SearchWorkSourceResponseObject

type SearchWorkSourceResponseObject interface {
	VisitSearchWorkSourceResponse(w http.ResponseWriter) error
}

type SearchWorkSourcedefaultApplicationProblemPlusJSONResponse

type SearchWorkSourcedefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (SearchWorkSourcedefaultApplicationProblemPlusJSONResponse) VisitSearchWorkSourceResponse

func (response SearchWorkSourcedefaultApplicationProblemPlusJSONResponse) VisitSearchWorkSourceResponse(w http.ResponseWriter) error

type SeriesChapter

type SeriesChapter struct {
	// ChapterId The unified chapter it belongs to.
	ChapterId *openapi_types.UUID `json:"chapter_id,omitempty"`

	// DisplayTitle The chapter's own name without its number, volume or scanlator noise ("Vol. 1 Chapter 1: Double Dungeon" → "Double Dungeon"); empty when the name says nothing else, so show "Chapter N".
	DisplayTitle string   `json:"display_title"`
	Key          string   `json:"key"`
	Lang         *string  `json:"lang,omitempty"`
	Name         string   `json:"name"`
	Number       *float32 `json:"number,omitempty"`

	// Present False when the source no longer lists it.
	Present    bool       `json:"present"`
	Scanlator  *string    `json:"scanlator,omitempty"`
	UploadedAt *time.Time `json:"uploaded_at,omitempty"`
	Url        *string    `json:"url,omitempty"`
	Volume     *string    `json:"volume,omitempty"`
}

SeriesChapter defines model for SeriesChapter.

type SeriesChapterList

type SeriesChapterList struct {
	Chapters   []SeriesChapter `json:"chapters"`
	CheckError *string         `json:"check_error,omitempty"`
	CheckedAt  *time.Time      `json:"checked_at,omitempty"`
	Series     MatchSeries     `json:"series"`
}

SeriesChapterList defines model for SeriesChapterList.

type SeriesId

type SeriesId = openapi_types.UUID

SeriesId defines model for SeriesId.

type SeriesKey

type SeriesKey = string

SeriesKey defines model for SeriesKey.

type SeriesMatchRef

type SeriesMatchRef struct {
	// SeriesId The work's series (`/works/{work_id}/series/{series_id}`).
	SeriesId openapi_types.UUID  `json:"series_id"`
	State    SeriesMatchRefState `json:"state"`
}

SeriesMatchRef How a work already knows a series.

type SeriesMatchRefState

type SeriesMatchRefState string

SeriesMatchRefState defines model for SeriesMatchRef.State.

const (
	SeriesMatchRefStateAttached  SeriesMatchRefState = "attached"
	SeriesMatchRefStateCandidate SeriesMatchRefState = "candidate"
	SeriesMatchRefStateRejected  SeriesMatchRefState = "rejected"
)

Defines values for SeriesMatchRefState.

func (SeriesMatchRefState) Valid

func (e SeriesMatchRefState) Valid() bool

Valid indicates whether the value is a known member of the SeriesMatchRefState enum.

type SeriesRef

type SeriesRef struct {
	Key      string `json:"key"`
	SourceId string `json:"source_id"`
}

SeriesRef defines model for SeriesRef.

type ServerInterface

type ServerInterface interface {
	// AcceptInvite Create an account from an invite
	// (POST /auth/invites/accept)
	AcceptInvite(w http.ResponseWriter, r *http.Request)
	// CheckInvite Check an invite token before signing up
	// (POST /auth/invites/check)
	CheckInvite(w http.ResponseWriter, r *http.Request)
	// Login Sign in with a username and password
	// (POST /auth/login)
	Login(w http.ResponseWriter, r *http.Request)
	// Logout Sign out (session only)
	// (POST /auth/logout)
	Logout(w http.ResponseWriter, r *http.Request)
	// BrowseCatalog Browse the catalogue
	// (GET /catalog/browse)
	BrowseCatalog(w http.ResponseWriter, r *http.Request, params BrowseCatalogParams)
	// GetCatalogEntry One catalogue entry in full
	// (GET /catalog/entries/{entry_id})
	GetCatalogEntry(w http.ResponseWriter, r *http.Request, entryId EntryId, params GetCatalogEntryParams)
	// GetCatalogEntryCover An entry's cover image
	// (GET /catalog/entries/{entry_id}/cover)
	GetCatalogEntryCover(w http.ResponseWriter, r *http.Request, entryId EntryId)
	// SearchCatalog Search the catalogue by title
	// (GET /catalog/search)
	SearchCatalog(w http.ResponseWriter, r *http.Request, params SearchCatalogParams)
	// DeleteChapterFile Delete a chapter's downloaded file
	// (DELETE /chapters/{chapter_id}/file)
	DeleteChapterFile(w http.ResponseWriter, r *http.Request, chapterId ChapterId)
	// GetChapterPages A chapter's pages for the reader
	// (GET /chapters/{chapter_id}/pages)
	GetChapterPages(w http.ResponseWriter, r *http.Request, chapterId ChapterId, params GetChapterPagesParams)
	// GetChapterPage One page image
	// (GET /chapters/{chapter_id}/pages/{index})
	GetChapterPage(w http.ResponseWriter, r *http.Request, chapterId ChapterId, index int, params GetChapterPageParams)
	// SetChapterProgress Save where you are in a chapter
	// (PUT /chapters/{chapter_id}/progress)
	SetChapterProgress(w http.ResponseWriter, r *http.Request, chapterId ChapterId)
	// ListDownloads Download queue and history
	// (GET /downloads)
	ListDownloads(w http.ResponseWriter, r *http.Request, params ListDownloadsParams)
	// ListInvites List open invites
	// (GET /invites)
	ListInvites(w http.ResponseWriter, r *http.Request)
	// CreateInvite Create an invite
	// (POST /invites)
	CreateInvite(w http.ResponseWriter, r *http.Request)
	// DeleteInvite Revoke an invite
	// (DELETE /invites/{id})
	DeleteInvite(w http.ResponseWriter, r *http.Request, id Id)
	// GetJobRun One run in full
	// (GET /job-runs/{run_id})
	GetJobRun(w http.ResponseWriter, r *http.Request, runId RunId)
	// CancelJobRun Cancel a running run
	// (POST /job-runs/{run_id}/cancel)
	CancelJobRun(w http.ResponseWriter, r *http.Request, runId RunId)
	// ListJobs Background jobs
	// (GET /jobs)
	ListJobs(w http.ResponseWriter, r *http.Request)
	// GetJob One job
	// (GET /jobs/{job_id})
	GetJob(w http.ResponseWriter, r *http.Request, jobId JobId)
	// RunJob Run a job now
	// (POST /jobs/{job_id}/run)
	RunJob(w http.ResponseWriter, r *http.Request, jobId JobId)
	// ListJobRuns A job's runs, newest first
	// (GET /jobs/{job_id}/runs)
	ListJobRuns(w http.ResponseWriter, r *http.Request, jobId JobId, params ListJobRunsParams)
	// ListLibrary Your library
	// (GET /library)
	ListLibrary(w http.ResponseWriter, r *http.Request, params ListLibraryParams)
	// AddToLibrary Add a catalogue entry to your library
	// (POST /library)
	AddToLibrary(w http.ResponseWriter, r *http.Request)
	// AddFromSource Add a series seen on a source
	// (POST /library/from-source)
	AddFromSource(w http.ResponseWriter, r *http.Request)
	// RemoveFromLibrary Remove a work from your library
	// (DELETE /library/{work_id})
	RemoveFromLibrary(w http.ResponseWriter, r *http.Request, workId WorkId)
	// SetAutoDownload Download new chapters of a work automatically
	// (PUT /library/{work_id}/auto-download)
	SetAutoDownload(w http.ResponseWriter, r *http.Request, workId WorkId)
	// MarkWorkSeen Clear the work's "new" chapter badges for you
	// (POST /library/{work_id}/seen)
	MarkWorkSeen(w http.ResponseWriter, r *http.Request, workId WorkId)
	// GetMe The signed-in user
	// (GET /me)
	GetMe(w http.ResponseWriter, r *http.Request)
	// UpdateMe Change your own profile
	// (PATCH /me)
	UpdateMe(w http.ResponseWriter, r *http.Request)
	// ListMyApiKeys Your API keys (session only)
	// (GET /me/api-keys)
	ListMyApiKeys(w http.ResponseWriter, r *http.Request)
	// CreateMyApiKey Create an API key (session only)
	// (POST /me/api-keys)
	CreateMyApiKey(w http.ResponseWriter, r *http.Request)
	// DeleteMyApiKey Revoke an API key (session only)
	// (DELETE /me/api-keys/{id})
	DeleteMyApiKey(w http.ResponseWriter, r *http.Request, id Id)
	// ClearMyHistory Clear your history
	// (DELETE /me/history)
	ClearMyHistory(w http.ResponseWriter, r *http.Request)
	// GetMyHistory Chapters you read, newest first
	// (GET /me/history)
	GetMyHistory(w http.ResponseWriter, r *http.Request, params GetMyHistoryParams)
	// RemoveFromMyHistory Take a series out of your history
	// (DELETE /me/history/{work_id})
	RemoveFromMyHistory(w http.ResponseWriter, r *http.Request, workId WorkId)
	// ChangeMyPassword Change your own password (session only)
	// (POST /me/password)
	ChangeMyPassword(w http.ResponseWriter, r *http.Request)
	// GetMyPreferences Your app preferences
	// (GET /me/preferences)
	GetMyPreferences(w http.ResponseWriter, r *http.Request)
	// PutMyPreferences Replace your app preferences
	// (PUT /me/preferences)
	PutMyPreferences(w http.ResponseWriter, r *http.Request)
	// GetReaderSettings Your reader settings for a place
	// (GET /me/reader-settings)
	GetReaderSettings(w http.ResponseWriter, r *http.Request, params GetReaderSettingsParams)
	// DeleteReaderSettings Remove one level (fall back to the broader ones)
	// (DELETE /me/reader-settings/{scope})
	DeleteReaderSettings(w http.ResponseWriter, r *http.Request, scope string)
	// PutReaderSettings Replace one level of your reader settings
	// (PUT /me/reader-settings/{scope})
	PutReaderSettings(w http.ResponseWriter, r *http.Request, scope string)
	// ListMySessions Your signed-in sessions (session only)
	// (GET /me/sessions)
	ListMySessions(w http.ResponseWriter, r *http.Request)
	// DeleteMySession Sign out another session (session only)
	// (DELETE /me/sessions/{id})
	DeleteMySession(w http.ResponseWriter, r *http.Request, id Id)
	// GetMyUpdates Chapters that appeared in your library, newest first
	// (GET /me/updates)
	GetMyUpdates(w http.ResponseWriter, r *http.Request, params GetMyUpdatesParams)
	// RefreshMyUpdates Check your library for new chapters now
	// (POST /me/updates/refresh)
	RefreshMyUpdates(w http.ResponseWriter, r *http.Request)
	// GetMyUpdatesStatus How the chapter checks of your library stand
	// (GET /me/updates/status)
	GetMyUpdatesStatus(w http.ResponseWriter, r *http.Request)
	// UnassignNetworkProfile Remove the assignment at one level, which then inherits
	// (DELETE /network/assignments)
	UnassignNetworkProfile(w http.ResponseWriter, r *http.Request, params UnassignNetworkProfileParams)
	// ListNetworkAssignments Where profiles are assigned
	// (GET /network/assignments)
	ListNetworkAssignments(w http.ResponseWriter, r *http.Request)
	// AssignNetworkProfile Assign a profile at one level
	// (PUT /network/assignments)
	AssignNetworkProfile(w http.ResponseWriter, r *http.Request)
	// ListNetworkProfiles Network profiles
	// (GET /network/profiles)
	ListNetworkProfiles(w http.ResponseWriter, r *http.Request, params ListNetworkProfilesParams)
	// CreateNetworkProfile Add a network profile
	// (POST /network/profiles)
	CreateNetworkProfile(w http.ResponseWriter, r *http.Request)
	// DeleteNetworkProfile Remove a profile
	// (DELETE /network/profiles/{profile_id})
	DeleteNetworkProfile(w http.ResponseWriter, r *http.Request, profileId ProfileId)
	// GetNetworkProfile One network profile
	// (GET /network/profiles/{profile_id})
	GetNetworkProfile(w http.ResponseWriter, r *http.Request, profileId ProfileId)
	// ReplaceNetworkProfile Replace a profile's settings
	// (PUT /network/profiles/{profile_id})
	ReplaceNetworkProfile(w http.ResponseWriter, r *http.Request, profileId ProfileId)
	// ListProxies The proxys
	// (GET /network/proxies)
	ListProxies(w http.ResponseWriter, r *http.Request, params ListProxiesParams)
	// CreateProxy Add a proxy
	// (POST /network/proxies)
	CreateProxy(w http.ResponseWriter, r *http.Request)
	// TestProxySettings Check a proxy before saving it
	// (POST /network/proxies/test)
	TestProxySettings(w http.ResponseWriter, r *http.Request)
	// DeleteProxy Remove a proxy
	// (DELETE /network/proxies/{proxy_id})
	DeleteProxy(w http.ResponseWriter, r *http.Request, proxyId ProxyId)
	// GetProxy One proxy
	// (GET /network/proxies/{proxy_id})
	GetProxy(w http.ResponseWriter, r *http.Request, proxyId ProxyId)
	// UpdateProxy Change a proxy
	// (PATCH /network/proxies/{proxy_id})
	UpdateProxy(w http.ResponseWriter, r *http.Request, proxyId ProxyId)
	// TestProxy Check a saved proxy
	// (POST /network/proxies/{proxy_id}/test)
	TestProxy(w http.ResponseWriter, r *http.Request, proxyId ProxyId)
	// ListSolvers The solvers
	// (GET /network/solvers)
	ListSolvers(w http.ResponseWriter, r *http.Request, params ListSolversParams)
	// CreateSolver Add a solver
	// (POST /network/solvers)
	CreateSolver(w http.ResponseWriter, r *http.Request)
	// TestSolverSettings Check a solver before saving it
	// (POST /network/solvers/test)
	TestSolverSettings(w http.ResponseWriter, r *http.Request)
	// DeleteSolver Remove a solver
	// (DELETE /network/solvers/{solver_id})
	DeleteSolver(w http.ResponseWriter, r *http.Request, solverId SolverId)
	// GetSolver One solver
	// (GET /network/solvers/{solver_id})
	GetSolver(w http.ResponseWriter, r *http.Request, solverId SolverId)
	// UpdateSolver Change a solver
	// (PATCH /network/solvers/{solver_id})
	UpdateSolver(w http.ResponseWriter, r *http.Request, solverId SolverId)
	// TestSolver Check a saved solver
	// (POST /network/solvers/{solver_id}/test)
	TestSolver(w http.ResponseWriter, r *http.Request, solverId SolverId)
	// ListPlugins List source plugins
	// (GET /plugins)
	ListPlugins(w http.ResponseWriter, r *http.Request)
	// RegisterPlugin Add a source plugin running as a service
	// (POST /plugins)
	RegisterPlugin(w http.ResponseWriter, r *http.Request)
	// DeletePlugin Remove a plugin and its sources
	// (DELETE /plugins/{plugin_id})
	DeletePlugin(w http.ResponseWriter, r *http.Request, pluginId PluginId)
	// GetPlugin Get a plugin
	// (GET /plugins/{plugin_id})
	GetPlugin(w http.ResponseWriter, r *http.Request, pluginId PluginId)
	// UpdatePlugin Change a plugin's address or key, or turn it off
	// (PATCH /plugins/{plugin_id})
	UpdatePlugin(w http.ResponseWriter, r *http.Request, pluginId PluginId)
	// GetPluginConfig A plugin's configuration and its schema
	// (GET /plugins/{plugin_id}/config)
	GetPluginConfig(w http.ResponseWriter, r *http.Request, pluginId PluginId)
	// SetPluginConfig Replace a plugin's configuration
	// (PUT /plugins/{plugin_id}/config)
	SetPluginConfig(w http.ResponseWriter, r *http.Request, pluginId PluginId)
	// GetPluginJobRun One run of a plugin's job, in full
	// (GET /plugins/{plugin_id}/job-runs/{run_id})
	GetPluginJobRun(w http.ResponseWriter, r *http.Request, pluginId PluginId, runId string)
	// CancelPluginJobRun Cancel a running run of a plugin's job
	// (POST /plugins/{plugin_id}/job-runs/{run_id}/cancel)
	CancelPluginJobRun(w http.ResponseWriter, r *http.Request, pluginId PluginId, runId string)
	// ListPluginJobs A plugin's background jobs
	// (GET /plugins/{plugin_id}/jobs)
	ListPluginJobs(w http.ResponseWriter, r *http.Request, pluginId PluginId)
	// GetPluginJob One of a plugin's jobs
	// (GET /plugins/{plugin_id}/jobs/{job_id})
	GetPluginJob(w http.ResponseWriter, r *http.Request, pluginId PluginId, jobId JobId)
	// RunPluginJob Run one of a plugin's jobs now
	// (POST /plugins/{plugin_id}/jobs/{job_id}/run)
	RunPluginJob(w http.ResponseWriter, r *http.Request, pluginId PluginId, jobId JobId)
	// ListPluginJobRuns A plugin job's runs, newest first
	// (GET /plugins/{plugin_id}/jobs/{job_id}/runs)
	ListPluginJobRuns(w http.ResponseWriter, r *http.Request, pluginId PluginId, jobId JobId, params ListPluginJobRunsParams)
	// GetPluginNetwork The network profile in force for each of a plugin's sources
	// (GET /plugins/{plugin_id}/network)
	GetPluginNetwork(w http.ResponseWriter, r *http.Request, pluginId PluginId)
	// ListPackageOrigins Where a plugin's packages come from (e.g. its stores)
	// (GET /plugins/{plugin_id}/origins)
	ListPackageOrigins(w http.ResponseWriter, r *http.Request, pluginId PluginId)
	// RefreshPackageOrigin Fetch an origin's package list again now
	// (POST /plugins/{plugin_id}/origins/{origin_id}/refresh)
	RefreshPackageOrigin(w http.ResponseWriter, r *http.Request, pluginId PluginId, originId string)
	// ListPackages The packages a plugin offers and has installed
	// (GET /plugins/{plugin_id}/packages)
	ListPackages(w http.ResponseWriter, r *http.Request, pluginId PluginId, params ListPackagesParams)
	// UninstallPackage Uninstall a package
	// (DELETE /plugins/{plugin_id}/packages/{package_id})
	UninstallPackage(w http.ResponseWriter, r *http.Request, pluginId PluginId, packageId PackageId)
	// GetPackage One of a plugin's packages
	// (GET /plugins/{plugin_id}/packages/{package_id})
	GetPackage(w http.ResponseWriter, r *http.Request, pluginId PluginId, packageId PackageId)
	// GetPackageIcon A package's icon
	// (GET /plugins/{plugin_id}/packages/{package_id}/icon)
	GetPackageIcon(w http.ResponseWriter, r *http.Request, pluginId PluginId, packageId PackageId, params GetPackageIconParams)
	// ClearPackageImageRetries Remove a package's image retry setting
	// (DELETE /plugins/{plugin_id}/packages/{package_id}/image-retries)
	ClearPackageImageRetries(w http.ResponseWriter, r *http.Request, pluginId PluginId, packageId PackageId)
	// GetPackageImageRetries How a package's sources retry failed page images
	// (GET /plugins/{plugin_id}/packages/{package_id}/image-retries)
	GetPackageImageRetries(w http.ResponseWriter, r *http.Request, pluginId PluginId, packageId PackageId)
	// SetPackageImageRetries Set how a package's sources retry failed page images
	// (PUT /plugins/{plugin_id}/packages/{package_id}/image-retries)
	SetPackageImageRetries(w http.ResponseWriter, r *http.Request, pluginId PluginId, packageId PackageId)
	// InstallPackage Install a package
	// (POST /plugins/{plugin_id}/packages/{package_id}/install)
	InstallPackage(w http.ResponseWriter, r *http.Request, pluginId PluginId, packageId PackageId)
	// SetPackageLanguages Choose the languages a package offers sources in
	// (PUT /plugins/{plugin_id}/packages/{package_id}/languages)
	SetPackageLanguages(w http.ResponseWriter, r *http.Request, pluginId PluginId, packageId PackageId)
	// ReloadPackage Load an installed package again
	// (POST /plugins/{plugin_id}/packages/{package_id}/reload)
	ReloadPackage(w http.ResponseWriter, r *http.Request, pluginId PluginId, packageId PackageId)
	// UpdatePackage Update an installed package to its newest offered version
	// (POST /plugins/{plugin_id}/packages/{package_id}/update)
	UpdatePackage(w http.ResponseWriter, r *http.Request, pluginId PluginId, packageId PackageId)
	// SyncPlugin Refresh a plugin's info, health and sources now
	// (POST /plugins/{plugin_id}/sync)
	SyncPlugin(w http.ResponseWriter, r *http.Request, pluginId PluginId)
	// GetQueue The task queue per kind
	// (GET /queue)
	GetQueue(w http.ResponseWriter, r *http.Request)
	// UpdateQueueKind Pause or resume a kind of task
	// (PATCH /queue/kinds/{kind})
	UpdateQueueKind(w http.ResponseWriter, r *http.Request, kind string)
	// GetSetup First-run wizard state
	// (GET /setup)
	GetSetup(w http.ResponseWriter, r *http.Request)
	// CreateSetupAdmin Create the first account (the admin)
	// (POST /setup/admin)
	CreateSetupAdmin(w http.ResponseWriter, r *http.Request)
	// CompleteSetup Finish the first-run wizard
	// (POST /setup/complete)
	CompleteSetup(w http.ResponseWriter, r *http.Request)
	// ListSources The sources of every plugin
	// (GET /sources)
	ListSources(w http.ResponseWriter, r *http.Request, params ListSourcesParams)
	// UpdateSource Turn a source on or off for everyone
	// (PATCH /sources/{source_id})
	UpdateSource(w http.ResponseWriter, r *http.Request, sourceId SourceId)
	// SourceChapters A series' chapters exactly as the source lists them
	// (GET /sources/{source_id}/chapters)
	SourceChapters(w http.ResponseWriter, r *http.Request, sourceId SourceId, params SourceChaptersParams)
	// SourceFilters A source's search filters
	// (GET /sources/{source_id}/filters)
	SourceFilters(w http.ResponseWriter, r *http.Request, sourceId SourceId)
	// SetSourceHealthCheck Turn a source's scheduled health checks on or off
	// (PUT /sources/{source_id}/health-check)
	SetSourceHealthCheck(w http.ResponseWriter, r *http.Request, sourceId SourceId)
	// SourceImage An image from a source (covers, icons)
	// (GET /sources/{source_id}/image)
	SourceImage(w http.ResponseWriter, r *http.Request, sourceId SourceId, params SourceImageParams)
	// ClearSourceImageRetries Remove a source's own image retry setting
	// (DELETE /sources/{source_id}/image-retries)
	ClearSourceImageRetries(w http.ResponseWriter, r *http.Request, sourceId SourceId)
	// GetSourceImageRetries How a source retries failed page images
	// (GET /sources/{source_id}/image-retries)
	GetSourceImageRetries(w http.ResponseWriter, r *http.Request, sourceId SourceId)
	// SetSourceImageRetries Set how a source retries failed page images
	// (PUT /sources/{source_id}/image-retries)
	SetSourceImageRetries(w http.ResponseWriter, r *http.Request, sourceId SourceId)
	// SourceLatest A source's latest updates
	// (GET /sources/{source_id}/latest)
	SourceLatest(w http.ResponseWriter, r *http.Request, sourceId SourceId, params SourceLatestParams)
	// GetSourceNetwork A source's network profile, and what its plugin applies
	// (GET /sources/{source_id}/network)
	GetSourceNetwork(w http.ResponseWriter, r *http.Request, sourceId SourceId)
	// SourcePopular A source's popular series
	// (GET /sources/{source_id}/popular)
	SourcePopular(w http.ResponseWriter, r *http.Request, sourceId SourceId, params SourcePopularParams)
	// SourceSearch Search a source
	// (POST /sources/{source_id}/search)
	SourceSearch(w http.ResponseWriter, r *http.Request, sourceId SourceId)
	// SourceSeries A series on a source, in full
	// (GET /sources/{source_id}/series)
	SourceSeries(w http.ResponseWriter, r *http.Request, sourceId SourceId, params SourceSeriesParams)
	// GetSourceSettings A source's own settings and their schema
	// (GET /sources/{source_id}/settings)
	GetSourceSettings(w http.ResponseWriter, r *http.Request, sourceId SourceId)
	// SetSourceSettings Change some of a source's settings
	// (PATCH /sources/{source_id}/settings)
	SetSourceSettings(w http.ResponseWriter, r *http.Request, sourceId SourceId)
	// ListStorages Storage endpoints for downloads
	// (GET /storages)
	ListStorages(w http.ResponseWriter, r *http.Request)
	// CreateStorage Add a storage
	// (POST /storages)
	CreateStorage(w http.ResponseWriter, r *http.Request)
	// DeleteStorage Remove an empty storage
	// (DELETE /storages/{storage_id})
	DeleteStorage(w http.ResponseWriter, r *http.Request, storageId StorageId)
	// UpdateStorage Change a storage, or make it the default
	// (PATCH /storages/{storage_id})
	UpdateStorage(w http.ResponseWriter, r *http.Request, storageId StorageId)
	// MoveStorage Move every file to another storage
	// (POST /storages/{storage_id}/move)
	MoveStorage(w http.ResponseWriter, r *http.Request, storageId StorageId)
	// TestStorage Check a storage now
	// (POST /storages/{storage_id}/test)
	TestStorage(w http.ResponseWriter, r *http.Request, storageId StorageId)
	// GetSystemHealth Detailed health (admins)
	// (GET /system/health)
	GetSystemHealth(w http.ResponseWriter, r *http.Request)
	// GetSystemInfo Server name, version and setup state
	// (GET /system/info)
	GetSystemInfo(w http.ResponseWriter, r *http.Request)
	// GetMetaConnection The metadata service connection and its state
	// (GET /system/meta)
	GetMetaConnection(w http.ResponseWriter, r *http.Request)
	// SetMetaConnection Connect the metadata service
	// (PUT /system/meta)
	SetMetaConnection(w http.ResponseWriter, r *http.Request)
	// CheckMetaConnection Check the metadata service again now
	// (POST /system/meta/check)
	CheckMetaConnection(w http.ResponseWriter, r *http.Request)
	// GetMetaDuplicateJudge The decision model that rates duplicate pairs
	// (GET /system/meta/duplicate-judge)
	GetMetaDuplicateJudge(w http.ResponseWriter, r *http.Request)
	// PutMetaDuplicateJudge Save the decision model settings
	// (PUT /system/meta/duplicate-judge)
	PutMetaDuplicateJudge(w http.ResponseWriter, r *http.Request)
	// ResetMetaDuplicateJudge Forget the saved settings; meta's configuration applies again
	// (POST /system/meta/duplicate-judge/reset)
	ResetMetaDuplicateJudge(w http.ResponseWriter, r *http.Request)
	// TestMetaDuplicateJudge Ask the model about a made-up pair, without saving
	// (POST /system/meta/duplicate-judge/test)
	TestMetaDuplicateJudge(w http.ResponseWriter, r *http.Request)
	// ListMetaDuplicates Pairs of catalogue entries the metadata service suspects are one work
	// (GET /system/meta/duplicates)
	ListMetaDuplicates(w http.ResponseWriter, r *http.Request, params ListMetaDuplicatesParams)
	// GetMetaDuplicate One pair, both entries side by side
	// (GET /system/meta/duplicates/{pair_id})
	GetMetaDuplicate(w http.ResponseWriter, r *http.Request, pairId int64)
	// ConfirmMetaDuplicate Merge a pair into one entry
	// (POST /system/meta/duplicates/{pair_id}/confirm)
	ConfirmMetaDuplicate(w http.ResponseWriter, r *http.Request, pairId int64)
	// DismissMetaDuplicate Mark a pair as different works
	// (POST /system/meta/duplicates/{pair_id}/dismiss)
	DismissMetaDuplicate(w http.ResponseWriter, r *http.Request, pairId int64)
	// ReopenMetaDuplicate Take back a dismissal
	// (POST /system/meta/duplicates/{pair_id}/reopen)
	ReopenMetaDuplicate(w http.ResponseWriter, r *http.Request, pairId int64)
	// RefreshMetaEntry Fetch fresh data for one catalogue entry from its providers now
	// (POST /system/meta/entries/{entry_id}/refresh)
	RefreshMetaEntry(w http.ResponseWriter, r *http.Request, entryId EntryId)
	// GetMetaHealth The metadata service's health, per component
	// (GET /system/meta/health)
	GetMetaHealth(w http.ResponseWriter, r *http.Request)
	// GetMetaJobRun One run of a metadata service job, in full
	// (GET /system/meta/job-runs/{run_id})
	GetMetaJobRun(w http.ResponseWriter, r *http.Request, runId RunId)
	// CancelMetaJobRun Cancel a running run of a metadata service job
	// (POST /system/meta/job-runs/{run_id}/cancel)
	CancelMetaJobRun(w http.ResponseWriter, r *http.Request, runId RunId)
	// ListMetaJobs The metadata service's background jobs
	// (GET /system/meta/jobs)
	ListMetaJobs(w http.ResponseWriter, r *http.Request)
	// GetMetaJob One of the metadata service's jobs
	// (GET /system/meta/jobs/{job_id})
	GetMetaJob(w http.ResponseWriter, r *http.Request, jobId JobId)
	// RunMetaJob Run one of the metadata service's jobs now
	// (POST /system/meta/jobs/{job_id}/run)
	RunMetaJob(w http.ResponseWriter, r *http.Request, jobId JobId)
	// ListMetaJobRuns A metadata service job's runs, newest first
	// (GET /system/meta/jobs/{job_id}/runs)
	ListMetaJobRuns(w http.ResponseWriter, r *http.Request, jobId JobId, params ListMetaJobRunsParams)
	// GetMetaNetwork The network profile in force for each metadata provider
	// (GET /system/meta/network)
	GetMetaNetwork(w http.ResponseWriter, r *http.Request)
	// ListMetaProviders The metadata service's providers
	// (GET /system/meta/providers)
	ListMetaProviders(w http.ResponseWriter, r *http.Request)
	// RunMetaProviderSync Start a sync of a metadata provider
	// (POST /system/meta/providers/{provider}/sync)
	RunMetaProviderSync(w http.ResponseWriter, r *http.Request, provider string)
	// GetMetaSearchEngine The metadata service's search engine and the state of its index
	// (GET /system/meta/search-engine)
	GetMetaSearchEngine(w http.ResponseWriter, r *http.Request)
	// PutMetaSearchEngine Save the search engine settings
	// (PUT /system/meta/search-engine)
	PutMetaSearchEngine(w http.ResponseWriter, r *http.Request)
	// ResetMetaSearchEngine Forget the saved settings; meta's configuration applies again
	// (POST /system/meta/search-engine/reset)
	ResetMetaSearchEngine(w http.ResponseWriter, r *http.Request)
	// TestMetaSearchEngine Check search engine settings without saving them
	// (POST /system/meta/search-engine/test)
	TestMetaSearchEngine(w http.ResponseWriter, r *http.Request)
	// ListMetaSyncRuns Provider sync runs, newest first
	// (GET /system/meta/sync-runs)
	ListMetaSyncRuns(w http.ResponseWriter, r *http.Request, params ListMetaSyncRunsParams)
	// GetMetaSyncRun One sync run in full
	// (GET /system/meta/sync-runs/{sync_run_id})
	GetMetaSyncRun(w http.ResponseWriter, r *http.Request, syncRunId string)
	// ListTasks Queued, running and recent tasks
	// (GET /tasks)
	ListTasks(w http.ResponseWriter, r *http.Request, params ListTasksParams)
	// GetTask One task
	// (GET /tasks/{task_id})
	GetTask(w http.ResponseWriter, r *http.Request, taskId TaskId)
	// CancelTask Cancel a queued or running task
	// (POST /tasks/{task_id}/cancel)
	CancelTask(w http.ResponseWriter, r *http.Request, taskId TaskId)
	// RetryTask Run a failed or cancelled task again
	// (POST /tasks/{task_id}/retry)
	RetryTask(w http.ResponseWriter, r *http.Request, taskId TaskId)
	// ListUsers List users
	// (GET /users)
	ListUsers(w http.ResponseWriter, r *http.Request, params ListUsersParams)
	// CreateUser Create a user with a password
	// (POST /users)
	CreateUser(w http.ResponseWriter, r *http.Request)
	// DeleteUser Delete a user
	// (DELETE /users/{id})
	DeleteUser(w http.ResponseWriter, r *http.Request, id Id)
	// GetUser Get a user
	// (GET /users/{id})
	GetUser(w http.ResponseWriter, r *http.Request, id Id)
	// UpdateUser Change a user
	// (PATCH /users/{id})
	UpdateUser(w http.ResponseWriter, r *http.Request, id Id)
	// GetWork A work, with how it is matched on each source
	// (GET /works/{work_id})
	GetWork(w http.ResponseWriter, r *http.Request, workId WorkId)
	// ListBookmarks Your bookmarked chapters of a work
	// (GET /works/{work_id}/bookmarks)
	ListBookmarks(w http.ResponseWriter, r *http.Request, workId WorkId)
	// SetBookmarks Bookmark chapters, or remove their bookmarks
	// (POST /works/{work_id}/bookmarks)
	SetBookmarks(w http.ResponseWriter, r *http.Request, workId WorkId)
	// ListWorkChapters A work's unified chapters
	// (GET /works/{work_id}/chapters)
	ListWorkChapters(w http.ResponseWriter, r *http.Request, workId WorkId, params ListWorkChaptersParams)
	// GetWorkChapter One chapter with every copy
	// (GET /works/{work_id}/chapters/{chapter_id})
	GetWorkChapter(w http.ResponseWriter, r *http.Request, workId WorkId, chapterId ChapterId)
	// PinChapterVariant Choose a chapter's copy by hand
	// (PUT /works/{work_id}/chapters/{chapter_id}/pin)
	PinChapterVariant(w http.ResponseWriter, r *http.Request, workId WorkId, chapterId ChapterId)
	// GetWorkCover A work's cover
	// (GET /works/{work_id}/cover)
	GetWorkCover(w http.ResponseWriter, r *http.Request, workId WorkId)
	// DownloadChapters Download chapters of a work
	// (POST /works/{work_id}/downloads)
	DownloadChapters(w http.ResponseWriter, r *http.Request, workId WorkId)
	// MatchWork Match the work on the sources again
	// (POST /works/{work_id}/match)
	MatchWork(w http.ResponseWriter, r *http.Request, workId WorkId)
	// GetWorkProgress Your progress in a work, and where to continue
	// (GET /works/{work_id}/progress)
	GetWorkProgress(w http.ResponseWriter, r *http.Request, workId WorkId)
	// MarkChaptersRead Mark chapters read or unread
	// (POST /works/{work_id}/progress)
	MarkChaptersRead(w http.ResponseWriter, r *http.Request, workId WorkId)
	// RefreshWork Check the work's sources for new chapters now
	// (POST /works/{work_id}/refresh)
	RefreshWork(w http.ResponseWriter, r *http.Request, workId WorkId)
	// AttachSeries Attach a series to the work by source and key, or by its URL
	// (POST /works/{work_id}/series)
	AttachSeries(w http.ResponseWriter, r *http.Request, workId WorkId)
	// UpdateWorkSeries Set a series' priority for the work
	// (PATCH /works/{work_id}/series/{series_id})
	UpdateWorkSeries(w http.ResponseWriter, r *http.Request, workId WorkId, seriesId SeriesId)
	// AttachCandidate Attach a candidate (or a rejected series)
	// (POST /works/{work_id}/series/{series_id}/attach)
	AttachCandidate(w http.ResponseWriter, r *http.Request, workId WorkId, seriesId SeriesId)
	// ListSeriesChapters One source's chapters of the work, as the source lists them
	// (GET /works/{work_id}/series/{series_id}/chapters)
	ListSeriesChapters(w http.ResponseWriter, r *http.Request, workId WorkId, seriesId SeriesId)
	// DetachSeries Reject a series for the work
	// (POST /works/{work_id}/series/{series_id}/detach)
	DetachSeries(w http.ResponseWriter, r *http.Request, workId WorkId, seriesId SeriesId)
	// SearchWorkSource Search one of the work's sources by hand, to fix its match
	// (POST /works/{work_id}/sources/{source_id}/search)
	SearchWorkSource(w http.ResponseWriter, r *http.Request, workId WorkId, sourceId SourceId)
}

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

func (siw *ServerInterfaceWrapper) AcceptInvite(w http.ResponseWriter, r *http.Request)

AcceptInvite operation middleware

func (*ServerInterfaceWrapper) AddFromSource

func (siw *ServerInterfaceWrapper) AddFromSource(w http.ResponseWriter, r *http.Request)

AddFromSource operation middleware

func (*ServerInterfaceWrapper) AddToLibrary

func (siw *ServerInterfaceWrapper) AddToLibrary(w http.ResponseWriter, r *http.Request)

AddToLibrary operation middleware

func (*ServerInterfaceWrapper) AssignNetworkProfile

func (siw *ServerInterfaceWrapper) AssignNetworkProfile(w http.ResponseWriter, r *http.Request)

AssignNetworkProfile operation middleware

func (*ServerInterfaceWrapper) AttachCandidate

func (siw *ServerInterfaceWrapper) AttachCandidate(w http.ResponseWriter, r *http.Request)

AttachCandidate operation middleware

func (*ServerInterfaceWrapper) AttachSeries

func (siw *ServerInterfaceWrapper) AttachSeries(w http.ResponseWriter, r *http.Request)

AttachSeries operation middleware

func (*ServerInterfaceWrapper) BrowseCatalog

func (siw *ServerInterfaceWrapper) BrowseCatalog(w http.ResponseWriter, r *http.Request)

BrowseCatalog operation middleware

func (*ServerInterfaceWrapper) CancelJobRun

func (siw *ServerInterfaceWrapper) CancelJobRun(w http.ResponseWriter, r *http.Request)

CancelJobRun operation middleware

func (*ServerInterfaceWrapper) CancelMetaJobRun

func (siw *ServerInterfaceWrapper) CancelMetaJobRun(w http.ResponseWriter, r *http.Request)

CancelMetaJobRun operation middleware

func (*ServerInterfaceWrapper) CancelPluginJobRun

func (siw *ServerInterfaceWrapper) CancelPluginJobRun(w http.ResponseWriter, r *http.Request)

CancelPluginJobRun operation middleware

func (*ServerInterfaceWrapper) CancelTask

func (siw *ServerInterfaceWrapper) CancelTask(w http.ResponseWriter, r *http.Request)

CancelTask operation middleware

func (*ServerInterfaceWrapper) ChangeMyPassword

func (siw *ServerInterfaceWrapper) ChangeMyPassword(w http.ResponseWriter, r *http.Request)

ChangeMyPassword operation middleware

func (*ServerInterfaceWrapper) CheckInvite

func (siw *ServerInterfaceWrapper) CheckInvite(w http.ResponseWriter, r *http.Request)

CheckInvite operation middleware

func (*ServerInterfaceWrapper) CheckMetaConnection

func (siw *ServerInterfaceWrapper) CheckMetaConnection(w http.ResponseWriter, r *http.Request)

CheckMetaConnection operation middleware

func (*ServerInterfaceWrapper) ClearMyHistory

func (siw *ServerInterfaceWrapper) ClearMyHistory(w http.ResponseWriter, r *http.Request)

ClearMyHistory operation middleware

func (*ServerInterfaceWrapper) ClearPackageImageRetries

func (siw *ServerInterfaceWrapper) ClearPackageImageRetries(w http.ResponseWriter, r *http.Request)

ClearPackageImageRetries operation middleware

func (*ServerInterfaceWrapper) ClearSourceImageRetries

func (siw *ServerInterfaceWrapper) ClearSourceImageRetries(w http.ResponseWriter, r *http.Request)

ClearSourceImageRetries operation middleware

func (*ServerInterfaceWrapper) CompleteSetup

func (siw *ServerInterfaceWrapper) CompleteSetup(w http.ResponseWriter, r *http.Request)

CompleteSetup operation middleware

func (*ServerInterfaceWrapper) ConfirmMetaDuplicate

func (siw *ServerInterfaceWrapper) ConfirmMetaDuplicate(w http.ResponseWriter, r *http.Request)

ConfirmMetaDuplicate operation middleware

func (*ServerInterfaceWrapper) CreateInvite

func (siw *ServerInterfaceWrapper) CreateInvite(w http.ResponseWriter, r *http.Request)

CreateInvite operation middleware

func (*ServerInterfaceWrapper) CreateMyApiKey

func (siw *ServerInterfaceWrapper) CreateMyApiKey(w http.ResponseWriter, r *http.Request)

CreateMyApiKey operation middleware

func (*ServerInterfaceWrapper) CreateNetworkProfile

func (siw *ServerInterfaceWrapper) CreateNetworkProfile(w http.ResponseWriter, r *http.Request)

CreateNetworkProfile operation middleware

func (*ServerInterfaceWrapper) CreateProxy

func (siw *ServerInterfaceWrapper) CreateProxy(w http.ResponseWriter, r *http.Request)

CreateProxy operation middleware

func (*ServerInterfaceWrapper) CreateSetupAdmin

func (siw *ServerInterfaceWrapper) CreateSetupAdmin(w http.ResponseWriter, r *http.Request)

CreateSetupAdmin operation middleware

func (*ServerInterfaceWrapper) CreateSolver

func (siw *ServerInterfaceWrapper) CreateSolver(w http.ResponseWriter, r *http.Request)

CreateSolver operation middleware

func (*ServerInterfaceWrapper) CreateStorage

func (siw *ServerInterfaceWrapper) CreateStorage(w http.ResponseWriter, r *http.Request)

CreateStorage operation middleware

func (*ServerInterfaceWrapper) CreateUser

func (siw *ServerInterfaceWrapper) CreateUser(w http.ResponseWriter, r *http.Request)

CreateUser operation middleware

func (*ServerInterfaceWrapper) DeleteChapterFile

func (siw *ServerInterfaceWrapper) DeleteChapterFile(w http.ResponseWriter, r *http.Request)

DeleteChapterFile operation middleware

func (*ServerInterfaceWrapper) DeleteInvite

func (siw *ServerInterfaceWrapper) DeleteInvite(w http.ResponseWriter, r *http.Request)

DeleteInvite operation middleware

func (*ServerInterfaceWrapper) DeleteMyApiKey

func (siw *ServerInterfaceWrapper) DeleteMyApiKey(w http.ResponseWriter, r *http.Request)

DeleteMyApiKey operation middleware

func (*ServerInterfaceWrapper) DeleteMySession

func (siw *ServerInterfaceWrapper) DeleteMySession(w http.ResponseWriter, r *http.Request)

DeleteMySession operation middleware

func (*ServerInterfaceWrapper) DeleteNetworkProfile

func (siw *ServerInterfaceWrapper) DeleteNetworkProfile(w http.ResponseWriter, r *http.Request)

DeleteNetworkProfile operation middleware

func (*ServerInterfaceWrapper) DeletePlugin

func (siw *ServerInterfaceWrapper) DeletePlugin(w http.ResponseWriter, r *http.Request)

DeletePlugin operation middleware

func (*ServerInterfaceWrapper) DeleteProxy

func (siw *ServerInterfaceWrapper) DeleteProxy(w http.ResponseWriter, r *http.Request)

DeleteProxy operation middleware

func (*ServerInterfaceWrapper) DeleteReaderSettings

func (siw *ServerInterfaceWrapper) DeleteReaderSettings(w http.ResponseWriter, r *http.Request)

DeleteReaderSettings operation middleware

func (*ServerInterfaceWrapper) DeleteSolver

func (siw *ServerInterfaceWrapper) DeleteSolver(w http.ResponseWriter, r *http.Request)

DeleteSolver operation middleware

func (*ServerInterfaceWrapper) DeleteStorage

func (siw *ServerInterfaceWrapper) DeleteStorage(w http.ResponseWriter, r *http.Request)

DeleteStorage operation middleware

func (*ServerInterfaceWrapper) DeleteUser

func (siw *ServerInterfaceWrapper) DeleteUser(w http.ResponseWriter, r *http.Request)

DeleteUser operation middleware

func (*ServerInterfaceWrapper) DetachSeries

func (siw *ServerInterfaceWrapper) DetachSeries(w http.ResponseWriter, r *http.Request)

DetachSeries operation middleware

func (*ServerInterfaceWrapper) DismissMetaDuplicate

func (siw *ServerInterfaceWrapper) DismissMetaDuplicate(w http.ResponseWriter, r *http.Request)

DismissMetaDuplicate operation middleware

func (*ServerInterfaceWrapper) DownloadChapters

func (siw *ServerInterfaceWrapper) DownloadChapters(w http.ResponseWriter, r *http.Request)

DownloadChapters operation middleware

func (*ServerInterfaceWrapper) GetCatalogEntry

func (siw *ServerInterfaceWrapper) GetCatalogEntry(w http.ResponseWriter, r *http.Request)

GetCatalogEntry operation middleware

func (*ServerInterfaceWrapper) GetCatalogEntryCover

func (siw *ServerInterfaceWrapper) GetCatalogEntryCover(w http.ResponseWriter, r *http.Request)

GetCatalogEntryCover operation middleware

func (*ServerInterfaceWrapper) GetChapterPage

func (siw *ServerInterfaceWrapper) GetChapterPage(w http.ResponseWriter, r *http.Request)

GetChapterPage operation middleware

func (*ServerInterfaceWrapper) GetChapterPages

func (siw *ServerInterfaceWrapper) GetChapterPages(w http.ResponseWriter, r *http.Request)

GetChapterPages operation middleware

func (*ServerInterfaceWrapper) GetJob

GetJob operation middleware

func (*ServerInterfaceWrapper) GetJobRun

func (siw *ServerInterfaceWrapper) GetJobRun(w http.ResponseWriter, r *http.Request)

GetJobRun operation middleware

func (*ServerInterfaceWrapper) GetMe

GetMe operation middleware

func (*ServerInterfaceWrapper) GetMetaConnection

func (siw *ServerInterfaceWrapper) GetMetaConnection(w http.ResponseWriter, r *http.Request)

GetMetaConnection operation middleware

func (*ServerInterfaceWrapper) GetMetaDuplicate

func (siw *ServerInterfaceWrapper) GetMetaDuplicate(w http.ResponseWriter, r *http.Request)

GetMetaDuplicate operation middleware

func (*ServerInterfaceWrapper) GetMetaDuplicateJudge

func (siw *ServerInterfaceWrapper) GetMetaDuplicateJudge(w http.ResponseWriter, r *http.Request)

GetMetaDuplicateJudge operation middleware

func (*ServerInterfaceWrapper) GetMetaHealth

func (siw *ServerInterfaceWrapper) GetMetaHealth(w http.ResponseWriter, r *http.Request)

GetMetaHealth operation middleware

func (*ServerInterfaceWrapper) GetMetaJob

func (siw *ServerInterfaceWrapper) GetMetaJob(w http.ResponseWriter, r *http.Request)

GetMetaJob operation middleware

func (*ServerInterfaceWrapper) GetMetaJobRun

func (siw *ServerInterfaceWrapper) GetMetaJobRun(w http.ResponseWriter, r *http.Request)

GetMetaJobRun operation middleware

func (*ServerInterfaceWrapper) GetMetaNetwork

func (siw *ServerInterfaceWrapper) GetMetaNetwork(w http.ResponseWriter, r *http.Request)

GetMetaNetwork operation middleware

func (*ServerInterfaceWrapper) GetMetaSearchEngine

func (siw *ServerInterfaceWrapper) GetMetaSearchEngine(w http.ResponseWriter, r *http.Request)

GetMetaSearchEngine operation middleware

func (*ServerInterfaceWrapper) GetMetaSyncRun

func (siw *ServerInterfaceWrapper) GetMetaSyncRun(w http.ResponseWriter, r *http.Request)

GetMetaSyncRun operation middleware

func (*ServerInterfaceWrapper) GetMyHistory

func (siw *ServerInterfaceWrapper) GetMyHistory(w http.ResponseWriter, r *http.Request)

GetMyHistory operation middleware

func (*ServerInterfaceWrapper) GetMyPreferences

func (siw *ServerInterfaceWrapper) GetMyPreferences(w http.ResponseWriter, r *http.Request)

GetMyPreferences operation middleware

func (*ServerInterfaceWrapper) GetMyUpdates

func (siw *ServerInterfaceWrapper) GetMyUpdates(w http.ResponseWriter, r *http.Request)

GetMyUpdates operation middleware

func (*ServerInterfaceWrapper) GetMyUpdatesStatus

func (siw *ServerInterfaceWrapper) GetMyUpdatesStatus(w http.ResponseWriter, r *http.Request)

GetMyUpdatesStatus operation middleware

func (*ServerInterfaceWrapper) GetNetworkProfile

func (siw *ServerInterfaceWrapper) GetNetworkProfile(w http.ResponseWriter, r *http.Request)

GetNetworkProfile operation middleware

func (*ServerInterfaceWrapper) GetPackage

func (siw *ServerInterfaceWrapper) GetPackage(w http.ResponseWriter, r *http.Request)

GetPackage operation middleware

func (*ServerInterfaceWrapper) GetPackageIcon

func (siw *ServerInterfaceWrapper) GetPackageIcon(w http.ResponseWriter, r *http.Request)

GetPackageIcon operation middleware

func (*ServerInterfaceWrapper) GetPackageImageRetries

func (siw *ServerInterfaceWrapper) GetPackageImageRetries(w http.ResponseWriter, r *http.Request)

GetPackageImageRetries operation middleware

func (*ServerInterfaceWrapper) GetPlugin

func (siw *ServerInterfaceWrapper) GetPlugin(w http.ResponseWriter, r *http.Request)

GetPlugin operation middleware

func (*ServerInterfaceWrapper) GetPluginConfig

func (siw *ServerInterfaceWrapper) GetPluginConfig(w http.ResponseWriter, r *http.Request)

GetPluginConfig operation middleware

func (*ServerInterfaceWrapper) GetPluginJob

func (siw *ServerInterfaceWrapper) GetPluginJob(w http.ResponseWriter, r *http.Request)

GetPluginJob operation middleware

func (*ServerInterfaceWrapper) GetPluginJobRun

func (siw *ServerInterfaceWrapper) GetPluginJobRun(w http.ResponseWriter, r *http.Request)

GetPluginJobRun operation middleware

func (*ServerInterfaceWrapper) GetPluginNetwork

func (siw *ServerInterfaceWrapper) GetPluginNetwork(w http.ResponseWriter, r *http.Request)

GetPluginNetwork operation middleware

func (*ServerInterfaceWrapper) GetProxy

func (siw *ServerInterfaceWrapper) GetProxy(w http.ResponseWriter, r *http.Request)

GetProxy operation middleware

func (*ServerInterfaceWrapper) GetQueue

func (siw *ServerInterfaceWrapper) GetQueue(w http.ResponseWriter, r *http.Request)

GetQueue operation middleware

func (*ServerInterfaceWrapper) GetReaderSettings

func (siw *ServerInterfaceWrapper) GetReaderSettings(w http.ResponseWriter, r *http.Request)

GetReaderSettings operation middleware

func (*ServerInterfaceWrapper) GetSetup

func (siw *ServerInterfaceWrapper) GetSetup(w http.ResponseWriter, r *http.Request)

GetSetup operation middleware

func (*ServerInterfaceWrapper) GetSolver

func (siw *ServerInterfaceWrapper) GetSolver(w http.ResponseWriter, r *http.Request)

GetSolver operation middleware

func (*ServerInterfaceWrapper) GetSourceImageRetries

func (siw *ServerInterfaceWrapper) GetSourceImageRetries(w http.ResponseWriter, r *http.Request)

GetSourceImageRetries operation middleware

func (*ServerInterfaceWrapper) GetSourceNetwork

func (siw *ServerInterfaceWrapper) GetSourceNetwork(w http.ResponseWriter, r *http.Request)

GetSourceNetwork operation middleware

func (*ServerInterfaceWrapper) GetSourceSettings

func (siw *ServerInterfaceWrapper) GetSourceSettings(w http.ResponseWriter, r *http.Request)

GetSourceSettings operation middleware

func (*ServerInterfaceWrapper) GetSystemHealth

func (siw *ServerInterfaceWrapper) GetSystemHealth(w http.ResponseWriter, r *http.Request)

GetSystemHealth operation middleware

func (*ServerInterfaceWrapper) GetSystemInfo

func (siw *ServerInterfaceWrapper) GetSystemInfo(w http.ResponseWriter, r *http.Request)

GetSystemInfo operation middleware

func (*ServerInterfaceWrapper) GetTask

GetTask operation middleware

func (*ServerInterfaceWrapper) GetUser

GetUser operation middleware

func (*ServerInterfaceWrapper) GetWork

GetWork operation middleware

func (*ServerInterfaceWrapper) GetWorkChapter

func (siw *ServerInterfaceWrapper) GetWorkChapter(w http.ResponseWriter, r *http.Request)

GetWorkChapter operation middleware

func (*ServerInterfaceWrapper) GetWorkCover

func (siw *ServerInterfaceWrapper) GetWorkCover(w http.ResponseWriter, r *http.Request)

GetWorkCover operation middleware

func (*ServerInterfaceWrapper) GetWorkProgress

func (siw *ServerInterfaceWrapper) GetWorkProgress(w http.ResponseWriter, r *http.Request)

GetWorkProgress operation middleware

func (*ServerInterfaceWrapper) InstallPackage

func (siw *ServerInterfaceWrapper) InstallPackage(w http.ResponseWriter, r *http.Request)

InstallPackage operation middleware

func (*ServerInterfaceWrapper) ListBookmarks

func (siw *ServerInterfaceWrapper) ListBookmarks(w http.ResponseWriter, r *http.Request)

ListBookmarks operation middleware

func (*ServerInterfaceWrapper) ListDownloads

func (siw *ServerInterfaceWrapper) ListDownloads(w http.ResponseWriter, r *http.Request)

ListDownloads operation middleware

func (*ServerInterfaceWrapper) ListInvites

func (siw *ServerInterfaceWrapper) ListInvites(w http.ResponseWriter, r *http.Request)

ListInvites operation middleware

func (*ServerInterfaceWrapper) ListJobRuns

func (siw *ServerInterfaceWrapper) ListJobRuns(w http.ResponseWriter, r *http.Request)

ListJobRuns operation middleware

func (*ServerInterfaceWrapper) ListJobs

func (siw *ServerInterfaceWrapper) ListJobs(w http.ResponseWriter, r *http.Request)

ListJobs operation middleware

func (*ServerInterfaceWrapper) ListLibrary

func (siw *ServerInterfaceWrapper) ListLibrary(w http.ResponseWriter, r *http.Request)

ListLibrary operation middleware

func (*ServerInterfaceWrapper) ListMetaDuplicates

func (siw *ServerInterfaceWrapper) ListMetaDuplicates(w http.ResponseWriter, r *http.Request)

ListMetaDuplicates operation middleware

func (*ServerInterfaceWrapper) ListMetaJobRuns

func (siw *ServerInterfaceWrapper) ListMetaJobRuns(w http.ResponseWriter, r *http.Request)

ListMetaJobRuns operation middleware

func (*ServerInterfaceWrapper) ListMetaJobs

func (siw *ServerInterfaceWrapper) ListMetaJobs(w http.ResponseWriter, r *http.Request)

ListMetaJobs operation middleware

func (*ServerInterfaceWrapper) ListMetaProviders

func (siw *ServerInterfaceWrapper) ListMetaProviders(w http.ResponseWriter, r *http.Request)

ListMetaProviders operation middleware

func (*ServerInterfaceWrapper) ListMetaSyncRuns

func (siw *ServerInterfaceWrapper) ListMetaSyncRuns(w http.ResponseWriter, r *http.Request)

ListMetaSyncRuns operation middleware

func (*ServerInterfaceWrapper) ListMyApiKeys

func (siw *ServerInterfaceWrapper) ListMyApiKeys(w http.ResponseWriter, r *http.Request)

ListMyApiKeys operation middleware

func (*ServerInterfaceWrapper) ListMySessions

func (siw *ServerInterfaceWrapper) ListMySessions(w http.ResponseWriter, r *http.Request)

ListMySessions operation middleware

func (*ServerInterfaceWrapper) ListNetworkAssignments

func (siw *ServerInterfaceWrapper) ListNetworkAssignments(w http.ResponseWriter, r *http.Request)

ListNetworkAssignments operation middleware

func (*ServerInterfaceWrapper) ListNetworkProfiles

func (siw *ServerInterfaceWrapper) ListNetworkProfiles(w http.ResponseWriter, r *http.Request)

ListNetworkProfiles operation middleware

func (*ServerInterfaceWrapper) ListPackageOrigins

func (siw *ServerInterfaceWrapper) ListPackageOrigins(w http.ResponseWriter, r *http.Request)

ListPackageOrigins operation middleware

func (*ServerInterfaceWrapper) ListPackages

func (siw *ServerInterfaceWrapper) ListPackages(w http.ResponseWriter, r *http.Request)

ListPackages operation middleware

func (*ServerInterfaceWrapper) ListPluginJobRuns

func (siw *ServerInterfaceWrapper) ListPluginJobRuns(w http.ResponseWriter, r *http.Request)

ListPluginJobRuns operation middleware

func (*ServerInterfaceWrapper) ListPluginJobs

func (siw *ServerInterfaceWrapper) ListPluginJobs(w http.ResponseWriter, r *http.Request)

ListPluginJobs operation middleware

func (*ServerInterfaceWrapper) ListPlugins

func (siw *ServerInterfaceWrapper) ListPlugins(w http.ResponseWriter, r *http.Request)

ListPlugins operation middleware

func (*ServerInterfaceWrapper) ListProxies

func (siw *ServerInterfaceWrapper) ListProxies(w http.ResponseWriter, r *http.Request)

ListProxies operation middleware

func (*ServerInterfaceWrapper) ListSeriesChapters

func (siw *ServerInterfaceWrapper) ListSeriesChapters(w http.ResponseWriter, r *http.Request)

ListSeriesChapters operation middleware

func (*ServerInterfaceWrapper) ListSolvers

func (siw *ServerInterfaceWrapper) ListSolvers(w http.ResponseWriter, r *http.Request)

ListSolvers operation middleware

func (*ServerInterfaceWrapper) ListSources

func (siw *ServerInterfaceWrapper) ListSources(w http.ResponseWriter, r *http.Request)

ListSources operation middleware

func (*ServerInterfaceWrapper) ListStorages

func (siw *ServerInterfaceWrapper) ListStorages(w http.ResponseWriter, r *http.Request)

ListStorages operation middleware

func (*ServerInterfaceWrapper) ListTasks

func (siw *ServerInterfaceWrapper) ListTasks(w http.ResponseWriter, r *http.Request)

ListTasks operation middleware

func (*ServerInterfaceWrapper) ListUsers

func (siw *ServerInterfaceWrapper) ListUsers(w http.ResponseWriter, r *http.Request)

ListUsers operation middleware

func (*ServerInterfaceWrapper) ListWorkChapters

func (siw *ServerInterfaceWrapper) ListWorkChapters(w http.ResponseWriter, r *http.Request)

ListWorkChapters operation middleware

func (*ServerInterfaceWrapper) Login

Login operation middleware

func (*ServerInterfaceWrapper) Logout

Logout operation middleware

func (*ServerInterfaceWrapper) MarkChaptersRead

func (siw *ServerInterfaceWrapper) MarkChaptersRead(w http.ResponseWriter, r *http.Request)

MarkChaptersRead operation middleware

func (*ServerInterfaceWrapper) MarkWorkSeen

func (siw *ServerInterfaceWrapper) MarkWorkSeen(w http.ResponseWriter, r *http.Request)

MarkWorkSeen operation middleware

func (*ServerInterfaceWrapper) MatchWork

func (siw *ServerInterfaceWrapper) MatchWork(w http.ResponseWriter, r *http.Request)

MatchWork operation middleware

func (*ServerInterfaceWrapper) MoveStorage

func (siw *ServerInterfaceWrapper) MoveStorage(w http.ResponseWriter, r *http.Request)

MoveStorage operation middleware

func (*ServerInterfaceWrapper) PinChapterVariant

func (siw *ServerInterfaceWrapper) PinChapterVariant(w http.ResponseWriter, r *http.Request)

PinChapterVariant operation middleware

func (*ServerInterfaceWrapper) PutMetaDuplicateJudge

func (siw *ServerInterfaceWrapper) PutMetaDuplicateJudge(w http.ResponseWriter, r *http.Request)

PutMetaDuplicateJudge operation middleware

func (*ServerInterfaceWrapper) PutMetaSearchEngine

func (siw *ServerInterfaceWrapper) PutMetaSearchEngine(w http.ResponseWriter, r *http.Request)

PutMetaSearchEngine operation middleware

func (*ServerInterfaceWrapper) PutMyPreferences

func (siw *ServerInterfaceWrapper) PutMyPreferences(w http.ResponseWriter, r *http.Request)

PutMyPreferences operation middleware

func (*ServerInterfaceWrapper) PutReaderSettings

func (siw *ServerInterfaceWrapper) PutReaderSettings(w http.ResponseWriter, r *http.Request)

PutReaderSettings operation middleware

func (*ServerInterfaceWrapper) RefreshMetaEntry

func (siw *ServerInterfaceWrapper) RefreshMetaEntry(w http.ResponseWriter, r *http.Request)

RefreshMetaEntry operation middleware

func (*ServerInterfaceWrapper) RefreshMyUpdates

func (siw *ServerInterfaceWrapper) RefreshMyUpdates(w http.ResponseWriter, r *http.Request)

RefreshMyUpdates operation middleware

func (*ServerInterfaceWrapper) RefreshPackageOrigin

func (siw *ServerInterfaceWrapper) RefreshPackageOrigin(w http.ResponseWriter, r *http.Request)

RefreshPackageOrigin operation middleware

func (*ServerInterfaceWrapper) RefreshWork

func (siw *ServerInterfaceWrapper) RefreshWork(w http.ResponseWriter, r *http.Request)

RefreshWork operation middleware

func (*ServerInterfaceWrapper) RegisterPlugin

func (siw *ServerInterfaceWrapper) RegisterPlugin(w http.ResponseWriter, r *http.Request)

RegisterPlugin operation middleware

func (*ServerInterfaceWrapper) ReloadPackage

func (siw *ServerInterfaceWrapper) ReloadPackage(w http.ResponseWriter, r *http.Request)

ReloadPackage operation middleware

func (*ServerInterfaceWrapper) RemoveFromLibrary

func (siw *ServerInterfaceWrapper) RemoveFromLibrary(w http.ResponseWriter, r *http.Request)

RemoveFromLibrary operation middleware

func (*ServerInterfaceWrapper) RemoveFromMyHistory

func (siw *ServerInterfaceWrapper) RemoveFromMyHistory(w http.ResponseWriter, r *http.Request)

RemoveFromMyHistory operation middleware

func (*ServerInterfaceWrapper) ReopenMetaDuplicate

func (siw *ServerInterfaceWrapper) ReopenMetaDuplicate(w http.ResponseWriter, r *http.Request)

ReopenMetaDuplicate operation middleware

func (*ServerInterfaceWrapper) ReplaceNetworkProfile

func (siw *ServerInterfaceWrapper) ReplaceNetworkProfile(w http.ResponseWriter, r *http.Request)

ReplaceNetworkProfile operation middleware

func (*ServerInterfaceWrapper) ResetMetaDuplicateJudge

func (siw *ServerInterfaceWrapper) ResetMetaDuplicateJudge(w http.ResponseWriter, r *http.Request)

ResetMetaDuplicateJudge operation middleware

func (*ServerInterfaceWrapper) ResetMetaSearchEngine

func (siw *ServerInterfaceWrapper) ResetMetaSearchEngine(w http.ResponseWriter, r *http.Request)

ResetMetaSearchEngine operation middleware

func (*ServerInterfaceWrapper) RetryTask

func (siw *ServerInterfaceWrapper) RetryTask(w http.ResponseWriter, r *http.Request)

RetryTask operation middleware

func (*ServerInterfaceWrapper) RunJob

RunJob operation middleware

func (*ServerInterfaceWrapper) RunMetaJob

func (siw *ServerInterfaceWrapper) RunMetaJob(w http.ResponseWriter, r *http.Request)

RunMetaJob operation middleware

func (*ServerInterfaceWrapper) RunMetaProviderSync

func (siw *ServerInterfaceWrapper) RunMetaProviderSync(w http.ResponseWriter, r *http.Request)

RunMetaProviderSync operation middleware

func (*ServerInterfaceWrapper) RunPluginJob

func (siw *ServerInterfaceWrapper) RunPluginJob(w http.ResponseWriter, r *http.Request)

RunPluginJob operation middleware

func (*ServerInterfaceWrapper) SearchCatalog

func (siw *ServerInterfaceWrapper) SearchCatalog(w http.ResponseWriter, r *http.Request)

SearchCatalog operation middleware

func (*ServerInterfaceWrapper) SearchWorkSource

func (siw *ServerInterfaceWrapper) SearchWorkSource(w http.ResponseWriter, r *http.Request)

SearchWorkSource operation middleware

func (*ServerInterfaceWrapper) SetAutoDownload

func (siw *ServerInterfaceWrapper) SetAutoDownload(w http.ResponseWriter, r *http.Request)

SetAutoDownload operation middleware

func (*ServerInterfaceWrapper) SetBookmarks

func (siw *ServerInterfaceWrapper) SetBookmarks(w http.ResponseWriter, r *http.Request)

SetBookmarks operation middleware

func (*ServerInterfaceWrapper) SetChapterProgress

func (siw *ServerInterfaceWrapper) SetChapterProgress(w http.ResponseWriter, r *http.Request)

SetChapterProgress operation middleware

func (*ServerInterfaceWrapper) SetMetaConnection

func (siw *ServerInterfaceWrapper) SetMetaConnection(w http.ResponseWriter, r *http.Request)

SetMetaConnection operation middleware

func (*ServerInterfaceWrapper) SetPackageImageRetries

func (siw *ServerInterfaceWrapper) SetPackageImageRetries(w http.ResponseWriter, r *http.Request)

SetPackageImageRetries operation middleware

func (*ServerInterfaceWrapper) SetPackageLanguages

func (siw *ServerInterfaceWrapper) SetPackageLanguages(w http.ResponseWriter, r *http.Request)

SetPackageLanguages operation middleware

func (*ServerInterfaceWrapper) SetPluginConfig

func (siw *ServerInterfaceWrapper) SetPluginConfig(w http.ResponseWriter, r *http.Request)

SetPluginConfig operation middleware

func (*ServerInterfaceWrapper) SetSourceHealthCheck

func (siw *ServerInterfaceWrapper) SetSourceHealthCheck(w http.ResponseWriter, r *http.Request)

SetSourceHealthCheck operation middleware

func (*ServerInterfaceWrapper) SetSourceImageRetries

func (siw *ServerInterfaceWrapper) SetSourceImageRetries(w http.ResponseWriter, r *http.Request)

SetSourceImageRetries operation middleware

func (*ServerInterfaceWrapper) SetSourceSettings

func (siw *ServerInterfaceWrapper) SetSourceSettings(w http.ResponseWriter, r *http.Request)

SetSourceSettings operation middleware

func (*ServerInterfaceWrapper) SourceChapters

func (siw *ServerInterfaceWrapper) SourceChapters(w http.ResponseWriter, r *http.Request)

SourceChapters operation middleware

func (*ServerInterfaceWrapper) SourceFilters

func (siw *ServerInterfaceWrapper) SourceFilters(w http.ResponseWriter, r *http.Request)

SourceFilters operation middleware

func (*ServerInterfaceWrapper) SourceImage

func (siw *ServerInterfaceWrapper) SourceImage(w http.ResponseWriter, r *http.Request)

SourceImage operation middleware

func (*ServerInterfaceWrapper) SourceLatest

func (siw *ServerInterfaceWrapper) SourceLatest(w http.ResponseWriter, r *http.Request)

SourceLatest operation middleware

func (*ServerInterfaceWrapper) SourcePopular

func (siw *ServerInterfaceWrapper) SourcePopular(w http.ResponseWriter, r *http.Request)

SourcePopular operation middleware

func (*ServerInterfaceWrapper) SourceSearch

func (siw *ServerInterfaceWrapper) SourceSearch(w http.ResponseWriter, r *http.Request)

SourceSearch operation middleware

func (*ServerInterfaceWrapper) SourceSeries

func (siw *ServerInterfaceWrapper) SourceSeries(w http.ResponseWriter, r *http.Request)

SourceSeries operation middleware

func (*ServerInterfaceWrapper) SyncPlugin

func (siw *ServerInterfaceWrapper) SyncPlugin(w http.ResponseWriter, r *http.Request)

SyncPlugin operation middleware

func (*ServerInterfaceWrapper) TestMetaDuplicateJudge

func (siw *ServerInterfaceWrapper) TestMetaDuplicateJudge(w http.ResponseWriter, r *http.Request)

TestMetaDuplicateJudge operation middleware

func (*ServerInterfaceWrapper) TestMetaSearchEngine

func (siw *ServerInterfaceWrapper) TestMetaSearchEngine(w http.ResponseWriter, r *http.Request)

TestMetaSearchEngine operation middleware

func (*ServerInterfaceWrapper) TestProxy

func (siw *ServerInterfaceWrapper) TestProxy(w http.ResponseWriter, r *http.Request)

TestProxy operation middleware

func (*ServerInterfaceWrapper) TestProxySettings

func (siw *ServerInterfaceWrapper) TestProxySettings(w http.ResponseWriter, r *http.Request)

TestProxySettings operation middleware

func (*ServerInterfaceWrapper) TestSolver

func (siw *ServerInterfaceWrapper) TestSolver(w http.ResponseWriter, r *http.Request)

TestSolver operation middleware

func (*ServerInterfaceWrapper) TestSolverSettings

func (siw *ServerInterfaceWrapper) TestSolverSettings(w http.ResponseWriter, r *http.Request)

TestSolverSettings operation middleware

func (*ServerInterfaceWrapper) TestStorage

func (siw *ServerInterfaceWrapper) TestStorage(w http.ResponseWriter, r *http.Request)

TestStorage operation middleware

func (*ServerInterfaceWrapper) UnassignNetworkProfile

func (siw *ServerInterfaceWrapper) UnassignNetworkProfile(w http.ResponseWriter, r *http.Request)

UnassignNetworkProfile operation middleware

func (*ServerInterfaceWrapper) UninstallPackage

func (siw *ServerInterfaceWrapper) UninstallPackage(w http.ResponseWriter, r *http.Request)

UninstallPackage operation middleware

func (*ServerInterfaceWrapper) UpdateMe

func (siw *ServerInterfaceWrapper) UpdateMe(w http.ResponseWriter, r *http.Request)

UpdateMe operation middleware

func (*ServerInterfaceWrapper) UpdatePackage

func (siw *ServerInterfaceWrapper) UpdatePackage(w http.ResponseWriter, r *http.Request)

UpdatePackage operation middleware

func (*ServerInterfaceWrapper) UpdatePlugin

func (siw *ServerInterfaceWrapper) UpdatePlugin(w http.ResponseWriter, r *http.Request)

UpdatePlugin operation middleware

func (*ServerInterfaceWrapper) UpdateProxy

func (siw *ServerInterfaceWrapper) UpdateProxy(w http.ResponseWriter, r *http.Request)

UpdateProxy operation middleware

func (*ServerInterfaceWrapper) UpdateQueueKind

func (siw *ServerInterfaceWrapper) UpdateQueueKind(w http.ResponseWriter, r *http.Request)

UpdateQueueKind operation middleware

func (*ServerInterfaceWrapper) UpdateSolver

func (siw *ServerInterfaceWrapper) UpdateSolver(w http.ResponseWriter, r *http.Request)

UpdateSolver operation middleware

func (*ServerInterfaceWrapper) UpdateSource

func (siw *ServerInterfaceWrapper) UpdateSource(w http.ResponseWriter, r *http.Request)

UpdateSource operation middleware

func (*ServerInterfaceWrapper) UpdateStorage

func (siw *ServerInterfaceWrapper) UpdateStorage(w http.ResponseWriter, r *http.Request)

UpdateStorage operation middleware

func (*ServerInterfaceWrapper) UpdateUser

func (siw *ServerInterfaceWrapper) UpdateUser(w http.ResponseWriter, r *http.Request)

UpdateUser operation middleware

func (*ServerInterfaceWrapper) UpdateWorkSeries

func (siw *ServerInterfaceWrapper) UpdateWorkSeries(w http.ResponseWriter, r *http.Request)

UpdateWorkSeries operation middleware

type Session

type Session struct {
	CreatedAt time.Time `json:"created_at"`

	// Current The session making this request.
	Current    bool               `json:"current"`
	ExpiresAt  time.Time          `json:"expires_at"`
	Id         openapi_types.UUID `json:"id"`
	Ip         *string            `json:"ip,omitempty"`
	LastSeenAt time.Time          `json:"last_seen_at"`
	UserAgent  *string            `json:"user_agent,omitempty"`
}

Session defines model for Session.

type SessionList

type SessionList struct {
	Sessions []Session `json:"sessions"`
}

SessionList defines model for SessionList.

type SetAutoDownload204Response

type SetAutoDownload204Response struct {
}

func (SetAutoDownload204Response) VisitSetAutoDownloadResponse

func (response SetAutoDownload204Response) VisitSetAutoDownloadResponse(w http.ResponseWriter) error

type SetAutoDownloadJSONRequestBody

type SetAutoDownloadJSONRequestBody = AutoDownloadRequest

SetAutoDownloadJSONRequestBody defines body for SetAutoDownload for application/json ContentType.

type SetAutoDownloadRequestObject

type SetAutoDownloadRequestObject struct {
	WorkId WorkId `json:"work_id"`
	Body   *SetAutoDownloadJSONRequestBody
}

type SetAutoDownloadResponseObject

type SetAutoDownloadResponseObject interface {
	VisitSetAutoDownloadResponse(w http.ResponseWriter) error
}

type SetAutoDownloaddefaultApplicationProblemPlusJSONResponse

type SetAutoDownloaddefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (SetAutoDownloaddefaultApplicationProblemPlusJSONResponse) VisitSetAutoDownloadResponse

func (response SetAutoDownloaddefaultApplicationProblemPlusJSONResponse) VisitSetAutoDownloadResponse(w http.ResponseWriter) error

type SetBookmarks200JSONResponse

type SetBookmarks200JSONResponse BookmarkList

func (SetBookmarks200JSONResponse) VisitSetBookmarksResponse

func (response SetBookmarks200JSONResponse) VisitSetBookmarksResponse(w http.ResponseWriter) error

type SetBookmarksJSONRequestBody

type SetBookmarksJSONRequestBody = SetBookmarksRequest

SetBookmarksJSONRequestBody defines body for SetBookmarks for application/json ContentType.

type SetBookmarksRequest

type SetBookmarksRequest struct {
	Bookmarked bool                 `json:"bookmarked"`
	ChapterIds []openapi_types.UUID `json:"chapter_ids"`
}

SetBookmarksRequest defines model for SetBookmarksRequest.

type SetBookmarksRequestObject

type SetBookmarksRequestObject struct {
	WorkId WorkId `json:"work_id"`
	Body   *SetBookmarksJSONRequestBody
}

type SetBookmarksResponseObject

type SetBookmarksResponseObject interface {
	VisitSetBookmarksResponse(w http.ResponseWriter) error
}

type SetBookmarksdefaultApplicationProblemPlusJSONResponse

type SetBookmarksdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (SetBookmarksdefaultApplicationProblemPlusJSONResponse) VisitSetBookmarksResponse

type SetChapterProgress200JSONResponse

type SetChapterProgress200JSONResponse ChapterProgress

func (SetChapterProgress200JSONResponse) VisitSetChapterProgressResponse

func (response SetChapterProgress200JSONResponse) VisitSetChapterProgressResponse(w http.ResponseWriter) error

type SetChapterProgressJSONRequestBody

type SetChapterProgressJSONRequestBody = SetProgressRequest

SetChapterProgressJSONRequestBody defines body for SetChapterProgress for application/json ContentType.

type SetChapterProgressRequestObject

type SetChapterProgressRequestObject struct {
	ChapterId ChapterId `json:"chapter_id"`
	Body      *SetChapterProgressJSONRequestBody
}

type SetChapterProgressResponseObject

type SetChapterProgressResponseObject interface {
	VisitSetChapterProgressResponse(w http.ResponseWriter) error
}

type SetChapterProgressdefaultApplicationProblemPlusJSONResponse

type SetChapterProgressdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (SetChapterProgressdefaultApplicationProblemPlusJSONResponse) VisitSetChapterProgressResponse

func (response SetChapterProgressdefaultApplicationProblemPlusJSONResponse) VisitSetChapterProgressResponse(w http.ResponseWriter) error

type SetHealthCheckRequest

type SetHealthCheckRequest struct {
	Enabled bool `json:"enabled"`
}

SetHealthCheckRequest defines model for SetHealthCheckRequest.

type SetMetaConnection200JSONResponse

type SetMetaConnection200JSONResponse MetaConnection

func (SetMetaConnection200JSONResponse) VisitSetMetaConnectionResponse

func (response SetMetaConnection200JSONResponse) VisitSetMetaConnectionResponse(w http.ResponseWriter) error

type SetMetaConnectionJSONRequestBody

type SetMetaConnectionJSONRequestBody = SetMetaConnectionRequest

SetMetaConnectionJSONRequestBody defines body for SetMetaConnection for application/json ContentType.

type SetMetaConnectionRequest

type SetMetaConnectionRequest struct {
	// ApiKey A key with the admin scope. Leave out to keep the stored one.
	ApiKey *string `json:"api_key,omitempty"`

	// Url The service's base URL, e.g. "http://meta:8901".
	Url string `json:"url"`
}

SetMetaConnectionRequest defines model for SetMetaConnectionRequest.

type SetMetaConnectionRequestObject

type SetMetaConnectionRequestObject struct {
	Body *SetMetaConnectionJSONRequestBody
}

type SetMetaConnectionResponseObject

type SetMetaConnectionResponseObject interface {
	VisitSetMetaConnectionResponse(w http.ResponseWriter) error
}

type SetMetaConnectiondefaultApplicationProblemPlusJSONResponse

type SetMetaConnectiondefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (SetMetaConnectiondefaultApplicationProblemPlusJSONResponse) VisitSetMetaConnectionResponse

func (response SetMetaConnectiondefaultApplicationProblemPlusJSONResponse) VisitSetMetaConnectionResponse(w http.ResponseWriter) error

type SetPackageImageRetries200JSONResponse

type SetPackageImageRetries200JSONResponse ImageRetries

func (SetPackageImageRetries200JSONResponse) VisitSetPackageImageRetriesResponse

func (response SetPackageImageRetries200JSONResponse) VisitSetPackageImageRetriesResponse(w http.ResponseWriter) error

type SetPackageImageRetriesJSONRequestBody

type SetPackageImageRetriesJSONRequestBody = ImageRetriesInput

SetPackageImageRetriesJSONRequestBody defines body for SetPackageImageRetries for application/json ContentType.

type SetPackageImageRetriesRequestObject

type SetPackageImageRetriesRequestObject struct {
	PluginId  PluginId  `json:"plugin_id"`
	PackageId PackageId `json:"package_id"`
	Body      *SetPackageImageRetriesJSONRequestBody
}

type SetPackageImageRetriesResponseObject

type SetPackageImageRetriesResponseObject interface {
	VisitSetPackageImageRetriesResponse(w http.ResponseWriter) error
}

type SetPackageImageRetriesdefaultApplicationProblemPlusJSONResponse

type SetPackageImageRetriesdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (SetPackageImageRetriesdefaultApplicationProblemPlusJSONResponse) VisitSetPackageImageRetriesResponse

func (response SetPackageImageRetriesdefaultApplicationProblemPlusJSONResponse) VisitSetPackageImageRetriesResponse(w http.ResponseWriter) error

type SetPackageLanguages200JSONResponse

type SetPackageLanguages200JSONResponse Package

func (SetPackageLanguages200JSONResponse) VisitSetPackageLanguagesResponse

func (response SetPackageLanguages200JSONResponse) VisitSetPackageLanguagesResponse(w http.ResponseWriter) error

type SetPackageLanguagesJSONRequestBody

type SetPackageLanguagesJSONRequestBody = PackageLanguages

SetPackageLanguagesJSONRequestBody defines body for SetPackageLanguages for application/json ContentType.

type SetPackageLanguagesRequestObject

type SetPackageLanguagesRequestObject struct {
	PluginId  PluginId  `json:"plugin_id"`
	PackageId PackageId `json:"package_id"`
	Body      *SetPackageLanguagesJSONRequestBody
}

type SetPackageLanguagesResponseObject

type SetPackageLanguagesResponseObject interface {
	VisitSetPackageLanguagesResponse(w http.ResponseWriter) error
}

type SetPackageLanguagesdefaultApplicationProblemPlusJSONResponse

type SetPackageLanguagesdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (SetPackageLanguagesdefaultApplicationProblemPlusJSONResponse) VisitSetPackageLanguagesResponse

func (response SetPackageLanguagesdefaultApplicationProblemPlusJSONResponse) VisitSetPackageLanguagesResponse(w http.ResponseWriter) error

type SetPluginConfig200JSONResponse

type SetPluginConfig200JSONResponse PluginConfig

func (SetPluginConfig200JSONResponse) VisitSetPluginConfigResponse

func (response SetPluginConfig200JSONResponse) VisitSetPluginConfigResponse(w http.ResponseWriter) error

type SetPluginConfigJSONRequestBody

type SetPluginConfigJSONRequestBody = SetPluginConfigRequest

SetPluginConfigJSONRequestBody defines body for SetPluginConfig for application/json ContentType.

type SetPluginConfigRequest

type SetPluginConfigRequest struct {
	Values map[string]interface{} `json:"values"`
}

SetPluginConfigRequest defines model for SetPluginConfigRequest.

type SetPluginConfigRequestObject

type SetPluginConfigRequestObject struct {
	PluginId PluginId `json:"plugin_id"`
	Body     *SetPluginConfigJSONRequestBody
}

type SetPluginConfigResponseObject

type SetPluginConfigResponseObject interface {
	VisitSetPluginConfigResponse(w http.ResponseWriter) error
}

type SetPluginConfigdefaultApplicationProblemPlusJSONResponse

type SetPluginConfigdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (SetPluginConfigdefaultApplicationProblemPlusJSONResponse) VisitSetPluginConfigResponse

func (response SetPluginConfigdefaultApplicationProblemPlusJSONResponse) VisitSetPluginConfigResponse(w http.ResponseWriter) error

type SetProgressRequest

type SetProgressRequest struct {
	Completed *bool `json:"completed,omitempty"`
	Page      int   `json:"page"`
	Pages     *int  `json:"pages,omitempty"`
}

SetProgressRequest defines model for SetProgressRequest.

type SetSourceHealthCheck200JSONResponse

type SetSourceHealthCheck200JSONResponse SourceInfo

func (SetSourceHealthCheck200JSONResponse) VisitSetSourceHealthCheckResponse

func (response SetSourceHealthCheck200JSONResponse) VisitSetSourceHealthCheckResponse(w http.ResponseWriter) error

type SetSourceHealthCheckJSONRequestBody

type SetSourceHealthCheckJSONRequestBody = SetHealthCheckRequest

SetSourceHealthCheckJSONRequestBody defines body for SetSourceHealthCheck for application/json ContentType.

type SetSourceHealthCheckRequestObject

type SetSourceHealthCheckRequestObject struct {
	SourceId SourceId `json:"source_id"`
	Body     *SetSourceHealthCheckJSONRequestBody
}

type SetSourceHealthCheckResponseObject

type SetSourceHealthCheckResponseObject interface {
	VisitSetSourceHealthCheckResponse(w http.ResponseWriter) error
}

type SetSourceHealthCheckdefaultApplicationProblemPlusJSONResponse

type SetSourceHealthCheckdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (SetSourceHealthCheckdefaultApplicationProblemPlusJSONResponse) VisitSetSourceHealthCheckResponse

func (response SetSourceHealthCheckdefaultApplicationProblemPlusJSONResponse) VisitSetSourceHealthCheckResponse(w http.ResponseWriter) error

type SetSourceImageRetries200JSONResponse

type SetSourceImageRetries200JSONResponse ImageRetries

func (SetSourceImageRetries200JSONResponse) VisitSetSourceImageRetriesResponse

func (response SetSourceImageRetries200JSONResponse) VisitSetSourceImageRetriesResponse(w http.ResponseWriter) error

type SetSourceImageRetriesJSONRequestBody

type SetSourceImageRetriesJSONRequestBody = ImageRetriesInput

SetSourceImageRetriesJSONRequestBody defines body for SetSourceImageRetries for application/json ContentType.

type SetSourceImageRetriesRequestObject

type SetSourceImageRetriesRequestObject struct {
	SourceId SourceId `json:"source_id"`
	Body     *SetSourceImageRetriesJSONRequestBody
}

type SetSourceImageRetriesResponseObject

type SetSourceImageRetriesResponseObject interface {
	VisitSetSourceImageRetriesResponse(w http.ResponseWriter) error
}

type SetSourceImageRetriesdefaultApplicationProblemPlusJSONResponse

type SetSourceImageRetriesdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (SetSourceImageRetriesdefaultApplicationProblemPlusJSONResponse) VisitSetSourceImageRetriesResponse

func (response SetSourceImageRetriesdefaultApplicationProblemPlusJSONResponse) VisitSetSourceImageRetriesResponse(w http.ResponseWriter) error

type SetSourceSettings200JSONResponse

type SetSourceSettings200JSONResponse SourceSettings

func (SetSourceSettings200JSONResponse) VisitSetSourceSettingsResponse

func (response SetSourceSettings200JSONResponse) VisitSetSourceSettingsResponse(w http.ResponseWriter) error

type SetSourceSettingsJSONRequestBody

type SetSourceSettingsJSONRequestBody = SetSourceSettingsRequest

SetSourceSettingsJSONRequestBody defines body for SetSourceSettings for application/json ContentType.

type SetSourceSettingsRequest

type SetSourceSettingsRequest struct {
	Values map[string]interface{} `json:"values"`
}

SetSourceSettingsRequest defines model for SetSourceSettingsRequest.

type SetSourceSettingsRequestObject

type SetSourceSettingsRequestObject struct {
	SourceId SourceId `json:"source_id"`
	Body     *SetSourceSettingsJSONRequestBody
}

type SetSourceSettingsResponseObject

type SetSourceSettingsResponseObject interface {
	VisitSetSourceSettingsResponse(w http.ResponseWriter) error
}

type SetSourceSettingsdefaultApplicationProblemPlusJSONResponse

type SetSourceSettingsdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (SetSourceSettingsdefaultApplicationProblemPlusJSONResponse) VisitSetSourceSettingsResponse

func (response SetSourceSettingsdefaultApplicationProblemPlusJSONResponse) VisitSetSourceSettingsResponse(w http.ResponseWriter) error

type SetupStatus

type SetupStatus struct {
	// AdminCreated The first account exists.
	AdminCreated bool `json:"admin_created"`

	// Completed An admin finished the wizard.
	Completed   bool       `json:"completed"`
	CompletedAt *time.Time `json:"completed_at,omitempty"`

	// MetaConfigured The metadata service is connected.
	MetaConfigured bool `json:"meta_configured"`

	// MetaReady The metadata service is usable (see `GET /system/meta` for details).
	MetaReady bool `json:"meta_ready"`
}

SetupStatus defines model for SetupStatus.

type Solver

type Solver struct {
	// AsResponseFallback Use the solver's own response when a fresh request still fails.
	AsResponseFallback bool      `json:"as_response_fallback"`
	CreatedAt          time.Time `json:"created_at"`
	Id                 string    `json:"id"`

	// MaxTimeoutSeconds Upper bound for one solve; absent means the plugin's default.
	MaxTimeoutSeconds *int          `json:"max_timeout_seconds,omitempty"`
	Name              string        `json:"name"`
	Owner             *ProfileOwner `json:"owner,omitempty"`

	// SessionTtlSeconds How long a session or its clearance cookies are reused; absent means the plugin's default.
	SessionTtlSeconds *int       `json:"session_ttl_seconds,omitempty"`
	Type              SolverType `json:"type"`
	UpdatedAt         time.Time  `json:"updated_at"`

	// Url Its base URL, e.g. http://flaresolverr:8191.
	Url string `json:"url"`
}

Solver A challenge solver (FlareSolverr-compatible), shared or custom to one owner.

type SolverId

type SolverId = string

SolverId defines model for SolverId.

type SolverList

type SolverList struct {
	Solvers []Solver `json:"solvers"`
}

SolverList defines model for SolverList.

type SolverType

type SolverType string

SolverType defines model for SolverType.

const (
	SolverTypeByparr       SolverType = "byparr"
	SolverTypeFlaresolverr SolverType = "flaresolverr"
)

Defines values for SolverType.

func (SolverType) Valid

func (e SolverType) Valid() bool

Valid indicates whether the value is a known member of the SolverType enum.

type SourceChapter

type SourceChapter struct {
	Key        string     `json:"key"`
	Lang       *string    `json:"lang,omitempty"`
	Name       string     `json:"name"`
	Number     *float32   `json:"number,omitempty"`
	Scanlator  *string    `json:"scanlator,omitempty"`
	UploadedAt *time.Time `json:"uploaded_at,omitempty"`
	Url        *string    `json:"url,omitempty"`
	Volume     *string    `json:"volume,omitempty"`
}

SourceChapter defines model for SourceChapter.

type SourceChapterList

type SourceChapterList struct {
	Chapters []SourceChapter `json:"chapters"`
}

SourceChapterList defines model for SourceChapterList.

type SourceChapters200JSONResponse

type SourceChapters200JSONResponse SourceChapterList

func (SourceChapters200JSONResponse) VisitSourceChaptersResponse

func (response SourceChapters200JSONResponse) VisitSourceChaptersResponse(w http.ResponseWriter) error

type SourceChaptersParams

type SourceChaptersParams struct {
	// Key The series' key on the source, as listed.
	Key SeriesKey `form:"key" json:"key"`
}

SourceChaptersParams defines parameters for SourceChapters.

type SourceChaptersRequestObject

type SourceChaptersRequestObject struct {
	SourceId SourceId `json:"source_id"`
	Params   SourceChaptersParams
}

type SourceChaptersResponseObject

type SourceChaptersResponseObject interface {
	VisitSourceChaptersResponse(w http.ResponseWriter) error
}

type SourceChaptersdefaultApplicationProblemPlusJSONResponse

type SourceChaptersdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (SourceChaptersdefaultApplicationProblemPlusJSONResponse) VisitSourceChaptersResponse

func (response SourceChaptersdefaultApplicationProblemPlusJSONResponse) VisitSourceChaptersResponse(w http.ResponseWriter) error

type SourceFilters

type SourceFilters struct {
	// Filters The source's filters in the source plugin contract's JSON form (headers, separators, text, checkboxes, tri-states, selects, sorts, groups).
	Filters []map[string]interface{} `json:"filters"`
}

SourceFilters defines model for SourceFilters.

type SourceFilters200JSONResponse

type SourceFilters200JSONResponse SourceFilters

func (SourceFilters200JSONResponse) VisitSourceFiltersResponse

func (response SourceFilters200JSONResponse) VisitSourceFiltersResponse(w http.ResponseWriter) error

type SourceFiltersRequestObject

type SourceFiltersRequestObject struct {
	SourceId SourceId `json:"source_id"`
}

type SourceFiltersResponseObject

type SourceFiltersResponseObject interface {
	VisitSourceFiltersResponse(w http.ResponseWriter) error
}

type SourceFiltersdefaultApplicationProblemPlusJSONResponse

type SourceFiltersdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (SourceFiltersdefaultApplicationProblemPlusJSONResponse) VisitSourceFiltersResponse

type SourceHealth

type SourceHealth struct {
	CheckedAt *time.Time `json:"checked_at,omitempty"`

	// ChecksDisabled Its scheduled health checks are turned off (plugins with the `health_checks` capability).
	ChecksDisabled *bool   `json:"checks_disabled,omitempty"`
	Message        *string `json:"message,omitempty"`

	// Reason Why it fails, e.g. CLOUDFLARE_CHALLENGE or SOURCE_DOWN.
	Reason *string            `json:"reason,omitempty"`
	Status SourceHealthStatus `json:"status"`
}

SourceHealth defines model for SourceHealth.

type SourceHealthStatus

type SourceHealthStatus string

SourceHealthStatus defines model for SourceHealth.Status.

const (
	SourceHealthStatusFailing SourceHealthStatus = "failing"
	SourceHealthStatusOk      SourceHealthStatus = "ok"
	SourceHealthStatusUnknown SourceHealthStatus = "unknown"
)

Defines values for SourceHealthStatus.

func (SourceHealthStatus) Valid

func (e SourceHealthStatus) Valid() bool

Valid indicates whether the value is a known member of the SourceHealthStatus enum.

type SourceId

type SourceId = string

SourceId defines model for SourceId.

type SourceImage200ImageResponse

type SourceImage200ImageResponse struct {
	Body          io.Reader
	Headers       SourceImage200ResponseHeaders
	ContentType   string
	ContentLength int64
}

func (SourceImage200ImageResponse) VisitSourceImageResponse

func (response SourceImage200ImageResponse) VisitSourceImageResponse(w http.ResponseWriter) error

type SourceImage200ResponseHeaders

type SourceImage200ResponseHeaders struct {
	CacheControl *string
}

type SourceImageParams

type SourceImageParams struct {
	Ref string `form:"ref" json:"ref"`

	// Kind `icon` for a source's icon (part of the signed link): fetched from the plugin's address rather than through the source, and refreshed weekly.
	Kind *SourceImageParamsKind `form:"kind,omitempty" json:"kind,omitempty"`
	Sig  string                 `form:"sig" json:"sig"`
}

SourceImageParams defines parameters for SourceImage.

type SourceImageParamsKind

type SourceImageParamsKind string

SourceImageParamsKind defines parameters for SourceImage.

const (
	SourceImageParamsKindIcon SourceImageParamsKind = "icon"
)

Defines values for SourceImageParamsKind.

func (SourceImageParamsKind) Valid

func (e SourceImageParamsKind) Valid() bool

Valid indicates whether the value is a known member of the SourceImageParamsKind enum.

type SourceImageRequestObject

type SourceImageRequestObject struct {
	SourceId SourceId `json:"source_id"`
	Params   SourceImageParams
}

type SourceImageResponseObject

type SourceImageResponseObject interface {
	VisitSourceImageResponse(w http.ResponseWriter) error
}

type SourceImagedefaultApplicationProblemPlusJSONResponse

type SourceImagedefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (SourceImagedefaultApplicationProblemPlusJSONResponse) VisitSourceImageResponse

type SourceInfo

type SourceInfo struct {
	// Capabilities latest, search, filters, resolve_url, settings, needs_webview, nsfw.
	Capabilities  []string                `json:"capabilities"`
	ContentRating SourceInfoContentRating `json:"content_rating"`
	Enabled       bool                    `json:"enabled"`
	Health        SourceHealth            `json:"health"`
	HomeUrl       *string                 `json:"home_url,omitempty"`

	// IconUrl The server's URL for the source's icon.
	IconUrl *string `json:"icon_url,omitempty"`

	// Id "plugin:source".
	Id   string `json:"id"`
	Lang string `json:"lang"`
	Name string `json:"name"`

	// PackageId The package (e.g. extension) that provides it, on plugins with the `packages` capability.
	PackageId   *string `json:"package_id,omitempty"`
	PackageName *string `json:"package_name,omitempty"`
	PluginId    string  `json:"plugin_id"`

	// Present The plugin still lists it.
	Present bool `json:"present"`

	// UnavailableReason Why a source the plugin no longer lists (`present: false`) is
	// missing, when known: `language` means its package is still
	// installed but its language is turned off (the plugin's or the
	// package's languages), so show it as "not available" rather than
	// gone. Absent without a reason: no longer provided (e.g. its
	// package was uninstalled). Either way it isn't used and nothing
	// of it is deleted.
	UnavailableReason *SourceInfoUnavailableReason `json:"unavailable_reason,omitempty"`
}

SourceInfo defines model for SourceInfo.

type SourceInfoContentRating

type SourceInfoContentRating string

SourceInfoContentRating defines model for SourceInfo.ContentRating.

const (
	SourceInfoContentRatingMixed   SourceInfoContentRating = "mixed"
	SourceInfoContentRatingNsfw    SourceInfoContentRating = "nsfw"
	SourceInfoContentRatingSafe    SourceInfoContentRating = "safe"
	SourceInfoContentRatingUnknown SourceInfoContentRating = "unknown"
)

Defines values for SourceInfoContentRating.

func (SourceInfoContentRating) Valid

func (e SourceInfoContentRating) Valid() bool

Valid indicates whether the value is a known member of the SourceInfoContentRating enum.

type SourceInfoUnavailableReason

type SourceInfoUnavailableReason string

SourceInfoUnavailableReason Why a source the plugin no longer lists (`present: false`) is missing, when known: `language` means its package is still installed but its language is turned off (the plugin's or the package's languages), so show it as "not available" rather than gone. Absent without a reason: no longer provided (e.g. its package was uninstalled). Either way it isn't used and nothing of it is deleted.

const (
	SourceInfoUnavailableReasonLanguage SourceInfoUnavailableReason = "language"
)

Defines values for SourceInfoUnavailableReason.

func (SourceInfoUnavailableReason) Valid

Valid indicates whether the value is a known member of the SourceInfoUnavailableReason enum.

type SourceLatest200JSONResponse

type SourceLatest200JSONResponse SourceSeriesPage

func (SourceLatest200JSONResponse) VisitSourceLatestResponse

func (response SourceLatest200JSONResponse) VisitSourceLatestResponse(w http.ResponseWriter) error

type SourceLatestParams

type SourceLatestParams struct {
	// Page The page, from 1.
	Page *SourcePage `form:"page,omitempty" json:"page,omitempty"`
}

SourceLatestParams defines parameters for SourceLatest.

type SourceLatestRequestObject

type SourceLatestRequestObject struct {
	SourceId SourceId `json:"source_id"`
	Params   SourceLatestParams
}

type SourceLatestResponseObject

type SourceLatestResponseObject interface {
	VisitSourceLatestResponse(w http.ResponseWriter) error
}

type SourceLatestdefaultApplicationProblemPlusJSONResponse

type SourceLatestdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (SourceLatestdefaultApplicationProblemPlusJSONResponse) VisitSourceLatestResponse

type SourceList

type SourceList struct {
	Sources []SourceInfo `json:"sources"`
}

SourceList defines model for SourceList.

type SourceNetwork

type SourceNetwork struct {
	// Applied What the plugin says it applies (only from GET /sources/{source_id}/network).
	Applied    *NetworkApplied    `json:"applied,omitempty"`
	Assignment *NetworkAssignment `json:"assignment,omitempty"`
	Effective  NetworkEffective   `json:"effective"`
	Lang       *string            `json:"lang,omitempty"`
	Name       string             `json:"name"`
	PackageId  *string            `json:"package_id,omitempty"`
	Present    *bool              `json:"present,omitempty"`

	// Push Whether the plugin has the profile in force.
	Push     *NetworkPush `json:"push,omitempty"`
	SourceId string       `json:"source_id"`
}

SourceNetwork defines model for SourceNetwork.

type SourcePage

type SourcePage = int

SourcePage defines model for SourcePage.

type SourcePopular200JSONResponse

type SourcePopular200JSONResponse SourceSeriesPage

func (SourcePopular200JSONResponse) VisitSourcePopularResponse

func (response SourcePopular200JSONResponse) VisitSourcePopularResponse(w http.ResponseWriter) error

type SourcePopularParams

type SourcePopularParams struct {
	// Page The page, from 1.
	Page *SourcePage `form:"page,omitempty" json:"page,omitempty"`
}

SourcePopularParams defines parameters for SourcePopular.

type SourcePopularRequestObject

type SourcePopularRequestObject struct {
	SourceId SourceId `json:"source_id"`
	Params   SourcePopularParams
}

type SourcePopularResponseObject

type SourcePopularResponseObject interface {
	VisitSourcePopularResponse(w http.ResponseWriter) error
}

type SourcePopulardefaultApplicationProblemPlusJSONResponse

type SourcePopulardefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (SourcePopulardefaultApplicationProblemPlusJSONResponse) VisitSourcePopularResponse

type SourceSearch200JSONResponse

type SourceSearch200JSONResponse SourceSeriesPage

func (SourceSearch200JSONResponse) VisitSourceSearchResponse

func (response SourceSearch200JSONResponse) VisitSourceSearchResponse(w http.ResponseWriter) error

type SourceSearchJSONRequestBody

type SourceSearchJSONRequestBody = SourceSearchRequest

SourceSearchJSONRequestBody defines body for SourceSearch for application/json ContentType.

type SourceSearchRequest

type SourceSearchRequest struct {
	// Filters Filter values in the source plugin contract's JSON form, e.g. {"path":[2],"select":1}.
	Filters *[]map[string]interface{} `json:"filters,omitempty"`
	Page    *int                      `json:"page,omitempty"`
	Query   *string                   `json:"query,omitempty"`
}

SourceSearchRequest defines model for SourceSearchRequest.

type SourceSearchRequestObject

type SourceSearchRequestObject struct {
	SourceId SourceId `json:"source_id"`
	Body     *SourceSearchJSONRequestBody
}

type SourceSearchResponseObject

type SourceSearchResponseObject interface {
	VisitSourceSearchResponse(w http.ResponseWriter) error
}

type SourceSearchdefaultApplicationProblemPlusJSONResponse

type SourceSearchdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (SourceSearchdefaultApplicationProblemPlusJSONResponse) VisitSourceSearchResponse

type SourceSeries

type SourceSeries struct {
	AltTitles []string `json:"alt_titles"`
	Artists   []string `json:"artists"`
	Authors   []string `json:"authors"`

	// CoverUrl The server's URL for the cover.
	CoverUrl    *string  `json:"cover_url,omitempty"`
	Description *string  `json:"description,omitempty"`
	Genres      []string `json:"genres"`

	// Key The series' key on the source; pass it back as is.
	Key string `json:"key"`

	// Match Only in a work's source search, when the work already knows the series.
	Match *SeriesMatchRef `json:"match,omitempty"`

	// Status ongoing, completed, licensed, publishing_finished, cancelled, on_hiatus or absent when unknown.
	Status *string `json:"status,omitempty"`
	Title  string  `json:"title"`

	// Url The series' page on the site.
	Url *string `json:"url,omitempty"`
}

SourceSeries defines model for SourceSeries.

type SourceSeries200JSONResponse

type SourceSeries200JSONResponse SourceSeries

func (SourceSeries200JSONResponse) VisitSourceSeriesResponse

func (response SourceSeries200JSONResponse) VisitSourceSeriesResponse(w http.ResponseWriter) error

type SourceSeriesPage

type SourceSeriesPage struct {
	HasNextPage bool           `json:"has_next_page"`
	Series      []SourceSeries `json:"series"`
}

SourceSeriesPage defines model for SourceSeriesPage.

type SourceSeriesParams

type SourceSeriesParams struct {
	// Key The series' key on the source, as listed.
	Key SeriesKey `form:"key" json:"key"`
}

SourceSeriesParams defines parameters for SourceSeries.

type SourceSeriesRequestObject

type SourceSeriesRequestObject struct {
	SourceId SourceId `json:"source_id"`
	Params   SourceSeriesParams
}

type SourceSeriesResponseObject

type SourceSeriesResponseObject interface {
	VisitSourceSeriesResponse(w http.ResponseWriter) error
}

type SourceSeriesdefaultApplicationProblemPlusJSONResponse

type SourceSeriesdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (SourceSeriesdefaultApplicationProblemPlusJSONResponse) VisitSourceSeriesResponse

type SourceSettings

type SourceSettings struct {
	// Schema The source's JSON Schema for its settings. Render the form from it.
	Schema map[string]interface{} `json:"schema"`
	Values map[string]interface{} `json:"values"`
}

SourceSettings defines model for SourceSettings.

type StorageId

type StorageId = string

StorageId defines model for StorageId.

type StorageInfo

type StorageInfo struct {
	AccessKey *string `json:"access_key,omitempty"`
	Bucket    *string `json:"bucket,omitempty"`
	Default   bool    `json:"default"`
	Endpoint  *string `json:"endpoint,omitempty"`
	Files     int64   `json:"files"`

	// HasSecret A secret key is stored (never shown).
	HasSecret bool            `json:"has_secret"`
	Id        string          `json:"id"`
	Kind      StorageInfoKind `json:"kind"`
	Name      string          `json:"name"`
	PathStyle *bool           `json:"path_style,omitempty"`
	Prefix    *string         `json:"prefix,omitempty"`
	Region    *string         `json:"region,omitempty"`

	// Root Local storages' directory.
	Root *string `json:"root,omitempty"`
}

StorageInfo defines model for StorageInfo.

type StorageInfoKind

type StorageInfoKind string

StorageInfoKind defines model for StorageInfo.Kind.

const (
	StorageInfoKindLocal StorageInfoKind = "local"
	StorageInfoKindS3    StorageInfoKind = "s3"
)

Defines values for StorageInfoKind.

func (StorageInfoKind) Valid

func (e StorageInfoKind) Valid() bool

Valid indicates whether the value is a known member of the StorageInfoKind enum.

type StorageList

type StorageList struct {
	Storages []StorageInfo `json:"storages"`
}

StorageList defines model for StorageList.

type StorageSettings

type StorageSettings struct {
	AccessKey *string `json:"access_key,omitempty"`
	Bucket    *string `json:"bucket,omitempty"`

	// Endpoint S3, e.g. "https://s3.example.com".
	Endpoint  *string `json:"endpoint,omitempty"`
	Name      *string `json:"name,omitempty"`
	PathStyle *bool   `json:"path_style,omitempty"`
	Prefix    *string `json:"prefix,omitempty"`
	Region    *string `json:"region,omitempty"`

	// Root Local storages; an absolute path.
	Root *string `json:"root,omitempty"`

	// SecretKey Leave out to keep the stored one.
	SecretKey *string `json:"secret_key,omitempty"`
}

StorageSettings defines model for StorageSettings.

type StorageTest

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

StorageTest defines model for StorageTest.

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 StrictHandlerFunc func(ctx context.Context, w http.ResponseWriter, r *http.Request, request any) (any, error)

type StrictMiddlewareFunc

type StrictMiddlewareFunc func(f StrictHandlerFunc, operationID string) StrictHandlerFunc

type StrictServerInterface

type StrictServerInterface interface {
	// AcceptInvite Create an account from an invite
	// (POST /auth/invites/accept)
	AcceptInvite(ctx context.Context, request AcceptInviteRequestObject) (AcceptInviteResponseObject, error)
	// CheckInvite Check an invite token before signing up
	// (POST /auth/invites/check)
	CheckInvite(ctx context.Context, request CheckInviteRequestObject) (CheckInviteResponseObject, error)
	// Login Sign in with a username and password
	// (POST /auth/login)
	Login(ctx context.Context, request LoginRequestObject) (LoginResponseObject, error)
	// Logout Sign out (session only)
	// (POST /auth/logout)
	Logout(ctx context.Context, request LogoutRequestObject) (LogoutResponseObject, error)
	// BrowseCatalog Browse the catalogue
	// (GET /catalog/browse)
	BrowseCatalog(ctx context.Context, request BrowseCatalogRequestObject) (BrowseCatalogResponseObject, error)
	// GetCatalogEntry One catalogue entry in full
	// (GET /catalog/entries/{entry_id})
	GetCatalogEntry(ctx context.Context, request GetCatalogEntryRequestObject) (GetCatalogEntryResponseObject, error)
	// GetCatalogEntryCover An entry's cover image
	// (GET /catalog/entries/{entry_id}/cover)
	GetCatalogEntryCover(ctx context.Context, request GetCatalogEntryCoverRequestObject) (GetCatalogEntryCoverResponseObject, error)
	// SearchCatalog Search the catalogue by title
	// (GET /catalog/search)
	SearchCatalog(ctx context.Context, request SearchCatalogRequestObject) (SearchCatalogResponseObject, error)
	// DeleteChapterFile Delete a chapter's downloaded file
	// (DELETE /chapters/{chapter_id}/file)
	DeleteChapterFile(ctx context.Context, request DeleteChapterFileRequestObject) (DeleteChapterFileResponseObject, error)
	// GetChapterPages A chapter's pages for the reader
	// (GET /chapters/{chapter_id}/pages)
	GetChapterPages(ctx context.Context, request GetChapterPagesRequestObject) (GetChapterPagesResponseObject, error)
	// GetChapterPage One page image
	// (GET /chapters/{chapter_id}/pages/{index})
	GetChapterPage(ctx context.Context, request GetChapterPageRequestObject) (GetChapterPageResponseObject, error)
	// SetChapterProgress Save where you are in a chapter
	// (PUT /chapters/{chapter_id}/progress)
	SetChapterProgress(ctx context.Context, request SetChapterProgressRequestObject) (SetChapterProgressResponseObject, error)
	// ListDownloads Download queue and history
	// (GET /downloads)
	ListDownloads(ctx context.Context, request ListDownloadsRequestObject) (ListDownloadsResponseObject, error)
	// ListInvites List open invites
	// (GET /invites)
	ListInvites(ctx context.Context, request ListInvitesRequestObject) (ListInvitesResponseObject, error)
	// CreateInvite Create an invite
	// (POST /invites)
	CreateInvite(ctx context.Context, request CreateInviteRequestObject) (CreateInviteResponseObject, error)
	// DeleteInvite Revoke an invite
	// (DELETE /invites/{id})
	DeleteInvite(ctx context.Context, request DeleteInviteRequestObject) (DeleteInviteResponseObject, error)
	// GetJobRun One run in full
	// (GET /job-runs/{run_id})
	GetJobRun(ctx context.Context, request GetJobRunRequestObject) (GetJobRunResponseObject, error)
	// CancelJobRun Cancel a running run
	// (POST /job-runs/{run_id}/cancel)
	CancelJobRun(ctx context.Context, request CancelJobRunRequestObject) (CancelJobRunResponseObject, error)
	// ListJobs Background jobs
	// (GET /jobs)
	ListJobs(ctx context.Context, request ListJobsRequestObject) (ListJobsResponseObject, error)
	// GetJob One job
	// (GET /jobs/{job_id})
	GetJob(ctx context.Context, request GetJobRequestObject) (GetJobResponseObject, error)
	// RunJob Run a job now
	// (POST /jobs/{job_id}/run)
	RunJob(ctx context.Context, request RunJobRequestObject) (RunJobResponseObject, error)
	// ListJobRuns A job's runs, newest first
	// (GET /jobs/{job_id}/runs)
	ListJobRuns(ctx context.Context, request ListJobRunsRequestObject) (ListJobRunsResponseObject, error)
	// ListLibrary Your library
	// (GET /library)
	ListLibrary(ctx context.Context, request ListLibraryRequestObject) (ListLibraryResponseObject, error)
	// AddToLibrary Add a catalogue entry to your library
	// (POST /library)
	AddToLibrary(ctx context.Context, request AddToLibraryRequestObject) (AddToLibraryResponseObject, error)
	// AddFromSource Add a series seen on a source
	// (POST /library/from-source)
	AddFromSource(ctx context.Context, request AddFromSourceRequestObject) (AddFromSourceResponseObject, error)
	// RemoveFromLibrary Remove a work from your library
	// (DELETE /library/{work_id})
	RemoveFromLibrary(ctx context.Context, request RemoveFromLibraryRequestObject) (RemoveFromLibraryResponseObject, error)
	// SetAutoDownload Download new chapters of a work automatically
	// (PUT /library/{work_id}/auto-download)
	SetAutoDownload(ctx context.Context, request SetAutoDownloadRequestObject) (SetAutoDownloadResponseObject, error)
	// MarkWorkSeen Clear the work's "new" chapter badges for you
	// (POST /library/{work_id}/seen)
	MarkWorkSeen(ctx context.Context, request MarkWorkSeenRequestObject) (MarkWorkSeenResponseObject, error)
	// GetMe The signed-in user
	// (GET /me)
	GetMe(ctx context.Context, request GetMeRequestObject) (GetMeResponseObject, error)
	// UpdateMe Change your own profile
	// (PATCH /me)
	UpdateMe(ctx context.Context, request UpdateMeRequestObject) (UpdateMeResponseObject, error)
	// ListMyApiKeys Your API keys (session only)
	// (GET /me/api-keys)
	ListMyApiKeys(ctx context.Context, request ListMyApiKeysRequestObject) (ListMyApiKeysResponseObject, error)
	// CreateMyApiKey Create an API key (session only)
	// (POST /me/api-keys)
	CreateMyApiKey(ctx context.Context, request CreateMyApiKeyRequestObject) (CreateMyApiKeyResponseObject, error)
	// DeleteMyApiKey Revoke an API key (session only)
	// (DELETE /me/api-keys/{id})
	DeleteMyApiKey(ctx context.Context, request DeleteMyApiKeyRequestObject) (DeleteMyApiKeyResponseObject, error)
	// ClearMyHistory Clear your history
	// (DELETE /me/history)
	ClearMyHistory(ctx context.Context, request ClearMyHistoryRequestObject) (ClearMyHistoryResponseObject, error)
	// GetMyHistory Chapters you read, newest first
	// (GET /me/history)
	GetMyHistory(ctx context.Context, request GetMyHistoryRequestObject) (GetMyHistoryResponseObject, error)
	// RemoveFromMyHistory Take a series out of your history
	// (DELETE /me/history/{work_id})
	RemoveFromMyHistory(ctx context.Context, request RemoveFromMyHistoryRequestObject) (RemoveFromMyHistoryResponseObject, error)
	// ChangeMyPassword Change your own password (session only)
	// (POST /me/password)
	ChangeMyPassword(ctx context.Context, request ChangeMyPasswordRequestObject) (ChangeMyPasswordResponseObject, error)
	// GetMyPreferences Your app preferences
	// (GET /me/preferences)
	GetMyPreferences(ctx context.Context, request GetMyPreferencesRequestObject) (GetMyPreferencesResponseObject, error)
	// PutMyPreferences Replace your app preferences
	// (PUT /me/preferences)
	PutMyPreferences(ctx context.Context, request PutMyPreferencesRequestObject) (PutMyPreferencesResponseObject, error)
	// GetReaderSettings Your reader settings for a place
	// (GET /me/reader-settings)
	GetReaderSettings(ctx context.Context, request GetReaderSettingsRequestObject) (GetReaderSettingsResponseObject, error)
	// DeleteReaderSettings Remove one level (fall back to the broader ones)
	// (DELETE /me/reader-settings/{scope})
	DeleteReaderSettings(ctx context.Context, request DeleteReaderSettingsRequestObject) (DeleteReaderSettingsResponseObject, error)
	// PutReaderSettings Replace one level of your reader settings
	// (PUT /me/reader-settings/{scope})
	PutReaderSettings(ctx context.Context, request PutReaderSettingsRequestObject) (PutReaderSettingsResponseObject, error)
	// ListMySessions Your signed-in sessions (session only)
	// (GET /me/sessions)
	ListMySessions(ctx context.Context, request ListMySessionsRequestObject) (ListMySessionsResponseObject, error)
	// DeleteMySession Sign out another session (session only)
	// (DELETE /me/sessions/{id})
	DeleteMySession(ctx context.Context, request DeleteMySessionRequestObject) (DeleteMySessionResponseObject, error)
	// GetMyUpdates Chapters that appeared in your library, newest first
	// (GET /me/updates)
	GetMyUpdates(ctx context.Context, request GetMyUpdatesRequestObject) (GetMyUpdatesResponseObject, error)
	// RefreshMyUpdates Check your library for new chapters now
	// (POST /me/updates/refresh)
	RefreshMyUpdates(ctx context.Context, request RefreshMyUpdatesRequestObject) (RefreshMyUpdatesResponseObject, error)
	// GetMyUpdatesStatus How the chapter checks of your library stand
	// (GET /me/updates/status)
	GetMyUpdatesStatus(ctx context.Context, request GetMyUpdatesStatusRequestObject) (GetMyUpdatesStatusResponseObject, error)
	// UnassignNetworkProfile Remove the assignment at one level, which then inherits
	// (DELETE /network/assignments)
	UnassignNetworkProfile(ctx context.Context, request UnassignNetworkProfileRequestObject) (UnassignNetworkProfileResponseObject, error)
	// ListNetworkAssignments Where profiles are assigned
	// (GET /network/assignments)
	ListNetworkAssignments(ctx context.Context, request ListNetworkAssignmentsRequestObject) (ListNetworkAssignmentsResponseObject, error)
	// AssignNetworkProfile Assign a profile at one level
	// (PUT /network/assignments)
	AssignNetworkProfile(ctx context.Context, request AssignNetworkProfileRequestObject) (AssignNetworkProfileResponseObject, error)
	// ListNetworkProfiles Network profiles
	// (GET /network/profiles)
	ListNetworkProfiles(ctx context.Context, request ListNetworkProfilesRequestObject) (ListNetworkProfilesResponseObject, error)
	// CreateNetworkProfile Add a network profile
	// (POST /network/profiles)
	CreateNetworkProfile(ctx context.Context, request CreateNetworkProfileRequestObject) (CreateNetworkProfileResponseObject, error)
	// DeleteNetworkProfile Remove a profile
	// (DELETE /network/profiles/{profile_id})
	DeleteNetworkProfile(ctx context.Context, request DeleteNetworkProfileRequestObject) (DeleteNetworkProfileResponseObject, error)
	// GetNetworkProfile One network profile
	// (GET /network/profiles/{profile_id})
	GetNetworkProfile(ctx context.Context, request GetNetworkProfileRequestObject) (GetNetworkProfileResponseObject, error)
	// ReplaceNetworkProfile Replace a profile's settings
	// (PUT /network/profiles/{profile_id})
	ReplaceNetworkProfile(ctx context.Context, request ReplaceNetworkProfileRequestObject) (ReplaceNetworkProfileResponseObject, error)
	// ListProxies The proxys
	// (GET /network/proxies)
	ListProxies(ctx context.Context, request ListProxiesRequestObject) (ListProxiesResponseObject, error)
	// CreateProxy Add a proxy
	// (POST /network/proxies)
	CreateProxy(ctx context.Context, request CreateProxyRequestObject) (CreateProxyResponseObject, error)
	// TestProxySettings Check a proxy before saving it
	// (POST /network/proxies/test)
	TestProxySettings(ctx context.Context, request TestProxySettingsRequestObject) (TestProxySettingsResponseObject, error)
	// DeleteProxy Remove a proxy
	// (DELETE /network/proxies/{proxy_id})
	DeleteProxy(ctx context.Context, request DeleteProxyRequestObject) (DeleteProxyResponseObject, error)
	// GetProxy One proxy
	// (GET /network/proxies/{proxy_id})
	GetProxy(ctx context.Context, request GetProxyRequestObject) (GetProxyResponseObject, error)
	// UpdateProxy Change a proxy
	// (PATCH /network/proxies/{proxy_id})
	UpdateProxy(ctx context.Context, request UpdateProxyRequestObject) (UpdateProxyResponseObject, error)
	// TestProxy Check a saved proxy
	// (POST /network/proxies/{proxy_id}/test)
	TestProxy(ctx context.Context, request TestProxyRequestObject) (TestProxyResponseObject, error)
	// ListSolvers The solvers
	// (GET /network/solvers)
	ListSolvers(ctx context.Context, request ListSolversRequestObject) (ListSolversResponseObject, error)
	// CreateSolver Add a solver
	// (POST /network/solvers)
	CreateSolver(ctx context.Context, request CreateSolverRequestObject) (CreateSolverResponseObject, error)
	// TestSolverSettings Check a solver before saving it
	// (POST /network/solvers/test)
	TestSolverSettings(ctx context.Context, request TestSolverSettingsRequestObject) (TestSolverSettingsResponseObject, error)
	// DeleteSolver Remove a solver
	// (DELETE /network/solvers/{solver_id})
	DeleteSolver(ctx context.Context, request DeleteSolverRequestObject) (DeleteSolverResponseObject, error)
	// GetSolver One solver
	// (GET /network/solvers/{solver_id})
	GetSolver(ctx context.Context, request GetSolverRequestObject) (GetSolverResponseObject, error)
	// UpdateSolver Change a solver
	// (PATCH /network/solvers/{solver_id})
	UpdateSolver(ctx context.Context, request UpdateSolverRequestObject) (UpdateSolverResponseObject, error)
	// TestSolver Check a saved solver
	// (POST /network/solvers/{solver_id}/test)
	TestSolver(ctx context.Context, request TestSolverRequestObject) (TestSolverResponseObject, error)
	// ListPlugins List source plugins
	// (GET /plugins)
	ListPlugins(ctx context.Context, request ListPluginsRequestObject) (ListPluginsResponseObject, error)
	// RegisterPlugin Add a source plugin running as a service
	// (POST /plugins)
	RegisterPlugin(ctx context.Context, request RegisterPluginRequestObject) (RegisterPluginResponseObject, error)
	// DeletePlugin Remove a plugin and its sources
	// (DELETE /plugins/{plugin_id})
	DeletePlugin(ctx context.Context, request DeletePluginRequestObject) (DeletePluginResponseObject, error)
	// GetPlugin Get a plugin
	// (GET /plugins/{plugin_id})
	GetPlugin(ctx context.Context, request GetPluginRequestObject) (GetPluginResponseObject, error)
	// UpdatePlugin Change a plugin's address or key, or turn it off
	// (PATCH /plugins/{plugin_id})
	UpdatePlugin(ctx context.Context, request UpdatePluginRequestObject) (UpdatePluginResponseObject, error)
	// GetPluginConfig A plugin's configuration and its schema
	// (GET /plugins/{plugin_id}/config)
	GetPluginConfig(ctx context.Context, request GetPluginConfigRequestObject) (GetPluginConfigResponseObject, error)
	// SetPluginConfig Replace a plugin's configuration
	// (PUT /plugins/{plugin_id}/config)
	SetPluginConfig(ctx context.Context, request SetPluginConfigRequestObject) (SetPluginConfigResponseObject, error)
	// GetPluginJobRun One run of a plugin's job, in full
	// (GET /plugins/{plugin_id}/job-runs/{run_id})
	GetPluginJobRun(ctx context.Context, request GetPluginJobRunRequestObject) (GetPluginJobRunResponseObject, error)
	// CancelPluginJobRun Cancel a running run of a plugin's job
	// (POST /plugins/{plugin_id}/job-runs/{run_id}/cancel)
	CancelPluginJobRun(ctx context.Context, request CancelPluginJobRunRequestObject) (CancelPluginJobRunResponseObject, error)
	// ListPluginJobs A plugin's background jobs
	// (GET /plugins/{plugin_id}/jobs)
	ListPluginJobs(ctx context.Context, request ListPluginJobsRequestObject) (ListPluginJobsResponseObject, error)
	// GetPluginJob One of a plugin's jobs
	// (GET /plugins/{plugin_id}/jobs/{job_id})
	GetPluginJob(ctx context.Context, request GetPluginJobRequestObject) (GetPluginJobResponseObject, error)
	// RunPluginJob Run one of a plugin's jobs now
	// (POST /plugins/{plugin_id}/jobs/{job_id}/run)
	RunPluginJob(ctx context.Context, request RunPluginJobRequestObject) (RunPluginJobResponseObject, error)
	// ListPluginJobRuns A plugin job's runs, newest first
	// (GET /plugins/{plugin_id}/jobs/{job_id}/runs)
	ListPluginJobRuns(ctx context.Context, request ListPluginJobRunsRequestObject) (ListPluginJobRunsResponseObject, error)
	// GetPluginNetwork The network profile in force for each of a plugin's sources
	// (GET /plugins/{plugin_id}/network)
	GetPluginNetwork(ctx context.Context, request GetPluginNetworkRequestObject) (GetPluginNetworkResponseObject, error)
	// ListPackageOrigins Where a plugin's packages come from (e.g. its stores)
	// (GET /plugins/{plugin_id}/origins)
	ListPackageOrigins(ctx context.Context, request ListPackageOriginsRequestObject) (ListPackageOriginsResponseObject, error)
	// RefreshPackageOrigin Fetch an origin's package list again now
	// (POST /plugins/{plugin_id}/origins/{origin_id}/refresh)
	RefreshPackageOrigin(ctx context.Context, request RefreshPackageOriginRequestObject) (RefreshPackageOriginResponseObject, error)
	// ListPackages The packages a plugin offers and has installed
	// (GET /plugins/{plugin_id}/packages)
	ListPackages(ctx context.Context, request ListPackagesRequestObject) (ListPackagesResponseObject, error)
	// UninstallPackage Uninstall a package
	// (DELETE /plugins/{plugin_id}/packages/{package_id})
	UninstallPackage(ctx context.Context, request UninstallPackageRequestObject) (UninstallPackageResponseObject, error)
	// GetPackage One of a plugin's packages
	// (GET /plugins/{plugin_id}/packages/{package_id})
	GetPackage(ctx context.Context, request GetPackageRequestObject) (GetPackageResponseObject, error)
	// GetPackageIcon A package's icon
	// (GET /plugins/{plugin_id}/packages/{package_id}/icon)
	GetPackageIcon(ctx context.Context, request GetPackageIconRequestObject) (GetPackageIconResponseObject, error)
	// ClearPackageImageRetries Remove a package's image retry setting
	// (DELETE /plugins/{plugin_id}/packages/{package_id}/image-retries)
	ClearPackageImageRetries(ctx context.Context, request ClearPackageImageRetriesRequestObject) (ClearPackageImageRetriesResponseObject, error)
	// GetPackageImageRetries How a package's sources retry failed page images
	// (GET /plugins/{plugin_id}/packages/{package_id}/image-retries)
	GetPackageImageRetries(ctx context.Context, request GetPackageImageRetriesRequestObject) (GetPackageImageRetriesResponseObject, error)
	// SetPackageImageRetries Set how a package's sources retry failed page images
	// (PUT /plugins/{plugin_id}/packages/{package_id}/image-retries)
	SetPackageImageRetries(ctx context.Context, request SetPackageImageRetriesRequestObject) (SetPackageImageRetriesResponseObject, error)
	// InstallPackage Install a package
	// (POST /plugins/{plugin_id}/packages/{package_id}/install)
	InstallPackage(ctx context.Context, request InstallPackageRequestObject) (InstallPackageResponseObject, error)
	// SetPackageLanguages Choose the languages a package offers sources in
	// (PUT /plugins/{plugin_id}/packages/{package_id}/languages)
	SetPackageLanguages(ctx context.Context, request SetPackageLanguagesRequestObject) (SetPackageLanguagesResponseObject, error)
	// ReloadPackage Load an installed package again
	// (POST /plugins/{plugin_id}/packages/{package_id}/reload)
	ReloadPackage(ctx context.Context, request ReloadPackageRequestObject) (ReloadPackageResponseObject, error)
	// UpdatePackage Update an installed package to its newest offered version
	// (POST /plugins/{plugin_id}/packages/{package_id}/update)
	UpdatePackage(ctx context.Context, request UpdatePackageRequestObject) (UpdatePackageResponseObject, error)
	// SyncPlugin Refresh a plugin's info, health and sources now
	// (POST /plugins/{plugin_id}/sync)
	SyncPlugin(ctx context.Context, request SyncPluginRequestObject) (SyncPluginResponseObject, error)
	// GetQueue The task queue per kind
	// (GET /queue)
	GetQueue(ctx context.Context, request GetQueueRequestObject) (GetQueueResponseObject, error)
	// UpdateQueueKind Pause or resume a kind of task
	// (PATCH /queue/kinds/{kind})
	UpdateQueueKind(ctx context.Context, request UpdateQueueKindRequestObject) (UpdateQueueKindResponseObject, error)
	// GetSetup First-run wizard state
	// (GET /setup)
	GetSetup(ctx context.Context, request GetSetupRequestObject) (GetSetupResponseObject, error)
	// CreateSetupAdmin Create the first account (the admin)
	// (POST /setup/admin)
	CreateSetupAdmin(ctx context.Context, request CreateSetupAdminRequestObject) (CreateSetupAdminResponseObject, error)
	// CompleteSetup Finish the first-run wizard
	// (POST /setup/complete)
	CompleteSetup(ctx context.Context, request CompleteSetupRequestObject) (CompleteSetupResponseObject, error)
	// ListSources The sources of every plugin
	// (GET /sources)
	ListSources(ctx context.Context, request ListSourcesRequestObject) (ListSourcesResponseObject, error)
	// UpdateSource Turn a source on or off for everyone
	// (PATCH /sources/{source_id})
	UpdateSource(ctx context.Context, request UpdateSourceRequestObject) (UpdateSourceResponseObject, error)
	// SourceChapters A series' chapters exactly as the source lists them
	// (GET /sources/{source_id}/chapters)
	SourceChapters(ctx context.Context, request SourceChaptersRequestObject) (SourceChaptersResponseObject, error)
	// SourceFilters A source's search filters
	// (GET /sources/{source_id}/filters)
	SourceFilters(ctx context.Context, request SourceFiltersRequestObject) (SourceFiltersResponseObject, error)
	// SetSourceHealthCheck Turn a source's scheduled health checks on or off
	// (PUT /sources/{source_id}/health-check)
	SetSourceHealthCheck(ctx context.Context, request SetSourceHealthCheckRequestObject) (SetSourceHealthCheckResponseObject, error)
	// SourceImage An image from a source (covers, icons)
	// (GET /sources/{source_id}/image)
	SourceImage(ctx context.Context, request SourceImageRequestObject) (SourceImageResponseObject, error)
	// ClearSourceImageRetries Remove a source's own image retry setting
	// (DELETE /sources/{source_id}/image-retries)
	ClearSourceImageRetries(ctx context.Context, request ClearSourceImageRetriesRequestObject) (ClearSourceImageRetriesResponseObject, error)
	// GetSourceImageRetries How a source retries failed page images
	// (GET /sources/{source_id}/image-retries)
	GetSourceImageRetries(ctx context.Context, request GetSourceImageRetriesRequestObject) (GetSourceImageRetriesResponseObject, error)
	// SetSourceImageRetries Set how a source retries failed page images
	// (PUT /sources/{source_id}/image-retries)
	SetSourceImageRetries(ctx context.Context, request SetSourceImageRetriesRequestObject) (SetSourceImageRetriesResponseObject, error)
	// SourceLatest A source's latest updates
	// (GET /sources/{source_id}/latest)
	SourceLatest(ctx context.Context, request SourceLatestRequestObject) (SourceLatestResponseObject, error)
	// GetSourceNetwork A source's network profile, and what its plugin applies
	// (GET /sources/{source_id}/network)
	GetSourceNetwork(ctx context.Context, request GetSourceNetworkRequestObject) (GetSourceNetworkResponseObject, error)
	// SourcePopular A source's popular series
	// (GET /sources/{source_id}/popular)
	SourcePopular(ctx context.Context, request SourcePopularRequestObject) (SourcePopularResponseObject, error)
	// SourceSearch Search a source
	// (POST /sources/{source_id}/search)
	SourceSearch(ctx context.Context, request SourceSearchRequestObject) (SourceSearchResponseObject, error)
	// SourceSeries A series on a source, in full
	// (GET /sources/{source_id}/series)
	SourceSeries(ctx context.Context, request SourceSeriesRequestObject) (SourceSeriesResponseObject, error)
	// GetSourceSettings A source's own settings and their schema
	// (GET /sources/{source_id}/settings)
	GetSourceSettings(ctx context.Context, request GetSourceSettingsRequestObject) (GetSourceSettingsResponseObject, error)
	// SetSourceSettings Change some of a source's settings
	// (PATCH /sources/{source_id}/settings)
	SetSourceSettings(ctx context.Context, request SetSourceSettingsRequestObject) (SetSourceSettingsResponseObject, error)
	// ListStorages Storage endpoints for downloads
	// (GET /storages)
	ListStorages(ctx context.Context, request ListStoragesRequestObject) (ListStoragesResponseObject, error)
	// CreateStorage Add a storage
	// (POST /storages)
	CreateStorage(ctx context.Context, request CreateStorageRequestObject) (CreateStorageResponseObject, error)
	// DeleteStorage Remove an empty storage
	// (DELETE /storages/{storage_id})
	DeleteStorage(ctx context.Context, request DeleteStorageRequestObject) (DeleteStorageResponseObject, error)
	// UpdateStorage Change a storage, or make it the default
	// (PATCH /storages/{storage_id})
	UpdateStorage(ctx context.Context, request UpdateStorageRequestObject) (UpdateStorageResponseObject, error)
	// MoveStorage Move every file to another storage
	// (POST /storages/{storage_id}/move)
	MoveStorage(ctx context.Context, request MoveStorageRequestObject) (MoveStorageResponseObject, error)
	// TestStorage Check a storage now
	// (POST /storages/{storage_id}/test)
	TestStorage(ctx context.Context, request TestStorageRequestObject) (TestStorageResponseObject, error)
	// GetSystemHealth Detailed health (admins)
	// (GET /system/health)
	GetSystemHealth(ctx context.Context, request GetSystemHealthRequestObject) (GetSystemHealthResponseObject, error)
	// GetSystemInfo Server name, version and setup state
	// (GET /system/info)
	GetSystemInfo(ctx context.Context, request GetSystemInfoRequestObject) (GetSystemInfoResponseObject, error)
	// GetMetaConnection The metadata service connection and its state
	// (GET /system/meta)
	GetMetaConnection(ctx context.Context, request GetMetaConnectionRequestObject) (GetMetaConnectionResponseObject, error)
	// SetMetaConnection Connect the metadata service
	// (PUT /system/meta)
	SetMetaConnection(ctx context.Context, request SetMetaConnectionRequestObject) (SetMetaConnectionResponseObject, error)
	// CheckMetaConnection Check the metadata service again now
	// (POST /system/meta/check)
	CheckMetaConnection(ctx context.Context, request CheckMetaConnectionRequestObject) (CheckMetaConnectionResponseObject, error)
	// GetMetaDuplicateJudge The decision model that rates duplicate pairs
	// (GET /system/meta/duplicate-judge)
	GetMetaDuplicateJudge(ctx context.Context, request GetMetaDuplicateJudgeRequestObject) (GetMetaDuplicateJudgeResponseObject, error)
	// PutMetaDuplicateJudge Save the decision model settings
	// (PUT /system/meta/duplicate-judge)
	PutMetaDuplicateJudge(ctx context.Context, request PutMetaDuplicateJudgeRequestObject) (PutMetaDuplicateJudgeResponseObject, error)
	// ResetMetaDuplicateJudge Forget the saved settings; meta's configuration applies again
	// (POST /system/meta/duplicate-judge/reset)
	ResetMetaDuplicateJudge(ctx context.Context, request ResetMetaDuplicateJudgeRequestObject) (ResetMetaDuplicateJudgeResponseObject, error)
	// TestMetaDuplicateJudge Ask the model about a made-up pair, without saving
	// (POST /system/meta/duplicate-judge/test)
	TestMetaDuplicateJudge(ctx context.Context, request TestMetaDuplicateJudgeRequestObject) (TestMetaDuplicateJudgeResponseObject, error)
	// ListMetaDuplicates Pairs of catalogue entries the metadata service suspects are one work
	// (GET /system/meta/duplicates)
	ListMetaDuplicates(ctx context.Context, request ListMetaDuplicatesRequestObject) (ListMetaDuplicatesResponseObject, error)
	// GetMetaDuplicate One pair, both entries side by side
	// (GET /system/meta/duplicates/{pair_id})
	GetMetaDuplicate(ctx context.Context, request GetMetaDuplicateRequestObject) (GetMetaDuplicateResponseObject, error)
	// ConfirmMetaDuplicate Merge a pair into one entry
	// (POST /system/meta/duplicates/{pair_id}/confirm)
	ConfirmMetaDuplicate(ctx context.Context, request ConfirmMetaDuplicateRequestObject) (ConfirmMetaDuplicateResponseObject, error)
	// DismissMetaDuplicate Mark a pair as different works
	// (POST /system/meta/duplicates/{pair_id}/dismiss)
	DismissMetaDuplicate(ctx context.Context, request DismissMetaDuplicateRequestObject) (DismissMetaDuplicateResponseObject, error)
	// ReopenMetaDuplicate Take back a dismissal
	// (POST /system/meta/duplicates/{pair_id}/reopen)
	ReopenMetaDuplicate(ctx context.Context, request ReopenMetaDuplicateRequestObject) (ReopenMetaDuplicateResponseObject, error)
	// RefreshMetaEntry Fetch fresh data for one catalogue entry from its providers now
	// (POST /system/meta/entries/{entry_id}/refresh)
	RefreshMetaEntry(ctx context.Context, request RefreshMetaEntryRequestObject) (RefreshMetaEntryResponseObject, error)
	// GetMetaHealth The metadata service's health, per component
	// (GET /system/meta/health)
	GetMetaHealth(ctx context.Context, request GetMetaHealthRequestObject) (GetMetaHealthResponseObject, error)
	// GetMetaJobRun One run of a metadata service job, in full
	// (GET /system/meta/job-runs/{run_id})
	GetMetaJobRun(ctx context.Context, request GetMetaJobRunRequestObject) (GetMetaJobRunResponseObject, error)
	// CancelMetaJobRun Cancel a running run of a metadata service job
	// (POST /system/meta/job-runs/{run_id}/cancel)
	CancelMetaJobRun(ctx context.Context, request CancelMetaJobRunRequestObject) (CancelMetaJobRunResponseObject, error)
	// ListMetaJobs The metadata service's background jobs
	// (GET /system/meta/jobs)
	ListMetaJobs(ctx context.Context, request ListMetaJobsRequestObject) (ListMetaJobsResponseObject, error)
	// GetMetaJob One of the metadata service's jobs
	// (GET /system/meta/jobs/{job_id})
	GetMetaJob(ctx context.Context, request GetMetaJobRequestObject) (GetMetaJobResponseObject, error)
	// RunMetaJob Run one of the metadata service's jobs now
	// (POST /system/meta/jobs/{job_id}/run)
	RunMetaJob(ctx context.Context, request RunMetaJobRequestObject) (RunMetaJobResponseObject, error)
	// ListMetaJobRuns A metadata service job's runs, newest first
	// (GET /system/meta/jobs/{job_id}/runs)
	ListMetaJobRuns(ctx context.Context, request ListMetaJobRunsRequestObject) (ListMetaJobRunsResponseObject, error)
	// GetMetaNetwork The network profile in force for each metadata provider
	// (GET /system/meta/network)
	GetMetaNetwork(ctx context.Context, request GetMetaNetworkRequestObject) (GetMetaNetworkResponseObject, error)
	// ListMetaProviders The metadata service's providers
	// (GET /system/meta/providers)
	ListMetaProviders(ctx context.Context, request ListMetaProvidersRequestObject) (ListMetaProvidersResponseObject, error)
	// RunMetaProviderSync Start a sync of a metadata provider
	// (POST /system/meta/providers/{provider}/sync)
	RunMetaProviderSync(ctx context.Context, request RunMetaProviderSyncRequestObject) (RunMetaProviderSyncResponseObject, error)
	// GetMetaSearchEngine The metadata service's search engine and the state of its index
	// (GET /system/meta/search-engine)
	GetMetaSearchEngine(ctx context.Context, request GetMetaSearchEngineRequestObject) (GetMetaSearchEngineResponseObject, error)
	// PutMetaSearchEngine Save the search engine settings
	// (PUT /system/meta/search-engine)
	PutMetaSearchEngine(ctx context.Context, request PutMetaSearchEngineRequestObject) (PutMetaSearchEngineResponseObject, error)
	// ResetMetaSearchEngine Forget the saved settings; meta's configuration applies again
	// (POST /system/meta/search-engine/reset)
	ResetMetaSearchEngine(ctx context.Context, request ResetMetaSearchEngineRequestObject) (ResetMetaSearchEngineResponseObject, error)
	// TestMetaSearchEngine Check search engine settings without saving them
	// (POST /system/meta/search-engine/test)
	TestMetaSearchEngine(ctx context.Context, request TestMetaSearchEngineRequestObject) (TestMetaSearchEngineResponseObject, error)
	// ListMetaSyncRuns Provider sync runs, newest first
	// (GET /system/meta/sync-runs)
	ListMetaSyncRuns(ctx context.Context, request ListMetaSyncRunsRequestObject) (ListMetaSyncRunsResponseObject, error)
	// GetMetaSyncRun One sync run in full
	// (GET /system/meta/sync-runs/{sync_run_id})
	GetMetaSyncRun(ctx context.Context, request GetMetaSyncRunRequestObject) (GetMetaSyncRunResponseObject, error)
	// ListTasks Queued, running and recent tasks
	// (GET /tasks)
	ListTasks(ctx context.Context, request ListTasksRequestObject) (ListTasksResponseObject, error)
	// GetTask One task
	// (GET /tasks/{task_id})
	GetTask(ctx context.Context, request GetTaskRequestObject) (GetTaskResponseObject, error)
	// CancelTask Cancel a queued or running task
	// (POST /tasks/{task_id}/cancel)
	CancelTask(ctx context.Context, request CancelTaskRequestObject) (CancelTaskResponseObject, error)
	// RetryTask Run a failed or cancelled task again
	// (POST /tasks/{task_id}/retry)
	RetryTask(ctx context.Context, request RetryTaskRequestObject) (RetryTaskResponseObject, error)
	// ListUsers List users
	// (GET /users)
	ListUsers(ctx context.Context, request ListUsersRequestObject) (ListUsersResponseObject, error)
	// CreateUser Create a user with a password
	// (POST /users)
	CreateUser(ctx context.Context, request CreateUserRequestObject) (CreateUserResponseObject, error)
	// DeleteUser Delete a user
	// (DELETE /users/{id})
	DeleteUser(ctx context.Context, request DeleteUserRequestObject) (DeleteUserResponseObject, error)
	// GetUser Get a user
	// (GET /users/{id})
	GetUser(ctx context.Context, request GetUserRequestObject) (GetUserResponseObject, error)
	// UpdateUser Change a user
	// (PATCH /users/{id})
	UpdateUser(ctx context.Context, request UpdateUserRequestObject) (UpdateUserResponseObject, error)
	// GetWork A work, with how it is matched on each source
	// (GET /works/{work_id})
	GetWork(ctx context.Context, request GetWorkRequestObject) (GetWorkResponseObject, error)
	// ListBookmarks Your bookmarked chapters of a work
	// (GET /works/{work_id}/bookmarks)
	ListBookmarks(ctx context.Context, request ListBookmarksRequestObject) (ListBookmarksResponseObject, error)
	// SetBookmarks Bookmark chapters, or remove their bookmarks
	// (POST /works/{work_id}/bookmarks)
	SetBookmarks(ctx context.Context, request SetBookmarksRequestObject) (SetBookmarksResponseObject, error)
	// ListWorkChapters A work's unified chapters
	// (GET /works/{work_id}/chapters)
	ListWorkChapters(ctx context.Context, request ListWorkChaptersRequestObject) (ListWorkChaptersResponseObject, error)
	// GetWorkChapter One chapter with every copy
	// (GET /works/{work_id}/chapters/{chapter_id})
	GetWorkChapter(ctx context.Context, request GetWorkChapterRequestObject) (GetWorkChapterResponseObject, error)
	// PinChapterVariant Choose a chapter's copy by hand
	// (PUT /works/{work_id}/chapters/{chapter_id}/pin)
	PinChapterVariant(ctx context.Context, request PinChapterVariantRequestObject) (PinChapterVariantResponseObject, error)
	// GetWorkCover A work's cover
	// (GET /works/{work_id}/cover)
	GetWorkCover(ctx context.Context, request GetWorkCoverRequestObject) (GetWorkCoverResponseObject, error)
	// DownloadChapters Download chapters of a work
	// (POST /works/{work_id}/downloads)
	DownloadChapters(ctx context.Context, request DownloadChaptersRequestObject) (DownloadChaptersResponseObject, error)
	// MatchWork Match the work on the sources again
	// (POST /works/{work_id}/match)
	MatchWork(ctx context.Context, request MatchWorkRequestObject) (MatchWorkResponseObject, error)
	// GetWorkProgress Your progress in a work, and where to continue
	// (GET /works/{work_id}/progress)
	GetWorkProgress(ctx context.Context, request GetWorkProgressRequestObject) (GetWorkProgressResponseObject, error)
	// MarkChaptersRead Mark chapters read or unread
	// (POST /works/{work_id}/progress)
	MarkChaptersRead(ctx context.Context, request MarkChaptersReadRequestObject) (MarkChaptersReadResponseObject, error)
	// RefreshWork Check the work's sources for new chapters now
	// (POST /works/{work_id}/refresh)
	RefreshWork(ctx context.Context, request RefreshWorkRequestObject) (RefreshWorkResponseObject, error)
	// AttachSeries Attach a series to the work by source and key, or by its URL
	// (POST /works/{work_id}/series)
	AttachSeries(ctx context.Context, request AttachSeriesRequestObject) (AttachSeriesResponseObject, error)
	// UpdateWorkSeries Set a series' priority for the work
	// (PATCH /works/{work_id}/series/{series_id})
	UpdateWorkSeries(ctx context.Context, request UpdateWorkSeriesRequestObject) (UpdateWorkSeriesResponseObject, error)
	// AttachCandidate Attach a candidate (or a rejected series)
	// (POST /works/{work_id}/series/{series_id}/attach)
	AttachCandidate(ctx context.Context, request AttachCandidateRequestObject) (AttachCandidateResponseObject, error)
	// ListSeriesChapters One source's chapters of the work, as the source lists them
	// (GET /works/{work_id}/series/{series_id}/chapters)
	ListSeriesChapters(ctx context.Context, request ListSeriesChaptersRequestObject) (ListSeriesChaptersResponseObject, error)
	// DetachSeries Reject a series for the work
	// (POST /works/{work_id}/series/{series_id}/detach)
	DetachSeries(ctx context.Context, request DetachSeriesRequestObject) (DetachSeriesResponseObject, error)
	// SearchWorkSource Search one of the work's sources by hand, to fix its match
	// (POST /works/{work_id}/sources/{source_id}/search)
	SearchWorkSource(ctx context.Context, request SearchWorkSourceRequestObject) (SearchWorkSourceResponseObject, error)
}

StrictServerInterface represents all server handlers.

type SyncPlugin200JSONResponse

type SyncPlugin200JSONResponse Plugin

func (SyncPlugin200JSONResponse) VisitSyncPluginResponse

func (response SyncPlugin200JSONResponse) VisitSyncPluginResponse(w http.ResponseWriter) error

type SyncPluginRequestObject

type SyncPluginRequestObject struct {
	PluginId PluginId `json:"plugin_id"`
}

type SyncPluginResponseObject

type SyncPluginResponseObject interface {
	VisitSyncPluginResponse(w http.ResponseWriter) error
}

type SyncPlugindefaultApplicationProblemPlusJSONResponse

type SyncPlugindefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (SyncPlugindefaultApplicationProblemPlusJSONResponse) VisitSyncPluginResponse

type SystemHealth

type SystemHealth struct {
	Components []ComponentHealth `json:"components"`

	// Status `unavailable`: a required component fails. `degraded`: an optional one fails.
	Status  HealthStatus `json:"status"`
	Version string       `json:"version"`
}

SystemHealth defines model for SystemHealth.

type SystemInfo

type SystemInfo struct {
	// Name Always "panelarr".
	Name SystemInfoName `json:"name"`

	// SetupRequired True until the first account (the admin) exists.
	SetupRequired bool `json:"setup_required"`

	// Version The server version, e.g. "0.3.1", or "dev".
	Version string `json:"version"`
}

SystemInfo defines model for SystemInfo.

type SystemInfoName

type SystemInfoName string

SystemInfoName Always "panelarr".

const (
	SystemInfoNamePanelarr SystemInfoName = "panelarr"
)

Defines values for SystemInfoName.

func (SystemInfoName) Valid

func (e SystemInfoName) Valid() bool

Valid indicates whether the value is a known member of the SystemInfoName enum.

type Task

type Task struct {
	Attempts   int                 `json:"attempts"`
	CreatedAt  time.Time           `json:"created_at"`
	CreatedBy  *openapi_types.UUID `json:"created_by,omitempty"`
	FinishedAt *time.Time          `json:"finished_at,omitempty"`
	Id         openapi_types.UUID  `json:"id"`

	// Kind e.g. match.work, update.work, download.chapter.
	Kind      string  `json:"kind"`
	LastError *string `json:"last_error,omitempty"`

	// LimitKey The limit it counts against, e.g. "source:fake:1001".
	LimitKey    *string                `json:"limit_key,omitempty"`
	MaxAttempts int                    `json:"max_attempts"`
	Payload     map[string]interface{} `json:"payload"`
	Priority    int                    `json:"priority"`
	Progress    *JobProgress           `json:"progress,omitempty"`

	// RunAfter When a queued task may run next (retries wait).
	RunAfter  time.Time  `json:"run_after"`
	StartedAt *time.Time `json:"started_at,omitempty"`
	State     TaskState  `json:"state"`
}

Task defines model for Task.

type TaskId

type TaskId = openapi_types.UUID

TaskId defines model for TaskId.

type TaskList

type TaskList struct {
	NextPageToken string `json:"next_page_token"`
	Tasks         []Task `json:"tasks"`
}

TaskList defines model for TaskList.

type TaskRef

type TaskRef struct {
	TaskId openapi_types.UUID `json:"task_id"`
}

TaskRef defines model for TaskRef.

type TaskState

type TaskState string

TaskState defines model for TaskState.

const (
	TaskStateCancelled TaskState = "cancelled"
	TaskStateFailed    TaskState = "failed"
	TaskStateQueued    TaskState = "queued"
	TaskStateRunning   TaskState = "running"
	TaskStateSucceeded TaskState = "succeeded"
)

Defines values for TaskState.

func (TaskState) Valid

func (e TaskState) Valid() bool

Valid indicates whether the value is a known member of the TaskState enum.

type TestMetaDuplicateJudge200JSONResponse

type TestMetaDuplicateJudge200JSONResponse DuplicateJudgeTest

func (TestMetaDuplicateJudge200JSONResponse) VisitTestMetaDuplicateJudgeResponse

func (response TestMetaDuplicateJudge200JSONResponse) VisitTestMetaDuplicateJudgeResponse(w http.ResponseWriter) error

type TestMetaDuplicateJudgeJSONRequestBody

type TestMetaDuplicateJudgeJSONRequestBody = DuplicateJudgeSettings

TestMetaDuplicateJudgeJSONRequestBody defines body for TestMetaDuplicateJudge for application/json ContentType.

type TestMetaDuplicateJudgeRequestObject

type TestMetaDuplicateJudgeRequestObject struct {
	Body *TestMetaDuplicateJudgeJSONRequestBody
}

type TestMetaDuplicateJudgeResponseObject

type TestMetaDuplicateJudgeResponseObject interface {
	VisitTestMetaDuplicateJudgeResponse(w http.ResponseWriter) error
}

type TestMetaDuplicateJudgedefaultApplicationProblemPlusJSONResponse

type TestMetaDuplicateJudgedefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (TestMetaDuplicateJudgedefaultApplicationProblemPlusJSONResponse) VisitTestMetaDuplicateJudgeResponse

func (response TestMetaDuplicateJudgedefaultApplicationProblemPlusJSONResponse) VisitTestMetaDuplicateJudgeResponse(w http.ResponseWriter) error

type TestMetaSearchEngine200JSONResponse

type TestMetaSearchEngine200JSONResponse SearchEngineTest

func (TestMetaSearchEngine200JSONResponse) VisitTestMetaSearchEngineResponse

func (response TestMetaSearchEngine200JSONResponse) VisitTestMetaSearchEngineResponse(w http.ResponseWriter) error

type TestMetaSearchEngineJSONRequestBody

type TestMetaSearchEngineJSONRequestBody = SearchEngineSettings

TestMetaSearchEngineJSONRequestBody defines body for TestMetaSearchEngine for application/json ContentType.

type TestMetaSearchEngineRequestObject

type TestMetaSearchEngineRequestObject struct {
	Body *TestMetaSearchEngineJSONRequestBody
}

type TestMetaSearchEngineResponseObject

type TestMetaSearchEngineResponseObject interface {
	VisitTestMetaSearchEngineResponse(w http.ResponseWriter) error
}

type TestMetaSearchEnginedefaultApplicationProblemPlusJSONResponse

type TestMetaSearchEnginedefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (TestMetaSearchEnginedefaultApplicationProblemPlusJSONResponse) VisitTestMetaSearchEngineResponse

func (response TestMetaSearchEnginedefaultApplicationProblemPlusJSONResponse) VisitTestMetaSearchEngineResponse(w http.ResponseWriter) error

type TestProxy200JSONResponse

type TestProxy200JSONResponse NetworkTest

func (TestProxy200JSONResponse) VisitTestProxyResponse

func (response TestProxy200JSONResponse) VisitTestProxyResponse(w http.ResponseWriter) error

type TestProxyJSONRequestBody

type TestProxyJSONRequestBody = ProxyTarget

TestProxyJSONRequestBody defines body for TestProxy for application/json ContentType.

type TestProxyRequestObject

type TestProxyRequestObject struct {
	ProxyId ProxyId `json:"proxy_id"`
	Body    *TestProxyJSONRequestBody
}

type TestProxyResponseObject

type TestProxyResponseObject interface {
	VisitTestProxyResponse(w http.ResponseWriter) error
}

type TestProxySettings200JSONResponse

type TestProxySettings200JSONResponse NetworkTest

func (TestProxySettings200JSONResponse) VisitTestProxySettingsResponse

func (response TestProxySettings200JSONResponse) VisitTestProxySettingsResponse(w http.ResponseWriter) error

type TestProxySettingsJSONRequestBody

type TestProxySettingsJSONRequestBody = ProxyTestRequest

TestProxySettingsJSONRequestBody defines body for TestProxySettings for application/json ContentType.

type TestProxySettingsRequestObject

type TestProxySettingsRequestObject struct {
	Body *TestProxySettingsJSONRequestBody
}

type TestProxySettingsResponseObject

type TestProxySettingsResponseObject interface {
	VisitTestProxySettingsResponse(w http.ResponseWriter) error
}

type TestProxySettingsdefaultApplicationProblemPlusJSONResponse

type TestProxySettingsdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (TestProxySettingsdefaultApplicationProblemPlusJSONResponse) VisitTestProxySettingsResponse

func (response TestProxySettingsdefaultApplicationProblemPlusJSONResponse) VisitTestProxySettingsResponse(w http.ResponseWriter) error

type TestProxydefaultApplicationProblemPlusJSONResponse

type TestProxydefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (TestProxydefaultApplicationProblemPlusJSONResponse) VisitTestProxyResponse

type TestSolver200JSONResponse

type TestSolver200JSONResponse NetworkTest

func (TestSolver200JSONResponse) VisitTestSolverResponse

func (response TestSolver200JSONResponse) VisitTestSolverResponse(w http.ResponseWriter) error

type TestSolverRequestObject

type TestSolverRequestObject struct {
	SolverId SolverId `json:"solver_id"`
}

type TestSolverResponseObject

type TestSolverResponseObject interface {
	VisitTestSolverResponse(w http.ResponseWriter) error
}

type TestSolverSettings200JSONResponse

type TestSolverSettings200JSONResponse NetworkTest

func (TestSolverSettings200JSONResponse) VisitTestSolverSettingsResponse

func (response TestSolverSettings200JSONResponse) VisitTestSolverSettingsResponse(w http.ResponseWriter) error

type TestSolverSettingsJSONRequestBody

type TestSolverSettingsJSONRequestBody = NewSolver

TestSolverSettingsJSONRequestBody defines body for TestSolverSettings for application/json ContentType.

type TestSolverSettingsRequestObject

type TestSolverSettingsRequestObject struct {
	Body *TestSolverSettingsJSONRequestBody
}

type TestSolverSettingsResponseObject

type TestSolverSettingsResponseObject interface {
	VisitTestSolverSettingsResponse(w http.ResponseWriter) error
}

type TestSolverSettingsdefaultApplicationProblemPlusJSONResponse

type TestSolverSettingsdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (TestSolverSettingsdefaultApplicationProblemPlusJSONResponse) VisitTestSolverSettingsResponse

func (response TestSolverSettingsdefaultApplicationProblemPlusJSONResponse) VisitTestSolverSettingsResponse(w http.ResponseWriter) error

type TestSolverdefaultApplicationProblemPlusJSONResponse

type TestSolverdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (TestSolverdefaultApplicationProblemPlusJSONResponse) VisitTestSolverResponse

type TestStorage200JSONResponse

type TestStorage200JSONResponse StorageTest

func (TestStorage200JSONResponse) VisitTestStorageResponse

func (response TestStorage200JSONResponse) VisitTestStorageResponse(w http.ResponseWriter) error

type TestStorageRequestObject

type TestStorageRequestObject struct {
	StorageId StorageId `json:"storage_id"`
}

type TestStorageResponseObject

type TestStorageResponseObject interface {
	VisitTestStorageResponse(w http.ResponseWriter) error
}

type TestStoragedefaultApplicationProblemPlusJSONResponse

type TestStoragedefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (TestStoragedefaultApplicationProblemPlusJSONResponse) VisitTestStorageResponse

type TooManyValuesForParamError

type TooManyValuesForParamError struct {
	ParamName string
	Count     int
}

func (*TooManyValuesForParamError) Error

type UnassignNetworkProfile204Response

type UnassignNetworkProfile204Response struct {
}

func (UnassignNetworkProfile204Response) VisitUnassignNetworkProfileResponse

func (response UnassignNetworkProfile204Response) VisitUnassignNetworkProfileResponse(w http.ResponseWriter) error

type UnassignNetworkProfileParams

type UnassignNetworkProfileParams struct {
	TargetKind NetworkTargetKind `form:"target_kind" json:"target_kind"`
	TargetId   *string           `form:"target_id,omitempty" json:"target_id,omitempty"`
}

UnassignNetworkProfileParams defines parameters for UnassignNetworkProfile.

type UnassignNetworkProfileRequestObject

type UnassignNetworkProfileRequestObject struct {
	Params UnassignNetworkProfileParams
}

type UnassignNetworkProfileResponseObject

type UnassignNetworkProfileResponseObject interface {
	VisitUnassignNetworkProfileResponse(w http.ResponseWriter) error
}

type UnassignNetworkProfiledefaultApplicationProblemPlusJSONResponse

type UnassignNetworkProfiledefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (UnassignNetworkProfiledefaultApplicationProblemPlusJSONResponse) VisitUnassignNetworkProfileResponse

func (response UnassignNetworkProfiledefaultApplicationProblemPlusJSONResponse) VisitUnassignNetworkProfileResponse(w http.ResponseWriter) error

type UnescapedCookieParamError

type UnescapedCookieParamError struct {
	ParamName string
	Err       error
}

func (*UnescapedCookieParamError) Error

func (e *UnescapedCookieParamError) Error() string

func (*UnescapedCookieParamError) Unwrap

func (e *UnescapedCookieParamError) Unwrap() error

type UnifiedChapter

type UnifiedChapter struct {
	// Available False when no source lists it any more.
	Available bool `json:"available"`

	// Bookmarked You bookmarked it.
	Bookmarked bool            `json:"bookmarked"`
	Chosen     *ChapterVariant `json:"chosen,omitempty"`

	// CreatedAt When the chapter was first found.
	CreatedAt time.Time `json:"created_at"`

	// DisplayTitle The chapter's own name without its number, volume or scanlator noise ("Vol. 1 Chapter 1: Double Dungeon" → "Double Dungeon"); empty when the name says nothing else, so show "Chapter N".
	DisplayTitle string `json:"display_title"`

	// Downloaded Stored in the library (read from the file).
	Downloaded bool               `json:"downloaded"`
	Extra      bool               `json:"extra"`
	Id         openapi_types.UUID `json:"id"`
	New        bool               `json:"new"`

	// Number Absent for chapters without a number (extras).
	Number *float32 `json:"number,omitempty"`
	Pinned bool     `json:"pinned"`

	// Reason Why the chosen copy won.
	Reason string `json:"reason"`
	Title  string `json:"title"`

	// Variants How many copies across your sources.
	Variants int     `json:"variants"`
	Volume   *string `json:"volume,omitempty"`
}

UnifiedChapter defines model for UnifiedChapter.

type Unimplemented

type Unimplemented struct{}

func (Unimplemented) AcceptInvite

func (_ Unimplemented) AcceptInvite(w http.ResponseWriter, r *http.Request)

AcceptInvite Create an account from an invite (POST /auth/invites/accept)

func (Unimplemented) AddFromSource

func (_ Unimplemented) AddFromSource(w http.ResponseWriter, r *http.Request)

AddFromSource Add a series seen on a source (POST /library/from-source)

func (Unimplemented) AddToLibrary

func (_ Unimplemented) AddToLibrary(w http.ResponseWriter, r *http.Request)

AddToLibrary Add a catalogue entry to your library (POST /library)

func (Unimplemented) AssignNetworkProfile

func (_ Unimplemented) AssignNetworkProfile(w http.ResponseWriter, r *http.Request)

AssignNetworkProfile Assign a profile at one level (PUT /network/assignments)

func (Unimplemented) AttachCandidate

func (_ Unimplemented) AttachCandidate(w http.ResponseWriter, r *http.Request, workId WorkId, seriesId SeriesId)

AttachCandidate Attach a candidate (or a rejected series) (POST /works/{work_id}/series/{series_id}/attach)

func (Unimplemented) AttachSeries

func (_ Unimplemented) AttachSeries(w http.ResponseWriter, r *http.Request, workId WorkId)

AttachSeries Attach a series to the work by source and key, or by its URL (POST /works/{work_id}/series)

func (Unimplemented) BrowseCatalog

func (_ Unimplemented) BrowseCatalog(w http.ResponseWriter, r *http.Request, params BrowseCatalogParams)

BrowseCatalog Browse the catalogue (GET /catalog/browse)

func (Unimplemented) CancelJobRun

func (_ Unimplemented) CancelJobRun(w http.ResponseWriter, r *http.Request, runId RunId)

CancelJobRun Cancel a running run (POST /job-runs/{run_id}/cancel)

func (Unimplemented) CancelMetaJobRun

func (_ Unimplemented) CancelMetaJobRun(w http.ResponseWriter, r *http.Request, runId RunId)

CancelMetaJobRun Cancel a running run of a metadata service job (POST /system/meta/job-runs/{run_id}/cancel)

func (Unimplemented) CancelPluginJobRun

func (_ Unimplemented) CancelPluginJobRun(w http.ResponseWriter, r *http.Request, pluginId PluginId, runId string)

CancelPluginJobRun Cancel a running run of a plugin's job (POST /plugins/{plugin_id}/job-runs/{run_id}/cancel)

func (Unimplemented) CancelTask

func (_ Unimplemented) CancelTask(w http.ResponseWriter, r *http.Request, taskId TaskId)

CancelTask Cancel a queued or running task (POST /tasks/{task_id}/cancel)

func (Unimplemented) ChangeMyPassword

func (_ Unimplemented) ChangeMyPassword(w http.ResponseWriter, r *http.Request)

ChangeMyPassword Change your own password (session only) (POST /me/password)

func (Unimplemented) CheckInvite

func (_ Unimplemented) CheckInvite(w http.ResponseWriter, r *http.Request)

CheckInvite Check an invite token before signing up (POST /auth/invites/check)

func (Unimplemented) CheckMetaConnection

func (_ Unimplemented) CheckMetaConnection(w http.ResponseWriter, r *http.Request)

CheckMetaConnection Check the metadata service again now (POST /system/meta/check)

func (Unimplemented) ClearMyHistory

func (_ Unimplemented) ClearMyHistory(w http.ResponseWriter, r *http.Request)

ClearMyHistory Clear your history (DELETE /me/history)

func (Unimplemented) ClearPackageImageRetries

func (_ Unimplemented) ClearPackageImageRetries(w http.ResponseWriter, r *http.Request, pluginId PluginId, packageId PackageId)

ClearPackageImageRetries Remove a package's image retry setting (DELETE /plugins/{plugin_id}/packages/{package_id}/image-retries)

func (Unimplemented) ClearSourceImageRetries

func (_ Unimplemented) ClearSourceImageRetries(w http.ResponseWriter, r *http.Request, sourceId SourceId)

ClearSourceImageRetries Remove a source's own image retry setting (DELETE /sources/{source_id}/image-retries)

func (Unimplemented) CompleteSetup

func (_ Unimplemented) CompleteSetup(w http.ResponseWriter, r *http.Request)

CompleteSetup Finish the first-run wizard (POST /setup/complete)

func (Unimplemented) ConfirmMetaDuplicate

func (_ Unimplemented) ConfirmMetaDuplicate(w http.ResponseWriter, r *http.Request, pairId int64)

ConfirmMetaDuplicate Merge a pair into one entry (POST /system/meta/duplicates/{pair_id}/confirm)

func (Unimplemented) CreateInvite

func (_ Unimplemented) CreateInvite(w http.ResponseWriter, r *http.Request)

CreateInvite Create an invite (POST /invites)

func (Unimplemented) CreateMyApiKey

func (_ Unimplemented) CreateMyApiKey(w http.ResponseWriter, r *http.Request)

CreateMyApiKey Create an API key (session only) (POST /me/api-keys)

func (Unimplemented) CreateNetworkProfile

func (_ Unimplemented) CreateNetworkProfile(w http.ResponseWriter, r *http.Request)

CreateNetworkProfile Add a network profile (POST /network/profiles)

func (Unimplemented) CreateProxy

func (_ Unimplemented) CreateProxy(w http.ResponseWriter, r *http.Request)

CreateProxy Add a proxy (POST /network/proxies)

func (Unimplemented) CreateSetupAdmin

func (_ Unimplemented) CreateSetupAdmin(w http.ResponseWriter, r *http.Request)

CreateSetupAdmin Create the first account (the admin) (POST /setup/admin)

func (Unimplemented) CreateSolver

func (_ Unimplemented) CreateSolver(w http.ResponseWriter, r *http.Request)

CreateSolver Add a solver (POST /network/solvers)

func (Unimplemented) CreateStorage

func (_ Unimplemented) CreateStorage(w http.ResponseWriter, r *http.Request)

CreateStorage Add a storage (POST /storages)

func (Unimplemented) CreateUser

func (_ Unimplemented) CreateUser(w http.ResponseWriter, r *http.Request)

CreateUser Create a user with a password (POST /users)

func (Unimplemented) DeleteChapterFile

func (_ Unimplemented) DeleteChapterFile(w http.ResponseWriter, r *http.Request, chapterId ChapterId)

DeleteChapterFile Delete a chapter's downloaded file (DELETE /chapters/{chapter_id}/file)

func (Unimplemented) DeleteInvite

func (_ Unimplemented) DeleteInvite(w http.ResponseWriter, r *http.Request, id Id)

DeleteInvite Revoke an invite (DELETE /invites/{id})

func (Unimplemented) DeleteMyApiKey

func (_ Unimplemented) DeleteMyApiKey(w http.ResponseWriter, r *http.Request, id Id)

DeleteMyApiKey Revoke an API key (session only) (DELETE /me/api-keys/{id})

func (Unimplemented) DeleteMySession

func (_ Unimplemented) DeleteMySession(w http.ResponseWriter, r *http.Request, id Id)

DeleteMySession Sign out another session (session only) (DELETE /me/sessions/{id})

func (Unimplemented) DeleteNetworkProfile

func (_ Unimplemented) DeleteNetworkProfile(w http.ResponseWriter, r *http.Request, profileId ProfileId)

DeleteNetworkProfile Remove a profile (DELETE /network/profiles/{profile_id})

func (Unimplemented) DeletePlugin

func (_ Unimplemented) DeletePlugin(w http.ResponseWriter, r *http.Request, pluginId PluginId)

DeletePlugin Remove a plugin and its sources (DELETE /plugins/{plugin_id})

func (Unimplemented) DeleteProxy

func (_ Unimplemented) DeleteProxy(w http.ResponseWriter, r *http.Request, proxyId ProxyId)

DeleteProxy Remove a proxy (DELETE /network/proxies/{proxy_id})

func (Unimplemented) DeleteReaderSettings

func (_ Unimplemented) DeleteReaderSettings(w http.ResponseWriter, r *http.Request, scope string)

DeleteReaderSettings Remove one level (fall back to the broader ones) (DELETE /me/reader-settings/{scope})

func (Unimplemented) DeleteSolver

func (_ Unimplemented) DeleteSolver(w http.ResponseWriter, r *http.Request, solverId SolverId)

DeleteSolver Remove a solver (DELETE /network/solvers/{solver_id})

func (Unimplemented) DeleteStorage

func (_ Unimplemented) DeleteStorage(w http.ResponseWriter, r *http.Request, storageId StorageId)

DeleteStorage Remove an empty storage (DELETE /storages/{storage_id})

func (Unimplemented) DeleteUser

func (_ Unimplemented) DeleteUser(w http.ResponseWriter, r *http.Request, id Id)

DeleteUser Delete a user (DELETE /users/{id})

func (Unimplemented) DetachSeries

func (_ Unimplemented) DetachSeries(w http.ResponseWriter, r *http.Request, workId WorkId, seriesId SeriesId)

DetachSeries Reject a series for the work (POST /works/{work_id}/series/{series_id}/detach)

func (Unimplemented) DismissMetaDuplicate

func (_ Unimplemented) DismissMetaDuplicate(w http.ResponseWriter, r *http.Request, pairId int64)

DismissMetaDuplicate Mark a pair as different works (POST /system/meta/duplicates/{pair_id}/dismiss)

func (Unimplemented) DownloadChapters

func (_ Unimplemented) DownloadChapters(w http.ResponseWriter, r *http.Request, workId WorkId)

DownloadChapters Download chapters of a work (POST /works/{work_id}/downloads)

func (Unimplemented) GetCatalogEntry

func (_ Unimplemented) GetCatalogEntry(w http.ResponseWriter, r *http.Request, entryId EntryId, params GetCatalogEntryParams)

GetCatalogEntry One catalogue entry in full (GET /catalog/entries/{entry_id})

func (Unimplemented) GetCatalogEntryCover

func (_ Unimplemented) GetCatalogEntryCover(w http.ResponseWriter, r *http.Request, entryId EntryId)

GetCatalogEntryCover An entry's cover image (GET /catalog/entries/{entry_id}/cover)

func (Unimplemented) GetChapterPage

func (_ Unimplemented) GetChapterPage(w http.ResponseWriter, r *http.Request, chapterId ChapterId, index int, params GetChapterPageParams)

GetChapterPage One page image (GET /chapters/{chapter_id}/pages/{index})

func (Unimplemented) GetChapterPages

func (_ Unimplemented) GetChapterPages(w http.ResponseWriter, r *http.Request, chapterId ChapterId, params GetChapterPagesParams)

GetChapterPages A chapter's pages for the reader (GET /chapters/{chapter_id}/pages)

func (Unimplemented) GetJob

func (_ Unimplemented) GetJob(w http.ResponseWriter, r *http.Request, jobId JobId)

GetJob One job (GET /jobs/{job_id})

func (Unimplemented) GetJobRun

func (_ Unimplemented) GetJobRun(w http.ResponseWriter, r *http.Request, runId RunId)

GetJobRun One run in full (GET /job-runs/{run_id})

func (Unimplemented) GetMe

func (_ Unimplemented) GetMe(w http.ResponseWriter, r *http.Request)

GetMe The signed-in user (GET /me)

func (Unimplemented) GetMetaConnection

func (_ Unimplemented) GetMetaConnection(w http.ResponseWriter, r *http.Request)

GetMetaConnection The metadata service connection and its state (GET /system/meta)

func (Unimplemented) GetMetaDuplicate

func (_ Unimplemented) GetMetaDuplicate(w http.ResponseWriter, r *http.Request, pairId int64)

GetMetaDuplicate One pair, both entries side by side (GET /system/meta/duplicates/{pair_id})

func (Unimplemented) GetMetaDuplicateJudge

func (_ Unimplemented) GetMetaDuplicateJudge(w http.ResponseWriter, r *http.Request)

GetMetaDuplicateJudge The decision model that rates duplicate pairs (GET /system/meta/duplicate-judge)

func (Unimplemented) GetMetaHealth

func (_ Unimplemented) GetMetaHealth(w http.ResponseWriter, r *http.Request)

GetMetaHealth The metadata service's health, per component (GET /system/meta/health)

func (Unimplemented) GetMetaJob

func (_ Unimplemented) GetMetaJob(w http.ResponseWriter, r *http.Request, jobId JobId)

GetMetaJob One of the metadata service's jobs (GET /system/meta/jobs/{job_id})

func (Unimplemented) GetMetaJobRun

func (_ Unimplemented) GetMetaJobRun(w http.ResponseWriter, r *http.Request, runId RunId)

GetMetaJobRun One run of a metadata service job, in full (GET /system/meta/job-runs/{run_id})

func (Unimplemented) GetMetaNetwork

func (_ Unimplemented) GetMetaNetwork(w http.ResponseWriter, r *http.Request)

GetMetaNetwork The network profile in force for each metadata provider (GET /system/meta/network)

func (Unimplemented) GetMetaSearchEngine

func (_ Unimplemented) GetMetaSearchEngine(w http.ResponseWriter, r *http.Request)

GetMetaSearchEngine The metadata service's search engine and the state of its index (GET /system/meta/search-engine)

func (Unimplemented) GetMetaSyncRun

func (_ Unimplemented) GetMetaSyncRun(w http.ResponseWriter, r *http.Request, syncRunId string)

GetMetaSyncRun One sync run in full (GET /system/meta/sync-runs/{sync_run_id})

func (Unimplemented) GetMyHistory

func (_ Unimplemented) GetMyHistory(w http.ResponseWriter, r *http.Request, params GetMyHistoryParams)

GetMyHistory Chapters you read, newest first (GET /me/history)

func (Unimplemented) GetMyPreferences

func (_ Unimplemented) GetMyPreferences(w http.ResponseWriter, r *http.Request)

GetMyPreferences Your app preferences (GET /me/preferences)

func (Unimplemented) GetMyUpdates

func (_ Unimplemented) GetMyUpdates(w http.ResponseWriter, r *http.Request, params GetMyUpdatesParams)

GetMyUpdates Chapters that appeared in your library, newest first (GET /me/updates)

func (Unimplemented) GetMyUpdatesStatus

func (_ Unimplemented) GetMyUpdatesStatus(w http.ResponseWriter, r *http.Request)

GetMyUpdatesStatus How the chapter checks of your library stand (GET /me/updates/status)

func (Unimplemented) GetNetworkProfile

func (_ Unimplemented) GetNetworkProfile(w http.ResponseWriter, r *http.Request, profileId ProfileId)

GetNetworkProfile One network profile (GET /network/profiles/{profile_id})

func (Unimplemented) GetPackage

func (_ Unimplemented) GetPackage(w http.ResponseWriter, r *http.Request, pluginId PluginId, packageId PackageId)

GetPackage One of a plugin's packages (GET /plugins/{plugin_id}/packages/{package_id})

func (Unimplemented) GetPackageIcon

func (_ Unimplemented) GetPackageIcon(w http.ResponseWriter, r *http.Request, pluginId PluginId, packageId PackageId, params GetPackageIconParams)

GetPackageIcon A package's icon (GET /plugins/{plugin_id}/packages/{package_id}/icon)

func (Unimplemented) GetPackageImageRetries

func (_ Unimplemented) GetPackageImageRetries(w http.ResponseWriter, r *http.Request, pluginId PluginId, packageId PackageId)

GetPackageImageRetries How a package's sources retry failed page images (GET /plugins/{plugin_id}/packages/{package_id}/image-retries)

func (Unimplemented) GetPlugin

func (_ Unimplemented) GetPlugin(w http.ResponseWriter, r *http.Request, pluginId PluginId)

GetPlugin Get a plugin (GET /plugins/{plugin_id})

func (Unimplemented) GetPluginConfig

func (_ Unimplemented) GetPluginConfig(w http.ResponseWriter, r *http.Request, pluginId PluginId)

GetPluginConfig A plugin's configuration and its schema (GET /plugins/{plugin_id}/config)

func (Unimplemented) GetPluginJob

func (_ Unimplemented) GetPluginJob(w http.ResponseWriter, r *http.Request, pluginId PluginId, jobId JobId)

GetPluginJob One of a plugin's jobs (GET /plugins/{plugin_id}/jobs/{job_id})

func (Unimplemented) GetPluginJobRun

func (_ Unimplemented) GetPluginJobRun(w http.ResponseWriter, r *http.Request, pluginId PluginId, runId string)

GetPluginJobRun One run of a plugin's job, in full (GET /plugins/{plugin_id}/job-runs/{run_id})

func (Unimplemented) GetPluginNetwork

func (_ Unimplemented) GetPluginNetwork(w http.ResponseWriter, r *http.Request, pluginId PluginId)

GetPluginNetwork The network profile in force for each of a plugin's sources (GET /plugins/{plugin_id}/network)

func (Unimplemented) GetProxy

func (_ Unimplemented) GetProxy(w http.ResponseWriter, r *http.Request, proxyId ProxyId)

GetProxy One proxy (GET /network/proxies/{proxy_id})

func (Unimplemented) GetQueue

func (_ Unimplemented) GetQueue(w http.ResponseWriter, r *http.Request)

GetQueue The task queue per kind (GET /queue)

func (Unimplemented) GetReaderSettings

func (_ Unimplemented) GetReaderSettings(w http.ResponseWriter, r *http.Request, params GetReaderSettingsParams)

GetReaderSettings Your reader settings for a place (GET /me/reader-settings)

func (Unimplemented) GetSetup

func (_ Unimplemented) GetSetup(w http.ResponseWriter, r *http.Request)

GetSetup First-run wizard state (GET /setup)

func (Unimplemented) GetSolver

func (_ Unimplemented) GetSolver(w http.ResponseWriter, r *http.Request, solverId SolverId)

GetSolver One solver (GET /network/solvers/{solver_id})

func (Unimplemented) GetSourceImageRetries

func (_ Unimplemented) GetSourceImageRetries(w http.ResponseWriter, r *http.Request, sourceId SourceId)

GetSourceImageRetries How a source retries failed page images (GET /sources/{source_id}/image-retries)

func (Unimplemented) GetSourceNetwork

func (_ Unimplemented) GetSourceNetwork(w http.ResponseWriter, r *http.Request, sourceId SourceId)

GetSourceNetwork A source's network profile, and what its plugin applies (GET /sources/{source_id}/network)

func (Unimplemented) GetSourceSettings

func (_ Unimplemented) GetSourceSettings(w http.ResponseWriter, r *http.Request, sourceId SourceId)

GetSourceSettings A source's own settings and their schema (GET /sources/{source_id}/settings)

func (Unimplemented) GetSystemHealth

func (_ Unimplemented) GetSystemHealth(w http.ResponseWriter, r *http.Request)

GetSystemHealth Detailed health (admins) (GET /system/health)

func (Unimplemented) GetSystemInfo

func (_ Unimplemented) GetSystemInfo(w http.ResponseWriter, r *http.Request)

GetSystemInfo Server name, version and setup state (GET /system/info)

func (Unimplemented) GetTask

func (_ Unimplemented) GetTask(w http.ResponseWriter, r *http.Request, taskId TaskId)

GetTask One task (GET /tasks/{task_id})

func (Unimplemented) GetUser

func (_ Unimplemented) GetUser(w http.ResponseWriter, r *http.Request, id Id)

GetUser Get a user (GET /users/{id})

func (Unimplemented) GetWork

func (_ Unimplemented) GetWork(w http.ResponseWriter, r *http.Request, workId WorkId)

GetWork A work, with how it is matched on each source (GET /works/{work_id})

func (Unimplemented) GetWorkChapter

func (_ Unimplemented) GetWorkChapter(w http.ResponseWriter, r *http.Request, workId WorkId, chapterId ChapterId)

GetWorkChapter One chapter with every copy (GET /works/{work_id}/chapters/{chapter_id})

func (Unimplemented) GetWorkCover

func (_ Unimplemented) GetWorkCover(w http.ResponseWriter, r *http.Request, workId WorkId)

GetWorkCover A work's cover (GET /works/{work_id}/cover)

func (Unimplemented) GetWorkProgress

func (_ Unimplemented) GetWorkProgress(w http.ResponseWriter, r *http.Request, workId WorkId)

GetWorkProgress Your progress in a work, and where to continue (GET /works/{work_id}/progress)

func (Unimplemented) InstallPackage

func (_ Unimplemented) InstallPackage(w http.ResponseWriter, r *http.Request, pluginId PluginId, packageId PackageId)

InstallPackage Install a package (POST /plugins/{plugin_id}/packages/{package_id}/install)

func (Unimplemented) ListBookmarks

func (_ Unimplemented) ListBookmarks(w http.ResponseWriter, r *http.Request, workId WorkId)

ListBookmarks Your bookmarked chapters of a work (GET /works/{work_id}/bookmarks)

func (Unimplemented) ListDownloads

func (_ Unimplemented) ListDownloads(w http.ResponseWriter, r *http.Request, params ListDownloadsParams)

ListDownloads Download queue and history (GET /downloads)

func (Unimplemented) ListInvites

func (_ Unimplemented) ListInvites(w http.ResponseWriter, r *http.Request)

ListInvites List open invites (GET /invites)

func (Unimplemented) ListJobRuns

func (_ Unimplemented) ListJobRuns(w http.ResponseWriter, r *http.Request, jobId JobId, params ListJobRunsParams)

ListJobRuns A job's runs, newest first (GET /jobs/{job_id}/runs)

func (Unimplemented) ListJobs

func (_ Unimplemented) ListJobs(w http.ResponseWriter, r *http.Request)

ListJobs Background jobs (GET /jobs)

func (Unimplemented) ListLibrary

func (_ Unimplemented) ListLibrary(w http.ResponseWriter, r *http.Request, params ListLibraryParams)

ListLibrary Your library (GET /library)

func (Unimplemented) ListMetaDuplicates

func (_ Unimplemented) ListMetaDuplicates(w http.ResponseWriter, r *http.Request, params ListMetaDuplicatesParams)

ListMetaDuplicates Pairs of catalogue entries the metadata service suspects are one work (GET /system/meta/duplicates)

func (Unimplemented) ListMetaJobRuns

func (_ Unimplemented) ListMetaJobRuns(w http.ResponseWriter, r *http.Request, jobId JobId, params ListMetaJobRunsParams)

ListMetaJobRuns A metadata service job's runs, newest first (GET /system/meta/jobs/{job_id}/runs)

func (Unimplemented) ListMetaJobs

func (_ Unimplemented) ListMetaJobs(w http.ResponseWriter, r *http.Request)

ListMetaJobs The metadata service's background jobs (GET /system/meta/jobs)

func (Unimplemented) ListMetaProviders

func (_ Unimplemented) ListMetaProviders(w http.ResponseWriter, r *http.Request)

ListMetaProviders The metadata service's providers (GET /system/meta/providers)

func (Unimplemented) ListMetaSyncRuns

func (_ Unimplemented) ListMetaSyncRuns(w http.ResponseWriter, r *http.Request, params ListMetaSyncRunsParams)

ListMetaSyncRuns Provider sync runs, newest first (GET /system/meta/sync-runs)

func (Unimplemented) ListMyApiKeys

func (_ Unimplemented) ListMyApiKeys(w http.ResponseWriter, r *http.Request)

ListMyApiKeys Your API keys (session only) (GET /me/api-keys)

func (Unimplemented) ListMySessions

func (_ Unimplemented) ListMySessions(w http.ResponseWriter, r *http.Request)

ListMySessions Your signed-in sessions (session only) (GET /me/sessions)

func (Unimplemented) ListNetworkAssignments

func (_ Unimplemented) ListNetworkAssignments(w http.ResponseWriter, r *http.Request)

ListNetworkAssignments Where profiles are assigned (GET /network/assignments)

func (Unimplemented) ListNetworkProfiles

func (_ Unimplemented) ListNetworkProfiles(w http.ResponseWriter, r *http.Request, params ListNetworkProfilesParams)

ListNetworkProfiles Network profiles (GET /network/profiles)

func (Unimplemented) ListPackageOrigins

func (_ Unimplemented) ListPackageOrigins(w http.ResponseWriter, r *http.Request, pluginId PluginId)

ListPackageOrigins Where a plugin's packages come from (e.g. its stores) (GET /plugins/{plugin_id}/origins)

func (Unimplemented) ListPackages

func (_ Unimplemented) ListPackages(w http.ResponseWriter, r *http.Request, pluginId PluginId, params ListPackagesParams)

ListPackages The packages a plugin offers and has installed (GET /plugins/{plugin_id}/packages)

func (Unimplemented) ListPluginJobRuns

func (_ Unimplemented) ListPluginJobRuns(w http.ResponseWriter, r *http.Request, pluginId PluginId, jobId JobId, params ListPluginJobRunsParams)

ListPluginJobRuns A plugin job's runs, newest first (GET /plugins/{plugin_id}/jobs/{job_id}/runs)

func (Unimplemented) ListPluginJobs

func (_ Unimplemented) ListPluginJobs(w http.ResponseWriter, r *http.Request, pluginId PluginId)

ListPluginJobs A plugin's background jobs (GET /plugins/{plugin_id}/jobs)

func (Unimplemented) ListPlugins

func (_ Unimplemented) ListPlugins(w http.ResponseWriter, r *http.Request)

ListPlugins List source plugins (GET /plugins)

func (Unimplemented) ListProxies

func (_ Unimplemented) ListProxies(w http.ResponseWriter, r *http.Request, params ListProxiesParams)

ListProxies The proxys (GET /network/proxies)

func (Unimplemented) ListSeriesChapters

func (_ Unimplemented) ListSeriesChapters(w http.ResponseWriter, r *http.Request, workId WorkId, seriesId SeriesId)

ListSeriesChapters One source's chapters of the work, as the source lists them (GET /works/{work_id}/series/{series_id}/chapters)

func (Unimplemented) ListSolvers

func (_ Unimplemented) ListSolvers(w http.ResponseWriter, r *http.Request, params ListSolversParams)

ListSolvers The solvers (GET /network/solvers)

func (Unimplemented) ListSources

func (_ Unimplemented) ListSources(w http.ResponseWriter, r *http.Request, params ListSourcesParams)

ListSources The sources of every plugin (GET /sources)

func (Unimplemented) ListStorages

func (_ Unimplemented) ListStorages(w http.ResponseWriter, r *http.Request)

ListStorages Storage endpoints for downloads (GET /storages)

func (Unimplemented) ListTasks

func (_ Unimplemented) ListTasks(w http.ResponseWriter, r *http.Request, params ListTasksParams)

ListTasks Queued, running and recent tasks (GET /tasks)

func (Unimplemented) ListUsers

func (_ Unimplemented) ListUsers(w http.ResponseWriter, r *http.Request, params ListUsersParams)

ListUsers List users (GET /users)

func (Unimplemented) ListWorkChapters

func (_ Unimplemented) ListWorkChapters(w http.ResponseWriter, r *http.Request, workId WorkId, params ListWorkChaptersParams)

ListWorkChapters A work's unified chapters (GET /works/{work_id}/chapters)

func (Unimplemented) Login

func (_ Unimplemented) Login(w http.ResponseWriter, r *http.Request)

Login Sign in with a username and password (POST /auth/login)

func (Unimplemented) Logout

func (_ Unimplemented) Logout(w http.ResponseWriter, r *http.Request)

Logout Sign out (session only) (POST /auth/logout)

func (Unimplemented) MarkChaptersRead

func (_ Unimplemented) MarkChaptersRead(w http.ResponseWriter, r *http.Request, workId WorkId)

MarkChaptersRead Mark chapters read or unread (POST /works/{work_id}/progress)

func (Unimplemented) MarkWorkSeen

func (_ Unimplemented) MarkWorkSeen(w http.ResponseWriter, r *http.Request, workId WorkId)

MarkWorkSeen Clear the work's "new" chapter badges for you (POST /library/{work_id}/seen)

func (Unimplemented) MatchWork

func (_ Unimplemented) MatchWork(w http.ResponseWriter, r *http.Request, workId WorkId)

MatchWork Match the work on the sources again (POST /works/{work_id}/match)

func (Unimplemented) MoveStorage

func (_ Unimplemented) MoveStorage(w http.ResponseWriter, r *http.Request, storageId StorageId)

MoveStorage Move every file to another storage (POST /storages/{storage_id}/move)

func (Unimplemented) PinChapterVariant

func (_ Unimplemented) PinChapterVariant(w http.ResponseWriter, r *http.Request, workId WorkId, chapterId ChapterId)

PinChapterVariant Choose a chapter's copy by hand (PUT /works/{work_id}/chapters/{chapter_id}/pin)

func (Unimplemented) PutMetaDuplicateJudge

func (_ Unimplemented) PutMetaDuplicateJudge(w http.ResponseWriter, r *http.Request)

PutMetaDuplicateJudge Save the decision model settings (PUT /system/meta/duplicate-judge)

func (Unimplemented) PutMetaSearchEngine

func (_ Unimplemented) PutMetaSearchEngine(w http.ResponseWriter, r *http.Request)

PutMetaSearchEngine Save the search engine settings (PUT /system/meta/search-engine)

func (Unimplemented) PutMyPreferences

func (_ Unimplemented) PutMyPreferences(w http.ResponseWriter, r *http.Request)

PutMyPreferences Replace your app preferences (PUT /me/preferences)

func (Unimplemented) PutReaderSettings

func (_ Unimplemented) PutReaderSettings(w http.ResponseWriter, r *http.Request, scope string)

PutReaderSettings Replace one level of your reader settings (PUT /me/reader-settings/{scope})

func (Unimplemented) RefreshMetaEntry

func (_ Unimplemented) RefreshMetaEntry(w http.ResponseWriter, r *http.Request, entryId EntryId)

RefreshMetaEntry Fetch fresh data for one catalogue entry from its providers now (POST /system/meta/entries/{entry_id}/refresh)

func (Unimplemented) RefreshMyUpdates

func (_ Unimplemented) RefreshMyUpdates(w http.ResponseWriter, r *http.Request)

RefreshMyUpdates Check your library for new chapters now (POST /me/updates/refresh)

func (Unimplemented) RefreshPackageOrigin

func (_ Unimplemented) RefreshPackageOrigin(w http.ResponseWriter, r *http.Request, pluginId PluginId, originId string)

RefreshPackageOrigin Fetch an origin's package list again now (POST /plugins/{plugin_id}/origins/{origin_id}/refresh)

func (Unimplemented) RefreshWork

func (_ Unimplemented) RefreshWork(w http.ResponseWriter, r *http.Request, workId WorkId)

RefreshWork Check the work's sources for new chapters now (POST /works/{work_id}/refresh)

func (Unimplemented) RegisterPlugin

func (_ Unimplemented) RegisterPlugin(w http.ResponseWriter, r *http.Request)

RegisterPlugin Add a source plugin running as a service (POST /plugins)

func (Unimplemented) ReloadPackage

func (_ Unimplemented) ReloadPackage(w http.ResponseWriter, r *http.Request, pluginId PluginId, packageId PackageId)

ReloadPackage Load an installed package again (POST /plugins/{plugin_id}/packages/{package_id}/reload)

func (Unimplemented) RemoveFromLibrary

func (_ Unimplemented) RemoveFromLibrary(w http.ResponseWriter, r *http.Request, workId WorkId)

RemoveFromLibrary Remove a work from your library (DELETE /library/{work_id})

func (Unimplemented) RemoveFromMyHistory

func (_ Unimplemented) RemoveFromMyHistory(w http.ResponseWriter, r *http.Request, workId WorkId)

RemoveFromMyHistory Take a series out of your history (DELETE /me/history/{work_id})

func (Unimplemented) ReopenMetaDuplicate

func (_ Unimplemented) ReopenMetaDuplicate(w http.ResponseWriter, r *http.Request, pairId int64)

ReopenMetaDuplicate Take back a dismissal (POST /system/meta/duplicates/{pair_id}/reopen)

func (Unimplemented) ReplaceNetworkProfile

func (_ Unimplemented) ReplaceNetworkProfile(w http.ResponseWriter, r *http.Request, profileId ProfileId)

ReplaceNetworkProfile Replace a profile's settings (PUT /network/profiles/{profile_id})

func (Unimplemented) ResetMetaDuplicateJudge

func (_ Unimplemented) ResetMetaDuplicateJudge(w http.ResponseWriter, r *http.Request)

ResetMetaDuplicateJudge Forget the saved settings; meta's configuration applies again (POST /system/meta/duplicate-judge/reset)

func (Unimplemented) ResetMetaSearchEngine

func (_ Unimplemented) ResetMetaSearchEngine(w http.ResponseWriter, r *http.Request)

ResetMetaSearchEngine Forget the saved settings; meta's configuration applies again (POST /system/meta/search-engine/reset)

func (Unimplemented) RetryTask

func (_ Unimplemented) RetryTask(w http.ResponseWriter, r *http.Request, taskId TaskId)

RetryTask Run a failed or cancelled task again (POST /tasks/{task_id}/retry)

func (Unimplemented) RunJob

func (_ Unimplemented) RunJob(w http.ResponseWriter, r *http.Request, jobId JobId)

RunJob Run a job now (POST /jobs/{job_id}/run)

func (Unimplemented) RunMetaJob

func (_ Unimplemented) RunMetaJob(w http.ResponseWriter, r *http.Request, jobId JobId)

RunMetaJob Run one of the metadata service's jobs now (POST /system/meta/jobs/{job_id}/run)

func (Unimplemented) RunMetaProviderSync

func (_ Unimplemented) RunMetaProviderSync(w http.ResponseWriter, r *http.Request, provider string)

RunMetaProviderSync Start a sync of a metadata provider (POST /system/meta/providers/{provider}/sync)

func (Unimplemented) RunPluginJob

func (_ Unimplemented) RunPluginJob(w http.ResponseWriter, r *http.Request, pluginId PluginId, jobId JobId)

RunPluginJob Run one of a plugin's jobs now (POST /plugins/{plugin_id}/jobs/{job_id}/run)

func (Unimplemented) SearchCatalog

func (_ Unimplemented) SearchCatalog(w http.ResponseWriter, r *http.Request, params SearchCatalogParams)

SearchCatalog Search the catalogue by title (GET /catalog/search)

func (Unimplemented) SearchWorkSource

func (_ Unimplemented) SearchWorkSource(w http.ResponseWriter, r *http.Request, workId WorkId, sourceId SourceId)

SearchWorkSource Search one of the work's sources by hand, to fix its match (POST /works/{work_id}/sources/{source_id}/search)

func (Unimplemented) SetAutoDownload

func (_ Unimplemented) SetAutoDownload(w http.ResponseWriter, r *http.Request, workId WorkId)

SetAutoDownload Download new chapters of a work automatically (PUT /library/{work_id}/auto-download)

func (Unimplemented) SetBookmarks

func (_ Unimplemented) SetBookmarks(w http.ResponseWriter, r *http.Request, workId WorkId)

SetBookmarks Bookmark chapters, or remove their bookmarks (POST /works/{work_id}/bookmarks)

func (Unimplemented) SetChapterProgress

func (_ Unimplemented) SetChapterProgress(w http.ResponseWriter, r *http.Request, chapterId ChapterId)

SetChapterProgress Save where you are in a chapter (PUT /chapters/{chapter_id}/progress)

func (Unimplemented) SetMetaConnection

func (_ Unimplemented) SetMetaConnection(w http.ResponseWriter, r *http.Request)

SetMetaConnection Connect the metadata service (PUT /system/meta)

func (Unimplemented) SetPackageImageRetries

func (_ Unimplemented) SetPackageImageRetries(w http.ResponseWriter, r *http.Request, pluginId PluginId, packageId PackageId)

SetPackageImageRetries Set how a package's sources retry failed page images (PUT /plugins/{plugin_id}/packages/{package_id}/image-retries)

func (Unimplemented) SetPackageLanguages

func (_ Unimplemented) SetPackageLanguages(w http.ResponseWriter, r *http.Request, pluginId PluginId, packageId PackageId)

SetPackageLanguages Choose the languages a package offers sources in (PUT /plugins/{plugin_id}/packages/{package_id}/languages)

func (Unimplemented) SetPluginConfig

func (_ Unimplemented) SetPluginConfig(w http.ResponseWriter, r *http.Request, pluginId PluginId)

SetPluginConfig Replace a plugin's configuration (PUT /plugins/{plugin_id}/config)

func (Unimplemented) SetSourceHealthCheck

func (_ Unimplemented) SetSourceHealthCheck(w http.ResponseWriter, r *http.Request, sourceId SourceId)

SetSourceHealthCheck Turn a source's scheduled health checks on or off (PUT /sources/{source_id}/health-check)

func (Unimplemented) SetSourceImageRetries

func (_ Unimplemented) SetSourceImageRetries(w http.ResponseWriter, r *http.Request, sourceId SourceId)

SetSourceImageRetries Set how a source retries failed page images (PUT /sources/{source_id}/image-retries)

func (Unimplemented) SetSourceSettings

func (_ Unimplemented) SetSourceSettings(w http.ResponseWriter, r *http.Request, sourceId SourceId)

SetSourceSettings Change some of a source's settings (PATCH /sources/{source_id}/settings)

func (Unimplemented) SourceChapters

func (_ Unimplemented) SourceChapters(w http.ResponseWriter, r *http.Request, sourceId SourceId, params SourceChaptersParams)

SourceChapters A series' chapters exactly as the source lists them (GET /sources/{source_id}/chapters)

func (Unimplemented) SourceFilters

func (_ Unimplemented) SourceFilters(w http.ResponseWriter, r *http.Request, sourceId SourceId)

SourceFilters A source's search filters (GET /sources/{source_id}/filters)

func (Unimplemented) SourceImage

func (_ Unimplemented) SourceImage(w http.ResponseWriter, r *http.Request, sourceId SourceId, params SourceImageParams)

SourceImage An image from a source (covers, icons) (GET /sources/{source_id}/image)

func (Unimplemented) SourceLatest

func (_ Unimplemented) SourceLatest(w http.ResponseWriter, r *http.Request, sourceId SourceId, params SourceLatestParams)

SourceLatest A source's latest updates (GET /sources/{source_id}/latest)

func (Unimplemented) SourcePopular

func (_ Unimplemented) SourcePopular(w http.ResponseWriter, r *http.Request, sourceId SourceId, params SourcePopularParams)

SourcePopular A source's popular series (GET /sources/{source_id}/popular)

func (Unimplemented) SourceSearch

func (_ Unimplemented) SourceSearch(w http.ResponseWriter, r *http.Request, sourceId SourceId)

SourceSearch Search a source (POST /sources/{source_id}/search)

func (Unimplemented) SourceSeries

func (_ Unimplemented) SourceSeries(w http.ResponseWriter, r *http.Request, sourceId SourceId, params SourceSeriesParams)

SourceSeries A series on a source, in full (GET /sources/{source_id}/series)

func (Unimplemented) SyncPlugin

func (_ Unimplemented) SyncPlugin(w http.ResponseWriter, r *http.Request, pluginId PluginId)

SyncPlugin Refresh a plugin's info, health and sources now (POST /plugins/{plugin_id}/sync)

func (Unimplemented) TestMetaDuplicateJudge

func (_ Unimplemented) TestMetaDuplicateJudge(w http.ResponseWriter, r *http.Request)

TestMetaDuplicateJudge Ask the model about a made-up pair, without saving (POST /system/meta/duplicate-judge/test)

func (Unimplemented) TestMetaSearchEngine

func (_ Unimplemented) TestMetaSearchEngine(w http.ResponseWriter, r *http.Request)

TestMetaSearchEngine Check search engine settings without saving them (POST /system/meta/search-engine/test)

func (Unimplemented) TestProxy

func (_ Unimplemented) TestProxy(w http.ResponseWriter, r *http.Request, proxyId ProxyId)

TestProxy Check a saved proxy (POST /network/proxies/{proxy_id}/test)

func (Unimplemented) TestProxySettings

func (_ Unimplemented) TestProxySettings(w http.ResponseWriter, r *http.Request)

TestProxySettings Check a proxy before saving it (POST /network/proxies/test)

func (Unimplemented) TestSolver

func (_ Unimplemented) TestSolver(w http.ResponseWriter, r *http.Request, solverId SolverId)

TestSolver Check a saved solver (POST /network/solvers/{solver_id}/test)

func (Unimplemented) TestSolverSettings

func (_ Unimplemented) TestSolverSettings(w http.ResponseWriter, r *http.Request)

TestSolverSettings Check a solver before saving it (POST /network/solvers/test)

func (Unimplemented) TestStorage

func (_ Unimplemented) TestStorage(w http.ResponseWriter, r *http.Request, storageId StorageId)

TestStorage Check a storage now (POST /storages/{storage_id}/test)

func (Unimplemented) UnassignNetworkProfile

func (_ Unimplemented) UnassignNetworkProfile(w http.ResponseWriter, r *http.Request, params UnassignNetworkProfileParams)

UnassignNetworkProfile Remove the assignment at one level, which then inherits (DELETE /network/assignments)

func (Unimplemented) UninstallPackage

func (_ Unimplemented) UninstallPackage(w http.ResponseWriter, r *http.Request, pluginId PluginId, packageId PackageId)

UninstallPackage Uninstall a package (DELETE /plugins/{plugin_id}/packages/{package_id})

func (Unimplemented) UpdateMe

func (_ Unimplemented) UpdateMe(w http.ResponseWriter, r *http.Request)

UpdateMe Change your own profile (PATCH /me)

func (Unimplemented) UpdatePackage

func (_ Unimplemented) UpdatePackage(w http.ResponseWriter, r *http.Request, pluginId PluginId, packageId PackageId)

UpdatePackage Update an installed package to its newest offered version (POST /plugins/{plugin_id}/packages/{package_id}/update)

func (Unimplemented) UpdatePlugin

func (_ Unimplemented) UpdatePlugin(w http.ResponseWriter, r *http.Request, pluginId PluginId)

UpdatePlugin Change a plugin's address or key, or turn it off (PATCH /plugins/{plugin_id})

func (Unimplemented) UpdateProxy

func (_ Unimplemented) UpdateProxy(w http.ResponseWriter, r *http.Request, proxyId ProxyId)

UpdateProxy Change a proxy (PATCH /network/proxies/{proxy_id})

func (Unimplemented) UpdateQueueKind

func (_ Unimplemented) UpdateQueueKind(w http.ResponseWriter, r *http.Request, kind string)

UpdateQueueKind Pause or resume a kind of task (PATCH /queue/kinds/{kind})

func (Unimplemented) UpdateSolver

func (_ Unimplemented) UpdateSolver(w http.ResponseWriter, r *http.Request, solverId SolverId)

UpdateSolver Change a solver (PATCH /network/solvers/{solver_id})

func (Unimplemented) UpdateSource

func (_ Unimplemented) UpdateSource(w http.ResponseWriter, r *http.Request, sourceId SourceId)

UpdateSource Turn a source on or off for everyone (PATCH /sources/{source_id})

func (Unimplemented) UpdateStorage

func (_ Unimplemented) UpdateStorage(w http.ResponseWriter, r *http.Request, storageId StorageId)

UpdateStorage Change a storage, or make it the default (PATCH /storages/{storage_id})

func (Unimplemented) UpdateUser

func (_ Unimplemented) UpdateUser(w http.ResponseWriter, r *http.Request, id Id)

UpdateUser Change a user (PATCH /users/{id})

func (Unimplemented) UpdateWorkSeries

func (_ Unimplemented) UpdateWorkSeries(w http.ResponseWriter, r *http.Request, workId WorkId, seriesId SeriesId)

UpdateWorkSeries Set a series' priority for the work (PATCH /works/{work_id}/series/{series_id})

type UninstallPackage202JSONResponse

type UninstallPackage202JSONResponse TaskRef

func (UninstallPackage202JSONResponse) VisitUninstallPackageResponse

func (response UninstallPackage202JSONResponse) VisitUninstallPackageResponse(w http.ResponseWriter) error

type UninstallPackageRequestObject

type UninstallPackageRequestObject struct {
	PluginId  PluginId  `json:"plugin_id"`
	PackageId PackageId `json:"package_id"`
}

type UninstallPackageResponseObject

type UninstallPackageResponseObject interface {
	VisitUninstallPackageResponse(w http.ResponseWriter) error
}

type UninstallPackagedefaultApplicationProblemPlusJSONResponse

type UninstallPackagedefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (UninstallPackagedefaultApplicationProblemPlusJSONResponse) VisitUninstallPackageResponse

func (response UninstallPackagedefaultApplicationProblemPlusJSONResponse) VisitUninstallPackageResponse(w http.ResponseWriter) error

type UnmarshalingParamError

type UnmarshalingParamError struct {
	ParamName string
	Err       error
}

func (*UnmarshalingParamError) Error

func (e *UnmarshalingParamError) Error() string

func (*UnmarshalingParamError) Unwrap

func (e *UnmarshalingParamError) Unwrap() error

type UpdateItem

type UpdateItem struct {
	// AppearedAt When a check first found the chapter.
	AppearedAt time.Time `json:"appeared_at"`

	// ChapterDisplayTitle The chapter's own name without number, volume or release noise (empty when there's nothing else).
	ChapterDisplayTitle string             `json:"chapter_display_title"`
	ChapterId           openapi_types.UUID `json:"chapter_id"`

	// ChapterNumber Absent for extras.
	ChapterNumber *float32                `json:"chapter_number,omitempty"`
	ChapterTitle  string                  `json:"chapter_title"`
	ChapterVolume *string                 `json:"chapter_volume,omitempty"`
	DownloadState UpdateItemDownloadState `json:"download_state"`

	// New Found after you last opened the work's chapters (as the library's new count).
	New bool `json:"new"`

	// Page Where you are in it; absent when you haven't opened it.
	Page         *int               `json:"page,omitempty"`
	Pages        *int               `json:"pages,omitempty"`
	Read         bool               `json:"read"`
	WorkCoverUrl *string            `json:"work_cover_url,omitempty"`
	WorkId       openapi_types.UUID `json:"work_id"`
	WorkTitle    string             `json:"work_title"`
}

UpdateItem defines model for UpdateItem.

type UpdateItemDownloadState

type UpdateItemDownloadState string

UpdateItemDownloadState defines model for UpdateItem.DownloadState.

const (
	UpdateItemDownloadStateDownloaded  UpdateItemDownloadState = "downloaded"
	UpdateItemDownloadStateDownloading UpdateItemDownloadState = "downloading"
	UpdateItemDownloadStateNone        UpdateItemDownloadState = "none"
	UpdateItemDownloadStateQueued      UpdateItemDownloadState = "queued"
)

Defines values for UpdateItemDownloadState.

func (UpdateItemDownloadState) Valid

func (e UpdateItemDownloadState) Valid() bool

Valid indicates whether the value is a known member of the UpdateItemDownloadState enum.

type UpdateMe200JSONResponse

type UpdateMe200JSONResponse Me

func (UpdateMe200JSONResponse) VisitUpdateMeResponse

func (response UpdateMe200JSONResponse) VisitUpdateMeResponse(w http.ResponseWriter) error

type UpdateMeJSONRequestBody

type UpdateMeJSONRequestBody = UpdateMeRequest

UpdateMeJSONRequestBody defines body for UpdateMe for application/json ContentType.

type UpdateMeRequest

type UpdateMeRequest struct {
	DisplayName *DisplayName `json:"display_name,omitempty"`
}

UpdateMeRequest defines model for UpdateMeRequest.

type UpdateMeRequestObject

type UpdateMeRequestObject struct {
	Body *UpdateMeJSONRequestBody
}

type UpdateMeResponseObject

type UpdateMeResponseObject interface {
	VisitUpdateMeResponse(w http.ResponseWriter) error
}

type UpdateMedefaultApplicationProblemPlusJSONResponse

type UpdateMedefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (UpdateMedefaultApplicationProblemPlusJSONResponse) VisitUpdateMeResponse

type UpdatePackage202JSONResponse

type UpdatePackage202JSONResponse TaskRef

func (UpdatePackage202JSONResponse) VisitUpdatePackageResponse

func (response UpdatePackage202JSONResponse) VisitUpdatePackageResponse(w http.ResponseWriter) error

type UpdatePackageRequestObject

type UpdatePackageRequestObject struct {
	PluginId  PluginId  `json:"plugin_id"`
	PackageId PackageId `json:"package_id"`
}

type UpdatePackageResponseObject

type UpdatePackageResponseObject interface {
	VisitUpdatePackageResponse(w http.ResponseWriter) error
}

type UpdatePackagedefaultApplicationProblemPlusJSONResponse

type UpdatePackagedefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (UpdatePackagedefaultApplicationProblemPlusJSONResponse) VisitUpdatePackageResponse

type UpdatePlugin200JSONResponse

type UpdatePlugin200JSONResponse Plugin

func (UpdatePlugin200JSONResponse) VisitUpdatePluginResponse

func (response UpdatePlugin200JSONResponse) VisitUpdatePluginResponse(w http.ResponseWriter) error

type UpdatePluginJSONRequestBody

type UpdatePluginJSONRequestBody = UpdatePluginRequest

UpdatePluginJSONRequestBody defines body for UpdatePlugin for application/json ContentType.

type UpdatePluginRequest

type UpdatePluginRequest struct {
	// ApiKey The new key; an empty string removes it.
	ApiKey  *string `json:"api_key,omitempty"`
	Enabled *bool   `json:"enabled,omitempty"`
	Url     *string `json:"url,omitempty"`
}

UpdatePluginRequest defines model for UpdatePluginRequest.

type UpdatePluginRequestObject

type UpdatePluginRequestObject struct {
	PluginId PluginId `json:"plugin_id"`
	Body     *UpdatePluginJSONRequestBody
}

type UpdatePluginResponseObject

type UpdatePluginResponseObject interface {
	VisitUpdatePluginResponse(w http.ResponseWriter) error
}

type UpdatePlugindefaultApplicationProblemPlusJSONResponse

type UpdatePlugindefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (UpdatePlugindefaultApplicationProblemPlusJSONResponse) VisitUpdatePluginResponse

type UpdateProxy200JSONResponse

type UpdateProxy200JSONResponse Proxy

func (UpdateProxy200JSONResponse) VisitUpdateProxyResponse

func (response UpdateProxy200JSONResponse) VisitUpdateProxyResponse(w http.ResponseWriter) error

type UpdateProxyJSONRequestBody

type UpdateProxyJSONRequestBody = UpdateProxyRequest

UpdateProxyJSONRequestBody defines body for UpdateProxy for application/json ContentType.

type UpdateProxyRequest

type UpdateProxyRequest struct {
	Name *string `json:"name,omitempty"`

	// Password Empty or absent keeps the stored one.
	Password *string `json:"password,omitempty"`
	Url      *string `json:"url,omitempty"`

	// Username Empty removes the credentials.
	Username *string `json:"username,omitempty"`
}

UpdateProxyRequest defines model for UpdateProxyRequest.

type UpdateProxyRequestObject

type UpdateProxyRequestObject struct {
	ProxyId ProxyId `json:"proxy_id"`
	Body    *UpdateProxyJSONRequestBody
}

type UpdateProxyResponseObject

type UpdateProxyResponseObject interface {
	VisitUpdateProxyResponse(w http.ResponseWriter) error
}

type UpdateProxydefaultApplicationProblemPlusJSONResponse

type UpdateProxydefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (UpdateProxydefaultApplicationProblemPlusJSONResponse) VisitUpdateProxyResponse

type UpdateQueueKind200JSONResponse

type UpdateQueueKind200JSONResponse QueueState

func (UpdateQueueKind200JSONResponse) VisitUpdateQueueKindResponse

func (response UpdateQueueKind200JSONResponse) VisitUpdateQueueKindResponse(w http.ResponseWriter) error

type UpdateQueueKindJSONRequestBody

type UpdateQueueKindJSONRequestBody = UpdateQueueKindRequest

UpdateQueueKindJSONRequestBody defines body for UpdateQueueKind for application/json ContentType.

type UpdateQueueKindRequest

type UpdateQueueKindRequest struct {
	Paused bool `json:"paused"`
}

UpdateQueueKindRequest defines model for UpdateQueueKindRequest.

type UpdateQueueKindRequestObject

type UpdateQueueKindRequestObject struct {
	Kind string `json:"kind"`
	Body *UpdateQueueKindJSONRequestBody
}

type UpdateQueueKindResponseObject

type UpdateQueueKindResponseObject interface {
	VisitUpdateQueueKindResponse(w http.ResponseWriter) error
}

type UpdateQueueKinddefaultApplicationProblemPlusJSONResponse

type UpdateQueueKinddefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (UpdateQueueKinddefaultApplicationProblemPlusJSONResponse) VisitUpdateQueueKindResponse

func (response UpdateQueueKinddefaultApplicationProblemPlusJSONResponse) VisitUpdateQueueKindResponse(w http.ResponseWriter) error

type UpdateSolver200JSONResponse

type UpdateSolver200JSONResponse Solver

func (UpdateSolver200JSONResponse) VisitUpdateSolverResponse

func (response UpdateSolver200JSONResponse) VisitUpdateSolverResponse(w http.ResponseWriter) error

type UpdateSolverJSONRequestBody

type UpdateSolverJSONRequestBody = UpdateSolverRequest

UpdateSolverJSONRequestBody defines body for UpdateSolver for application/json ContentType.

type UpdateSolverRequest

type UpdateSolverRequest struct {
	AsResponseFallback *bool       `json:"as_response_fallback,omitempty"`
	MaxTimeoutSeconds  *int        `json:"max_timeout_seconds,omitempty"`
	Name               *string     `json:"name,omitempty"`
	SessionTtlSeconds  *int        `json:"session_ttl_seconds,omitempty"`
	Type               *SolverType `json:"type,omitempty"`
	Url                *string     `json:"url,omitempty"`
}

UpdateSolverRequest defines model for UpdateSolverRequest.

type UpdateSolverRequestObject

type UpdateSolverRequestObject struct {
	SolverId SolverId `json:"solver_id"`
	Body     *UpdateSolverJSONRequestBody
}

type UpdateSolverResponseObject

type UpdateSolverResponseObject interface {
	VisitUpdateSolverResponse(w http.ResponseWriter) error
}

type UpdateSolverdefaultApplicationProblemPlusJSONResponse

type UpdateSolverdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (UpdateSolverdefaultApplicationProblemPlusJSONResponse) VisitUpdateSolverResponse

type UpdateSource200JSONResponse

type UpdateSource200JSONResponse SourceInfo

func (UpdateSource200JSONResponse) VisitUpdateSourceResponse

func (response UpdateSource200JSONResponse) VisitUpdateSourceResponse(w http.ResponseWriter) error

type UpdateSourceJSONRequestBody

type UpdateSourceJSONRequestBody = UpdateSourceRequest

UpdateSourceJSONRequestBody defines body for UpdateSource for application/json ContentType.

type UpdateSourceRequest

type UpdateSourceRequest struct {
	Enabled bool `json:"enabled"`
}

UpdateSourceRequest defines model for UpdateSourceRequest.

type UpdateSourceRequestObject

type UpdateSourceRequestObject struct {
	SourceId SourceId `json:"source_id"`
	Body     *UpdateSourceJSONRequestBody
}

type UpdateSourceResponseObject

type UpdateSourceResponseObject interface {
	VisitUpdateSourceResponse(w http.ResponseWriter) error
}

type UpdateSourcedefaultApplicationProblemPlusJSONResponse

type UpdateSourcedefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (UpdateSourcedefaultApplicationProblemPlusJSONResponse) VisitUpdateSourceResponse

type UpdateStorage200JSONResponse

type UpdateStorage200JSONResponse StorageInfo

func (UpdateStorage200JSONResponse) VisitUpdateStorageResponse

func (response UpdateStorage200JSONResponse) VisitUpdateStorageResponse(w http.ResponseWriter) error

type UpdateStorageJSONRequestBody

type UpdateStorageJSONRequestBody = UpdateStorageRequest

UpdateStorageJSONRequestBody defines body for UpdateStorage for application/json ContentType.

type UpdateStorageRequest

type UpdateStorageRequest struct {
	AccessKey *string `json:"access_key,omitempty"`
	Bucket    *string `json:"bucket,omitempty"`

	// Default true makes it the default storage.
	Default *bool `json:"default,omitempty"`

	// Endpoint S3, e.g. "https://s3.example.com".
	Endpoint  *string `json:"endpoint,omitempty"`
	Name      *string `json:"name,omitempty"`
	PathStyle *bool   `json:"path_style,omitempty"`
	Prefix    *string `json:"prefix,omitempty"`
	Region    *string `json:"region,omitempty"`

	// Root Local storages; an absolute path.
	Root *string `json:"root,omitempty"`

	// SecretKey Leave out to keep the stored one.
	SecretKey *string `json:"secret_key,omitempty"`
}

UpdateStorageRequest defines model for UpdateStorageRequest.

type UpdateStorageRequestObject

type UpdateStorageRequestObject struct {
	StorageId StorageId `json:"storage_id"`
	Body      *UpdateStorageJSONRequestBody
}

type UpdateStorageResponseObject

type UpdateStorageResponseObject interface {
	VisitUpdateStorageResponse(w http.ResponseWriter) error
}

type UpdateStoragedefaultApplicationProblemPlusJSONResponse

type UpdateStoragedefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (UpdateStoragedefaultApplicationProblemPlusJSONResponse) VisitUpdateStorageResponse

type UpdateUser200JSONResponse

type UpdateUser200JSONResponse User

func (UpdateUser200JSONResponse) VisitUpdateUserResponse

func (response UpdateUser200JSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error

type UpdateUserJSONRequestBody

type UpdateUserJSONRequestBody = UpdateUserRequest

UpdateUserJSONRequestBody defines body for UpdateUser for application/json ContentType.

type UpdateUserRequest

type UpdateUserRequest struct {
	Disabled    *bool        `json:"disabled,omitempty"`
	DisplayName *DisplayName `json:"display_name,omitempty"`

	// Grants Only the fields sent change.
	Grants *GrantsPatch `json:"grants,omitempty"`

	// Password 8 to 256 characters.
	Password *Password `json:"password,omitempty"`

	// Role Admins may do everything; users what their grants allow.
	Role *Role `json:"role,omitempty"`
}

UpdateUserRequest defines model for UpdateUserRequest.

type UpdateUserRequestObject

type UpdateUserRequestObject struct {
	Id   Id `json:"id"`
	Body *UpdateUserJSONRequestBody
}

type UpdateUserResponseObject

type UpdateUserResponseObject interface {
	VisitUpdateUserResponse(w http.ResponseWriter) error
}

type UpdateUserdefaultApplicationProblemPlusJSONResponse

type UpdateUserdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (UpdateUserdefaultApplicationProblemPlusJSONResponse) VisitUpdateUserResponse

type UpdateWorkSeries200JSONResponse

type UpdateWorkSeries200JSONResponse MatchSeries

func (UpdateWorkSeries200JSONResponse) VisitUpdateWorkSeriesResponse

func (response UpdateWorkSeries200JSONResponse) VisitUpdateWorkSeriesResponse(w http.ResponseWriter) error

type UpdateWorkSeriesJSONRequestBody

type UpdateWorkSeriesJSONRequestBody = UpdateWorkSeriesRequest

UpdateWorkSeriesJSONRequestBody defines body for UpdateWorkSeries for application/json ContentType.

type UpdateWorkSeriesRequest

type UpdateWorkSeriesRequest struct {
	Priority int `json:"priority"`
}

UpdateWorkSeriesRequest defines model for UpdateWorkSeriesRequest.

type UpdateWorkSeriesRequestObject

type UpdateWorkSeriesRequestObject struct {
	WorkId   WorkId   `json:"work_id"`
	SeriesId SeriesId `json:"series_id"`
	Body     *UpdateWorkSeriesJSONRequestBody
}

type UpdateWorkSeriesResponseObject

type UpdateWorkSeriesResponseObject interface {
	VisitUpdateWorkSeriesResponse(w http.ResponseWriter) error
}

type UpdateWorkSeriesdefaultApplicationProblemPlusJSONResponse

type UpdateWorkSeriesdefaultApplicationProblemPlusJSONResponse struct {
	Body       Problem
	StatusCode int
}

func (UpdateWorkSeriesdefaultApplicationProblemPlusJSONResponse) VisitUpdateWorkSeriesResponse

func (response UpdateWorkSeriesdefaultApplicationProblemPlusJSONResponse) VisitUpdateWorkSeriesResponse(w http.ResponseWriter) error

type UpdatesPage

type UpdatesPage struct {
	Items         []UpdateItem `json:"items"`
	NextPageToken string       `json:"next_page_token"`
}

UpdatesPage defines model for UpdatesPage.

type UpdatesStatus

type UpdatesStatus struct {
	// Checking Checks of your library's series running or due now.
	Checking int `json:"checking"`

	// Failing Series whose last check failed.
	Failing int `json:"failing"`

	// LastCheckedAt The latest check of any series in your library; absent when none was checked yet.
	LastCheckedAt *time.Time `json:"last_checked_at,omitempty"`

	// NextCheckAt When the scheduled check of everyone's library runs next; absent when it isn't scheduled.
	NextCheckAt *time.Time `json:"next_check_at,omitempty"`
}

UpdatesStatus defines model for UpdatesStatus.

type User

type User struct {
	CreatedAt time.Time `json:"created_at"`
	Disabled  bool      `json:"disabled"`

	// DisplayName Empty when not set; show the username then.
	DisplayName string `json:"display_name"`

	// Grants What a user may do. Admins may always do everything, whatever their grants say.
	Grants      Grants             `json:"grants"`
	Id          openapi_types.UUID `json:"id"`
	LastLoginAt *time.Time         `json:"last_login_at,omitempty"`

	// Role Admins may do everything; users what their grants allow.
	Role     Role   `json:"role"`
	Username string `json:"username"`
}

User defines model for User.

type UserList

type UserList struct {
	NextPageToken string `json:"next_page_token"`
	Users         []User `json:"users"`
}

UserList defines model for UserList.

type Username

type Username = string

Username Letters, digits, `.`, `_` and `-`, starting with a letter or digit. Case-insensitively unique.

type VariantIdQuery

type VariantIdQuery = openapi_types.UUID

VariantIdQuery defines model for VariantIdQuery.

type Work

type Work struct {
	AddedAt         *time.Time         `json:"added_at,omitempty"`
	AttachedSources int                `json:"attached_sources"`
	ContentRating   EntryContentRating `json:"content_rating"`
	CoverUrl        *string            `json:"cover_url,omitempty"`
	EntryId         string             `json:"entry_id"`
	Id              openapi_types.UUID `json:"id"`
	InLibrary       bool               `json:"in_library"`
	Sources         []WorkSourceState  `json:"sources"`
	Status          *string            `json:"status,omitempty"`
	Title           string             `json:"title"`
	Type            *string            `json:"type,omitempty"`
	Year            *int               `json:"year,omitempty"`
}

Work defines model for Work.

type WorkId

type WorkId = openapi_types.UUID

WorkId defines model for WorkId.

type WorkProgress

type WorkProgress struct {
	Chapters []ChapterProgress `json:"chapters"`

	// ContinueChapterId Where to continue reading.
	ContinueChapterId *openapi_types.UUID `json:"continue_chapter_id,omitempty"`
}

WorkProgress defines model for WorkProgress.

type WorkSourceState

type WorkSourceState struct {
	Attached   *MatchSeries  `json:"attached,omitempty"`
	Candidates []MatchSeries `json:"candidates"`
	CheckedAt  *time.Time    `json:"checked_at,omitempty"`
	Message    *string       `json:"message,omitempty"`

	// Queries The titles searched, in order.
	Queries []string              `json:"queries"`
	Source  SourceInfo            `json:"source"`
	Status  WorkSourceStateStatus `json:"status"`
}

WorkSourceState defines model for WorkSourceState.

type WorkSourceStateStatus

type WorkSourceStateStatus string

WorkSourceStateStatus defines model for WorkSourceState.Status.

const (
	WorkSourceStateStatusCandidates WorkSourceStateStatus = "candidates"
	WorkSourceStateStatusFailed     WorkSourceStateStatus = "failed"
	WorkSourceStateStatusMatched    WorkSourceStateStatus = "matched"
	WorkSourceStateStatusNoMatch    WorkSourceStateStatus = "no_match"
	WorkSourceStateStatusPending    WorkSourceStateStatus = "pending"
	WorkSourceStateStatusUnchecked  WorkSourceStateStatus = "unchecked"
)

Defines values for WorkSourceStateStatus.

func (WorkSourceStateStatus) Valid

func (e WorkSourceStateStatus) Valid() bool

Valid indicates whether the value is a known member of the WorkSourceStateStatus enum.

type WorkSummary

type WorkSummary struct {
	// AttachedSources Sources a series is attached on.
	AttachedSources int                `json:"attached_sources"`
	ContentRating   EntryContentRating `json:"content_rating"`

	// CoverUrl The server's URL for the cover.
	CoverUrl *string `json:"cover_url,omitempty"`

	// EntryId The catalogue entry it was created from (see /catalog/entries).
	EntryId string             `json:"entry_id"`
	Id      openapi_types.UUID `json:"id"`
	Status  *string            `json:"status,omitempty"`
	Title   string             `json:"title"`
	Type    *string            `json:"type,omitempty"`
	Year    *int               `json:"year,omitempty"`
}

WorkSummary defines model for WorkSummary.

type YearFrom

type YearFrom = int

YearFrom defines model for YearFrom.

type YearTo

type YearTo = int

YearTo defines model for YearTo.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL