Documentation
¶
Overview ¶
Package tvdb provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.15.0 DO NOT EDIT.
Index ¶
- Constants
- func Float32(v float32) *float32
- func Float32Value(v *float32) float32
- func NewCreateUserFavoritesRequest(server string, body CreateUserFavoritesJSONRequestBody) (*http.Request, error)
- func NewCreateUserFavoritesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetAllArtworkStatusesRequest(server string) (*http.Request, error)
- func NewGetAllArtworkTypesRequest(server string) (*http.Request, error)
- func NewGetAllAwardsRequest(server string) (*http.Request, error)
- func NewGetAllCompaniesRequest(server string, params *GetAllCompaniesParams) (*http.Request, error)
- func NewGetAllContentRatingsRequest(server string) (*http.Request, error)
- func NewGetAllCountriesRequest(server string) (*http.Request, error)
- func NewGetAllEpisodesRequest(server string, params *GetAllEpisodesParams) (*http.Request, error)
- func NewGetAllGendersRequest(server string) (*http.Request, error)
- func NewGetAllGenresRequest(server string) (*http.Request, error)
- func NewGetAllInspirationTypesRequest(server string) (*http.Request, error)
- func NewGetAllLanguagesRequest(server string) (*http.Request, error)
- func NewGetAllListsRequest(server string, params *GetAllListsParams) (*http.Request, error)
- func NewGetAllMovieRequest(server string, params *GetAllMovieParams) (*http.Request, error)
- func NewGetAllMovieStatusesRequest(server string) (*http.Request, error)
- func NewGetAllPeopleRequest(server string, params *GetAllPeopleParams) (*http.Request, error)
- func NewGetAllPeopleTypesRequest(server string) (*http.Request, error)
- func NewGetAllSeasonsRequest(server string, params *GetAllSeasonsParams) (*http.Request, error)
- func NewGetAllSeriesRequest(server string, params *GetAllSeriesParams) (*http.Request, error)
- func NewGetAllSeriesStatusesRequest(server string) (*http.Request, error)
- func NewGetAllSourceTypesRequest(server string) (*http.Request, error)
- func NewGetArtworkBaseRequest(server string, id float32) (*http.Request, error)
- func NewGetArtworkExtendedRequest(server string, id float32) (*http.Request, error)
- func NewGetAwardCategoryExtendedRequest(server string, id float32) (*http.Request, error)
- func NewGetAwardCategoryRequest(server string, id float32) (*http.Request, error)
- func NewGetAwardExtendedRequest(server string, id float32) (*http.Request, error)
- func NewGetAwardRequest(server string, id float32) (*http.Request, error)
- func NewGetCharacterBaseRequest(server string, id float32) (*http.Request, error)
- func NewGetCompanyRequest(server string, id float32) (*http.Request, error)
- func NewGetCompanyTypesRequest(server string) (*http.Request, error)
- func NewGetEntityTypesRequest(server string) (*http.Request, error)
- func NewGetEpisodeBaseRequest(server string, id float32) (*http.Request, error)
- func NewGetEpisodeExtendedRequest(server string, id float32, params *GetEpisodeExtendedParams) (*http.Request, error)
- func NewGetEpisodeTranslationRequest(server string, id float32, language string) (*http.Request, error)
- func NewGetGenreBaseRequest(server string, id float32) (*http.Request, error)
- func NewGetListBySlugRequest(server string, slug string) (*http.Request, error)
- func NewGetListExtendedRequest(server string, id float32) (*http.Request, error)
- func NewGetListRequest(server string, id float32) (*http.Request, error)
- func NewGetListTranslationRequest(server string, id float32, language string) (*http.Request, error)
- func NewGetMovieBaseBySlugRequest(server string, slug string) (*http.Request, error)
- func NewGetMovieBaseRequest(server string, id float32) (*http.Request, error)
- func NewGetMovieExtendedRequest(server string, id float32, params *GetMovieExtendedParams) (*http.Request, error)
- func NewGetMovieTranslationRequest(server string, id float32, language string) (*http.Request, error)
- func NewGetMoviesFilterRequest(server string, params *GetMoviesFilterParams) (*http.Request, error)
- func NewGetPeopleBaseRequest(server string, id float32) (*http.Request, error)
- func NewGetPeopleExtendedRequest(server string, id float32, params *GetPeopleExtendedParams) (*http.Request, error)
- func NewGetPeopleTranslationRequest(server string, id float32, language string) (*http.Request, error)
- func NewGetSearchResultsByRemoteIdRequest(server string, remoteId string) (*http.Request, error)
- func NewGetSearchResultsRequest(server string, params *GetSearchResultsParams) (*http.Request, error)
- func NewGetSeasonBaseRequest(server string, id float32) (*http.Request, error)
- func NewGetSeasonExtendedRequest(server string, id float32) (*http.Request, error)
- func NewGetSeasonTranslationRequest(server string, id float32, language string) (*http.Request, error)
- func NewGetSeasonTypesRequest(server string) (*http.Request, error)
- func NewGetSeriesArtworksRequest(server string, id float32, params *GetSeriesArtworksParams) (*http.Request, error)
- func NewGetSeriesBaseBySlugRequest(server string, slug string) (*http.Request, error)
- func NewGetSeriesBaseRequest(server string, id float32) (*http.Request, error)
- func NewGetSeriesEpisodesRequest(server string, id float32, seasonType string, params *GetSeriesEpisodesParams) (*http.Request, error)
- func NewGetSeriesExtendedRequest(server string, id float32, params *GetSeriesExtendedParams) (*http.Request, error)
- func NewGetSeriesFilterRequest(server string, params *GetSeriesFilterParams) (*http.Request, error)
- func NewGetSeriesNextAiredRequest(server string, id float32) (*http.Request, error)
- func NewGetSeriesSeasonEpisodesTranslatedRequest(server string, id float32, seasonType string, lang string, ...) (*http.Request, error)
- func NewGetSeriesTranslationRequest(server string, id float32, language string) (*http.Request, error)
- func NewGetUserFavoritesRequest(server string) (*http.Request, error)
- func NewGetUserInfoByIdRequest(server string, id float32) (*http.Request, error)
- func NewGetUserInfoRequest(server string) (*http.Request, error)
- func NewPostLoginRequest(server string, body PostLoginJSONRequestBody) (*http.Request, error)
- func NewPostLoginRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdatesRequest(server string, params *UpdatesParams) (*http.Request, error)
- func String(v string) *string
- func StringValue(v *string) string
- type Alias
- type ArtworkBaseRecord
- type ArtworkExtendedRecord
- type ArtworkStatus
- type ArtworkType
- type AwardBaseRecord
- type AwardCategoryBaseRecord
- type AwardCategoryExtendedRecord
- type AwardExtendedRecord
- type AwardNomineeBaseRecord
- type Biography
- type Character
- type Client
- func (c *Client) CreateUserFavorites(ctx context.Context, body CreateUserFavoritesJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateUserFavoritesWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetAllArtworkStatuses(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAllArtworkTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAllAwards(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAllCompanies(ctx context.Context, params *GetAllCompaniesParams, ...) (*http.Response, error)
- func (c *Client) GetAllContentRatings(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAllCountries(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAllEpisodes(ctx context.Context, params *GetAllEpisodesParams, ...) (*http.Response, error)
- func (c *Client) GetAllGenders(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAllGenres(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAllInspirationTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAllLanguages(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAllLists(ctx context.Context, params *GetAllListsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAllMovie(ctx context.Context, params *GetAllMovieParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAllMovieStatuses(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAllPeople(ctx context.Context, params *GetAllPeopleParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAllPeopleTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAllSeasons(ctx context.Context, params *GetAllSeasonsParams, ...) (*http.Response, error)
- func (c *Client) GetAllSeries(ctx context.Context, params *GetAllSeriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAllSeriesStatuses(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAllSourceTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetArtworkBase(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetArtworkExtended(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAward(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAwardCategory(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAwardCategoryExtended(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAwardExtended(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCharacterBase(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCompany(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCompanyTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetEntityTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetEpisodeBase(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetEpisodeExtended(ctx context.Context, id float32, params *GetEpisodeExtendedParams, ...) (*http.Response, error)
- func (c *Client) GetEpisodeTranslation(ctx context.Context, id float32, language string, ...) (*http.Response, error)
- func (c *Client) GetGenreBase(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetList(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetListBySlug(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetListExtended(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetListTranslation(ctx context.Context, id float32, language string, ...) (*http.Response, error)
- func (c *Client) GetMovieBase(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMovieBaseBySlug(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMovieExtended(ctx context.Context, id float32, params *GetMovieExtendedParams, ...) (*http.Response, error)
- func (c *Client) GetMovieTranslation(ctx context.Context, id float32, language string, ...) (*http.Response, error)
- func (c *Client) GetMoviesFilter(ctx context.Context, params *GetMoviesFilterParams, ...) (*http.Response, error)
- func (c *Client) GetPeopleBase(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPeopleExtended(ctx context.Context, id float32, params *GetPeopleExtendedParams, ...) (*http.Response, error)
- func (c *Client) GetPeopleTranslation(ctx context.Context, id float32, language string, ...) (*http.Response, error)
- func (c *Client) GetSearchResults(ctx context.Context, params *GetSearchResultsParams, ...) (*http.Response, error)
- func (c *Client) GetSearchResultsByRemoteId(ctx context.Context, remoteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSeasonBase(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSeasonExtended(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSeasonTranslation(ctx context.Context, id float32, language string, ...) (*http.Response, error)
- func (c *Client) GetSeasonTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSeriesArtworks(ctx context.Context, id float32, params *GetSeriesArtworksParams, ...) (*http.Response, error)
- func (c *Client) GetSeriesBase(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSeriesBaseBySlug(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSeriesEpisodes(ctx context.Context, id float32, seasonType string, ...) (*http.Response, error)
- func (c *Client) GetSeriesExtended(ctx context.Context, id float32, params *GetSeriesExtendedParams, ...) (*http.Response, error)
- func (c *Client) GetSeriesFilter(ctx context.Context, params *GetSeriesFilterParams, ...) (*http.Response, error)
- func (c *Client) GetSeriesNextAired(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSeriesSeasonEpisodesTranslated(ctx context.Context, id float32, seasonType string, lang string, ...) (*http.Response, error)
- func (c *Client) GetSeriesTranslation(ctx context.Context, id float32, language string, ...) (*http.Response, error)
- func (c *Client) GetUserFavorites(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetUserInfo(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetUserInfoById(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PostLogin(ctx context.Context, body PostLoginJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostLoginWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) Updates(ctx context.Context, params *UpdatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) CreateUserFavoritesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateUserFavoritesResponse, error)
- func (c *ClientWithResponses) CreateUserFavoritesWithResponse(ctx context.Context, body CreateUserFavoritesJSONRequestBody, ...) (*CreateUserFavoritesResponse, error)
- func (c *ClientWithResponses) GetAllArtworkStatusesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllArtworkStatusesResponse, error)
- func (c *ClientWithResponses) GetAllArtworkTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllArtworkTypesResponse, error)
- func (c *ClientWithResponses) GetAllAwardsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllAwardsResponse, error)
- func (c *ClientWithResponses) GetAllCompaniesWithResponse(ctx context.Context, params *GetAllCompaniesParams, ...) (*GetAllCompaniesResponse, error)
- func (c *ClientWithResponses) GetAllContentRatingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllContentRatingsResponse, error)
- func (c *ClientWithResponses) GetAllCountriesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllCountriesResponse, error)
- func (c *ClientWithResponses) GetAllEpisodesWithResponse(ctx context.Context, params *GetAllEpisodesParams, ...) (*GetAllEpisodesResponse, error)
- func (c *ClientWithResponses) GetAllGendersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllGendersResponse, error)
- func (c *ClientWithResponses) GetAllGenresWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllGenresResponse, error)
- func (c *ClientWithResponses) GetAllInspirationTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllInspirationTypesResponse, error)
- func (c *ClientWithResponses) GetAllLanguagesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllLanguagesResponse, error)
- func (c *ClientWithResponses) GetAllListsWithResponse(ctx context.Context, params *GetAllListsParams, reqEditors ...RequestEditorFn) (*GetAllListsResponse, error)
- func (c *ClientWithResponses) GetAllMovieStatusesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllMovieStatusesResponse, error)
- func (c *ClientWithResponses) GetAllMovieWithResponse(ctx context.Context, params *GetAllMovieParams, reqEditors ...RequestEditorFn) (*GetAllMovieResponse, error)
- func (c *ClientWithResponses) GetAllPeopleTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllPeopleTypesResponse, error)
- func (c *ClientWithResponses) GetAllPeopleWithResponse(ctx context.Context, params *GetAllPeopleParams, reqEditors ...RequestEditorFn) (*GetAllPeopleResponse, error)
- func (c *ClientWithResponses) GetAllSeasonsWithResponse(ctx context.Context, params *GetAllSeasonsParams, ...) (*GetAllSeasonsResponse, error)
- func (c *ClientWithResponses) GetAllSeriesStatusesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllSeriesStatusesResponse, error)
- func (c *ClientWithResponses) GetAllSeriesWithResponse(ctx context.Context, params *GetAllSeriesParams, reqEditors ...RequestEditorFn) (*GetAllSeriesResponse, error)
- func (c *ClientWithResponses) GetAllSourceTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllSourceTypesResponse, error)
- func (c *ClientWithResponses) GetArtworkBaseWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetArtworkBaseResponse, error)
- func (c *ClientWithResponses) GetArtworkExtendedWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetArtworkExtendedResponse, error)
- func (c *ClientWithResponses) GetAwardCategoryExtendedWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetAwardCategoryExtendedResponse, error)
- func (c *ClientWithResponses) GetAwardCategoryWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetAwardCategoryResponse, error)
- func (c *ClientWithResponses) GetAwardExtendedWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetAwardExtendedResponse, error)
- func (c *ClientWithResponses) GetAwardWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetAwardResponse, error)
- func (c *ClientWithResponses) GetCharacterBaseWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetCharacterBaseResponse, error)
- func (c *ClientWithResponses) GetCompanyTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCompanyTypesResponse, error)
- func (c *ClientWithResponses) GetCompanyWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetCompanyResponse, error)
- func (c *ClientWithResponses) GetEntityTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetEntityTypesResponse, error)
- func (c *ClientWithResponses) GetEpisodeBaseWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetEpisodeBaseResponse, error)
- func (c *ClientWithResponses) GetEpisodeExtendedWithResponse(ctx context.Context, id float32, params *GetEpisodeExtendedParams, ...) (*GetEpisodeExtendedResponse, error)
- func (c *ClientWithResponses) GetEpisodeTranslationWithResponse(ctx context.Context, id float32, language string, ...) (*GetEpisodeTranslationResponse, error)
- func (c *ClientWithResponses) GetGenreBaseWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetGenreBaseResponse, error)
- func (c *ClientWithResponses) GetListBySlugWithResponse(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*GetListBySlugResponse, error)
- func (c *ClientWithResponses) GetListExtendedWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetListExtendedResponse, error)
- func (c *ClientWithResponses) GetListTranslationWithResponse(ctx context.Context, id float32, language string, ...) (*GetListTranslationResponse, error)
- func (c *ClientWithResponses) GetListWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetListResponse, error)
- func (c *ClientWithResponses) GetMovieBaseBySlugWithResponse(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*GetMovieBaseBySlugResponse, error)
- func (c *ClientWithResponses) GetMovieBaseWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetMovieBaseResponse, error)
- func (c *ClientWithResponses) GetMovieExtendedWithResponse(ctx context.Context, id float32, params *GetMovieExtendedParams, ...) (*GetMovieExtendedResponse, error)
- func (c *ClientWithResponses) GetMovieTranslationWithResponse(ctx context.Context, id float32, language string, ...) (*GetMovieTranslationResponse, error)
- func (c *ClientWithResponses) GetMoviesFilterWithResponse(ctx context.Context, params *GetMoviesFilterParams, ...) (*GetMoviesFilterResponse, error)
- func (c *ClientWithResponses) GetPeopleBaseWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetPeopleBaseResponse, error)
- func (c *ClientWithResponses) GetPeopleExtendedWithResponse(ctx context.Context, id float32, params *GetPeopleExtendedParams, ...) (*GetPeopleExtendedResponse, error)
- func (c *ClientWithResponses) GetPeopleTranslationWithResponse(ctx context.Context, id float32, language string, ...) (*GetPeopleTranslationResponse, error)
- func (c *ClientWithResponses) GetSearchResultsByRemoteIdWithResponse(ctx context.Context, remoteId string, reqEditors ...RequestEditorFn) (*GetSearchResultsByRemoteIdResponse, error)
- func (c *ClientWithResponses) GetSearchResultsWithResponse(ctx context.Context, params *GetSearchResultsParams, ...) (*GetSearchResultsResponse, error)
- func (c *ClientWithResponses) GetSeasonBaseWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetSeasonBaseResponse, error)
- func (c *ClientWithResponses) GetSeasonExtendedWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetSeasonExtendedResponse, error)
- func (c *ClientWithResponses) GetSeasonTranslationWithResponse(ctx context.Context, id float32, language string, ...) (*GetSeasonTranslationResponse, error)
- func (c *ClientWithResponses) GetSeasonTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSeasonTypesResponse, error)
- func (c *ClientWithResponses) GetSeriesArtworksWithResponse(ctx context.Context, id float32, params *GetSeriesArtworksParams, ...) (*GetSeriesArtworksResponse, error)
- func (c *ClientWithResponses) GetSeriesBaseBySlugWithResponse(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*GetSeriesBaseBySlugResponse, error)
- func (c *ClientWithResponses) GetSeriesBaseWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetSeriesBaseResponse, error)
- func (c *ClientWithResponses) GetSeriesEpisodesWithResponse(ctx context.Context, id float32, seasonType string, ...) (*GetSeriesEpisodesResponse, error)
- func (c *ClientWithResponses) GetSeriesExtendedWithResponse(ctx context.Context, id float32, params *GetSeriesExtendedParams, ...) (*GetSeriesExtendedResponse, error)
- func (c *ClientWithResponses) GetSeriesFilterWithResponse(ctx context.Context, params *GetSeriesFilterParams, ...) (*GetSeriesFilterResponse, error)
- func (c *ClientWithResponses) GetSeriesNextAiredWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetSeriesNextAiredResponse, error)
- func (c *ClientWithResponses) GetSeriesSeasonEpisodesTranslatedWithResponse(ctx context.Context, id float32, seasonType string, lang string, ...) (*GetSeriesSeasonEpisodesTranslatedResponse, error)
- func (c *ClientWithResponses) GetSeriesTranslationWithResponse(ctx context.Context, id float32, language string, ...) (*GetSeriesTranslationResponse, error)
- func (c *ClientWithResponses) GetUserFavoritesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUserFavoritesResponse, error)
- func (c *ClientWithResponses) GetUserInfoByIdWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetUserInfoByIdResponse, error)
- func (c *ClientWithResponses) GetUserInfoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUserInfoResponse, error)
- func (c *ClientWithResponses) PostLoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostLoginResponse, error)
- func (c *ClientWithResponses) PostLoginWithResponse(ctx context.Context, body PostLoginJSONRequestBody, ...) (*PostLoginResponse, error)
- func (c *ClientWithResponses) UpdatesWithResponse(ctx context.Context, params *UpdatesParams, reqEditors ...RequestEditorFn) (*UpdatesResponse, error)
- type ClientWithResponsesInterface
- type Companies
- type Company
- type CompanyRelationShip
- type CompanyType
- type ContentRating
- type Country
- type CreateUserFavoritesJSONRequestBody
- type CreateUserFavoritesResponse
- type Entity
- type EntityType
- type EntityUpdate
- type EpisodeBaseRecord
- type EpisodeExtendedRecord
- type FavoriteRecord
- type Favorites
- type Gender
- type GenreBaseRecord
- type GetAllArtworkStatusesResponse
- type GetAllArtworkTypesResponse
- type GetAllAwardsResponse
- type GetAllCompaniesParams
- type GetAllCompaniesResponse
- type GetAllContentRatingsResponse
- type GetAllCountriesResponse
- type GetAllEpisodesParams
- type GetAllEpisodesResponse
- type GetAllGendersResponse
- type GetAllGenresResponse
- type GetAllInspirationTypesResponse
- type GetAllLanguagesResponse
- type GetAllListsParams
- type GetAllListsResponse
- type GetAllMovieParams
- type GetAllMovieResponse
- type GetAllMovieStatusesResponse
- type GetAllPeopleParams
- type GetAllPeopleResponse
- type GetAllPeopleTypesResponse
- type GetAllSeasonsParams
- type GetAllSeasonsResponse
- type GetAllSeriesParams
- type GetAllSeriesResponse
- type GetAllSeriesStatusesResponse
- type GetAllSourceTypesResponse
- type GetArtworkBaseResponse
- type GetArtworkExtendedResponse
- type GetAwardCategoryExtendedResponse
- type GetAwardCategoryResponse
- type GetAwardExtendedResponse
- type GetAwardResponse
- type GetCharacterBaseResponse
- type GetCompanyResponse
- type GetCompanyTypesResponse
- type GetEntityTypesResponse
- type GetEpisodeBaseResponse
- type GetEpisodeExtendedParams
- type GetEpisodeExtendedParamsMeta
- type GetEpisodeExtendedResponse
- type GetEpisodeTranslationResponse
- type GetGenreBaseResponse
- type GetListBySlugResponse
- type GetListExtendedResponse
- type GetListResponse
- type GetListTranslationResponse
- type GetMovieBaseBySlugResponse
- type GetMovieBaseResponse
- type GetMovieExtendedParams
- type GetMovieExtendedParamsMeta
- type GetMovieExtendedParamsShort
- type GetMovieExtendedResponse
- type GetMovieTranslationResponse
- type GetMoviesFilterParams
- type GetMoviesFilterParamsGenre
- type GetMoviesFilterParamsSort
- type GetMoviesFilterParamsStatus
- type GetMoviesFilterResponse
- type GetPeopleBaseResponse
- type GetPeopleExtendedParams
- type GetPeopleExtendedParamsMeta
- type GetPeopleExtendedResponse
- type GetPeopleTranslationResponse
- type GetSearchResultsByRemoteIdResponse
- type GetSearchResultsParams
- type GetSearchResultsResponse
- type GetSeasonBaseResponse
- type GetSeasonExtendedResponse
- type GetSeasonTranslationResponse
- type GetSeasonTypesResponse
- type GetSeriesArtworksParams
- type GetSeriesArtworksResponse
- type GetSeriesBaseBySlugResponse
- type GetSeriesBaseResponse
- type GetSeriesEpisodesParams
- type GetSeriesEpisodesResponse
- type GetSeriesExtendedParams
- type GetSeriesExtendedParamsMeta
- type GetSeriesExtendedParamsShort
- type GetSeriesExtendedResponse
- type GetSeriesFilterParams
- type GetSeriesFilterParamsGenre
- type GetSeriesFilterParamsSort
- type GetSeriesFilterParamsSortType
- type GetSeriesFilterParamsStatus
- type GetSeriesFilterResponse
- type GetSeriesNextAiredResponse
- type GetSeriesSeasonEpisodesTranslatedParams
- type GetSeriesSeasonEpisodesTranslatedResponse
- type GetSeriesTranslationResponse
- type GetUserFavoritesResponse
- type GetUserInfoByIdResponse
- type GetUserInfoResponse
- type HttpRequestDoer
- type Inspiration
- type InspirationType
- type Language
- type Links
- type ListBaseRecord
- type ListExtendedRecord
- type MovieBaseRecord
- type MovieExtendedRecord
- type ParentCompany
- type PeopleBaseRecord
- type PeopleExtendedRecord
- type PeopleType
- type PostLoginJSONBody
- type PostLoginJSONRequestBody
- type PostLoginResponse
- type ProductionCountry
- type Race
- type RecordInfo
- type Release
- type RemoteID
- type RequestEditorFn
- type SearchByRemoteIdResult
- type SearchResult
- type SeasonBaseRecord
- type SeasonExtendedRecord
- type SeasonType
- type SeriesAirsDays
- type SeriesBaseRecord
- type SeriesExtendedRecord
- type SourceType
- type Status
- type StudioBaseRecord
- type TagOption
- type Trailer
- type Translation
- type TranslationExtended
- type TranslationSimple
- type Tvdb
- func (c *Tvdb) CreateUserFavorites(body CreateUserFavoritesJSONRequestBody) (*CreateUserFavoritesResponse, error)
- func (c *Tvdb) GetAllArtworkStatuses() (*GetAllArtworkStatusesResponse, error)
- func (c *Tvdb) GetAllArtworkTypes() (*GetAllArtworkTypesResponse, error)
- func (c *Tvdb) GetAllAwards() (*GetAllAwardsResponse, error)
- func (c *Tvdb) GetAllCompanies(params *GetAllCompaniesParams) (*GetAllCompaniesResponse, error)
- func (c *Tvdb) GetAllContentRatings() (*GetAllContentRatingsResponse, error)
- func (c *Tvdb) GetAllCountries() (*GetAllCountriesResponse, error)
- func (c *Tvdb) GetAllEpisodes(params *GetAllEpisodesParams) (*GetAllEpisodesResponse, error)
- func (c *Tvdb) GetAllGenders() (*GetAllGendersResponse, error)
- func (c *Tvdb) GetAllGenres() (*GetAllGenresResponse, error)
- func (c *Tvdb) GetAllInspirationTypes() (*GetAllInspirationTypesResponse, error)
- func (c *Tvdb) GetAllLanguages() (*GetAllLanguagesResponse, error)
- func (c *Tvdb) GetAllLists(params *GetAllListsParams) (*GetAllListsResponse, error)
- func (c *Tvdb) GetAllMovie(params *GetAllMovieParams) (*GetAllMovieResponse, error)
- func (c *Tvdb) GetAllMovieStatuses() (*GetAllMovieStatusesResponse, error)
- func (c *Tvdb) GetAllPeople(params *GetAllPeopleParams) (*GetAllPeopleResponse, error)
- func (c *Tvdb) GetAllPeopleTypes() (*GetAllPeopleTypesResponse, error)
- func (c *Tvdb) GetAllSeasons(params *GetAllSeasonsParams) (*GetAllSeasonsResponse, error)
- func (c *Tvdb) GetAllSeries(params *GetAllSeriesParams) (*GetAllSeriesResponse, error)
- func (c *Tvdb) GetAllSeriesStatuses() (*GetAllSeriesStatusesResponse, error)
- func (c *Tvdb) GetAllSourceTypes() (*GetAllSourceTypesResponse, error)
- func (c *Tvdb) GetArtwork(id float32) (*GetArtworkBaseResponse, error)
- func (c *Tvdb) GetArtworkExtended(id float32) (*GetArtworkExtendedResponse, error)
- func (c *Tvdb) GetAward(id float32) (*GetAwardResponse, error)
- func (c *Tvdb) GetAwardCategory(id float32) (*GetAwardCategoryResponse, error)
- func (c *Tvdb) GetAwardCategoryExtended(id float32) (*GetAwardCategoryExtendedResponse, error)
- func (c *Tvdb) GetAwardExtended(id float32) (*GetAwardExtendedResponse, error)
- func (c *Tvdb) GetCharacter(id float32) (*GetCharacterBaseResponse, error)
- func (c *Tvdb) GetCompany(id float32) (*GetCompanyResponse, error)
- func (c *Tvdb) GetCompanyTypes() (*GetCompanyTypesResponse, error)
- func (c *Tvdb) GetEntityTypes() (*GetEntityTypesResponse, error)
- func (c *Tvdb) GetEpisode(id float32) (*GetEpisodeBaseResponse, error)
- func (c *Tvdb) GetEpisodeExtended(id float32, params *GetEpisodeExtendedParams) (*GetEpisodeExtendedResponse, error)
- func (c *Tvdb) GetEpisodeTranslation(id float32, language string) (*GetEpisodeTranslationResponse, error)
- func (c *Tvdb) GetGenre(id float32) (*GetGenreBaseResponse, error)
- func (c *Tvdb) GetList(id float32) (*GetListResponse, error)
- func (c *Tvdb) GetListBySlug(slug string) (*GetListBySlugResponse, error)
- func (c *Tvdb) GetListExtended(id float32) (*GetListExtendedResponse, error)
- func (c *Tvdb) GetListTranslation(id float32, language string) (*GetListTranslationResponse, error)
- func (c *Tvdb) GetMovie(id float32) (*GetMovieBaseResponse, error)
- func (c *Tvdb) GetMovieBySlug(slug string) (*GetMovieBaseBySlugResponse, error)
- func (c *Tvdb) GetMovieExtended(id float32, params *GetMovieExtendedParams) (*GetMovieExtendedResponse, error)
- func (c *Tvdb) GetMovieTranslation(id float32, language string) (*GetMovieTranslationResponse, error)
- func (c *Tvdb) GetMoviesFilter(params *GetMoviesFilterParams) (*GetMoviesFilterResponse, error)
- func (c *Tvdb) GetPeople(id float32) (*GetPeopleBaseResponse, error)
- func (c *Tvdb) GetPeopleExtended(id float32, params *GetPeopleExtendedParams) (*GetPeopleExtendedResponse, error)
- func (c *Tvdb) GetPeopleTranslation(id float32, language string) (*GetPeopleTranslationResponse, error)
- func (c *Tvdb) GetSearchResults(params *GetSearchResultsParams) (*GetSearchResultsResponse, error)
- func (c *Tvdb) GetSearchResultsByRemoteId(remoteId string) (*GetSearchResultsByRemoteIdResponse, error)
- func (c *Tvdb) GetSeason(id float32) (*GetSeasonBaseResponse, error)
- func (c *Tvdb) GetSeasonExtended(id float32) (*GetSeasonExtendedResponse, error)
- func (c *Tvdb) GetSeasonTranslation(id float32, language string) (*GetSeasonTranslationResponse, error)
- func (c *Tvdb) GetSeasonTypes() (*GetSeasonTypesResponse, error)
- func (c *Tvdb) GetSeries(id float32) (*GetSeriesBaseResponse, error)
- func (c *Tvdb) GetSeriesArtworks(id float32, params *GetSeriesArtworksParams) (*GetSeriesArtworksResponse, error)
- func (c *Tvdb) GetSeriesBySlug(slug string) (*GetSeriesBaseBySlugResponse, error)
- func (c *Tvdb) GetSeriesEpisodes(id float32, seasonType string, params *GetSeriesEpisodesParams) (*GetSeriesEpisodesResponse, error)
- func (c *Tvdb) GetSeriesExtended(id float32, params *GetSeriesExtendedParams) (*GetSeriesExtendedResponse, error)
- func (c *Tvdb) GetSeriesFilter(params *GetSeriesFilterParams) (*GetSeriesFilterResponse, error)
- func (c *Tvdb) GetSeriesNextAired(id float32) (*GetSeriesNextAiredResponse, error)
- func (c *Tvdb) GetSeriesSeasonEpisodesTranslated(id float32, seasonType string, lang string, ...) (*GetSeriesSeasonEpisodesTranslatedResponse, error)
- func (c *Tvdb) GetSeriesTranslation(id float32, language string) (*GetSeriesTranslationResponse, error)
- func (c *Tvdb) GetUserFavorites() (*GetUserFavoritesResponse, error)
- func (c *Tvdb) GetUserInfo() (*GetUserInfoResponse, error)
- func (c *Tvdb) GetUserInfoById(id float32) (*GetUserInfoByIdResponse, error)
- func (c *Tvdb) Login(apiKey string) (string, error)
- func (c *Tvdb) SetAuthToken(token string) (t string, err error)
- func (c *Tvdb) Updates(params *UpdatesParams) (*UpdatesResponse, error)
- type UpdatesParams
- type UpdatesParamsAction
- type UpdatesParamsType
- type UpdatesResponse
- type UserInfo
Constants ¶
const (
BearerAuthScopes = "bearerAuth.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func Float32Value ¶
func NewCreateUserFavoritesRequest ¶
func NewCreateUserFavoritesRequest(server string, body CreateUserFavoritesJSONRequestBody) (*http.Request, error)
NewCreateUserFavoritesRequest calls the generic CreateUserFavorites builder with application/json body
func NewCreateUserFavoritesRequestWithBody ¶
func NewCreateUserFavoritesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateUserFavoritesRequestWithBody generates requests for CreateUserFavorites with any type of body
func NewGetAllArtworkStatusesRequest ¶
NewGetAllArtworkStatusesRequest generates requests for GetAllArtworkStatuses
func NewGetAllArtworkTypesRequest ¶
NewGetAllArtworkTypesRequest generates requests for GetAllArtworkTypes
func NewGetAllAwardsRequest ¶
NewGetAllAwardsRequest generates requests for GetAllAwards
func NewGetAllCompaniesRequest ¶
func NewGetAllCompaniesRequest(server string, params *GetAllCompaniesParams) (*http.Request, error)
NewGetAllCompaniesRequest generates requests for GetAllCompanies
func NewGetAllContentRatingsRequest ¶
NewGetAllContentRatingsRequest generates requests for GetAllContentRatings
func NewGetAllCountriesRequest ¶
NewGetAllCountriesRequest generates requests for GetAllCountries
func NewGetAllEpisodesRequest ¶
func NewGetAllEpisodesRequest(server string, params *GetAllEpisodesParams) (*http.Request, error)
NewGetAllEpisodesRequest generates requests for GetAllEpisodes
func NewGetAllGendersRequest ¶
NewGetAllGendersRequest generates requests for GetAllGenders
func NewGetAllGenresRequest ¶
NewGetAllGenresRequest generates requests for GetAllGenres
func NewGetAllInspirationTypesRequest ¶
NewGetAllInspirationTypesRequest generates requests for GetAllInspirationTypes
func NewGetAllLanguagesRequest ¶
NewGetAllLanguagesRequest generates requests for GetAllLanguages
func NewGetAllListsRequest ¶
func NewGetAllListsRequest(server string, params *GetAllListsParams) (*http.Request, error)
NewGetAllListsRequest generates requests for GetAllLists
func NewGetAllMovieRequest ¶
func NewGetAllMovieRequest(server string, params *GetAllMovieParams) (*http.Request, error)
NewGetAllMovieRequest generates requests for GetAllMovie
func NewGetAllMovieStatusesRequest ¶
NewGetAllMovieStatusesRequest generates requests for GetAllMovieStatuses
func NewGetAllPeopleRequest ¶
func NewGetAllPeopleRequest(server string, params *GetAllPeopleParams) (*http.Request, error)
NewGetAllPeopleRequest generates requests for GetAllPeople
func NewGetAllPeopleTypesRequest ¶
NewGetAllPeopleTypesRequest generates requests for GetAllPeopleTypes
func NewGetAllSeasonsRequest ¶
func NewGetAllSeasonsRequest(server string, params *GetAllSeasonsParams) (*http.Request, error)
NewGetAllSeasonsRequest generates requests for GetAllSeasons
func NewGetAllSeriesRequest ¶
func NewGetAllSeriesRequest(server string, params *GetAllSeriesParams) (*http.Request, error)
NewGetAllSeriesRequest generates requests for GetAllSeries
func NewGetAllSeriesStatusesRequest ¶
NewGetAllSeriesStatusesRequest generates requests for GetAllSeriesStatuses
func NewGetAllSourceTypesRequest ¶
NewGetAllSourceTypesRequest generates requests for GetAllSourceTypes
func NewGetArtworkBaseRequest ¶
NewGetArtworkBaseRequest generates requests for GetArtworkBase
func NewGetArtworkExtendedRequest ¶
NewGetArtworkExtendedRequest generates requests for GetArtworkExtended
func NewGetAwardCategoryExtendedRequest ¶
NewGetAwardCategoryExtendedRequest generates requests for GetAwardCategoryExtended
func NewGetAwardCategoryRequest ¶
NewGetAwardCategoryRequest generates requests for GetAwardCategory
func NewGetAwardExtendedRequest ¶
NewGetAwardExtendedRequest generates requests for GetAwardExtended
func NewGetAwardRequest ¶
NewGetAwardRequest generates requests for GetAward
func NewGetCharacterBaseRequest ¶
NewGetCharacterBaseRequest generates requests for GetCharacterBase
func NewGetCompanyRequest ¶
NewGetCompanyRequest generates requests for GetCompany
func NewGetCompanyTypesRequest ¶
NewGetCompanyTypesRequest generates requests for GetCompanyTypes
func NewGetEntityTypesRequest ¶
NewGetEntityTypesRequest generates requests for GetEntityTypes
func NewGetEpisodeBaseRequest ¶
NewGetEpisodeBaseRequest generates requests for GetEpisodeBase
func NewGetEpisodeExtendedRequest ¶
func NewGetEpisodeExtendedRequest(server string, id float32, params *GetEpisodeExtendedParams) (*http.Request, error)
NewGetEpisodeExtendedRequest generates requests for GetEpisodeExtended
func NewGetEpisodeTranslationRequest ¶
func NewGetEpisodeTranslationRequest(server string, id float32, language string) (*http.Request, error)
NewGetEpisodeTranslationRequest generates requests for GetEpisodeTranslation
func NewGetGenreBaseRequest ¶
NewGetGenreBaseRequest generates requests for GetGenreBase
func NewGetListBySlugRequest ¶
NewGetListBySlugRequest generates requests for GetListBySlug
func NewGetListExtendedRequest ¶
NewGetListExtendedRequest generates requests for GetListExtended
func NewGetListRequest ¶
NewGetListRequest generates requests for GetList
func NewGetListTranslationRequest ¶
func NewGetListTranslationRequest(server string, id float32, language string) (*http.Request, error)
NewGetListTranslationRequest generates requests for GetListTranslation
func NewGetMovieBaseBySlugRequest ¶
NewGetMovieBaseBySlugRequest generates requests for GetMovieBaseBySlug
func NewGetMovieBaseRequest ¶
NewGetMovieBaseRequest generates requests for GetMovieBase
func NewGetMovieExtendedRequest ¶
func NewGetMovieExtendedRequest(server string, id float32, params *GetMovieExtendedParams) (*http.Request, error)
NewGetMovieExtendedRequest generates requests for GetMovieExtended
func NewGetMovieTranslationRequest ¶
func NewGetMovieTranslationRequest(server string, id float32, language string) (*http.Request, error)
NewGetMovieTranslationRequest generates requests for GetMovieTranslation
func NewGetMoviesFilterRequest ¶
func NewGetMoviesFilterRequest(server string, params *GetMoviesFilterParams) (*http.Request, error)
NewGetMoviesFilterRequest generates requests for GetMoviesFilter
func NewGetPeopleBaseRequest ¶
NewGetPeopleBaseRequest generates requests for GetPeopleBase
func NewGetPeopleExtendedRequest ¶
func NewGetPeopleExtendedRequest(server string, id float32, params *GetPeopleExtendedParams) (*http.Request, error)
NewGetPeopleExtendedRequest generates requests for GetPeopleExtended
func NewGetPeopleTranslationRequest ¶
func NewGetPeopleTranslationRequest(server string, id float32, language string) (*http.Request, error)
NewGetPeopleTranslationRequest generates requests for GetPeopleTranslation
func NewGetSearchResultsByRemoteIdRequest ¶
NewGetSearchResultsByRemoteIdRequest generates requests for GetSearchResultsByRemoteId
func NewGetSearchResultsRequest ¶
func NewGetSearchResultsRequest(server string, params *GetSearchResultsParams) (*http.Request, error)
NewGetSearchResultsRequest generates requests for GetSearchResults
func NewGetSeasonBaseRequest ¶
NewGetSeasonBaseRequest generates requests for GetSeasonBase
func NewGetSeasonExtendedRequest ¶
NewGetSeasonExtendedRequest generates requests for GetSeasonExtended
func NewGetSeasonTranslationRequest ¶
func NewGetSeasonTranslationRequest(server string, id float32, language string) (*http.Request, error)
NewGetSeasonTranslationRequest generates requests for GetSeasonTranslation
func NewGetSeasonTypesRequest ¶
NewGetSeasonTypesRequest generates requests for GetSeasonTypes
func NewGetSeriesArtworksRequest ¶
func NewGetSeriesArtworksRequest(server string, id float32, params *GetSeriesArtworksParams) (*http.Request, error)
NewGetSeriesArtworksRequest generates requests for GetSeriesArtworks
func NewGetSeriesBaseBySlugRequest ¶
NewGetSeriesBaseBySlugRequest generates requests for GetSeriesBaseBySlug
func NewGetSeriesBaseRequest ¶
NewGetSeriesBaseRequest generates requests for GetSeriesBase
func NewGetSeriesEpisodesRequest ¶
func NewGetSeriesEpisodesRequest(server string, id float32, seasonType string, params *GetSeriesEpisodesParams) (*http.Request, error)
NewGetSeriesEpisodesRequest generates requests for GetSeriesEpisodes
func NewGetSeriesExtendedRequest ¶
func NewGetSeriesExtendedRequest(server string, id float32, params *GetSeriesExtendedParams) (*http.Request, error)
NewGetSeriesExtendedRequest generates requests for GetSeriesExtended
func NewGetSeriesFilterRequest ¶
func NewGetSeriesFilterRequest(server string, params *GetSeriesFilterParams) (*http.Request, error)
NewGetSeriesFilterRequest generates requests for GetSeriesFilter
func NewGetSeriesNextAiredRequest ¶
NewGetSeriesNextAiredRequest generates requests for GetSeriesNextAired
func NewGetSeriesSeasonEpisodesTranslatedRequest ¶
func NewGetSeriesSeasonEpisodesTranslatedRequest(server string, id float32, seasonType string, lang string, params *GetSeriesSeasonEpisodesTranslatedParams) (*http.Request, error)
NewGetSeriesSeasonEpisodesTranslatedRequest generates requests for GetSeriesSeasonEpisodesTranslated
func NewGetSeriesTranslationRequest ¶
func NewGetSeriesTranslationRequest(server string, id float32, language string) (*http.Request, error)
NewGetSeriesTranslationRequest generates requests for GetSeriesTranslation
func NewGetUserFavoritesRequest ¶
NewGetUserFavoritesRequest generates requests for GetUserFavorites
func NewGetUserInfoByIdRequest ¶
NewGetUserInfoByIdRequest generates requests for GetUserInfoById
func NewGetUserInfoRequest ¶
NewGetUserInfoRequest generates requests for GetUserInfo
func NewPostLoginRequest ¶
func NewPostLoginRequest(server string, body PostLoginJSONRequestBody) (*http.Request, error)
NewPostLoginRequest calls the generic PostLogin builder with application/json body
func NewPostLoginRequestWithBody ¶
func NewPostLoginRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostLoginRequestWithBody generates requests for PostLogin with any type of body
func NewUpdatesRequest ¶
func NewUpdatesRequest(server string, params *UpdatesParams) (*http.Request, error)
NewUpdatesRequest generates requests for Updates
func StringValue ¶
StringValue returns the value of the string pointer passed in or "" if the pointer is nil.
Types ¶
type Alias ¶
type Alias struct {
// Language A 3-4 character string indicating the language of the alias, as defined in Language.
Language *string `json:"language,omitempty"`
// Name A string containing the alias itself.
Name *string `json:"name,omitempty"`
}
Alias An alias model, which can be associated with a series, season, movie, person, or list.
type ArtworkBaseRecord ¶
type ArtworkBaseRecord struct {
Height *int64 `json:"height,omitempty"`
Id *int `json:"id,omitempty"`
Image *string `json:"image,omitempty"`
IncludesText *bool `json:"includesText,omitempty"`
Language *string `json:"language,omitempty"`
Score *float32 `json:"score,omitempty"`
Thumbnail *string `json:"thumbnail,omitempty"`
// Type The artwork type corresponds to the ids from the /artwork/types endpoint.
Type *int64 `json:"type,omitempty"`
Width *int64 `json:"width,omitempty"`
}
ArtworkBaseRecord base artwork record
type ArtworkExtendedRecord ¶
type ArtworkExtendedRecord struct {
EpisodeId *int `json:"episodeId,omitempty"`
Height *int64 `json:"height,omitempty"`
ID *int64 `json:"id,omitempty"`
Image *string `json:"image,omitempty"`
IncludesText *bool `json:"includesText,omitempty"`
Language *string `json:"language,omitempty"`
MovieId *int `json:"movieId,omitempty"`
NetworkId *int `json:"networkId,omitempty"`
PeopleId *int `json:"peopleId,omitempty"`
Score *float32 `json:"score,omitempty"`
SeasonId *int `json:"seasonId,omitempty"`
SeriesId *int `json:"seriesId,omitempty"`
SeriesPeopleId *int `json:"seriesPeopleId,omitempty"`
// Status artwork status record
Status *ArtworkStatus `json:"status,omitempty"`
TagOptions *[]TagOption `json:"tagOptions,omitempty"`
Thumbnail *string `json:"thumbnail,omitempty"`
ThumbnailHeight *int64 `json:"thumbnailHeight,omitempty"`
ThumbnailWidth *int64 `json:"thumbnailWidth,omitempty"`
// Type The artwork type corresponds to the ids from the /artwork/types endpoint.
Type *int64 `json:"type,omitempty"`
UpdatedAt *int64 `json:"updatedAt,omitempty"`
Width *int64 `json:"width,omitempty"`
}
ArtworkExtendedRecord extended artwork record
type ArtworkStatus ¶
ArtworkStatus artwork status record
type ArtworkType ¶
type ArtworkType struct {
Height *int64 `json:"height,omitempty"`
ID *int64 `json:"id,omitempty"`
ImageFormat *string `json:"imageFormat,omitempty"`
Name *string `json:"name,omitempty"`
RecordType *string `json:"recordType,omitempty"`
Slug *string `json:"slug,omitempty"`
ThumbHeight *int64 `json:"thumbHeight,omitempty"`
ThumbWidth *int64 `json:"thumbWidth,omitempty"`
Width *int64 `json:"width,omitempty"`
}
ArtworkType artwork type record
type AwardBaseRecord ¶
AwardBaseRecord base award record
type AwardCategoryBaseRecord ¶
type AwardCategoryBaseRecord struct {
AllowCoNominees *bool `json:"allowCoNominees,omitempty"`
// Award base award record
Award *AwardBaseRecord `json:"award,omitempty"`
ForMovies *bool `json:"forMovies,omitempty"`
ForSeries *bool `json:"forSeries,omitempty"`
ID *int64 `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
}
AwardCategoryBaseRecord base award category record
type AwardCategoryExtendedRecord ¶
type AwardCategoryExtendedRecord struct {
AllowCoNominees *bool `json:"allowCoNominees,omitempty"`
// Award base award record
Award *AwardBaseRecord `json:"award,omitempty"`
ForMovies *bool `json:"forMovies,omitempty"`
ForSeries *bool `json:"forSeries,omitempty"`
ID *int64 `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Nominees *[]AwardNomineeBaseRecord `json:"nominees,omitempty"`
}
AwardCategoryExtendedRecord extended award category record
type AwardExtendedRecord ¶
type AwardExtendedRecord struct {
Categories *[]AwardCategoryBaseRecord `json:"categories,omitempty"`
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Score *int64 `json:"score,omitempty"`
}
AwardExtendedRecord extended award record
type AwardNomineeBaseRecord ¶
type AwardNomineeBaseRecord struct {
Category *string `json:"category,omitempty"`
// Character character record
Character *Character `json:"character,omitempty"`
Details *string `json:"details,omitempty"`
// Episode base episode record
Episode *EpisodeBaseRecord `json:"episode,omitempty"`
ID *int64 `json:"id,omitempty"`
IsWinner *bool `json:"isWinner,omitempty"`
// Movie base movie record
Movie *MovieBaseRecord `json:"movie,omitempty"`
Name *string `json:"name,omitempty"`
// Series The base record for a series. All series airs time like firstAired, lastAired, nextAired, etc. are in US EST for US series, and for all non-US series, the time of the show’s country capital or most populous city. For streaming services, is the official release time. See https://support.thetvdb.com/kb/faq.php?id=29.
Series *SeriesBaseRecord `json:"series,omitempty"`
Year *string `json:"year,omitempty"`
}
AwardNomineeBaseRecord base award nominee record
type Biography ¶
type Biography struct {
Biography *string `json:"biography,omitempty"`
Language *string `json:"language,omitempty"`
}
Biography biography record
type Character ¶
type Character struct {
Aliases *[]Alias `json:"aliases,omitempty"`
// Episode base record info
Episode *RecordInfo `json:"episode,omitempty"`
EpisodeId *int `json:"episodeId,omitempty"`
ID *int64 `json:"id,omitempty"`
Image *string `json:"image,omitempty"`
IsFeatured *bool `json:"isFeatured,omitempty"`
// Movie base record info
Movie *RecordInfo `json:"movie,omitempty"`
MovieId *int `json:"movieId,omitempty"`
Name *string `json:"name,omitempty"`
NameTranslations *[]string `json:"nameTranslations,omitempty"`
OverviewTranslations *[]string `json:"overviewTranslations,omitempty"`
PeopleId *int `json:"peopleId,omitempty"`
PeopleType *string `json:"peopleType,omitempty"`
PersonImgURL *string `json:"personImgURL,omitempty"`
PersonName *string `json:"personName,omitempty"`
// Series base record info
Series *RecordInfo `json:"series,omitempty"`
SeriesId *int `json:"seriesId,omitempty"`
Sort *int64 `json:"sort,omitempty"`
TagOptions *[]TagOption `json:"tagOptions,omitempty"`
Type *int64 `json:"type,omitempty"`
URL *string `json:"url,omitempty"`
}
Character character record
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func (*Client) CreateUserFavorites ¶
func (c *Client) CreateUserFavorites(ctx context.Context, body CreateUserFavoritesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateUserFavoritesWithBody ¶
func (*Client) GetAllArtworkStatuses ¶
func (*Client) GetAllArtworkTypes ¶
func (*Client) GetAllAwards ¶
func (*Client) GetAllCompanies ¶
func (c *Client) GetAllCompanies(ctx context.Context, params *GetAllCompaniesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAllContentRatings ¶
func (*Client) GetAllCountries ¶
func (*Client) GetAllEpisodes ¶
func (c *Client) GetAllEpisodes(ctx context.Context, params *GetAllEpisodesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAllGenders ¶
func (*Client) GetAllGenres ¶
func (*Client) GetAllInspirationTypes ¶
func (*Client) GetAllLanguages ¶
func (*Client) GetAllLists ¶
func (c *Client) GetAllLists(ctx context.Context, params *GetAllListsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAllMovie ¶
func (c *Client) GetAllMovie(ctx context.Context, params *GetAllMovieParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAllMovieStatuses ¶
func (*Client) GetAllPeople ¶
func (c *Client) GetAllPeople(ctx context.Context, params *GetAllPeopleParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAllPeopleTypes ¶
func (*Client) GetAllSeasons ¶
func (c *Client) GetAllSeasons(ctx context.Context, params *GetAllSeasonsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAllSeries ¶
func (c *Client) GetAllSeries(ctx context.Context, params *GetAllSeriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAllSeriesStatuses ¶
func (*Client) GetAllSourceTypes ¶
func (*Client) GetArtworkBase ¶
func (*Client) GetArtworkExtended ¶
func (*Client) GetAwardCategory ¶
func (*Client) GetAwardCategoryExtended ¶
func (*Client) GetAwardExtended ¶
func (*Client) GetCharacterBase ¶
func (*Client) GetCompany ¶
func (*Client) GetCompanyTypes ¶
func (*Client) GetEntityTypes ¶
func (*Client) GetEpisodeBase ¶
func (*Client) GetEpisodeExtended ¶
func (c *Client) GetEpisodeExtended(ctx context.Context, id float32, params *GetEpisodeExtendedParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetEpisodeTranslation ¶
func (*Client) GetGenreBase ¶
func (*Client) GetListBySlug ¶
func (*Client) GetListExtended ¶
func (*Client) GetListTranslation ¶
func (*Client) GetMovieBase ¶
func (*Client) GetMovieBaseBySlug ¶
func (*Client) GetMovieExtended ¶
func (c *Client) GetMovieExtended(ctx context.Context, id float32, params *GetMovieExtendedParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetMovieTranslation ¶
func (*Client) GetMoviesFilter ¶
func (c *Client) GetMoviesFilter(ctx context.Context, params *GetMoviesFilterParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetPeopleBase ¶
func (*Client) GetPeopleExtended ¶
func (c *Client) GetPeopleExtended(ctx context.Context, id float32, params *GetPeopleExtendedParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetPeopleTranslation ¶
func (*Client) GetSearchResults ¶
func (c *Client) GetSearchResults(ctx context.Context, params *GetSearchResultsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetSearchResultsByRemoteId ¶
func (*Client) GetSeasonBase ¶
func (*Client) GetSeasonExtended ¶
func (*Client) GetSeasonTranslation ¶
func (*Client) GetSeasonTypes ¶
func (*Client) GetSeriesArtworks ¶
func (c *Client) GetSeriesArtworks(ctx context.Context, id float32, params *GetSeriesArtworksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetSeriesBase ¶
func (*Client) GetSeriesBaseBySlug ¶
func (*Client) GetSeriesEpisodes ¶
func (c *Client) GetSeriesEpisodes(ctx context.Context, id float32, seasonType string, params *GetSeriesEpisodesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetSeriesExtended ¶
func (c *Client) GetSeriesExtended(ctx context.Context, id float32, params *GetSeriesExtendedParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetSeriesFilter ¶
func (c *Client) GetSeriesFilter(ctx context.Context, params *GetSeriesFilterParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetSeriesNextAired ¶
func (*Client) GetSeriesSeasonEpisodesTranslated ¶
func (*Client) GetSeriesTranslation ¶
func (*Client) GetUserFavorites ¶
func (*Client) GetUserInfo ¶
func (*Client) GetUserInfoById ¶
func (*Client) PostLogin ¶
func (c *Client) PostLogin(ctx context.Context, body PostLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostLoginWithBody ¶
func (*Client) Updates ¶
func (c *Client) Updates(ctx context.Context, params *UpdatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface {
// GetAllArtworkStatuses request
GetAllArtworkStatuses(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAllArtworkTypes request
GetAllArtworkTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetArtworkBase request
GetArtworkBase(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetArtworkExtended request
GetArtworkExtended(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAllAwards request
GetAllAwards(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAwardCategory request
GetAwardCategory(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAwardCategoryExtended request
GetAwardCategoryExtended(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAward request
GetAward(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAwardExtended request
GetAwardExtended(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCharacterBase request
GetCharacterBase(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAllCompanies request
GetAllCompanies(ctx context.Context, params *GetAllCompaniesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCompanyTypes request
GetCompanyTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCompany request
GetCompany(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAllContentRatings request
GetAllContentRatings(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAllCountries request
GetAllCountries(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEntityTypes request
GetEntityTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAllEpisodes request
GetAllEpisodes(ctx context.Context, params *GetAllEpisodesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEpisodeBase request
GetEpisodeBase(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEpisodeExtended request
GetEpisodeExtended(ctx context.Context, id float32, params *GetEpisodeExtendedParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEpisodeTranslation request
GetEpisodeTranslation(ctx context.Context, id float32, language string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAllGenders request
GetAllGenders(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAllGenres request
GetAllGenres(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGenreBase request
GetGenreBase(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAllInspirationTypes request
GetAllInspirationTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAllLanguages request
GetAllLanguages(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAllLists request
GetAllLists(ctx context.Context, params *GetAllListsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetListBySlug request
GetListBySlug(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetList request
GetList(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetListExtended request
GetListExtended(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetListTranslation request
GetListTranslation(ctx context.Context, id float32, language string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostLoginWithBody request with any body
PostLoginWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostLogin(ctx context.Context, body PostLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAllMovie request
GetAllMovie(ctx context.Context, params *GetAllMovieParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMoviesFilter request
GetMoviesFilter(ctx context.Context, params *GetMoviesFilterParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMovieBaseBySlug request
GetMovieBaseBySlug(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAllMovieStatuses request
GetAllMovieStatuses(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMovieBase request
GetMovieBase(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMovieExtended request
GetMovieExtended(ctx context.Context, id float32, params *GetMovieExtendedParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMovieTranslation request
GetMovieTranslation(ctx context.Context, id float32, language string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAllPeople request
GetAllPeople(ctx context.Context, params *GetAllPeopleParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAllPeopleTypes request
GetAllPeopleTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPeopleBase request
GetPeopleBase(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPeopleExtended request
GetPeopleExtended(ctx context.Context, id float32, params *GetPeopleExtendedParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPeopleTranslation request
GetPeopleTranslation(ctx context.Context, id float32, language string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSearchResults request
GetSearchResults(ctx context.Context, params *GetSearchResultsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSearchResultsByRemoteId request
GetSearchResultsByRemoteId(ctx context.Context, remoteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAllSeasons request
GetAllSeasons(ctx context.Context, params *GetAllSeasonsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSeasonTypes request
GetSeasonTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSeasonBase request
GetSeasonBase(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSeasonExtended request
GetSeasonExtended(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSeasonTranslation request
GetSeasonTranslation(ctx context.Context, id float32, language string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAllSeries request
GetAllSeries(ctx context.Context, params *GetAllSeriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSeriesFilter request
GetSeriesFilter(ctx context.Context, params *GetSeriesFilterParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSeriesBaseBySlug request
GetSeriesBaseBySlug(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAllSeriesStatuses request
GetAllSeriesStatuses(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSeriesBase request
GetSeriesBase(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSeriesArtworks request
GetSeriesArtworks(ctx context.Context, id float32, params *GetSeriesArtworksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSeriesEpisodes request
GetSeriesEpisodes(ctx context.Context, id float32, seasonType string, params *GetSeriesEpisodesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSeriesSeasonEpisodesTranslated request
GetSeriesSeasonEpisodesTranslated(ctx context.Context, id float32, seasonType string, lang string, params *GetSeriesSeasonEpisodesTranslatedParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSeriesExtended request
GetSeriesExtended(ctx context.Context, id float32, params *GetSeriesExtendedParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSeriesNextAired request
GetSeriesNextAired(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSeriesTranslation request
GetSeriesTranslation(ctx context.Context, id float32, language string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAllSourceTypes request
GetAllSourceTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// Updates request
Updates(ctx context.Context, params *UpdatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetUserInfo request
GetUserInfo(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetUserFavorites request
GetUserFavorites(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateUserFavoritesWithBody request with any body
CreateUserFavoritesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateUserFavorites(ctx context.Context, body CreateUserFavoritesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetUserInfoById request
GetUserInfoById(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func (*ClientWithResponses) CreateUserFavoritesWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateUserFavoritesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateUserFavoritesResponse, error)
CreateUserFavoritesWithBodyWithResponse request with arbitrary body returning *CreateUserFavoritesResponse
func (*ClientWithResponses) CreateUserFavoritesWithResponse ¶
func (c *ClientWithResponses) CreateUserFavoritesWithResponse(ctx context.Context, body CreateUserFavoritesJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateUserFavoritesResponse, error)
func (*ClientWithResponses) GetAllArtworkStatusesWithResponse ¶
func (c *ClientWithResponses) GetAllArtworkStatusesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllArtworkStatusesResponse, error)
GetAllArtworkStatusesWithResponse request returning *GetAllArtworkStatusesResponse
func (*ClientWithResponses) GetAllArtworkTypesWithResponse ¶
func (c *ClientWithResponses) GetAllArtworkTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllArtworkTypesResponse, error)
GetAllArtworkTypesWithResponse request returning *GetAllArtworkTypesResponse
func (*ClientWithResponses) GetAllAwardsWithResponse ¶
func (c *ClientWithResponses) GetAllAwardsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllAwardsResponse, error)
GetAllAwardsWithResponse request returning *GetAllAwardsResponse
func (*ClientWithResponses) GetAllCompaniesWithResponse ¶
func (c *ClientWithResponses) GetAllCompaniesWithResponse(ctx context.Context, params *GetAllCompaniesParams, reqEditors ...RequestEditorFn) (*GetAllCompaniesResponse, error)
GetAllCompaniesWithResponse request returning *GetAllCompaniesResponse
func (*ClientWithResponses) GetAllContentRatingsWithResponse ¶
func (c *ClientWithResponses) GetAllContentRatingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllContentRatingsResponse, error)
GetAllContentRatingsWithResponse request returning *GetAllContentRatingsResponse
func (*ClientWithResponses) GetAllCountriesWithResponse ¶
func (c *ClientWithResponses) GetAllCountriesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllCountriesResponse, error)
GetAllCountriesWithResponse request returning *GetAllCountriesResponse
func (*ClientWithResponses) GetAllEpisodesWithResponse ¶
func (c *ClientWithResponses) GetAllEpisodesWithResponse(ctx context.Context, params *GetAllEpisodesParams, reqEditors ...RequestEditorFn) (*GetAllEpisodesResponse, error)
GetAllEpisodesWithResponse request returning *GetAllEpisodesResponse
func (*ClientWithResponses) GetAllGendersWithResponse ¶
func (c *ClientWithResponses) GetAllGendersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllGendersResponse, error)
GetAllGendersWithResponse request returning *GetAllGendersResponse
func (*ClientWithResponses) GetAllGenresWithResponse ¶
func (c *ClientWithResponses) GetAllGenresWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllGenresResponse, error)
GetAllGenresWithResponse request returning *GetAllGenresResponse
func (*ClientWithResponses) GetAllInspirationTypesWithResponse ¶
func (c *ClientWithResponses) GetAllInspirationTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllInspirationTypesResponse, error)
GetAllInspirationTypesWithResponse request returning *GetAllInspirationTypesResponse
func (*ClientWithResponses) GetAllLanguagesWithResponse ¶
func (c *ClientWithResponses) GetAllLanguagesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllLanguagesResponse, error)
GetAllLanguagesWithResponse request returning *GetAllLanguagesResponse
func (*ClientWithResponses) GetAllListsWithResponse ¶
func (c *ClientWithResponses) GetAllListsWithResponse(ctx context.Context, params *GetAllListsParams, reqEditors ...RequestEditorFn) (*GetAllListsResponse, error)
GetAllListsWithResponse request returning *GetAllListsResponse
func (*ClientWithResponses) GetAllMovieStatusesWithResponse ¶
func (c *ClientWithResponses) GetAllMovieStatusesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllMovieStatusesResponse, error)
GetAllMovieStatusesWithResponse request returning *GetAllMovieStatusesResponse
func (*ClientWithResponses) GetAllMovieWithResponse ¶
func (c *ClientWithResponses) GetAllMovieWithResponse(ctx context.Context, params *GetAllMovieParams, reqEditors ...RequestEditorFn) (*GetAllMovieResponse, error)
GetAllMovieWithResponse request returning *GetAllMovieResponse
func (*ClientWithResponses) GetAllPeopleTypesWithResponse ¶
func (c *ClientWithResponses) GetAllPeopleTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllPeopleTypesResponse, error)
GetAllPeopleTypesWithResponse request returning *GetAllPeopleTypesResponse
func (*ClientWithResponses) GetAllPeopleWithResponse ¶
func (c *ClientWithResponses) GetAllPeopleWithResponse(ctx context.Context, params *GetAllPeopleParams, reqEditors ...RequestEditorFn) (*GetAllPeopleResponse, error)
GetAllPeopleWithResponse request returning *GetAllPeopleResponse
func (*ClientWithResponses) GetAllSeasonsWithResponse ¶
func (c *ClientWithResponses) GetAllSeasonsWithResponse(ctx context.Context, params *GetAllSeasonsParams, reqEditors ...RequestEditorFn) (*GetAllSeasonsResponse, error)
GetAllSeasonsWithResponse request returning *GetAllSeasonsResponse
func (*ClientWithResponses) GetAllSeriesStatusesWithResponse ¶
func (c *ClientWithResponses) GetAllSeriesStatusesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllSeriesStatusesResponse, error)
GetAllSeriesStatusesWithResponse request returning *GetAllSeriesStatusesResponse
func (*ClientWithResponses) GetAllSeriesWithResponse ¶
func (c *ClientWithResponses) GetAllSeriesWithResponse(ctx context.Context, params *GetAllSeriesParams, reqEditors ...RequestEditorFn) (*GetAllSeriesResponse, error)
GetAllSeriesWithResponse request returning *GetAllSeriesResponse
func (*ClientWithResponses) GetAllSourceTypesWithResponse ¶
func (c *ClientWithResponses) GetAllSourceTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllSourceTypesResponse, error)
GetAllSourceTypesWithResponse request returning *GetAllSourceTypesResponse
func (*ClientWithResponses) GetArtworkBaseWithResponse ¶
func (c *ClientWithResponses) GetArtworkBaseWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetArtworkBaseResponse, error)
GetArtworkBaseWithResponse request returning *GetArtworkBaseResponse
func (*ClientWithResponses) GetArtworkExtendedWithResponse ¶
func (c *ClientWithResponses) GetArtworkExtendedWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetArtworkExtendedResponse, error)
GetArtworkExtendedWithResponse request returning *GetArtworkExtendedResponse
func (*ClientWithResponses) GetAwardCategoryExtendedWithResponse ¶
func (c *ClientWithResponses) GetAwardCategoryExtendedWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetAwardCategoryExtendedResponse, error)
GetAwardCategoryExtendedWithResponse request returning *GetAwardCategoryExtendedResponse
func (*ClientWithResponses) GetAwardCategoryWithResponse ¶
func (c *ClientWithResponses) GetAwardCategoryWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetAwardCategoryResponse, error)
GetAwardCategoryWithResponse request returning *GetAwardCategoryResponse
func (*ClientWithResponses) GetAwardExtendedWithResponse ¶
func (c *ClientWithResponses) GetAwardExtendedWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetAwardExtendedResponse, error)
GetAwardExtendedWithResponse request returning *GetAwardExtendedResponse
func (*ClientWithResponses) GetAwardWithResponse ¶
func (c *ClientWithResponses) GetAwardWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetAwardResponse, error)
GetAwardWithResponse request returning *GetAwardResponse
func (*ClientWithResponses) GetCharacterBaseWithResponse ¶
func (c *ClientWithResponses) GetCharacterBaseWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetCharacterBaseResponse, error)
GetCharacterBaseWithResponse request returning *GetCharacterBaseResponse
func (*ClientWithResponses) GetCompanyTypesWithResponse ¶
func (c *ClientWithResponses) GetCompanyTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCompanyTypesResponse, error)
GetCompanyTypesWithResponse request returning *GetCompanyTypesResponse
func (*ClientWithResponses) GetCompanyWithResponse ¶
func (c *ClientWithResponses) GetCompanyWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetCompanyResponse, error)
GetCompanyWithResponse request returning *GetCompanyResponse
func (*ClientWithResponses) GetEntityTypesWithResponse ¶
func (c *ClientWithResponses) GetEntityTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetEntityTypesResponse, error)
GetEntityTypesWithResponse request returning *GetEntityTypesResponse
func (*ClientWithResponses) GetEpisodeBaseWithResponse ¶
func (c *ClientWithResponses) GetEpisodeBaseWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetEpisodeBaseResponse, error)
GetEpisodeBaseWithResponse request returning *GetEpisodeBaseResponse
func (*ClientWithResponses) GetEpisodeExtendedWithResponse ¶
func (c *ClientWithResponses) GetEpisodeExtendedWithResponse(ctx context.Context, id float32, params *GetEpisodeExtendedParams, reqEditors ...RequestEditorFn) (*GetEpisodeExtendedResponse, error)
GetEpisodeExtendedWithResponse request returning *GetEpisodeExtendedResponse
func (*ClientWithResponses) GetEpisodeTranslationWithResponse ¶
func (c *ClientWithResponses) GetEpisodeTranslationWithResponse(ctx context.Context, id float32, language string, reqEditors ...RequestEditorFn) (*GetEpisodeTranslationResponse, error)
GetEpisodeTranslationWithResponse request returning *GetEpisodeTranslationResponse
func (*ClientWithResponses) GetGenreBaseWithResponse ¶
func (c *ClientWithResponses) GetGenreBaseWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetGenreBaseResponse, error)
GetGenreBaseWithResponse request returning *GetGenreBaseResponse
func (*ClientWithResponses) GetListBySlugWithResponse ¶
func (c *ClientWithResponses) GetListBySlugWithResponse(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*GetListBySlugResponse, error)
GetListBySlugWithResponse request returning *GetListBySlugResponse
func (*ClientWithResponses) GetListExtendedWithResponse ¶
func (c *ClientWithResponses) GetListExtendedWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetListExtendedResponse, error)
GetListExtendedWithResponse request returning *GetListExtendedResponse
func (*ClientWithResponses) GetListTranslationWithResponse ¶
func (c *ClientWithResponses) GetListTranslationWithResponse(ctx context.Context, id float32, language string, reqEditors ...RequestEditorFn) (*GetListTranslationResponse, error)
GetListTranslationWithResponse request returning *GetListTranslationResponse
func (*ClientWithResponses) GetListWithResponse ¶
func (c *ClientWithResponses) GetListWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetListResponse, error)
GetListWithResponse request returning *GetListResponse
func (*ClientWithResponses) GetMovieBaseBySlugWithResponse ¶
func (c *ClientWithResponses) GetMovieBaseBySlugWithResponse(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*GetMovieBaseBySlugResponse, error)
GetMovieBaseBySlugWithResponse request returning *GetMovieBaseBySlugResponse
func (*ClientWithResponses) GetMovieBaseWithResponse ¶
func (c *ClientWithResponses) GetMovieBaseWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetMovieBaseResponse, error)
GetMovieBaseWithResponse request returning *GetMovieBaseResponse
func (*ClientWithResponses) GetMovieExtendedWithResponse ¶
func (c *ClientWithResponses) GetMovieExtendedWithResponse(ctx context.Context, id float32, params *GetMovieExtendedParams, reqEditors ...RequestEditorFn) (*GetMovieExtendedResponse, error)
GetMovieExtendedWithResponse request returning *GetMovieExtendedResponse
func (*ClientWithResponses) GetMovieTranslationWithResponse ¶
func (c *ClientWithResponses) GetMovieTranslationWithResponse(ctx context.Context, id float32, language string, reqEditors ...RequestEditorFn) (*GetMovieTranslationResponse, error)
GetMovieTranslationWithResponse request returning *GetMovieTranslationResponse
func (*ClientWithResponses) GetMoviesFilterWithResponse ¶
func (c *ClientWithResponses) GetMoviesFilterWithResponse(ctx context.Context, params *GetMoviesFilterParams, reqEditors ...RequestEditorFn) (*GetMoviesFilterResponse, error)
GetMoviesFilterWithResponse request returning *GetMoviesFilterResponse
func (*ClientWithResponses) GetPeopleBaseWithResponse ¶
func (c *ClientWithResponses) GetPeopleBaseWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetPeopleBaseResponse, error)
GetPeopleBaseWithResponse request returning *GetPeopleBaseResponse
func (*ClientWithResponses) GetPeopleExtendedWithResponse ¶
func (c *ClientWithResponses) GetPeopleExtendedWithResponse(ctx context.Context, id float32, params *GetPeopleExtendedParams, reqEditors ...RequestEditorFn) (*GetPeopleExtendedResponse, error)
GetPeopleExtendedWithResponse request returning *GetPeopleExtendedResponse
func (*ClientWithResponses) GetPeopleTranslationWithResponse ¶
func (c *ClientWithResponses) GetPeopleTranslationWithResponse(ctx context.Context, id float32, language string, reqEditors ...RequestEditorFn) (*GetPeopleTranslationResponse, error)
GetPeopleTranslationWithResponse request returning *GetPeopleTranslationResponse
func (*ClientWithResponses) GetSearchResultsByRemoteIdWithResponse ¶
func (c *ClientWithResponses) GetSearchResultsByRemoteIdWithResponse(ctx context.Context, remoteId string, reqEditors ...RequestEditorFn) (*GetSearchResultsByRemoteIdResponse, error)
GetSearchResultsByRemoteIdWithResponse request returning *GetSearchResultsByRemoteIdResponse
func (*ClientWithResponses) GetSearchResultsWithResponse ¶
func (c *ClientWithResponses) GetSearchResultsWithResponse(ctx context.Context, params *GetSearchResultsParams, reqEditors ...RequestEditorFn) (*GetSearchResultsResponse, error)
GetSearchResultsWithResponse request returning *GetSearchResultsResponse
func (*ClientWithResponses) GetSeasonBaseWithResponse ¶
func (c *ClientWithResponses) GetSeasonBaseWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetSeasonBaseResponse, error)
GetSeasonBaseWithResponse request returning *GetSeasonBaseResponse
func (*ClientWithResponses) GetSeasonExtendedWithResponse ¶
func (c *ClientWithResponses) GetSeasonExtendedWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetSeasonExtendedResponse, error)
GetSeasonExtendedWithResponse request returning *GetSeasonExtendedResponse
func (*ClientWithResponses) GetSeasonTranslationWithResponse ¶
func (c *ClientWithResponses) GetSeasonTranslationWithResponse(ctx context.Context, id float32, language string, reqEditors ...RequestEditorFn) (*GetSeasonTranslationResponse, error)
GetSeasonTranslationWithResponse request returning *GetSeasonTranslationResponse
func (*ClientWithResponses) GetSeasonTypesWithResponse ¶
func (c *ClientWithResponses) GetSeasonTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSeasonTypesResponse, error)
GetSeasonTypesWithResponse request returning *GetSeasonTypesResponse
func (*ClientWithResponses) GetSeriesArtworksWithResponse ¶
func (c *ClientWithResponses) GetSeriesArtworksWithResponse(ctx context.Context, id float32, params *GetSeriesArtworksParams, reqEditors ...RequestEditorFn) (*GetSeriesArtworksResponse, error)
GetSeriesArtworksWithResponse request returning *GetSeriesArtworksResponse
func (*ClientWithResponses) GetSeriesBaseBySlugWithResponse ¶
func (c *ClientWithResponses) GetSeriesBaseBySlugWithResponse(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*GetSeriesBaseBySlugResponse, error)
GetSeriesBaseBySlugWithResponse request returning *GetSeriesBaseBySlugResponse
func (*ClientWithResponses) GetSeriesBaseWithResponse ¶
func (c *ClientWithResponses) GetSeriesBaseWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetSeriesBaseResponse, error)
GetSeriesBaseWithResponse request returning *GetSeriesBaseResponse
func (*ClientWithResponses) GetSeriesEpisodesWithResponse ¶
func (c *ClientWithResponses) GetSeriesEpisodesWithResponse(ctx context.Context, id float32, seasonType string, params *GetSeriesEpisodesParams, reqEditors ...RequestEditorFn) (*GetSeriesEpisodesResponse, error)
GetSeriesEpisodesWithResponse request returning *GetSeriesEpisodesResponse
func (*ClientWithResponses) GetSeriesExtendedWithResponse ¶
func (c *ClientWithResponses) GetSeriesExtendedWithResponse(ctx context.Context, id float32, params *GetSeriesExtendedParams, reqEditors ...RequestEditorFn) (*GetSeriesExtendedResponse, error)
GetSeriesExtendedWithResponse request returning *GetSeriesExtendedResponse
func (*ClientWithResponses) GetSeriesFilterWithResponse ¶
func (c *ClientWithResponses) GetSeriesFilterWithResponse(ctx context.Context, params *GetSeriesFilterParams, reqEditors ...RequestEditorFn) (*GetSeriesFilterResponse, error)
GetSeriesFilterWithResponse request returning *GetSeriesFilterResponse
func (*ClientWithResponses) GetSeriesNextAiredWithResponse ¶
func (c *ClientWithResponses) GetSeriesNextAiredWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetSeriesNextAiredResponse, error)
GetSeriesNextAiredWithResponse request returning *GetSeriesNextAiredResponse
func (*ClientWithResponses) GetSeriesSeasonEpisodesTranslatedWithResponse ¶
func (c *ClientWithResponses) GetSeriesSeasonEpisodesTranslatedWithResponse(ctx context.Context, id float32, seasonType string, lang string, params *GetSeriesSeasonEpisodesTranslatedParams, reqEditors ...RequestEditorFn) (*GetSeriesSeasonEpisodesTranslatedResponse, error)
GetSeriesSeasonEpisodesTranslatedWithResponse request returning *GetSeriesSeasonEpisodesTranslatedResponse
func (*ClientWithResponses) GetSeriesTranslationWithResponse ¶
func (c *ClientWithResponses) GetSeriesTranslationWithResponse(ctx context.Context, id float32, language string, reqEditors ...RequestEditorFn) (*GetSeriesTranslationResponse, error)
GetSeriesTranslationWithResponse request returning *GetSeriesTranslationResponse
func (*ClientWithResponses) GetUserFavoritesWithResponse ¶
func (c *ClientWithResponses) GetUserFavoritesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUserFavoritesResponse, error)
GetUserFavoritesWithResponse request returning *GetUserFavoritesResponse
func (*ClientWithResponses) GetUserInfoByIdWithResponse ¶
func (c *ClientWithResponses) GetUserInfoByIdWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetUserInfoByIdResponse, error)
GetUserInfoByIdWithResponse request returning *GetUserInfoByIdResponse
func (*ClientWithResponses) GetUserInfoWithResponse ¶
func (c *ClientWithResponses) GetUserInfoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUserInfoResponse, error)
GetUserInfoWithResponse request returning *GetUserInfoResponse
func (*ClientWithResponses) PostLoginWithBodyWithResponse ¶
func (c *ClientWithResponses) PostLoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostLoginResponse, error)
PostLoginWithBodyWithResponse request with arbitrary body returning *PostLoginResponse
func (*ClientWithResponses) PostLoginWithResponse ¶
func (c *ClientWithResponses) PostLoginWithResponse(ctx context.Context, body PostLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*PostLoginResponse, error)
func (*ClientWithResponses) UpdatesWithResponse ¶
func (c *ClientWithResponses) UpdatesWithResponse(ctx context.Context, params *UpdatesParams, reqEditors ...RequestEditorFn) (*UpdatesResponse, error)
UpdatesWithResponse request returning *UpdatesResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// GetAllArtworkStatusesWithResponse request
GetAllArtworkStatusesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllArtworkStatusesResponse, error)
// GetAllArtworkTypesWithResponse request
GetAllArtworkTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllArtworkTypesResponse, error)
// GetArtworkBaseWithResponse request
GetArtworkBaseWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetArtworkBaseResponse, error)
// GetArtworkExtendedWithResponse request
GetArtworkExtendedWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetArtworkExtendedResponse, error)
// GetAllAwardsWithResponse request
GetAllAwardsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllAwardsResponse, error)
// GetAwardCategoryWithResponse request
GetAwardCategoryWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetAwardCategoryResponse, error)
// GetAwardCategoryExtendedWithResponse request
GetAwardCategoryExtendedWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetAwardCategoryExtendedResponse, error)
// GetAwardWithResponse request
GetAwardWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetAwardResponse, error)
// GetAwardExtendedWithResponse request
GetAwardExtendedWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetAwardExtendedResponse, error)
// GetCharacterBaseWithResponse request
GetCharacterBaseWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetCharacterBaseResponse, error)
// GetAllCompaniesWithResponse request
GetAllCompaniesWithResponse(ctx context.Context, params *GetAllCompaniesParams, reqEditors ...RequestEditorFn) (*GetAllCompaniesResponse, error)
// GetCompanyTypesWithResponse request
GetCompanyTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCompanyTypesResponse, error)
// GetCompanyWithResponse request
GetCompanyWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetCompanyResponse, error)
// GetAllContentRatingsWithResponse request
GetAllContentRatingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllContentRatingsResponse, error)
// GetAllCountriesWithResponse request
GetAllCountriesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllCountriesResponse, error)
// GetEntityTypesWithResponse request
GetEntityTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetEntityTypesResponse, error)
// GetAllEpisodesWithResponse request
GetAllEpisodesWithResponse(ctx context.Context, params *GetAllEpisodesParams, reqEditors ...RequestEditorFn) (*GetAllEpisodesResponse, error)
// GetEpisodeBaseWithResponse request
GetEpisodeBaseWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetEpisodeBaseResponse, error)
// GetEpisodeExtendedWithResponse request
GetEpisodeExtendedWithResponse(ctx context.Context, id float32, params *GetEpisodeExtendedParams, reqEditors ...RequestEditorFn) (*GetEpisodeExtendedResponse, error)
// GetEpisodeTranslationWithResponse request
GetEpisodeTranslationWithResponse(ctx context.Context, id float32, language string, reqEditors ...RequestEditorFn) (*GetEpisodeTranslationResponse, error)
// GetAllGendersWithResponse request
GetAllGendersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllGendersResponse, error)
// GetAllGenresWithResponse request
GetAllGenresWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllGenresResponse, error)
// GetGenreBaseWithResponse request
GetGenreBaseWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetGenreBaseResponse, error)
// GetAllInspirationTypesWithResponse request
GetAllInspirationTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllInspirationTypesResponse, error)
// GetAllLanguagesWithResponse request
GetAllLanguagesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllLanguagesResponse, error)
// GetAllListsWithResponse request
GetAllListsWithResponse(ctx context.Context, params *GetAllListsParams, reqEditors ...RequestEditorFn) (*GetAllListsResponse, error)
// GetListBySlugWithResponse request
GetListBySlugWithResponse(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*GetListBySlugResponse, error)
// GetListWithResponse request
GetListWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetListResponse, error)
// GetListExtendedWithResponse request
GetListExtendedWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetListExtendedResponse, error)
// GetListTranslationWithResponse request
GetListTranslationWithResponse(ctx context.Context, id float32, language string, reqEditors ...RequestEditorFn) (*GetListTranslationResponse, error)
// PostLoginWithBodyWithResponse request with any body
PostLoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostLoginResponse, error)
PostLoginWithResponse(ctx context.Context, body PostLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*PostLoginResponse, error)
// GetAllMovieWithResponse request
GetAllMovieWithResponse(ctx context.Context, params *GetAllMovieParams, reqEditors ...RequestEditorFn) (*GetAllMovieResponse, error)
// GetMoviesFilterWithResponse request
GetMoviesFilterWithResponse(ctx context.Context, params *GetMoviesFilterParams, reqEditors ...RequestEditorFn) (*GetMoviesFilterResponse, error)
// GetMovieBaseBySlugWithResponse request
GetMovieBaseBySlugWithResponse(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*GetMovieBaseBySlugResponse, error)
// GetAllMovieStatusesWithResponse request
GetAllMovieStatusesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllMovieStatusesResponse, error)
// GetMovieBaseWithResponse request
GetMovieBaseWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetMovieBaseResponse, error)
// GetMovieExtendedWithResponse request
GetMovieExtendedWithResponse(ctx context.Context, id float32, params *GetMovieExtendedParams, reqEditors ...RequestEditorFn) (*GetMovieExtendedResponse, error)
// GetMovieTranslationWithResponse request
GetMovieTranslationWithResponse(ctx context.Context, id float32, language string, reqEditors ...RequestEditorFn) (*GetMovieTranslationResponse, error)
// GetAllPeopleWithResponse request
GetAllPeopleWithResponse(ctx context.Context, params *GetAllPeopleParams, reqEditors ...RequestEditorFn) (*GetAllPeopleResponse, error)
// GetAllPeopleTypesWithResponse request
GetAllPeopleTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllPeopleTypesResponse, error)
// GetPeopleBaseWithResponse request
GetPeopleBaseWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetPeopleBaseResponse, error)
// GetPeopleExtendedWithResponse request
GetPeopleExtendedWithResponse(ctx context.Context, id float32, params *GetPeopleExtendedParams, reqEditors ...RequestEditorFn) (*GetPeopleExtendedResponse, error)
// GetPeopleTranslationWithResponse request
GetPeopleTranslationWithResponse(ctx context.Context, id float32, language string, reqEditors ...RequestEditorFn) (*GetPeopleTranslationResponse, error)
// GetSearchResultsWithResponse request
GetSearchResultsWithResponse(ctx context.Context, params *GetSearchResultsParams, reqEditors ...RequestEditorFn) (*GetSearchResultsResponse, error)
// GetSearchResultsByRemoteIdWithResponse request
GetSearchResultsByRemoteIdWithResponse(ctx context.Context, remoteId string, reqEditors ...RequestEditorFn) (*GetSearchResultsByRemoteIdResponse, error)
// GetAllSeasonsWithResponse request
GetAllSeasonsWithResponse(ctx context.Context, params *GetAllSeasonsParams, reqEditors ...RequestEditorFn) (*GetAllSeasonsResponse, error)
// GetSeasonTypesWithResponse request
GetSeasonTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSeasonTypesResponse, error)
// GetSeasonBaseWithResponse request
GetSeasonBaseWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetSeasonBaseResponse, error)
// GetSeasonExtendedWithResponse request
GetSeasonExtendedWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetSeasonExtendedResponse, error)
// GetSeasonTranslationWithResponse request
GetSeasonTranslationWithResponse(ctx context.Context, id float32, language string, reqEditors ...RequestEditorFn) (*GetSeasonTranslationResponse, error)
// GetAllSeriesWithResponse request
GetAllSeriesWithResponse(ctx context.Context, params *GetAllSeriesParams, reqEditors ...RequestEditorFn) (*GetAllSeriesResponse, error)
// GetSeriesFilterWithResponse request
GetSeriesFilterWithResponse(ctx context.Context, params *GetSeriesFilterParams, reqEditors ...RequestEditorFn) (*GetSeriesFilterResponse, error)
// GetSeriesBaseBySlugWithResponse request
GetSeriesBaseBySlugWithResponse(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*GetSeriesBaseBySlugResponse, error)
// GetAllSeriesStatusesWithResponse request
GetAllSeriesStatusesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllSeriesStatusesResponse, error)
// GetSeriesBaseWithResponse request
GetSeriesBaseWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetSeriesBaseResponse, error)
// GetSeriesArtworksWithResponse request
GetSeriesArtworksWithResponse(ctx context.Context, id float32, params *GetSeriesArtworksParams, reqEditors ...RequestEditorFn) (*GetSeriesArtworksResponse, error)
// GetSeriesEpisodesWithResponse request
GetSeriesEpisodesWithResponse(ctx context.Context, id float32, seasonType string, params *GetSeriesEpisodesParams, reqEditors ...RequestEditorFn) (*GetSeriesEpisodesResponse, error)
// GetSeriesSeasonEpisodesTranslatedWithResponse request
GetSeriesSeasonEpisodesTranslatedWithResponse(ctx context.Context, id float32, seasonType string, lang string, params *GetSeriesSeasonEpisodesTranslatedParams, reqEditors ...RequestEditorFn) (*GetSeriesSeasonEpisodesTranslatedResponse, error)
// GetSeriesExtendedWithResponse request
GetSeriesExtendedWithResponse(ctx context.Context, id float32, params *GetSeriesExtendedParams, reqEditors ...RequestEditorFn) (*GetSeriesExtendedResponse, error)
// GetSeriesNextAiredWithResponse request
GetSeriesNextAiredWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetSeriesNextAiredResponse, error)
// GetSeriesTranslationWithResponse request
GetSeriesTranslationWithResponse(ctx context.Context, id float32, language string, reqEditors ...RequestEditorFn) (*GetSeriesTranslationResponse, error)
// GetAllSourceTypesWithResponse request
GetAllSourceTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllSourceTypesResponse, error)
// UpdatesWithResponse request
UpdatesWithResponse(ctx context.Context, params *UpdatesParams, reqEditors ...RequestEditorFn) (*UpdatesResponse, error)
// GetUserInfoWithResponse request
GetUserInfoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUserInfoResponse, error)
// GetUserFavoritesWithResponse request
GetUserFavoritesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUserFavoritesResponse, error)
// CreateUserFavoritesWithBodyWithResponse request with any body
CreateUserFavoritesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateUserFavoritesResponse, error)
CreateUserFavoritesWithResponse(ctx context.Context, body CreateUserFavoritesJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateUserFavoritesResponse, error)
// GetUserInfoByIdWithResponse request
GetUserInfoByIdWithResponse(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*GetUserInfoByIdResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type Companies ¶
type Companies struct {
// Distributor A company record
Distributor *[]Company `json:"distributor,omitempty"`
// Network A company record
Network *[]Company `json:"network,omitempty"`
// Production A company record
Production *[]Company `json:"production,omitempty"`
// SpecialEffects A company record
SpecialEffects *[]Company `json:"special_effects,omitempty"`
// Studio A company record
Studio *[]Company `json:"studio,omitempty"`
}
Companies Companies by type record
type Company ¶
type Company struct {
ActiveDate *string `json:"activeDate,omitempty"`
Aliases *[]Alias `json:"aliases,omitempty"`
Country *string `json:"country,omitempty"`
ID *int64 `json:"id,omitempty"`
InactiveDate *string `json:"inactiveDate,omitempty"`
Name *string `json:"name,omitempty"`
NameTranslations *[]string `json:"nameTranslations,omitempty"`
OverviewTranslations *[]string `json:"overviewTranslations,omitempty"`
// ParentCompany A parent company record
ParentCompany *ParentCompany `json:"parentCompany,omitempty"`
PrimaryCompanyType *int64 `json:"primaryCompanyType,omitempty"`
Slug *string `json:"slug,omitempty"`
TagOptions *[]TagOption `json:"tagOptions,omitempty"`
}
Company A company record
type CompanyRelationShip ¶
type CompanyRelationShip struct {
Id *int `json:"id,omitempty"`
TypeName *string `json:"typeName,omitempty"`
}
CompanyRelationShip A company relationship
type CompanyType ¶
type CompanyType struct {
CompanyTypeId *int `json:"companyTypeId,omitempty"`
CompanyTypeName *string `json:"companyTypeName,omitempty"`
}
CompanyType A company type record
type ContentRating ¶
type ContentRating struct {
ContentType *string `json:"contentType,omitempty"`
Country *string `json:"country,omitempty"`
Description *string `json:"description,omitempty"`
FullName *string `json:"fullName,omitempty"`
ID *int64 `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Order *int `json:"order,omitempty"`
}
ContentRating content rating record
type Country ¶
type Country struct {
ID *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
ShortCode *string `json:"shortCode,omitempty"`
}
Country country record
type CreateUserFavoritesJSONRequestBody ¶
type CreateUserFavoritesJSONRequestBody = FavoriteRecord
CreateUserFavoritesJSONRequestBody defines body for CreateUserFavorites for application/json ContentType.
type CreateUserFavoritesResponse ¶
func ParseCreateUserFavoritesResponse ¶
func ParseCreateUserFavoritesResponse(rsp *http.Response) (*CreateUserFavoritesResponse, error)
ParseCreateUserFavoritesResponse parses an HTTP response from a CreateUserFavoritesWithResponse call
func (CreateUserFavoritesResponse) Status ¶
func (r CreateUserFavoritesResponse) Status() string
Status returns HTTPResponse.Status
func (CreateUserFavoritesResponse) StatusCode ¶
func (r CreateUserFavoritesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Entity ¶
type Entity struct {
MovieId *int `json:"movieId,omitempty"`
Order *int64 `json:"order,omitempty"`
SeriesId *int `json:"seriesId,omitempty"`
}
Entity Entity record
type EntityType ¶
type EntityType struct {
HasSpecials *bool `json:"hasSpecials,omitempty"`
Id *int `json:"id,omitempty"`
Order *string `json:"name,omitempty"`
}
EntityType Entity Type record
type EntityUpdate ¶
type EntityUpdate struct {
EnitityType *string `json:"entityType,omitempty"`
ExtraInfo *string `json:"extraInfo,omitempty"`
MergeToEntityType *string `json:"mergeToEntityType,omitempty"`
MergeToId *int64 `json:"mergeToId,omitempty"`
Method *string `json:"method,omitempty"`
MethodInt *int `json:"methodInt,omitempty"`
RecordID *int64 `json:"recordId,omitempty"`
RecordType *string `json:"recordType,omitempty"`
// SeriesId Only present for episodes records
SeriesID *int64 `json:"seriesId,omitempty"`
TimeStamp *int64 `json:"timeStamp,omitempty"`
UserId *int `json:"userId,omitempty"`
}
EntityUpdate entity update record
type EpisodeBaseRecord ¶
type EpisodeBaseRecord struct {
Aired *string `json:"aired,omitempty"`
AirsAfterSeason *int `json:"airsAfterSeason,omitempty"`
AirsBeforeEpisode *int `json:"airsBeforeEpisode,omitempty"`
AirsBeforeSeason *int `json:"airsBeforeSeason,omitempty"`
// FinaleType season, midseason, or series
FinaleType *string `json:"finaleType,omitempty"`
ID *int64 `json:"id,omitempty"`
Image *string `json:"image,omitempty"`
ImageType *int `json:"imageType,omitempty"`
IsMovie *int64 `json:"isMovie,omitempty"`
LastUpdated *string `json:"lastUpdated,omitempty"`
LinkedMovie *int `json:"linkedMovie,omitempty"`
Name *string `json:"name,omitempty"`
NameTranslations *[]string `json:"nameTranslations,omitempty"`
Number *int `json:"number,omitempty"`
Overview *string `json:"overview,omitempty"`
OverviewTranslations *[]string `json:"overviewTranslations,omitempty"`
Runtime *int `json:"runtime,omitempty"`
SeasonName *string `json:"seasonName,omitempty"`
SeasonNumber *int `json:"seasonNumber,omitempty"`
Seasons *[]SeasonBaseRecord `json:"seasons,omitempty"`
SeriesID *int64 `json:"seriesId,omitempty"`
Year *string `json:"year,omitempty"`
}
EpisodeBaseRecord base episode record
type EpisodeExtendedRecord ¶
type EpisodeExtendedRecord struct {
Aired *string `json:"aired,omitempty"`
AirsAfterSeason *int `json:"airsAfterSeason,omitempty"`
AirsBeforeEpisode *int `json:"airsBeforeEpisode,omitempty"`
AirsBeforeSeason *int `json:"airsBeforeSeason,omitempty"`
Awards *[]AwardBaseRecord `json:"awards,omitempty"`
Characters *[]Character `json:"characters,omitempty"`
Companies *[]Company `json:"companies,omitempty"`
ContentRatings *[]ContentRating `json:"contentRatings,omitempty"`
// FinaleType season, midseason, or series
FinaleType *string `json:"finaleType,omitempty"`
ID *int64 `json:"id,omitempty"`
Image *string `json:"image,omitempty"`
ImageType *int `json:"imageType,omitempty"`
IsMovie *int64 `json:"isMovie,omitempty"`
LastUpdated *string `json:"lastUpdated,omitempty"`
LinkedMovie *int `json:"linkedMovie,omitempty"`
Name *string `json:"name,omitempty"`
NameTranslations *[]string `json:"nameTranslations,omitempty"`
Networks *[]Company `json:"networks,omitempty"`
Nominees *[]AwardNomineeBaseRecord `json:"nominations,omitempty"`
Number *int `json:"number,omitempty"`
Overview *string `json:"overview,omitempty"`
OverviewTranslations *[]string `json:"overviewTranslations,omitempty"`
ProductionCode *string `json:"productionCode,omitempty"`
RemoteIDs *[]RemoteID `json:"remoteIds,omitempty"`
Runtime *int `json:"runtime,omitempty"`
SeasonNumber *int `json:"seasonNumber,omitempty"`
Seasons *[]SeasonBaseRecord `json:"seasons,omitempty"`
SeriesID *int64 `json:"seriesId,omitempty"`
Studios *[]Company `json:"studios,omitempty"`
TagOptions *[]TagOption `json:"tagOptions,omitempty"`
Trailers *[]Trailer `json:"trailers,omitempty"`
// Translations translation extended record
Translations *TranslationExtended `json:"translations,omitempty"`
Year *string `json:"year,omitempty"`
}
EpisodeExtendedRecord extended episode record
type FavoriteRecord ¶
type FavoriteRecord struct {
Artwork *int `json:"artwork,omitempty"`
Episodes *int `json:"episode,omitempty"`
List *int `json:"list,omitempty"`
Movies *int `json:"movie,omitempty"`
People *int `json:"people,omitempty"`
Series *int `json:"series,omitempty"`
}
FavoriteRecord Favorites record
type Favorites ¶
type Favorites struct {
Artwork *[]int `json:"artwork,omitempty"`
Episodes *[]int `json:"episodes,omitempty"`
List *[]int `json:"lists,omitempty"`
Movies *[]int `json:"movies,omitempty"`
People *[]int `json:"people,omitempty"`
Series *[]int `json:"series,omitempty"`
}
Favorites User favorites record
type GenreBaseRecord ¶
type GenreBaseRecord struct {
ID *int64 `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Slug *string `json:"slug,omitempty"`
}
GenreBaseRecord base genre record
type GetAllArtworkStatusesResponse ¶
type GetAllArtworkStatusesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]ArtworkStatus `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetAllArtworkStatusesResponse ¶
func ParseGetAllArtworkStatusesResponse(rsp *http.Response) (*GetAllArtworkStatusesResponse, error)
ParseGetAllArtworkStatusesResponse parses an HTTP response from a GetAllArtworkStatusesWithResponse call
func (GetAllArtworkStatusesResponse) Status ¶
func (r GetAllArtworkStatusesResponse) Status() string
Status returns HTTPResponse.Status
func (GetAllArtworkStatusesResponse) StatusCode ¶
func (r GetAllArtworkStatusesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAllArtworkTypesResponse ¶
type GetAllArtworkTypesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]ArtworkType `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetAllArtworkTypesResponse ¶
func ParseGetAllArtworkTypesResponse(rsp *http.Response) (*GetAllArtworkTypesResponse, error)
ParseGetAllArtworkTypesResponse parses an HTTP response from a GetAllArtworkTypesWithResponse call
func (GetAllArtworkTypesResponse) Status ¶
func (r GetAllArtworkTypesResponse) Status() string
Status returns HTTPResponse.Status
func (GetAllArtworkTypesResponse) StatusCode ¶
func (r GetAllArtworkTypesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAllAwardsResponse ¶
type GetAllAwardsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]AwardBaseRecord `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetAllAwardsResponse ¶
func ParseGetAllAwardsResponse(rsp *http.Response) (*GetAllAwardsResponse, error)
ParseGetAllAwardsResponse parses an HTTP response from a GetAllAwardsWithResponse call
func (GetAllAwardsResponse) Status ¶
func (r GetAllAwardsResponse) Status() string
Status returns HTTPResponse.Status
func (GetAllAwardsResponse) StatusCode ¶
func (r GetAllAwardsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAllCompaniesParams ¶
type GetAllCompaniesParams struct {
// Page name
Page *float32 `form:"page,omitempty" json:"page,omitempty"`
}
GetAllCompaniesParams defines parameters for GetAllCompanies.
type GetAllCompaniesResponse ¶
type GetAllCompaniesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]Company `json:"data,omitempty"`
// Links Links for next, previous and current record
Links *Links `json:"links,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetAllCompaniesResponse ¶
func ParseGetAllCompaniesResponse(rsp *http.Response) (*GetAllCompaniesResponse, error)
ParseGetAllCompaniesResponse parses an HTTP response from a GetAllCompaniesWithResponse call
func (GetAllCompaniesResponse) Status ¶
func (r GetAllCompaniesResponse) Status() string
Status returns HTTPResponse.Status
func (GetAllCompaniesResponse) StatusCode ¶
func (r GetAllCompaniesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAllContentRatingsResponse ¶
type GetAllContentRatingsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]ContentRating `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetAllContentRatingsResponse ¶
func ParseGetAllContentRatingsResponse(rsp *http.Response) (*GetAllContentRatingsResponse, error)
ParseGetAllContentRatingsResponse parses an HTTP response from a GetAllContentRatingsWithResponse call
func (GetAllContentRatingsResponse) Status ¶
func (r GetAllContentRatingsResponse) Status() string
Status returns HTTPResponse.Status
func (GetAllContentRatingsResponse) StatusCode ¶
func (r GetAllContentRatingsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAllCountriesResponse ¶
type GetAllCountriesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]Country `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetAllCountriesResponse ¶
func ParseGetAllCountriesResponse(rsp *http.Response) (*GetAllCountriesResponse, error)
ParseGetAllCountriesResponse parses an HTTP response from a GetAllCountriesWithResponse call
func (GetAllCountriesResponse) Status ¶
func (r GetAllCountriesResponse) Status() string
Status returns HTTPResponse.Status
func (GetAllCountriesResponse) StatusCode ¶
func (r GetAllCountriesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAllEpisodesParams ¶
type GetAllEpisodesParams struct {
// Page page number
Page *float32 `form:"page,omitempty" json:"page,omitempty"`
}
GetAllEpisodesParams defines parameters for GetAllEpisodes.
type GetAllEpisodesResponse ¶
type GetAllEpisodesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]EpisodeBaseRecord `json:"data,omitempty"`
// Links Links for next, previous and current record
Links *Links `json:"links,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetAllEpisodesResponse ¶
func ParseGetAllEpisodesResponse(rsp *http.Response) (*GetAllEpisodesResponse, error)
ParseGetAllEpisodesResponse parses an HTTP response from a GetAllEpisodesWithResponse call
func (GetAllEpisodesResponse) Status ¶
func (r GetAllEpisodesResponse) Status() string
Status returns HTTPResponse.Status
func (GetAllEpisodesResponse) StatusCode ¶
func (r GetAllEpisodesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAllGendersResponse ¶
type GetAllGendersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]Gender `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetAllGendersResponse ¶
func ParseGetAllGendersResponse(rsp *http.Response) (*GetAllGendersResponse, error)
ParseGetAllGendersResponse parses an HTTP response from a GetAllGendersWithResponse call
func (GetAllGendersResponse) Status ¶
func (r GetAllGendersResponse) Status() string
Status returns HTTPResponse.Status
func (GetAllGendersResponse) StatusCode ¶
func (r GetAllGendersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAllGenresResponse ¶
type GetAllGenresResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]GenreBaseRecord `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetAllGenresResponse ¶
func ParseGetAllGenresResponse(rsp *http.Response) (*GetAllGenresResponse, error)
ParseGetAllGenresResponse parses an HTTP response from a GetAllGenresWithResponse call
func (GetAllGenresResponse) Status ¶
func (r GetAllGenresResponse) Status() string
Status returns HTTPResponse.Status
func (GetAllGenresResponse) StatusCode ¶
func (r GetAllGenresResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAllInspirationTypesResponse ¶
type GetAllInspirationTypesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]InspirationType `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetAllInspirationTypesResponse ¶
func ParseGetAllInspirationTypesResponse(rsp *http.Response) (*GetAllInspirationTypesResponse, error)
ParseGetAllInspirationTypesResponse parses an HTTP response from a GetAllInspirationTypesWithResponse call
func (GetAllInspirationTypesResponse) Status ¶
func (r GetAllInspirationTypesResponse) Status() string
Status returns HTTPResponse.Status
func (GetAllInspirationTypesResponse) StatusCode ¶
func (r GetAllInspirationTypesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAllLanguagesResponse ¶
type GetAllLanguagesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]Language `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetAllLanguagesResponse ¶
func ParseGetAllLanguagesResponse(rsp *http.Response) (*GetAllLanguagesResponse, error)
ParseGetAllLanguagesResponse parses an HTTP response from a GetAllLanguagesWithResponse call
func (GetAllLanguagesResponse) Status ¶
func (r GetAllLanguagesResponse) Status() string
Status returns HTTPResponse.Status
func (GetAllLanguagesResponse) StatusCode ¶
func (r GetAllLanguagesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAllListsParams ¶
type GetAllListsParams struct {
// Page page number
Page *float32 `form:"page,omitempty" json:"page,omitempty"`
}
GetAllListsParams defines parameters for GetAllLists.
type GetAllListsResponse ¶
type GetAllListsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]ListBaseRecord `json:"data,omitempty"`
// Links Links for next, previous and current record
Links *Links `json:"links,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetAllListsResponse ¶
func ParseGetAllListsResponse(rsp *http.Response) (*GetAllListsResponse, error)
ParseGetAllListsResponse parses an HTTP response from a GetAllListsWithResponse call
func (GetAllListsResponse) Status ¶
func (r GetAllListsResponse) Status() string
Status returns HTTPResponse.Status
func (GetAllListsResponse) StatusCode ¶
func (r GetAllListsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAllMovieParams ¶
type GetAllMovieParams struct {
// Page page number
Page *float32 `form:"page,omitempty" json:"page,omitempty"`
}
GetAllMovieParams defines parameters for GetAllMovie.
type GetAllMovieResponse ¶
type GetAllMovieResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]MovieBaseRecord `json:"data,omitempty"`
// Links Links for next, previous and current record
Links *Links `json:"links,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetAllMovieResponse ¶
func ParseGetAllMovieResponse(rsp *http.Response) (*GetAllMovieResponse, error)
ParseGetAllMovieResponse parses an HTTP response from a GetAllMovieWithResponse call
func (GetAllMovieResponse) Status ¶
func (r GetAllMovieResponse) Status() string
Status returns HTTPResponse.Status
func (GetAllMovieResponse) StatusCode ¶
func (r GetAllMovieResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAllMovieStatusesResponse ¶
type GetAllMovieStatusesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]Status `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetAllMovieStatusesResponse ¶
func ParseGetAllMovieStatusesResponse(rsp *http.Response) (*GetAllMovieStatusesResponse, error)
ParseGetAllMovieStatusesResponse parses an HTTP response from a GetAllMovieStatusesWithResponse call
func (GetAllMovieStatusesResponse) Status ¶
func (r GetAllMovieStatusesResponse) Status() string
Status returns HTTPResponse.Status
func (GetAllMovieStatusesResponse) StatusCode ¶
func (r GetAllMovieStatusesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAllPeopleParams ¶
type GetAllPeopleParams struct {
// Page page number
Page *float32 `form:"page,omitempty" json:"page,omitempty"`
}
GetAllPeopleParams defines parameters for GetAllPeople.
type GetAllPeopleResponse ¶
type GetAllPeopleResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]PeopleBaseRecord `json:"data,omitempty"`
// Links Links for next, previous and current record
Links *Links `json:"links,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetAllPeopleResponse ¶
func ParseGetAllPeopleResponse(rsp *http.Response) (*GetAllPeopleResponse, error)
ParseGetAllPeopleResponse parses an HTTP response from a GetAllPeopleWithResponse call
func (GetAllPeopleResponse) Status ¶
func (r GetAllPeopleResponse) Status() string
Status returns HTTPResponse.Status
func (GetAllPeopleResponse) StatusCode ¶
func (r GetAllPeopleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAllPeopleTypesResponse ¶
type GetAllPeopleTypesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]PeopleType `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetAllPeopleTypesResponse ¶
func ParseGetAllPeopleTypesResponse(rsp *http.Response) (*GetAllPeopleTypesResponse, error)
ParseGetAllPeopleTypesResponse parses an HTTP response from a GetAllPeopleTypesWithResponse call
func (GetAllPeopleTypesResponse) Status ¶
func (r GetAllPeopleTypesResponse) Status() string
Status returns HTTPResponse.Status
func (GetAllPeopleTypesResponse) StatusCode ¶
func (r GetAllPeopleTypesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAllSeasonsParams ¶
type GetAllSeasonsParams struct {
// Page page number
Page *float32 `form:"page,omitempty" json:"page,omitempty"`
}
GetAllSeasonsParams defines parameters for GetAllSeasons.
type GetAllSeasonsResponse ¶
type GetAllSeasonsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]SeasonBaseRecord `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetAllSeasonsResponse ¶
func ParseGetAllSeasonsResponse(rsp *http.Response) (*GetAllSeasonsResponse, error)
ParseGetAllSeasonsResponse parses an HTTP response from a GetAllSeasonsWithResponse call
func (GetAllSeasonsResponse) Status ¶
func (r GetAllSeasonsResponse) Status() string
Status returns HTTPResponse.Status
func (GetAllSeasonsResponse) StatusCode ¶
func (r GetAllSeasonsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAllSeriesParams ¶
type GetAllSeriesParams struct {
// Page page number
Page *float32 `form:"page,omitempty" json:"page,omitempty"`
}
GetAllSeriesParams defines parameters for GetAllSeries.
type GetAllSeriesResponse ¶
type GetAllSeriesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]SeriesBaseRecord `json:"data,omitempty"`
// Links Links for next, previous and current record
Links *Links `json:"links,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetAllSeriesResponse ¶
func ParseGetAllSeriesResponse(rsp *http.Response) (*GetAllSeriesResponse, error)
ParseGetAllSeriesResponse parses an HTTP response from a GetAllSeriesWithResponse call
func (GetAllSeriesResponse) Status ¶
func (r GetAllSeriesResponse) Status() string
Status returns HTTPResponse.Status
func (GetAllSeriesResponse) StatusCode ¶
func (r GetAllSeriesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAllSeriesStatusesResponse ¶
type GetAllSeriesStatusesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]Status `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetAllSeriesStatusesResponse ¶
func ParseGetAllSeriesStatusesResponse(rsp *http.Response) (*GetAllSeriesStatusesResponse, error)
ParseGetAllSeriesStatusesResponse parses an HTTP response from a GetAllSeriesStatusesWithResponse call
func (GetAllSeriesStatusesResponse) Status ¶
func (r GetAllSeriesStatusesResponse) Status() string
Status returns HTTPResponse.Status
func (GetAllSeriesStatusesResponse) StatusCode ¶
func (r GetAllSeriesStatusesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAllSourceTypesResponse ¶
type GetAllSourceTypesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]SourceType `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetAllSourceTypesResponse ¶
func ParseGetAllSourceTypesResponse(rsp *http.Response) (*GetAllSourceTypesResponse, error)
ParseGetAllSourceTypesResponse parses an HTTP response from a GetAllSourceTypesWithResponse call
func (GetAllSourceTypesResponse) Status ¶
func (r GetAllSourceTypesResponse) Status() string
Status returns HTTPResponse.Status
func (GetAllSourceTypesResponse) StatusCode ¶
func (r GetAllSourceTypesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetArtworkBaseResponse ¶
type GetArtworkBaseResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Data base artwork record
Data *ArtworkBaseRecord `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetArtworkBaseResponse ¶
func ParseGetArtworkBaseResponse(rsp *http.Response) (*GetArtworkBaseResponse, error)
ParseGetArtworkBaseResponse parses an HTTP response from a GetArtworkBaseWithResponse call
func (GetArtworkBaseResponse) Status ¶
func (r GetArtworkBaseResponse) Status() string
Status returns HTTPResponse.Status
func (GetArtworkBaseResponse) StatusCode ¶
func (r GetArtworkBaseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetArtworkExtendedResponse ¶
type GetArtworkExtendedResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Data extended artwork record
Data *ArtworkExtendedRecord `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetArtworkExtendedResponse ¶
func ParseGetArtworkExtendedResponse(rsp *http.Response) (*GetArtworkExtendedResponse, error)
ParseGetArtworkExtendedResponse parses an HTTP response from a GetArtworkExtendedWithResponse call
func (GetArtworkExtendedResponse) Status ¶
func (r GetArtworkExtendedResponse) Status() string
Status returns HTTPResponse.Status
func (GetArtworkExtendedResponse) StatusCode ¶
func (r GetArtworkExtendedResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAwardCategoryExtendedResponse ¶
type GetAwardCategoryExtendedResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Data extended award category record
Data *AwardCategoryExtendedRecord `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetAwardCategoryExtendedResponse ¶
func ParseGetAwardCategoryExtendedResponse(rsp *http.Response) (*GetAwardCategoryExtendedResponse, error)
ParseGetAwardCategoryExtendedResponse parses an HTTP response from a GetAwardCategoryExtendedWithResponse call
func (GetAwardCategoryExtendedResponse) Status ¶
func (r GetAwardCategoryExtendedResponse) Status() string
Status returns HTTPResponse.Status
func (GetAwardCategoryExtendedResponse) StatusCode ¶
func (r GetAwardCategoryExtendedResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAwardCategoryResponse ¶
type GetAwardCategoryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Data base award category record
Data *AwardCategoryBaseRecord `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetAwardCategoryResponse ¶
func ParseGetAwardCategoryResponse(rsp *http.Response) (*GetAwardCategoryResponse, error)
ParseGetAwardCategoryResponse parses an HTTP response from a GetAwardCategoryWithResponse call
func (GetAwardCategoryResponse) Status ¶
func (r GetAwardCategoryResponse) Status() string
Status returns HTTPResponse.Status
func (GetAwardCategoryResponse) StatusCode ¶
func (r GetAwardCategoryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAwardExtendedResponse ¶
type GetAwardExtendedResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Data extended award record
Data *AwardExtendedRecord `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetAwardExtendedResponse ¶
func ParseGetAwardExtendedResponse(rsp *http.Response) (*GetAwardExtendedResponse, error)
ParseGetAwardExtendedResponse parses an HTTP response from a GetAwardExtendedWithResponse call
func (GetAwardExtendedResponse) Status ¶
func (r GetAwardExtendedResponse) Status() string
Status returns HTTPResponse.Status
func (GetAwardExtendedResponse) StatusCode ¶
func (r GetAwardExtendedResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAwardResponse ¶
type GetAwardResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Data base award record
Data *AwardBaseRecord `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetAwardResponse ¶
func ParseGetAwardResponse(rsp *http.Response) (*GetAwardResponse, error)
ParseGetAwardResponse parses an HTTP response from a GetAwardWithResponse call
func (GetAwardResponse) Status ¶
func (r GetAwardResponse) Status() string
Status returns HTTPResponse.Status
func (GetAwardResponse) StatusCode ¶
func (r GetAwardResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCharacterBaseResponse ¶
type GetCharacterBaseResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Data character record
Data *Character `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetCharacterBaseResponse ¶
func ParseGetCharacterBaseResponse(rsp *http.Response) (*GetCharacterBaseResponse, error)
ParseGetCharacterBaseResponse parses an HTTP response from a GetCharacterBaseWithResponse call
func (GetCharacterBaseResponse) Status ¶
func (r GetCharacterBaseResponse) Status() string
Status returns HTTPResponse.Status
func (GetCharacterBaseResponse) StatusCode ¶
func (r GetCharacterBaseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCompanyResponse ¶
type GetCompanyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Data A company record
Data *Company `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetCompanyResponse ¶
func ParseGetCompanyResponse(rsp *http.Response) (*GetCompanyResponse, error)
ParseGetCompanyResponse parses an HTTP response from a GetCompanyWithResponse call
func (GetCompanyResponse) Status ¶
func (r GetCompanyResponse) Status() string
Status returns HTTPResponse.Status
func (GetCompanyResponse) StatusCode ¶
func (r GetCompanyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCompanyTypesResponse ¶
type GetCompanyTypesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]CompanyType `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetCompanyTypesResponse ¶
func ParseGetCompanyTypesResponse(rsp *http.Response) (*GetCompanyTypesResponse, error)
ParseGetCompanyTypesResponse parses an HTTP response from a GetCompanyTypesWithResponse call
func (GetCompanyTypesResponse) Status ¶
func (r GetCompanyTypesResponse) Status() string
Status returns HTTPResponse.Status
func (GetCompanyTypesResponse) StatusCode ¶
func (r GetCompanyTypesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEntityTypesResponse ¶
type GetEntityTypesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]EntityType `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetEntityTypesResponse ¶
func ParseGetEntityTypesResponse(rsp *http.Response) (*GetEntityTypesResponse, error)
ParseGetEntityTypesResponse parses an HTTP response from a GetEntityTypesWithResponse call
func (GetEntityTypesResponse) Status ¶
func (r GetEntityTypesResponse) Status() string
Status returns HTTPResponse.Status
func (GetEntityTypesResponse) StatusCode ¶
func (r GetEntityTypesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEpisodeBaseResponse ¶
type GetEpisodeBaseResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Data base episode record
Data *EpisodeBaseRecord `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetEpisodeBaseResponse ¶
func ParseGetEpisodeBaseResponse(rsp *http.Response) (*GetEpisodeBaseResponse, error)
ParseGetEpisodeBaseResponse parses an HTTP response from a GetEpisodeBaseWithResponse call
func (GetEpisodeBaseResponse) Status ¶
func (r GetEpisodeBaseResponse) Status() string
Status returns HTTPResponse.Status
func (GetEpisodeBaseResponse) StatusCode ¶
func (r GetEpisodeBaseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEpisodeExtendedParams ¶
type GetEpisodeExtendedParams struct {
// Meta meta
Meta *GetEpisodeExtendedParamsMeta `form:"meta,omitempty" json:"meta,omitempty"`
}
GetEpisodeExtendedParams defines parameters for GetEpisodeExtended.
type GetEpisodeExtendedParamsMeta ¶
type GetEpisodeExtendedParamsMeta string
GetEpisodeExtendedParamsMeta defines parameters for GetEpisodeExtended.
const (
GetEpisodeExtendedParamsMetaTranslations GetEpisodeExtendedParamsMeta = "translations"
)
Defines values for GetEpisodeExtendedParamsMeta.
type GetEpisodeExtendedResponse ¶
type GetEpisodeExtendedResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Data extended episode record
Data *EpisodeExtendedRecord `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetEpisodeExtendedResponse ¶
func ParseGetEpisodeExtendedResponse(rsp *http.Response) (*GetEpisodeExtendedResponse, error)
ParseGetEpisodeExtendedResponse parses an HTTP response from a GetEpisodeExtendedWithResponse call
func (GetEpisodeExtendedResponse) Status ¶
func (r GetEpisodeExtendedResponse) Status() string
Status returns HTTPResponse.Status
func (GetEpisodeExtendedResponse) StatusCode ¶
func (r GetEpisodeExtendedResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEpisodeTranslationResponse ¶
type GetEpisodeTranslationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Data translation record
Data *Translation `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetEpisodeTranslationResponse ¶
func ParseGetEpisodeTranslationResponse(rsp *http.Response) (*GetEpisodeTranslationResponse, error)
ParseGetEpisodeTranslationResponse parses an HTTP response from a GetEpisodeTranslationWithResponse call
func (GetEpisodeTranslationResponse) Status ¶
func (r GetEpisodeTranslationResponse) Status() string
Status returns HTTPResponse.Status
func (GetEpisodeTranslationResponse) StatusCode ¶
func (r GetEpisodeTranslationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGenreBaseResponse ¶
type GetGenreBaseResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Data base genre record
Data *GenreBaseRecord `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetGenreBaseResponse ¶
func ParseGetGenreBaseResponse(rsp *http.Response) (*GetGenreBaseResponse, error)
ParseGetGenreBaseResponse parses an HTTP response from a GetGenreBaseWithResponse call
func (GetGenreBaseResponse) Status ¶
func (r GetGenreBaseResponse) Status() string
Status returns HTTPResponse.Status
func (GetGenreBaseResponse) StatusCode ¶
func (r GetGenreBaseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetListBySlugResponse ¶
type GetListBySlugResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Data base list record
Data *ListBaseRecord `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetListBySlugResponse ¶
func ParseGetListBySlugResponse(rsp *http.Response) (*GetListBySlugResponse, error)
ParseGetListBySlugResponse parses an HTTP response from a GetListBySlugWithResponse call
func (GetListBySlugResponse) Status ¶
func (r GetListBySlugResponse) Status() string
Status returns HTTPResponse.Status
func (GetListBySlugResponse) StatusCode ¶
func (r GetListBySlugResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetListExtendedResponse ¶
type GetListExtendedResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Data extended list record
Data *ListExtendedRecord `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetListExtendedResponse ¶
func ParseGetListExtendedResponse(rsp *http.Response) (*GetListExtendedResponse, error)
ParseGetListExtendedResponse parses an HTTP response from a GetListExtendedWithResponse call
func (GetListExtendedResponse) Status ¶
func (r GetListExtendedResponse) Status() string
Status returns HTTPResponse.Status
func (GetListExtendedResponse) StatusCode ¶
func (r GetListExtendedResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetListResponse ¶
type GetListResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Data base list record
Data *ListBaseRecord `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetListResponse ¶
func ParseGetListResponse(rsp *http.Response) (*GetListResponse, error)
ParseGetListResponse parses an HTTP response from a GetListWithResponse call
func (GetListResponse) Status ¶
func (r GetListResponse) Status() string
Status returns HTTPResponse.Status
func (GetListResponse) StatusCode ¶
func (r GetListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetListTranslationResponse ¶
type GetListTranslationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]Translation `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetListTranslationResponse ¶
func ParseGetListTranslationResponse(rsp *http.Response) (*GetListTranslationResponse, error)
ParseGetListTranslationResponse parses an HTTP response from a GetListTranslationWithResponse call
func (GetListTranslationResponse) Status ¶
func (r GetListTranslationResponse) Status() string
Status returns HTTPResponse.Status
func (GetListTranslationResponse) StatusCode ¶
func (r GetListTranslationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMovieBaseBySlugResponse ¶
type GetMovieBaseBySlugResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Data base movie record
Data *MovieBaseRecord `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetMovieBaseBySlugResponse ¶
func ParseGetMovieBaseBySlugResponse(rsp *http.Response) (*GetMovieBaseBySlugResponse, error)
ParseGetMovieBaseBySlugResponse parses an HTTP response from a GetMovieBaseBySlugWithResponse call
func (GetMovieBaseBySlugResponse) Status ¶
func (r GetMovieBaseBySlugResponse) Status() string
Status returns HTTPResponse.Status
func (GetMovieBaseBySlugResponse) StatusCode ¶
func (r GetMovieBaseBySlugResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMovieBaseResponse ¶
type GetMovieBaseResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Data base movie record
Data *MovieBaseRecord `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetMovieBaseResponse ¶
func ParseGetMovieBaseResponse(rsp *http.Response) (*GetMovieBaseResponse, error)
ParseGetMovieBaseResponse parses an HTTP response from a GetMovieBaseWithResponse call
func (GetMovieBaseResponse) Status ¶
func (r GetMovieBaseResponse) Status() string
Status returns HTTPResponse.Status
func (GetMovieBaseResponse) StatusCode ¶
func (r GetMovieBaseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMovieExtendedParams ¶
type GetMovieExtendedParams struct {
// Meta meta
Meta *GetMovieExtendedParamsMeta `form:"meta,omitempty" json:"meta,omitempty"`
// Short reduce the payload and returns the short version of this record without characters, artworks and trailers.
Short *GetMovieExtendedParamsShort `form:"short,omitempty" json:"short,omitempty"`
}
GetMovieExtendedParams defines parameters for GetMovieExtended.
type GetMovieExtendedParamsMeta ¶
type GetMovieExtendedParamsMeta string
GetMovieExtendedParamsMeta defines parameters for GetMovieExtended.
const (
GetMovieExtendedParamsMetaTranslations GetMovieExtendedParamsMeta = "translations"
)
Defines values for GetMovieExtendedParamsMeta.
type GetMovieExtendedParamsShort ¶
type GetMovieExtendedParamsShort bool
GetMovieExtendedParamsShort defines parameters for GetMovieExtended.
const ( GetMovieExtendedParamsShortFalse GetMovieExtendedParamsShort = false GetMovieExtendedParamsShortTrue GetMovieExtendedParamsShort = true )
Defines values for GetMovieExtendedParamsShort.
type GetMovieExtendedResponse ¶
type GetMovieExtendedResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Data extended movie record
Data *MovieExtendedRecord `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetMovieExtendedResponse ¶
func ParseGetMovieExtendedResponse(rsp *http.Response) (*GetMovieExtendedResponse, error)
ParseGetMovieExtendedResponse parses an HTTP response from a GetMovieExtendedWithResponse call
func (GetMovieExtendedResponse) Status ¶
func (r GetMovieExtendedResponse) Status() string
Status returns HTTPResponse.Status
func (GetMovieExtendedResponse) StatusCode ¶
func (r GetMovieExtendedResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMovieTranslationResponse ¶
type GetMovieTranslationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Data translation record
Data *Translation `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetMovieTranslationResponse ¶
func ParseGetMovieTranslationResponse(rsp *http.Response) (*GetMovieTranslationResponse, error)
ParseGetMovieTranslationResponse parses an HTTP response from a GetMovieTranslationWithResponse call
func (GetMovieTranslationResponse) Status ¶
func (r GetMovieTranslationResponse) Status() string
Status returns HTTPResponse.Status
func (GetMovieTranslationResponse) StatusCode ¶
func (r GetMovieTranslationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMoviesFilterParams ¶
type GetMoviesFilterParams struct {
// Company production company
Company *float32 `form:"company,omitempty" json:"company,omitempty"`
// ContentRating content rating id base on a country
ContentRating *float32 `form:"contentRating,omitempty" json:"contentRating,omitempty"`
// Country country of origin
Country string `form:"country" json:"country"`
// Genre genre
Genre *GetMoviesFilterParamsGenre `form:"genre,omitempty" json:"genre,omitempty"`
// Lang original language
Lang string `form:"lang" json:"lang"`
// Sort sort by results
Sort *GetMoviesFilterParamsSort `form:"sort,omitempty" json:"sort,omitempty"`
// Status status
Status *GetMoviesFilterParamsStatus `form:"status,omitempty" json:"status,omitempty"`
// Year release year
Year *float32 `form:"year,omitempty" json:"year,omitempty"`
}
GetMoviesFilterParams defines parameters for GetMoviesFilter.
type GetMoviesFilterParamsGenre ¶
type GetMoviesFilterParamsGenre float32
GetMoviesFilterParamsGenre defines parameters for GetMoviesFilter.
const ( GetMoviesFilterParamsGenreN1 GetMoviesFilterParamsGenre = 1 GetMoviesFilterParamsGenreN10 GetMoviesFilterParamsGenre = 10 GetMoviesFilterParamsGenreN11 GetMoviesFilterParamsGenre = 11 GetMoviesFilterParamsGenreN12 GetMoviesFilterParamsGenre = 12 GetMoviesFilterParamsGenreN13 GetMoviesFilterParamsGenre = 13 GetMoviesFilterParamsGenreN14 GetMoviesFilterParamsGenre = 14 GetMoviesFilterParamsGenreN15 GetMoviesFilterParamsGenre = 15 GetMoviesFilterParamsGenreN16 GetMoviesFilterParamsGenre = 16 GetMoviesFilterParamsGenreN17 GetMoviesFilterParamsGenre = 17 GetMoviesFilterParamsGenreN18 GetMoviesFilterParamsGenre = 18 GetMoviesFilterParamsGenreN19 GetMoviesFilterParamsGenre = 19 GetMoviesFilterParamsGenreN2 GetMoviesFilterParamsGenre = 2 GetMoviesFilterParamsGenreN21 GetMoviesFilterParamsGenre = 21 GetMoviesFilterParamsGenreN22 GetMoviesFilterParamsGenre = 22 GetMoviesFilterParamsGenreN23 GetMoviesFilterParamsGenre = 23 GetMoviesFilterParamsGenreN24 GetMoviesFilterParamsGenre = 24 GetMoviesFilterParamsGenreN25 GetMoviesFilterParamsGenre = 25 GetMoviesFilterParamsGenreN26 GetMoviesFilterParamsGenre = 26 GetMoviesFilterParamsGenreN27 GetMoviesFilterParamsGenre = 27 GetMoviesFilterParamsGenreN28 GetMoviesFilterParamsGenre = 28 GetMoviesFilterParamsGenreN29 GetMoviesFilterParamsGenre = 29 GetMoviesFilterParamsGenreN3 GetMoviesFilterParamsGenre = 3 GetMoviesFilterParamsGenreN30 GetMoviesFilterParamsGenre = 30 GetMoviesFilterParamsGenreN31 GetMoviesFilterParamsGenre = 31 GetMoviesFilterParamsGenreN32 GetMoviesFilterParamsGenre = 32 GetMoviesFilterParamsGenreN33 GetMoviesFilterParamsGenre = 33 GetMoviesFilterParamsGenreN34 GetMoviesFilterParamsGenre = 34 GetMoviesFilterParamsGenreN35 GetMoviesFilterParamsGenre = 35 GetMoviesFilterParamsGenreN36 GetMoviesFilterParamsGenre = 36 GetMoviesFilterParamsGenreN4 GetMoviesFilterParamsGenre = 4 GetMoviesFilterParamsGenreN5 GetMoviesFilterParamsGenre = 5 GetMoviesFilterParamsGenreN6 GetMoviesFilterParamsGenre = 6 GetMoviesFilterParamsGenreN7 GetMoviesFilterParamsGenre = 7 GetMoviesFilterParamsGenreN8 GetMoviesFilterParamsGenre = 8 GetMoviesFilterParamsGenreN9 GetMoviesFilterParamsGenre = 9 )
Defines values for GetMoviesFilterParamsGenre.
type GetMoviesFilterParamsSort ¶
type GetMoviesFilterParamsSort string
GetMoviesFilterParamsSort defines parameters for GetMoviesFilter.
const ( GetMoviesFilterParamsSortFirstAired GetMoviesFilterParamsSort = "firstAired" GetMoviesFilterParamsSortName GetMoviesFilterParamsSort = "name" GetMoviesFilterParamsSortScore GetMoviesFilterParamsSort = "score" )
Defines values for GetMoviesFilterParamsSort.
type GetMoviesFilterParamsStatus ¶
type GetMoviesFilterParamsStatus float32
GetMoviesFilterParamsStatus defines parameters for GetMoviesFilter.
const ( GetMoviesFilterParamsStatusN1 GetMoviesFilterParamsStatus = 1 GetMoviesFilterParamsStatusN2 GetMoviesFilterParamsStatus = 2 GetMoviesFilterParamsStatusN3 GetMoviesFilterParamsStatus = 3 )
Defines values for GetMoviesFilterParamsStatus.
type GetMoviesFilterResponse ¶
type GetMoviesFilterResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]MovieBaseRecord `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetMoviesFilterResponse ¶
func ParseGetMoviesFilterResponse(rsp *http.Response) (*GetMoviesFilterResponse, error)
ParseGetMoviesFilterResponse parses an HTTP response from a GetMoviesFilterWithResponse call
func (GetMoviesFilterResponse) Status ¶
func (r GetMoviesFilterResponse) Status() string
Status returns HTTPResponse.Status
func (GetMoviesFilterResponse) StatusCode ¶
func (r GetMoviesFilterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPeopleBaseResponse ¶
type GetPeopleBaseResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Data base people record
Data *PeopleBaseRecord `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetPeopleBaseResponse ¶
func ParseGetPeopleBaseResponse(rsp *http.Response) (*GetPeopleBaseResponse, error)
ParseGetPeopleBaseResponse parses an HTTP response from a GetPeopleBaseWithResponse call
func (GetPeopleBaseResponse) Status ¶
func (r GetPeopleBaseResponse) Status() string
Status returns HTTPResponse.Status
func (GetPeopleBaseResponse) StatusCode ¶
func (r GetPeopleBaseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPeopleExtendedParams ¶
type GetPeopleExtendedParams struct {
// Meta meta
Meta *GetPeopleExtendedParamsMeta `form:"meta,omitempty" json:"meta,omitempty"`
}
GetPeopleExtendedParams defines parameters for GetPeopleExtended.
type GetPeopleExtendedParamsMeta ¶
type GetPeopleExtendedParamsMeta string
GetPeopleExtendedParamsMeta defines parameters for GetPeopleExtended.
const (
GetPeopleExtendedParamsMetaTranslations GetPeopleExtendedParamsMeta = "translations"
)
Defines values for GetPeopleExtendedParamsMeta.
type GetPeopleExtendedResponse ¶
type GetPeopleExtendedResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Data extended people record
Data *PeopleExtendedRecord `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetPeopleExtendedResponse ¶
func ParseGetPeopleExtendedResponse(rsp *http.Response) (*GetPeopleExtendedResponse, error)
ParseGetPeopleExtendedResponse parses an HTTP response from a GetPeopleExtendedWithResponse call
func (GetPeopleExtendedResponse) Status ¶
func (r GetPeopleExtendedResponse) Status() string
Status returns HTTPResponse.Status
func (GetPeopleExtendedResponse) StatusCode ¶
func (r GetPeopleExtendedResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPeopleTranslationResponse ¶
type GetPeopleTranslationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Data translation record
Data *Translation `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetPeopleTranslationResponse ¶
func ParseGetPeopleTranslationResponse(rsp *http.Response) (*GetPeopleTranslationResponse, error)
ParseGetPeopleTranslationResponse parses an HTTP response from a GetPeopleTranslationWithResponse call
func (GetPeopleTranslationResponse) Status ¶
func (r GetPeopleTranslationResponse) Status() string
Status returns HTTPResponse.Status
func (GetPeopleTranslationResponse) StatusCode ¶
func (r GetPeopleTranslationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSearchResultsByRemoteIdResponse ¶
type GetSearchResultsByRemoteIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]SearchByRemoteIdResult `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetSearchResultsByRemoteIdResponse ¶
func ParseGetSearchResultsByRemoteIdResponse(rsp *http.Response) (*GetSearchResultsByRemoteIdResponse, error)
ParseGetSearchResultsByRemoteIdResponse parses an HTTP response from a GetSearchResultsByRemoteIdWithResponse call
func (GetSearchResultsByRemoteIdResponse) Status ¶
func (r GetSearchResultsByRemoteIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetSearchResultsByRemoteIdResponse) StatusCode ¶
func (r GetSearchResultsByRemoteIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSearchResultsParams ¶
type GetSearchResultsParams struct {
// Query The primary search string, which can include the main title for a record including all translations and aliases.
Query *string `form:"query,omitempty" json:"query,omitempty"`
// Q Alias of the "query" parameter. Recommend using query instead as this field will eventually be deprecated.
Q *string `form:"q,omitempty" json:"q,omitempty"`
// Type Restrict results to a specific entity type. Can be movie, series, person, or company.
Type *string `form:"type,omitempty" json:"type,omitempty"`
// Year Restrict results to a specific year. Currently only used for series and movies.
Year *float32 `form:"year,omitempty" json:"year,omitempty"`
// Company Restrict results to a specific company (original network, production company, studio, etc). As an example, "The Walking Dead" would have companies of "AMC", "AMC+", and "Disney+".
Company *string `form:"company,omitempty" json:"company,omitempty"`
// Country Restrict results to a specific country of origin. Should contain a 3 character country code. Currently only used for series and movies.
Country *string `form:"country,omitempty" json:"country,omitempty"`
// Director Restrict results to a specific director. Generally only used for movies. Should include the full name of the director, such as "Steven Spielberg".
Director *string `form:"director,omitempty" json:"director,omitempty"`
// Language Restrict results to a specific primary language. Should include the 3 character language code. Currently only used for series and movies.
Language *string `form:"language,omitempty" json:"language,omitempty"`
// PrimaryType Restrict results to a specific type of company. Should include the full name of the type of company, such as "Production Company". Only used for companies.
PrimaryType *string `form:"primaryType,omitempty" json:"primaryType,omitempty"`
// Network Restrict results to a specific network. Used for TV and TV movies, and functions the same as the company parameter with more specificity.
Network *string `form:"network,omitempty" json:"network,omitempty"`
// RemoteId Search for a specific remote id. Allows searching for an IMDB or EIDR id, for example.
RemoteId *string `form:"remote_id,omitempty" json:"remote_id,omitempty"`
// Offset Offset results.
Offset *float32 `form:"offset,omitempty" json:"offset,omitempty"`
// Limit Limit results.
Limit *float32 `form:"limit,omitempty" json:"limit,omitempty"`
}
GetSearchResultsParams defines parameters for GetSearchResults.
type GetSearchResultsResponse ¶
type GetSearchResultsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]SearchResult `json:"data,omitempty"`
// Links Links for next, previous and current record
Links *Links `json:"links,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetSearchResultsResponse ¶
func ParseGetSearchResultsResponse(rsp *http.Response) (*GetSearchResultsResponse, error)
ParseGetSearchResultsResponse parses an HTTP response from a GetSearchResultsWithResponse call
func (GetSearchResultsResponse) Status ¶
func (r GetSearchResultsResponse) Status() string
Status returns HTTPResponse.Status
func (GetSearchResultsResponse) StatusCode ¶
func (r GetSearchResultsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSeasonBaseResponse ¶
type GetSeasonBaseResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Data season genre record
Data *SeasonBaseRecord `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetSeasonBaseResponse ¶
func ParseGetSeasonBaseResponse(rsp *http.Response) (*GetSeasonBaseResponse, error)
ParseGetSeasonBaseResponse parses an HTTP response from a GetSeasonBaseWithResponse call
func (GetSeasonBaseResponse) Status ¶
func (r GetSeasonBaseResponse) Status() string
Status returns HTTPResponse.Status
func (GetSeasonBaseResponse) StatusCode ¶
func (r GetSeasonBaseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSeasonExtendedResponse ¶
type GetSeasonExtendedResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Data extended season record
Data *SeasonExtendedRecord `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetSeasonExtendedResponse ¶
func ParseGetSeasonExtendedResponse(rsp *http.Response) (*GetSeasonExtendedResponse, error)
ParseGetSeasonExtendedResponse parses an HTTP response from a GetSeasonExtendedWithResponse call
func (GetSeasonExtendedResponse) Status ¶
func (r GetSeasonExtendedResponse) Status() string
Status returns HTTPResponse.Status
func (GetSeasonExtendedResponse) StatusCode ¶
func (r GetSeasonExtendedResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSeasonTranslationResponse ¶
type GetSeasonTranslationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Data translation record
Data *Translation `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetSeasonTranslationResponse ¶
func ParseGetSeasonTranslationResponse(rsp *http.Response) (*GetSeasonTranslationResponse, error)
ParseGetSeasonTranslationResponse parses an HTTP response from a GetSeasonTranslationWithResponse call
func (GetSeasonTranslationResponse) Status ¶
func (r GetSeasonTranslationResponse) Status() string
Status returns HTTPResponse.Status
func (GetSeasonTranslationResponse) StatusCode ¶
func (r GetSeasonTranslationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSeasonTypesResponse ¶
type GetSeasonTypesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]SeasonType `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetSeasonTypesResponse ¶
func ParseGetSeasonTypesResponse(rsp *http.Response) (*GetSeasonTypesResponse, error)
ParseGetSeasonTypesResponse parses an HTTP response from a GetSeasonTypesWithResponse call
func (GetSeasonTypesResponse) Status ¶
func (r GetSeasonTypesResponse) Status() string
Status returns HTTPResponse.Status
func (GetSeasonTypesResponse) StatusCode ¶
func (r GetSeasonTypesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSeriesArtworksParams ¶
type GetSeriesArtworksParams struct {
// Lang lang
Lang *string `form:"lang,omitempty" json:"lang,omitempty"`
// Type type
Type *int `form:"type,omitempty" json:"type,omitempty"`
}
GetSeriesArtworksParams defines parameters for GetSeriesArtworks.
type GetSeriesArtworksResponse ¶
type GetSeriesArtworksResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Data The extended record for a series. All series airs time like firstAired, lastAired, nextAired, etc. are in US EST for US series, and for all non-US series, the time of the show’s country capital or most populous city. For streaming services, is the official release time. See https://support.thetvdb.com/kb/faq.php?id=29.
Data *SeriesExtendedRecord `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetSeriesArtworksResponse ¶
func ParseGetSeriesArtworksResponse(rsp *http.Response) (*GetSeriesArtworksResponse, error)
ParseGetSeriesArtworksResponse parses an HTTP response from a GetSeriesArtworksWithResponse call
func (GetSeriesArtworksResponse) Status ¶
func (r GetSeriesArtworksResponse) Status() string
Status returns HTTPResponse.Status
func (GetSeriesArtworksResponse) StatusCode ¶
func (r GetSeriesArtworksResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSeriesBaseBySlugResponse ¶
type GetSeriesBaseBySlugResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Data The base record for a series. All series airs time like firstAired, lastAired, nextAired, etc. are in US EST for US series, and for all non-US series, the time of the show’s country capital or most populous city. For streaming services, is the official release time. See https://support.thetvdb.com/kb/faq.php?id=29.
Data *SeriesBaseRecord `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetSeriesBaseBySlugResponse ¶
func ParseGetSeriesBaseBySlugResponse(rsp *http.Response) (*GetSeriesBaseBySlugResponse, error)
ParseGetSeriesBaseBySlugResponse parses an HTTP response from a GetSeriesBaseBySlugWithResponse call
func (GetSeriesBaseBySlugResponse) Status ¶
func (r GetSeriesBaseBySlugResponse) Status() string
Status returns HTTPResponse.Status
func (GetSeriesBaseBySlugResponse) StatusCode ¶
func (r GetSeriesBaseBySlugResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSeriesBaseResponse ¶
type GetSeriesBaseResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Data The base record for a series. All series airs time like firstAired, lastAired, nextAired, etc. are in US EST for US series, and for all non-US series, the time of the show’s country capital or most populous city. For streaming services, is the official release time. See https://support.thetvdb.com/kb/faq.php?id=29.
Data *SeriesBaseRecord `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetSeriesBaseResponse ¶
func ParseGetSeriesBaseResponse(rsp *http.Response) (*GetSeriesBaseResponse, error)
ParseGetSeriesBaseResponse parses an HTTP response from a GetSeriesBaseWithResponse call
func (GetSeriesBaseResponse) Status ¶
func (r GetSeriesBaseResponse) Status() string
Status returns HTTPResponse.Status
func (GetSeriesBaseResponse) StatusCode ¶
func (r GetSeriesBaseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSeriesEpisodesParams ¶
type GetSeriesEpisodesParams struct {
Page int `form:"page" json:"page"`
Season *int `form:"season,omitempty" json:"season,omitempty"`
EpisodeNumber *int `form:"episodeNumber,omitempty" json:"episodeNumber,omitempty"`
// AirDate airDate of the episode, format is yyyy-mm-dd
AirDate *string `form:"airDate,omitempty" json:"airDate,omitempty"`
}
GetSeriesEpisodesParams defines parameters for GetSeriesEpisodes.
type GetSeriesEpisodesResponse ¶
type GetSeriesEpisodesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
Episodes *[]EpisodeBaseRecord `json:"episodes,omitempty"`
// Series The base record for a series. All series airs time like firstAired, lastAired, nextAired, etc. are in US EST for US series, and for all non-US series, the time of the show’s country capital or most populous city. For streaming services, is the official release time. See https://support.thetvdb.com/kb/faq.php?id=29.
Series *SeriesBaseRecord `json:"series,omitempty"`
} `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetSeriesEpisodesResponse ¶
func ParseGetSeriesEpisodesResponse(rsp *http.Response) (*GetSeriesEpisodesResponse, error)
ParseGetSeriesEpisodesResponse parses an HTTP response from a GetSeriesEpisodesWithResponse call
func (GetSeriesEpisodesResponse) Status ¶
func (r GetSeriesEpisodesResponse) Status() string
Status returns HTTPResponse.Status
func (GetSeriesEpisodesResponse) StatusCode ¶
func (r GetSeriesEpisodesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSeriesExtendedParams ¶
type GetSeriesExtendedParams struct {
// Meta meta
Meta *GetSeriesExtendedParamsMeta `form:"meta,omitempty" json:"meta,omitempty"`
// Short reduce the payload and returns the short version of this record without characters and artworks
Short *GetSeriesExtendedParamsShort `form:"short,omitempty" json:"short,omitempty"`
}
GetSeriesExtendedParams defines parameters for GetSeriesExtended.
type GetSeriesExtendedParamsMeta ¶
type GetSeriesExtendedParamsMeta string
GetSeriesExtendedParamsMeta defines parameters for GetSeriesExtended.
const ( GetSeriesExtendedParamsMetaEpisodes GetSeriesExtendedParamsMeta = "episodes" GetSeriesExtendedParamsMetaTranslations GetSeriesExtendedParamsMeta = "translations" )
Defines values for GetSeriesExtendedParamsMeta.
type GetSeriesExtendedParamsShort ¶
type GetSeriesExtendedParamsShort bool
GetSeriesExtendedParamsShort defines parameters for GetSeriesExtended.
const ( GetSeriesExtendedParamsShortFalse GetSeriesExtendedParamsShort = false GetSeriesExtendedParamsShortTrue GetSeriesExtendedParamsShort = true )
Defines values for GetSeriesExtendedParamsShort.
type GetSeriesExtendedResponse ¶
type GetSeriesExtendedResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Data The extended record for a series. All series airs time like firstAired, lastAired, nextAired, etc. are in US EST for US series, and for all non-US series, the time of the show’s country capital or most populous city. For streaming services, is the official release time. See https://support.thetvdb.com/kb/faq.php?id=29.
Data *SeriesExtendedRecord `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetSeriesExtendedResponse ¶
func ParseGetSeriesExtendedResponse(rsp *http.Response) (*GetSeriesExtendedResponse, error)
ParseGetSeriesExtendedResponse parses an HTTP response from a GetSeriesExtendedWithResponse call
func (GetSeriesExtendedResponse) Status ¶
func (r GetSeriesExtendedResponse) Status() string
Status returns HTTPResponse.Status
func (GetSeriesExtendedResponse) StatusCode ¶
func (r GetSeriesExtendedResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSeriesFilterParams ¶
type GetSeriesFilterParams struct {
// Company production company
Company *float32 `form:"company,omitempty" json:"company,omitempty"`
// ContentRating content rating id base on a country
ContentRating *float32 `form:"contentRating,omitempty" json:"contentRating,omitempty"`
// Country country of origin
Country string `form:"country" json:"country"`
// Genre Genre id. This id can be found using **/genres** endpoint.
Genre *GetSeriesFilterParamsGenre `form:"genre,omitempty" json:"genre,omitempty"`
// Lang original language
Lang string `form:"lang" json:"lang"`
// Sort sort by results
Sort *GetSeriesFilterParamsSort `form:"sort,omitempty" json:"sort,omitempty"`
// SortType sort type ascending or descending
SortType *GetSeriesFilterParamsSortType `form:"sortType,omitempty" json:"sortType,omitempty"`
// Status status
Status *GetSeriesFilterParamsStatus `form:"status,omitempty" json:"status,omitempty"`
// Year release year
Year *float32 `form:"year,omitempty" json:"year,omitempty"`
}
GetSeriesFilterParams defines parameters for GetSeriesFilter.
type GetSeriesFilterParamsGenre ¶
type GetSeriesFilterParamsGenre float32
GetSeriesFilterParamsGenre defines parameters for GetSeriesFilter.
const ( GetSeriesFilterParamsGenreN1 GetSeriesFilterParamsGenre = 1 GetSeriesFilterParamsGenreN10 GetSeriesFilterParamsGenre = 10 GetSeriesFilterParamsGenreN11 GetSeriesFilterParamsGenre = 11 GetSeriesFilterParamsGenreN12 GetSeriesFilterParamsGenre = 12 GetSeriesFilterParamsGenreN13 GetSeriesFilterParamsGenre = 13 GetSeriesFilterParamsGenreN14 GetSeriesFilterParamsGenre = 14 GetSeriesFilterParamsGenreN15 GetSeriesFilterParamsGenre = 15 GetSeriesFilterParamsGenreN16 GetSeriesFilterParamsGenre = 16 GetSeriesFilterParamsGenreN17 GetSeriesFilterParamsGenre = 17 GetSeriesFilterParamsGenreN18 GetSeriesFilterParamsGenre = 18 GetSeriesFilterParamsGenreN19 GetSeriesFilterParamsGenre = 19 GetSeriesFilterParamsGenreN2 GetSeriesFilterParamsGenre = 2 GetSeriesFilterParamsGenreN21 GetSeriesFilterParamsGenre = 21 GetSeriesFilterParamsGenreN22 GetSeriesFilterParamsGenre = 22 GetSeriesFilterParamsGenreN23 GetSeriesFilterParamsGenre = 23 GetSeriesFilterParamsGenreN24 GetSeriesFilterParamsGenre = 24 GetSeriesFilterParamsGenreN25 GetSeriesFilterParamsGenre = 25 GetSeriesFilterParamsGenreN26 GetSeriesFilterParamsGenre = 26 GetSeriesFilterParamsGenreN27 GetSeriesFilterParamsGenre = 27 GetSeriesFilterParamsGenreN28 GetSeriesFilterParamsGenre = 28 GetSeriesFilterParamsGenreN29 GetSeriesFilterParamsGenre = 29 GetSeriesFilterParamsGenreN3 GetSeriesFilterParamsGenre = 3 GetSeriesFilterParamsGenreN30 GetSeriesFilterParamsGenre = 30 GetSeriesFilterParamsGenreN31 GetSeriesFilterParamsGenre = 31 GetSeriesFilterParamsGenreN32 GetSeriesFilterParamsGenre = 32 GetSeriesFilterParamsGenreN33 GetSeriesFilterParamsGenre = 33 GetSeriesFilterParamsGenreN34 GetSeriesFilterParamsGenre = 34 GetSeriesFilterParamsGenreN35 GetSeriesFilterParamsGenre = 35 GetSeriesFilterParamsGenreN36 GetSeriesFilterParamsGenre = 36 GetSeriesFilterParamsGenreN4 GetSeriesFilterParamsGenre = 4 GetSeriesFilterParamsGenreN5 GetSeriesFilterParamsGenre = 5 GetSeriesFilterParamsGenreN6 GetSeriesFilterParamsGenre = 6 GetSeriesFilterParamsGenreN7 GetSeriesFilterParamsGenre = 7 GetSeriesFilterParamsGenreN8 GetSeriesFilterParamsGenre = 8 GetSeriesFilterParamsGenreN9 GetSeriesFilterParamsGenre = 9 )
Defines values for GetSeriesFilterParamsGenre.
type GetSeriesFilterParamsSort ¶
type GetSeriesFilterParamsSort string
GetSeriesFilterParamsSort defines parameters for GetSeriesFilter.
const ( GetSeriesFilterParamsSortFirstAired GetSeriesFilterParamsSort = "firstAired" GetSeriesFilterParamsSortLastAired GetSeriesFilterParamsSort = "lastAired" GetSeriesFilterParamsSortName GetSeriesFilterParamsSort = "name" GetSeriesFilterParamsSortScore GetSeriesFilterParamsSort = "score" )
Defines values for GetSeriesFilterParamsSort.
type GetSeriesFilterParamsSortType ¶
type GetSeriesFilterParamsSortType string
GetSeriesFilterParamsSortType defines parameters for GetSeriesFilter.
const ( Asc GetSeriesFilterParamsSortType = "asc" Desc GetSeriesFilterParamsSortType = "desc" )
Defines values for GetSeriesFilterParamsSortType.
type GetSeriesFilterParamsStatus ¶
type GetSeriesFilterParamsStatus float32
GetSeriesFilterParamsStatus defines parameters for GetSeriesFilter.
const ( GetSeriesFilterParamsStatusN1 GetSeriesFilterParamsStatus = 1 GetSeriesFilterParamsStatusN2 GetSeriesFilterParamsStatus = 2 GetSeriesFilterParamsStatusN3 GetSeriesFilterParamsStatus = 3 )
Defines values for GetSeriesFilterParamsStatus.
type GetSeriesFilterResponse ¶
type GetSeriesFilterResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]SeriesBaseRecord `json:"data,omitempty"`
}
}
func ParseGetSeriesFilterResponse ¶
func ParseGetSeriesFilterResponse(rsp *http.Response) (*GetSeriesFilterResponse, error)
ParseGetSeriesFilterResponse parses an HTTP response from a GetSeriesFilterWithResponse call
func (GetSeriesFilterResponse) Status ¶
func (r GetSeriesFilterResponse) Status() string
Status returns HTTPResponse.Status
func (GetSeriesFilterResponse) StatusCode ¶
func (r GetSeriesFilterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSeriesNextAiredResponse ¶
type GetSeriesNextAiredResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Data The base record for a series. All series airs time like firstAired, lastAired, nextAired, etc. are in US EST for US series, and for all non-US series, the time of the show’s country capital or most populous city. For streaming services, is the official release time. See https://support.thetvdb.com/kb/faq.php?id=29.
Data *SeriesBaseRecord `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetSeriesNextAiredResponse ¶
func ParseGetSeriesNextAiredResponse(rsp *http.Response) (*GetSeriesNextAiredResponse, error)
ParseGetSeriesNextAiredResponse parses an HTTP response from a GetSeriesNextAiredWithResponse call
func (GetSeriesNextAiredResponse) Status ¶
func (r GetSeriesNextAiredResponse) Status() string
Status returns HTTPResponse.Status
func (GetSeriesNextAiredResponse) StatusCode ¶
func (r GetSeriesNextAiredResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSeriesSeasonEpisodesTranslatedParams ¶
type GetSeriesSeasonEpisodesTranslatedParams struct {
Page int `form:"page" json:"page"`
}
GetSeriesSeasonEpisodesTranslatedParams defines parameters for GetSeriesSeasonEpisodesTranslated.
type GetSeriesSeasonEpisodesTranslatedResponse ¶
type GetSeriesSeasonEpisodesTranslatedResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
// Series The base record for a series. All series airs time like firstAired, lastAired, nextAired, etc. are in US EST for US series, and for all non-US series, the time of the show’s country capital or most populous city. For streaming services, is the official release time. See https://support.thetvdb.com/kb/faq.php?id=29.
Series *SeriesBaseRecord `json:"series,omitempty"`
} `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetSeriesSeasonEpisodesTranslatedResponse ¶
func ParseGetSeriesSeasonEpisodesTranslatedResponse(rsp *http.Response) (*GetSeriesSeasonEpisodesTranslatedResponse, error)
ParseGetSeriesSeasonEpisodesTranslatedResponse parses an HTTP response from a GetSeriesSeasonEpisodesTranslatedWithResponse call
func (GetSeriesSeasonEpisodesTranslatedResponse) Status ¶
func (r GetSeriesSeasonEpisodesTranslatedResponse) Status() string
Status returns HTTPResponse.Status
func (GetSeriesSeasonEpisodesTranslatedResponse) StatusCode ¶
func (r GetSeriesSeasonEpisodesTranslatedResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSeriesTranslationResponse ¶
type GetSeriesTranslationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Data translation record
Data *Translation `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetSeriesTranslationResponse ¶
func ParseGetSeriesTranslationResponse(rsp *http.Response) (*GetSeriesTranslationResponse, error)
ParseGetSeriesTranslationResponse parses an HTTP response from a GetSeriesTranslationWithResponse call
func (GetSeriesTranslationResponse) Status ¶
func (r GetSeriesTranslationResponse) Status() string
Status returns HTTPResponse.Status
func (GetSeriesTranslationResponse) StatusCode ¶
func (r GetSeriesTranslationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUserFavoritesResponse ¶
type GetUserFavoritesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *interface{} `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetUserFavoritesResponse ¶
func ParseGetUserFavoritesResponse(rsp *http.Response) (*GetUserFavoritesResponse, error)
ParseGetUserFavoritesResponse parses an HTTP response from a GetUserFavoritesWithResponse call
func (GetUserFavoritesResponse) Status ¶
func (r GetUserFavoritesResponse) Status() string
Status returns HTTPResponse.Status
func (GetUserFavoritesResponse) StatusCode ¶
func (r GetUserFavoritesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUserInfoByIdResponse ¶
type GetUserInfoByIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *interface{} `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetUserInfoByIdResponse ¶
func ParseGetUserInfoByIdResponse(rsp *http.Response) (*GetUserInfoByIdResponse, error)
ParseGetUserInfoByIdResponse parses an HTTP response from a GetUserInfoByIdWithResponse call
func (GetUserInfoByIdResponse) Status ¶
func (r GetUserInfoByIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetUserInfoByIdResponse) StatusCode ¶
func (r GetUserInfoByIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUserInfoResponse ¶
type GetUserInfoResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *interface{} `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseGetUserInfoResponse ¶
func ParseGetUserInfoResponse(rsp *http.Response) (*GetUserInfoResponse, error)
ParseGetUserInfoResponse parses an HTTP response from a GetUserInfoWithResponse call
func (GetUserInfoResponse) Status ¶
func (r GetUserInfoResponse) Status() string
Status returns HTTPResponse.Status
func (GetUserInfoResponse) StatusCode ¶
func (r GetUserInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type Inspiration ¶
type Inspiration struct {
ID *int64 `json:"id,omitempty"`
Type *string `json:"type,omitempty"`
TypeName *string `json:"type_name,omitempty"`
Url *string `json:"url,omitempty"`
}
Inspiration Movie inspiration record
type InspirationType ¶
type InspirationType struct {
Description *string `json:"description,omitempty"`
ID *int64 `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
ReferenceName *string `json:"reference_name,omitempty"`
Url *string `json:"url,omitempty"`
}
InspirationType Movie inspiration type record
type Language ¶
type Language struct {
ID *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
NativeName *string `json:"nativeName,omitempty"`
ShortCode *string `json:"shortCode,omitempty"`
}
Language language record
type Links ¶
type Links struct {
Next *string `json:"next,omitempty"`
PageSize *int `json:"page_size,omitempty"`
Prev *string `json:"prev,omitempty"`
Self *string `json:"self,omitempty"`
TotalItems *int `json:"total_items,omitempty"`
}
Links Links for next, previous and current record
type ListBaseRecord ¶
type ListBaseRecord struct {
Aliases *[]Alias `json:"aliases,omitempty"`
ID *int64 `json:"id,omitempty"`
Image *string `json:"image,omitempty"`
ImageIsFallback *bool `json:"imageIsFallback,omitempty"`
IsOfficial *bool `json:"isOfficial,omitempty"`
Name *string `json:"name,omitempty"`
NameTranslations *[]string `json:"nameTranslations,omitempty"`
Overview *string `json:"overview,omitempty"`
OverviewTranslations *[]string `json:"overviewTranslations,omitempty"`
RemoteIDs *[]RemoteID `json:"remoteIds,omitempty"`
Score *int `json:"score,omitempty"`
TagOptions *[]TagOption `json:"tags,omitempty"`
Url *string `json:"url,omitempty"`
}
ListBaseRecord base list record
type ListExtendedRecord ¶
type ListExtendedRecord struct {
Aliases *[]Alias `json:"aliases,omitempty"`
Entities *[]Entity `json:"entities,omitempty"`
ID *int64 `json:"id,omitempty"`
Image *string `json:"image,omitempty"`
ImageIsFallback *bool `json:"imageIsFallback,omitempty"`
IsOfficial *bool `json:"isOfficial,omitempty"`
Name *string `json:"name,omitempty"`
NameTranslations *[]string `json:"nameTranslations,omitempty"`
Overview *string `json:"overview,omitempty"`
OverviewTranslations *[]string `json:"overviewTranslations,omitempty"`
Score *int64 `json:"score,omitempty"`
Url *string `json:"url,omitempty"`
}
ListExtendedRecord extended list record
type MovieBaseRecord ¶
type MovieBaseRecord struct {
Aliases *[]Alias `json:"aliases,omitempty"`
ID *int64 `json:"id,omitempty"`
Image *string `json:"image,omitempty"`
LastUpdated *string `json:"lastUpdated,omitempty"`
Name *string `json:"name,omitempty"`
NameTranslations *[]string `json:"nameTranslations,omitempty"`
OverviewTranslations *[]string `json:"overviewTranslations,omitempty"`
Runtime *int `json:"runtime,omitempty"`
Score *float64 `json:"score,omitempty"`
Slug *string `json:"slug,omitempty"`
// Status status record
Status *Status `json:"status,omitempty"`
Year *string `json:"year,omitempty"`
}
MovieBaseRecord base movie record
type MovieExtendedRecord ¶
type MovieExtendedRecord struct {
Aliases *[]Alias `json:"aliases,omitempty"`
Artworks *[]ArtworkBaseRecord `json:"artworks,omitempty"`
AudioLanguages *[]string `json:"audioLanguages,omitempty"`
Awards *[]AwardBaseRecord `json:"awards,omitempty"`
BoxOffice *string `json:"boxOffice,omitempty"`
BoxOfficeUS *string `json:"boxOfficeUS,omitempty"`
Budget *string `json:"budget,omitempty"`
Characters *[]Character `json:"characters,omitempty"`
// Companies Companies by type record
Companies *Companies `json:"companies,omitempty"`
ContentRatings *[]ContentRating `json:"contentRatings,omitempty"`
// FirstRelease release record
FirstRelease *Release `json:"first_release,omitempty"`
Genres *[]GenreBaseRecord `json:"genres,omitempty"`
ID *int64 `json:"id,omitempty"`
Image *string `json:"image,omitempty"`
Inspirations *[]Inspiration `json:"inspirations,omitempty"`
LastUpdated *string `json:"lastUpdated,omitempty"`
Lists *[]ListBaseRecord `json:"lists,omitempty"`
Name *string `json:"name,omitempty"`
NameTranslations *[]string `json:"nameTranslations,omitempty"`
OriginalCountry *string `json:"originalCountry,omitempty"`
OriginalLanguage *string `json:"originalLanguage,omitempty"`
OverviewTranslations *[]string `json:"overviewTranslations,omitempty"`
ProductionCountries *[]ProductionCountry `json:"production_countries,omitempty"`
Releases *[]Release `json:"releases,omitempty"`
RemoteIDs *[]RemoteID `json:"remoteIds,omitempty"`
Runtime *int `json:"runtime,omitempty"`
Score *float64 `json:"score,omitempty"`
Slug *string `json:"slug,omitempty"`
SpokenLanguages *[]string `json:"spoken_languages,omitempty"`
// Status status record
Status *Status `json:"status,omitempty"`
Studios *[]StudioBaseRecord `json:"studios,omitempty"`
SubtitleLanguages *[]string `json:"subtitleLanguages,omitempty"`
TagOptions *[]TagOption `json:"tagOptions,omitempty"`
Trailers *[]Trailer `json:"trailers,omitempty"`
// Translations translation extended record
Translations *TranslationExtended `json:"translations,omitempty"`
Year *string `json:"year,omitempty"`
}
MovieExtendedRecord extended movie record
type ParentCompany ¶
type ParentCompany struct {
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
// Relation A company relationship
Relation *CompanyRelationShip `json:"relation,omitempty"`
}
ParentCompany A parent company record
type PeopleBaseRecord ¶
type PeopleBaseRecord struct {
Aliases *[]Alias `json:"aliases,omitempty"`
ID *int64 `json:"id,omitempty"`
Image *string `json:"image,omitempty"`
LastUpdated *string `json:"lastUpdated,omitempty"`
Name *string `json:"name,omitempty"`
NameTranslations *[]string `json:"nameTranslations,omitempty"`
OverviewTranslations *[]string `json:"overviewTranslations,omitempty"`
Score *int64 `json:"score,omitempty"`
}
PeopleBaseRecord base people record
type PeopleExtendedRecord ¶
type PeopleExtendedRecord struct {
Aliases *[]Alias `json:"aliases,omitempty"`
Awards *[]AwardBaseRecord `json:"awards,omitempty"`
Biographies *[]Biography `json:"biographies,omitempty"`
Birth *string `json:"birth,omitempty"`
BirthPlace *string `json:"birthPlace,omitempty"`
Characters *[]Character `json:"characters,omitempty"`
Death *string `json:"death,omitempty"`
Gender *int `json:"gender,omitempty"`
ID *int64 `json:"id,omitempty"`
Image *string `json:"image,omitempty"`
LastUpdated *string `json:"lastUpdated,omitempty"`
Name *string `json:"name,omitempty"`
NameTranslations *[]string `json:"nameTranslations,omitempty"`
OverviewTranslations *[]string `json:"overviewTranslations,omitempty"`
Races *[]Race `json:"races,omitempty"`
RemoteIDs *[]RemoteID `json:"remoteIds,omitempty"`
Score *int64 `json:"score,omitempty"`
Slug *string `json:"slug,omitempty"`
TagOptions *[]TagOption `json:"tagOptions,omitempty"`
// Translations translation extended record
Translations *TranslationExtended `json:"translations,omitempty"`
}
PeopleExtendedRecord extended people record
type PeopleType ¶
PeopleType people type record
type PostLoginJSONBody ¶
PostLoginJSONBody defines parameters for PostLogin.
type PostLoginJSONRequestBody ¶
type PostLoginJSONRequestBody PostLoginJSONBody
PostLoginJSONRequestBody defines body for PostLogin for application/json ContentType.
type PostLoginResponse ¶
type PostLoginResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
Token *string `json:"token,omitempty"`
} `json:"data,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParsePostLoginResponse ¶
func ParsePostLoginResponse(rsp *http.Response) (*PostLoginResponse, error)
ParsePostLoginResponse parses an HTTP response from a PostLoginWithResponse call
func (PostLoginResponse) Status ¶
func (r PostLoginResponse) Status() string
Status returns HTTPResponse.Status
func (PostLoginResponse) StatusCode ¶
func (r PostLoginResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProductionCountry ¶
type ProductionCountry struct {
Country *string `json:"country,omitempty"`
ID *int64 `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
}
ProductionCountry Production country record
type RecordInfo ¶
type RecordInfo struct {
Image *string `json:"image,omitempty"`
Name *string `json:"name,omitempty"`
Year *string `json:"year,omitempty"`
}
RecordInfo base record info
type Release ¶
type Release struct {
Country *string `json:"country,omitempty"`
Date *string `json:"date,omitempty"`
Detail *string `json:"detail,omitempty"`
}
Release release record
type RemoteID ¶
type RemoteID struct {
ID *string `json:"id,omitempty"`
SourceName *string `json:"sourceName,omitempty"`
Type *int64 `json:"type,omitempty"`
}
RemoteID remote id record
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type SearchByRemoteIdResult ¶
type SearchByRemoteIdResult struct {
// Company A company record
Company *Company `json:"company,omitempty"`
// Episode base episode record
Episode *EpisodeBaseRecord `json:"episode,omitempty"`
// Movie base movie record
Movie *MovieBaseRecord `json:"movie,omitempty"`
// People base people record
People *PeopleBaseRecord `json:"people,omitempty"`
// Series The base record for a series. All series airs time like firstAired, lastAired, nextAired, etc. are in US EST for US series, and for all non-US series, the time of the show’s country capital or most populous city. For streaming services, is the official release time. See https://support.thetvdb.com/kb/faq.php?id=29.
Series *SeriesBaseRecord `json:"series,omitempty"`
}
SearchByRemoteIdResult search by remote reuslt is a base record for a movie, series, people, season or company search result
type SearchResult ¶
type SearchResult struct {
Aliases *[]string `json:"aliases,omitempty"`
Companies *[]string `json:"companies,omitempty"`
CompanyType *string `json:"companyType,omitempty"`
Country *string `json:"country,omitempty"`
Director *string `json:"director,omitempty"`
FirstAirTime *string `json:"first_air_time,omitempty"`
Genres *[]string `json:"genres,omitempty"`
Id *string `json:"id,omitempty"`
ImageUrl *string `json:"image_url,omitempty"`
IsOfficial *bool `json:"is_official,omitempty"`
Name *string `json:"name,omitempty"`
NameTranslated *string `json:"name_translated,omitempty"`
Network *string `json:"network,omitempty"`
ObjectID *string `json:"objectID,omitempty"`
OfficialList *string `json:"officialList,omitempty"`
Overview *string `json:"overview,omitempty"`
OverviewTranslated *[]string `json:"overview_translated,omitempty"`
// Overviews *[]TranslationSimple `json:"overviews,omitempty"` // TODO: fix this7
Poster *string `json:"poster,omitempty"`
Posters *[]string `json:"posters,omitempty"`
PrimaryLanguage *string `json:"primary_language,omitempty"`
RemoteIDs *[]RemoteID `json:"remote_ids,omitempty"`
Slug *string `json:"slug,omitempty"`
Status *string `json:"status,omitempty"`
Studios *[]string `json:"studios,omitempty"`
Thumbnail *string `json:"thumbnail,omitempty"`
Title *string `json:"title,omitempty"`
// Translations *[]TranslationSimple `json:"translations,omitempty"` // TODO: fix this
TranslationsWithLang *[]string `json:"translationsWithLang,omitempty"`
TvdbId *string `json:"tvdb_id,omitempty"`
Type *string `json:"type,omitempty"`
Year *string `json:"year,omitempty"`
}
SearchResult search result
type SeasonBaseRecord ¶
type SeasonBaseRecord struct {
// Companies Companies by type record
Companies *Companies `json:"companies,omitempty"`
Id *int `json:"id,omitempty"`
Image *string `json:"image,omitempty"`
ImageType *int `json:"imageType,omitempty"`
LastUpdated *string `json:"lastUpdated,omitempty"`
Name *string `json:"name,omitempty"`
NameTranslations *[]string `json:"nameTranslations,omitempty"`
Number *int64 `json:"number,omitempty"`
OverviewTranslations *[]string `json:"overviewTranslations,omitempty"`
SeriesID *int64 `json:"seriesId,omitempty"`
// Type season type record
Type *SeasonType `json:"type,omitempty"`
Year *string `json:"year,omitempty"`
}
SeasonBaseRecord season genre record
type SeasonExtendedRecord ¶
type SeasonExtendedRecord struct {
Artwork *[]ArtworkBaseRecord `json:"artwork,omitempty"`
// Companies Companies by type record
Companies *Companies `json:"companies,omitempty"`
Episodes *[]EpisodeBaseRecord `json:"episodes,omitempty"`
Id *int `json:"id,omitempty"`
Image *string `json:"image,omitempty"`
ImageType *int `json:"imageType,omitempty"`
LastUpdated *string `json:"lastUpdated,omitempty"`
Name *string `json:"name,omitempty"`
NameTranslations *[]string `json:"nameTranslations,omitempty"`
Number *int64 `json:"number,omitempty"`
OverviewTranslations *[]string `json:"overviewTranslations,omitempty"`
SeriesID *int64 `json:"seriesId,omitempty"`
TagOptions *[]TagOption `json:"tagOptions,omitempty"`
Trailers *[]Trailer `json:"trailers,omitempty"`
Translations *[]Translation `json:"translations,omitempty"`
// Type season type record
Type *SeasonType `json:"type,omitempty"`
Year *string `json:"year,omitempty"`
}
SeasonExtendedRecord extended season record
type SeasonType ¶
type SeasonType struct {
AlernateName *string `json:"alternateName,omitempty"`
ID *int64 `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Type *string `json:"type,omitempty"`
}
SeasonType season type record
type SeriesAirsDays ¶
type SeriesAirsDays struct {
Friday *bool `json:"friday,omitempty"`
Monday *bool `json:"monday,omitempty"`
Saturday *bool `json:"saturday,omitempty"`
Sunday *bool `json:"sunday,omitempty"`
Thursday *bool `json:"thursday,omitempty"`
Tuesday *bool `json:"tuesday,omitempty"`
Wednesday *bool `json:"wednesday,omitempty"`
}
SeriesAirsDays A series airs day record
type SeriesBaseRecord ¶
type SeriesBaseRecord struct {
Aliases *[]Alias `json:"aliases,omitempty"`
AverageRuntime *int `json:"averageRuntime,omitempty"`
Country *string `json:"country,omitempty"`
DefaultSeasonType *int64 `json:"defaultSeasonType,omitempty"`
Episodes *[]EpisodeBaseRecord `json:"episodes,omitempty"`
FirstAired *string `json:"firstAired,omitempty"`
Id *int `json:"id,omitempty"`
Image *string `json:"image,omitempty"`
IsOrderRandomized *bool `json:"isOrderRandomized,omitempty"`
LastAired *string `json:"lastAired,omitempty"`
LastUpdated *string `json:"lastUpdated,omitempty"`
Name *string `json:"name,omitempty"`
NameTranslations *[]string `json:"nameTranslations,omitempty"`
NextAired *string `json:"nextAired,omitempty"`
OriginalCountry *string `json:"originalCountry,omitempty"`
OriginalLanguage *string `json:"originalLanguage,omitempty"`
OverviewTranslations *[]string `json:"overviewTranslations,omitempty"`
Score *float64 `json:"score,omitempty"`
Slug *string `json:"slug,omitempty"`
// Status status record
Status *Status `json:"status,omitempty"`
Year *string `json:"year,omitempty"`
}
SeriesBaseRecord The base record for a series. All series airs time like firstAired, lastAired, nextAired, etc. are in US EST for US series, and for all non-US series, the time of the show’s country capital or most populous city. For streaming services, is the official release time. See https://support.thetvdb.com/kb/faq.php?id=29.
type SeriesExtendedRecord ¶
type SeriesExtendedRecord struct {
Abbreviation *string `json:"abbreviation,omitempty"`
// AirsDays A series airs day record
AirsDays *SeriesAirsDays `json:"airsDays,omitempty"`
AirsTime *string `json:"airsTime,omitempty"`
Aliases *[]Alias `json:"aliases,omitempty"`
Artworks *[]ArtworkExtendedRecord `json:"artworks,omitempty"`
AverageRuntime *int `json:"averageRuntime,omitempty"`
Characters *[]Character `json:"characters,omitempty"`
Companies *[]Company `json:"companies,omitempty"`
ContentRatings *[]ContentRating `json:"contentRatings,omitempty"`
Country *string `json:"country,omitempty"`
DefaultSeasonType *int64 `json:"defaultSeasonType,omitempty"`
Episodes *[]EpisodeBaseRecord `json:"episodes,omitempty"`
FirstAired *string `json:"firstAired,omitempty"`
Genres *[]GenreBaseRecord `json:"genres,omitempty"`
Id *int `json:"id,omitempty"`
Image *string `json:"image,omitempty"`
IsOrderRandomized *bool `json:"isOrderRandomized,omitempty"`
LastAired *string `json:"lastAired,omitempty"`
LastUpdated *string `json:"lastUpdated,omitempty"`
// LatestNetwork A company record
LatestNetwork *Company `json:"latestNetwork,omitempty"`
Lists *interface{} `json:"lists,omitempty"`
Name *string `json:"name,omitempty"`
NameTranslations *[]string `json:"nameTranslations,omitempty"`
NextAired *string `json:"nextAired,omitempty"`
OriginalCountry *string `json:"originalCountry,omitempty"`
OriginalLanguage *string `json:"originalLanguage,omitempty"`
// OriginalNetwork A company record
OriginalNetwork *Company `json:"originalNetwork,omitempty"`
Overview *string `json:"overview,omitempty"`
OverviewTranslations *[]string `json:"overviewTranslations,omitempty"`
RemoteIDs *[]RemoteID `json:"remoteIds,omitempty"`
Score *float64 `json:"score,omitempty"`
SeasonTypes *[]SeasonType `json:"seasonTypes,omitempty"`
Seasons *[]SeasonBaseRecord `json:"seasons,omitempty"`
Slug *string `json:"slug,omitempty"`
// Status status record
Status *Status `json:"status,omitempty"`
TagOptions *[]TagOption `json:"tags,omitempty"`
Trailers *[]Trailer `json:"trailers,omitempty"`
// Translations translation extended record
Translations *TranslationExtended `json:"translations,omitempty"`
Year *string `json:"year,omitempty"`
}
SeriesExtendedRecord The extended record for a series. All series airs time like firstAired, lastAired, nextAired, etc. are in US EST for US series, and for all non-US series, the time of the show’s country capital or most populous city. For streaming services, is the official release time. See https://support.thetvdb.com/kb/faq.php?id=29.
type SourceType ¶
type SourceType struct {
ID *int64 `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Postfix *string `json:"postfix,omitempty"`
Prefix *string `json:"prefix,omitempty"`
Slug *string `json:"slug,omitempty"`
Sort *int64 `json:"sort,omitempty"`
}
SourceType source type record
type Status ¶
type Status struct {
ID *int64 `json:"id,omitempty"`
KeepUpdated *bool `json:"keepUpdated,omitempty"`
Name *string `json:"name,omitempty"`
RecordType *string `json:"recordType,omitempty"`
}
Status status record
type StudioBaseRecord ¶
type StudioBaseRecord struct {
ID *int64 `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
ParentStudio *int `json:"parentStudio,omitempty"`
}
StudioBaseRecord studio record
type TagOption ¶
type TagOption struct {
HelpText *string `json:"helpText,omitempty"`
ID *int64 `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Tag *int64 `json:"tag,omitempty"`
TagName *string `json:"tagName,omitempty"`
}
TagOption tag option record
type Trailer ¶
type Trailer struct {
ID *int64 `json:"id,omitempty"`
Language *string `json:"language,omitempty"`
Name *string `json:"name,omitempty"`
Runtime *int `json:"runtime,omitempty"`
Url *string `json:"url,omitempty"`
}
Trailer trailer record
type Translation ¶
type Translation struct {
Aliases *[]string `json:"aliases,omitempty"`
IsAlias *bool `json:"isAlias,omitempty"`
IsPrimary *bool `json:"isPrimary,omitempty"`
Language *string `json:"language,omitempty"`
Name *string `json:"name,omitempty"`
Overview *string `json:"overview,omitempty"`
// Tagline Only populated for movie translations. We disallow taglines without a title.
Tagline *string `json:"tagline,omitempty"`
}
Translation translation record
type TranslationExtended ¶
type TranslationExtended struct {
Alias *[]string `json:"alias,omitempty"`
NameTranslations *[]Translation `json:"nameTranslations,omitempty"`
OverviewTranslations *[]Translation `json:"overviewTranslations,omitempty"`
}
TranslationExtended translation extended record
type TranslationSimple ¶
type TranslationSimple struct {
Language *string `json:"language,omitempty"`
}
TranslationSimple translation simple record
type Tvdb ¶
Tvdb wrapper client
func New ¶
New creates a new Tvdb wrapper client
url is the base URL of the TVDB API
Example: https://api4.thetvdb.com/v4
See https://thetvdb.github.io/v4-api/#/Introduction for more information
This wraps the generated client with a few helper functions, it also sets up authentication and simplifies API access.
func (*Tvdb) CreateUserFavorites ¶
func (c *Tvdb) CreateUserFavorites(body CreateUserFavoritesJSONRequestBody) (*CreateUserFavoritesResponse, error)
CreateUserFavorites is a wrapper for ClientWithResponses.CreateUserFavoritesWithResponse
func (*Tvdb) GetAllArtworkStatuses ¶
func (c *Tvdb) GetAllArtworkStatuses() (*GetAllArtworkStatusesResponse, error)
GetAllArtworkStatuses is a wrapper for ClientWithResponses.GetAllArtworkStatusesWithResponse
func (*Tvdb) GetAllArtworkTypes ¶
func (c *Tvdb) GetAllArtworkTypes() (*GetAllArtworkTypesResponse, error)
GetAllArtworkTypes is a wrapper for ClientWithResponses.GetAllArtworkTypesWithResponse
func (*Tvdb) GetAllAwards ¶
func (c *Tvdb) GetAllAwards() (*GetAllAwardsResponse, error)
GetAllAwards is a wrapper for ClientWithResponses.GetAllAwardsWithResponse
func (*Tvdb) GetAllCompanies ¶
func (c *Tvdb) GetAllCompanies(params *GetAllCompaniesParams) (*GetAllCompaniesResponse, error)
GetAllCompanies is a wrapper for ClientWithResponses.GetAllCompaniesWithResponse
func (*Tvdb) GetAllContentRatings ¶
func (c *Tvdb) GetAllContentRatings() (*GetAllContentRatingsResponse, error)
GetAllContentRatings is a wrapper for ClientWithResponses.GetAllContentRatingsWithResponse
func (*Tvdb) GetAllCountries ¶
func (c *Tvdb) GetAllCountries() (*GetAllCountriesResponse, error)
GetAllCountries is a wrapper for ClientWithResponses.GetAllCountriesWithResponse
func (*Tvdb) GetAllEpisodes ¶
func (c *Tvdb) GetAllEpisodes(params *GetAllEpisodesParams) (*GetAllEpisodesResponse, error)
GetAllEpisodes is a wrapper for ClientWithResponses.GetAllEpisodesWithResponse
func (*Tvdb) GetAllGenders ¶
func (c *Tvdb) GetAllGenders() (*GetAllGendersResponse, error)
GetAllGenders is a wrapper for ClientWithResponses.GetAllGendersWithResponse
func (*Tvdb) GetAllGenres ¶
func (c *Tvdb) GetAllGenres() (*GetAllGenresResponse, error)
GetAllGenres is a wrapper for ClientWithResponses.GetAllGenresWithResponse
func (*Tvdb) GetAllInspirationTypes ¶
func (c *Tvdb) GetAllInspirationTypes() (*GetAllInspirationTypesResponse, error)
GetAllInspirationTypes is a wrapper for ClientWithResponses.GetAllInspirationTypesWithResponse
func (*Tvdb) GetAllLanguages ¶
func (c *Tvdb) GetAllLanguages() (*GetAllLanguagesResponse, error)
GetAllLanguages is a wrapper for ClientWithResponses.GetAllLanguagesWithResponse
func (*Tvdb) GetAllLists ¶
func (c *Tvdb) GetAllLists(params *GetAllListsParams) (*GetAllListsResponse, error)
GetAllLists is a wrapper for ClientWithResponses.GetAllListsWithResponse
func (*Tvdb) GetAllMovie ¶
func (c *Tvdb) GetAllMovie(params *GetAllMovieParams) (*GetAllMovieResponse, error)
GetAllMovie is a wrapper for ClientWithResponses.GetAllMovieWithResponse
func (*Tvdb) GetAllMovieStatuses ¶
func (c *Tvdb) GetAllMovieStatuses() (*GetAllMovieStatusesResponse, error)
GetAllMovieStatuses is a wrapper for ClientWithResponses.GetAllMovieStatusesWithResponse
func (*Tvdb) GetAllPeople ¶
func (c *Tvdb) GetAllPeople(params *GetAllPeopleParams) (*GetAllPeopleResponse, error)
GetAllPeople is a wrapper for ClientWithResponses.GetAllPeopleWithResponse
func (*Tvdb) GetAllPeopleTypes ¶
func (c *Tvdb) GetAllPeopleTypes() (*GetAllPeopleTypesResponse, error)
GetAllPeopleTypes is a wrapper for ClientWithResponses.GetAllPeopleTypesWithResponse
func (*Tvdb) GetAllSeasons ¶
func (c *Tvdb) GetAllSeasons(params *GetAllSeasonsParams) (*GetAllSeasonsResponse, error)
GetAllSeasons is a wrapper for ClientWithResponses.GetAllSeasonsWithResponse
func (*Tvdb) GetAllSeries ¶
func (c *Tvdb) GetAllSeries(params *GetAllSeriesParams) (*GetAllSeriesResponse, error)
GetAllSeries is a wrapper for ClientWithResponses.GetAllSeriesWithResponse
func (*Tvdb) GetAllSeriesStatuses ¶
func (c *Tvdb) GetAllSeriesStatuses() (*GetAllSeriesStatusesResponse, error)
GetAllSeriesStatuses is a wrapper for ClientWithResponses.GetAllSeriesStatusesWithResponse
func (*Tvdb) GetAllSourceTypes ¶
func (c *Tvdb) GetAllSourceTypes() (*GetAllSourceTypesResponse, error)
GetAllSourceTypes is a wrapper for ClientWithResponses.GetAllSourceTypesWithResponse
func (*Tvdb) GetArtwork ¶
func (c *Tvdb) GetArtwork(id float32) (*GetArtworkBaseResponse, error)
GetArtwork is a wrapper for ClientWithResponses.GetArtworkBaseWithResponse
func (*Tvdb) GetArtworkExtended ¶
func (c *Tvdb) GetArtworkExtended(id float32) (*GetArtworkExtendedResponse, error)
GetArtworkExtended is a wrapper for ClientWithResponses.GetArtworkExtendedWithResponse
func (*Tvdb) GetAward ¶
func (c *Tvdb) GetAward(id float32) (*GetAwardResponse, error)
GetAward is a wrapper for ClientWithResponses.GetAwardWithResponse
func (*Tvdb) GetAwardCategory ¶
func (c *Tvdb) GetAwardCategory(id float32) (*GetAwardCategoryResponse, error)
GetAwardCategory is a wrapper for ClientWithResponses.GetAwardCategoryWithResponse
func (*Tvdb) GetAwardCategoryExtended ¶
func (c *Tvdb) GetAwardCategoryExtended(id float32) (*GetAwardCategoryExtendedResponse, error)
GetAwardCategoryExtended is a wrapper for ClientWithResponses.GetAwardCategoryExtendedWithResponse
func (*Tvdb) GetAwardExtended ¶
func (c *Tvdb) GetAwardExtended(id float32) (*GetAwardExtendedResponse, error)
GetAwardExtended is a wrapper for ClientWithResponses.GetAwardExtendedWithResponse
func (*Tvdb) GetCharacter ¶
func (c *Tvdb) GetCharacter(id float32) (*GetCharacterBaseResponse, error)
GetCharacter is a wrapper for ClientWithResponses.GetCharacterBaseWithResponse
func (*Tvdb) GetCompany ¶
func (c *Tvdb) GetCompany(id float32) (*GetCompanyResponse, error)
GetCompany is a wrapper for ClientWithResponses.GetCompanyWithResponse
func (*Tvdb) GetCompanyTypes ¶
func (c *Tvdb) GetCompanyTypes() (*GetCompanyTypesResponse, error)
GetCompanyTypes is a wrapper for ClientWithResponses.GetCompanyTypesWithResponse
func (*Tvdb) GetEntityTypes ¶
func (c *Tvdb) GetEntityTypes() (*GetEntityTypesResponse, error)
GetEntityTypes is a wrapper for ClientWithResponses.GetEntityTypesWithResponse
func (*Tvdb) GetEpisode ¶
func (c *Tvdb) GetEpisode(id float32) (*GetEpisodeBaseResponse, error)
GetEpisode is a wrapper for ClientWithResponses.GetEpisodeBaseWithResponse
func (*Tvdb) GetEpisodeExtended ¶
func (c *Tvdb) GetEpisodeExtended(id float32, params *GetEpisodeExtendedParams) (*GetEpisodeExtendedResponse, error)
GetEpisodeExtended is a wrapper for ClientWithResponses.GetEpisodeExtendedWithResponse
func (*Tvdb) GetEpisodeTranslation ¶
func (c *Tvdb) GetEpisodeTranslation(id float32, language string) (*GetEpisodeTranslationResponse, error)
GetEpisodeTranslation is a wrapper for ClientWithResponses.GetEpisodeTranslationWithResponse
func (*Tvdb) GetGenre ¶
func (c *Tvdb) GetGenre(id float32) (*GetGenreBaseResponse, error)
GetGenre is a wrapper for ClientWithResponses.GetGenreBaseWithResponse
func (*Tvdb) GetList ¶
func (c *Tvdb) GetList(id float32) (*GetListResponse, error)
GetList is a wrapper for ClientWithResponses.GetListWithResponse
func (*Tvdb) GetListBySlug ¶
func (c *Tvdb) GetListBySlug(slug string) (*GetListBySlugResponse, error)
GetListBySlug is a wrapper for ClientWithResponses.GetListBySlugWithResponse
func (*Tvdb) GetListExtended ¶
func (c *Tvdb) GetListExtended(id float32) (*GetListExtendedResponse, error)
GetListExtended is a wrapper for ClientWithResponses.GetListExtendedWithResponse
func (*Tvdb) GetListTranslation ¶
func (c *Tvdb) GetListTranslation(id float32, language string) (*GetListTranslationResponse, error)
GetListTranslation is a wrapper for ClientWithResponses.GetListTranslationWithResponse
func (*Tvdb) GetMovie ¶
func (c *Tvdb) GetMovie(id float32) (*GetMovieBaseResponse, error)
GetMovie is a wrapper for ClientWithResponses.GetMovieBaseWithResponse
func (*Tvdb) GetMovieBySlug ¶
func (c *Tvdb) GetMovieBySlug(slug string) (*GetMovieBaseBySlugResponse, error)
GetMovieBySlug is a wrapper for ClientWithResponses.GetMovieBaseBySlugWithResponse
func (*Tvdb) GetMovieExtended ¶
func (c *Tvdb) GetMovieExtended(id float32, params *GetMovieExtendedParams) (*GetMovieExtendedResponse, error)
GetMovieExtended is a wrapper for ClientWithResponses.GetMovieExtendedWithResponse
func (*Tvdb) GetMovieTranslation ¶
func (c *Tvdb) GetMovieTranslation(id float32, language string) (*GetMovieTranslationResponse, error)
GetMovieTranslation is a wrapper for ClientWithResponses.GetMovieTranslationWithResponse
func (*Tvdb) GetMoviesFilter ¶
func (c *Tvdb) GetMoviesFilter(params *GetMoviesFilterParams) (*GetMoviesFilterResponse, error)
GetMoviesFilter is a wrapper for ClientWithResponses.GetMoviesFilterWithResponse
func (*Tvdb) GetPeople ¶
func (c *Tvdb) GetPeople(id float32) (*GetPeopleBaseResponse, error)
GetPeople is a wrapper for ClientWithResponses.GetPeopleBaseWithResponse
func (*Tvdb) GetPeopleExtended ¶
func (c *Tvdb) GetPeopleExtended(id float32, params *GetPeopleExtendedParams) (*GetPeopleExtendedResponse, error)
GetPeopleExtended is a wrapper for ClientWithResponses.GetPeopleExtendedWithResponse
func (*Tvdb) GetPeopleTranslation ¶
func (c *Tvdb) GetPeopleTranslation(id float32, language string) (*GetPeopleTranslationResponse, error)
GetPeopleTranslation is a wrapper for ClientWithResponses.GetPeopleTranslationWithResponse
func (*Tvdb) GetSearchResults ¶
func (c *Tvdb) GetSearchResults(params *GetSearchResultsParams) (*GetSearchResultsResponse, error)
GetSearchResults is a wrapper for ClientWithResponses.GetSearchResultsWithResponse
func (*Tvdb) GetSearchResultsByRemoteId ¶
func (c *Tvdb) GetSearchResultsByRemoteId(remoteId string) (*GetSearchResultsByRemoteIdResponse, error)
GetSearchResultsByRemoteId is a wrapper for ClientWithResponses.GetSearchResultsByRemoteIdWithResponse
func (*Tvdb) GetSeason ¶
func (c *Tvdb) GetSeason(id float32) (*GetSeasonBaseResponse, error)
GetSeason is a wrapper for ClientWithResponses.GetSeasonBaseWithResponse
func (*Tvdb) GetSeasonExtended ¶
func (c *Tvdb) GetSeasonExtended(id float32) (*GetSeasonExtendedResponse, error)
GetSeasonExtended is a wrapper for ClientWithResponses.GetSeasonExtendedWithResponse
func (*Tvdb) GetSeasonTranslation ¶
func (c *Tvdb) GetSeasonTranslation(id float32, language string) (*GetSeasonTranslationResponse, error)
GetSeasonTranslation is a wrapper for ClientWithResponses.GetSeasonTranslationWithResponse
func (*Tvdb) GetSeasonTypes ¶
func (c *Tvdb) GetSeasonTypes() (*GetSeasonTypesResponse, error)
GetSeasonTypes is a wrapper for ClientWithResponses.GetSeasonTypesWithResponse
func (*Tvdb) GetSeries ¶
func (c *Tvdb) GetSeries(id float32) (*GetSeriesBaseResponse, error)
GetSeries is a wrapper for ClientWithResponses.GetSeriesBaseWithResponse
func (*Tvdb) GetSeriesArtworks ¶
func (c *Tvdb) GetSeriesArtworks(id float32, params *GetSeriesArtworksParams) (*GetSeriesArtworksResponse, error)
GetSeriesArtworks is a wrapper for ClientWithResponses.GetSeriesArtworksWithResponse
func (*Tvdb) GetSeriesBySlug ¶
func (c *Tvdb) GetSeriesBySlug(slug string) (*GetSeriesBaseBySlugResponse, error)
GetSeriesBySlug is a wrapper for ClientWithResponses.GetSeriesBaseBySlugWithResponse
func (*Tvdb) GetSeriesEpisodes ¶
func (c *Tvdb) GetSeriesEpisodes(id float32, seasonType string, params *GetSeriesEpisodesParams) (*GetSeriesEpisodesResponse, error)
GetSeriesEpisodes is a wrapper for ClientWithResponses.GetSeriesEpisodesWithResponse
func (*Tvdb) GetSeriesExtended ¶
func (c *Tvdb) GetSeriesExtended(id float32, params *GetSeriesExtendedParams) (*GetSeriesExtendedResponse, error)
GetSeriesExtended is a wrapper for ClientWithResponses.GetSeriesExtendedWithResponse
func (*Tvdb) GetSeriesFilter ¶
func (c *Tvdb) GetSeriesFilter(params *GetSeriesFilterParams) (*GetSeriesFilterResponse, error)
GetSeriesFilter is a wrapper for ClientWithResponses.GetSeriesFilterWithResponse
func (*Tvdb) GetSeriesNextAired ¶
func (c *Tvdb) GetSeriesNextAired(id float32) (*GetSeriesNextAiredResponse, error)
GetSeriesNextAired is a wrapper for ClientWithResponses.GetSeriesNextAiredWithResponse
func (*Tvdb) GetSeriesSeasonEpisodesTranslated ¶
func (c *Tvdb) GetSeriesSeasonEpisodesTranslated(id float32, seasonType string, lang string, params *GetSeriesSeasonEpisodesTranslatedParams) (*GetSeriesSeasonEpisodesTranslatedResponse, error)
GetSeriesSeasonEpisodesTranslated is a wrapper for ClientWithResponses.GetSeriesSeasonEpisodesTranslatedWithResponse
func (*Tvdb) GetSeriesTranslation ¶
func (c *Tvdb) GetSeriesTranslation(id float32, language string) (*GetSeriesTranslationResponse, error)
GetSeriesTranslation is a wrapper for ClientWithResponses.GetSeriesTranslationWithResponse
func (*Tvdb) GetUserFavorites ¶
func (c *Tvdb) GetUserFavorites() (*GetUserFavoritesResponse, error)
GetUserFavorites is a wrapper for ClientWithResponses.GetUserFavoritesWithResponse
func (*Tvdb) GetUserInfo ¶
func (c *Tvdb) GetUserInfo() (*GetUserInfoResponse, error)
GetUserInfo is a wrapper for ClientWithResponses.GetUserInfoWithResponse
func (*Tvdb) GetUserInfoById ¶
func (c *Tvdb) GetUserInfoById(id float32) (*GetUserInfoByIdResponse, error)
GetUserInfoById is a wrapper for ClientWithResponses.GetUserInfoByIdWithResponse
func (*Tvdb) Login ¶
Login authenticates with the TVDB API and sets the bearer token for future requests
func (*Tvdb) SetAuthToken ¶
SetAuthToken sets the bearer token for future requests
Use this if you have your auth token stored elsewhere. These tokens expire after 30 days, so it's best to store in your database and refresh when needed.
func (*Tvdb) Updates ¶
func (c *Tvdb) Updates(params *UpdatesParams) (*UpdatesResponse, error)
Updates is a wrapper for ClientWithResponses.UpdatesWithResponse
type UpdatesParams ¶
type UpdatesParams struct {
Since float32 `form:"since" json:"since"`
Type *UpdatesParamsType `form:"type,omitempty" json:"type,omitempty"`
Action *UpdatesParamsAction `form:"action,omitempty" json:"action,omitempty"`
// Page name
Page *float32 `form:"page,omitempty" json:"page,omitempty"`
}
UpdatesParams defines parameters for Updates.
type UpdatesParamsAction ¶
type UpdatesParamsAction string
UpdatesParamsAction defines parameters for Updates.
const ( Delete UpdatesParamsAction = "delete" Update UpdatesParamsAction = "update" )
Defines values for UpdatesParamsAction.
type UpdatesParamsType ¶
type UpdatesParamsType string
UpdatesParamsType defines parameters for Updates.
const ( UpdatesParamsTypeArtwork UpdatesParamsType = "artwork" UpdatesParamsTypeArtworktypes UpdatesParamsType = "artworktypes" UpdatesParamsTypeAwardCategories UpdatesParamsType = "award_categories" UpdatesParamsTypeAwardNominees UpdatesParamsType = "award_nominees" UpdatesParamsTypeAwards UpdatesParamsType = "awards" UpdatesParamsTypeCompanies UpdatesParamsType = "companies" UpdatesParamsTypeCompanyTypes UpdatesParamsType = "company_types" UpdatesParamsTypeContentRatings UpdatesParamsType = "content_ratings" UpdatesParamsTypeCountries UpdatesParamsType = "countries" UpdatesParamsTypeEntityTypes UpdatesParamsType = "entity_types" UpdatesParamsTypeEpisodes UpdatesParamsType = "episodes" UpdatesParamsTypeGenres UpdatesParamsType = "genres" UpdatesParamsTypeLanguages UpdatesParamsType = "languages" UpdatesParamsTypeLists UpdatesParamsType = "lists" UpdatesParamsTypeMovieGenres UpdatesParamsType = "movie_genres" UpdatesParamsTypeMovieStatus UpdatesParamsType = "movie_status" UpdatesParamsTypeMovies UpdatesParamsType = "movies" UpdatesParamsTypePeople UpdatesParamsType = "people" UpdatesParamsTypePeopletypes UpdatesParamsType = "peopletypes" UpdatesParamsTypeSeasons UpdatesParamsType = "seasons" UpdatesParamsTypeSeasontypes UpdatesParamsType = "seasontypes" UpdatesParamsTypeSeries UpdatesParamsType = "series" UpdatesParamsTypeSeriespeople UpdatesParamsType = "seriespeople" UpdatesParamsTypeSourcetypes UpdatesParamsType = "sourcetypes" UpdatesParamsTypeTagOptions UpdatesParamsType = "tag_options" UpdatesParamsTypeTags UpdatesParamsType = "tags" UpdatesParamsTypeTranslatedcharacters UpdatesParamsType = "translatedcharacters" UpdatesParamsTypeTranslatedcompanies UpdatesParamsType = "translatedcompanies" UpdatesParamsTypeTranslatedepisodes UpdatesParamsType = "translatedepisodes" UpdatesParamsTypeTranslatedlists UpdatesParamsType = "translatedlists" UpdatesParamsTypeTranslatedmovies UpdatesParamsType = "translatedmovies" UpdatesParamsTypeTranslatedpeople UpdatesParamsType = "translatedpeople" UpdatesParamsTypeTranslatedseasons UpdatesParamsType = "translatedseasons" UpdatesParamsTypeTranslatedserierk UpdatesParamsType = "translatedserierk" )
Defines values for UpdatesParamsType.
type UpdatesResponse ¶
type UpdatesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]EntityUpdate `json:"data,omitempty"`
// Links Links for next, previous and current record
Links *Links `json:"links,omitempty"`
Status *string `json:"status,omitempty"`
}
}
func ParseUpdatesResponse ¶
func ParseUpdatesResponse(rsp *http.Response) (*UpdatesResponse, error)
ParseUpdatesResponse parses an HTTP response from a UpdatesWithResponse call
func (UpdatesResponse) Status ¶
func (r UpdatesResponse) Status() string
Status returns HTTPResponse.Status
func (UpdatesResponse) StatusCode ¶
func (r UpdatesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode