Documentation ¶
Overview ¶
Code generated by ogen, DO NOT EDIT.
Index ¶
- type ArtistActedList
- type ArtistCountriesList
- type ArtistCreate
- type ArtistDirectedList
- type ArtistList
- type ArtistPicturesList
- type ArtistProfilePictureRead
- type ArtistRead
- type ArtistUpdate
- type ArtistWroteList
- type Client
- func (c *Client) CreateArtist(ctx context.Context, request CreateArtistReq) (res CreateArtistRes, err error)
- func (c *Client) CreateCountry(ctx context.Context, request CreateCountryReq) (res CreateCountryRes, err error)
- func (c *Client) CreateFile(ctx context.Context, request CreateFileReq) (res CreateFileRes, err error)
- func (c *Client) CreateMovie(ctx context.Context, request CreateMovieReq) (res CreateMovieRes, err error)
- func (c *Client) CreateMovieGenre(ctx context.Context, request CreateMovieGenreReq) (res CreateMovieGenreRes, err error)
- func (c *Client) CreatePicture(ctx context.Context, request CreatePictureReq) (res CreatePictureRes, err error)
- func (c *Client) CreateRating(ctx context.Context, request CreateRatingReq) (res CreateRatingRes, err error)
- func (c *Client) DeleteArtist(ctx context.Context, params DeleteArtistParams) (res DeleteArtistRes, err error)
- func (c *Client) DeleteCountry(ctx context.Context, params DeleteCountryParams) (res DeleteCountryRes, err error)
- func (c *Client) DeleteFile(ctx context.Context, params DeleteFileParams) (res DeleteFileRes, err error)
- func (c *Client) DeleteMovie(ctx context.Context, params DeleteMovieParams) (res DeleteMovieRes, err error)
- func (c *Client) DeleteMovieGenre(ctx context.Context, params DeleteMovieGenreParams) (res DeleteMovieGenreRes, err error)
- func (c *Client) DeletePicture(ctx context.Context, params DeletePictureParams) (res DeletePictureRes, err error)
- func (c *Client) DeleteRating(ctx context.Context, params DeleteRatingParams) (res DeleteRatingRes, err error)
- func (c *Client) ListArtist(ctx context.Context, params ListArtistParams) (res ListArtistRes, err error)
- func (c *Client) ListArtistActed(ctx context.Context, params ListArtistActedParams) (res ListArtistActedRes, err error)
- func (c *Client) ListArtistCountries(ctx context.Context, params ListArtistCountriesParams) (res ListArtistCountriesRes, err error)
- func (c *Client) ListArtistDirected(ctx context.Context, params ListArtistDirectedParams) (res ListArtistDirectedRes, err error)
- func (c *Client) ListArtistPictures(ctx context.Context, params ListArtistPicturesParams) (res ListArtistPicturesRes, err error)
- func (c *Client) ListArtistWrote(ctx context.Context, params ListArtistWroteParams) (res ListArtistWroteRes, err error)
- func (c *Client) ListCountry(ctx context.Context, params ListCountryParams) (res ListCountryRes, err error)
- func (c *Client) ListCountryArtists(ctx context.Context, params ListCountryArtistsParams) (res ListCountryArtistsRes, err error)
- func (c *Client) ListCountryMovies(ctx context.Context, params ListCountryMoviesParams) (res ListCountryMoviesRes, err error)
- func (c *Client) ListFile(ctx context.Context, params ListFileParams) (res ListFileRes, err error)
- func (c *Client) ListMovie(ctx context.Context, params ListMovieParams) (res ListMovieRes, err error)
- func (c *Client) ListMovieCast(ctx context.Context, params ListMovieCastParams) (res ListMovieCastRes, err error)
- func (c *Client) ListMovieCountries(ctx context.Context, params ListMovieCountriesParams) (res ListMovieCountriesRes, err error)
- func (c *Client) ListMovieDirectors(ctx context.Context, params ListMovieDirectorsParams) (res ListMovieDirectorsRes, err error)
- func (c *Client) ListMovieFanart(ctx context.Context, params ListMovieFanartParams) (res ListMovieFanartRes, err error)
- func (c *Client) ListMovieGenre(ctx context.Context, params ListMovieGenreParams) (res ListMovieGenreRes, err error)
- func (c *Client) ListMovieGenreMovies(ctx context.Context, params ListMovieGenreMoviesParams) (res ListMovieGenreMoviesRes, err error)
- func (c *Client) ListMovieGenres(ctx context.Context, params ListMovieGenresParams) (res ListMovieGenresRes, err error)
- func (c *Client) ListMovieRatings(ctx context.Context, params ListMovieRatingsParams) (res ListMovieRatingsRes, err error)
- func (c *Client) ListMovieWriters(ctx context.Context, params ListMovieWritersParams) (res ListMovieWritersRes, err error)
- func (c *Client) ListPicture(ctx context.Context, params ListPictureParams) (res ListPictureRes, err error)
- func (c *Client) ListRating(ctx context.Context, params ListRatingParams) (res ListRatingRes, err error)
- func (c *Client) ReadArtist(ctx context.Context, params ReadArtistParams) (res ReadArtistRes, err error)
- func (c *Client) ReadArtistProfilePicture(ctx context.Context, params ReadArtistProfilePictureParams) (res ReadArtistProfilePictureRes, err error)
- func (c *Client) ReadCountry(ctx context.Context, params ReadCountryParams) (res ReadCountryRes, err error)
- func (c *Client) ReadFile(ctx context.Context, params ReadFileParams) (res ReadFileRes, err error)
- func (c *Client) ReadFileMovie(ctx context.Context, params ReadFileMovieParams) (res ReadFileMovieRes, err error)
- func (c *Client) ReadMovie(ctx context.Context, params ReadMovieParams) (res ReadMovieRes, err error)
- func (c *Client) ReadMovieFile(ctx context.Context, params ReadMovieFileParams) (res ReadMovieFileRes, err error)
- func (c *Client) ReadMovieGenre(ctx context.Context, params ReadMovieGenreParams) (res ReadMovieGenreRes, err error)
- func (c *Client) ReadMoviePoster(ctx context.Context, params ReadMoviePosterParams) (res ReadMoviePosterRes, err error)
- func (c *Client) ReadPicture(ctx context.Context, params ReadPictureParams) (res ReadPictureRes, err error)
- func (c *Client) ReadRating(ctx context.Context, params ReadRatingParams) (res ReadRatingRes, err error)
- func (c *Client) UpdateArtist(ctx context.Context, request UpdateArtistReq, params UpdateArtistParams) (res UpdateArtistRes, err error)
- func (c *Client) UpdateCountry(ctx context.Context, request UpdateCountryReq, params UpdateCountryParams) (res UpdateCountryRes, err error)
- func (c *Client) UpdateFile(ctx context.Context, request UpdateFileReq, params UpdateFileParams) (res UpdateFileRes, err error)
- func (c *Client) UpdateMovie(ctx context.Context, request UpdateMovieReq, params UpdateMovieParams) (res UpdateMovieRes, err error)
- func (c *Client) UpdateMovieGenre(ctx context.Context, request UpdateMovieGenreReq, ...) (res UpdateMovieGenreRes, err error)
- func (c *Client) UpdatePicture(ctx context.Context, request UpdatePictureReq, params UpdatePictureParams) (res UpdatePictureRes, err error)
- func (c *Client) UpdateRating(ctx context.Context, request UpdateRatingReq, params UpdateRatingParams) (res UpdateRatingRes, err error)
- type CountryArtistsList
- type CountryCreate
- type CountryList
- type CountryMoviesList
- type CountryRead
- type CountryUpdate
- type CreateArtistReq
- type CreateArtistRes
- type CreateCountryReq
- type CreateCountryRes
- type CreateFileReq
- type CreateFileReqType
- type CreateFileRes
- type CreateMovieGenreReq
- type CreateMovieGenreRes
- type CreateMovieReq
- type CreateMovieRes
- type CreatePictureReq
- type CreatePictureRes
- type CreateRatingReq
- type CreateRatingRes
- type DeleteArtistNoContent
- type DeleteArtistParams
- type DeleteArtistRes
- type DeleteCountryNoContent
- type DeleteCountryParams
- type DeleteCountryRes
- type DeleteFileNoContent
- type DeleteFileParams
- type DeleteFileRes
- type DeleteMovieGenreNoContent
- type DeleteMovieGenreParams
- type DeleteMovieGenreRes
- type DeleteMovieNoContent
- type DeleteMovieParams
- type DeleteMovieRes
- type DeletePictureNoContent
- type DeletePictureParams
- type DeletePictureRes
- type DeleteRatingNoContent
- type DeleteRatingParams
- type DeleteRatingRes
- type FileCreate
- type FileCreateType
- type FileList
- type FileListType
- type FileMovieRead
- type FileRead
- type FileReadType
- type FileUpdate
- type FileUpdateType
- type Handler
- type ListArtistActedOKApplicationJSON
- type ListArtistActedParams
- type ListArtistActedRes
- type ListArtistCountriesOKApplicationJSON
- type ListArtistCountriesParams
- type ListArtistCountriesRes
- type ListArtistDirectedOKApplicationJSON
- type ListArtistDirectedParams
- type ListArtistDirectedRes
- type ListArtistOKApplicationJSON
- type ListArtistParams
- type ListArtistPicturesOKApplicationJSON
- type ListArtistPicturesParams
- type ListArtistPicturesRes
- type ListArtistRes
- type ListArtistWroteOKApplicationJSON
- type ListArtistWroteParams
- type ListArtistWroteRes
- type ListCountryArtistsOKApplicationJSON
- type ListCountryArtistsParams
- type ListCountryArtistsRes
- type ListCountryMoviesOKApplicationJSON
- type ListCountryMoviesParams
- type ListCountryMoviesRes
- type ListCountryOKApplicationJSON
- type ListCountryParams
- type ListCountryRes
- type ListFileOKApplicationJSON
- type ListFileParams
- type ListFileRes
- type ListMovieCastOKApplicationJSON
- type ListMovieCastParams
- type ListMovieCastRes
- type ListMovieCountriesOKApplicationJSON
- type ListMovieCountriesParams
- type ListMovieCountriesRes
- type ListMovieDirectorsOKApplicationJSON
- type ListMovieDirectorsParams
- type ListMovieDirectorsRes
- type ListMovieFanartOKApplicationJSON
- type ListMovieFanartParams
- type ListMovieFanartRes
- type ListMovieGenreMoviesOKApplicationJSON
- type ListMovieGenreMoviesParams
- type ListMovieGenreMoviesRes
- type ListMovieGenreOKApplicationJSON
- type ListMovieGenreParams
- type ListMovieGenreRes
- type ListMovieGenresOKApplicationJSON
- type ListMovieGenresParams
- type ListMovieGenresRes
- type ListMovieOKApplicationJSON
- type ListMovieParams
- type ListMovieRatingsOKApplicationJSON
- type ListMovieRatingsParams
- type ListMovieRatingsRes
- type ListMovieRes
- type ListMovieWritersOKApplicationJSON
- type ListMovieWritersParams
- type ListMovieWritersRes
- type ListPictureOKApplicationJSON
- type ListPictureParams
- type ListPictureRes
- type ListRatingOKApplicationJSON
- type ListRatingParams
- type ListRatingRes
- type MovieCastList
- type MovieCountriesList
- type MovieCreate
- type MovieDirectorsList
- type MovieFanartList
- type MovieFileRead
- type MovieFileReadType
- type MovieGenreCreate
- type MovieGenreList
- type MovieGenreMoviesList
- type MovieGenreRead
- type MovieGenreUpdate
- type MovieGenresList
- type MovieList
- type MoviePosterRead
- type MovieRatingsList
- type MovieRead
- type MovieUpdate
- type MovieWritersList
- type OgentHandler
- func (h *OgentHandler) CreateArtist(ctx context.Context, req CreateArtistReq) (CreateArtistRes, error)
- func (h *OgentHandler) CreateCountry(ctx context.Context, req CreateCountryReq) (CreateCountryRes, error)
- func (h *OgentHandler) CreateFile(ctx context.Context, req CreateFileReq) (CreateFileRes, error)
- func (h *OgentHandler) CreateMovie(ctx context.Context, req CreateMovieReq) (CreateMovieRes, error)
- func (h *OgentHandler) CreateMovieGenre(ctx context.Context, req CreateMovieGenreReq) (CreateMovieGenreRes, error)
- func (h *OgentHandler) CreatePicture(ctx context.Context, req CreatePictureReq) (CreatePictureRes, error)
- func (h *OgentHandler) CreateRating(ctx context.Context, req CreateRatingReq) (CreateRatingRes, error)
- func (h *OgentHandler) DeleteArtist(ctx context.Context, params DeleteArtistParams) (DeleteArtistRes, error)
- func (h *OgentHandler) DeleteCountry(ctx context.Context, params DeleteCountryParams) (DeleteCountryRes, error)
- func (h *OgentHandler) DeleteFile(ctx context.Context, params DeleteFileParams) (DeleteFileRes, error)
- func (h *OgentHandler) DeleteMovie(ctx context.Context, params DeleteMovieParams) (DeleteMovieRes, error)
- func (h *OgentHandler) DeleteMovieGenre(ctx context.Context, params DeleteMovieGenreParams) (DeleteMovieGenreRes, error)
- func (h *OgentHandler) DeletePicture(ctx context.Context, params DeletePictureParams) (DeletePictureRes, error)
- func (h *OgentHandler) DeleteRating(ctx context.Context, params DeleteRatingParams) (DeleteRatingRes, error)
- func (h *OgentHandler) ListArtist(ctx context.Context, params ListArtistParams) (ListArtistRes, error)
- func (h *OgentHandler) ListArtistActed(ctx context.Context, params ListArtistActedParams) (ListArtistActedRes, error)
- func (h *OgentHandler) ListArtistCountries(ctx context.Context, params ListArtistCountriesParams) (ListArtistCountriesRes, error)
- func (h *OgentHandler) ListArtistDirected(ctx context.Context, params ListArtistDirectedParams) (ListArtistDirectedRes, error)
- func (h *OgentHandler) ListArtistPictures(ctx context.Context, params ListArtistPicturesParams) (ListArtistPicturesRes, error)
- func (h *OgentHandler) ListArtistWrote(ctx context.Context, params ListArtistWroteParams) (ListArtistWroteRes, error)
- func (h *OgentHandler) ListCountry(ctx context.Context, params ListCountryParams) (ListCountryRes, error)
- func (h *OgentHandler) ListCountryArtists(ctx context.Context, params ListCountryArtistsParams) (ListCountryArtistsRes, error)
- func (h *OgentHandler) ListCountryMovies(ctx context.Context, params ListCountryMoviesParams) (ListCountryMoviesRes, error)
- func (h *OgentHandler) ListFile(ctx context.Context, params ListFileParams) (ListFileRes, error)
- func (h *OgentHandler) ListMovie(ctx context.Context, params ListMovieParams) (ListMovieRes, error)
- func (h *OgentHandler) ListMovieCast(ctx context.Context, params ListMovieCastParams) (ListMovieCastRes, error)
- func (h *OgentHandler) ListMovieCountries(ctx context.Context, params ListMovieCountriesParams) (ListMovieCountriesRes, error)
- func (h *OgentHandler) ListMovieDirectors(ctx context.Context, params ListMovieDirectorsParams) (ListMovieDirectorsRes, error)
- func (h *OgentHandler) ListMovieFanart(ctx context.Context, params ListMovieFanartParams) (ListMovieFanartRes, error)
- func (h *OgentHandler) ListMovieGenre(ctx context.Context, params ListMovieGenreParams) (ListMovieGenreRes, error)
- func (h *OgentHandler) ListMovieGenreMovies(ctx context.Context, params ListMovieGenreMoviesParams) (ListMovieGenreMoviesRes, error)
- func (h *OgentHandler) ListMovieGenres(ctx context.Context, params ListMovieGenresParams) (ListMovieGenresRes, error)
- func (h *OgentHandler) ListMovieRatings(ctx context.Context, params ListMovieRatingsParams) (ListMovieRatingsRes, error)
- func (h *OgentHandler) ListMovieWriters(ctx context.Context, params ListMovieWritersParams) (ListMovieWritersRes, error)
- func (h *OgentHandler) ListPicture(ctx context.Context, params ListPictureParams) (ListPictureRes, error)
- func (h *OgentHandler) ListRating(ctx context.Context, params ListRatingParams) (ListRatingRes, error)
- func (h *OgentHandler) ReadArtist(ctx context.Context, params ReadArtistParams) (ReadArtistRes, error)
- func (h *OgentHandler) ReadArtistProfilePicture(ctx context.Context, params ReadArtistProfilePictureParams) (ReadArtistProfilePictureRes, error)
- func (h *OgentHandler) ReadCountry(ctx context.Context, params ReadCountryParams) (ReadCountryRes, error)
- func (h *OgentHandler) ReadFile(ctx context.Context, params ReadFileParams) (ReadFileRes, error)
- func (h *OgentHandler) ReadFileMovie(ctx context.Context, params ReadFileMovieParams) (ReadFileMovieRes, error)
- func (h *OgentHandler) ReadMovie(ctx context.Context, params ReadMovieParams) (ReadMovieRes, error)
- func (h *OgentHandler) ReadMovieFile(ctx context.Context, params ReadMovieFileParams) (ReadMovieFileRes, error)
- func (h *OgentHandler) ReadMovieGenre(ctx context.Context, params ReadMovieGenreParams) (ReadMovieGenreRes, error)
- func (h *OgentHandler) ReadMoviePoster(ctx context.Context, params ReadMoviePosterParams) (ReadMoviePosterRes, error)
- func (h *OgentHandler) ReadPicture(ctx context.Context, params ReadPictureParams) (ReadPictureRes, error)
- func (h *OgentHandler) ReadRating(ctx context.Context, params ReadRatingParams) (ReadRatingRes, error)
- func (h *OgentHandler) UpdateArtist(ctx context.Context, req UpdateArtistReq, params UpdateArtistParams) (UpdateArtistRes, error)
- func (h *OgentHandler) UpdateCountry(ctx context.Context, req UpdateCountryReq, params UpdateCountryParams) (UpdateCountryRes, error)
- func (h *OgentHandler) UpdateFile(ctx context.Context, req UpdateFileReq, params UpdateFileParams) (UpdateFileRes, error)
- func (h *OgentHandler) UpdateMovie(ctx context.Context, req UpdateMovieReq, params UpdateMovieParams) (UpdateMovieRes, error)
- func (h *OgentHandler) UpdateMovieGenre(ctx context.Context, req UpdateMovieGenreReq, params UpdateMovieGenreParams) (UpdateMovieGenreRes, error)
- func (h *OgentHandler) UpdatePicture(ctx context.Context, req UpdatePictureReq, params UpdatePictureParams) (UpdatePictureRes, error)
- func (h *OgentHandler) UpdateRating(ctx context.Context, req UpdateRatingReq, params UpdateRatingParams) (UpdateRatingRes, error)
- type OptBool
- type OptDateTime
- func (o *OptDateTime) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error
- func (o OptDateTime) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))
- func (o OptDateTime) Get() (v time.Time, ok bool)
- func (o OptDateTime) IsSet() bool
- func (o OptDateTime) Or(d time.Time) time.Time
- func (o *OptDateTime) Reset()
- func (o *OptDateTime) SetTo(v time.Time)
- type OptInt
- type OptString
- type OptUpdateFileReqType
- func (o *OptUpdateFileReqType) Decode(d *jx.Decoder) error
- func (o OptUpdateFileReqType) Encode(e *jx.Encoder)
- func (o OptUpdateFileReqType) Get() (v UpdateFileReqType, ok bool)
- func (o OptUpdateFileReqType) IsSet() bool
- func (o OptUpdateFileReqType) Or(d UpdateFileReqType) UpdateFileReqType
- func (o *OptUpdateFileReqType) Reset()
- func (o *OptUpdateFileReqType) SetTo(v UpdateFileReqType)
- type Option
- type PictureCreate
- type PictureList
- type PictureRead
- type PictureUpdate
- type R400
- type R404
- type R409
- type R500
- type RatingCreate
- type RatingList
- type RatingRead
- type RatingUpdate
- type ReadArtistParams
- type ReadArtistProfilePictureParams
- type ReadArtistProfilePictureRes
- type ReadArtistRes
- type ReadCountryParams
- type ReadCountryRes
- type ReadFileMovieParams
- type ReadFileMovieRes
- type ReadFileParams
- type ReadFileRes
- type ReadMovieFileParams
- type ReadMovieFileRes
- type ReadMovieGenreParams
- type ReadMovieGenreRes
- type ReadMovieParams
- type ReadMoviePosterParams
- type ReadMoviePosterRes
- type ReadMovieRes
- type ReadPictureParams
- type ReadPictureRes
- type ReadRatingParams
- type ReadRatingRes
- type Route
- type Server
- type UnimplementedHandler
- func (UnimplementedHandler) CreateArtist(ctx context.Context, req CreateArtistReq) (r CreateArtistRes, _ error)
- func (UnimplementedHandler) CreateCountry(ctx context.Context, req CreateCountryReq) (r CreateCountryRes, _ error)
- func (UnimplementedHandler) CreateFile(ctx context.Context, req CreateFileReq) (r CreateFileRes, _ error)
- func (UnimplementedHandler) CreateMovie(ctx context.Context, req CreateMovieReq) (r CreateMovieRes, _ error)
- func (UnimplementedHandler) CreateMovieGenre(ctx context.Context, req CreateMovieGenreReq) (r CreateMovieGenreRes, _ error)
- func (UnimplementedHandler) CreatePicture(ctx context.Context, req CreatePictureReq) (r CreatePictureRes, _ error)
- func (UnimplementedHandler) CreateRating(ctx context.Context, req CreateRatingReq) (r CreateRatingRes, _ error)
- func (UnimplementedHandler) DeleteArtist(ctx context.Context, params DeleteArtistParams) (r DeleteArtistRes, _ error)
- func (UnimplementedHandler) DeleteCountry(ctx context.Context, params DeleteCountryParams) (r DeleteCountryRes, _ error)
- func (UnimplementedHandler) DeleteFile(ctx context.Context, params DeleteFileParams) (r DeleteFileRes, _ error)
- func (UnimplementedHandler) DeleteMovie(ctx context.Context, params DeleteMovieParams) (r DeleteMovieRes, _ error)
- func (UnimplementedHandler) DeleteMovieGenre(ctx context.Context, params DeleteMovieGenreParams) (r DeleteMovieGenreRes, _ error)
- func (UnimplementedHandler) DeletePicture(ctx context.Context, params DeletePictureParams) (r DeletePictureRes, _ error)
- func (UnimplementedHandler) DeleteRating(ctx context.Context, params DeleteRatingParams) (r DeleteRatingRes, _ error)
- func (UnimplementedHandler) ListArtist(ctx context.Context, params ListArtistParams) (r ListArtistRes, _ error)
- func (UnimplementedHandler) ListArtistActed(ctx context.Context, params ListArtistActedParams) (r ListArtistActedRes, _ error)
- func (UnimplementedHandler) ListArtistCountries(ctx context.Context, params ListArtistCountriesParams) (r ListArtistCountriesRes, _ error)
- func (UnimplementedHandler) ListArtistDirected(ctx context.Context, params ListArtistDirectedParams) (r ListArtistDirectedRes, _ error)
- func (UnimplementedHandler) ListArtistPictures(ctx context.Context, params ListArtistPicturesParams) (r ListArtistPicturesRes, _ error)
- func (UnimplementedHandler) ListArtistWrote(ctx context.Context, params ListArtistWroteParams) (r ListArtistWroteRes, _ error)
- func (UnimplementedHandler) ListCountry(ctx context.Context, params ListCountryParams) (r ListCountryRes, _ error)
- func (UnimplementedHandler) ListCountryArtists(ctx context.Context, params ListCountryArtistsParams) (r ListCountryArtistsRes, _ error)
- func (UnimplementedHandler) ListCountryMovies(ctx context.Context, params ListCountryMoviesParams) (r ListCountryMoviesRes, _ error)
- func (UnimplementedHandler) ListFile(ctx context.Context, params ListFileParams) (r ListFileRes, _ error)
- func (UnimplementedHandler) ListMovie(ctx context.Context, params ListMovieParams) (r ListMovieRes, _ error)
- func (UnimplementedHandler) ListMovieCast(ctx context.Context, params ListMovieCastParams) (r ListMovieCastRes, _ error)
- func (UnimplementedHandler) ListMovieCountries(ctx context.Context, params ListMovieCountriesParams) (r ListMovieCountriesRes, _ error)
- func (UnimplementedHandler) ListMovieDirectors(ctx context.Context, params ListMovieDirectorsParams) (r ListMovieDirectorsRes, _ error)
- func (UnimplementedHandler) ListMovieFanart(ctx context.Context, params ListMovieFanartParams) (r ListMovieFanartRes, _ error)
- func (UnimplementedHandler) ListMovieGenre(ctx context.Context, params ListMovieGenreParams) (r ListMovieGenreRes, _ error)
- func (UnimplementedHandler) ListMovieGenreMovies(ctx context.Context, params ListMovieGenreMoviesParams) (r ListMovieGenreMoviesRes, _ error)
- func (UnimplementedHandler) ListMovieGenres(ctx context.Context, params ListMovieGenresParams) (r ListMovieGenresRes, _ error)
- func (UnimplementedHandler) ListMovieRatings(ctx context.Context, params ListMovieRatingsParams) (r ListMovieRatingsRes, _ error)
- func (UnimplementedHandler) ListMovieWriters(ctx context.Context, params ListMovieWritersParams) (r ListMovieWritersRes, _ error)
- func (UnimplementedHandler) ListPicture(ctx context.Context, params ListPictureParams) (r ListPictureRes, _ error)
- func (UnimplementedHandler) ListRating(ctx context.Context, params ListRatingParams) (r ListRatingRes, _ error)
- func (UnimplementedHandler) ReadArtist(ctx context.Context, params ReadArtistParams) (r ReadArtistRes, _ error)
- func (UnimplementedHandler) ReadArtistProfilePicture(ctx context.Context, params ReadArtistProfilePictureParams) (r ReadArtistProfilePictureRes, _ error)
- func (UnimplementedHandler) ReadCountry(ctx context.Context, params ReadCountryParams) (r ReadCountryRes, _ error)
- func (UnimplementedHandler) ReadFile(ctx context.Context, params ReadFileParams) (r ReadFileRes, _ error)
- func (UnimplementedHandler) ReadFileMovie(ctx context.Context, params ReadFileMovieParams) (r ReadFileMovieRes, _ error)
- func (UnimplementedHandler) ReadMovie(ctx context.Context, params ReadMovieParams) (r ReadMovieRes, _ error)
- func (UnimplementedHandler) ReadMovieFile(ctx context.Context, params ReadMovieFileParams) (r ReadMovieFileRes, _ error)
- func (UnimplementedHandler) ReadMovieGenre(ctx context.Context, params ReadMovieGenreParams) (r ReadMovieGenreRes, _ error)
- func (UnimplementedHandler) ReadMoviePoster(ctx context.Context, params ReadMoviePosterParams) (r ReadMoviePosterRes, _ error)
- func (UnimplementedHandler) ReadPicture(ctx context.Context, params ReadPictureParams) (r ReadPictureRes, _ error)
- func (UnimplementedHandler) ReadRating(ctx context.Context, params ReadRatingParams) (r ReadRatingRes, _ error)
- func (UnimplementedHandler) UpdateArtist(ctx context.Context, req UpdateArtistReq, params UpdateArtistParams) (r UpdateArtistRes, _ error)
- func (UnimplementedHandler) UpdateCountry(ctx context.Context, req UpdateCountryReq, params UpdateCountryParams) (r UpdateCountryRes, _ error)
- func (UnimplementedHandler) UpdateFile(ctx context.Context, req UpdateFileReq, params UpdateFileParams) (r UpdateFileRes, _ error)
- func (UnimplementedHandler) UpdateMovie(ctx context.Context, req UpdateMovieReq, params UpdateMovieParams) (r UpdateMovieRes, _ error)
- func (UnimplementedHandler) UpdateMovieGenre(ctx context.Context, req UpdateMovieGenreReq, params UpdateMovieGenreParams) (r UpdateMovieGenreRes, _ error)
- func (UnimplementedHandler) UpdatePicture(ctx context.Context, req UpdatePictureReq, params UpdatePictureParams) (r UpdatePictureRes, _ error)
- func (UnimplementedHandler) UpdateRating(ctx context.Context, req UpdateRatingReq, params UpdateRatingParams) (r UpdateRatingRes, _ error)
- type UpdateArtistParams
- type UpdateArtistReq
- type UpdateArtistRes
- type UpdateCountryParams
- type UpdateCountryReq
- type UpdateCountryRes
- type UpdateFileParams
- type UpdateFileReq
- type UpdateFileReqType
- type UpdateFileRes
- type UpdateMovieGenreParams
- type UpdateMovieGenreReq
- type UpdateMovieGenreRes
- type UpdateMovieParams
- type UpdateMovieReq
- type UpdateMovieRes
- type UpdatePictureParams
- type UpdatePictureReq
- type UpdatePictureRes
- type UpdateRatingParams
- type UpdateRatingReq
- type UpdateRatingRes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArtistActedList ¶
type ArtistActedList struct { ID int "json:\"id\"" Title string "json:\"title\"" OriginalTitle OptString "json:\"original_title\"" ReleaseDate OptDateTime "json:\"release_date\"" Plot OptString "json:\"plot\"" Duration OptInt "json:\"duration\"" Watched bool "json:\"watched\"" }
Ref: #/components/schemas/Artist_ActedList
func NewArtistActedList ¶
func NewArtistActedList(e *ent.Movie) *ArtistActedList
func NewArtistActedLists ¶
func NewArtistActedLists(es []*ent.Movie) []ArtistActedList
func (*ArtistActedList) Decode ¶
func (s *ArtistActedList) Decode(d *jx.Decoder) error
Decode decodes ArtistActedList from json.
func (*ArtistActedList) Elem ¶
func (m *ArtistActedList) Elem() ArtistActedList
func (ArtistActedList) Encode ¶
func (s ArtistActedList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type ArtistCountriesList ¶
type ArtistCountriesList struct { ID int "json:\"id\"" Name string "json:\"name\"" Code string "json:\"code\"" }
Ref: #/components/schemas/Artist_CountriesList
func NewArtistCountriesList ¶
func NewArtistCountriesList(e *ent.Country) *ArtistCountriesList
func NewArtistCountriesLists ¶
func NewArtistCountriesLists(es []*ent.Country) []ArtistCountriesList
func (*ArtistCountriesList) Decode ¶
func (s *ArtistCountriesList) Decode(d *jx.Decoder) error
Decode decodes ArtistCountriesList from json.
func (*ArtistCountriesList) Elem ¶
func (c *ArtistCountriesList) Elem() ArtistCountriesList
func (ArtistCountriesList) Encode ¶
func (s ArtistCountriesList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type ArtistCreate ¶
type ArtistCreate struct { ID int "json:\"id\"" Name string "json:\"name\"" Birthday OptDateTime "json:\"birthday\"" }
Ref: #/components/schemas/ArtistCreate
func NewArtistCreate ¶
func NewArtistCreate(e *ent.Artist) *ArtistCreate
func NewArtistCreates ¶
func NewArtistCreates(es []*ent.Artist) []ArtistCreate
func (*ArtistCreate) Decode ¶
func (s *ArtistCreate) Decode(d *jx.Decoder) error
Decode decodes ArtistCreate from json.
func (*ArtistCreate) Elem ¶
func (a *ArtistCreate) Elem() ArtistCreate
func (ArtistCreate) Encode ¶
func (s ArtistCreate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type ArtistDirectedList ¶
type ArtistDirectedList struct { ID int "json:\"id\"" Title string "json:\"title\"" OriginalTitle OptString "json:\"original_title\"" ReleaseDate OptDateTime "json:\"release_date\"" Plot OptString "json:\"plot\"" Duration OptInt "json:\"duration\"" Watched bool "json:\"watched\"" }
Ref: #/components/schemas/Artist_DirectedList
func NewArtistDirectedList ¶
func NewArtistDirectedList(e *ent.Movie) *ArtistDirectedList
func NewArtistDirectedLists ¶
func NewArtistDirectedLists(es []*ent.Movie) []ArtistDirectedList
func (*ArtistDirectedList) Decode ¶
func (s *ArtistDirectedList) Decode(d *jx.Decoder) error
Decode decodes ArtistDirectedList from json.
func (*ArtistDirectedList) Elem ¶
func (m *ArtistDirectedList) Elem() ArtistDirectedList
func (ArtistDirectedList) Encode ¶
func (s ArtistDirectedList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type ArtistList ¶
type ArtistList struct { ID int "json:\"id\"" Name string "json:\"name\"" Birthday OptDateTime "json:\"birthday\"" }
Ref: #/components/schemas/ArtistList
func NewArtistList ¶
func NewArtistList(e *ent.Artist) *ArtistList
func NewArtistLists ¶
func NewArtistLists(es []*ent.Artist) []ArtistList
func (*ArtistList) Decode ¶
func (s *ArtistList) Decode(d *jx.Decoder) error
Decode decodes ArtistList from json.
func (*ArtistList) Elem ¶
func (a *ArtistList) Elem() ArtistList
func (ArtistList) Encode ¶
func (s ArtistList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type ArtistPicturesList ¶
type ArtistPicturesList struct { ID int "json:\"id\"" Name OptString "json:\"name\"" Filename string "json:\"filename\"" Path string "json:\"path\"" }
Ref: #/components/schemas/Artist_PicturesList
func NewArtistPicturesList ¶
func NewArtistPicturesList(e *ent.Picture) *ArtistPicturesList
func NewArtistPicturesLists ¶
func NewArtistPicturesLists(es []*ent.Picture) []ArtistPicturesList
func (*ArtistPicturesList) Decode ¶
func (s *ArtistPicturesList) Decode(d *jx.Decoder) error
Decode decodes ArtistPicturesList from json.
func (*ArtistPicturesList) Elem ¶
func (pi *ArtistPicturesList) Elem() ArtistPicturesList
func (ArtistPicturesList) Encode ¶
func (s ArtistPicturesList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type ArtistProfilePictureRead ¶
type ArtistProfilePictureRead struct { ID int "json:\"id\"" Name OptString "json:\"name\"" Filename string "json:\"filename\"" Path string "json:\"path\"" }
Ref: #/components/schemas/Artist_ProfilePictureRead
func NewArtistProfilePictureRead ¶
func NewArtistProfilePictureRead(e *ent.Picture) *ArtistProfilePictureRead
func NewArtistProfilePictureReads ¶
func NewArtistProfilePictureReads(es []*ent.Picture) []ArtistProfilePictureRead
func (*ArtistProfilePictureRead) Decode ¶
func (s *ArtistProfilePictureRead) Decode(d *jx.Decoder) error
Decode decodes ArtistProfilePictureRead from json.
func (*ArtistProfilePictureRead) Elem ¶
func (pi *ArtistProfilePictureRead) Elem() ArtistProfilePictureRead
func (ArtistProfilePictureRead) Encode ¶
func (s ArtistProfilePictureRead) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type ArtistRead ¶
type ArtistRead struct { ID int "json:\"id\"" Name string "json:\"name\"" Birthday OptDateTime "json:\"birthday\"" }
Ref: #/components/schemas/ArtistRead
func NewArtistRead ¶
func NewArtistRead(e *ent.Artist) *ArtistRead
func NewArtistReads ¶
func NewArtistReads(es []*ent.Artist) []ArtistRead
func (*ArtistRead) Decode ¶
func (s *ArtistRead) Decode(d *jx.Decoder) error
Decode decodes ArtistRead from json.
func (*ArtistRead) Elem ¶
func (a *ArtistRead) Elem() ArtistRead
func (ArtistRead) Encode ¶
func (s ArtistRead) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type ArtistUpdate ¶
type ArtistUpdate struct { ID int "json:\"id\"" Name string "json:\"name\"" Birthday OptDateTime "json:\"birthday\"" }
Ref: #/components/schemas/ArtistUpdate
func NewArtistUpdate ¶
func NewArtistUpdate(e *ent.Artist) *ArtistUpdate
func NewArtistUpdates ¶
func NewArtistUpdates(es []*ent.Artist) []ArtistUpdate
func (*ArtistUpdate) Decode ¶
func (s *ArtistUpdate) Decode(d *jx.Decoder) error
Decode decodes ArtistUpdate from json.
func (*ArtistUpdate) Elem ¶
func (a *ArtistUpdate) Elem() ArtistUpdate
func (ArtistUpdate) Encode ¶
func (s ArtistUpdate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type ArtistWroteList ¶
type ArtistWroteList struct { ID int "json:\"id\"" Title string "json:\"title\"" OriginalTitle OptString "json:\"original_title\"" ReleaseDate OptDateTime "json:\"release_date\"" Plot OptString "json:\"plot\"" Duration OptInt "json:\"duration\"" Watched bool "json:\"watched\"" }
Ref: #/components/schemas/Artist_WroteList
func NewArtistWroteList ¶
func NewArtistWroteList(e *ent.Movie) *ArtistWroteList
func NewArtistWroteLists ¶
func NewArtistWroteLists(es []*ent.Movie) []ArtistWroteList
func (*ArtistWroteList) Decode ¶
func (s *ArtistWroteList) Decode(d *jx.Decoder) error
Decode decodes ArtistWroteList from json.
func (*ArtistWroteList) Elem ¶
func (m *ArtistWroteList) Elem() ArtistWroteList
func (ArtistWroteList) Encode ¶
func (s ArtistWroteList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client implements OAS client.
func (*Client) CreateArtist ¶
func (c *Client) CreateArtist(ctx context.Context, request CreateArtistReq) (res CreateArtistRes, err error)
CreateArtist invokes createArtist operation.
Creates a new Artist and persists it to storage.
POST /artists
func (*Client) CreateCountry ¶
func (c *Client) CreateCountry(ctx context.Context, request CreateCountryReq) (res CreateCountryRes, err error)
CreateCountry invokes createCountry operation.
Creates a new Country and persists it to storage.
POST /countries
func (*Client) CreateFile ¶
func (c *Client) CreateFile(ctx context.Context, request CreateFileReq) (res CreateFileRes, err error)
CreateFile invokes createFile operation.
Creates a new File and persists it to storage.
POST /files
func (*Client) CreateMovie ¶
func (c *Client) CreateMovie(ctx context.Context, request CreateMovieReq) (res CreateMovieRes, err error)
CreateMovie invokes createMovie operation.
Creates a new Movie and persists it to storage.
POST /movies
func (*Client) CreateMovieGenre ¶
func (c *Client) CreateMovieGenre(ctx context.Context, request CreateMovieGenreReq) (res CreateMovieGenreRes, err error)
CreateMovieGenre invokes createMovieGenre operation.
Creates a new MovieGenre and persists it to storage.
POST /movie-genres
func (*Client) CreatePicture ¶
func (c *Client) CreatePicture(ctx context.Context, request CreatePictureReq) (res CreatePictureRes, err error)
CreatePicture invokes createPicture operation.
Creates a new Picture and persists it to storage.
POST /pictures
func (*Client) CreateRating ¶
func (c *Client) CreateRating(ctx context.Context, request CreateRatingReq) (res CreateRatingRes, err error)
CreateRating invokes createRating operation.
Creates a new Rating and persists it to storage.
POST /ratings
func (*Client) DeleteArtist ¶
func (c *Client) DeleteArtist(ctx context.Context, params DeleteArtistParams) (res DeleteArtistRes, err error)
DeleteArtist invokes deleteArtist operation.
Deletes the Artist with the requested ID.
DELETE /artists/{id}
func (*Client) DeleteCountry ¶
func (c *Client) DeleteCountry(ctx context.Context, params DeleteCountryParams) (res DeleteCountryRes, err error)
DeleteCountry invokes deleteCountry operation.
Deletes the Country with the requested ID.
DELETE /countries/{id}
func (*Client) DeleteFile ¶
func (c *Client) DeleteFile(ctx context.Context, params DeleteFileParams) (res DeleteFileRes, err error)
DeleteFile invokes deleteFile operation.
Deletes the File with the requested ID.
DELETE /files/{id}
func (*Client) DeleteMovie ¶
func (c *Client) DeleteMovie(ctx context.Context, params DeleteMovieParams) (res DeleteMovieRes, err error)
DeleteMovie invokes deleteMovie operation.
Deletes the Movie with the requested ID.
DELETE /movies/{id}
func (*Client) DeleteMovieGenre ¶
func (c *Client) DeleteMovieGenre(ctx context.Context, params DeleteMovieGenreParams) (res DeleteMovieGenreRes, err error)
DeleteMovieGenre invokes deleteMovieGenre operation.
Deletes the MovieGenre with the requested ID.
DELETE /movie-genres/{id}
func (*Client) DeletePicture ¶
func (c *Client) DeletePicture(ctx context.Context, params DeletePictureParams) (res DeletePictureRes, err error)
DeletePicture invokes deletePicture operation.
Deletes the Picture with the requested ID.
DELETE /pictures/{id}
func (*Client) DeleteRating ¶
func (c *Client) DeleteRating(ctx context.Context, params DeleteRatingParams) (res DeleteRatingRes, err error)
DeleteRating invokes deleteRating operation.
Deletes the Rating with the requested ID.
DELETE /ratings/{id}
func (*Client) ListArtist ¶
func (c *Client) ListArtist(ctx context.Context, params ListArtistParams) (res ListArtistRes, err error)
ListArtist invokes listArtist operation.
List Artists.
GET /artists
func (*Client) ListArtistActed ¶
func (c *Client) ListArtistActed(ctx context.Context, params ListArtistActedParams) (res ListArtistActedRes, err error)
ListArtistActed invokes listArtistActed operation.
List attached Acteds.
GET /artists/{id}/acted
func (*Client) ListArtistCountries ¶
func (c *Client) ListArtistCountries(ctx context.Context, params ListArtistCountriesParams) (res ListArtistCountriesRes, err error)
ListArtistCountries invokes listArtistCountries operation.
List attached Countries.
GET /artists/{id}/countries
func (*Client) ListArtistDirected ¶
func (c *Client) ListArtistDirected(ctx context.Context, params ListArtistDirectedParams) (res ListArtistDirectedRes, err error)
ListArtistDirected invokes listArtistDirected operation.
List attached Directeds.
GET /artists/{id}/directed
func (*Client) ListArtistPictures ¶
func (c *Client) ListArtistPictures(ctx context.Context, params ListArtistPicturesParams) (res ListArtistPicturesRes, err error)
ListArtistPictures invokes listArtistPictures operation.
List attached Pictures.
GET /artists/{id}/pictures
func (*Client) ListArtistWrote ¶
func (c *Client) ListArtistWrote(ctx context.Context, params ListArtistWroteParams) (res ListArtistWroteRes, err error)
ListArtistWrote invokes listArtistWrote operation.
List attached Wrotes.
GET /artists/{id}/wrote
func (*Client) ListCountry ¶
func (c *Client) ListCountry(ctx context.Context, params ListCountryParams) (res ListCountryRes, err error)
ListCountry invokes listCountry operation.
List Countries.
GET /countries
func (*Client) ListCountryArtists ¶
func (c *Client) ListCountryArtists(ctx context.Context, params ListCountryArtistsParams) (res ListCountryArtistsRes, err error)
ListCountryArtists invokes listCountryArtists operation.
List attached Artists.
GET /countries/{id}/artists
func (*Client) ListCountryMovies ¶
func (c *Client) ListCountryMovies(ctx context.Context, params ListCountryMoviesParams) (res ListCountryMoviesRes, err error)
ListCountryMovies invokes listCountryMovies operation.
List attached Movies.
GET /countries/{id}/movies
func (*Client) ListFile ¶
func (c *Client) ListFile(ctx context.Context, params ListFileParams) (res ListFileRes, err error)
ListFile invokes listFile operation.
List Files.
GET /files
func (*Client) ListMovie ¶
func (c *Client) ListMovie(ctx context.Context, params ListMovieParams) (res ListMovieRes, err error)
ListMovie invokes listMovie operation.
List Movies.
GET /movies
func (*Client) ListMovieCast ¶
func (c *Client) ListMovieCast(ctx context.Context, params ListMovieCastParams) (res ListMovieCastRes, err error)
ListMovieCast invokes listMovieCast operation.
List attached Casts.
GET /movies/{id}/cast
func (*Client) ListMovieCountries ¶
func (c *Client) ListMovieCountries(ctx context.Context, params ListMovieCountriesParams) (res ListMovieCountriesRes, err error)
ListMovieCountries invokes listMovieCountries operation.
List attached Countries.
GET /movies/{id}/countries
func (*Client) ListMovieDirectors ¶
func (c *Client) ListMovieDirectors(ctx context.Context, params ListMovieDirectorsParams) (res ListMovieDirectorsRes, err error)
ListMovieDirectors invokes listMovieDirectors operation.
List attached Directors.
GET /movies/{id}/directors
func (*Client) ListMovieFanart ¶
func (c *Client) ListMovieFanart(ctx context.Context, params ListMovieFanartParams) (res ListMovieFanartRes, err error)
ListMovieFanart invokes listMovieFanart operation.
List attached Fanarts.
GET /movies/{id}/fanart
func (*Client) ListMovieGenre ¶
func (c *Client) ListMovieGenre(ctx context.Context, params ListMovieGenreParams) (res ListMovieGenreRes, err error)
ListMovieGenre invokes listMovieGenre operation.
List MovieGenres.
GET /movie-genres
func (*Client) ListMovieGenreMovies ¶
func (c *Client) ListMovieGenreMovies(ctx context.Context, params ListMovieGenreMoviesParams) (res ListMovieGenreMoviesRes, err error)
ListMovieGenreMovies invokes listMovieGenreMovies operation.
List attached Movies.
GET /movie-genres/{id}/movies
func (*Client) ListMovieGenres ¶
func (c *Client) ListMovieGenres(ctx context.Context, params ListMovieGenresParams) (res ListMovieGenresRes, err error)
ListMovieGenres invokes listMovieGenres operation.
List attached Genres.
GET /movies/{id}/genres
func (*Client) ListMovieRatings ¶
func (c *Client) ListMovieRatings(ctx context.Context, params ListMovieRatingsParams) (res ListMovieRatingsRes, err error)
ListMovieRatings invokes listMovieRatings operation.
List attached Ratings.
GET /movies/{id}/ratings
func (*Client) ListMovieWriters ¶
func (c *Client) ListMovieWriters(ctx context.Context, params ListMovieWritersParams) (res ListMovieWritersRes, err error)
ListMovieWriters invokes listMovieWriters operation.
List attached Writers.
GET /movies/{id}/writers
func (*Client) ListPicture ¶
func (c *Client) ListPicture(ctx context.Context, params ListPictureParams) (res ListPictureRes, err error)
ListPicture invokes listPicture operation.
List Pictures.
GET /pictures
func (*Client) ListRating ¶
func (c *Client) ListRating(ctx context.Context, params ListRatingParams) (res ListRatingRes, err error)
ListRating invokes listRating operation.
List Ratings.
GET /ratings
func (*Client) ReadArtist ¶
func (c *Client) ReadArtist(ctx context.Context, params ReadArtistParams) (res ReadArtistRes, err error)
ReadArtist invokes readArtist operation.
Finds the Artist with the requested ID and returns it.
GET /artists/{id}
func (*Client) ReadArtistProfilePicture ¶
func (c *Client) ReadArtistProfilePicture(ctx context.Context, params ReadArtistProfilePictureParams) (res ReadArtistProfilePictureRes, err error)
ReadArtistProfilePicture invokes readArtistProfilePicture operation.
Find the attached Picture of the Artist with the given ID.
GET /artists/{id}/profile-picture
func (*Client) ReadCountry ¶
func (c *Client) ReadCountry(ctx context.Context, params ReadCountryParams) (res ReadCountryRes, err error)
ReadCountry invokes readCountry operation.
Finds the Country with the requested ID and returns it.
GET /countries/{id}
func (*Client) ReadFile ¶
func (c *Client) ReadFile(ctx context.Context, params ReadFileParams) (res ReadFileRes, err error)
ReadFile invokes readFile operation.
Finds the File with the requested ID and returns it.
GET /files/{id}
func (*Client) ReadFileMovie ¶
func (c *Client) ReadFileMovie(ctx context.Context, params ReadFileMovieParams) (res ReadFileMovieRes, err error)
ReadFileMovie invokes readFileMovie operation.
Find the attached Movie of the File with the given ID.
GET /files/{id}/movie
func (*Client) ReadMovie ¶
func (c *Client) ReadMovie(ctx context.Context, params ReadMovieParams) (res ReadMovieRes, err error)
ReadMovie invokes readMovie operation.
Finds the Movie with the requested ID and returns it.
GET /movies/{id}
func (*Client) ReadMovieFile ¶
func (c *Client) ReadMovieFile(ctx context.Context, params ReadMovieFileParams) (res ReadMovieFileRes, err error)
ReadMovieFile invokes readMovieFile operation.
Find the attached File of the Movie with the given ID.
GET /movies/{id}/file
func (*Client) ReadMovieGenre ¶
func (c *Client) ReadMovieGenre(ctx context.Context, params ReadMovieGenreParams) (res ReadMovieGenreRes, err error)
ReadMovieGenre invokes readMovieGenre operation.
Finds the MovieGenre with the requested ID and returns it.
GET /movie-genres/{id}
func (*Client) ReadMoviePoster ¶
func (c *Client) ReadMoviePoster(ctx context.Context, params ReadMoviePosterParams) (res ReadMoviePosterRes, err error)
ReadMoviePoster invokes readMoviePoster operation.
Find the attached Picture of the Movie with the given ID.
GET /movies/{id}/poster
func (*Client) ReadPicture ¶
func (c *Client) ReadPicture(ctx context.Context, params ReadPictureParams) (res ReadPictureRes, err error)
ReadPicture invokes readPicture operation.
Finds the Picture with the requested ID and returns it.
GET /pictures/{id}
func (*Client) ReadRating ¶
func (c *Client) ReadRating(ctx context.Context, params ReadRatingParams) (res ReadRatingRes, err error)
ReadRating invokes readRating operation.
Finds the Rating with the requested ID and returns it.
GET /ratings/{id}
func (*Client) UpdateArtist ¶
func (c *Client) UpdateArtist(ctx context.Context, request UpdateArtistReq, params UpdateArtistParams) (res UpdateArtistRes, err error)
UpdateArtist invokes updateArtist operation.
Updates a Artist and persists changes to storage.
PATCH /artists/{id}
func (*Client) UpdateCountry ¶
func (c *Client) UpdateCountry(ctx context.Context, request UpdateCountryReq, params UpdateCountryParams) (res UpdateCountryRes, err error)
UpdateCountry invokes updateCountry operation.
Updates a Country and persists changes to storage.
PATCH /countries/{id}
func (*Client) UpdateFile ¶
func (c *Client) UpdateFile(ctx context.Context, request UpdateFileReq, params UpdateFileParams) (res UpdateFileRes, err error)
UpdateFile invokes updateFile operation.
Updates a File and persists changes to storage.
PATCH /files/{id}
func (*Client) UpdateMovie ¶
func (c *Client) UpdateMovie(ctx context.Context, request UpdateMovieReq, params UpdateMovieParams) (res UpdateMovieRes, err error)
UpdateMovie invokes updateMovie operation.
Updates a Movie and persists changes to storage.
PATCH /movies/{id}
func (*Client) UpdateMovieGenre ¶
func (c *Client) UpdateMovieGenre(ctx context.Context, request UpdateMovieGenreReq, params UpdateMovieGenreParams) (res UpdateMovieGenreRes, err error)
UpdateMovieGenre invokes updateMovieGenre operation.
Updates a MovieGenre and persists changes to storage.
PATCH /movie-genres/{id}
func (*Client) UpdatePicture ¶
func (c *Client) UpdatePicture(ctx context.Context, request UpdatePictureReq, params UpdatePictureParams) (res UpdatePictureRes, err error)
UpdatePicture invokes updatePicture operation.
Updates a Picture and persists changes to storage.
PATCH /pictures/{id}
func (*Client) UpdateRating ¶
func (c *Client) UpdateRating(ctx context.Context, request UpdateRatingReq, params UpdateRatingParams) (res UpdateRatingRes, err error)
UpdateRating invokes updateRating operation.
Updates a Rating and persists changes to storage.
PATCH /ratings/{id}
type CountryArtistsList ¶
type CountryArtistsList struct { ID int "json:\"id\"" Name string "json:\"name\"" Birthday OptDateTime "json:\"birthday\"" }
Ref: #/components/schemas/Country_ArtistsList
func NewCountryArtistsList ¶
func NewCountryArtistsList(e *ent.Artist) *CountryArtistsList
func NewCountryArtistsLists ¶
func NewCountryArtistsLists(es []*ent.Artist) []CountryArtistsList
func (*CountryArtistsList) Decode ¶
func (s *CountryArtistsList) Decode(d *jx.Decoder) error
Decode decodes CountryArtistsList from json.
func (*CountryArtistsList) Elem ¶
func (a *CountryArtistsList) Elem() CountryArtistsList
func (CountryArtistsList) Encode ¶
func (s CountryArtistsList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type CountryCreate ¶
type CountryCreate struct { ID int "json:\"id\"" Name string "json:\"name\"" Code string "json:\"code\"" }
Ref: #/components/schemas/CountryCreate
func NewCountryCreate ¶
func NewCountryCreate(e *ent.Country) *CountryCreate
func NewCountryCreates ¶
func NewCountryCreates(es []*ent.Country) []CountryCreate
func (*CountryCreate) Decode ¶
func (s *CountryCreate) Decode(d *jx.Decoder) error
Decode decodes CountryCreate from json.
func (*CountryCreate) Elem ¶
func (c *CountryCreate) Elem() CountryCreate
func (CountryCreate) Encode ¶
func (s CountryCreate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type CountryList ¶
type CountryList struct { ID int "json:\"id\"" Name string "json:\"name\"" Code string "json:\"code\"" }
Ref: #/components/schemas/CountryList
func NewCountryList ¶
func NewCountryList(e *ent.Country) *CountryList
func NewCountryLists ¶
func NewCountryLists(es []*ent.Country) []CountryList
func (*CountryList) Decode ¶
func (s *CountryList) Decode(d *jx.Decoder) error
Decode decodes CountryList from json.
func (*CountryList) Elem ¶
func (c *CountryList) Elem() CountryList
func (CountryList) Encode ¶
func (s CountryList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type CountryMoviesList ¶
type CountryMoviesList struct { ID int "json:\"id\"" Title string "json:\"title\"" OriginalTitle OptString "json:\"original_title\"" ReleaseDate OptDateTime "json:\"release_date\"" Plot OptString "json:\"plot\"" Duration OptInt "json:\"duration\"" Watched bool "json:\"watched\"" }
Ref: #/components/schemas/Country_MoviesList
func NewCountryMoviesList ¶
func NewCountryMoviesList(e *ent.Movie) *CountryMoviesList
func NewCountryMoviesLists ¶
func NewCountryMoviesLists(es []*ent.Movie) []CountryMoviesList
func (*CountryMoviesList) Decode ¶
func (s *CountryMoviesList) Decode(d *jx.Decoder) error
Decode decodes CountryMoviesList from json.
func (*CountryMoviesList) Elem ¶
func (m *CountryMoviesList) Elem() CountryMoviesList
func (CountryMoviesList) Encode ¶
func (s CountryMoviesList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type CountryRead ¶
type CountryRead struct { ID int "json:\"id\"" Name string "json:\"name\"" Code string "json:\"code\"" }
Ref: #/components/schemas/CountryRead
func NewCountryRead ¶
func NewCountryRead(e *ent.Country) *CountryRead
func NewCountryReads ¶
func NewCountryReads(es []*ent.Country) []CountryRead
func (*CountryRead) Decode ¶
func (s *CountryRead) Decode(d *jx.Decoder) error
Decode decodes CountryRead from json.
func (*CountryRead) Elem ¶
func (c *CountryRead) Elem() CountryRead
func (CountryRead) Encode ¶
func (s CountryRead) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type CountryUpdate ¶
type CountryUpdate struct { ID int "json:\"id\"" Name string "json:\"name\"" Code string "json:\"code\"" }
Ref: #/components/schemas/CountryUpdate
func NewCountryUpdate ¶
func NewCountryUpdate(e *ent.Country) *CountryUpdate
func NewCountryUpdates ¶
func NewCountryUpdates(es []*ent.Country) []CountryUpdate
func (*CountryUpdate) Decode ¶
func (s *CountryUpdate) Decode(d *jx.Decoder) error
Decode decodes CountryUpdate from json.
func (*CountryUpdate) Elem ¶
func (c *CountryUpdate) Elem() CountryUpdate
func (CountryUpdate) Encode ¶
func (s CountryUpdate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type CreateArtistReq ¶
type CreateArtistReq struct { Name string "json:\"name\"" Birthday OptDateTime "json:\"birthday\"" ProfilePicture OptInt "json:\"profile_picture\"" Pictures []int "json:\"pictures\"" Directed []int "json:\"directed\"" Acted []int "json:\"acted\"" Wrote []int "json:\"wrote\"" Countries []int "json:\"countries\"" }
func (*CreateArtistReq) Decode ¶
func (s *CreateArtistReq) Decode(d *jx.Decoder) error
Decode decodes CreateArtistReq from json.
func (CreateArtistReq) Encode ¶
func (s CreateArtistReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type CreateArtistRes ¶
type CreateArtistRes interface {
// contains filtered or unexported methods
}
type CreateCountryReq ¶
type CreateCountryReq struct { Name string "json:\"name\"" Code string "json:\"code\"" Movies []int "json:\"movies\"" Artists []int "json:\"artists\"" }
func (*CreateCountryReq) Decode ¶
func (s *CreateCountryReq) Decode(d *jx.Decoder) error
Decode decodes CreateCountryReq from json.
func (CreateCountryReq) Encode ¶
func (s CreateCountryReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type CreateCountryRes ¶
type CreateCountryRes interface {
// contains filtered or unexported methods
}
type CreateFileReq ¶
type CreateFileReq struct { Name string "json:\"name\"" Path string "json:\"path\"" Type CreateFileReqType "json:\"type\"" ExternalID OptString "json:\"external_id\"" ExternalInfoProvider OptString "json:\"external_info_provider\"" Results OptString "json:\"results\"" Synced bool "json:\"synced\"" Movie OptInt "json:\"movie\"" }
func (*CreateFileReq) Decode ¶
func (s *CreateFileReq) Decode(d *jx.Decoder) error
Decode decodes CreateFileReq from json.
func (CreateFileReq) Encode ¶
func (s CreateFileReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (CreateFileReq) Validate ¶
func (s CreateFileReq) Validate() error
type CreateFileReqType ¶
type CreateFileReqType string
const ( CreateFileReqTypeAudio CreateFileReqType = "audio" CreateFileReqTypeVideo CreateFileReqType = "video" CreateFileReqTypeImage CreateFileReqType = "image" )
func (*CreateFileReqType) Decode ¶
func (s *CreateFileReqType) Decode(d *jx.Decoder) error
Decode decodes CreateFileReqType from json.
func (CreateFileReqType) Encode ¶
func (s CreateFileReqType) Encode(e *jx.Encoder)
Encode encodes CreateFileReqType as json.
func (CreateFileReqType) Validate ¶
func (s CreateFileReqType) Validate() error
type CreateFileRes ¶
type CreateFileRes interface {
// contains filtered or unexported methods
}
type CreateMovieGenreReq ¶
func (*CreateMovieGenreReq) Decode ¶
func (s *CreateMovieGenreReq) Decode(d *jx.Decoder) error
Decode decodes CreateMovieGenreReq from json.
func (CreateMovieGenreReq) Encode ¶
func (s CreateMovieGenreReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type CreateMovieGenreRes ¶
type CreateMovieGenreRes interface {
// contains filtered or unexported methods
}
type CreateMovieReq ¶
type CreateMovieReq struct { Title string "json:\"title\"" OriginalTitle OptString "json:\"original_title\"" ReleaseDate OptDateTime "json:\"release_date\"" Plot OptString "json:\"plot\"" Duration OptInt "json:\"duration\"" Watched bool "json:\"watched\"" File OptInt "json:\"file\"" Ratings []int "json:\"ratings\"" Poster OptInt "json:\"poster\"" Fanart []int "json:\"fanart\"" Cast []int "json:\"cast\"" Directors []int "json:\"directors\"" Writers []int "json:\"writers\"" Genres []int "json:\"genres\"" Countries []int "json:\"countries\"" }
func (*CreateMovieReq) Decode ¶
func (s *CreateMovieReq) Decode(d *jx.Decoder) error
Decode decodes CreateMovieReq from json.
func (CreateMovieReq) Encode ¶
func (s CreateMovieReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type CreateMovieRes ¶
type CreateMovieRes interface {
// contains filtered or unexported methods
}
type CreatePictureReq ¶
type CreatePictureReq struct { Name OptString "json:\"name\"" Filename string "json:\"filename\"" Path string "json:\"path\"" }
func (*CreatePictureReq) Decode ¶
func (s *CreatePictureReq) Decode(d *jx.Decoder) error
Decode decodes CreatePictureReq from json.
func (CreatePictureReq) Encode ¶
func (s CreatePictureReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type CreatePictureRes ¶
type CreatePictureRes interface {
// contains filtered or unexported methods
}
type CreateRatingReq ¶
type CreateRatingReq struct { Origin string "json:\"origin\"" OriginalRating string "json:\"original_rating\"" NormalizedRating int "json:\"normalized_rating\"" }
func (*CreateRatingReq) Decode ¶
func (s *CreateRatingReq) Decode(d *jx.Decoder) error
Decode decodes CreateRatingReq from json.
func (CreateRatingReq) Encode ¶
func (s CreateRatingReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type CreateRatingRes ¶
type CreateRatingRes interface {
// contains filtered or unexported methods
}
type DeleteArtistNoContent ¶
type DeleteArtistNoContent struct{}
DeleteArtistNoContent is response for DeleteArtist operation.
type DeleteArtistParams ¶
type DeleteArtistParams struct { // ID of the Artist. ID int }
type DeleteArtistRes ¶
type DeleteArtistRes interface {
// contains filtered or unexported methods
}
type DeleteCountryNoContent ¶
type DeleteCountryNoContent struct{}
DeleteCountryNoContent is response for DeleteCountry operation.
type DeleteCountryParams ¶
type DeleteCountryParams struct { // ID of the Country. ID int }
type DeleteCountryRes ¶
type DeleteCountryRes interface {
// contains filtered or unexported methods
}
type DeleteFileNoContent ¶
type DeleteFileNoContent struct{}
DeleteFileNoContent is response for DeleteFile operation.
type DeleteFileParams ¶
type DeleteFileParams struct { // ID of the File. ID int }
type DeleteFileRes ¶
type DeleteFileRes interface {
// contains filtered or unexported methods
}
type DeleteMovieGenreNoContent ¶
type DeleteMovieGenreNoContent struct{}
DeleteMovieGenreNoContent is response for DeleteMovieGenre operation.
type DeleteMovieGenreParams ¶
type DeleteMovieGenreParams struct { // ID of the MovieGenre. ID int }
type DeleteMovieGenreRes ¶
type DeleteMovieGenreRes interface {
// contains filtered or unexported methods
}
type DeleteMovieNoContent ¶
type DeleteMovieNoContent struct{}
DeleteMovieNoContent is response for DeleteMovie operation.
type DeleteMovieParams ¶
type DeleteMovieParams struct { // ID of the Movie. ID int }
type DeleteMovieRes ¶
type DeleteMovieRes interface {
// contains filtered or unexported methods
}
type DeletePictureNoContent ¶
type DeletePictureNoContent struct{}
DeletePictureNoContent is response for DeletePicture operation.
type DeletePictureParams ¶
type DeletePictureParams struct { // ID of the Picture. ID int }
type DeletePictureRes ¶
type DeletePictureRes interface {
// contains filtered or unexported methods
}
type DeleteRatingNoContent ¶
type DeleteRatingNoContent struct{}
DeleteRatingNoContent is response for DeleteRating operation.
type DeleteRatingParams ¶
type DeleteRatingParams struct { // ID of the Rating. ID int }
type DeleteRatingRes ¶
type DeleteRatingRes interface {
// contains filtered or unexported methods
}
type FileCreate ¶
type FileCreate struct { ID int "json:\"id\"" Name string "json:\"name\"" Path string "json:\"path\"" Type FileCreateType "json:\"type\"" ExternalID OptString "json:\"external_id\"" ExternalInfoProvider OptString "json:\"external_info_provider\"" Results OptString "json:\"results\"" Synced bool "json:\"synced\"" }
Ref: #/components/schemas/FileCreate
func NewFileCreate ¶
func NewFileCreate(e *ent.File) *FileCreate
func NewFileCreates ¶
func NewFileCreates(es []*ent.File) []FileCreate
func (*FileCreate) Decode ¶
func (s *FileCreate) Decode(d *jx.Decoder) error
Decode decodes FileCreate from json.
func (*FileCreate) Elem ¶
func (f *FileCreate) Elem() FileCreate
func (FileCreate) Encode ¶
func (s FileCreate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (FileCreate) Validate ¶
func (s FileCreate) Validate() error
type FileCreateType ¶
type FileCreateType string
const ( FileCreateTypeAudio FileCreateType = "audio" FileCreateTypeVideo FileCreateType = "video" FileCreateTypeImage FileCreateType = "image" )
func (*FileCreateType) Decode ¶
func (s *FileCreateType) Decode(d *jx.Decoder) error
Decode decodes FileCreateType from json.
func (FileCreateType) Encode ¶
func (s FileCreateType) Encode(e *jx.Encoder)
Encode encodes FileCreateType as json.
func (FileCreateType) Validate ¶
func (s FileCreateType) Validate() error
type FileList ¶
type FileList struct { ID int "json:\"id\"" Name string "json:\"name\"" Path string "json:\"path\"" Type FileListType "json:\"type\"" ExternalID OptString "json:\"external_id\"" ExternalInfoProvider OptString "json:\"external_info_provider\"" Results OptString "json:\"results\"" Synced bool "json:\"synced\"" }
Ref: #/components/schemas/FileList
func NewFileList ¶
func NewFileLists ¶
type FileListType ¶
type FileListType string
const ( FileListTypeAudio FileListType = "audio" FileListTypeVideo FileListType = "video" FileListTypeImage FileListType = "image" )
func (*FileListType) Decode ¶
func (s *FileListType) Decode(d *jx.Decoder) error
Decode decodes FileListType from json.
func (FileListType) Encode ¶
func (s FileListType) Encode(e *jx.Encoder)
Encode encodes FileListType as json.
func (FileListType) Validate ¶
func (s FileListType) Validate() error
type FileMovieRead ¶
type FileMovieRead struct { ID int "json:\"id\"" Title string "json:\"title\"" OriginalTitle OptString "json:\"original_title\"" ReleaseDate OptDateTime "json:\"release_date\"" Plot OptString "json:\"plot\"" Duration OptInt "json:\"duration\"" Watched bool "json:\"watched\"" }
Ref: #/components/schemas/File_MovieRead
func NewFileMovieRead ¶
func NewFileMovieRead(e *ent.Movie) *FileMovieRead
func NewFileMovieReads ¶
func NewFileMovieReads(es []*ent.Movie) []FileMovieRead
func (*FileMovieRead) Decode ¶
func (s *FileMovieRead) Decode(d *jx.Decoder) error
Decode decodes FileMovieRead from json.
func (*FileMovieRead) Elem ¶
func (m *FileMovieRead) Elem() FileMovieRead
func (FileMovieRead) Encode ¶
func (s FileMovieRead) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type FileRead ¶
type FileRead struct { ID int "json:\"id\"" Name string "json:\"name\"" Path string "json:\"path\"" Type FileReadType "json:\"type\"" ExternalID OptString "json:\"external_id\"" ExternalInfoProvider OptString "json:\"external_info_provider\"" Results OptString "json:\"results\"" Synced bool "json:\"synced\"" }
Ref: #/components/schemas/FileRead
func NewFileRead ¶
func NewFileReads ¶
type FileReadType ¶
type FileReadType string
const ( FileReadTypeAudio FileReadType = "audio" FileReadTypeVideo FileReadType = "video" FileReadTypeImage FileReadType = "image" )
func (*FileReadType) Decode ¶
func (s *FileReadType) Decode(d *jx.Decoder) error
Decode decodes FileReadType from json.
func (FileReadType) Encode ¶
func (s FileReadType) Encode(e *jx.Encoder)
Encode encodes FileReadType as json.
func (FileReadType) Validate ¶
func (s FileReadType) Validate() error
type FileUpdate ¶
type FileUpdate struct { ID int "json:\"id\"" Name string "json:\"name\"" Path string "json:\"path\"" Type FileUpdateType "json:\"type\"" ExternalID OptString "json:\"external_id\"" ExternalInfoProvider OptString "json:\"external_info_provider\"" Results OptString "json:\"results\"" Synced bool "json:\"synced\"" }
Ref: #/components/schemas/FileUpdate
func NewFileUpdate ¶
func NewFileUpdate(e *ent.File) *FileUpdate
func NewFileUpdates ¶
func NewFileUpdates(es []*ent.File) []FileUpdate
func (*FileUpdate) Decode ¶
func (s *FileUpdate) Decode(d *jx.Decoder) error
Decode decodes FileUpdate from json.
func (*FileUpdate) Elem ¶
func (f *FileUpdate) Elem() FileUpdate
func (FileUpdate) Encode ¶
func (s FileUpdate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (FileUpdate) Validate ¶
func (s FileUpdate) Validate() error
type FileUpdateType ¶
type FileUpdateType string
const ( FileUpdateTypeAudio FileUpdateType = "audio" FileUpdateTypeVideo FileUpdateType = "video" FileUpdateTypeImage FileUpdateType = "image" )
func (*FileUpdateType) Decode ¶
func (s *FileUpdateType) Decode(d *jx.Decoder) error
Decode decodes FileUpdateType from json.
func (FileUpdateType) Encode ¶
func (s FileUpdateType) Encode(e *jx.Encoder)
Encode encodes FileUpdateType as json.
func (FileUpdateType) Validate ¶
func (s FileUpdateType) Validate() error
type Handler ¶
type Handler interface { // CreateArtist implements createArtist operation. // // Creates a new Artist and persists it to storage. // // POST /artists CreateArtist(ctx context.Context, req CreateArtistReq) (CreateArtistRes, error) // CreateCountry implements createCountry operation. // // Creates a new Country and persists it to storage. // // POST /countries CreateCountry(ctx context.Context, req CreateCountryReq) (CreateCountryRes, error) // CreateFile implements createFile operation. // // Creates a new File and persists it to storage. // // POST /files CreateFile(ctx context.Context, req CreateFileReq) (CreateFileRes, error) // CreateMovie implements createMovie operation. // // Creates a new Movie and persists it to storage. // // POST /movies CreateMovie(ctx context.Context, req CreateMovieReq) (CreateMovieRes, error) // CreateMovieGenre implements createMovieGenre operation. // // Creates a new MovieGenre and persists it to storage. // // POST /movie-genres CreateMovieGenre(ctx context.Context, req CreateMovieGenreReq) (CreateMovieGenreRes, error) // CreatePicture implements createPicture operation. // // Creates a new Picture and persists it to storage. // // POST /pictures CreatePicture(ctx context.Context, req CreatePictureReq) (CreatePictureRes, error) // CreateRating implements createRating operation. // // Creates a new Rating and persists it to storage. // // POST /ratings CreateRating(ctx context.Context, req CreateRatingReq) (CreateRatingRes, error) // DeleteArtist implements deleteArtist operation. // // Deletes the Artist with the requested ID. // // DELETE /artists/{id} DeleteArtist(ctx context.Context, params DeleteArtistParams) (DeleteArtistRes, error) // DeleteCountry implements deleteCountry operation. // // Deletes the Country with the requested ID. // // DELETE /countries/{id} DeleteCountry(ctx context.Context, params DeleteCountryParams) (DeleteCountryRes, error) // DeleteFile implements deleteFile operation. // // Deletes the File with the requested ID. // // DELETE /files/{id} DeleteFile(ctx context.Context, params DeleteFileParams) (DeleteFileRes, error) // DeleteMovie implements deleteMovie operation. // // Deletes the Movie with the requested ID. // // DELETE /movies/{id} DeleteMovie(ctx context.Context, params DeleteMovieParams) (DeleteMovieRes, error) // DeleteMovieGenre implements deleteMovieGenre operation. // // Deletes the MovieGenre with the requested ID. // // DELETE /movie-genres/{id} DeleteMovieGenre(ctx context.Context, params DeleteMovieGenreParams) (DeleteMovieGenreRes, error) // DeletePicture implements deletePicture operation. // // Deletes the Picture with the requested ID. // // DELETE /pictures/{id} DeletePicture(ctx context.Context, params DeletePictureParams) (DeletePictureRes, error) // DeleteRating implements deleteRating operation. // // Deletes the Rating with the requested ID. // // DELETE /ratings/{id} DeleteRating(ctx context.Context, params DeleteRatingParams) (DeleteRatingRes, error) // ListArtist implements listArtist operation. // // List Artists. // // GET /artists ListArtist(ctx context.Context, params ListArtistParams) (ListArtistRes, error) // ListArtistActed implements listArtistActed operation. // // List attached Acteds. // // GET /artists/{id}/acted ListArtistActed(ctx context.Context, params ListArtistActedParams) (ListArtistActedRes, error) // ListArtistCountries implements listArtistCountries operation. // // List attached Countries. // // GET /artists/{id}/countries ListArtistCountries(ctx context.Context, params ListArtistCountriesParams) (ListArtistCountriesRes, error) // ListArtistDirected implements listArtistDirected operation. // // List attached Directeds. // // GET /artists/{id}/directed ListArtistDirected(ctx context.Context, params ListArtistDirectedParams) (ListArtistDirectedRes, error) // ListArtistPictures implements listArtistPictures operation. // // List attached Pictures. // // GET /artists/{id}/pictures ListArtistPictures(ctx context.Context, params ListArtistPicturesParams) (ListArtistPicturesRes, error) // ListArtistWrote implements listArtistWrote operation. // // List attached Wrotes. // // GET /artists/{id}/wrote ListArtistWrote(ctx context.Context, params ListArtistWroteParams) (ListArtistWroteRes, error) // ListCountry implements listCountry operation. // // List Countries. // // GET /countries ListCountry(ctx context.Context, params ListCountryParams) (ListCountryRes, error) // ListCountryArtists implements listCountryArtists operation. // // List attached Artists. // // GET /countries/{id}/artists ListCountryArtists(ctx context.Context, params ListCountryArtistsParams) (ListCountryArtistsRes, error) // ListCountryMovies implements listCountryMovies operation. // // List attached Movies. // // GET /countries/{id}/movies ListCountryMovies(ctx context.Context, params ListCountryMoviesParams) (ListCountryMoviesRes, error) // ListFile implements listFile operation. // // List Files. // // GET /files ListFile(ctx context.Context, params ListFileParams) (ListFileRes, error) // ListMovie implements listMovie operation. // // List Movies. // // GET /movies ListMovie(ctx context.Context, params ListMovieParams) (ListMovieRes, error) // ListMovieCast implements listMovieCast operation. // // List attached Casts. // // GET /movies/{id}/cast ListMovieCast(ctx context.Context, params ListMovieCastParams) (ListMovieCastRes, error) // ListMovieCountries implements listMovieCountries operation. // // List attached Countries. // // GET /movies/{id}/countries ListMovieCountries(ctx context.Context, params ListMovieCountriesParams) (ListMovieCountriesRes, error) // ListMovieDirectors implements listMovieDirectors operation. // // List attached Directors. // // GET /movies/{id}/directors ListMovieDirectors(ctx context.Context, params ListMovieDirectorsParams) (ListMovieDirectorsRes, error) // ListMovieFanart implements listMovieFanart operation. // // List attached Fanarts. // // GET /movies/{id}/fanart ListMovieFanart(ctx context.Context, params ListMovieFanartParams) (ListMovieFanartRes, error) // ListMovieGenre implements listMovieGenre operation. // // List MovieGenres. // // GET /movie-genres ListMovieGenre(ctx context.Context, params ListMovieGenreParams) (ListMovieGenreRes, error) // ListMovieGenreMovies implements listMovieGenreMovies operation. // // List attached Movies. // // GET /movie-genres/{id}/movies ListMovieGenreMovies(ctx context.Context, params ListMovieGenreMoviesParams) (ListMovieGenreMoviesRes, error) // ListMovieGenres implements listMovieGenres operation. // // List attached Genres. // // GET /movies/{id}/genres ListMovieGenres(ctx context.Context, params ListMovieGenresParams) (ListMovieGenresRes, error) // ListMovieRatings implements listMovieRatings operation. // // List attached Ratings. // // GET /movies/{id}/ratings ListMovieRatings(ctx context.Context, params ListMovieRatingsParams) (ListMovieRatingsRes, error) // ListMovieWriters implements listMovieWriters operation. // // List attached Writers. // // GET /movies/{id}/writers ListMovieWriters(ctx context.Context, params ListMovieWritersParams) (ListMovieWritersRes, error) // ListPicture implements listPicture operation. // // List Pictures. // // GET /pictures ListPicture(ctx context.Context, params ListPictureParams) (ListPictureRes, error) // ListRating implements listRating operation. // // List Ratings. // // GET /ratings ListRating(ctx context.Context, params ListRatingParams) (ListRatingRes, error) // ReadArtist implements readArtist operation. // // Finds the Artist with the requested ID and returns it. // // GET /artists/{id} ReadArtist(ctx context.Context, params ReadArtistParams) (ReadArtistRes, error) // ReadArtistProfilePicture implements readArtistProfilePicture operation. // // Find the attached Picture of the Artist with the given ID. // // GET /artists/{id}/profile-picture ReadArtistProfilePicture(ctx context.Context, params ReadArtistProfilePictureParams) (ReadArtistProfilePictureRes, error) // ReadCountry implements readCountry operation. // // Finds the Country with the requested ID and returns it. // // GET /countries/{id} ReadCountry(ctx context.Context, params ReadCountryParams) (ReadCountryRes, error) // ReadFile implements readFile operation. // // Finds the File with the requested ID and returns it. // // GET /files/{id} ReadFile(ctx context.Context, params ReadFileParams) (ReadFileRes, error) // ReadFileMovie implements readFileMovie operation. // // Find the attached Movie of the File with the given ID. // // GET /files/{id}/movie ReadFileMovie(ctx context.Context, params ReadFileMovieParams) (ReadFileMovieRes, error) // ReadMovie implements readMovie operation. // // Finds the Movie with the requested ID and returns it. // // GET /movies/{id} ReadMovie(ctx context.Context, params ReadMovieParams) (ReadMovieRes, error) // ReadMovieFile implements readMovieFile operation. // // Find the attached File of the Movie with the given ID. // // GET /movies/{id}/file ReadMovieFile(ctx context.Context, params ReadMovieFileParams) (ReadMovieFileRes, error) // ReadMovieGenre implements readMovieGenre operation. // // Finds the MovieGenre with the requested ID and returns it. // // GET /movie-genres/{id} ReadMovieGenre(ctx context.Context, params ReadMovieGenreParams) (ReadMovieGenreRes, error) // ReadMoviePoster implements readMoviePoster operation. // // Find the attached Picture of the Movie with the given ID. // // GET /movies/{id}/poster ReadMoviePoster(ctx context.Context, params ReadMoviePosterParams) (ReadMoviePosterRes, error) // ReadPicture implements readPicture operation. // // Finds the Picture with the requested ID and returns it. // // GET /pictures/{id} ReadPicture(ctx context.Context, params ReadPictureParams) (ReadPictureRes, error) // ReadRating implements readRating operation. // // Finds the Rating with the requested ID and returns it. // // GET /ratings/{id} ReadRating(ctx context.Context, params ReadRatingParams) (ReadRatingRes, error) // UpdateArtist implements updateArtist operation. // // Updates a Artist and persists changes to storage. // // PATCH /artists/{id} UpdateArtist(ctx context.Context, req UpdateArtistReq, params UpdateArtistParams) (UpdateArtistRes, error) // UpdateCountry implements updateCountry operation. // // Updates a Country and persists changes to storage. // // PATCH /countries/{id} UpdateCountry(ctx context.Context, req UpdateCountryReq, params UpdateCountryParams) (UpdateCountryRes, error) // UpdateFile implements updateFile operation. // // Updates a File and persists changes to storage. // // PATCH /files/{id} UpdateFile(ctx context.Context, req UpdateFileReq, params UpdateFileParams) (UpdateFileRes, error) // UpdateMovie implements updateMovie operation. // // Updates a Movie and persists changes to storage. // // PATCH /movies/{id} UpdateMovie(ctx context.Context, req UpdateMovieReq, params UpdateMovieParams) (UpdateMovieRes, error) // UpdateMovieGenre implements updateMovieGenre operation. // // Updates a MovieGenre and persists changes to storage. // // PATCH /movie-genres/{id} UpdateMovieGenre(ctx context.Context, req UpdateMovieGenreReq, params UpdateMovieGenreParams) (UpdateMovieGenreRes, error) // UpdatePicture implements updatePicture operation. // // Updates a Picture and persists changes to storage. // // PATCH /pictures/{id} UpdatePicture(ctx context.Context, req UpdatePictureReq, params UpdatePictureParams) (UpdatePictureRes, error) // UpdateRating implements updateRating operation. // // Updates a Rating and persists changes to storage. // // PATCH /ratings/{id} UpdateRating(ctx context.Context, req UpdateRatingReq, params UpdateRatingParams) (UpdateRatingRes, error) }
Handler handles operations described by OpenAPI v3 specification.
type ListArtistActedOKApplicationJSON ¶
type ListArtistActedOKApplicationJSON []ArtistActedList
func (*ListArtistActedOKApplicationJSON) Decode ¶
func (s *ListArtistActedOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListArtistActedOKApplicationJSON from json.
func (ListArtistActedOKApplicationJSON) Encode ¶
func (s ListArtistActedOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListArtistActedOKApplicationJSON as json.
func (ListArtistActedOKApplicationJSON) Validate ¶
func (s ListArtistActedOKApplicationJSON) Validate() error
type ListArtistActedParams ¶
type ListArtistActedRes ¶
type ListArtistActedRes interface {
// contains filtered or unexported methods
}
type ListArtistCountriesOKApplicationJSON ¶
type ListArtistCountriesOKApplicationJSON []ArtistCountriesList
func (*ListArtistCountriesOKApplicationJSON) Decode ¶
func (s *ListArtistCountriesOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListArtistCountriesOKApplicationJSON from json.
func (ListArtistCountriesOKApplicationJSON) Encode ¶
func (s ListArtistCountriesOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListArtistCountriesOKApplicationJSON as json.
func (ListArtistCountriesOKApplicationJSON) Validate ¶
func (s ListArtistCountriesOKApplicationJSON) Validate() error
type ListArtistCountriesRes ¶
type ListArtistCountriesRes interface {
// contains filtered or unexported methods
}
type ListArtistDirectedOKApplicationJSON ¶
type ListArtistDirectedOKApplicationJSON []ArtistDirectedList
func (*ListArtistDirectedOKApplicationJSON) Decode ¶
func (s *ListArtistDirectedOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListArtistDirectedOKApplicationJSON from json.
func (ListArtistDirectedOKApplicationJSON) Encode ¶
func (s ListArtistDirectedOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListArtistDirectedOKApplicationJSON as json.
func (ListArtistDirectedOKApplicationJSON) Validate ¶
func (s ListArtistDirectedOKApplicationJSON) Validate() error
type ListArtistDirectedRes ¶
type ListArtistDirectedRes interface {
// contains filtered or unexported methods
}
type ListArtistOKApplicationJSON ¶
type ListArtistOKApplicationJSON []ArtistList
func (*ListArtistOKApplicationJSON) Decode ¶
func (s *ListArtistOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListArtistOKApplicationJSON from json.
func (ListArtistOKApplicationJSON) Encode ¶
func (s ListArtistOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListArtistOKApplicationJSON as json.
func (ListArtistOKApplicationJSON) Validate ¶
func (s ListArtistOKApplicationJSON) Validate() error
type ListArtistParams ¶
type ListArtistPicturesOKApplicationJSON ¶
type ListArtistPicturesOKApplicationJSON []ArtistPicturesList
func (*ListArtistPicturesOKApplicationJSON) Decode ¶
func (s *ListArtistPicturesOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListArtistPicturesOKApplicationJSON from json.
func (ListArtistPicturesOKApplicationJSON) Encode ¶
func (s ListArtistPicturesOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListArtistPicturesOKApplicationJSON as json.
func (ListArtistPicturesOKApplicationJSON) Validate ¶
func (s ListArtistPicturesOKApplicationJSON) Validate() error
type ListArtistPicturesRes ¶
type ListArtistPicturesRes interface {
// contains filtered or unexported methods
}
type ListArtistRes ¶
type ListArtistRes interface {
// contains filtered or unexported methods
}
type ListArtistWroteOKApplicationJSON ¶
type ListArtistWroteOKApplicationJSON []ArtistWroteList
func (*ListArtistWroteOKApplicationJSON) Decode ¶
func (s *ListArtistWroteOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListArtistWroteOKApplicationJSON from json.
func (ListArtistWroteOKApplicationJSON) Encode ¶
func (s ListArtistWroteOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListArtistWroteOKApplicationJSON as json.
func (ListArtistWroteOKApplicationJSON) Validate ¶
func (s ListArtistWroteOKApplicationJSON) Validate() error
type ListArtistWroteParams ¶
type ListArtistWroteRes ¶
type ListArtistWroteRes interface {
// contains filtered or unexported methods
}
type ListCountryArtistsOKApplicationJSON ¶
type ListCountryArtistsOKApplicationJSON []CountryArtistsList
func (*ListCountryArtistsOKApplicationJSON) Decode ¶
func (s *ListCountryArtistsOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListCountryArtistsOKApplicationJSON from json.
func (ListCountryArtistsOKApplicationJSON) Encode ¶
func (s ListCountryArtistsOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListCountryArtistsOKApplicationJSON as json.
func (ListCountryArtistsOKApplicationJSON) Validate ¶
func (s ListCountryArtistsOKApplicationJSON) Validate() error
type ListCountryArtistsRes ¶
type ListCountryArtistsRes interface {
// contains filtered or unexported methods
}
type ListCountryMoviesOKApplicationJSON ¶
type ListCountryMoviesOKApplicationJSON []CountryMoviesList
func (*ListCountryMoviesOKApplicationJSON) Decode ¶
func (s *ListCountryMoviesOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListCountryMoviesOKApplicationJSON from json.
func (ListCountryMoviesOKApplicationJSON) Encode ¶
func (s ListCountryMoviesOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListCountryMoviesOKApplicationJSON as json.
func (ListCountryMoviesOKApplicationJSON) Validate ¶
func (s ListCountryMoviesOKApplicationJSON) Validate() error
type ListCountryMoviesParams ¶
type ListCountryMoviesRes ¶
type ListCountryMoviesRes interface {
// contains filtered or unexported methods
}
type ListCountryOKApplicationJSON ¶
type ListCountryOKApplicationJSON []CountryList
func (*ListCountryOKApplicationJSON) Decode ¶
func (s *ListCountryOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListCountryOKApplicationJSON from json.
func (ListCountryOKApplicationJSON) Encode ¶
func (s ListCountryOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListCountryOKApplicationJSON as json.
func (ListCountryOKApplicationJSON) Validate ¶
func (s ListCountryOKApplicationJSON) Validate() error
type ListCountryParams ¶
type ListCountryRes ¶
type ListCountryRes interface {
// contains filtered or unexported methods
}
type ListFileOKApplicationJSON ¶
type ListFileOKApplicationJSON []FileList
func (*ListFileOKApplicationJSON) Decode ¶
func (s *ListFileOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListFileOKApplicationJSON from json.
func (ListFileOKApplicationJSON) Encode ¶
func (s ListFileOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListFileOKApplicationJSON as json.
func (ListFileOKApplicationJSON) Validate ¶
func (s ListFileOKApplicationJSON) Validate() error
type ListFileParams ¶
type ListFileRes ¶
type ListFileRes interface {
// contains filtered or unexported methods
}
type ListMovieCastOKApplicationJSON ¶
type ListMovieCastOKApplicationJSON []MovieCastList
func (*ListMovieCastOKApplicationJSON) Decode ¶
func (s *ListMovieCastOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListMovieCastOKApplicationJSON from json.
func (ListMovieCastOKApplicationJSON) Encode ¶
func (s ListMovieCastOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListMovieCastOKApplicationJSON as json.
func (ListMovieCastOKApplicationJSON) Validate ¶
func (s ListMovieCastOKApplicationJSON) Validate() error
type ListMovieCastParams ¶
type ListMovieCastRes ¶
type ListMovieCastRes interface {
// contains filtered or unexported methods
}
type ListMovieCountriesOKApplicationJSON ¶
type ListMovieCountriesOKApplicationJSON []MovieCountriesList
func (*ListMovieCountriesOKApplicationJSON) Decode ¶
func (s *ListMovieCountriesOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListMovieCountriesOKApplicationJSON from json.
func (ListMovieCountriesOKApplicationJSON) Encode ¶
func (s ListMovieCountriesOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListMovieCountriesOKApplicationJSON as json.
func (ListMovieCountriesOKApplicationJSON) Validate ¶
func (s ListMovieCountriesOKApplicationJSON) Validate() error
type ListMovieCountriesRes ¶
type ListMovieCountriesRes interface {
// contains filtered or unexported methods
}
type ListMovieDirectorsOKApplicationJSON ¶
type ListMovieDirectorsOKApplicationJSON []MovieDirectorsList
func (*ListMovieDirectorsOKApplicationJSON) Decode ¶
func (s *ListMovieDirectorsOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListMovieDirectorsOKApplicationJSON from json.
func (ListMovieDirectorsOKApplicationJSON) Encode ¶
func (s ListMovieDirectorsOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListMovieDirectorsOKApplicationJSON as json.
func (ListMovieDirectorsOKApplicationJSON) Validate ¶
func (s ListMovieDirectorsOKApplicationJSON) Validate() error
type ListMovieDirectorsRes ¶
type ListMovieDirectorsRes interface {
// contains filtered or unexported methods
}
type ListMovieFanartOKApplicationJSON ¶
type ListMovieFanartOKApplicationJSON []MovieFanartList
func (*ListMovieFanartOKApplicationJSON) Decode ¶
func (s *ListMovieFanartOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListMovieFanartOKApplicationJSON from json.
func (ListMovieFanartOKApplicationJSON) Encode ¶
func (s ListMovieFanartOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListMovieFanartOKApplicationJSON as json.
func (ListMovieFanartOKApplicationJSON) Validate ¶
func (s ListMovieFanartOKApplicationJSON) Validate() error
type ListMovieFanartParams ¶
type ListMovieFanartRes ¶
type ListMovieFanartRes interface {
// contains filtered or unexported methods
}
type ListMovieGenreMoviesOKApplicationJSON ¶
type ListMovieGenreMoviesOKApplicationJSON []MovieGenreMoviesList
func (*ListMovieGenreMoviesOKApplicationJSON) Decode ¶
func (s *ListMovieGenreMoviesOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListMovieGenreMoviesOKApplicationJSON from json.
func (ListMovieGenreMoviesOKApplicationJSON) Encode ¶
func (s ListMovieGenreMoviesOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListMovieGenreMoviesOKApplicationJSON as json.
func (ListMovieGenreMoviesOKApplicationJSON) Validate ¶
func (s ListMovieGenreMoviesOKApplicationJSON) Validate() error
type ListMovieGenreMoviesRes ¶
type ListMovieGenreMoviesRes interface {
// contains filtered or unexported methods
}
type ListMovieGenreOKApplicationJSON ¶
type ListMovieGenreOKApplicationJSON []MovieGenreList
func (*ListMovieGenreOKApplicationJSON) Decode ¶
func (s *ListMovieGenreOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListMovieGenreOKApplicationJSON from json.
func (ListMovieGenreOKApplicationJSON) Encode ¶
func (s ListMovieGenreOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListMovieGenreOKApplicationJSON as json.
func (ListMovieGenreOKApplicationJSON) Validate ¶
func (s ListMovieGenreOKApplicationJSON) Validate() error
type ListMovieGenreParams ¶
type ListMovieGenreRes ¶
type ListMovieGenreRes interface {
// contains filtered or unexported methods
}
type ListMovieGenresOKApplicationJSON ¶
type ListMovieGenresOKApplicationJSON []MovieGenresList
func (*ListMovieGenresOKApplicationJSON) Decode ¶
func (s *ListMovieGenresOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListMovieGenresOKApplicationJSON from json.
func (ListMovieGenresOKApplicationJSON) Encode ¶
func (s ListMovieGenresOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListMovieGenresOKApplicationJSON as json.
func (ListMovieGenresOKApplicationJSON) Validate ¶
func (s ListMovieGenresOKApplicationJSON) Validate() error
type ListMovieGenresParams ¶
type ListMovieGenresRes ¶
type ListMovieGenresRes interface {
// contains filtered or unexported methods
}
type ListMovieOKApplicationJSON ¶
type ListMovieOKApplicationJSON []MovieList
func (*ListMovieOKApplicationJSON) Decode ¶
func (s *ListMovieOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListMovieOKApplicationJSON from json.
func (ListMovieOKApplicationJSON) Encode ¶
func (s ListMovieOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListMovieOKApplicationJSON as json.
func (ListMovieOKApplicationJSON) Validate ¶
func (s ListMovieOKApplicationJSON) Validate() error
type ListMovieParams ¶
type ListMovieRatingsOKApplicationJSON ¶
type ListMovieRatingsOKApplicationJSON []MovieRatingsList
func (*ListMovieRatingsOKApplicationJSON) Decode ¶
func (s *ListMovieRatingsOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListMovieRatingsOKApplicationJSON from json.
func (ListMovieRatingsOKApplicationJSON) Encode ¶
func (s ListMovieRatingsOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListMovieRatingsOKApplicationJSON as json.
func (ListMovieRatingsOKApplicationJSON) Validate ¶
func (s ListMovieRatingsOKApplicationJSON) Validate() error
type ListMovieRatingsParams ¶
type ListMovieRatingsRes ¶
type ListMovieRatingsRes interface {
// contains filtered or unexported methods
}
type ListMovieRes ¶
type ListMovieRes interface {
// contains filtered or unexported methods
}
type ListMovieWritersOKApplicationJSON ¶
type ListMovieWritersOKApplicationJSON []MovieWritersList
func (*ListMovieWritersOKApplicationJSON) Decode ¶
func (s *ListMovieWritersOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListMovieWritersOKApplicationJSON from json.
func (ListMovieWritersOKApplicationJSON) Encode ¶
func (s ListMovieWritersOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListMovieWritersOKApplicationJSON as json.
func (ListMovieWritersOKApplicationJSON) Validate ¶
func (s ListMovieWritersOKApplicationJSON) Validate() error
type ListMovieWritersParams ¶
type ListMovieWritersRes ¶
type ListMovieWritersRes interface {
// contains filtered or unexported methods
}
type ListPictureOKApplicationJSON ¶
type ListPictureOKApplicationJSON []PictureList
func (*ListPictureOKApplicationJSON) Decode ¶
func (s *ListPictureOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListPictureOKApplicationJSON from json.
func (ListPictureOKApplicationJSON) Encode ¶
func (s ListPictureOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListPictureOKApplicationJSON as json.
func (ListPictureOKApplicationJSON) Validate ¶
func (s ListPictureOKApplicationJSON) Validate() error
type ListPictureParams ¶
type ListPictureRes ¶
type ListPictureRes interface {
// contains filtered or unexported methods
}
type ListRatingOKApplicationJSON ¶
type ListRatingOKApplicationJSON []RatingList
func (*ListRatingOKApplicationJSON) Decode ¶
func (s *ListRatingOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListRatingOKApplicationJSON from json.
func (ListRatingOKApplicationJSON) Encode ¶
func (s ListRatingOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ListRatingOKApplicationJSON as json.
func (ListRatingOKApplicationJSON) Validate ¶
func (s ListRatingOKApplicationJSON) Validate() error
type ListRatingParams ¶
type ListRatingRes ¶
type ListRatingRes interface {
// contains filtered or unexported methods
}
type MovieCastList ¶
type MovieCastList struct { ID int "json:\"id\"" Name string "json:\"name\"" Birthday OptDateTime "json:\"birthday\"" }
Ref: #/components/schemas/Movie_CastList
func NewMovieCastList ¶
func NewMovieCastList(e *ent.Artist) *MovieCastList
func NewMovieCastLists ¶
func NewMovieCastLists(es []*ent.Artist) []MovieCastList
func (*MovieCastList) Decode ¶
func (s *MovieCastList) Decode(d *jx.Decoder) error
Decode decodes MovieCastList from json.
func (*MovieCastList) Elem ¶
func (a *MovieCastList) Elem() MovieCastList
func (MovieCastList) Encode ¶
func (s MovieCastList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type MovieCountriesList ¶
type MovieCountriesList struct { ID int "json:\"id\"" Name string "json:\"name\"" Code string "json:\"code\"" }
Ref: #/components/schemas/Movie_CountriesList
func NewMovieCountriesList ¶
func NewMovieCountriesList(e *ent.Country) *MovieCountriesList
func NewMovieCountriesLists ¶
func NewMovieCountriesLists(es []*ent.Country) []MovieCountriesList
func (*MovieCountriesList) Decode ¶
func (s *MovieCountriesList) Decode(d *jx.Decoder) error
Decode decodes MovieCountriesList from json.
func (*MovieCountriesList) Elem ¶
func (c *MovieCountriesList) Elem() MovieCountriesList
func (MovieCountriesList) Encode ¶
func (s MovieCountriesList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type MovieCreate ¶
type MovieCreate struct { ID int "json:\"id\"" Title string "json:\"title\"" OriginalTitle OptString "json:\"original_title\"" ReleaseDate OptDateTime "json:\"release_date\"" Plot OptString "json:\"plot\"" Duration OptInt "json:\"duration\"" Watched bool "json:\"watched\"" }
Ref: #/components/schemas/MovieCreate
func NewMovieCreate ¶
func NewMovieCreate(e *ent.Movie) *MovieCreate
func NewMovieCreates ¶
func NewMovieCreates(es []*ent.Movie) []MovieCreate
func (*MovieCreate) Decode ¶
func (s *MovieCreate) Decode(d *jx.Decoder) error
Decode decodes MovieCreate from json.
func (*MovieCreate) Elem ¶
func (m *MovieCreate) Elem() MovieCreate
func (MovieCreate) Encode ¶
func (s MovieCreate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type MovieDirectorsList ¶
type MovieDirectorsList struct { ID int "json:\"id\"" Name string "json:\"name\"" Birthday OptDateTime "json:\"birthday\"" }
Ref: #/components/schemas/Movie_DirectorsList
func NewMovieDirectorsList ¶
func NewMovieDirectorsList(e *ent.Artist) *MovieDirectorsList
func NewMovieDirectorsLists ¶
func NewMovieDirectorsLists(es []*ent.Artist) []MovieDirectorsList
func (*MovieDirectorsList) Decode ¶
func (s *MovieDirectorsList) Decode(d *jx.Decoder) error
Decode decodes MovieDirectorsList from json.
func (*MovieDirectorsList) Elem ¶
func (a *MovieDirectorsList) Elem() MovieDirectorsList
func (MovieDirectorsList) Encode ¶
func (s MovieDirectorsList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type MovieFanartList ¶
type MovieFanartList struct { ID int "json:\"id\"" Name OptString "json:\"name\"" Filename string "json:\"filename\"" Path string "json:\"path\"" }
Ref: #/components/schemas/Movie_FanartList
func NewMovieFanartList ¶
func NewMovieFanartList(e *ent.Picture) *MovieFanartList
func NewMovieFanartLists ¶
func NewMovieFanartLists(es []*ent.Picture) []MovieFanartList
func (*MovieFanartList) Decode ¶
func (s *MovieFanartList) Decode(d *jx.Decoder) error
Decode decodes MovieFanartList from json.
func (*MovieFanartList) Elem ¶
func (pi *MovieFanartList) Elem() MovieFanartList
func (MovieFanartList) Encode ¶
func (s MovieFanartList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type MovieFileRead ¶
type MovieFileRead struct { ID int "json:\"id\"" Name string "json:\"name\"" Path string "json:\"path\"" Type MovieFileReadType "json:\"type\"" ExternalID OptString "json:\"external_id\"" ExternalInfoProvider OptString "json:\"external_info_provider\"" Results OptString "json:\"results\"" Synced bool "json:\"synced\"" }
Ref: #/components/schemas/Movie_FileRead
func NewMovieFileRead ¶
func NewMovieFileRead(e *ent.File) *MovieFileRead
func NewMovieFileReads ¶
func NewMovieFileReads(es []*ent.File) []MovieFileRead
func (*MovieFileRead) Decode ¶
func (s *MovieFileRead) Decode(d *jx.Decoder) error
Decode decodes MovieFileRead from json.
func (*MovieFileRead) Elem ¶
func (f *MovieFileRead) Elem() MovieFileRead
func (MovieFileRead) Encode ¶
func (s MovieFileRead) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (MovieFileRead) Validate ¶
func (s MovieFileRead) Validate() error
type MovieFileReadType ¶
type MovieFileReadType string
const ( MovieFileReadTypeAudio MovieFileReadType = "audio" MovieFileReadTypeVideo MovieFileReadType = "video" MovieFileReadTypeImage MovieFileReadType = "image" )
func (*MovieFileReadType) Decode ¶
func (s *MovieFileReadType) Decode(d *jx.Decoder) error
Decode decodes MovieFileReadType from json.
func (MovieFileReadType) Encode ¶
func (s MovieFileReadType) Encode(e *jx.Encoder)
Encode encodes MovieFileReadType as json.
func (MovieFileReadType) Validate ¶
func (s MovieFileReadType) Validate() error
type MovieGenreCreate ¶
Ref: #/components/schemas/MovieGenreCreate
func NewMovieGenreCreate ¶
func NewMovieGenreCreate(e *ent.MovieGenre) *MovieGenreCreate
func NewMovieGenreCreates ¶
func NewMovieGenreCreates(es []*ent.MovieGenre) []MovieGenreCreate
func (*MovieGenreCreate) Decode ¶
func (s *MovieGenreCreate) Decode(d *jx.Decoder) error
Decode decodes MovieGenreCreate from json.
func (*MovieGenreCreate) Elem ¶
func (mg *MovieGenreCreate) Elem() MovieGenreCreate
func (MovieGenreCreate) Encode ¶
func (s MovieGenreCreate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type MovieGenreList ¶
Ref: #/components/schemas/MovieGenreList
func NewMovieGenreList ¶
func NewMovieGenreList(e *ent.MovieGenre) *MovieGenreList
func NewMovieGenreLists ¶
func NewMovieGenreLists(es []*ent.MovieGenre) []MovieGenreList
func (*MovieGenreList) Decode ¶
func (s *MovieGenreList) Decode(d *jx.Decoder) error
Decode decodes MovieGenreList from json.
func (*MovieGenreList) Elem ¶
func (mg *MovieGenreList) Elem() MovieGenreList
func (MovieGenreList) Encode ¶
func (s MovieGenreList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type MovieGenreMoviesList ¶
type MovieGenreMoviesList struct { ID int "json:\"id\"" Title string "json:\"title\"" OriginalTitle OptString "json:\"original_title\"" ReleaseDate OptDateTime "json:\"release_date\"" Plot OptString "json:\"plot\"" Duration OptInt "json:\"duration\"" Watched bool "json:\"watched\"" }
Ref: #/components/schemas/MovieGenre_MoviesList
func NewMovieGenreMoviesList ¶
func NewMovieGenreMoviesList(e *ent.Movie) *MovieGenreMoviesList
func NewMovieGenreMoviesLists ¶
func NewMovieGenreMoviesLists(es []*ent.Movie) []MovieGenreMoviesList
func (*MovieGenreMoviesList) Decode ¶
func (s *MovieGenreMoviesList) Decode(d *jx.Decoder) error
Decode decodes MovieGenreMoviesList from json.
func (*MovieGenreMoviesList) Elem ¶
func (m *MovieGenreMoviesList) Elem() MovieGenreMoviesList
func (MovieGenreMoviesList) Encode ¶
func (s MovieGenreMoviesList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type MovieGenreRead ¶
Ref: #/components/schemas/MovieGenreRead
func NewMovieGenreRead ¶
func NewMovieGenreRead(e *ent.MovieGenre) *MovieGenreRead
func NewMovieGenreReads ¶
func NewMovieGenreReads(es []*ent.MovieGenre) []MovieGenreRead
func (*MovieGenreRead) Decode ¶
func (s *MovieGenreRead) Decode(d *jx.Decoder) error
Decode decodes MovieGenreRead from json.
func (*MovieGenreRead) Elem ¶
func (mg *MovieGenreRead) Elem() MovieGenreRead
func (MovieGenreRead) Encode ¶
func (s MovieGenreRead) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type MovieGenreUpdate ¶
Ref: #/components/schemas/MovieGenreUpdate
func NewMovieGenreUpdate ¶
func NewMovieGenreUpdate(e *ent.MovieGenre) *MovieGenreUpdate
func NewMovieGenreUpdates ¶
func NewMovieGenreUpdates(es []*ent.MovieGenre) []MovieGenreUpdate
func (*MovieGenreUpdate) Decode ¶
func (s *MovieGenreUpdate) Decode(d *jx.Decoder) error
Decode decodes MovieGenreUpdate from json.
func (*MovieGenreUpdate) Elem ¶
func (mg *MovieGenreUpdate) Elem() MovieGenreUpdate
func (MovieGenreUpdate) Encode ¶
func (s MovieGenreUpdate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type MovieGenresList ¶
Ref: #/components/schemas/Movie_GenresList
func NewMovieGenresList ¶
func NewMovieGenresList(e *ent.MovieGenre) *MovieGenresList
func NewMovieGenresLists ¶
func NewMovieGenresLists(es []*ent.MovieGenre) []MovieGenresList
func (*MovieGenresList) Decode ¶
func (s *MovieGenresList) Decode(d *jx.Decoder) error
Decode decodes MovieGenresList from json.
func (*MovieGenresList) Elem ¶
func (mg *MovieGenresList) Elem() MovieGenresList
func (MovieGenresList) Encode ¶
func (s MovieGenresList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type MovieList ¶
type MovieList struct { ID int "json:\"id\"" Title string "json:\"title\"" OriginalTitle OptString "json:\"original_title\"" ReleaseDate OptDateTime "json:\"release_date\"" Plot OptString "json:\"plot\"" Duration OptInt "json:\"duration\"" Watched bool "json:\"watched\"" }
Ref: #/components/schemas/MovieList
func NewMovieList ¶
func NewMovieLists ¶
type MoviePosterRead ¶
type MoviePosterRead struct { ID int "json:\"id\"" Name OptString "json:\"name\"" Filename string "json:\"filename\"" Path string "json:\"path\"" }
Ref: #/components/schemas/Movie_PosterRead
func NewMoviePosterRead ¶
func NewMoviePosterRead(e *ent.Picture) *MoviePosterRead
func NewMoviePosterReads ¶
func NewMoviePosterReads(es []*ent.Picture) []MoviePosterRead
func (*MoviePosterRead) Decode ¶
func (s *MoviePosterRead) Decode(d *jx.Decoder) error
Decode decodes MoviePosterRead from json.
func (*MoviePosterRead) Elem ¶
func (pi *MoviePosterRead) Elem() MoviePosterRead
func (MoviePosterRead) Encode ¶
func (s MoviePosterRead) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type MovieRatingsList ¶
type MovieRatingsList struct { ID int "json:\"id\"" Origin string "json:\"origin\"" OriginalRating string "json:\"original_rating\"" NormalizedRating int "json:\"normalized_rating\"" }
Ref: #/components/schemas/Movie_RatingsList
func NewMovieRatingsList ¶
func NewMovieRatingsList(e *ent.Rating) *MovieRatingsList
func NewMovieRatingsLists ¶
func NewMovieRatingsLists(es []*ent.Rating) []MovieRatingsList
func (*MovieRatingsList) Decode ¶
func (s *MovieRatingsList) Decode(d *jx.Decoder) error
Decode decodes MovieRatingsList from json.
func (*MovieRatingsList) Elem ¶
func (r *MovieRatingsList) Elem() MovieRatingsList
func (MovieRatingsList) Encode ¶
func (s MovieRatingsList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type MovieRead ¶
type MovieRead struct { ID int "json:\"id\"" Title string "json:\"title\"" OriginalTitle OptString "json:\"original_title\"" ReleaseDate OptDateTime "json:\"release_date\"" Plot OptString "json:\"plot\"" Duration OptInt "json:\"duration\"" Watched bool "json:\"watched\"" }
Ref: #/components/schemas/MovieRead
func NewMovieRead ¶
func NewMovieReads ¶
type MovieUpdate ¶
type MovieUpdate struct { ID int "json:\"id\"" Title string "json:\"title\"" OriginalTitle OptString "json:\"original_title\"" ReleaseDate OptDateTime "json:\"release_date\"" Plot OptString "json:\"plot\"" Duration OptInt "json:\"duration\"" Watched bool "json:\"watched\"" }
Ref: #/components/schemas/MovieUpdate
func NewMovieUpdate ¶
func NewMovieUpdate(e *ent.Movie) *MovieUpdate
func NewMovieUpdates ¶
func NewMovieUpdates(es []*ent.Movie) []MovieUpdate
func (*MovieUpdate) Decode ¶
func (s *MovieUpdate) Decode(d *jx.Decoder) error
Decode decodes MovieUpdate from json.
func (*MovieUpdate) Elem ¶
func (m *MovieUpdate) Elem() MovieUpdate
func (MovieUpdate) Encode ¶
func (s MovieUpdate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type MovieWritersList ¶
type MovieWritersList struct { ID int "json:\"id\"" Name string "json:\"name\"" Birthday OptDateTime "json:\"birthday\"" }
Ref: #/components/schemas/Movie_WritersList
func NewMovieWritersList ¶
func NewMovieWritersList(e *ent.Artist) *MovieWritersList
func NewMovieWritersLists ¶
func NewMovieWritersLists(es []*ent.Artist) []MovieWritersList
func (*MovieWritersList) Decode ¶
func (s *MovieWritersList) Decode(d *jx.Decoder) error
Decode decodes MovieWritersList from json.
func (*MovieWritersList) Elem ¶
func (a *MovieWritersList) Elem() MovieWritersList
func (MovieWritersList) Encode ¶
func (s MovieWritersList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type OgentHandler ¶
type OgentHandler struct {
// contains filtered or unexported fields
}
OgentHandler implements the ogen generated Handler interface and uses Ent as data layer.
func NewOgentHandler ¶
func NewOgentHandler(c *ent.Client) *OgentHandler
NewOgentHandler returns a new OgentHandler.
func (*OgentHandler) CreateArtist ¶
func (h *OgentHandler) CreateArtist(ctx context.Context, req CreateArtistReq) (CreateArtistRes, error)
CreateArtist handles POST /artists requests.
func (*OgentHandler) CreateCountry ¶
func (h *OgentHandler) CreateCountry(ctx context.Context, req CreateCountryReq) (CreateCountryRes, error)
CreateCountry handles POST /countries requests.
func (*OgentHandler) CreateFile ¶
func (h *OgentHandler) CreateFile(ctx context.Context, req CreateFileReq) (CreateFileRes, error)
CreateFile handles POST /files requests.
func (*OgentHandler) CreateMovie ¶
func (h *OgentHandler) CreateMovie(ctx context.Context, req CreateMovieReq) (CreateMovieRes, error)
CreateMovie handles POST /movies requests.
func (*OgentHandler) CreateMovieGenre ¶
func (h *OgentHandler) CreateMovieGenre(ctx context.Context, req CreateMovieGenreReq) (CreateMovieGenreRes, error)
CreateMovieGenre handles POST /movie-genres requests.
func (*OgentHandler) CreatePicture ¶
func (h *OgentHandler) CreatePicture(ctx context.Context, req CreatePictureReq) (CreatePictureRes, error)
CreatePicture handles POST /pictures requests.
func (*OgentHandler) CreateRating ¶
func (h *OgentHandler) CreateRating(ctx context.Context, req CreateRatingReq) (CreateRatingRes, error)
CreateRating handles POST /ratings requests.
func (*OgentHandler) DeleteArtist ¶
func (h *OgentHandler) DeleteArtist(ctx context.Context, params DeleteArtistParams) (DeleteArtistRes, error)
DeleteArtist handles DELETE /artists/{id} requests.
func (*OgentHandler) DeleteCountry ¶
func (h *OgentHandler) DeleteCountry(ctx context.Context, params DeleteCountryParams) (DeleteCountryRes, error)
DeleteCountry handles DELETE /countries/{id} requests.
func (*OgentHandler) DeleteFile ¶
func (h *OgentHandler) DeleteFile(ctx context.Context, params DeleteFileParams) (DeleteFileRes, error)
DeleteFile handles DELETE /files/{id} requests.
func (*OgentHandler) DeleteMovie ¶
func (h *OgentHandler) DeleteMovie(ctx context.Context, params DeleteMovieParams) (DeleteMovieRes, error)
DeleteMovie handles DELETE /movies/{id} requests.
func (*OgentHandler) DeleteMovieGenre ¶
func (h *OgentHandler) DeleteMovieGenre(ctx context.Context, params DeleteMovieGenreParams) (DeleteMovieGenreRes, error)
DeleteMovieGenre handles DELETE /movie-genres/{id} requests.
func (*OgentHandler) DeletePicture ¶
func (h *OgentHandler) DeletePicture(ctx context.Context, params DeletePictureParams) (DeletePictureRes, error)
DeletePicture handles DELETE /pictures/{id} requests.
func (*OgentHandler) DeleteRating ¶
func (h *OgentHandler) DeleteRating(ctx context.Context, params DeleteRatingParams) (DeleteRatingRes, error)
DeleteRating handles DELETE /ratings/{id} requests.
func (*OgentHandler) ListArtist ¶
func (h *OgentHandler) ListArtist(ctx context.Context, params ListArtistParams) (ListArtistRes, error)
ListArtist handles GET /artists requests.
func (*OgentHandler) ListArtistActed ¶
func (h *OgentHandler) ListArtistActed(ctx context.Context, params ListArtistActedParams) (ListArtistActedRes, error)
ListArtistActed handles GET /artists/{id}/acted requests.
func (*OgentHandler) ListArtistCountries ¶
func (h *OgentHandler) ListArtistCountries(ctx context.Context, params ListArtistCountriesParams) (ListArtistCountriesRes, error)
ListArtistCountries handles GET /artists/{id}/countries requests.
func (*OgentHandler) ListArtistDirected ¶
func (h *OgentHandler) ListArtistDirected(ctx context.Context, params ListArtistDirectedParams) (ListArtistDirectedRes, error)
ListArtistDirected handles GET /artists/{id}/directed requests.
func (*OgentHandler) ListArtistPictures ¶
func (h *OgentHandler) ListArtistPictures(ctx context.Context, params ListArtistPicturesParams) (ListArtistPicturesRes, error)
ListArtistPictures handles GET /artists/{id}/pictures requests.
func (*OgentHandler) ListArtistWrote ¶
func (h *OgentHandler) ListArtistWrote(ctx context.Context, params ListArtistWroteParams) (ListArtistWroteRes, error)
ListArtistWrote handles GET /artists/{id}/wrote requests.
func (*OgentHandler) ListCountry ¶
func (h *OgentHandler) ListCountry(ctx context.Context, params ListCountryParams) (ListCountryRes, error)
ListCountry handles GET /countries requests.
func (*OgentHandler) ListCountryArtists ¶
func (h *OgentHandler) ListCountryArtists(ctx context.Context, params ListCountryArtistsParams) (ListCountryArtistsRes, error)
ListCountryArtists handles GET /countries/{id}/artists requests.
func (*OgentHandler) ListCountryMovies ¶
func (h *OgentHandler) ListCountryMovies(ctx context.Context, params ListCountryMoviesParams) (ListCountryMoviesRes, error)
ListCountryMovies handles GET /countries/{id}/movies requests.
func (*OgentHandler) ListFile ¶
func (h *OgentHandler) ListFile(ctx context.Context, params ListFileParams) (ListFileRes, error)
ListFile handles GET /files requests.
func (*OgentHandler) ListMovie ¶
func (h *OgentHandler) ListMovie(ctx context.Context, params ListMovieParams) (ListMovieRes, error)
ListMovie handles GET /movies requests.
func (*OgentHandler) ListMovieCast ¶
func (h *OgentHandler) ListMovieCast(ctx context.Context, params ListMovieCastParams) (ListMovieCastRes, error)
ListMovieCast handles GET /movies/{id}/cast requests.
func (*OgentHandler) ListMovieCountries ¶
func (h *OgentHandler) ListMovieCountries(ctx context.Context, params ListMovieCountriesParams) (ListMovieCountriesRes, error)
ListMovieCountries handles GET /movies/{id}/countries requests.
func (*OgentHandler) ListMovieDirectors ¶
func (h *OgentHandler) ListMovieDirectors(ctx context.Context, params ListMovieDirectorsParams) (ListMovieDirectorsRes, error)
ListMovieDirectors handles GET /movies/{id}/directors requests.
func (*OgentHandler) ListMovieFanart ¶
func (h *OgentHandler) ListMovieFanart(ctx context.Context, params ListMovieFanartParams) (ListMovieFanartRes, error)
ListMovieFanart handles GET /movies/{id}/fanart requests.
func (*OgentHandler) ListMovieGenre ¶
func (h *OgentHandler) ListMovieGenre(ctx context.Context, params ListMovieGenreParams) (ListMovieGenreRes, error)
ListMovieGenre handles GET /movie-genres requests.
func (*OgentHandler) ListMovieGenreMovies ¶
func (h *OgentHandler) ListMovieGenreMovies(ctx context.Context, params ListMovieGenreMoviesParams) (ListMovieGenreMoviesRes, error)
ListMovieGenreMovies handles GET /movie-genres/{id}/movies requests.
func (*OgentHandler) ListMovieGenres ¶
func (h *OgentHandler) ListMovieGenres(ctx context.Context, params ListMovieGenresParams) (ListMovieGenresRes, error)
ListMovieGenres handles GET /movies/{id}/genres requests.
func (*OgentHandler) ListMovieRatings ¶
func (h *OgentHandler) ListMovieRatings(ctx context.Context, params ListMovieRatingsParams) (ListMovieRatingsRes, error)
ListMovieRatings handles GET /movies/{id}/ratings requests.
func (*OgentHandler) ListMovieWriters ¶
func (h *OgentHandler) ListMovieWriters(ctx context.Context, params ListMovieWritersParams) (ListMovieWritersRes, error)
ListMovieWriters handles GET /movies/{id}/writers requests.
func (*OgentHandler) ListPicture ¶
func (h *OgentHandler) ListPicture(ctx context.Context, params ListPictureParams) (ListPictureRes, error)
ListPicture handles GET /pictures requests.
func (*OgentHandler) ListRating ¶
func (h *OgentHandler) ListRating(ctx context.Context, params ListRatingParams) (ListRatingRes, error)
ListRating handles GET /ratings requests.
func (*OgentHandler) ReadArtist ¶
func (h *OgentHandler) ReadArtist(ctx context.Context, params ReadArtistParams) (ReadArtistRes, error)
ReadArtist handles GET /artists/{id} requests.
func (*OgentHandler) ReadArtistProfilePicture ¶
func (h *OgentHandler) ReadArtistProfilePicture(ctx context.Context, params ReadArtistProfilePictureParams) (ReadArtistProfilePictureRes, error)
ReadArtistProfilePicture handles GET /artists/{id}/profile-picture requests.
func (*OgentHandler) ReadCountry ¶
func (h *OgentHandler) ReadCountry(ctx context.Context, params ReadCountryParams) (ReadCountryRes, error)
ReadCountry handles GET /countries/{id} requests.
func (*OgentHandler) ReadFile ¶
func (h *OgentHandler) ReadFile(ctx context.Context, params ReadFileParams) (ReadFileRes, error)
ReadFile handles GET /files/{id} requests.
func (*OgentHandler) ReadFileMovie ¶
func (h *OgentHandler) ReadFileMovie(ctx context.Context, params ReadFileMovieParams) (ReadFileMovieRes, error)
ReadFileMovie handles GET /files/{id}/movie requests.
func (*OgentHandler) ReadMovie ¶
func (h *OgentHandler) ReadMovie(ctx context.Context, params ReadMovieParams) (ReadMovieRes, error)
ReadMovie handles GET /movies/{id} requests.
func (*OgentHandler) ReadMovieFile ¶
func (h *OgentHandler) ReadMovieFile(ctx context.Context, params ReadMovieFileParams) (ReadMovieFileRes, error)
ReadMovieFile handles GET /movies/{id}/file requests.
func (*OgentHandler) ReadMovieGenre ¶
func (h *OgentHandler) ReadMovieGenre(ctx context.Context, params ReadMovieGenreParams) (ReadMovieGenreRes, error)
ReadMovieGenre handles GET /movie-genres/{id} requests.
func (*OgentHandler) ReadMoviePoster ¶
func (h *OgentHandler) ReadMoviePoster(ctx context.Context, params ReadMoviePosterParams) (ReadMoviePosterRes, error)
ReadMoviePoster handles GET /movies/{id}/poster requests.
func (*OgentHandler) ReadPicture ¶
func (h *OgentHandler) ReadPicture(ctx context.Context, params ReadPictureParams) (ReadPictureRes, error)
ReadPicture handles GET /pictures/{id} requests.
func (*OgentHandler) ReadRating ¶
func (h *OgentHandler) ReadRating(ctx context.Context, params ReadRatingParams) (ReadRatingRes, error)
ReadRating handles GET /ratings/{id} requests.
func (*OgentHandler) UpdateArtist ¶
func (h *OgentHandler) UpdateArtist(ctx context.Context, req UpdateArtistReq, params UpdateArtistParams) (UpdateArtistRes, error)
UpdateArtist handles PATCH /artists/{id} requests.
func (*OgentHandler) UpdateCountry ¶
func (h *OgentHandler) UpdateCountry(ctx context.Context, req UpdateCountryReq, params UpdateCountryParams) (UpdateCountryRes, error)
UpdateCountry handles PATCH /countries/{id} requests.
func (*OgentHandler) UpdateFile ¶
func (h *OgentHandler) UpdateFile(ctx context.Context, req UpdateFileReq, params UpdateFileParams) (UpdateFileRes, error)
UpdateFile handles PATCH /files/{id} requests.
func (*OgentHandler) UpdateMovie ¶
func (h *OgentHandler) UpdateMovie(ctx context.Context, req UpdateMovieReq, params UpdateMovieParams) (UpdateMovieRes, error)
UpdateMovie handles PATCH /movies/{id} requests.
func (*OgentHandler) UpdateMovieGenre ¶
func (h *OgentHandler) UpdateMovieGenre(ctx context.Context, req UpdateMovieGenreReq, params UpdateMovieGenreParams) (UpdateMovieGenreRes, error)
UpdateMovieGenre handles PATCH /movie-genres/{id} requests.
func (*OgentHandler) UpdatePicture ¶
func (h *OgentHandler) UpdatePicture(ctx context.Context, req UpdatePictureReq, params UpdatePictureParams) (UpdatePictureRes, error)
UpdatePicture handles PATCH /pictures/{id} requests.
func (*OgentHandler) UpdateRating ¶
func (h *OgentHandler) UpdateRating(ctx context.Context, req UpdateRatingReq, params UpdateRatingParams) (UpdateRatingRes, error)
UpdateRating handles PATCH /ratings/{id} requests.
type OptBool ¶
OptBool is optional bool.
func NewOptBool ¶
NewOptBool returns new OptBool with value set to v.
type OptDateTime ¶
OptDateTime is optional time.Time.
func NewOptDateTime ¶
func NewOptDateTime(v time.Time) OptDateTime
NewOptDateTime returns new OptDateTime with value set to v.
func (OptDateTime) Get ¶
func (o OptDateTime) Get() (v time.Time, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptDateTime) IsSet ¶
func (o OptDateTime) IsSet() bool
IsSet returns true if OptDateTime was set.
type OptInt ¶
OptInt is optional int.
type OptString ¶
OptString is optional string.
func NewOptString ¶
NewOptString returns new OptString with value set to v.
type OptUpdateFileReqType ¶
type OptUpdateFileReqType struct { Value UpdateFileReqType Set bool }
OptUpdateFileReqType is optional UpdateFileReqType.
func NewOptUpdateFileReqType ¶
func NewOptUpdateFileReqType(v UpdateFileReqType) OptUpdateFileReqType
NewOptUpdateFileReqType returns new OptUpdateFileReqType with value set to v.
func (*OptUpdateFileReqType) Decode ¶
func (o *OptUpdateFileReqType) Decode(d *jx.Decoder) error
Decode decodes UpdateFileReqType from json.
func (OptUpdateFileReqType) Encode ¶
func (o OptUpdateFileReqType) Encode(e *jx.Encoder)
Encode encodes UpdateFileReqType as json.
func (OptUpdateFileReqType) Get ¶
func (o OptUpdateFileReqType) Get() (v UpdateFileReqType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptUpdateFileReqType) IsSet ¶
func (o OptUpdateFileReqType) IsSet() bool
IsSet returns true if OptUpdateFileReqType was set.
func (OptUpdateFileReqType) Or ¶
func (o OptUpdateFileReqType) Or(d UpdateFileReqType) UpdateFileReqType
Or returns value if set, or given parameter if does not.
func (*OptUpdateFileReqType) SetTo ¶
func (o *OptUpdateFileReqType) SetTo(v UpdateFileReqType)
SetTo sets value to v.
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
func WithMeterProvider ¶
func WithMeterProvider(provider metric.MeterProvider) Option
WithMeterProvider specifies a meter provider to use for creating a meter.
If none is specified, the metric.NewNoopMeterProvider is used.
func WithNotFound ¶
func WithNotFound(notFound http.HandlerFunc) Option
WithNotFound specifies http handler to use.
func WithTracerProvider ¶
func WithTracerProvider(provider trace.TracerProvider) Option
WithTracerProvider specifies a tracer provider to use for creating a tracer.
If none is specified, the global provider is used.
type PictureCreate ¶
type PictureCreate struct { ID int "json:\"id\"" Name OptString "json:\"name\"" Filename string "json:\"filename\"" Path string "json:\"path\"" }
Ref: #/components/schemas/PictureCreate
func NewPictureCreate ¶
func NewPictureCreate(e *ent.Picture) *PictureCreate
func NewPictureCreates ¶
func NewPictureCreates(es []*ent.Picture) []PictureCreate
func (*PictureCreate) Decode ¶
func (s *PictureCreate) Decode(d *jx.Decoder) error
Decode decodes PictureCreate from json.
func (*PictureCreate) Elem ¶
func (pi *PictureCreate) Elem() PictureCreate
func (PictureCreate) Encode ¶
func (s PictureCreate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type PictureList ¶
type PictureList struct { ID int "json:\"id\"" Name OptString "json:\"name\"" Filename string "json:\"filename\"" Path string "json:\"path\"" }
Ref: #/components/schemas/PictureList
func NewPictureList ¶
func NewPictureList(e *ent.Picture) *PictureList
func NewPictureLists ¶
func NewPictureLists(es []*ent.Picture) []PictureList
func (*PictureList) Decode ¶
func (s *PictureList) Decode(d *jx.Decoder) error
Decode decodes PictureList from json.
func (*PictureList) Elem ¶
func (pi *PictureList) Elem() PictureList
func (PictureList) Encode ¶
func (s PictureList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type PictureRead ¶
type PictureRead struct { ID int "json:\"id\"" Name OptString "json:\"name\"" Filename string "json:\"filename\"" Path string "json:\"path\"" }
Ref: #/components/schemas/PictureRead
func NewPictureRead ¶
func NewPictureRead(e *ent.Picture) *PictureRead
func NewPictureReads ¶
func NewPictureReads(es []*ent.Picture) []PictureRead
func (*PictureRead) Decode ¶
func (s *PictureRead) Decode(d *jx.Decoder) error
Decode decodes PictureRead from json.
func (*PictureRead) Elem ¶
func (pi *PictureRead) Elem() PictureRead
func (PictureRead) Encode ¶
func (s PictureRead) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type PictureUpdate ¶
type PictureUpdate struct { ID int "json:\"id\"" Name OptString "json:\"name\"" Filename string "json:\"filename\"" Path string "json:\"path\"" }
Ref: #/components/schemas/PictureUpdate
func NewPictureUpdate ¶
func NewPictureUpdate(e *ent.Picture) *PictureUpdate
func NewPictureUpdates ¶
func NewPictureUpdates(es []*ent.Picture) []PictureUpdate
func (*PictureUpdate) Decode ¶
func (s *PictureUpdate) Decode(d *jx.Decoder) error
Decode decodes PictureUpdate from json.
func (*PictureUpdate) Elem ¶
func (pi *PictureUpdate) Elem() PictureUpdate
func (PictureUpdate) Encode ¶
func (s PictureUpdate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type R400 ¶
type R404 ¶
type R409 ¶
type R500 ¶
type RatingCreate ¶
type RatingCreate struct { ID int "json:\"id\"" Origin string "json:\"origin\"" OriginalRating string "json:\"original_rating\"" NormalizedRating int "json:\"normalized_rating\"" }
Ref: #/components/schemas/RatingCreate
func NewRatingCreate ¶
func NewRatingCreate(e *ent.Rating) *RatingCreate
func NewRatingCreates ¶
func NewRatingCreates(es []*ent.Rating) []RatingCreate
func (*RatingCreate) Decode ¶
func (s *RatingCreate) Decode(d *jx.Decoder) error
Decode decodes RatingCreate from json.
func (*RatingCreate) Elem ¶
func (r *RatingCreate) Elem() RatingCreate
func (RatingCreate) Encode ¶
func (s RatingCreate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type RatingList ¶
type RatingList struct { ID int "json:\"id\"" Origin string "json:\"origin\"" OriginalRating string "json:\"original_rating\"" NormalizedRating int "json:\"normalized_rating\"" }
Ref: #/components/schemas/RatingList
func NewRatingList ¶
func NewRatingList(e *ent.Rating) *RatingList
func NewRatingLists ¶
func NewRatingLists(es []*ent.Rating) []RatingList
func (*RatingList) Decode ¶
func (s *RatingList) Decode(d *jx.Decoder) error
Decode decodes RatingList from json.
func (*RatingList) Elem ¶
func (r *RatingList) Elem() RatingList
func (RatingList) Encode ¶
func (s RatingList) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type RatingRead ¶
type RatingRead struct { ID int "json:\"id\"" Origin string "json:\"origin\"" OriginalRating string "json:\"original_rating\"" NormalizedRating int "json:\"normalized_rating\"" }
Ref: #/components/schemas/RatingRead
func NewRatingRead ¶
func NewRatingRead(e *ent.Rating) *RatingRead
func NewRatingReads ¶
func NewRatingReads(es []*ent.Rating) []RatingRead
func (*RatingRead) Decode ¶
func (s *RatingRead) Decode(d *jx.Decoder) error
Decode decodes RatingRead from json.
func (*RatingRead) Elem ¶
func (r *RatingRead) Elem() RatingRead
func (RatingRead) Encode ¶
func (s RatingRead) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type RatingUpdate ¶
type RatingUpdate struct { ID int "json:\"id\"" Origin string "json:\"origin\"" OriginalRating string "json:\"original_rating\"" NormalizedRating int "json:\"normalized_rating\"" }
Ref: #/components/schemas/RatingUpdate
func NewRatingUpdate ¶
func NewRatingUpdate(e *ent.Rating) *RatingUpdate
func NewRatingUpdates ¶
func NewRatingUpdates(es []*ent.Rating) []RatingUpdate
func (*RatingUpdate) Decode ¶
func (s *RatingUpdate) Decode(d *jx.Decoder) error
Decode decodes RatingUpdate from json.
func (*RatingUpdate) Elem ¶
func (r *RatingUpdate) Elem() RatingUpdate
func (RatingUpdate) Encode ¶
func (s RatingUpdate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type ReadArtistParams ¶
type ReadArtistParams struct { // ID of the Artist. ID int }
type ReadArtistProfilePictureParams ¶
type ReadArtistProfilePictureParams struct { // ID of the Artist. ID int }
type ReadArtistProfilePictureRes ¶
type ReadArtistProfilePictureRes interface {
// contains filtered or unexported methods
}
type ReadArtistRes ¶
type ReadArtistRes interface {
// contains filtered or unexported methods
}
type ReadCountryParams ¶
type ReadCountryParams struct { // ID of the Country. ID int }
type ReadCountryRes ¶
type ReadCountryRes interface {
// contains filtered or unexported methods
}
type ReadFileMovieParams ¶
type ReadFileMovieParams struct { // ID of the File. ID int }
type ReadFileMovieRes ¶
type ReadFileMovieRes interface {
// contains filtered or unexported methods
}
type ReadFileParams ¶
type ReadFileParams struct { // ID of the File. ID int }
type ReadFileRes ¶
type ReadFileRes interface {
// contains filtered or unexported methods
}
type ReadMovieFileParams ¶
type ReadMovieFileParams struct { // ID of the Movie. ID int }
type ReadMovieFileRes ¶
type ReadMovieFileRes interface {
// contains filtered or unexported methods
}
type ReadMovieGenreParams ¶
type ReadMovieGenreParams struct { // ID of the MovieGenre. ID int }
type ReadMovieGenreRes ¶
type ReadMovieGenreRes interface {
// contains filtered or unexported methods
}
type ReadMovieParams ¶
type ReadMovieParams struct { // ID of the Movie. ID int }
type ReadMoviePosterParams ¶
type ReadMoviePosterParams struct { // ID of the Movie. ID int }
type ReadMoviePosterRes ¶
type ReadMoviePosterRes interface {
// contains filtered or unexported methods
}
type ReadMovieRes ¶
type ReadMovieRes interface {
// contains filtered or unexported methods
}
type ReadPictureParams ¶
type ReadPictureParams struct { // ID of the Picture. ID int }
type ReadPictureRes ¶
type ReadPictureRes interface {
// contains filtered or unexported methods
}
type ReadRatingParams ¶
type ReadRatingParams struct { // ID of the Rating. ID int }
type ReadRatingRes ¶
type ReadRatingRes interface {
// contains filtered or unexported methods
}
type Route ¶
type Route struct {
// contains filtered or unexported fields
}
Route is route object.
func (Route) OperationID ¶
OperationID returns OpenAPI operationId.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server implements http server based on OpenAPI v3 specification and calls Handler to handle requests.
type UnimplementedHandler ¶
type UnimplementedHandler struct{}
UnimplementedHandler is no-op Handler which returns http.ErrNotImplemented.
func (UnimplementedHandler) CreateArtist ¶
func (UnimplementedHandler) CreateArtist(ctx context.Context, req CreateArtistReq) (r CreateArtistRes, _ error)
CreateArtist implements createArtist operation.
Creates a new Artist and persists it to storage.
POST /artists
func (UnimplementedHandler) CreateCountry ¶
func (UnimplementedHandler) CreateCountry(ctx context.Context, req CreateCountryReq) (r CreateCountryRes, _ error)
CreateCountry implements createCountry operation.
Creates a new Country and persists it to storage.
POST /countries
func (UnimplementedHandler) CreateFile ¶
func (UnimplementedHandler) CreateFile(ctx context.Context, req CreateFileReq) (r CreateFileRes, _ error)
CreateFile implements createFile operation.
Creates a new File and persists it to storage.
POST /files
func (UnimplementedHandler) CreateMovie ¶
func (UnimplementedHandler) CreateMovie(ctx context.Context, req CreateMovieReq) (r CreateMovieRes, _ error)
CreateMovie implements createMovie operation.
Creates a new Movie and persists it to storage.
POST /movies
func (UnimplementedHandler) CreateMovieGenre ¶
func (UnimplementedHandler) CreateMovieGenre(ctx context.Context, req CreateMovieGenreReq) (r CreateMovieGenreRes, _ error)
CreateMovieGenre implements createMovieGenre operation.
Creates a new MovieGenre and persists it to storage.
POST /movie-genres
func (UnimplementedHandler) CreatePicture ¶
func (UnimplementedHandler) CreatePicture(ctx context.Context, req CreatePictureReq) (r CreatePictureRes, _ error)
CreatePicture implements createPicture operation.
Creates a new Picture and persists it to storage.
POST /pictures
func (UnimplementedHandler) CreateRating ¶
func (UnimplementedHandler) CreateRating(ctx context.Context, req CreateRatingReq) (r CreateRatingRes, _ error)
CreateRating implements createRating operation.
Creates a new Rating and persists it to storage.
POST /ratings
func (UnimplementedHandler) DeleteArtist ¶
func (UnimplementedHandler) DeleteArtist(ctx context.Context, params DeleteArtistParams) (r DeleteArtistRes, _ error)
DeleteArtist implements deleteArtist operation.
Deletes the Artist with the requested ID.
DELETE /artists/{id}
func (UnimplementedHandler) DeleteCountry ¶
func (UnimplementedHandler) DeleteCountry(ctx context.Context, params DeleteCountryParams) (r DeleteCountryRes, _ error)
DeleteCountry implements deleteCountry operation.
Deletes the Country with the requested ID.
DELETE /countries/{id}
func (UnimplementedHandler) DeleteFile ¶
func (UnimplementedHandler) DeleteFile(ctx context.Context, params DeleteFileParams) (r DeleteFileRes, _ error)
DeleteFile implements deleteFile operation.
Deletes the File with the requested ID.
DELETE /files/{id}
func (UnimplementedHandler) DeleteMovie ¶
func (UnimplementedHandler) DeleteMovie(ctx context.Context, params DeleteMovieParams) (r DeleteMovieRes, _ error)
DeleteMovie implements deleteMovie operation.
Deletes the Movie with the requested ID.
DELETE /movies/{id}
func (UnimplementedHandler) DeleteMovieGenre ¶
func (UnimplementedHandler) DeleteMovieGenre(ctx context.Context, params DeleteMovieGenreParams) (r DeleteMovieGenreRes, _ error)
DeleteMovieGenre implements deleteMovieGenre operation.
Deletes the MovieGenre with the requested ID.
DELETE /movie-genres/{id}
func (UnimplementedHandler) DeletePicture ¶
func (UnimplementedHandler) DeletePicture(ctx context.Context, params DeletePictureParams) (r DeletePictureRes, _ error)
DeletePicture implements deletePicture operation.
Deletes the Picture with the requested ID.
DELETE /pictures/{id}
func (UnimplementedHandler) DeleteRating ¶
func (UnimplementedHandler) DeleteRating(ctx context.Context, params DeleteRatingParams) (r DeleteRatingRes, _ error)
DeleteRating implements deleteRating operation.
Deletes the Rating with the requested ID.
DELETE /ratings/{id}
func (UnimplementedHandler) ListArtist ¶
func (UnimplementedHandler) ListArtist(ctx context.Context, params ListArtistParams) (r ListArtistRes, _ error)
ListArtist implements listArtist operation.
List Artists.
GET /artists
func (UnimplementedHandler) ListArtistActed ¶
func (UnimplementedHandler) ListArtistActed(ctx context.Context, params ListArtistActedParams) (r ListArtistActedRes, _ error)
ListArtistActed implements listArtistActed operation.
List attached Acteds.
GET /artists/{id}/acted
func (UnimplementedHandler) ListArtistCountries ¶
func (UnimplementedHandler) ListArtistCountries(ctx context.Context, params ListArtistCountriesParams) (r ListArtistCountriesRes, _ error)
ListArtistCountries implements listArtistCountries operation.
List attached Countries.
GET /artists/{id}/countries
func (UnimplementedHandler) ListArtistDirected ¶
func (UnimplementedHandler) ListArtistDirected(ctx context.Context, params ListArtistDirectedParams) (r ListArtistDirectedRes, _ error)
ListArtistDirected implements listArtistDirected operation.
List attached Directeds.
GET /artists/{id}/directed
func (UnimplementedHandler) ListArtistPictures ¶
func (UnimplementedHandler) ListArtistPictures(ctx context.Context, params ListArtistPicturesParams) (r ListArtistPicturesRes, _ error)
ListArtistPictures implements listArtistPictures operation.
List attached Pictures.
GET /artists/{id}/pictures
func (UnimplementedHandler) ListArtistWrote ¶
func (UnimplementedHandler) ListArtistWrote(ctx context.Context, params ListArtistWroteParams) (r ListArtistWroteRes, _ error)
ListArtistWrote implements listArtistWrote operation.
List attached Wrotes.
GET /artists/{id}/wrote
func (UnimplementedHandler) ListCountry ¶
func (UnimplementedHandler) ListCountry(ctx context.Context, params ListCountryParams) (r ListCountryRes, _ error)
ListCountry implements listCountry operation.
List Countries.
GET /countries
func (UnimplementedHandler) ListCountryArtists ¶
func (UnimplementedHandler) ListCountryArtists(ctx context.Context, params ListCountryArtistsParams) (r ListCountryArtistsRes, _ error)
ListCountryArtists implements listCountryArtists operation.
List attached Artists.
GET /countries/{id}/artists
func (UnimplementedHandler) ListCountryMovies ¶
func (UnimplementedHandler) ListCountryMovies(ctx context.Context, params ListCountryMoviesParams) (r ListCountryMoviesRes, _ error)
ListCountryMovies implements listCountryMovies operation.
List attached Movies.
GET /countries/{id}/movies
func (UnimplementedHandler) ListFile ¶
func (UnimplementedHandler) ListFile(ctx context.Context, params ListFileParams) (r ListFileRes, _ error)
ListFile implements listFile operation.
List Files.
GET /files
func (UnimplementedHandler) ListMovie ¶
func (UnimplementedHandler) ListMovie(ctx context.Context, params ListMovieParams) (r ListMovieRes, _ error)
ListMovie implements listMovie operation.
List Movies.
GET /movies
func (UnimplementedHandler) ListMovieCast ¶
func (UnimplementedHandler) ListMovieCast(ctx context.Context, params ListMovieCastParams) (r ListMovieCastRes, _ error)
ListMovieCast implements listMovieCast operation.
List attached Casts.
GET /movies/{id}/cast
func (UnimplementedHandler) ListMovieCountries ¶
func (UnimplementedHandler) ListMovieCountries(ctx context.Context, params ListMovieCountriesParams) (r ListMovieCountriesRes, _ error)
ListMovieCountries implements listMovieCountries operation.
List attached Countries.
GET /movies/{id}/countries
func (UnimplementedHandler) ListMovieDirectors ¶
func (UnimplementedHandler) ListMovieDirectors(ctx context.Context, params ListMovieDirectorsParams) (r ListMovieDirectorsRes, _ error)
ListMovieDirectors implements listMovieDirectors operation.
List attached Directors.
GET /movies/{id}/directors
func (UnimplementedHandler) ListMovieFanart ¶
func (UnimplementedHandler) ListMovieFanart(ctx context.Context, params ListMovieFanartParams) (r ListMovieFanartRes, _ error)
ListMovieFanart implements listMovieFanart operation.
List attached Fanarts.
GET /movies/{id}/fanart
func (UnimplementedHandler) ListMovieGenre ¶
func (UnimplementedHandler) ListMovieGenre(ctx context.Context, params ListMovieGenreParams) (r ListMovieGenreRes, _ error)
ListMovieGenre implements listMovieGenre operation.
List MovieGenres.
GET /movie-genres
func (UnimplementedHandler) ListMovieGenreMovies ¶
func (UnimplementedHandler) ListMovieGenreMovies(ctx context.Context, params ListMovieGenreMoviesParams) (r ListMovieGenreMoviesRes, _ error)
ListMovieGenreMovies implements listMovieGenreMovies operation.
List attached Movies.
GET /movie-genres/{id}/movies
func (UnimplementedHandler) ListMovieGenres ¶
func (UnimplementedHandler) ListMovieGenres(ctx context.Context, params ListMovieGenresParams) (r ListMovieGenresRes, _ error)
ListMovieGenres implements listMovieGenres operation.
List attached Genres.
GET /movies/{id}/genres
func (UnimplementedHandler) ListMovieRatings ¶
func (UnimplementedHandler) ListMovieRatings(ctx context.Context, params ListMovieRatingsParams) (r ListMovieRatingsRes, _ error)
ListMovieRatings implements listMovieRatings operation.
List attached Ratings.
GET /movies/{id}/ratings
func (UnimplementedHandler) ListMovieWriters ¶
func (UnimplementedHandler) ListMovieWriters(ctx context.Context, params ListMovieWritersParams) (r ListMovieWritersRes, _ error)
ListMovieWriters implements listMovieWriters operation.
List attached Writers.
GET /movies/{id}/writers
func (UnimplementedHandler) ListPicture ¶
func (UnimplementedHandler) ListPicture(ctx context.Context, params ListPictureParams) (r ListPictureRes, _ error)
ListPicture implements listPicture operation.
List Pictures.
GET /pictures
func (UnimplementedHandler) ListRating ¶
func (UnimplementedHandler) ListRating(ctx context.Context, params ListRatingParams) (r ListRatingRes, _ error)
ListRating implements listRating operation.
List Ratings.
GET /ratings
func (UnimplementedHandler) ReadArtist ¶
func (UnimplementedHandler) ReadArtist(ctx context.Context, params ReadArtistParams) (r ReadArtistRes, _ error)
ReadArtist implements readArtist operation.
Finds the Artist with the requested ID and returns it.
GET /artists/{id}
func (UnimplementedHandler) ReadArtistProfilePicture ¶
func (UnimplementedHandler) ReadArtistProfilePicture(ctx context.Context, params ReadArtistProfilePictureParams) (r ReadArtistProfilePictureRes, _ error)
ReadArtistProfilePicture implements readArtistProfilePicture operation.
Find the attached Picture of the Artist with the given ID.
GET /artists/{id}/profile-picture
func (UnimplementedHandler) ReadCountry ¶
func (UnimplementedHandler) ReadCountry(ctx context.Context, params ReadCountryParams) (r ReadCountryRes, _ error)
ReadCountry implements readCountry operation.
Finds the Country with the requested ID and returns it.
GET /countries/{id}
func (UnimplementedHandler) ReadFile ¶
func (UnimplementedHandler) ReadFile(ctx context.Context, params ReadFileParams) (r ReadFileRes, _ error)
ReadFile implements readFile operation.
Finds the File with the requested ID and returns it.
GET /files/{id}
func (UnimplementedHandler) ReadFileMovie ¶
func (UnimplementedHandler) ReadFileMovie(ctx context.Context, params ReadFileMovieParams) (r ReadFileMovieRes, _ error)
ReadFileMovie implements readFileMovie operation.
Find the attached Movie of the File with the given ID.
GET /files/{id}/movie
func (UnimplementedHandler) ReadMovie ¶
func (UnimplementedHandler) ReadMovie(ctx context.Context, params ReadMovieParams) (r ReadMovieRes, _ error)
ReadMovie implements readMovie operation.
Finds the Movie with the requested ID and returns it.
GET /movies/{id}
func (UnimplementedHandler) ReadMovieFile ¶
func (UnimplementedHandler) ReadMovieFile(ctx context.Context, params ReadMovieFileParams) (r ReadMovieFileRes, _ error)
ReadMovieFile implements readMovieFile operation.
Find the attached File of the Movie with the given ID.
GET /movies/{id}/file
func (UnimplementedHandler) ReadMovieGenre ¶
func (UnimplementedHandler) ReadMovieGenre(ctx context.Context, params ReadMovieGenreParams) (r ReadMovieGenreRes, _ error)
ReadMovieGenre implements readMovieGenre operation.
Finds the MovieGenre with the requested ID and returns it.
GET /movie-genres/{id}
func (UnimplementedHandler) ReadMoviePoster ¶
func (UnimplementedHandler) ReadMoviePoster(ctx context.Context, params ReadMoviePosterParams) (r ReadMoviePosterRes, _ error)
ReadMoviePoster implements readMoviePoster operation.
Find the attached Picture of the Movie with the given ID.
GET /movies/{id}/poster
func (UnimplementedHandler) ReadPicture ¶
func (UnimplementedHandler) ReadPicture(ctx context.Context, params ReadPictureParams) (r ReadPictureRes, _ error)
ReadPicture implements readPicture operation.
Finds the Picture with the requested ID and returns it.
GET /pictures/{id}
func (UnimplementedHandler) ReadRating ¶
func (UnimplementedHandler) ReadRating(ctx context.Context, params ReadRatingParams) (r ReadRatingRes, _ error)
ReadRating implements readRating operation.
Finds the Rating with the requested ID and returns it.
GET /ratings/{id}
func (UnimplementedHandler) UpdateArtist ¶
func (UnimplementedHandler) UpdateArtist(ctx context.Context, req UpdateArtistReq, params UpdateArtistParams) (r UpdateArtistRes, _ error)
UpdateArtist implements updateArtist operation.
Updates a Artist and persists changes to storage.
PATCH /artists/{id}
func (UnimplementedHandler) UpdateCountry ¶
func (UnimplementedHandler) UpdateCountry(ctx context.Context, req UpdateCountryReq, params UpdateCountryParams) (r UpdateCountryRes, _ error)
UpdateCountry implements updateCountry operation.
Updates a Country and persists changes to storage.
PATCH /countries/{id}
func (UnimplementedHandler) UpdateFile ¶
func (UnimplementedHandler) UpdateFile(ctx context.Context, req UpdateFileReq, params UpdateFileParams) (r UpdateFileRes, _ error)
UpdateFile implements updateFile operation.
Updates a File and persists changes to storage.
PATCH /files/{id}
func (UnimplementedHandler) UpdateMovie ¶
func (UnimplementedHandler) UpdateMovie(ctx context.Context, req UpdateMovieReq, params UpdateMovieParams) (r UpdateMovieRes, _ error)
UpdateMovie implements updateMovie operation.
Updates a Movie and persists changes to storage.
PATCH /movies/{id}
func (UnimplementedHandler) UpdateMovieGenre ¶
func (UnimplementedHandler) UpdateMovieGenre(ctx context.Context, req UpdateMovieGenreReq, params UpdateMovieGenreParams) (r UpdateMovieGenreRes, _ error)
UpdateMovieGenre implements updateMovieGenre operation.
Updates a MovieGenre and persists changes to storage.
PATCH /movie-genres/{id}
func (UnimplementedHandler) UpdatePicture ¶
func (UnimplementedHandler) UpdatePicture(ctx context.Context, req UpdatePictureReq, params UpdatePictureParams) (r UpdatePictureRes, _ error)
UpdatePicture implements updatePicture operation.
Updates a Picture and persists changes to storage.
PATCH /pictures/{id}
func (UnimplementedHandler) UpdateRating ¶
func (UnimplementedHandler) UpdateRating(ctx context.Context, req UpdateRatingReq, params UpdateRatingParams) (r UpdateRatingRes, _ error)
UpdateRating implements updateRating operation.
Updates a Rating and persists changes to storage.
PATCH /ratings/{id}
type UpdateArtistParams ¶
type UpdateArtistParams struct { // ID of the Artist. ID int }
type UpdateArtistReq ¶
type UpdateArtistReq struct { Name OptString "json:\"name\"" Birthday OptDateTime "json:\"birthday\"" ProfilePicture OptInt "json:\"profile_picture\"" Pictures []int "json:\"pictures\"" Directed []int "json:\"directed\"" Acted []int "json:\"acted\"" Wrote []int "json:\"wrote\"" Countries []int "json:\"countries\"" }
func (*UpdateArtistReq) Decode ¶
func (s *UpdateArtistReq) Decode(d *jx.Decoder) error
Decode decodes UpdateArtistReq from json.
func (UpdateArtistReq) Encode ¶
func (s UpdateArtistReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type UpdateArtistRes ¶
type UpdateArtistRes interface {
// contains filtered or unexported methods
}
type UpdateCountryParams ¶
type UpdateCountryParams struct { // ID of the Country. ID int }
type UpdateCountryReq ¶
type UpdateCountryReq struct { Name OptString "json:\"name\"" Code OptString "json:\"code\"" Movies []int "json:\"movies\"" Artists []int "json:\"artists\"" }
func (*UpdateCountryReq) Decode ¶
func (s *UpdateCountryReq) Decode(d *jx.Decoder) error
Decode decodes UpdateCountryReq from json.
func (UpdateCountryReq) Encode ¶
func (s UpdateCountryReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type UpdateCountryRes ¶
type UpdateCountryRes interface {
// contains filtered or unexported methods
}
type UpdateFileParams ¶
type UpdateFileParams struct { // ID of the File. ID int }
type UpdateFileReq ¶
type UpdateFileReq struct { Name OptString "json:\"name\"" Path OptString "json:\"path\"" Type OptUpdateFileReqType "json:\"type\"" ExternalID OptString "json:\"external_id\"" ExternalInfoProvider OptString "json:\"external_info_provider\"" Results OptString "json:\"results\"" Synced OptBool "json:\"synced\"" Movie OptInt "json:\"movie\"" }
func (*UpdateFileReq) Decode ¶
func (s *UpdateFileReq) Decode(d *jx.Decoder) error
Decode decodes UpdateFileReq from json.
func (UpdateFileReq) Encode ¶
func (s UpdateFileReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (UpdateFileReq) Validate ¶
func (s UpdateFileReq) Validate() error
type UpdateFileReqType ¶
type UpdateFileReqType string
const ( UpdateFileReqTypeAudio UpdateFileReqType = "audio" UpdateFileReqTypeVideo UpdateFileReqType = "video" UpdateFileReqTypeImage UpdateFileReqType = "image" )
func (*UpdateFileReqType) Decode ¶
func (s *UpdateFileReqType) Decode(d *jx.Decoder) error
Decode decodes UpdateFileReqType from json.
func (UpdateFileReqType) Encode ¶
func (s UpdateFileReqType) Encode(e *jx.Encoder)
Encode encodes UpdateFileReqType as json.
func (UpdateFileReqType) Validate ¶
func (s UpdateFileReqType) Validate() error
type UpdateFileRes ¶
type UpdateFileRes interface {
// contains filtered or unexported methods
}
type UpdateMovieGenreParams ¶
type UpdateMovieGenreParams struct { // ID of the MovieGenre. ID int }
type UpdateMovieGenreReq ¶
func (*UpdateMovieGenreReq) Decode ¶
func (s *UpdateMovieGenreReq) Decode(d *jx.Decoder) error
Decode decodes UpdateMovieGenreReq from json.
func (UpdateMovieGenreReq) Encode ¶
func (s UpdateMovieGenreReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type UpdateMovieGenreRes ¶
type UpdateMovieGenreRes interface {
// contains filtered or unexported methods
}
type UpdateMovieParams ¶
type UpdateMovieParams struct { // ID of the Movie. ID int }
type UpdateMovieReq ¶
type UpdateMovieReq struct { Title OptString "json:\"title\"" OriginalTitle OptString "json:\"original_title\"" ReleaseDate OptDateTime "json:\"release_date\"" Plot OptString "json:\"plot\"" Duration OptInt "json:\"duration\"" Watched OptBool "json:\"watched\"" File OptInt "json:\"file\"" Ratings []int "json:\"ratings\"" Poster OptInt "json:\"poster\"" Fanart []int "json:\"fanart\"" Cast []int "json:\"cast\"" Directors []int "json:\"directors\"" Writers []int "json:\"writers\"" Genres []int "json:\"genres\"" Countries []int "json:\"countries\"" }
func (*UpdateMovieReq) Decode ¶
func (s *UpdateMovieReq) Decode(d *jx.Decoder) error
Decode decodes UpdateMovieReq from json.
func (UpdateMovieReq) Encode ¶
func (s UpdateMovieReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type UpdateMovieRes ¶
type UpdateMovieRes interface {
// contains filtered or unexported methods
}
type UpdatePictureParams ¶
type UpdatePictureParams struct { // ID of the Picture. ID int }
type UpdatePictureReq ¶
type UpdatePictureReq struct { Name OptString "json:\"name\"" Filename OptString "json:\"filename\"" Path OptString "json:\"path\"" }
func (*UpdatePictureReq) Decode ¶
func (s *UpdatePictureReq) Decode(d *jx.Decoder) error
Decode decodes UpdatePictureReq from json.
func (UpdatePictureReq) Encode ¶
func (s UpdatePictureReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type UpdatePictureRes ¶
type UpdatePictureRes interface {
// contains filtered or unexported methods
}
type UpdateRatingParams ¶
type UpdateRatingParams struct { // ID of the Rating. ID int }
type UpdateRatingReq ¶
type UpdateRatingReq struct { Origin OptString "json:\"origin\"" OriginalRating OptString "json:\"original_rating\"" NormalizedRating OptInt "json:\"normalized_rating\"" }
func (*UpdateRatingReq) Decode ¶
func (s *UpdateRatingReq) Decode(d *jx.Decoder) error
Decode decodes UpdateRatingReq from json.
func (UpdateRatingReq) Encode ¶
func (s UpdateRatingReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
type UpdateRatingRes ¶
type UpdateRatingRes interface {
// contains filtered or unexported methods
}
Source Files ¶
- oas_cfg_gen.go
- oas_client_gen.go
- oas_defaults_gen.go
- oas_handlers_gen.go
- oas_interfaces_gen.go
- oas_json_gen.go
- oas_param_dec_gen.go
- oas_param_gen.go
- oas_req_dec_gen.go
- oas_req_enc_gen.go
- oas_res_dec_gen.go
- oas_res_enc_gen.go
- oas_router_gen.go
- oas_schemas_gen.go
- oas_security_gen.go
- oas_server_gen.go
- oas_unimplemented_gen.go
- oas_validators_gen.go
- ogent.go
- responses.go