tvdb

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: MIT Imports: 10 Imported by: 2

README

dashotv/tvdb

TVDB API in Go

Build Status GoDoc Go Report Card License

Usage

Install the package with:

go get github.com/dashotv/tvdb

Import the package with:

import "github.com/dashotv/tvdb"

Create a new client with:

client := tvdb.New("https://api4.thetvdb.com/v4")

If you don't already have a token, you can obtain one with:

// Authenticate with your API key. This will return the token and
// will also configure the client with Bearer authentication.
token, err := client.Login("your_api_key")
if err != nil {
    panic(err) // ... etc ...
}

You should store the token somewhere, by default the token is viable for 30 days. TVDB doesn't appear to care if you auth every call, but it adds a lot of overhead.

If you already have the token, you can set it with:

_, err := client.SetAuthToken(token)
if err != nil {
    panic(err) // ... etc ...
}

This will configure the client with the token and configure Bearer authentication.

Development

Crate a local .env file with the following content:

# .env
TVDB_API_URL=https://api4.thetvdb.com/v4
TVDB_API_KEY=your_api_key
TVDB_API_TOKEN=your_api_token

Run the following to get the make targets:

make help


Usage:
  make <target>

Targets:
    clean               Remove build related file
  Test:
    test                Run the tests of the project
    coverage            Run the tests of the project and export the coverage
  Lint:
    lint                Run all available linters
    lint-go             Use golintci-lint on your project
  Help:
    help                Show this help.

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

View Source
const (
	BearerAuthScopes = "bearerAuth.Scopes"
)

Variables

This section is empty.

Functions

func Float32

func Float32(v float32) *float32

func Float32Value

func Float32Value(v *float32) float32

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

func NewGetAllArtworkStatusesRequest(server string) (*http.Request, error)

NewGetAllArtworkStatusesRequest generates requests for GetAllArtworkStatuses

func NewGetAllArtworkTypesRequest

func NewGetAllArtworkTypesRequest(server string) (*http.Request, error)

NewGetAllArtworkTypesRequest generates requests for GetAllArtworkTypes

func NewGetAllAwardsRequest

func NewGetAllAwardsRequest(server string) (*http.Request, error)

NewGetAllAwardsRequest generates requests for GetAllAwards

func NewGetAllCompaniesRequest

func NewGetAllCompaniesRequest(server string, params *GetAllCompaniesParams) (*http.Request, error)

NewGetAllCompaniesRequest generates requests for GetAllCompanies

func NewGetAllContentRatingsRequest

func NewGetAllContentRatingsRequest(server string) (*http.Request, error)

NewGetAllContentRatingsRequest generates requests for GetAllContentRatings

func NewGetAllCountriesRequest

func NewGetAllCountriesRequest(server string) (*http.Request, error)

NewGetAllCountriesRequest generates requests for GetAllCountries

func NewGetAllEpisodesRequest

func NewGetAllEpisodesRequest(server string, params *GetAllEpisodesParams) (*http.Request, error)

NewGetAllEpisodesRequest generates requests for GetAllEpisodes

func NewGetAllGendersRequest

func NewGetAllGendersRequest(server string) (*http.Request, error)

NewGetAllGendersRequest generates requests for GetAllGenders

func NewGetAllGenresRequest

func NewGetAllGenresRequest(server string) (*http.Request, error)

NewGetAllGenresRequest generates requests for GetAllGenres

func NewGetAllInspirationTypesRequest

func NewGetAllInspirationTypesRequest(server string) (*http.Request, error)

NewGetAllInspirationTypesRequest generates requests for GetAllInspirationTypes

func NewGetAllLanguagesRequest

func NewGetAllLanguagesRequest(server string) (*http.Request, error)

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

func NewGetAllMovieStatusesRequest(server string) (*http.Request, error)

NewGetAllMovieStatusesRequest generates requests for GetAllMovieStatuses

func NewGetAllPeopleRequest

func NewGetAllPeopleRequest(server string, params *GetAllPeopleParams) (*http.Request, error)

NewGetAllPeopleRequest generates requests for GetAllPeople

func NewGetAllPeopleTypesRequest

func NewGetAllPeopleTypesRequest(server string) (*http.Request, error)

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

func NewGetAllSeriesStatusesRequest(server string) (*http.Request, error)

NewGetAllSeriesStatusesRequest generates requests for GetAllSeriesStatuses

func NewGetAllSourceTypesRequest

func NewGetAllSourceTypesRequest(server string) (*http.Request, error)

NewGetAllSourceTypesRequest generates requests for GetAllSourceTypes

func NewGetArtworkBaseRequest

func NewGetArtworkBaseRequest(server string, id float32) (*http.Request, error)

NewGetArtworkBaseRequest generates requests for GetArtworkBase

func NewGetArtworkExtendedRequest

func NewGetArtworkExtendedRequest(server string, id float32) (*http.Request, error)

NewGetArtworkExtendedRequest generates requests for GetArtworkExtended

func NewGetAwardCategoryExtendedRequest

func NewGetAwardCategoryExtendedRequest(server string, id float32) (*http.Request, error)

NewGetAwardCategoryExtendedRequest generates requests for GetAwardCategoryExtended

func NewGetAwardCategoryRequest

func NewGetAwardCategoryRequest(server string, id float32) (*http.Request, error)

NewGetAwardCategoryRequest generates requests for GetAwardCategory

func NewGetAwardExtendedRequest

func NewGetAwardExtendedRequest(server string, id float32) (*http.Request, error)

NewGetAwardExtendedRequest generates requests for GetAwardExtended

func NewGetAwardRequest

func NewGetAwardRequest(server string, id float32) (*http.Request, error)

NewGetAwardRequest generates requests for GetAward

func NewGetCharacterBaseRequest

func NewGetCharacterBaseRequest(server string, id float32) (*http.Request, error)

NewGetCharacterBaseRequest generates requests for GetCharacterBase

func NewGetCompanyRequest

func NewGetCompanyRequest(server string, id float32) (*http.Request, error)

NewGetCompanyRequest generates requests for GetCompany

func NewGetCompanyTypesRequest

func NewGetCompanyTypesRequest(server string) (*http.Request, error)

NewGetCompanyTypesRequest generates requests for GetCompanyTypes

func NewGetEntityTypesRequest

func NewGetEntityTypesRequest(server string) (*http.Request, error)

NewGetEntityTypesRequest generates requests for GetEntityTypes

func NewGetEpisodeBaseRequest

func NewGetEpisodeBaseRequest(server string, id float32) (*http.Request, error)

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

func NewGetGenreBaseRequest(server string, id float32) (*http.Request, error)

NewGetGenreBaseRequest generates requests for GetGenreBase

func NewGetListBySlugRequest

func NewGetListBySlugRequest(server string, slug string) (*http.Request, error)

NewGetListBySlugRequest generates requests for GetListBySlug

func NewGetListExtendedRequest

func NewGetListExtendedRequest(server string, id float32) (*http.Request, error)

NewGetListExtendedRequest generates requests for GetListExtended

func NewGetListRequest

func NewGetListRequest(server string, id float32) (*http.Request, error)

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

func NewGetMovieBaseBySlugRequest(server string, slug string) (*http.Request, error)

NewGetMovieBaseBySlugRequest generates requests for GetMovieBaseBySlug

func NewGetMovieBaseRequest

func NewGetMovieBaseRequest(server string, id float32) (*http.Request, error)

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

func NewGetPeopleBaseRequest(server string, id float32) (*http.Request, error)

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

func NewGetSearchResultsByRemoteIdRequest(server string, remoteId string) (*http.Request, error)

NewGetSearchResultsByRemoteIdRequest generates requests for GetSearchResultsByRemoteId

func NewGetSearchResultsRequest

func NewGetSearchResultsRequest(server string, params *GetSearchResultsParams) (*http.Request, error)

NewGetSearchResultsRequest generates requests for GetSearchResults

func NewGetSeasonBaseRequest

func NewGetSeasonBaseRequest(server string, id float32) (*http.Request, error)

NewGetSeasonBaseRequest generates requests for GetSeasonBase

func NewGetSeasonExtendedRequest

func NewGetSeasonExtendedRequest(server string, id float32) (*http.Request, error)

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

func NewGetSeasonTypesRequest(server string) (*http.Request, error)

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

func NewGetSeriesBaseBySlugRequest(server string, slug string) (*http.Request, error)

NewGetSeriesBaseBySlugRequest generates requests for GetSeriesBaseBySlug

func NewGetSeriesBaseRequest

func NewGetSeriesBaseRequest(server string, id float32) (*http.Request, error)

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

func NewGetSeriesNextAiredRequest(server string, id float32) (*http.Request, error)

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

func NewGetUserFavoritesRequest(server string) (*http.Request, error)

NewGetUserFavoritesRequest generates requests for GetUserFavorites

func NewGetUserInfoByIdRequest

func NewGetUserInfoByIdRequest(server string, id float32) (*http.Request, error)

NewGetUserInfoByIdRequest generates requests for GetUserInfoById

func NewGetUserInfoRequest

func NewGetUserInfoRequest(server string) (*http.Request, error)

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 String

func String(v string) *string

String returns a pointer to the string value passed in.

func StringValue

func StringValue(v *string) string

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

type ArtworkStatus struct {
	ID   *int64  `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
}

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

type AwardBaseRecord struct {
	Id   *int    `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
}

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 (c *Client) CreateUserFavoritesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAllArtworkStatuses

func (c *Client) GetAllArtworkStatuses(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAllArtworkTypes

func (c *Client) GetAllArtworkTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAllAwards

func (c *Client) GetAllAwards(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAllCompanies

func (c *Client) GetAllCompanies(ctx context.Context, params *GetAllCompaniesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAllContentRatings

func (c *Client) GetAllContentRatings(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAllCountries

func (c *Client) GetAllCountries(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAllEpisodes

func (c *Client) GetAllEpisodes(ctx context.Context, params *GetAllEpisodesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAllGenders

func (c *Client) GetAllGenders(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAllGenres

func (c *Client) GetAllGenres(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAllInspirationTypes

func (c *Client) GetAllInspirationTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAllLanguages

func (c *Client) GetAllLanguages(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

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 (c *Client) GetAllMovieStatuses(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAllPeople

func (c *Client) GetAllPeople(ctx context.Context, params *GetAllPeopleParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAllPeopleTypes

func (c *Client) GetAllPeopleTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

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 (c *Client) GetAllSeriesStatuses(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAllSourceTypes

func (c *Client) GetAllSourceTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetArtworkBase

func (c *Client) GetArtworkBase(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetArtworkExtended

func (c *Client) GetArtworkExtended(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAward

func (c *Client) GetAward(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAwardCategory

func (c *Client) GetAwardCategory(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAwardCategoryExtended

func (c *Client) GetAwardCategoryExtended(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAwardExtended

func (c *Client) GetAwardExtended(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCharacterBase

func (c *Client) GetCharacterBase(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCompany

func (c *Client) GetCompany(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCompanyTypes

func (c *Client) GetCompanyTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetEntityTypes

func (c *Client) GetEntityTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetEpisodeBase

func (c *Client) GetEpisodeBase(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetEpisodeExtended

func (c *Client) GetEpisodeExtended(ctx context.Context, id float32, params *GetEpisodeExtendedParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetEpisodeTranslation

func (c *Client) GetEpisodeTranslation(ctx context.Context, id float32, language string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetGenreBase

func (c *Client) GetGenreBase(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetList

func (c *Client) GetList(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetListBySlug

func (c *Client) GetListBySlug(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetListExtended

func (c *Client) GetListExtended(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetListTranslation

func (c *Client) GetListTranslation(ctx context.Context, id float32, language string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMovieBase

func (c *Client) GetMovieBase(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMovieBaseBySlug

func (c *Client) GetMovieBaseBySlug(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMovieExtended

func (c *Client) GetMovieExtended(ctx context.Context, id float32, params *GetMovieExtendedParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMovieTranslation

func (c *Client) GetMovieTranslation(ctx context.Context, id float32, language string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMoviesFilter

func (c *Client) GetMoviesFilter(ctx context.Context, params *GetMoviesFilterParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPeopleBase

func (c *Client) GetPeopleBase(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPeopleExtended

func (c *Client) GetPeopleExtended(ctx context.Context, id float32, params *GetPeopleExtendedParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPeopleTranslation

func (c *Client) GetPeopleTranslation(ctx context.Context, id float32, language string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSearchResults

func (c *Client) GetSearchResults(ctx context.Context, params *GetSearchResultsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSearchResultsByRemoteId

func (c *Client) GetSearchResultsByRemoteId(ctx context.Context, remoteId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSeasonBase

func (c *Client) GetSeasonBase(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSeasonExtended

func (c *Client) GetSeasonExtended(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSeasonTranslation

func (c *Client) GetSeasonTranslation(ctx context.Context, id float32, language string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSeasonTypes

func (c *Client) GetSeasonTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSeriesArtworks

func (c *Client) GetSeriesArtworks(ctx context.Context, id float32, params *GetSeriesArtworksParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSeriesBase

func (c *Client) GetSeriesBase(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSeriesBaseBySlug

func (c *Client) GetSeriesBaseBySlug(ctx context.Context, slug string, reqEditors ...RequestEditorFn) (*http.Response, error)

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 (c *Client) GetSeriesNextAired(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSeriesSeasonEpisodesTranslated

func (c *Client) GetSeriesSeasonEpisodesTranslated(ctx context.Context, id float32, seasonType string, lang string, params *GetSeriesSeasonEpisodesTranslatedParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSeriesTranslation

func (c *Client) GetSeriesTranslation(ctx context.Context, id float32, language string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetUserFavorites

func (c *Client) GetUserFavorites(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetUserInfo

func (c *Client) GetUserInfo(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetUserInfoById

func (c *Client) GetUserInfoById(ctx context.Context, id float32, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostLogin

func (c *Client) PostLogin(ctx context.Context, body PostLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostLoginWithBody

func (c *Client) PostLoginWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

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

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

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

type CreateUserFavoritesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseCreateUserFavoritesResponse

func ParseCreateUserFavoritesResponse(rsp *http.Response) (*CreateUserFavoritesResponse, error)

ParseCreateUserFavoritesResponse parses an HTTP response from a CreateUserFavoritesWithResponse call

func (CreateUserFavoritesResponse) Status

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 Gender

type Gender struct {
	ID   *int64  `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
}

Gender gender 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Status returns HTTPResponse.Status

func (GetSeriesSeasonEpisodesTranslatedResponse) StatusCode

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

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

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

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

type PeopleType struct {
	ID   *int64  `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
}

PeopleType people type record

type PostLoginJSONBody

type PostLoginJSONBody struct {
	Apikey string  `json:"apikey"`
	Pin    *string `json:"pin,omitempty"`
}

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 Race

type Race = map[string]interface{}

Race race 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

type RequestEditorFn func(ctx context.Context, req *http.Request) error

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

type Tvdb struct {
	URL string
	Key string
	// contains filtered or unexported fields
}

Tvdb wrapper client

func New

func New(url string) *Tvdb

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

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

func (c *Tvdb) Login(apiKey string) (string, error)

Login authenticates with the TVDB API and sets the bearer token for future requests

func (*Tvdb) SetAuthToken

func (c *Tvdb) SetAuthToken(token string) (t string, err error)

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

type UserInfo

type UserInfo struct {
	Id       *int    `json:"id,omitempty"`
	Language *string `json:"language,omitempty"`
	Name     *string `json:"name,omitempty"`
	Type     *string `json:"type,omitempty"`
}

UserInfo User info record

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL