streaming

package module
v2.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: MIT Imports: 20 Imported by: 0

README

Streaming Availability API Go Client

go-github release (latest SemVer) GoDoc

Streaming Availability API

Streaming Availability API allows getting streaming availability information of movies and series; and querying the list of available shows on streaming services such as Netflix, Disney+, Apple TV, Max and Hulu across 58 countries!

API Key

To get an instant free subscription to start using the API, you can visit the RapidAPI page of the API.

With a free subscription, you can send 100 requests per day. To send more requests, you can upgrade to paid plans whenever you like.

Features
  • Query streaming availability info of the movies and series via their TMDb or IMDd ids.
  • Search for movies and series via their titles, genres, keywords, release years on specific streaming services (e.g.: Get all the zombie action movies available on Netflix and Disney+)
  • Order the search results by titles, release year or popularity over different time periods (e.g.: get the all-time most popular movies on Netflix US, get the most popular series in the last 7 days on Amazon Prime and Disney+ in the United Kingdom)
  • Returned streaming availability info includes:
    • Deep links into the streaming services for movies, series, seasons and episodes,
    • Available video qualities (eg. SD, HD, UHD),
    • Available subtitles and audios,
    • First detection time of the shows on the streaming services,
    • Expiry date of the shows/seasons/episodes on the streaming services,
    • All the available options to stream a show (e.g. via subscription, to buy/rent, for free, available via an addons),
    • Price and currency information for buyable/rentable shows
  • Channel and addon support (e.g. Apple TV Channels, Hulu Addons, Prime Video Channels)
  • Output also includes TMDB and IMDb ids for every show.

Installation

Run

go get github.com/movieofthenight/go-streaming-availability/v2

Usage

package main

import "github.com/movieofthenight/go-streaming-availability/v2"

const RapidApiKey = "PUT_YOUR_RAPIDAPI_KEY_HERE"

func main() {
	configuration := streaming.NewConfiguration()
	configuration.AddDefaultHeader("X-RapidAPI-Key", RapidApiKey)
	client := streaming.NewAPIClient(configuration).DefaultAPI
	// Start using the client
}

Examples

Get The Dark Knight's Streaming Info
package main

import (
	"context"
	"fmt"
	"log"
	"strings"

	"github.com/movieofthenight/go-streaming-availability/v2"
)

func main() {
	const RapidApiKey = "PUT_YOUR_RAPIDAPI_KEY_HERE"

	configuration := streaming.NewConfiguration()
	configuration.AddDefaultHeader("X-RapidAPI-Key", RapidApiKey)
	client := streaming.NewAPIClient(configuration).DefaultAPI

	country := "us"       // Update with other country codes as you want, we support 58 countries!
	imdbId := "tt0468569" // Imdb id of The Dark Knight

	response, _, err := client.GetById(context.Background()).ImdbId(imdbId).Execute()
	if err != nil {
		log.Fatal(err)
	}
	result := response.Result
	for _, streamingOption := range result.StreamingInfo[country] {
		fmt.Printf("%s (%d) is available on %s via %s at link %s", result.GetTitle(), result.GetYear(), streamingOption.GetService(), streamingOption.GetStreamingType(), streamingOption.GetLink())
		if streamingOption.HasQuality() {
			fmt.Printf(" with %s quality", strings.ToUpper(streamingOption.GetQuality()))
		}
		if streamingOption.HasPrice() {
			fmt.Printf(" for %s", streamingOption.Price.Formatted)
		}
		fmt.Println()
	}
}

Checkout example_test.go file for the rest of the examples.

Terms & Conditions and Attribution

While the client libraries have MIT licenses, the Streaming Availability API itself has further Terms & Conditions. Make sure to read it before using the API.

Notably, the API requires an attribution to itself, if the data acquired through is made public. You can read further about the attribution requirement on the Terms & Conditions page.

FAQ

  • I run into an issue. How can I get help?

    • If the issue is related to the API itself, please create a post here, and we will help with the issue.
    • If the issue is specific to a client library, then you can create a new issue on the respective repository of the library.
  • API returned me some wrong data. What can I do?

    • Send us a message with details of your findings. You can click on the "Contact" button on this page. Once we receive the message we will take a look into the problems and fix the data.
  • I have a request to get a new streaming service supported by the API.

    • Send us a message by clicking on the "Contact" button on this page, and we will get back to you.
  • I need a client library in another language.

    • Send us a message by clicking on the "Contact" button on this page, and we will get back to you.
  • I need further details (e.g. posters, summaries, cast) about the shows. What can I do?

    • Streaming Availability API works very well with TMDB API, which can provide all the other info (that is not related to streaming availability) you need. You can pass the returned tmdbId field to the TMDB API's movie-details or tv-series-details endpoints and get the other details of the shows.
  • What is the difference between Streaming Availability API and TMDB API?

    • The Movie Database (TMDB) is a community built movie and TV database, similar to IMDb. Their free API provides access to their database which includes posters, summaries, cast, and many other details about the shows. TMDB API's own streaming availability information data does not include deep links or any of the other features of this API such as available subtitles, audios, video qualities etc. Thus Streaming Availability API and TMDB API work hand in hand to get you all the details of the shows.
  • What is RapidAPI?

    • RapidAPI is the world's largest API marketplace. We use RapidAPI to handle the API subscriptions for us. You can instantly subscribe to Streaming Availability on RapidAPI and start using the Streaming Availability API through RapidAPI right away.

Client Libraries

  1. Go
  2. TypeScript/JavaScript

Services Supported

Service Id Service Name Supported Countries
netflix Netflix 57 Countries
prime Amazon Prime Video 56 Countries
disney Disney+ 35 Countries
hbo HBO Max 24 Countries
hulu Hulu United States
peacock Peacock United States
paramount Paramount+ 18 Countries
starz Starz United States
showtime Showtime United States
apple Apple TV 52 Countries
mubi Mubi 55 Countries
stan Stan Australia
now Now United Kingdom, Ireland, Italy
crave Crave Canada
all4 Channel 4 United Kingdom, Ireland
iplayer BBC iPlayer United Kingdom
britbox BritBox United Kingdom, United States, Canada, Australia, South Africa
hotstar Hotstar India, Canada, United Kingdom, Singapore
zee5 Zee5 58 Countries
curiosity Curiosity Stream 57 Countries
wow Wow Germany

Countries Supported

Country Code Country Name
ae United Emirates
ar Argentina
at Austria
au Australia
az Azerbaijan
be Belgium
bg Bulgaria
br Brazil
ca Canada
ch Switzerland
cl Chile
co Colombia
cy Cyprus
cz Czech Republic
de Germany
dk Denmark
ec Ecuador
ee Estonia
es Spain
fi Finland
fr France
gb United Kingdom
gr Greece
hk Hong Kong
hr Croatia
hu Hungary
id Indonesia
ie Ireland
il Israel
in India
is Iceland
it Italy
jp Japan
kr South Korea
lt Lithuania
md Moldova
mk North Macedonia
mx Mexico
my Malaysia
nl Netherlands
no Norway
nz New Zealand
pa Panama
pe Peru
ph Philippines
pl Poland
pt Portugal
ro Romania
rs Serbia
ru Russia
se Sweden
sg Singapore
th Thailand
tr Turkey
ua Ukraine
us United States
vn Vietnam
za South Africa

Documentation

Index

Examples

Constants

This section is empty.

Variables

View Source
var (
	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)
View Source
var AllowedStreamingTypeEnumValues = []StreamingType{
	"free",
	"subscription",
	"buy",
	"rent",
	"addon",
}

All allowed values of StreamingType enum

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	DefaultAPI *DefaultAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the Streaming Availability API API v3.2.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

Example
const RapidApiKey = "PUT_YOUR_RAPIDAPI_KEY_HERE"
configuration := streaming.NewConfiguration()
configuration.AddDefaultHeader("X-RapidAPI-Key", RapidApiKey)
streaming.NewAPIClient(configuration)
Output:

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type Addon

type Addon struct {
	// Id of the addon.
	Id string `json:"id"`
	// Name of the addon.
	DisplayName string `json:"displayName"`
	// Link to the homepage of the addon.
	HomePage string `json:"homePage"`
	// Associated theme color hex code of the addon.
	ThemeColorCode string `json:"themeColorCode"`
	// Link to the logo of the addon.
	Image string `json:"image"`
}

Addon Details of an addon.

func NewAddon

func NewAddon(id string, displayName string, homePage string, themeColorCode string, image string) *Addon

NewAddon instantiates a new Addon object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAddonWithDefaults

func NewAddonWithDefaults() *Addon

NewAddonWithDefaults instantiates a new Addon object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Addon) GetDisplayName

func (o *Addon) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*Addon) GetDisplayNameOk

func (o *Addon) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.

func (*Addon) GetHomePage

func (o *Addon) GetHomePage() string

GetHomePage returns the HomePage field value

func (*Addon) GetHomePageOk

func (o *Addon) GetHomePageOk() (*string, bool)

GetHomePageOk returns a tuple with the HomePage field value and a boolean to check if the value has been set.

func (*Addon) GetId

func (o *Addon) GetId() string

GetId returns the Id field value

func (*Addon) GetIdOk

func (o *Addon) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Addon) GetImage

func (o *Addon) GetImage() string

GetImage returns the Image field value

func (*Addon) GetImageOk

func (o *Addon) GetImageOk() (*string, bool)

GetImageOk returns a tuple with the Image field value and a boolean to check if the value has been set.

func (*Addon) GetThemeColorCode

func (o *Addon) GetThemeColorCode() string

GetThemeColorCode returns the ThemeColorCode field value

func (*Addon) GetThemeColorCodeOk

func (o *Addon) GetThemeColorCodeOk() (*string, bool)

GetThemeColorCodeOk returns a tuple with the ThemeColorCode field value and a boolean to check if the value has been set.

func (Addon) MarshalJSON

func (o Addon) MarshalJSON() ([]byte, error)

func (*Addon) SetDisplayName

func (o *Addon) SetDisplayName(v string)

SetDisplayName sets field value

func (*Addon) SetHomePage

func (o *Addon) SetHomePage(v string)

SetHomePage sets field value

func (*Addon) SetId

func (o *Addon) SetId(v string)

SetId sets field value

func (*Addon) SetImage

func (o *Addon) SetImage(v string)

SetImage sets field value

func (*Addon) SetThemeColorCode

func (o *Addon) SetThemeColorCode(v string)

SetThemeColorCode sets field value

func (Addon) ToMap

func (o Addon) ToMap() (map[string]interface{}, error)

type ApiChangesRequest

type ApiChangesRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiChangesRequest) ChangeType

func (r ApiChangesRequest) ChangeType(changeType string) ApiChangesRequest

Type of change to query.

func (ApiChangesRequest) Country

func (r ApiChangesRequest) Country(country string) ApiChangesRequest

[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code of the target country. See \"/countries\" endpoint to get the list of supported countries.

func (ApiChangesRequest) Cursor

func (r ApiChangesRequest) Cursor(cursor string) ApiChangesRequest

Cursor is used for pagination. After each request, the response includes a \"hasMore\" boolean field to tell if there are more results that did not fit into the returned list. If it is set as \"true\", to get the rest of the result set, send a new request (with the same parameters for other fields such as \"services\" etc.), and set the \"cursor\" parameter as the \"nextCursor\" value of the previous request response. Do not forget to escape the \"cursor\" value before putting it into a query as it might contain characters such as \"?\"and \"&\". The first request naturally does not require a \"cursor\" parameter.

func (ApiChangesRequest) Desc

The results are ordered in descending order if set true.

func (ApiChangesRequest) Execute

func (ApiChangesRequest) OutputLanguage

func (r ApiChangesRequest) OutputLanguage(outputLanguage string) ApiChangesRequest

[ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) code of the output language. Determines in which language the output field \"title\" will be in. It also effects how the keyword input will be handled in search endpoints. (i.e. if \"output_language\" is \"es\", then the \"keyword\" will be treated as a Spanish word).

func (ApiChangesRequest) Services

func (r ApiChangesRequest) Services(services string) ApiChangesRequest

A comma separated list of up to services to search in. See \"/services\" endpoint to get the supported services and their ids/names. Maximum amount of services allowed depends on the endpoint. If a service supports both \"free\" and \"subscription\", then results included under \"subscription\" will always include the \"free\" shows as well. When multiple values are passed as a comma separated list, any show that satisfies at least one of the values will be included in the result. Syntax of the values supplied in the list can be as the followings: - \"<sevice_id>\": Searches in the entire catalog of that service, including (if applicable) rentable, buyable shows or shows available through addons i.e. \"netflix\", \"prime\", \"apple\" - \"<sevice_id>.<streaming_type>\": Only returns the shows that are available in that service with the given streaming type. Valid streaming type values are \"subscription\", \"free\", \"rent\", \"buy\" and \"addon\" i.e. \"peacock.free\" only returns the shows on Peacock that are free to watch, \"prime.subscription\" only returns the shows on Prime Video that are available to watch with a Prime subscription. \"hulu.addon\" only returns the shows on Hulu that are available via an addon, \"prime.rent\" only returns the shows on Prime Video that are rentable. - \"<sevice_id>.addon.<addon_id>\": Only returns the shows that are available in that service with the given addon. Check \"/services\" endpoint to fetch the available addons for a service. Some sample values are: \"hulu.addon.hbo\", \"prime.addon.hbomaxus\".

func (ApiChangesRequest) Since

func (r ApiChangesRequest) Since(since int32) ApiChangesRequest

[Unix Time Stamp](https://www.unixtimestamp.com/) to only query the changes since then. Must be within the past \"31\" days. If not supplied, the changes withing the past \"15\" days are returned.

func (ApiChangesRequest) TargetType

func (r ApiChangesRequest) TargetType(targetType string) ApiChangesRequest

Type of items to search in.

type ApiCountriesRequest

type ApiCountriesRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiCountriesRequest) Execute

type ApiGenresRequest

type ApiGenresRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiGenresRequest) Execute

type ApiGetByIdRequest

type ApiGetByIdRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiGetByIdRequest) Execute

func (ApiGetByIdRequest) ImdbId

func (r ApiGetByIdRequest) ImdbId(imdbId string) ApiGetByIdRequest

IMDb ID of the target show. Either this or \"tmdb_id\" parameter must be supplied.

func (ApiGetByIdRequest) OutputLanguage

func (r ApiGetByIdRequest) OutputLanguage(outputLanguage string) ApiGetByIdRequest

[ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) code of the output language. Determines in which language the output field \"title\" will be in. It also effects how the keyword input will be handled in search endpoints. (i.e. if \"output_language\" is \"es\", then the \"keyword\" will be treated as a Spanish word).

func (ApiGetByIdRequest) SeriesGranularity

func (r ApiGetByIdRequest) SeriesGranularity(seriesGranularity string) ApiGetByIdRequest

\"series_granularity\" determines the level of detail for series. It does not affect movies. If \"series_granularity\" is \"show\", then the output will not include season and episode info. If \"series_granularity\" is \"season\", then the output will include season info but not episode info. If \"series_granularity\" is \"episode\", then the output will include season and episode info. If you do not need season and episode info, then it is recommended to set \"series_granularity\" as \"show\" to reduce the size of the response and increase the performance. Depending on the query (i.e. if the result set includes series with high amount of seasons/episodes), this can reduce the response size and the response time drastically. If you need deep links for individual seasons and episodes, then you should set \"series_granularity\" as \"episode\". In this case response will include full streaming info for seasons and episodes, similar to the streaming info for movies and series; including deep links into seasons and episodes, individual subtitle/audio and video quality info etc. If \"series_granularity\" is not supplied, then it is set as \"episode\" by default.

func (ApiGetByIdRequest) TmdbId

func (r ApiGetByIdRequest) TmdbId(tmdbId string) ApiGetByIdRequest

TMDb ID of the target show. Either this or \"imdb_id\" parameter must be supplied

type ApiLeavingRequest

type ApiLeavingRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiLeavingRequest) Country

func (r ApiLeavingRequest) Country(country string) ApiLeavingRequest

[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code of the target country. See \"/countries\" endpoint to get the list of supported countries.

func (ApiLeavingRequest) Cursor

func (r ApiLeavingRequest) Cursor(cursor string) ApiLeavingRequest

Cursor is used for pagination. After each request, the response includes a \"hasMore\" boolean field to tell if there are more results that did not fit into the returned list. If it is set as \"true\", to get the rest of the result set, send a new request (with the same parameters for other fields such as \"services\" etc.), and set the \"cursor\" parameter as the \"nextCursor\" value of the previous request response. Do not forget to escape the \"cursor\" value before putting it into a query as it might contain characters such as \"?\"and \"&\". The first request naturally does not require a \"cursor\" parameter.

func (ApiLeavingRequest) Execute

func (ApiLeavingRequest) OutputLanguage

func (r ApiLeavingRequest) OutputLanguage(outputLanguage string) ApiLeavingRequest

[ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) code of the output language. Determines in which language the output field \"title\" will be in. It also effects how the keyword input will be handled in search endpoints. (i.e. if \"output_language\" is \"es\", then the \"keyword\" will be treated as a Spanish word).

func (ApiLeavingRequest) Services

func (r ApiLeavingRequest) Services(services string) ApiLeavingRequest

A comma separated list of up to services to search in. See \"/services\" endpoint to get the supported services and their ids/names. Maximum amount of services allowed depends on the endpoint. If a service supports both \"free\" and \"subscription\", then results included under \"subscription\" will always include the \"free\" shows as well. When multiple values are passed as a comma separated list, any show that satisfies at least one of the values will be included in the result. Syntax of the values supplied in the list can be as the followings: - \"<sevice_id>\": Searches in the entire catalog of that service, including (if applicable) rentable, buyable shows or shows available through addons i.e. \"netflix\", \"prime\", \"apple\" - \"<sevice_id>.<streaming_type>\": Only returns the shows that are available in that service with the given streaming type. Valid streaming type values are \"subscription\", \"free\", \"rent\", \"buy\" and \"addon\" i.e. \"peacock.free\" only returns the shows on Peacock that are free to watch, \"prime.subscription\" only returns the shows on Prime Video that are available to watch with a Prime subscription. \"hulu.addon\" only returns the shows on Hulu that are available via an addon, \"prime.rent\" only returns the shows on Prime Video that are rentable. - \"<sevice_id>.addon.<addon_id>\": Only returns the shows that are available in that service with the given addon. Check \"/services\" endpoint to fetch the available addons for a service. Some sample values are: \"hulu.addon.hbo\", \"prime.addon.hbomaxus\".

func (ApiLeavingRequest) TargetType

func (r ApiLeavingRequest) TargetType(targetType string) ApiLeavingRequest

Type of items to search in.

type ApiSearchByFiltersRequest

type ApiSearchByFiltersRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiSearchByFiltersRequest) Country

[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code of the target country. See \"/countries\" endpoint to get the list of supported countries.

func (ApiSearchByFiltersRequest) Cursor

Cursor is used for pagination. After each request, the response includes a \"hasMore\" boolean field to tell if there are more results that did not fit into the returned list. If it is set as \"true\", to get the rest of the result set, send a new request (with the same parameters for other fields such as \"services\" etc.), and set the \"cursor\" parameter as the \"nextCursor\" value of the previous request response. Do not forget to escape the \"cursor\" value before putting it into a query as it might contain characters such as \"?\"and \"&\". The first request naturally does not require a \"cursor\" parameter.

func (ApiSearchByFiltersRequest) Desc

The results are ordered in descending order if set true.

func (ApiSearchByFiltersRequest) Execute

func (ApiSearchByFiltersRequest) Genres

A comma seperated list of genre ids to only search within the shows in those genre. See \"/genres\" endpoint to see the available genres and their ids. Use \"genres_relation\" parameter to specify between returning shows that have at least one of the given genres or returning shows that have all of the given genres.

func (ApiSearchByFiltersRequest) GenresRelation

func (r ApiSearchByFiltersRequest) GenresRelation(genresRelation string) ApiSearchByFiltersRequest

Only used when there are multiple genres supplied in \"genres\" parameter. When \"or\", the endpoint returns any show that has at least one of the given genres. When \"and\", it only returns the shows that have all of the given genres.

func (ApiSearchByFiltersRequest) Keyword

A keyword to only search within the shows have that keyword in their overview or title.

func (ApiSearchByFiltersRequest) OrderBy

Determines the ordering of the results.

func (ApiSearchByFiltersRequest) OutputLanguage

func (r ApiSearchByFiltersRequest) OutputLanguage(outputLanguage string) ApiSearchByFiltersRequest

[ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) code of the output language. Determines in which language the output field \"title\" will be in. It also effects how the keyword input will be handled in search endpoints. (i.e. if \"output_language\" is \"es\", then the \"keyword\" will be treated as a Spanish word).

func (ApiSearchByFiltersRequest) SeriesGranularity

func (r ApiSearchByFiltersRequest) SeriesGranularity(seriesGranularity string) ApiSearchByFiltersRequest

\"series_granularity\" determines the level of detail for series. It does not affect movies. If \"series_granularity\" is \"show\", then the output will not include season and episode info. If \"series_granularity\" is \"season\", then the output will include season info but not episode info. If \"series_granularity\" is \"episode\", then the output will include season and episode info. If you do not need season and episode info, then it is recommended to set \"series_granularity\" as \"show\" to reduce the size of the response and increase the performance. Depending on the query (i.e. if the result set includes series with high amount of seasons/episodes), this can reduce the response size and the response time drastically. If you need deep links for individual seasons and episodes, then you should set \"series_granularity\" as \"episode\". In this case response will include full streaming info for seasons and episodes, similar to the streaming info for movies and series; including deep links into seasons and episodes, individual subtitle/audio and video quality info etc. If \"series_granularity\" is not supplied, then it is set as \"episode\" by default.

func (ApiSearchByFiltersRequest) Services

A comma separated list of up to services to search in. See \"/services\" endpoint to get the supported services and their ids/names. Maximum amount of services allowed depends on the endpoint. If a service supports both \"free\" and \"subscription\", then results included under \"subscription\" will always include the \"free\" shows as well. When multiple values are passed as a comma separated list, any show that satisfies at least one of the values will be included in the result. Syntax of the values supplied in the list can be as the followings: - \"<sevice_id>\": Searches in the entire catalog of that service, including (if applicable) rentable, buyable shows or shows available through addons i.e. \"netflix\", \"prime\", \"apple\" - \"<sevice_id>.<streaming_type>\": Only returns the shows that are available in that service with the given streaming type. Valid streaming type values are \"subscription\", \"free\", \"rent\", \"buy\" and \"addon\" i.e. \"peacock.free\" only returns the shows on Peacock that are free to watch, \"prime.subscription\" only returns the shows on Prime Video that are available to watch with a Prime subscription. \"hulu.addon\" only returns the shows on Hulu that are available via an addon, \"prime.rent\" only returns the shows on Prime Video that are rentable. - \"<sevice_id>.addon.<addon_id>\": Only returns the shows that are available in that service with the given addon. Check \"/services\" endpoint to fetch the available addons for a service. Some sample values are: \"hulu.addon.hbo\", \"prime.addon.hbomaxus\".

func (ApiSearchByFiltersRequest) ShowOriginalLanguage

func (r ApiSearchByFiltersRequest) ShowOriginalLanguage(showOriginalLanguage string) ApiSearchByFiltersRequest

[ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) language code to only search within the shows whose original language matches with the provided language.

func (ApiSearchByFiltersRequest) ShowType

Type of shows to search in.

func (ApiSearchByFiltersRequest) YearMax

Maximum release/air year of the shows.

func (ApiSearchByFiltersRequest) YearMin

Minimum release/air year of the shows.

type ApiSearchByTitleRequest

type ApiSearchByTitleRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiSearchByTitleRequest) Country

[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code of the target country. See \"/countries\" endpoint to get the list of supported countries.

func (ApiSearchByTitleRequest) Execute

func (ApiSearchByTitleRequest) OutputLanguage

func (r ApiSearchByTitleRequest) OutputLanguage(outputLanguage string) ApiSearchByTitleRequest

[ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) code of the output language. Determines in which language the output field \"title\" will be in. It also effects how the keyword input will be handled in search endpoints. (i.e. if \"output_language\" is \"es\", then the \"keyword\" will be treated as a Spanish word).

func (ApiSearchByTitleRequest) SeriesGranularity

func (r ApiSearchByTitleRequest) SeriesGranularity(seriesGranularity string) ApiSearchByTitleRequest

\"series_granularity\" determines the level of detail for series. It does not affect movies. If \"series_granularity\" is \"show\", then the output will not include season and episode info. If \"series_granularity\" is \"season\", then the output will include season info but not episode info. If \"series_granularity\" is \"episode\", then the output will include season and episode info. If you do not need season and episode info, then it is recommended to set \"series_granularity\" as \"show\" to reduce the size of the response and increase the performance. Depending on the query (i.e. if the result set includes series with high amount of seasons/episodes), this can reduce the response size and the response time drastically. If you need deep links for individual seasons and episodes, then you should set \"series_granularity\" as \"episode\". In this case response will include full streaming info for seasons and episodes, similar to the streaming info for movies and series; including deep links into seasons and episodes, individual subtitle/audio and video quality info etc. If \"series_granularity\" is not supplied, then it is set as \"episode\" by default.

func (ApiSearchByTitleRequest) ShowType

Type of shows to search in.

func (ApiSearchByTitleRequest) Title

Title phrase to search for.

type ApiServicesRequest

type ApiServicesRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiServicesRequest) Execute

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type Change

type Change struct {
	// Season number. Omitted if \"target_type\" is not \"season\"or \"episode\".
	Season *int32 `json:"season,omitempty"`
	// Episode number. Omitted if \"target_type\" is not \"episode\".
	Episode *int32 `json:"episode,omitempty"`
	// Service id of the change.
	Service       string        `json:"service"`
	StreamingType StreamingType `json:"streamingType"`
	// Addon id, if the \"streamingType\" is \"addon\". Otherwise omitted.
	Addon *string `json:"addon,omitempty"`
	// [Unix Time Stamp](https://www.unixtimestamp.com/) of the change.
	Time int32 `json:"time"`
}

Change A past or upcoming change in a catalog.

func NewChange

func NewChange(service string, streamingType StreamingType, time int32) *Change

NewChange instantiates a new Change object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewChangeWithDefaults

func NewChangeWithDefaults() *Change

NewChangeWithDefaults instantiates a new Change object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Change) GetAddon

func (o *Change) GetAddon() string

GetAddon returns the Addon field value if set, zero value otherwise.

func (*Change) GetAddonOk

func (o *Change) GetAddonOk() (*string, bool)

GetAddonOk returns a tuple with the Addon field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Change) GetEpisode

func (o *Change) GetEpisode() int32

GetEpisode returns the Episode field value if set, zero value otherwise.

func (*Change) GetEpisodeOk

func (o *Change) GetEpisodeOk() (*int32, bool)

GetEpisodeOk returns a tuple with the Episode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Change) GetSeason

func (o *Change) GetSeason() int32

GetSeason returns the Season field value if set, zero value otherwise.

func (*Change) GetSeasonOk

func (o *Change) GetSeasonOk() (*int32, bool)

GetSeasonOk returns a tuple with the Season field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Change) GetService

func (o *Change) GetService() string

GetService returns the Service field value

func (*Change) GetServiceOk

func (o *Change) GetServiceOk() (*string, bool)

GetServiceOk returns a tuple with the Service field value and a boolean to check if the value has been set.

func (*Change) GetStreamingType

func (o *Change) GetStreamingType() StreamingType

GetStreamingType returns the StreamingType field value

func (*Change) GetStreamingTypeOk

func (o *Change) GetStreamingTypeOk() (*StreamingType, bool)

GetStreamingTypeOk returns a tuple with the StreamingType field value and a boolean to check if the value has been set.

func (*Change) GetTime

func (o *Change) GetTime() int32

GetTime returns the Time field value

func (*Change) GetTimeOk

func (o *Change) GetTimeOk() (*int32, bool)

GetTimeOk returns a tuple with the Time field value and a boolean to check if the value has been set.

func (*Change) HasAddon

func (o *Change) HasAddon() bool

HasAddon returns a boolean if a field has been set.

func (*Change) HasEpisode

func (o *Change) HasEpisode() bool

HasEpisode returns a boolean if a field has been set.

func (*Change) HasSeason

func (o *Change) HasSeason() bool

HasSeason returns a boolean if a field has been set.

func (Change) MarshalJSON

func (o Change) MarshalJSON() ([]byte, error)

func (*Change) SetAddon

func (o *Change) SetAddon(v string)

SetAddon gets a reference to the given string and assigns it to the Addon field.

func (*Change) SetEpisode

func (o *Change) SetEpisode(v int32)

SetEpisode gets a reference to the given int32 and assigns it to the Episode field.

func (*Change) SetSeason

func (o *Change) SetSeason(v int32)

SetSeason gets a reference to the given int32 and assigns it to the Season field.

func (*Change) SetService

func (o *Change) SetService(v string)

SetService sets field value

func (*Change) SetStreamingType

func (o *Change) SetStreamingType(v StreamingType)

SetStreamingType sets field value

func (*Change) SetTime

func (o *Change) SetTime(v int32)

SetTime sets field value

func (Change) ToMap

func (o Change) ToMap() (map[string]interface{}, error)

type ChangeSet

type ChangeSet struct {
	Changes []Change `json:"changes"`
	Show    Show     `json:"show"`
}

ChangeSet struct for ChangeSet

func NewChangeSet

func NewChangeSet(changes []Change, show Show) *ChangeSet

NewChangeSet instantiates a new ChangeSet object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewChangeSetWithDefaults

func NewChangeSetWithDefaults() *ChangeSet

NewChangeSetWithDefaults instantiates a new ChangeSet object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ChangeSet) GetChanges

func (o *ChangeSet) GetChanges() []Change

GetChanges returns the Changes field value

func (*ChangeSet) GetChangesOk

func (o *ChangeSet) GetChangesOk() ([]Change, bool)

GetChangesOk returns a tuple with the Changes field value and a boolean to check if the value has been set.

func (*ChangeSet) GetShow

func (o *ChangeSet) GetShow() Show

GetShow returns the Show field value

func (*ChangeSet) GetShowOk

func (o *ChangeSet) GetShowOk() (*Show, bool)

GetShowOk returns a tuple with the Show field value and a boolean to check if the value has been set.

func (ChangeSet) MarshalJSON

func (o ChangeSet) MarshalJSON() ([]byte, error)

func (*ChangeSet) SetChanges

func (o *ChangeSet) SetChanges(v []Change)

SetChanges sets field value

func (*ChangeSet) SetShow

func (o *ChangeSet) SetShow(v Show)

SetShow sets field value

func (ChangeSet) ToMap

func (o ChangeSet) ToMap() (map[string]interface{}, error)

type ChangesResponseSchema

type ChangesResponseSchema struct {
	// Array of the results matched with the query.
	Result []ChangeSet `json:"result"`
	// Whether there are more results to be loaded.
	HasMore bool `json:"hasMore"`
	// Cursor value to pass to get next set of the results. An empty string if \"hasMore\" is \"false\".
	NextCursor string `json:"nextCursor"`
}

ChangesResponseSchema struct for ChangesResponseSchema

func NewChangesResponseSchema

func NewChangesResponseSchema(result []ChangeSet, hasMore bool, nextCursor string) *ChangesResponseSchema

NewChangesResponseSchema instantiates a new ChangesResponseSchema object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewChangesResponseSchemaWithDefaults

func NewChangesResponseSchemaWithDefaults() *ChangesResponseSchema

NewChangesResponseSchemaWithDefaults instantiates a new ChangesResponseSchema object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ChangesResponseSchema) GetHasMore

func (o *ChangesResponseSchema) GetHasMore() bool

GetHasMore returns the HasMore field value

func (*ChangesResponseSchema) GetHasMoreOk

func (o *ChangesResponseSchema) GetHasMoreOk() (*bool, bool)

GetHasMoreOk returns a tuple with the HasMore field value and a boolean to check if the value has been set.

func (*ChangesResponseSchema) GetNextCursor

func (o *ChangesResponseSchema) GetNextCursor() string

GetNextCursor returns the NextCursor field value

func (*ChangesResponseSchema) GetNextCursorOk

func (o *ChangesResponseSchema) GetNextCursorOk() (*string, bool)

GetNextCursorOk returns a tuple with the NextCursor field value and a boolean to check if the value has been set.

func (*ChangesResponseSchema) GetResult

func (o *ChangesResponseSchema) GetResult() []ChangeSet

GetResult returns the Result field value

func (*ChangesResponseSchema) GetResultOk

func (o *ChangesResponseSchema) GetResultOk() ([]ChangeSet, bool)

GetResultOk returns a tuple with the Result field value and a boolean to check if the value has been set.

func (ChangesResponseSchema) MarshalJSON

func (o ChangesResponseSchema) MarshalJSON() ([]byte, error)

func (*ChangesResponseSchema) SetHasMore

func (o *ChangesResponseSchema) SetHasMore(v bool)

SetHasMore sets field value

func (*ChangesResponseSchema) SetNextCursor

func (o *ChangesResponseSchema) SetNextCursor(v string)

SetNextCursor sets field value

func (*ChangesResponseSchema) SetResult

func (o *ChangesResponseSchema) SetResult(v []ChangeSet)

SetResult sets field value

func (ChangesResponseSchema) ToMap

func (o ChangesResponseSchema) ToMap() (map[string]interface{}, error)

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

Example
const RapidApiKey = "PUT_YOUR_RAPIDAPI_KEY_HERE"
configuration := streaming.NewConfiguration()
configuration.AddDefaultHeader("X-RapidAPI-Key", RapidApiKey)
Output:

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type CountriesResponseSchema

type CountriesResponseSchema struct {
	// Map of country code to country details.
	Result map[string]Country `json:"result"`
}

CountriesResponseSchema struct for CountriesResponseSchema

func NewCountriesResponseSchema

func NewCountriesResponseSchema(result map[string]Country) *CountriesResponseSchema

NewCountriesResponseSchema instantiates a new CountriesResponseSchema object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCountriesResponseSchemaWithDefaults

func NewCountriesResponseSchemaWithDefaults() *CountriesResponseSchema

NewCountriesResponseSchemaWithDefaults instantiates a new CountriesResponseSchema object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CountriesResponseSchema) GetResult

func (o *CountriesResponseSchema) GetResult() map[string]Country

GetResult returns the Result field value

func (*CountriesResponseSchema) GetResultOk

func (o *CountriesResponseSchema) GetResultOk() (*map[string]Country, bool)

GetResultOk returns a tuple with the Result field value and a boolean to check if the value has been set.

func (CountriesResponseSchema) MarshalJSON

func (o CountriesResponseSchema) MarshalJSON() ([]byte, error)

func (*CountriesResponseSchema) SetResult

func (o *CountriesResponseSchema) SetResult(v map[string]Country)

SetResult sets field value

func (CountriesResponseSchema) ToMap

func (o CountriesResponseSchema) ToMap() (map[string]interface{}, error)

type Country

type Country struct {
	// 2-letter ISO code of the country.
	CountryCode string `json:"countryCode"`
	// Name of the country.
	Name string `json:"name"`
	// Map of service id to details of the service in this country.
	Services map[string]Service `json:"services"`
}

Country Details of a country.

func NewCountry

func NewCountry(countryCode string, name string, services map[string]Service) *Country

NewCountry instantiates a new Country object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCountryWithDefaults

func NewCountryWithDefaults() *Country

NewCountryWithDefaults instantiates a new Country object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Country) GetCountryCode

func (o *Country) GetCountryCode() string

GetCountryCode returns the CountryCode field value

func (*Country) GetCountryCodeOk

func (o *Country) GetCountryCodeOk() (*string, bool)

GetCountryCodeOk returns a tuple with the CountryCode field value and a boolean to check if the value has been set.

func (*Country) GetName

func (o *Country) GetName() string

GetName returns the Name field value

func (*Country) GetNameOk

func (o *Country) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Country) GetServices

func (o *Country) GetServices() map[string]Service

GetServices returns the Services field value

func (*Country) GetServicesOk

func (o *Country) GetServicesOk() (*map[string]Service, bool)

GetServicesOk returns a tuple with the Services field value and a boolean to check if the value has been set.

func (Country) MarshalJSON

func (o Country) MarshalJSON() ([]byte, error)

func (*Country) SetCountryCode

func (o *Country) SetCountryCode(v string)

SetCountryCode sets field value

func (*Country) SetName

func (o *Country) SetName(v string)

SetName sets field value

func (*Country) SetServices

func (o *Country) SetServices(v map[string]Service)

SetServices sets field value

func (Country) ToMap

func (o Country) ToMap() (map[string]interface{}, error)

type DefaultAPIService

type DefaultAPIService service

DefaultAPIService DefaultAPI service

func (*DefaultAPIService) Changes

Changes Changes

Query the new, removed or updated movies/series/seasons/episodes in a given list of streaming services. Results are ordered by the date of the changes. Changes listed per page is "25" when "target_type" is "show", "movie" or "series"; "50" when it is "season"; and "100" when it is "episode". Note that changes for the same show are aggregated together into a single "changes" array for that show. Which means there might be cases where the count of the items in the result array might be fewer than the maximum changes listed per page. (i.e. When "target_type" is "season", there might be 10 items in the result array, but the overall total number of changes listed across the "changes" arrays will be still 50, given that there are at least 50 changes matches with the given query.)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiChangesRequest

func (*DefaultAPIService) ChangesExecute

Execute executes the request

@return ChangesResponseSchema

func (*DefaultAPIService) Countries

Countries Countries

Get all the supported countries and the list of the supported services and their details for each country. Details of services include names, logos, supported streaming types (subscription, rent, buy, free etc.) and list of available addons/channels.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCountriesRequest

func (*DefaultAPIService) CountriesExecute

Execute executes the request

@return CountriesResponseSchema

func (*DefaultAPIService) Genres

Genres Genres

Get the ids and names of the supported genres.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGenresRequest

func (*DefaultAPIService) GenresExecute

Execute executes the request

@return GenresResponseSchema

func (*DefaultAPIService) GetById

GetById Get by Id

Get the details of a show via IMDb or TMDb id, including the global streaming availability info.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetByIdRequest
Example

Get The Dark Knight's Streaming Info

const RapidApiKey = "PUT_YOUR_RAPIDAPI_KEY_HERE"

configuration := streaming.NewConfiguration()
configuration.AddDefaultHeader("X-RapidAPI-Key", RapidApiKey)
client := streaming.NewAPIClient(configuration).DefaultAPI

country := "us"
imdbId := "tt0468569" // Imdb id of The Dark Knight

response, _, err := client.GetById(context.Background()).ImdbId(imdbId).Execute()
if err != nil {
	log.Fatal(err)
}
result := response.Result
for _, streamingOption := range result.StreamingInfo[country] {
	fmt.Printf("%s is available on %s via %s at link %s", result.GetTitle(), streamingOption.GetService(), streamingOption.GetStreamingType(), streamingOption.GetLink())
	if streamingOption.HasQuality() {
		fmt.Printf(" with %s quality", strings.ToUpper(streamingOption.GetQuality()))
	}
	if streamingOption.HasPrice() {
		fmt.Printf(" for %s", streamingOption.Price.Formatted)
	}
	fmt.Println()
}
Output:

func (*DefaultAPIService) GetByIdExecute

Execute executes the request

@return GetResponseSchema

func (*DefaultAPIService) Leaving

Leaving Leaving

Query for the leaving movies/series/seasons/episodes in a given list of streaming services. Results are ordered by the last day to watch. Changes listed per page is "25" when "target_type" is "show", "movie" or "series"; "50" when it is "season"; and "100" when it is "episode". Note that upcoming changes for the same show are aggregated together into a single "upcomingChanges" array for that show. Which means there might be cases where the count of the items in the result array might be fewer than the maximum upcoming changes listed per page. (i.e. When "target_type" is "season", there might be 10 items in the result array, but the overall total number of upcoming changes listed across the "upcomingChanges" arrays will be still 50, given that there are at least 50 upcoming changes matches with the given query.)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiLeavingRequest

func (*DefaultAPIService) LeavingExecute

Execute executes the request

@return UpcomingChangesResponseSchema

func (*DefaultAPIService) SearchByFilters

SearchByFilters Search by Filters

Search through the catalog of the given streaming services in the given country. Provides filters such as show language, genre, keyword and release year. Items per page is "25". Can pass up to "16" services in the "services" parameter Output includes all the information about the shows, such as title, IMDb ID, TMDb ID, release year, link to shows' pages in streaming services (including individual season/episode links), available subtitles, audios, available video quality and many more! Apart from the info about the given country-service combinations, output also includes information about streaming availability in the other services for the given country.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiSearchByFiltersRequest
Example (ScienceFictionMovies)

Search for Science Fiction Movies on Netflix and Disney+

const RapidApiKey = "PUT_YOUR_RAPIDAPI_KEY_HERE"

configuration := streaming.NewConfiguration()
configuration.AddDefaultHeader("X-RapidAPI-Key", RapidApiKey)
client := streaming.NewAPIClient(configuration).DefaultAPI

country := "us"
services := []string{"netflix", "disney"}
showType := "movie"
// 878 is Science-Fiction
// Use Genres endpoint to get the genre ids
genre := "878"
maxPages := 2

var cursor string
for i := 0; i < maxPages; i++ {
	fmt.Printf("Page: %d\n", i)
	response, _, err := client.SearchByFilters(
		context.Background()).
		Country(country).
		Services(strings.Join(services, ",")).
		ShowType(showType).
		Genres(genre).
		Cursor(cursor).
		Execute()
	if err != nil {
		log.Fatal(err)
	}
	for _, show := range response.Result {
		for _, streamingOption := range show.StreamingInfo[country] {
			for _, service := range services {
				if streamingOption.GetService() == service {
					fmt.Printf("%s is available on %s: %s\n", show.Title, service, streamingOption.Link)
				}
			}
		}
	}

	// Break out of the loop if there are no more results to load
	if !response.HasMore {
		break
	}

	// Update the cursor for the next request
	cursor = response.NextCursor
}
Output:

Example (ZombieActionMovies)

Search for Science Fiction Movies on Netflix and Disney+

const RapidApiKey = "PUT_YOUR_RAPIDAPI_KEY_HERE"

configuration := streaming.NewConfiguration()
configuration.AddDefaultHeader("X-RapidAPI-Key", RapidApiKey)
client := streaming.NewAPIClient(configuration).DefaultAPI

country := "us"
services := []string{"netflix", "disney"}
showType := "movie"
// 28 is Science-Fiction
// Use Genres endpoint to get the genre ids
genre := "28"
maxPages := 2
keyword := "zombie"

var cursor string
for i := 0; i < maxPages; i++ {
	fmt.Printf("Page: %d\n", i)
	response, _, err := client.SearchByFilters(
		context.Background()).
		Country(country).
		Services(strings.Join(services, ",")).
		ShowType(showType).
		Genres(genre).
		Keyword(keyword).
		Cursor(cursor).
		Execute()
	if err != nil {
		log.Fatal(err)
	}
	for _, show := range response.Result {
		for _, streamingOption := range show.StreamingInfo[country] {
			for _, service := range services {
				if streamingOption.GetService() == service {
					fmt.Printf("%s is available on %s: %s\n", show.Title, service, streamingOption.Link)
				}
			}
		}
	}

	// Break out of the loop if there are no more results to load
	if !response.HasMore {
		break
	}

	// Update the cursor for the next request
	cursor = response.NextCursor
}
Output:

func (*DefaultAPIService) SearchByFiltersExecute

Execute executes the request

@return SearchFiltersResponseSchema

func (*DefaultAPIService) SearchByTitle

SearchByTitle Search by Title

Search for movies and series by a title. Maximum amount of items returned are "25" unless there are more than 25 shows with the exact given title input. In that case all the items have 100% match with the title will be returned. No pagination is supported.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiSearchByTitleRequest
Example

Search for Spider-Man Movies

const RapidApiKey = "PUT_YOUR_RAPIDAPI_KEY_HERE"

configuration := streaming.NewConfiguration()
configuration.AddDefaultHeader("X-RapidAPI-Key", RapidApiKey)
client := streaming.NewAPIClient(configuration).DefaultAPI

country := "us"
showType := "movie"
title := "Spider-Man"

res, _, err := client.SearchByTitle(context.Background()).
	Title(title).
	ShowType(showType).
	Country(country).
	Execute()

if err != nil {
	log.Fatal(err)
}

// Print the streaming links for each movie
for _, show := range res.Result {
	// If no streaming options are available, then skip
	if len(show.StreamingInfo[country]) == 0 {
		continue
	}
	fmt.Printf("---%s---\n", show.Title)
	for _, streamingOption := range show.StreamingInfo[country] {
		fmt.Printf("%s: %s\n", streamingOption.Service, streamingOption.Link)
	}
}
Output:

func (*DefaultAPIService) SearchByTitleExecute

Execute executes the request

@return SearchTitleResponseSchema

func (*DefaultAPIService) Services

Services Services

Get all the supported streaming services, list of the supported countries for each service and other related details. Note: This endpoint is deprecated. Please use the "/countries" endpoint instead.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiServicesRequest

Deprecated

func (*DefaultAPIService) ServicesExecute

Execute executes the request

@return ServicesResponseSchema

Deprecated

type DeprecatedServiceInfo

type DeprecatedServiceInfo struct {
	// Id of the service.
	Id string `json:"id"`
	// Map of 2-letter country ISO code to details of the service in that country.
	Countries map[string]ServiceCountryInfo `json:"countries"`
}

DeprecatedServiceInfo Details of a service.

func NewDeprecatedServiceInfo

func NewDeprecatedServiceInfo(id string, countries map[string]ServiceCountryInfo) *DeprecatedServiceInfo

NewDeprecatedServiceInfo instantiates a new DeprecatedServiceInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeprecatedServiceInfoWithDefaults

func NewDeprecatedServiceInfoWithDefaults() *DeprecatedServiceInfo

NewDeprecatedServiceInfoWithDefaults instantiates a new DeprecatedServiceInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeprecatedServiceInfo) GetCountries

func (o *DeprecatedServiceInfo) GetCountries() map[string]ServiceCountryInfo

GetCountries returns the Countries field value

func (*DeprecatedServiceInfo) GetCountriesOk

func (o *DeprecatedServiceInfo) GetCountriesOk() (*map[string]ServiceCountryInfo, bool)

GetCountriesOk returns a tuple with the Countries field value and a boolean to check if the value has been set.

func (*DeprecatedServiceInfo) GetId

func (o *DeprecatedServiceInfo) GetId() string

GetId returns the Id field value

func (*DeprecatedServiceInfo) GetIdOk

func (o *DeprecatedServiceInfo) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (DeprecatedServiceInfo) MarshalJSON

func (o DeprecatedServiceInfo) MarshalJSON() ([]byte, error)

func (*DeprecatedServiceInfo) SetCountries

func (o *DeprecatedServiceInfo) SetCountries(v map[string]ServiceCountryInfo)

SetCountries sets field value

func (*DeprecatedServiceInfo) SetId

func (o *DeprecatedServiceInfo) SetId(v string)

SetId sets field value

func (DeprecatedServiceInfo) ToMap

func (o DeprecatedServiceInfo) ToMap() (map[string]interface{}, error)

type Episode

type Episode struct {
	// Type of the item. Always \"episode\".
	Type string `json:"type"`
	// Title of the episode.
	Title string `json:"title"`
	// The year that the movie was released.
	Year int32 `json:"year"`
	// Country to streaming availability info mapping of a show.
	StreamingInfo map[string][]StreamingOption `json:"streamingInfo"`
}

Episode Details of an episode.

func NewEpisode

func NewEpisode(type_ string, title string, year int32, streamingInfo map[string][]StreamingOption) *Episode

NewEpisode instantiates a new Episode object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEpisodeWithDefaults

func NewEpisodeWithDefaults() *Episode

NewEpisodeWithDefaults instantiates a new Episode object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Episode) GetStreamingInfo

func (o *Episode) GetStreamingInfo() map[string][]StreamingOption

GetStreamingInfo returns the StreamingInfo field value

func (*Episode) GetStreamingInfoOk

func (o *Episode) GetStreamingInfoOk() (*map[string][]StreamingOption, bool)

GetStreamingInfoOk returns a tuple with the StreamingInfo field value and a boolean to check if the value has been set.

func (*Episode) GetTitle

func (o *Episode) GetTitle() string

GetTitle returns the Title field value

func (*Episode) GetTitleOk

func (o *Episode) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.

func (*Episode) GetType

func (o *Episode) GetType() string

GetType returns the Type field value

func (*Episode) GetTypeOk

func (o *Episode) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*Episode) GetYear

func (o *Episode) GetYear() int32

GetYear returns the Year field value

func (*Episode) GetYearOk

func (o *Episode) GetYearOk() (*int32, bool)

GetYearOk returns a tuple with the Year field value and a boolean to check if the value has been set.

func (Episode) MarshalJSON

func (o Episode) MarshalJSON() ([]byte, error)

func (*Episode) SetStreamingInfo

func (o *Episode) SetStreamingInfo(v map[string][]StreamingOption)

SetStreamingInfo sets field value

func (*Episode) SetTitle

func (o *Episode) SetTitle(v string)

SetTitle sets field value

func (*Episode) SetType

func (o *Episode) SetType(v string)

SetType sets field value

func (*Episode) SetYear

func (o *Episode) SetYear(v int32)

SetYear sets field value

func (Episode) ToMap

func (o Episode) ToMap() (map[string]interface{}, error)

type GenericOpenAPIError

type GenericOpenAPIError struct {
	// contains filtered or unexported fields
}

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type Genre

type Genre struct {
	// Id of the genre
	Id int32 `json:"id"`
	// Name of the genre
	Name string `json:"name"`
}

Genre Details of a genre

func NewGenre

func NewGenre(id int32, name string) *Genre

NewGenre instantiates a new Genre object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGenreWithDefaults

func NewGenreWithDefaults() *Genre

NewGenreWithDefaults instantiates a new Genre object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Genre) GetId

func (o *Genre) GetId() int32

GetId returns the Id field value

func (*Genre) GetIdOk

func (o *Genre) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Genre) GetName

func (o *Genre) GetName() string

GetName returns the Name field value

func (*Genre) GetNameOk

func (o *Genre) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (Genre) MarshalJSON

func (o Genre) MarshalJSON() ([]byte, error)

func (*Genre) SetId

func (o *Genre) SetId(v int32)

SetId sets field value

func (*Genre) SetName

func (o *Genre) SetName(v string)

SetName sets field value

func (Genre) ToMap

func (o Genre) ToMap() (map[string]interface{}, error)

type GenresResponseSchema

type GenresResponseSchema struct {
	// Map of genre id to genre name.
	Result map[string]string `json:"result"`
}

GenresResponseSchema struct for GenresResponseSchema

func NewGenresResponseSchema

func NewGenresResponseSchema(result map[string]string) *GenresResponseSchema

NewGenresResponseSchema instantiates a new GenresResponseSchema object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGenresResponseSchemaWithDefaults

func NewGenresResponseSchemaWithDefaults() *GenresResponseSchema

NewGenresResponseSchemaWithDefaults instantiates a new GenresResponseSchema object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GenresResponseSchema) GetResult

func (o *GenresResponseSchema) GetResult() map[string]string

GetResult returns the Result field value

func (*GenresResponseSchema) GetResultOk

func (o *GenresResponseSchema) GetResultOk() (*map[string]string, bool)

GetResultOk returns a tuple with the Result field value and a boolean to check if the value has been set.

func (GenresResponseSchema) MarshalJSON

func (o GenresResponseSchema) MarshalJSON() ([]byte, error)

func (*GenresResponseSchema) SetResult

func (o *GenresResponseSchema) SetResult(v map[string]string)

SetResult sets field value

func (GenresResponseSchema) ToMap

func (o GenresResponseSchema) ToMap() (map[string]interface{}, error)

type GetResponseSchema

type GetResponseSchema struct {
	Result Show `json:"result"`
}

GetResponseSchema struct for GetResponseSchema

func NewGetResponseSchema

func NewGetResponseSchema(result Show) *GetResponseSchema

NewGetResponseSchema instantiates a new GetResponseSchema object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetResponseSchemaWithDefaults

func NewGetResponseSchemaWithDefaults() *GetResponseSchema

NewGetResponseSchemaWithDefaults instantiates a new GetResponseSchema object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetResponseSchema) GetResult

func (o *GetResponseSchema) GetResult() Show

GetResult returns the Result field value

func (*GetResponseSchema) GetResultOk

func (o *GetResponseSchema) GetResultOk() (*Show, bool)

GetResultOk returns a tuple with the Result field value and a boolean to check if the value has been set.

func (GetResponseSchema) MarshalJSON

func (o GetResponseSchema) MarshalJSON() ([]byte, error)

func (*GetResponseSchema) SetResult

func (o *GetResponseSchema) SetResult(v Show)

SetResult sets field value

func (GetResponseSchema) ToMap

func (o GetResponseSchema) ToMap() (map[string]interface{}, error)

type Locale

type Locale struct {
	// [ISO 639-2](https://en.wikipedia.org/wiki/ISO_639-2) code of the associated language with the locale.
	Language string `json:"language"`
	// [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) code of the country, or [UN M49](https://en.wikipedia.org/wiki/UN_M49) code of the area associated language with the locale, or an empty string if no region info is available.
	Region string `json:"region"`
}

Locale A language and optionally an associated region.

func NewLocale

func NewLocale(language string, region string) *Locale

NewLocale instantiates a new Locale object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLocaleWithDefaults

func NewLocaleWithDefaults() *Locale

NewLocaleWithDefaults instantiates a new Locale object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Locale) GetLanguage

func (o *Locale) GetLanguage() string

GetLanguage returns the Language field value

func (*Locale) GetLanguageOk

func (o *Locale) GetLanguageOk() (*string, bool)

GetLanguageOk returns a tuple with the Language field value and a boolean to check if the value has been set.

func (*Locale) GetRegion

func (o *Locale) GetRegion() string

GetRegion returns the Region field value

func (*Locale) GetRegionOk

func (o *Locale) GetRegionOk() (*string, bool)

GetRegionOk returns a tuple with the Region field value and a boolean to check if the value has been set.

func (Locale) MarshalJSON

func (o Locale) MarshalJSON() ([]byte, error)

func (*Locale) SetLanguage

func (o *Locale) SetLanguage(v string)

SetLanguage sets field value

func (*Locale) SetRegion

func (o *Locale) SetRegion(v string)

SetRegion sets field value

func (Locale) ToMap

func (o Locale) ToMap() (map[string]interface{}, error)

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type NotFoundResponseSchema

type NotFoundResponseSchema struct {
	Message string `json:"message"`
}

NotFoundResponseSchema struct for NotFoundResponseSchema

func NewNotFoundResponseSchema

func NewNotFoundResponseSchema(message string) *NotFoundResponseSchema

NewNotFoundResponseSchema instantiates a new NotFoundResponseSchema object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNotFoundResponseSchemaWithDefaults

func NewNotFoundResponseSchemaWithDefaults() *NotFoundResponseSchema

NewNotFoundResponseSchemaWithDefaults instantiates a new NotFoundResponseSchema object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NotFoundResponseSchema) GetMessage

func (o *NotFoundResponseSchema) GetMessage() string

GetMessage returns the Message field value

func (*NotFoundResponseSchema) GetMessageOk

func (o *NotFoundResponseSchema) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (NotFoundResponseSchema) MarshalJSON

func (o NotFoundResponseSchema) MarshalJSON() ([]byte, error)

func (*NotFoundResponseSchema) SetMessage

func (o *NotFoundResponseSchema) SetMessage(v string)

SetMessage sets field value

func (NotFoundResponseSchema) ToMap

func (o NotFoundResponseSchema) ToMap() (map[string]interface{}, error)

type NullableAddon

type NullableAddon struct {
	// contains filtered or unexported fields
}

func NewNullableAddon

func NewNullableAddon(val *Addon) *NullableAddon

func (NullableAddon) Get

func (v NullableAddon) Get() *Addon

func (NullableAddon) IsSet

func (v NullableAddon) IsSet() bool

func (NullableAddon) MarshalJSON

func (v NullableAddon) MarshalJSON() ([]byte, error)

func (*NullableAddon) Set

func (v *NullableAddon) Set(val *Addon)

func (*NullableAddon) UnmarshalJSON

func (v *NullableAddon) UnmarshalJSON(src []byte) error

func (*NullableAddon) Unset

func (v *NullableAddon) Unset()

type NullableBool

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableChange

type NullableChange struct {
	// contains filtered or unexported fields
}

func NewNullableChange

func NewNullableChange(val *Change) *NullableChange

func (NullableChange) Get

func (v NullableChange) Get() *Change

func (NullableChange) IsSet

func (v NullableChange) IsSet() bool

func (NullableChange) MarshalJSON

func (v NullableChange) MarshalJSON() ([]byte, error)

func (*NullableChange) Set

func (v *NullableChange) Set(val *Change)

func (*NullableChange) UnmarshalJSON

func (v *NullableChange) UnmarshalJSON(src []byte) error

func (*NullableChange) Unset

func (v *NullableChange) Unset()

type NullableChangeSet

type NullableChangeSet struct {
	// contains filtered or unexported fields
}

func NewNullableChangeSet

func NewNullableChangeSet(val *ChangeSet) *NullableChangeSet

func (NullableChangeSet) Get

func (v NullableChangeSet) Get() *ChangeSet

func (NullableChangeSet) IsSet

func (v NullableChangeSet) IsSet() bool

func (NullableChangeSet) MarshalJSON

func (v NullableChangeSet) MarshalJSON() ([]byte, error)

func (*NullableChangeSet) Set

func (v *NullableChangeSet) Set(val *ChangeSet)

func (*NullableChangeSet) UnmarshalJSON

func (v *NullableChangeSet) UnmarshalJSON(src []byte) error

func (*NullableChangeSet) Unset

func (v *NullableChangeSet) Unset()

type NullableChangesResponseSchema

type NullableChangesResponseSchema struct {
	// contains filtered or unexported fields
}

func (NullableChangesResponseSchema) Get

func (NullableChangesResponseSchema) IsSet

func (NullableChangesResponseSchema) MarshalJSON

func (v NullableChangesResponseSchema) MarshalJSON() ([]byte, error)

func (*NullableChangesResponseSchema) Set

func (*NullableChangesResponseSchema) UnmarshalJSON

func (v *NullableChangesResponseSchema) UnmarshalJSON(src []byte) error

func (*NullableChangesResponseSchema) Unset

func (v *NullableChangesResponseSchema) Unset()

type NullableCountriesResponseSchema

type NullableCountriesResponseSchema struct {
	// contains filtered or unexported fields
}

func (NullableCountriesResponseSchema) Get

func (NullableCountriesResponseSchema) IsSet

func (NullableCountriesResponseSchema) MarshalJSON

func (v NullableCountriesResponseSchema) MarshalJSON() ([]byte, error)

func (*NullableCountriesResponseSchema) Set

func (*NullableCountriesResponseSchema) UnmarshalJSON

func (v *NullableCountriesResponseSchema) UnmarshalJSON(src []byte) error

func (*NullableCountriesResponseSchema) Unset

type NullableCountry

type NullableCountry struct {
	// contains filtered or unexported fields
}

func NewNullableCountry

func NewNullableCountry(val *Country) *NullableCountry

func (NullableCountry) Get

func (v NullableCountry) Get() *Country

func (NullableCountry) IsSet

func (v NullableCountry) IsSet() bool

func (NullableCountry) MarshalJSON

func (v NullableCountry) MarshalJSON() ([]byte, error)

func (*NullableCountry) Set

func (v *NullableCountry) Set(val *Country)

func (*NullableCountry) UnmarshalJSON

func (v *NullableCountry) UnmarshalJSON(src []byte) error

func (*NullableCountry) Unset

func (v *NullableCountry) Unset()

type NullableDeprecatedServiceInfo

type NullableDeprecatedServiceInfo struct {
	// contains filtered or unexported fields
}

func (NullableDeprecatedServiceInfo) Get

func (NullableDeprecatedServiceInfo) IsSet

func (NullableDeprecatedServiceInfo) MarshalJSON

func (v NullableDeprecatedServiceInfo) MarshalJSON() ([]byte, error)

func (*NullableDeprecatedServiceInfo) Set

func (*NullableDeprecatedServiceInfo) UnmarshalJSON

func (v *NullableDeprecatedServiceInfo) UnmarshalJSON(src []byte) error

func (*NullableDeprecatedServiceInfo) Unset

func (v *NullableDeprecatedServiceInfo) Unset()

type NullableEpisode

type NullableEpisode struct {
	// contains filtered or unexported fields
}

func NewNullableEpisode

func NewNullableEpisode(val *Episode) *NullableEpisode

func (NullableEpisode) Get

func (v NullableEpisode) Get() *Episode

func (NullableEpisode) IsSet

func (v NullableEpisode) IsSet() bool

func (NullableEpisode) MarshalJSON

func (v NullableEpisode) MarshalJSON() ([]byte, error)

func (*NullableEpisode) Set

func (v *NullableEpisode) Set(val *Episode)

func (*NullableEpisode) UnmarshalJSON

func (v *NullableEpisode) UnmarshalJSON(src []byte) error

func (*NullableEpisode) Unset

func (v *NullableEpisode) Unset()

type NullableFloat32

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableGenre

type NullableGenre struct {
	// contains filtered or unexported fields
}

func NewNullableGenre

func NewNullableGenre(val *Genre) *NullableGenre

func (NullableGenre) Get

func (v NullableGenre) Get() *Genre

func (NullableGenre) IsSet

func (v NullableGenre) IsSet() bool

func (NullableGenre) MarshalJSON

func (v NullableGenre) MarshalJSON() ([]byte, error)

func (*NullableGenre) Set

func (v *NullableGenre) Set(val *Genre)

func (*NullableGenre) UnmarshalJSON

func (v *NullableGenre) UnmarshalJSON(src []byte) error

func (*NullableGenre) Unset

func (v *NullableGenre) Unset()

type NullableGenresResponseSchema

type NullableGenresResponseSchema struct {
	// contains filtered or unexported fields
}

func NewNullableGenresResponseSchema

func NewNullableGenresResponseSchema(val *GenresResponseSchema) *NullableGenresResponseSchema

func (NullableGenresResponseSchema) Get

func (NullableGenresResponseSchema) IsSet

func (NullableGenresResponseSchema) MarshalJSON

func (v NullableGenresResponseSchema) MarshalJSON() ([]byte, error)

func (*NullableGenresResponseSchema) Set

func (*NullableGenresResponseSchema) UnmarshalJSON

func (v *NullableGenresResponseSchema) UnmarshalJSON(src []byte) error

func (*NullableGenresResponseSchema) Unset

func (v *NullableGenresResponseSchema) Unset()

type NullableGetResponseSchema

type NullableGetResponseSchema struct {
	// contains filtered or unexported fields
}

func NewNullableGetResponseSchema

func NewNullableGetResponseSchema(val *GetResponseSchema) *NullableGetResponseSchema

func (NullableGetResponseSchema) Get

func (NullableGetResponseSchema) IsSet

func (v NullableGetResponseSchema) IsSet() bool

func (NullableGetResponseSchema) MarshalJSON

func (v NullableGetResponseSchema) MarshalJSON() ([]byte, error)

func (*NullableGetResponseSchema) Set

func (*NullableGetResponseSchema) UnmarshalJSON

func (v *NullableGetResponseSchema) UnmarshalJSON(src []byte) error

func (*NullableGetResponseSchema) Unset

func (v *NullableGetResponseSchema) Unset()

type NullableInt

type NullableInt struct {
	// contains filtered or unexported fields
}

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

type NullableInt32 struct {
	// contains filtered or unexported fields
}

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

type NullableInt64 struct {
	// contains filtered or unexported fields
}

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableLocale

type NullableLocale struct {
	// contains filtered or unexported fields
}

func NewNullableLocale

func NewNullableLocale(val *Locale) *NullableLocale

func (NullableLocale) Get

func (v NullableLocale) Get() *Locale

func (NullableLocale) IsSet

func (v NullableLocale) IsSet() bool

func (NullableLocale) MarshalJSON

func (v NullableLocale) MarshalJSON() ([]byte, error)

func (*NullableLocale) Set

func (v *NullableLocale) Set(val *Locale)

func (*NullableLocale) UnmarshalJSON

func (v *NullableLocale) UnmarshalJSON(src []byte) error

func (*NullableLocale) Unset

func (v *NullableLocale) Unset()

type NullableNotFoundResponseSchema

type NullableNotFoundResponseSchema struct {
	// contains filtered or unexported fields
}

func (NullableNotFoundResponseSchema) Get

func (NullableNotFoundResponseSchema) IsSet

func (NullableNotFoundResponseSchema) MarshalJSON

func (v NullableNotFoundResponseSchema) MarshalJSON() ([]byte, error)

func (*NullableNotFoundResponseSchema) Set

func (*NullableNotFoundResponseSchema) UnmarshalJSON

func (v *NullableNotFoundResponseSchema) UnmarshalJSON(src []byte) error

func (*NullableNotFoundResponseSchema) Unset

func (v *NullableNotFoundResponseSchema) Unset()

type NullablePrice

type NullablePrice struct {
	// contains filtered or unexported fields
}

func NewNullablePrice

func NewNullablePrice(val *Price) *NullablePrice

func (NullablePrice) Get

func (v NullablePrice) Get() *Price

func (NullablePrice) IsSet

func (v NullablePrice) IsSet() bool

func (NullablePrice) MarshalJSON

func (v NullablePrice) MarshalJSON() ([]byte, error)

func (*NullablePrice) Set

func (v *NullablePrice) Set(val *Price)

func (*NullablePrice) UnmarshalJSON

func (v *NullablePrice) UnmarshalJSON(src []byte) error

func (*NullablePrice) Unset

func (v *NullablePrice) Unset()

type NullableSearchFiltersResponseSchema

type NullableSearchFiltersResponseSchema struct {
	// contains filtered or unexported fields
}

func (NullableSearchFiltersResponseSchema) Get

func (NullableSearchFiltersResponseSchema) IsSet

func (NullableSearchFiltersResponseSchema) MarshalJSON

func (v NullableSearchFiltersResponseSchema) MarshalJSON() ([]byte, error)

func (*NullableSearchFiltersResponseSchema) Set

func (*NullableSearchFiltersResponseSchema) UnmarshalJSON

func (v *NullableSearchFiltersResponseSchema) UnmarshalJSON(src []byte) error

func (*NullableSearchFiltersResponseSchema) Unset

type NullableSearchTitleResponseSchema

type NullableSearchTitleResponseSchema struct {
	// contains filtered or unexported fields
}

func (NullableSearchTitleResponseSchema) Get

func (NullableSearchTitleResponseSchema) IsSet

func (NullableSearchTitleResponseSchema) MarshalJSON

func (v NullableSearchTitleResponseSchema) MarshalJSON() ([]byte, error)

func (*NullableSearchTitleResponseSchema) Set

func (*NullableSearchTitleResponseSchema) UnmarshalJSON

func (v *NullableSearchTitleResponseSchema) UnmarshalJSON(src []byte) error

func (*NullableSearchTitleResponseSchema) Unset

type NullableSeason

type NullableSeason struct {
	// contains filtered or unexported fields
}

func NewNullableSeason

func NewNullableSeason(val *Season) *NullableSeason

func (NullableSeason) Get

func (v NullableSeason) Get() *Season

func (NullableSeason) IsSet

func (v NullableSeason) IsSet() bool

func (NullableSeason) MarshalJSON

func (v NullableSeason) MarshalJSON() ([]byte, error)

func (*NullableSeason) Set

func (v *NullableSeason) Set(val *Season)

func (*NullableSeason) UnmarshalJSON

func (v *NullableSeason) UnmarshalJSON(src []byte) error

func (*NullableSeason) Unset

func (v *NullableSeason) Unset()

type NullableSeriesStatus

type NullableSeriesStatus struct {
	// contains filtered or unexported fields
}

func NewNullableSeriesStatus

func NewNullableSeriesStatus(val *SeriesStatus) *NullableSeriesStatus

func (NullableSeriesStatus) Get

func (NullableSeriesStatus) IsSet

func (v NullableSeriesStatus) IsSet() bool

func (NullableSeriesStatus) MarshalJSON

func (v NullableSeriesStatus) MarshalJSON() ([]byte, error)

func (*NullableSeriesStatus) Set

func (v *NullableSeriesStatus) Set(val *SeriesStatus)

func (*NullableSeriesStatus) UnmarshalJSON

func (v *NullableSeriesStatus) UnmarshalJSON(src []byte) error

func (*NullableSeriesStatus) Unset

func (v *NullableSeriesStatus) Unset()

type NullableService

type NullableService struct {
	// contains filtered or unexported fields
}

func NewNullableService

func NewNullableService(val *Service) *NullableService

func (NullableService) Get

func (v NullableService) Get() *Service

func (NullableService) IsSet

func (v NullableService) IsSet() bool

func (NullableService) MarshalJSON

func (v NullableService) MarshalJSON() ([]byte, error)

func (*NullableService) Set

func (v *NullableService) Set(val *Service)

func (*NullableService) UnmarshalJSON

func (v *NullableService) UnmarshalJSON(src []byte) error

func (*NullableService) Unset

func (v *NullableService) Unset()

type NullableServiceCountryInfo

type NullableServiceCountryInfo struct {
	// contains filtered or unexported fields
}

func NewNullableServiceCountryInfo

func NewNullableServiceCountryInfo(val *ServiceCountryInfo) *NullableServiceCountryInfo

func (NullableServiceCountryInfo) Get

func (NullableServiceCountryInfo) IsSet

func (v NullableServiceCountryInfo) IsSet() bool

func (NullableServiceCountryInfo) MarshalJSON

func (v NullableServiceCountryInfo) MarshalJSON() ([]byte, error)

func (*NullableServiceCountryInfo) Set

func (*NullableServiceCountryInfo) UnmarshalJSON

func (v *NullableServiceCountryInfo) UnmarshalJSON(src []byte) error

func (*NullableServiceCountryInfo) Unset

func (v *NullableServiceCountryInfo) Unset()

type NullableServiceImages

type NullableServiceImages struct {
	// contains filtered or unexported fields
}

func NewNullableServiceImages

func NewNullableServiceImages(val *ServiceImages) *NullableServiceImages

func (NullableServiceImages) Get

func (NullableServiceImages) IsSet

func (v NullableServiceImages) IsSet() bool

func (NullableServiceImages) MarshalJSON

func (v NullableServiceImages) MarshalJSON() ([]byte, error)

func (*NullableServiceImages) Set

func (v *NullableServiceImages) Set(val *ServiceImages)

func (*NullableServiceImages) UnmarshalJSON

func (v *NullableServiceImages) UnmarshalJSON(src []byte) error

func (*NullableServiceImages) Unset

func (v *NullableServiceImages) Unset()

type NullableServicesResponseSchema

type NullableServicesResponseSchema struct {
	// contains filtered or unexported fields
}

func (NullableServicesResponseSchema) Get

func (NullableServicesResponseSchema) IsSet

func (NullableServicesResponseSchema) MarshalJSON

func (v NullableServicesResponseSchema) MarshalJSON() ([]byte, error)

func (*NullableServicesResponseSchema) Set

func (*NullableServicesResponseSchema) UnmarshalJSON

func (v *NullableServicesResponseSchema) UnmarshalJSON(src []byte) error

func (*NullableServicesResponseSchema) Unset

func (v *NullableServicesResponseSchema) Unset()

type NullableShow

type NullableShow struct {
	// contains filtered or unexported fields
}

func NewNullableShow

func NewNullableShow(val *Show) *NullableShow

func (NullableShow) Get

func (v NullableShow) Get() *Show

func (NullableShow) IsSet

func (v NullableShow) IsSet() bool

func (NullableShow) MarshalJSON

func (v NullableShow) MarshalJSON() ([]byte, error)

func (*NullableShow) Set

func (v *NullableShow) Set(val *Show)

func (*NullableShow) UnmarshalJSON

func (v *NullableShow) UnmarshalJSON(src []byte) error

func (*NullableShow) Unset

func (v *NullableShow) Unset()

type NullableStreamingOption

type NullableStreamingOption struct {
	// contains filtered or unexported fields
}

func NewNullableStreamingOption

func NewNullableStreamingOption(val *StreamingOption) *NullableStreamingOption

func (NullableStreamingOption) Get

func (NullableStreamingOption) IsSet

func (v NullableStreamingOption) IsSet() bool

func (NullableStreamingOption) MarshalJSON

func (v NullableStreamingOption) MarshalJSON() ([]byte, error)

func (*NullableStreamingOption) Set

func (*NullableStreamingOption) UnmarshalJSON

func (v *NullableStreamingOption) UnmarshalJSON(src []byte) error

func (*NullableStreamingOption) Unset

func (v *NullableStreamingOption) Unset()

type NullableStreamingType

type NullableStreamingType struct {
	// contains filtered or unexported fields
}

func NewNullableStreamingType

func NewNullableStreamingType(val *StreamingType) *NullableStreamingType

func (NullableStreamingType) Get

func (NullableStreamingType) IsSet

func (v NullableStreamingType) IsSet() bool

func (NullableStreamingType) MarshalJSON

func (v NullableStreamingType) MarshalJSON() ([]byte, error)

func (*NullableStreamingType) Set

func (v *NullableStreamingType) Set(val *StreamingType)

func (*NullableStreamingType) UnmarshalJSON

func (v *NullableStreamingType) UnmarshalJSON(src []byte) error

func (*NullableStreamingType) Unset

func (v *NullableStreamingType) Unset()

type NullableString

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableSubtitle

type NullableSubtitle struct {
	// contains filtered or unexported fields
}

func NewNullableSubtitle

func NewNullableSubtitle(val *Subtitle) *NullableSubtitle

func (NullableSubtitle) Get

func (v NullableSubtitle) Get() *Subtitle

func (NullableSubtitle) IsSet

func (v NullableSubtitle) IsSet() bool

func (NullableSubtitle) MarshalJSON

func (v NullableSubtitle) MarshalJSON() ([]byte, error)

func (*NullableSubtitle) Set

func (v *NullableSubtitle) Set(val *Subtitle)

func (*NullableSubtitle) UnmarshalJSON

func (v *NullableSubtitle) UnmarshalJSON(src []byte) error

func (*NullableSubtitle) Unset

func (v *NullableSubtitle) Unset()

type NullableSupportedStreamingTypes

type NullableSupportedStreamingTypes struct {
	// contains filtered or unexported fields
}

func (NullableSupportedStreamingTypes) Get

func (NullableSupportedStreamingTypes) IsSet

func (NullableSupportedStreamingTypes) MarshalJSON

func (v NullableSupportedStreamingTypes) MarshalJSON() ([]byte, error)

func (*NullableSupportedStreamingTypes) Set

func (*NullableSupportedStreamingTypes) UnmarshalJSON

func (v *NullableSupportedStreamingTypes) UnmarshalJSON(src []byte) error

func (*NullableSupportedStreamingTypes) Unset

type NullableTime

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type NullableUpcomingChangeSet

type NullableUpcomingChangeSet struct {
	// contains filtered or unexported fields
}

func NewNullableUpcomingChangeSet

func NewNullableUpcomingChangeSet(val *UpcomingChangeSet) *NullableUpcomingChangeSet

func (NullableUpcomingChangeSet) Get

func (NullableUpcomingChangeSet) IsSet

func (v NullableUpcomingChangeSet) IsSet() bool

func (NullableUpcomingChangeSet) MarshalJSON

func (v NullableUpcomingChangeSet) MarshalJSON() ([]byte, error)

func (*NullableUpcomingChangeSet) Set

func (*NullableUpcomingChangeSet) UnmarshalJSON

func (v *NullableUpcomingChangeSet) UnmarshalJSON(src []byte) error

func (*NullableUpcomingChangeSet) Unset

func (v *NullableUpcomingChangeSet) Unset()

type NullableUpcomingChangesResponseSchema

type NullableUpcomingChangesResponseSchema struct {
	// contains filtered or unexported fields
}

func (NullableUpcomingChangesResponseSchema) Get

func (NullableUpcomingChangesResponseSchema) IsSet

func (NullableUpcomingChangesResponseSchema) MarshalJSON

func (v NullableUpcomingChangesResponseSchema) MarshalJSON() ([]byte, error)

func (*NullableUpcomingChangesResponseSchema) Set

func (*NullableUpcomingChangesResponseSchema) UnmarshalJSON

func (v *NullableUpcomingChangesResponseSchema) UnmarshalJSON(src []byte) error

func (*NullableUpcomingChangesResponseSchema) Unset

type Price

type Price struct {
	// Numerical amount of the price.
	Amount string `json:"amount"`
	// ISO 4217 alphabetic code of the currency.
	Currency string `json:"currency"`
	// Formatted price, including both the amount and the currency.
	Formatted string `json:"formatted"`
}

Price Price of the renting or buying.

func NewPrice

func NewPrice(amount string, currency string, formatted string) *Price

NewPrice instantiates a new Price object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPriceWithDefaults

func NewPriceWithDefaults() *Price

NewPriceWithDefaults instantiates a new Price object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Price) GetAmount

func (o *Price) GetAmount() string

GetAmount returns the Amount field value

func (*Price) GetAmountOk

func (o *Price) GetAmountOk() (*string, bool)

GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.

func (*Price) GetCurrency

func (o *Price) GetCurrency() string

GetCurrency returns the Currency field value

func (*Price) GetCurrencyOk

func (o *Price) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.

func (*Price) GetFormatted

func (o *Price) GetFormatted() string

GetFormatted returns the Formatted field value

func (*Price) GetFormattedOk

func (o *Price) GetFormattedOk() (*string, bool)

GetFormattedOk returns a tuple with the Formatted field value and a boolean to check if the value has been set.

func (Price) MarshalJSON

func (o Price) MarshalJSON() ([]byte, error)

func (*Price) SetAmount

func (o *Price) SetAmount(v string)

SetAmount sets field value

func (*Price) SetCurrency

func (o *Price) SetCurrency(v string)

SetCurrency sets field value

func (*Price) SetFormatted

func (o *Price) SetFormatted(v string)

SetFormatted sets field value

func (Price) ToMap

func (o Price) ToMap() (map[string]interface{}, error)

type SearchFiltersResponseSchema

type SearchFiltersResponseSchema struct {
	// Array of the results matched with the query.
	Result []Show `json:"result"`
	// Whether there are more results to be loaded.
	HasMore bool `json:"hasMore"`
	// Cursor value to pass to get next set of the results. An empty string if \"hasMore\" is \"false\".
	NextCursor string `json:"nextCursor"`
}

SearchFiltersResponseSchema struct for SearchFiltersResponseSchema

func NewSearchFiltersResponseSchema

func NewSearchFiltersResponseSchema(result []Show, hasMore bool, nextCursor string) *SearchFiltersResponseSchema

NewSearchFiltersResponseSchema instantiates a new SearchFiltersResponseSchema object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSearchFiltersResponseSchemaWithDefaults

func NewSearchFiltersResponseSchemaWithDefaults() *SearchFiltersResponseSchema

NewSearchFiltersResponseSchemaWithDefaults instantiates a new SearchFiltersResponseSchema object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SearchFiltersResponseSchema) GetHasMore

func (o *SearchFiltersResponseSchema) GetHasMore() bool

GetHasMore returns the HasMore field value

func (*SearchFiltersResponseSchema) GetHasMoreOk

func (o *SearchFiltersResponseSchema) GetHasMoreOk() (*bool, bool)

GetHasMoreOk returns a tuple with the HasMore field value and a boolean to check if the value has been set.

func (*SearchFiltersResponseSchema) GetNextCursor

func (o *SearchFiltersResponseSchema) GetNextCursor() string

GetNextCursor returns the NextCursor field value

func (*SearchFiltersResponseSchema) GetNextCursorOk

func (o *SearchFiltersResponseSchema) GetNextCursorOk() (*string, bool)

GetNextCursorOk returns a tuple with the NextCursor field value and a boolean to check if the value has been set.

func (*SearchFiltersResponseSchema) GetResult

func (o *SearchFiltersResponseSchema) GetResult() []Show

GetResult returns the Result field value

func (*SearchFiltersResponseSchema) GetResultOk

func (o *SearchFiltersResponseSchema) GetResultOk() ([]Show, bool)

GetResultOk returns a tuple with the Result field value and a boolean to check if the value has been set.

func (SearchFiltersResponseSchema) MarshalJSON

func (o SearchFiltersResponseSchema) MarshalJSON() ([]byte, error)

func (*SearchFiltersResponseSchema) SetHasMore

func (o *SearchFiltersResponseSchema) SetHasMore(v bool)

SetHasMore sets field value

func (*SearchFiltersResponseSchema) SetNextCursor

func (o *SearchFiltersResponseSchema) SetNextCursor(v string)

SetNextCursor sets field value

func (*SearchFiltersResponseSchema) SetResult

func (o *SearchFiltersResponseSchema) SetResult(v []Show)

SetResult sets field value

func (SearchFiltersResponseSchema) ToMap

func (o SearchFiltersResponseSchema) ToMap() (map[string]interface{}, error)

type SearchTitleResponseSchema

type SearchTitleResponseSchema struct {
	// Array of the shows matched with the title.
	Result []Show `json:"result"`
}

SearchTitleResponseSchema struct for SearchTitleResponseSchema

func NewSearchTitleResponseSchema

func NewSearchTitleResponseSchema(result []Show) *SearchTitleResponseSchema

NewSearchTitleResponseSchema instantiates a new SearchTitleResponseSchema object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSearchTitleResponseSchemaWithDefaults

func NewSearchTitleResponseSchemaWithDefaults() *SearchTitleResponseSchema

NewSearchTitleResponseSchemaWithDefaults instantiates a new SearchTitleResponseSchema object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SearchTitleResponseSchema) GetResult

func (o *SearchTitleResponseSchema) GetResult() []Show

GetResult returns the Result field value

func (*SearchTitleResponseSchema) GetResultOk

func (o *SearchTitleResponseSchema) GetResultOk() ([]Show, bool)

GetResultOk returns a tuple with the Result field value and a boolean to check if the value has been set.

func (SearchTitleResponseSchema) MarshalJSON

func (o SearchTitleResponseSchema) MarshalJSON() ([]byte, error)

func (*SearchTitleResponseSchema) SetResult

func (o *SearchTitleResponseSchema) SetResult(v []Show)

SetResult sets field value

func (SearchTitleResponseSchema) ToMap

func (o SearchTitleResponseSchema) ToMap() (map[string]interface{}, error)

type Season

type Season struct {
	// Type of the item. Always \"season\".
	Type string `json:"type"`
	// Title of the season.
	Title string `json:"title"`
	// The first year that the season aired.
	FirstAirYear int32 `json:"firstAirYear"`
	// The last year that the season aired.
	LastAirYear int32 `json:"lastAirYear"`
	// Country to streaming availability info mapping of a show.
	StreamingInfo map[string][]StreamingOption `json:"streamingInfo"`
	// Array of the episodes belong to the season.
	Episodes []Episode `json:"episodes"`
}

Season Details of a season.

func NewSeason

func NewSeason(type_ string, title string, firstAirYear int32, lastAirYear int32, streamingInfo map[string][]StreamingOption, episodes []Episode) *Season

NewSeason instantiates a new Season object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSeasonWithDefaults

func NewSeasonWithDefaults() *Season

NewSeasonWithDefaults instantiates a new Season object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Season) GetEpisodes

func (o *Season) GetEpisodes() []Episode

GetEpisodes returns the Episodes field value

func (*Season) GetEpisodesOk

func (o *Season) GetEpisodesOk() ([]Episode, bool)

GetEpisodesOk returns a tuple with the Episodes field value and a boolean to check if the value has been set.

func (*Season) GetFirstAirYear

func (o *Season) GetFirstAirYear() int32

GetFirstAirYear returns the FirstAirYear field value

func (*Season) GetFirstAirYearOk

func (o *Season) GetFirstAirYearOk() (*int32, bool)

GetFirstAirYearOk returns a tuple with the FirstAirYear field value and a boolean to check if the value has been set.

func (*Season) GetLastAirYear

func (o *Season) GetLastAirYear() int32

GetLastAirYear returns the LastAirYear field value

func (*Season) GetLastAirYearOk

func (o *Season) GetLastAirYearOk() (*int32, bool)

GetLastAirYearOk returns a tuple with the LastAirYear field value and a boolean to check if the value has been set.

func (*Season) GetStreamingInfo

func (o *Season) GetStreamingInfo() map[string][]StreamingOption

GetStreamingInfo returns the StreamingInfo field value

func (*Season) GetStreamingInfoOk

func (o *Season) GetStreamingInfoOk() (*map[string][]StreamingOption, bool)

GetStreamingInfoOk returns a tuple with the StreamingInfo field value and a boolean to check if the value has been set.

func (*Season) GetTitle

func (o *Season) GetTitle() string

GetTitle returns the Title field value

func (*Season) GetTitleOk

func (o *Season) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.

func (*Season) GetType

func (o *Season) GetType() string

GetType returns the Type field value

func (*Season) GetTypeOk

func (o *Season) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (Season) MarshalJSON

func (o Season) MarshalJSON() ([]byte, error)

func (*Season) SetEpisodes

func (o *Season) SetEpisodes(v []Episode)

SetEpisodes sets field value

func (*Season) SetFirstAirYear

func (o *Season) SetFirstAirYear(v int32)

SetFirstAirYear sets field value

func (*Season) SetLastAirYear

func (o *Season) SetLastAirYear(v int32)

SetLastAirYear sets field value

func (*Season) SetStreamingInfo

func (o *Season) SetStreamingInfo(v map[string][]StreamingOption)

SetStreamingInfo sets field value

func (*Season) SetTitle

func (o *Season) SetTitle(v string)

SetTitle sets field value

func (*Season) SetType

func (o *Season) SetType(v string)

SetType sets field value

func (Season) ToMap

func (o Season) ToMap() (map[string]interface{}, error)

type SeriesStatus

type SeriesStatus struct {
	// Integer code of the status. 1: \"Returning Series\", 2: \"Planned\", 3: \"In Production\", 4: \"Ended\", 5: \"Cancelled\", 6: \"Pilot\",
	StatusCode int32 `json:"statusCode"`
	// Textual representation of the status.
	StatusText string `json:"statusText"`
}

SeriesStatus The current status of a series.

func NewSeriesStatus

func NewSeriesStatus(statusCode int32, statusText string) *SeriesStatus

NewSeriesStatus instantiates a new SeriesStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSeriesStatusWithDefaults

func NewSeriesStatusWithDefaults() *SeriesStatus

NewSeriesStatusWithDefaults instantiates a new SeriesStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SeriesStatus) GetStatusCode

func (o *SeriesStatus) GetStatusCode() int32

GetStatusCode returns the StatusCode field value

func (*SeriesStatus) GetStatusCodeOk

func (o *SeriesStatus) GetStatusCodeOk() (*int32, bool)

GetStatusCodeOk returns a tuple with the StatusCode field value and a boolean to check if the value has been set.

func (*SeriesStatus) GetStatusText

func (o *SeriesStatus) GetStatusText() string

GetStatusText returns the StatusText field value

func (*SeriesStatus) GetStatusTextOk

func (o *SeriesStatus) GetStatusTextOk() (*string, bool)

GetStatusTextOk returns a tuple with the StatusText field value and a boolean to check if the value has been set.

func (SeriesStatus) MarshalJSON

func (o SeriesStatus) MarshalJSON() ([]byte, error)

func (*SeriesStatus) SetStatusCode

func (o *SeriesStatus) SetStatusCode(v int32)

SetStatusCode sets field value

func (*SeriesStatus) SetStatusText

func (o *SeriesStatus) SetStatusText(v string)

SetStatusText sets field value

func (SeriesStatus) ToMap

func (o SeriesStatus) ToMap() (map[string]interface{}, error)

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type Service

type Service struct {
	// Id of the service.
	Id string `json:"id"`
	// Name of the service.
	Name string `json:"name"`
	// Link to the homepage of the service.
	HomePage string `json:"homePage"`
	// Associated theme color hex code of the service.
	ThemeColorCode          string                  `json:"themeColorCode"`
	Images                  ServiceImages           `json:"images"`
	SupportedStreamingTypes SupportedStreamingTypes `json:"supportedStreamingTypes"`
	// Map of id to details of the addons supported by the service in this country.
	Addons map[string]Addon `json:"addons"`
}

Service Details of a service.

func NewService

func NewService(id string, name string, homePage string, themeColorCode string, images ServiceImages, supportedStreamingTypes SupportedStreamingTypes, addons map[string]Addon) *Service

NewService instantiates a new Service object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewServiceWithDefaults

func NewServiceWithDefaults() *Service

NewServiceWithDefaults instantiates a new Service object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Service) GetAddons

func (o *Service) GetAddons() map[string]Addon

GetAddons returns the Addons field value

func (*Service) GetAddonsOk

func (o *Service) GetAddonsOk() (*map[string]Addon, bool)

GetAddonsOk returns a tuple with the Addons field value and a boolean to check if the value has been set.

func (*Service) GetHomePage

func (o *Service) GetHomePage() string

GetHomePage returns the HomePage field value

func (*Service) GetHomePageOk

func (o *Service) GetHomePageOk() (*string, bool)

GetHomePageOk returns a tuple with the HomePage field value and a boolean to check if the value has been set.

func (*Service) GetId

func (o *Service) GetId() string

GetId returns the Id field value

func (*Service) GetIdOk

func (o *Service) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Service) GetImages

func (o *Service) GetImages() ServiceImages

GetImages returns the Images field value

func (*Service) GetImagesOk

func (o *Service) GetImagesOk() (*ServiceImages, bool)

GetImagesOk returns a tuple with the Images field value and a boolean to check if the value has been set.

func (*Service) GetName

func (o *Service) GetName() string

GetName returns the Name field value

func (*Service) GetNameOk

func (o *Service) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Service) GetSupportedStreamingTypes

func (o *Service) GetSupportedStreamingTypes() SupportedStreamingTypes

GetSupportedStreamingTypes returns the SupportedStreamingTypes field value

func (*Service) GetSupportedStreamingTypesOk

func (o *Service) GetSupportedStreamingTypesOk() (*SupportedStreamingTypes, bool)

GetSupportedStreamingTypesOk returns a tuple with the SupportedStreamingTypes field value and a boolean to check if the value has been set.

func (*Service) GetThemeColorCode

func (o *Service) GetThemeColorCode() string

GetThemeColorCode returns the ThemeColorCode field value

func (*Service) GetThemeColorCodeOk

func (o *Service) GetThemeColorCodeOk() (*string, bool)

GetThemeColorCodeOk returns a tuple with the ThemeColorCode field value and a boolean to check if the value has been set.

func (Service) MarshalJSON

func (o Service) MarshalJSON() ([]byte, error)

func (*Service) SetAddons

func (o *Service) SetAddons(v map[string]Addon)

SetAddons sets field value

func (*Service) SetHomePage

func (o *Service) SetHomePage(v string)

SetHomePage sets field value

func (*Service) SetId

func (o *Service) SetId(v string)

SetId sets field value

func (*Service) SetImages

func (o *Service) SetImages(v ServiceImages)

SetImages sets field value

func (*Service) SetName

func (o *Service) SetName(v string)

SetName sets field value

func (*Service) SetSupportedStreamingTypes

func (o *Service) SetSupportedStreamingTypes(v SupportedStreamingTypes)

SetSupportedStreamingTypes sets field value

func (*Service) SetThemeColorCode

func (o *Service) SetThemeColorCode(v string)

SetThemeColorCode sets field value

func (Service) ToMap

func (o Service) ToMap() (map[string]interface{}, error)

type ServiceCountryInfo

type ServiceCountryInfo struct {
	SupportedStreamingTypes SupportedStreamingTypes `json:"supportedStreamingTypes"`
	// Map of id to details of the addons supported by the service in this country.
	Addons map[string]Addon `json:"addons"`
}

ServiceCountryInfo Details of a service in a country.

func NewServiceCountryInfo

func NewServiceCountryInfo(supportedStreamingTypes SupportedStreamingTypes, addons map[string]Addon) *ServiceCountryInfo

NewServiceCountryInfo instantiates a new ServiceCountryInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewServiceCountryInfoWithDefaults

func NewServiceCountryInfoWithDefaults() *ServiceCountryInfo

NewServiceCountryInfoWithDefaults instantiates a new ServiceCountryInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ServiceCountryInfo) GetAddons

func (o *ServiceCountryInfo) GetAddons() map[string]Addon

GetAddons returns the Addons field value

func (*ServiceCountryInfo) GetAddonsOk

func (o *ServiceCountryInfo) GetAddonsOk() (*map[string]Addon, bool)

GetAddonsOk returns a tuple with the Addons field value and a boolean to check if the value has been set.

func (*ServiceCountryInfo) GetSupportedStreamingTypes

func (o *ServiceCountryInfo) GetSupportedStreamingTypes() SupportedStreamingTypes

GetSupportedStreamingTypes returns the SupportedStreamingTypes field value

func (*ServiceCountryInfo) GetSupportedStreamingTypesOk

func (o *ServiceCountryInfo) GetSupportedStreamingTypesOk() (*SupportedStreamingTypes, bool)

GetSupportedStreamingTypesOk returns a tuple with the SupportedStreamingTypes field value and a boolean to check if the value has been set.

func (ServiceCountryInfo) MarshalJSON

func (o ServiceCountryInfo) MarshalJSON() ([]byte, error)

func (*ServiceCountryInfo) SetAddons

func (o *ServiceCountryInfo) SetAddons(v map[string]Addon)

SetAddons sets field value

func (*ServiceCountryInfo) SetSupportedStreamingTypes

func (o *ServiceCountryInfo) SetSupportedStreamingTypes(v SupportedStreamingTypes)

SetSupportedStreamingTypes sets field value

func (ServiceCountryInfo) ToMap

func (o ServiceCountryInfo) ToMap() (map[string]interface{}, error)

type ServiceImages

type ServiceImages struct {
	// Link to the logo of the service suitable for light themed background.
	LightThemeImage string `json:"lightThemeImage"`
	// Link to the logo of the service suitable for dark themed background.
	DarkThemeImage string `json:"darkThemeImage"`
	// Link to the logo of the service that is all white.
	WhiteImage string `json:"whiteImage"`
}

ServiceImages Images of a service.

func NewServiceImages

func NewServiceImages(lightThemeImage string, darkThemeImage string, whiteImage string) *ServiceImages

NewServiceImages instantiates a new ServiceImages object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewServiceImagesWithDefaults

func NewServiceImagesWithDefaults() *ServiceImages

NewServiceImagesWithDefaults instantiates a new ServiceImages object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ServiceImages) GetDarkThemeImage

func (o *ServiceImages) GetDarkThemeImage() string

GetDarkThemeImage returns the DarkThemeImage field value

func (*ServiceImages) GetDarkThemeImageOk

func (o *ServiceImages) GetDarkThemeImageOk() (*string, bool)

GetDarkThemeImageOk returns a tuple with the DarkThemeImage field value and a boolean to check if the value has been set.

func (*ServiceImages) GetLightThemeImage

func (o *ServiceImages) GetLightThemeImage() string

GetLightThemeImage returns the LightThemeImage field value

func (*ServiceImages) GetLightThemeImageOk

func (o *ServiceImages) GetLightThemeImageOk() (*string, bool)

GetLightThemeImageOk returns a tuple with the LightThemeImage field value and a boolean to check if the value has been set.

func (*ServiceImages) GetWhiteImage

func (o *ServiceImages) GetWhiteImage() string

GetWhiteImage returns the WhiteImage field value

func (*ServiceImages) GetWhiteImageOk

func (o *ServiceImages) GetWhiteImageOk() (*string, bool)

GetWhiteImageOk returns a tuple with the WhiteImage field value and a boolean to check if the value has been set.

func (ServiceImages) MarshalJSON

func (o ServiceImages) MarshalJSON() ([]byte, error)

func (*ServiceImages) SetDarkThemeImage

func (o *ServiceImages) SetDarkThemeImage(v string)

SetDarkThemeImage sets field value

func (*ServiceImages) SetLightThemeImage

func (o *ServiceImages) SetLightThemeImage(v string)

SetLightThemeImage sets field value

func (*ServiceImages) SetWhiteImage

func (o *ServiceImages) SetWhiteImage(v string)

SetWhiteImage sets field value

func (ServiceImages) ToMap

func (o ServiceImages) ToMap() (map[string]interface{}, error)

type ServicesResponseSchema

type ServicesResponseSchema struct {
	// Map of service id to service details.
	Result map[string]DeprecatedServiceInfo `json:"result"`
}

ServicesResponseSchema struct for ServicesResponseSchema

func NewServicesResponseSchema

func NewServicesResponseSchema(result map[string]DeprecatedServiceInfo) *ServicesResponseSchema

NewServicesResponseSchema instantiates a new ServicesResponseSchema object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewServicesResponseSchemaWithDefaults

func NewServicesResponseSchemaWithDefaults() *ServicesResponseSchema

NewServicesResponseSchemaWithDefaults instantiates a new ServicesResponseSchema object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ServicesResponseSchema) GetResult

GetResult returns the Result field value

func (*ServicesResponseSchema) GetResultOk

func (o *ServicesResponseSchema) GetResultOk() (*map[string]DeprecatedServiceInfo, bool)

GetResultOk returns a tuple with the Result field value and a boolean to check if the value has been set.

func (ServicesResponseSchema) MarshalJSON

func (o ServicesResponseSchema) MarshalJSON() ([]byte, error)

func (*ServicesResponseSchema) SetResult

SetResult sets field value

func (ServicesResponseSchema) ToMap

func (o ServicesResponseSchema) ToMap() (map[string]interface{}, error)

type Show

type Show struct {
	// Type of the show.
	Type string `json:"type"`
	// Title of the show.
	Title string `json:"title"`
	// The year that the movie was released.
	Year *int32 `json:"year,omitempty"`
	// The first year that the series aired.
	FirstAirYear *int32 `json:"firstAirYear,omitempty"`
	// The last year that the series aired.
	LastAirYear *int32 `json:"lastAirYear,omitempty"`
	// [IMDb](https://www.imdb.com/) ID of the show.
	ImdbId string `json:"imdbId"`
	// [TMDb](https://www.themoviedb.org/) ID of the show.
	TmdbId int32 `json:"tmdbId"`
	// Original title of the show.
	OriginalTitle string `json:"originalTitle"`
	// Array of the genres associated with the show.
	Genres []Genre `json:"genres"`
	// Array of the directors of the movie.
	Directors []string `json:"directors,omitempty"`
	// Array of the creators of the series.
	Creators []string      `json:"creators,omitempty"`
	Status   *SeriesStatus `json:"status,omitempty"`
	// Number of seasons that are either available or announced.
	SeasonCount *int32 `json:"seasonCount,omitempty"`
	// Number of episodes that are either available or announced.
	EpisodeCount *int32 `json:"episodeCount,omitempty"`
	// Country to streaming availability info mapping of a show.
	StreamingInfo map[string][]StreamingOption `json:"streamingInfo"`
	Seasons       []Season                     `json:"seasons,omitempty"`
}

Show Details of a show.

func NewShow

func NewShow(type_ string, title string, imdbId string, tmdbId int32, originalTitle string, genres []Genre, streamingInfo map[string][]StreamingOption) *Show

NewShow instantiates a new Show object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewShowWithDefaults

func NewShowWithDefaults() *Show

NewShowWithDefaults instantiates a new Show object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Show) GetCreators

func (o *Show) GetCreators() []string

GetCreators returns the Creators field value if set, zero value otherwise.

func (*Show) GetCreatorsOk

func (o *Show) GetCreatorsOk() ([]string, bool)

GetCreatorsOk returns a tuple with the Creators field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Show) GetDirectors

func (o *Show) GetDirectors() []string

GetDirectors returns the Directors field value if set, zero value otherwise.

func (*Show) GetDirectorsOk

func (o *Show) GetDirectorsOk() ([]string, bool)

GetDirectorsOk returns a tuple with the Directors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Show) GetEpisodeCount

func (o *Show) GetEpisodeCount() int32

GetEpisodeCount returns the EpisodeCount field value if set, zero value otherwise.

func (*Show) GetEpisodeCountOk

func (o *Show) GetEpisodeCountOk() (*int32, bool)

GetEpisodeCountOk returns a tuple with the EpisodeCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Show) GetFirstAirYear

func (o *Show) GetFirstAirYear() int32

GetFirstAirYear returns the FirstAirYear field value if set, zero value otherwise.

func (*Show) GetFirstAirYearOk

func (o *Show) GetFirstAirYearOk() (*int32, bool)

GetFirstAirYearOk returns a tuple with the FirstAirYear field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Show) GetGenres

func (o *Show) GetGenres() []Genre

GetGenres returns the Genres field value

func (*Show) GetGenresOk

func (o *Show) GetGenresOk() ([]Genre, bool)

GetGenresOk returns a tuple with the Genres field value and a boolean to check if the value has been set.

func (*Show) GetImdbId

func (o *Show) GetImdbId() string

GetImdbId returns the ImdbId field value

func (*Show) GetImdbIdOk

func (o *Show) GetImdbIdOk() (*string, bool)

GetImdbIdOk returns a tuple with the ImdbId field value and a boolean to check if the value has been set.

func (*Show) GetLastAirYear

func (o *Show) GetLastAirYear() int32

GetLastAirYear returns the LastAirYear field value if set, zero value otherwise.

func (*Show) GetLastAirYearOk

func (o *Show) GetLastAirYearOk() (*int32, bool)

GetLastAirYearOk returns a tuple with the LastAirYear field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Show) GetOriginalTitle

func (o *Show) GetOriginalTitle() string

GetOriginalTitle returns the OriginalTitle field value

func (*Show) GetOriginalTitleOk

func (o *Show) GetOriginalTitleOk() (*string, bool)

GetOriginalTitleOk returns a tuple with the OriginalTitle field value and a boolean to check if the value has been set.

func (*Show) GetSeasonCount

func (o *Show) GetSeasonCount() int32

GetSeasonCount returns the SeasonCount field value if set, zero value otherwise.

func (*Show) GetSeasonCountOk

func (o *Show) GetSeasonCountOk() (*int32, bool)

GetSeasonCountOk returns a tuple with the SeasonCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Show) GetSeasons

func (o *Show) GetSeasons() []Season

GetSeasons returns the Seasons field value if set, zero value otherwise.

func (*Show) GetSeasonsOk

func (o *Show) GetSeasonsOk() ([]Season, bool)

GetSeasonsOk returns a tuple with the Seasons field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Show) GetStatus

func (o *Show) GetStatus() SeriesStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*Show) GetStatusOk

func (o *Show) GetStatusOk() (*SeriesStatus, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Show) GetStreamingInfo

func (o *Show) GetStreamingInfo() map[string][]StreamingOption

GetStreamingInfo returns the StreamingInfo field value

func (*Show) GetStreamingInfoOk

func (o *Show) GetStreamingInfoOk() (*map[string][]StreamingOption, bool)

GetStreamingInfoOk returns a tuple with the StreamingInfo field value and a boolean to check if the value has been set.

func (*Show) GetTitle

func (o *Show) GetTitle() string

GetTitle returns the Title field value

func (*Show) GetTitleOk

func (o *Show) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.

func (*Show) GetTmdbId

func (o *Show) GetTmdbId() int32

GetTmdbId returns the TmdbId field value

func (*Show) GetTmdbIdOk

func (o *Show) GetTmdbIdOk() (*int32, bool)

GetTmdbIdOk returns a tuple with the TmdbId field value and a boolean to check if the value has been set.

func (*Show) GetType

func (o *Show) GetType() string

GetType returns the Type field value

func (*Show) GetTypeOk

func (o *Show) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*Show) GetYear

func (o *Show) GetYear() int32

GetYear returns the Year field value if set, zero value otherwise.

func (*Show) GetYearOk

func (o *Show) GetYearOk() (*int32, bool)

GetYearOk returns a tuple with the Year field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Show) HasCreators

func (o *Show) HasCreators() bool

HasCreators returns a boolean if a field has been set.

func (*Show) HasDirectors

func (o *Show) HasDirectors() bool

HasDirectors returns a boolean if a field has been set.

func (*Show) HasEpisodeCount

func (o *Show) HasEpisodeCount() bool

HasEpisodeCount returns a boolean if a field has been set.

func (*Show) HasFirstAirYear

func (o *Show) HasFirstAirYear() bool

HasFirstAirYear returns a boolean if a field has been set.

func (*Show) HasLastAirYear

func (o *Show) HasLastAirYear() bool

HasLastAirYear returns a boolean if a field has been set.

func (*Show) HasSeasonCount

func (o *Show) HasSeasonCount() bool

HasSeasonCount returns a boolean if a field has been set.

func (*Show) HasSeasons

func (o *Show) HasSeasons() bool

HasSeasons returns a boolean if a field has been set.

func (*Show) HasStatus

func (o *Show) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Show) HasYear

func (o *Show) HasYear() bool

HasYear returns a boolean if a field has been set.

func (Show) MarshalJSON

func (o Show) MarshalJSON() ([]byte, error)

func (*Show) SetCreators

func (o *Show) SetCreators(v []string)

SetCreators gets a reference to the given []string and assigns it to the Creators field.

func (*Show) SetDirectors

func (o *Show) SetDirectors(v []string)

SetDirectors gets a reference to the given []string and assigns it to the Directors field.

func (*Show) SetEpisodeCount

func (o *Show) SetEpisodeCount(v int32)

SetEpisodeCount gets a reference to the given int32 and assigns it to the EpisodeCount field.

func (*Show) SetFirstAirYear

func (o *Show) SetFirstAirYear(v int32)

SetFirstAirYear gets a reference to the given int32 and assigns it to the FirstAirYear field.

func (*Show) SetGenres

func (o *Show) SetGenres(v []Genre)

SetGenres sets field value

func (*Show) SetImdbId

func (o *Show) SetImdbId(v string)

SetImdbId sets field value

func (*Show) SetLastAirYear

func (o *Show) SetLastAirYear(v int32)

SetLastAirYear gets a reference to the given int32 and assigns it to the LastAirYear field.

func (*Show) SetOriginalTitle

func (o *Show) SetOriginalTitle(v string)

SetOriginalTitle sets field value

func (*Show) SetSeasonCount

func (o *Show) SetSeasonCount(v int32)

SetSeasonCount gets a reference to the given int32 and assigns it to the SeasonCount field.

func (*Show) SetSeasons

func (o *Show) SetSeasons(v []Season)

SetSeasons gets a reference to the given []Season and assigns it to the Seasons field.

func (*Show) SetStatus

func (o *Show) SetStatus(v SeriesStatus)

SetStatus gets a reference to the given SeriesStatus and assigns it to the Status field.

func (*Show) SetStreamingInfo

func (o *Show) SetStreamingInfo(v map[string][]StreamingOption)

SetStreamingInfo sets field value

func (*Show) SetTitle

func (o *Show) SetTitle(v string)

SetTitle sets field value

func (*Show) SetTmdbId

func (o *Show) SetTmdbId(v int32)

SetTmdbId sets field value

func (*Show) SetType

func (o *Show) SetType(v string)

SetType sets field value

func (*Show) SetYear

func (o *Show) SetYear(v int32)

SetYear gets a reference to the given int32 and assigns it to the Year field.

func (Show) ToMap

func (o Show) ToMap() (map[string]interface{}, error)

type StreamingOption

type StreamingOption struct {
	// Id of the streaming service.
	Service       string        `json:"service"`
	StreamingType StreamingType `json:"streamingType"`
	// Addon id, if the \"streamingType\" is \"addon\". Otherwise omitted.
	Addon *string `json:"addon,omitempty"`
	// Deep link to the streaming option's page in the streaming service. Guaranteed to be populated.
	Link string `json:"link"`
	// Deep link to the video associated with the streaming option. Omitted if there's no direct link to the video. Might have the same value as \"link\".
	VideoLink *string `json:"videoLink,omitempty"`
	// Maximum video quality of the streaming option. Omitted if the quality is unknown.
	Quality *string `json:"quality,omitempty"`
	// Array of the available audios.
	Audios []Locale `json:"audios"`
	// Array of the available subtitles.
	Subtitles []Subtitle `json:"subtitles"`
	Price     *Price     `json:"price,omitempty"`
	// [Unix Time Stamp](https://www.unixtimestamp.com/) of the date that this streaming option is expiring. In other words, last day to watch. A value of 1 means the streaming option is expiring soon, but there's no specific date info is found. Omitted if there's no known expiry date.
	Leaving *int64 `json:"leaving,omitempty"`
	// [Unix Time Stamp](https://www.unixtimestamp.com/) of the date that this streaming option was found on the service.
	AvailableSince int64 `json:"availableSince"`
}

StreamingOption A streaming option.

func NewStreamingOption

func NewStreamingOption(service string, streamingType StreamingType, link string, audios []Locale, subtitles []Subtitle, availableSince int64) *StreamingOption

NewStreamingOption instantiates a new StreamingOption object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewStreamingOptionWithDefaults

func NewStreamingOptionWithDefaults() *StreamingOption

NewStreamingOptionWithDefaults instantiates a new StreamingOption object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*StreamingOption) GetAddon

func (o *StreamingOption) GetAddon() string

GetAddon returns the Addon field value if set, zero value otherwise.

func (*StreamingOption) GetAddonOk

func (o *StreamingOption) GetAddonOk() (*string, bool)

GetAddonOk returns a tuple with the Addon field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StreamingOption) GetAudios

func (o *StreamingOption) GetAudios() []Locale

GetAudios returns the Audios field value

func (*StreamingOption) GetAudiosOk

func (o *StreamingOption) GetAudiosOk() ([]Locale, bool)

GetAudiosOk returns a tuple with the Audios field value and a boolean to check if the value has been set.

func (*StreamingOption) GetAvailableSince

func (o *StreamingOption) GetAvailableSince() int64

GetAvailableSince returns the AvailableSince field value

func (*StreamingOption) GetAvailableSinceOk

func (o *StreamingOption) GetAvailableSinceOk() (*int64, bool)

GetAvailableSinceOk returns a tuple with the AvailableSince field value and a boolean to check if the value has been set.

func (*StreamingOption) GetLeaving

func (o *StreamingOption) GetLeaving() int64

GetLeaving returns the Leaving field value if set, zero value otherwise.

func (*StreamingOption) GetLeavingOk

func (o *StreamingOption) GetLeavingOk() (*int64, bool)

GetLeavingOk returns a tuple with the Leaving field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *StreamingOption) GetLink() string

GetLink returns the Link field value

func (*StreamingOption) GetLinkOk

func (o *StreamingOption) GetLinkOk() (*string, bool)

GetLinkOk returns a tuple with the Link field value and a boolean to check if the value has been set.

func (*StreamingOption) GetPrice

func (o *StreamingOption) GetPrice() Price

GetPrice returns the Price field value if set, zero value otherwise.

func (*StreamingOption) GetPriceOk

func (o *StreamingOption) GetPriceOk() (*Price, bool)

GetPriceOk returns a tuple with the Price field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StreamingOption) GetQuality

func (o *StreamingOption) GetQuality() string

GetQuality returns the Quality field value if set, zero value otherwise.

func (*StreamingOption) GetQualityOk

func (o *StreamingOption) GetQualityOk() (*string, bool)

GetQualityOk returns a tuple with the Quality field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StreamingOption) GetService

func (o *StreamingOption) GetService() string

GetService returns the Service field value

func (*StreamingOption) GetServiceOk

func (o *StreamingOption) GetServiceOk() (*string, bool)

GetServiceOk returns a tuple with the Service field value and a boolean to check if the value has been set.

func (*StreamingOption) GetStreamingType

func (o *StreamingOption) GetStreamingType() StreamingType

GetStreamingType returns the StreamingType field value

func (*StreamingOption) GetStreamingTypeOk

func (o *StreamingOption) GetStreamingTypeOk() (*StreamingType, bool)

GetStreamingTypeOk returns a tuple with the StreamingType field value and a boolean to check if the value has been set.

func (*StreamingOption) GetSubtitles

func (o *StreamingOption) GetSubtitles() []Subtitle

GetSubtitles returns the Subtitles field value

func (*StreamingOption) GetSubtitlesOk

func (o *StreamingOption) GetSubtitlesOk() ([]Subtitle, bool)

GetSubtitlesOk returns a tuple with the Subtitles field value and a boolean to check if the value has been set.

func (o *StreamingOption) GetVideoLink() string

GetVideoLink returns the VideoLink field value if set, zero value otherwise.

func (*StreamingOption) GetVideoLinkOk

func (o *StreamingOption) GetVideoLinkOk() (*string, bool)

GetVideoLinkOk returns a tuple with the VideoLink field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StreamingOption) HasAddon

func (o *StreamingOption) HasAddon() bool

HasAddon returns a boolean if a field has been set.

func (*StreamingOption) HasLeaving

func (o *StreamingOption) HasLeaving() bool

HasLeaving returns a boolean if a field has been set.

func (*StreamingOption) HasPrice

func (o *StreamingOption) HasPrice() bool

HasPrice returns a boolean if a field has been set.

func (*StreamingOption) HasQuality

func (o *StreamingOption) HasQuality() bool

HasQuality returns a boolean if a field has been set.

func (o *StreamingOption) HasVideoLink() bool

HasVideoLink returns a boolean if a field has been set.

func (StreamingOption) MarshalJSON

func (o StreamingOption) MarshalJSON() ([]byte, error)

func (*StreamingOption) SetAddon

func (o *StreamingOption) SetAddon(v string)

SetAddon gets a reference to the given string and assigns it to the Addon field.

func (*StreamingOption) SetAudios

func (o *StreamingOption) SetAudios(v []Locale)

SetAudios sets field value

func (*StreamingOption) SetAvailableSince

func (o *StreamingOption) SetAvailableSince(v int64)

SetAvailableSince sets field value

func (*StreamingOption) SetLeaving

func (o *StreamingOption) SetLeaving(v int64)

SetLeaving gets a reference to the given int64 and assigns it to the Leaving field.

func (o *StreamingOption) SetLink(v string)

SetLink sets field value

func (*StreamingOption) SetPrice

func (o *StreamingOption) SetPrice(v Price)

SetPrice gets a reference to the given Price and assigns it to the Price field.

func (*StreamingOption) SetQuality

func (o *StreamingOption) SetQuality(v string)

SetQuality gets a reference to the given string and assigns it to the Quality field.

func (*StreamingOption) SetService

func (o *StreamingOption) SetService(v string)

SetService sets field value

func (*StreamingOption) SetStreamingType

func (o *StreamingOption) SetStreamingType(v StreamingType)

SetStreamingType sets field value

func (*StreamingOption) SetSubtitles

func (o *StreamingOption) SetSubtitles(v []Subtitle)

SetSubtitles sets field value

func (o *StreamingOption) SetVideoLink(v string)

SetVideoLink gets a reference to the given string and assigns it to the VideoLink field.

func (StreamingOption) ToMap

func (o StreamingOption) ToMap() (map[string]interface{}, error)

type StreamingType

type StreamingType string

StreamingType Type of the streaming option.

const (
	FREE         StreamingType = "free"
	SUBSCRIPTION StreamingType = "subscription"
	BUY          StreamingType = "buy"
	RENT         StreamingType = "rent"
	ADDON        StreamingType = "addon"
)

List of streamingType

func NewStreamingTypeFromValue

func NewStreamingTypeFromValue(v string) (*StreamingType, error)

NewStreamingTypeFromValue returns a pointer to a valid StreamingType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (StreamingType) IsValid

func (v StreamingType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (StreamingType) Ptr

func (v StreamingType) Ptr() *StreamingType

Ptr returns reference to streamingType value

func (*StreamingType) UnmarshalJSON

func (v *StreamingType) UnmarshalJSON(src []byte) error

type Subtitle

type Subtitle struct {
	// Whether closed captions are available for the subtitle.
	ClosedCaptions *bool   `json:"closedCaptions,omitempty"`
	Locale         *Locale `json:"locale,omitempty"`
}

Subtitle struct for Subtitle

func NewSubtitle

func NewSubtitle() *Subtitle

NewSubtitle instantiates a new Subtitle object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSubtitleWithDefaults

func NewSubtitleWithDefaults() *Subtitle

NewSubtitleWithDefaults instantiates a new Subtitle object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Subtitle) GetClosedCaptions

func (o *Subtitle) GetClosedCaptions() bool

GetClosedCaptions returns the ClosedCaptions field value if set, zero value otherwise.

func (*Subtitle) GetClosedCaptionsOk

func (o *Subtitle) GetClosedCaptionsOk() (*bool, bool)

GetClosedCaptionsOk returns a tuple with the ClosedCaptions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Subtitle) GetLocale

func (o *Subtitle) GetLocale() Locale

GetLocale returns the Locale field value if set, zero value otherwise.

func (*Subtitle) GetLocaleOk

func (o *Subtitle) GetLocaleOk() (*Locale, bool)

GetLocaleOk returns a tuple with the Locale field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Subtitle) HasClosedCaptions

func (o *Subtitle) HasClosedCaptions() bool

HasClosedCaptions returns a boolean if a field has been set.

func (*Subtitle) HasLocale

func (o *Subtitle) HasLocale() bool

HasLocale returns a boolean if a field has been set.

func (Subtitle) MarshalJSON

func (o Subtitle) MarshalJSON() ([]byte, error)

func (*Subtitle) SetClosedCaptions

func (o *Subtitle) SetClosedCaptions(v bool)

SetClosedCaptions gets a reference to the given bool and assigns it to the ClosedCaptions field.

func (*Subtitle) SetLocale

func (o *Subtitle) SetLocale(v Locale)

SetLocale gets a reference to the given Locale and assigns it to the Locale field.

func (Subtitle) ToMap

func (o Subtitle) ToMap() (map[string]interface{}, error)

type SupportedStreamingTypes

type SupportedStreamingTypes struct {
	// Whether there are addons/channels available.
	Addon bool `json:"addon"`
	// Whether buying shows is supported.
	Buy bool `json:"buy"`
	// Whether renting shows is supported.
	Rent bool `json:"rent"`
	// Whether there are free shows available.
	Free bool `json:"free"`
	// Whether signing up for a subscription plan is available.
	Subscription bool `json:"subscription"`
}

SupportedStreamingTypes Details about the supported streaming types for a service-country combo.

func NewSupportedStreamingTypes

func NewSupportedStreamingTypes(addon bool, buy bool, rent bool, free bool, subscription bool) *SupportedStreamingTypes

NewSupportedStreamingTypes instantiates a new SupportedStreamingTypes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSupportedStreamingTypesWithDefaults

func NewSupportedStreamingTypesWithDefaults() *SupportedStreamingTypes

NewSupportedStreamingTypesWithDefaults instantiates a new SupportedStreamingTypes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SupportedStreamingTypes) GetAddon

func (o *SupportedStreamingTypes) GetAddon() bool

GetAddon returns the Addon field value

func (*SupportedStreamingTypes) GetAddonOk

func (o *SupportedStreamingTypes) GetAddonOk() (*bool, bool)

GetAddonOk returns a tuple with the Addon field value and a boolean to check if the value has been set.

func (*SupportedStreamingTypes) GetBuy

func (o *SupportedStreamingTypes) GetBuy() bool

GetBuy returns the Buy field value

func (*SupportedStreamingTypes) GetBuyOk

func (o *SupportedStreamingTypes) GetBuyOk() (*bool, bool)

GetBuyOk returns a tuple with the Buy field value and a boolean to check if the value has been set.

func (*SupportedStreamingTypes) GetFree

func (o *SupportedStreamingTypes) GetFree() bool

GetFree returns the Free field value

func (*SupportedStreamingTypes) GetFreeOk

func (o *SupportedStreamingTypes) GetFreeOk() (*bool, bool)

GetFreeOk returns a tuple with the Free field value and a boolean to check if the value has been set.

func (*SupportedStreamingTypes) GetRent

func (o *SupportedStreamingTypes) GetRent() bool

GetRent returns the Rent field value

func (*SupportedStreamingTypes) GetRentOk

func (o *SupportedStreamingTypes) GetRentOk() (*bool, bool)

GetRentOk returns a tuple with the Rent field value and a boolean to check if the value has been set.

func (*SupportedStreamingTypes) GetSubscription

func (o *SupportedStreamingTypes) GetSubscription() bool

GetSubscription returns the Subscription field value

func (*SupportedStreamingTypes) GetSubscriptionOk

func (o *SupportedStreamingTypes) GetSubscriptionOk() (*bool, bool)

GetSubscriptionOk returns a tuple with the Subscription field value and a boolean to check if the value has been set.

func (SupportedStreamingTypes) MarshalJSON

func (o SupportedStreamingTypes) MarshalJSON() ([]byte, error)

func (*SupportedStreamingTypes) SetAddon

func (o *SupportedStreamingTypes) SetAddon(v bool)

SetAddon sets field value

func (*SupportedStreamingTypes) SetBuy

func (o *SupportedStreamingTypes) SetBuy(v bool)

SetBuy sets field value

func (*SupportedStreamingTypes) SetFree

func (o *SupportedStreamingTypes) SetFree(v bool)

SetFree sets field value

func (*SupportedStreamingTypes) SetRent

func (o *SupportedStreamingTypes) SetRent(v bool)

SetRent sets field value

func (*SupportedStreamingTypes) SetSubscription

func (o *SupportedStreamingTypes) SetSubscription(v bool)

SetSubscription sets field value

func (SupportedStreamingTypes) ToMap

func (o SupportedStreamingTypes) ToMap() (map[string]interface{}, error)

type UpcomingChangeSet

type UpcomingChangeSet struct {
	UpcomingChanges []Change `json:"upcomingChanges"`
	Show            Show     `json:"show"`
}

UpcomingChangeSet struct for UpcomingChangeSet

func NewUpcomingChangeSet

func NewUpcomingChangeSet(upcomingChanges []Change, show Show) *UpcomingChangeSet

NewUpcomingChangeSet instantiates a new UpcomingChangeSet object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpcomingChangeSetWithDefaults

func NewUpcomingChangeSetWithDefaults() *UpcomingChangeSet

NewUpcomingChangeSetWithDefaults instantiates a new UpcomingChangeSet object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpcomingChangeSet) GetShow

func (o *UpcomingChangeSet) GetShow() Show

GetShow returns the Show field value

func (*UpcomingChangeSet) GetShowOk

func (o *UpcomingChangeSet) GetShowOk() (*Show, bool)

GetShowOk returns a tuple with the Show field value and a boolean to check if the value has been set.

func (*UpcomingChangeSet) GetUpcomingChanges

func (o *UpcomingChangeSet) GetUpcomingChanges() []Change

GetUpcomingChanges returns the UpcomingChanges field value

func (*UpcomingChangeSet) GetUpcomingChangesOk

func (o *UpcomingChangeSet) GetUpcomingChangesOk() ([]Change, bool)

GetUpcomingChangesOk returns a tuple with the UpcomingChanges field value and a boolean to check if the value has been set.

func (UpcomingChangeSet) MarshalJSON

func (o UpcomingChangeSet) MarshalJSON() ([]byte, error)

func (*UpcomingChangeSet) SetShow

func (o *UpcomingChangeSet) SetShow(v Show)

SetShow sets field value

func (*UpcomingChangeSet) SetUpcomingChanges

func (o *UpcomingChangeSet) SetUpcomingChanges(v []Change)

SetUpcomingChanges sets field value

func (UpcomingChangeSet) ToMap

func (o UpcomingChangeSet) ToMap() (map[string]interface{}, error)

type UpcomingChangesResponseSchema

type UpcomingChangesResponseSchema struct {
	// Array of the results matched with the query.
	Result []UpcomingChangeSet `json:"result"`
	// Whether there are more results to be loaded.
	HasMore bool `json:"hasMore"`
	// Cursor value to pass to get next set of the results. An empty string if \"hasMore\" is \"false\".
	NextCursor string `json:"nextCursor"`
}

UpcomingChangesResponseSchema struct for UpcomingChangesResponseSchema

func NewUpcomingChangesResponseSchema

func NewUpcomingChangesResponseSchema(result []UpcomingChangeSet, hasMore bool, nextCursor string) *UpcomingChangesResponseSchema

NewUpcomingChangesResponseSchema instantiates a new UpcomingChangesResponseSchema object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpcomingChangesResponseSchemaWithDefaults

func NewUpcomingChangesResponseSchemaWithDefaults() *UpcomingChangesResponseSchema

NewUpcomingChangesResponseSchemaWithDefaults instantiates a new UpcomingChangesResponseSchema object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpcomingChangesResponseSchema) GetHasMore

func (o *UpcomingChangesResponseSchema) GetHasMore() bool

GetHasMore returns the HasMore field value

func (*UpcomingChangesResponseSchema) GetHasMoreOk

func (o *UpcomingChangesResponseSchema) GetHasMoreOk() (*bool, bool)

GetHasMoreOk returns a tuple with the HasMore field value and a boolean to check if the value has been set.

func (*UpcomingChangesResponseSchema) GetNextCursor

func (o *UpcomingChangesResponseSchema) GetNextCursor() string

GetNextCursor returns the NextCursor field value

func (*UpcomingChangesResponseSchema) GetNextCursorOk

func (o *UpcomingChangesResponseSchema) GetNextCursorOk() (*string, bool)

GetNextCursorOk returns a tuple with the NextCursor field value and a boolean to check if the value has been set.

func (*UpcomingChangesResponseSchema) GetResult

GetResult returns the Result field value

func (*UpcomingChangesResponseSchema) GetResultOk

GetResultOk returns a tuple with the Result field value and a boolean to check if the value has been set.

func (UpcomingChangesResponseSchema) MarshalJSON

func (o UpcomingChangesResponseSchema) MarshalJSON() ([]byte, error)

func (*UpcomingChangesResponseSchema) SetHasMore

func (o *UpcomingChangesResponseSchema) SetHasMore(v bool)

SetHasMore sets field value

func (*UpcomingChangesResponseSchema) SetNextCursor

func (o *UpcomingChangesResponseSchema) SetNextCursor(v string)

SetNextCursor sets field value

func (*UpcomingChangesResponseSchema) SetResult

SetResult sets field value

func (UpcomingChangesResponseSchema) ToMap

func (o UpcomingChangesResponseSchema) ToMap() (map[string]interface{}, error)

Jump to

Keyboard shortcuts

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