Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type Addon
- func (o *Addon) GetDisplayName() string
- func (o *Addon) GetDisplayNameOk() (*string, bool)
- func (o *Addon) GetHomePage() string
- func (o *Addon) GetHomePageOk() (*string, bool)
- func (o *Addon) GetId() string
- func (o *Addon) GetIdOk() (*string, bool)
- func (o *Addon) GetImage() string
- func (o *Addon) GetImageOk() (*string, bool)
- func (o *Addon) GetThemeColorCode() string
- func (o *Addon) GetThemeColorCodeOk() (*string, bool)
- func (o Addon) MarshalJSON() ([]byte, error)
- func (o *Addon) SetDisplayName(v string)
- func (o *Addon) SetHomePage(v string)
- func (o *Addon) SetId(v string)
- func (o *Addon) SetImage(v string)
- func (o *Addon) SetThemeColorCode(v string)
- func (o Addon) ToMap() (map[string]interface{}, error)
- type ApiChangesRequest
- func (r ApiChangesRequest) ChangeType(changeType string) ApiChangesRequest
- func (r ApiChangesRequest) Country(country string) ApiChangesRequest
- func (r ApiChangesRequest) Cursor(cursor string) ApiChangesRequest
- func (r ApiChangesRequest) Desc(desc bool) ApiChangesRequest
- func (r ApiChangesRequest) Execute() (*ChangesResponseSchema, *http.Response, error)
- func (r ApiChangesRequest) OutputLanguage(outputLanguage string) ApiChangesRequest
- func (r ApiChangesRequest) Services(services string) ApiChangesRequest
- func (r ApiChangesRequest) Since(since int32) ApiChangesRequest
- func (r ApiChangesRequest) TargetType(targetType string) ApiChangesRequest
- type ApiCountriesRequest
- type ApiGenresRequest
- type ApiGetByIdRequest
- func (r ApiGetByIdRequest) Execute() (*GetResponseSchema, *http.Response, error)
- func (r ApiGetByIdRequest) ImdbId(imdbId string) ApiGetByIdRequest
- func (r ApiGetByIdRequest) OutputLanguage(outputLanguage string) ApiGetByIdRequest
- func (r ApiGetByIdRequest) SeriesGranularity(seriesGranularity string) ApiGetByIdRequest
- func (r ApiGetByIdRequest) TmdbId(tmdbId string) ApiGetByIdRequest
- type ApiLeavingRequest
- func (r ApiLeavingRequest) Country(country string) ApiLeavingRequest
- func (r ApiLeavingRequest) Cursor(cursor string) ApiLeavingRequest
- func (r ApiLeavingRequest) Execute() (*UpcomingChangesResponseSchema, *http.Response, error)
- func (r ApiLeavingRequest) OutputLanguage(outputLanguage string) ApiLeavingRequest
- func (r ApiLeavingRequest) Services(services string) ApiLeavingRequest
- func (r ApiLeavingRequest) TargetType(targetType string) ApiLeavingRequest
- type ApiSearchByFiltersRequest
- func (r ApiSearchByFiltersRequest) Country(country string) ApiSearchByFiltersRequest
- func (r ApiSearchByFiltersRequest) Cursor(cursor string) ApiSearchByFiltersRequest
- func (r ApiSearchByFiltersRequest) Desc(desc bool) ApiSearchByFiltersRequest
- func (r ApiSearchByFiltersRequest) Execute() (*SearchFiltersResponseSchema, *http.Response, error)
- func (r ApiSearchByFiltersRequest) Genres(genres string) ApiSearchByFiltersRequest
- func (r ApiSearchByFiltersRequest) GenresRelation(genresRelation string) ApiSearchByFiltersRequest
- func (r ApiSearchByFiltersRequest) Keyword(keyword string) ApiSearchByFiltersRequest
- func (r ApiSearchByFiltersRequest) OrderBy(orderBy string) ApiSearchByFiltersRequest
- func (r ApiSearchByFiltersRequest) OutputLanguage(outputLanguage string) ApiSearchByFiltersRequest
- func (r ApiSearchByFiltersRequest) SeriesGranularity(seriesGranularity string) ApiSearchByFiltersRequest
- func (r ApiSearchByFiltersRequest) Services(services string) ApiSearchByFiltersRequest
- func (r ApiSearchByFiltersRequest) ShowOriginalLanguage(showOriginalLanguage string) ApiSearchByFiltersRequest
- func (r ApiSearchByFiltersRequest) ShowType(showType string) ApiSearchByFiltersRequest
- func (r ApiSearchByFiltersRequest) YearMax(yearMax int32) ApiSearchByFiltersRequest
- func (r ApiSearchByFiltersRequest) YearMin(yearMin int32) ApiSearchByFiltersRequest
- type ApiSearchByTitleRequest
- func (r ApiSearchByTitleRequest) Country(country string) ApiSearchByTitleRequest
- func (r ApiSearchByTitleRequest) Execute() (*SearchTitleResponseSchema, *http.Response, error)
- func (r ApiSearchByTitleRequest) OutputLanguage(outputLanguage string) ApiSearchByTitleRequest
- func (r ApiSearchByTitleRequest) SeriesGranularity(seriesGranularity string) ApiSearchByTitleRequest
- func (r ApiSearchByTitleRequest) ShowType(showType string) ApiSearchByTitleRequest
- func (r ApiSearchByTitleRequest) Title(title string) ApiSearchByTitleRequest
- type ApiServicesRequest
- type BasicAuth
- type Change
- func (o *Change) GetAddon() string
- func (o *Change) GetAddonOk() (*string, bool)
- func (o *Change) GetEpisode() int32
- func (o *Change) GetEpisodeOk() (*int32, bool)
- func (o *Change) GetSeason() int32
- func (o *Change) GetSeasonOk() (*int32, bool)
- func (o *Change) GetService() string
- func (o *Change) GetServiceOk() (*string, bool)
- func (o *Change) GetStreamingType() StreamingType
- func (o *Change) GetStreamingTypeOk() (*StreamingType, bool)
- func (o *Change) GetTime() int32
- func (o *Change) GetTimeOk() (*int32, bool)
- func (o *Change) HasAddon() bool
- func (o *Change) HasEpisode() bool
- func (o *Change) HasSeason() bool
- func (o Change) MarshalJSON() ([]byte, error)
- func (o *Change) SetAddon(v string)
- func (o *Change) SetEpisode(v int32)
- func (o *Change) SetSeason(v int32)
- func (o *Change) SetService(v string)
- func (o *Change) SetStreamingType(v StreamingType)
- func (o *Change) SetTime(v int32)
- func (o Change) ToMap() (map[string]interface{}, error)
- type ChangeSet
- func (o *ChangeSet) GetChanges() []Change
- func (o *ChangeSet) GetChangesOk() ([]Change, bool)
- func (o *ChangeSet) GetShow() Show
- func (o *ChangeSet) GetShowOk() (*Show, bool)
- func (o ChangeSet) MarshalJSON() ([]byte, error)
- func (o *ChangeSet) SetChanges(v []Change)
- func (o *ChangeSet) SetShow(v Show)
- func (o ChangeSet) ToMap() (map[string]interface{}, error)
- type ChangesResponseSchema
- func (o *ChangesResponseSchema) GetHasMore() bool
- func (o *ChangesResponseSchema) GetHasMoreOk() (*bool, bool)
- func (o *ChangesResponseSchema) GetNextCursor() string
- func (o *ChangesResponseSchema) GetNextCursorOk() (*string, bool)
- func (o *ChangesResponseSchema) GetResult() []ChangeSet
- func (o *ChangesResponseSchema) GetResultOk() ([]ChangeSet, bool)
- func (o ChangesResponseSchema) MarshalJSON() ([]byte, error)
- func (o *ChangesResponseSchema) SetHasMore(v bool)
- func (o *ChangesResponseSchema) SetNextCursor(v string)
- func (o *ChangesResponseSchema) SetResult(v []ChangeSet)
- func (o ChangesResponseSchema) ToMap() (map[string]interface{}, error)
- type Configuration
- type CountriesResponseSchema
- func (o *CountriesResponseSchema) GetResult() map[string]Country
- func (o *CountriesResponseSchema) GetResultOk() (*map[string]Country, bool)
- func (o CountriesResponseSchema) MarshalJSON() ([]byte, error)
- func (o *CountriesResponseSchema) SetResult(v map[string]Country)
- func (o CountriesResponseSchema) ToMap() (map[string]interface{}, error)
- type Country
- func (o *Country) GetCountryCode() string
- func (o *Country) GetCountryCodeOk() (*string, bool)
- func (o *Country) GetName() string
- func (o *Country) GetNameOk() (*string, bool)
- func (o *Country) GetServices() map[string]Service
- func (o *Country) GetServicesOk() (*map[string]Service, bool)
- func (o Country) MarshalJSON() ([]byte, error)
- func (o *Country) SetCountryCode(v string)
- func (o *Country) SetName(v string)
- func (o *Country) SetServices(v map[string]Service)
- func (o Country) ToMap() (map[string]interface{}, error)
- type DefaultAPIService
- func (a *DefaultAPIService) Changes(ctx context.Context) ApiChangesRequest
- func (a *DefaultAPIService) ChangesExecute(r ApiChangesRequest) (*ChangesResponseSchema, *http.Response, error)
- func (a *DefaultAPIService) Countries(ctx context.Context) ApiCountriesRequest
- func (a *DefaultAPIService) CountriesExecute(r ApiCountriesRequest) (*CountriesResponseSchema, *http.Response, error)
- func (a *DefaultAPIService) Genres(ctx context.Context) ApiGenresRequest
- func (a *DefaultAPIService) GenresExecute(r ApiGenresRequest) (*GenresResponseSchema, *http.Response, error)
- func (a *DefaultAPIService) GetById(ctx context.Context) ApiGetByIdRequest
- func (a *DefaultAPIService) GetByIdExecute(r ApiGetByIdRequest) (*GetResponseSchema, *http.Response, error)
- func (a *DefaultAPIService) Leaving(ctx context.Context) ApiLeavingRequest
- func (a *DefaultAPIService) LeavingExecute(r ApiLeavingRequest) (*UpcomingChangesResponseSchema, *http.Response, error)
- func (a *DefaultAPIService) SearchByFilters(ctx context.Context) ApiSearchByFiltersRequest
- func (a *DefaultAPIService) SearchByFiltersExecute(r ApiSearchByFiltersRequest) (*SearchFiltersResponseSchema, *http.Response, error)
- func (a *DefaultAPIService) SearchByTitle(ctx context.Context) ApiSearchByTitleRequest
- func (a *DefaultAPIService) SearchByTitleExecute(r ApiSearchByTitleRequest) (*SearchTitleResponseSchema, *http.Response, error)
- func (a *DefaultAPIService) Services(ctx context.Context) ApiServicesRequest
- func (a *DefaultAPIService) ServicesExecute(r ApiServicesRequest) (*ServicesResponseSchema, *http.Response, error)
- type DeprecatedServiceInfo
- func (o *DeprecatedServiceInfo) GetCountries() map[string]ServiceCountryInfo
- func (o *DeprecatedServiceInfo) GetCountriesOk() (*map[string]ServiceCountryInfo, bool)
- func (o *DeprecatedServiceInfo) GetId() string
- func (o *DeprecatedServiceInfo) GetIdOk() (*string, bool)
- func (o DeprecatedServiceInfo) MarshalJSON() ([]byte, error)
- func (o *DeprecatedServiceInfo) SetCountries(v map[string]ServiceCountryInfo)
- func (o *DeprecatedServiceInfo) SetId(v string)
- func (o DeprecatedServiceInfo) ToMap() (map[string]interface{}, error)
- type Episode
- func (o *Episode) GetStreamingInfo() map[string][]StreamingOption
- func (o *Episode) GetStreamingInfoOk() (*map[string][]StreamingOption, bool)
- func (o *Episode) GetTitle() string
- func (o *Episode) GetTitleOk() (*string, bool)
- func (o *Episode) GetType() string
- func (o *Episode) GetTypeOk() (*string, bool)
- func (o *Episode) GetYear() int32
- func (o *Episode) GetYearOk() (*int32, bool)
- func (o Episode) MarshalJSON() ([]byte, error)
- func (o *Episode) SetStreamingInfo(v map[string][]StreamingOption)
- func (o *Episode) SetTitle(v string)
- func (o *Episode) SetType(v string)
- func (o *Episode) SetYear(v int32)
- func (o Episode) ToMap() (map[string]interface{}, error)
- type GenericOpenAPIError
- type Genre
- func (o *Genre) GetId() int32
- func (o *Genre) GetIdOk() (*int32, bool)
- func (o *Genre) GetName() string
- func (o *Genre) GetNameOk() (*string, bool)
- func (o Genre) MarshalJSON() ([]byte, error)
- func (o *Genre) SetId(v int32)
- func (o *Genre) SetName(v string)
- func (o Genre) ToMap() (map[string]interface{}, error)
- type GenresResponseSchema
- func (o *GenresResponseSchema) GetResult() map[string]string
- func (o *GenresResponseSchema) GetResultOk() (*map[string]string, bool)
- func (o GenresResponseSchema) MarshalJSON() ([]byte, error)
- func (o *GenresResponseSchema) SetResult(v map[string]string)
- func (o GenresResponseSchema) ToMap() (map[string]interface{}, error)
- type GetResponseSchema
- type Locale
- func (o *Locale) GetLanguage() string
- func (o *Locale) GetLanguageOk() (*string, bool)
- func (o *Locale) GetRegion() string
- func (o *Locale) GetRegionOk() (*string, bool)
- func (o Locale) MarshalJSON() ([]byte, error)
- func (o *Locale) SetLanguage(v string)
- func (o *Locale) SetRegion(v string)
- func (o Locale) ToMap() (map[string]interface{}, error)
- type MappedNullable
- type NotFoundResponseSchema
- func (o *NotFoundResponseSchema) GetMessage() string
- func (o *NotFoundResponseSchema) GetMessageOk() (*string, bool)
- func (o NotFoundResponseSchema) MarshalJSON() ([]byte, error)
- func (o *NotFoundResponseSchema) SetMessage(v string)
- func (o NotFoundResponseSchema) ToMap() (map[string]interface{}, error)
- type NullableAddon
- type NullableBool
- type NullableChange
- type NullableChangeSet
- type NullableChangesResponseSchema
- func (v NullableChangesResponseSchema) Get() *ChangesResponseSchema
- func (v NullableChangesResponseSchema) IsSet() bool
- func (v NullableChangesResponseSchema) MarshalJSON() ([]byte, error)
- func (v *NullableChangesResponseSchema) Set(val *ChangesResponseSchema)
- func (v *NullableChangesResponseSchema) UnmarshalJSON(src []byte) error
- func (v *NullableChangesResponseSchema) Unset()
- type NullableCountriesResponseSchema
- func (v NullableCountriesResponseSchema) Get() *CountriesResponseSchema
- func (v NullableCountriesResponseSchema) IsSet() bool
- func (v NullableCountriesResponseSchema) MarshalJSON() ([]byte, error)
- func (v *NullableCountriesResponseSchema) Set(val *CountriesResponseSchema)
- func (v *NullableCountriesResponseSchema) UnmarshalJSON(src []byte) error
- func (v *NullableCountriesResponseSchema) Unset()
- type NullableCountry
- type NullableDeprecatedServiceInfo
- func (v NullableDeprecatedServiceInfo) Get() *DeprecatedServiceInfo
- func (v NullableDeprecatedServiceInfo) IsSet() bool
- func (v NullableDeprecatedServiceInfo) MarshalJSON() ([]byte, error)
- func (v *NullableDeprecatedServiceInfo) Set(val *DeprecatedServiceInfo)
- func (v *NullableDeprecatedServiceInfo) UnmarshalJSON(src []byte) error
- func (v *NullableDeprecatedServiceInfo) Unset()
- type NullableEpisode
- type NullableFloat32
- type NullableFloat64
- type NullableGenre
- type NullableGenresResponseSchema
- func (v NullableGenresResponseSchema) Get() *GenresResponseSchema
- func (v NullableGenresResponseSchema) IsSet() bool
- func (v NullableGenresResponseSchema) MarshalJSON() ([]byte, error)
- func (v *NullableGenresResponseSchema) Set(val *GenresResponseSchema)
- func (v *NullableGenresResponseSchema) UnmarshalJSON(src []byte) error
- func (v *NullableGenresResponseSchema) Unset()
- type NullableGetResponseSchema
- func (v NullableGetResponseSchema) Get() *GetResponseSchema
- func (v NullableGetResponseSchema) IsSet() bool
- func (v NullableGetResponseSchema) MarshalJSON() ([]byte, error)
- func (v *NullableGetResponseSchema) Set(val *GetResponseSchema)
- func (v *NullableGetResponseSchema) UnmarshalJSON(src []byte) error
- func (v *NullableGetResponseSchema) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableLocale
- type NullableNotFoundResponseSchema
- func (v NullableNotFoundResponseSchema) Get() *NotFoundResponseSchema
- func (v NullableNotFoundResponseSchema) IsSet() bool
- func (v NullableNotFoundResponseSchema) MarshalJSON() ([]byte, error)
- func (v *NullableNotFoundResponseSchema) Set(val *NotFoundResponseSchema)
- func (v *NullableNotFoundResponseSchema) UnmarshalJSON(src []byte) error
- func (v *NullableNotFoundResponseSchema) Unset()
- type NullablePrice
- type NullableSearchFiltersResponseSchema
- func (v NullableSearchFiltersResponseSchema) Get() *SearchFiltersResponseSchema
- func (v NullableSearchFiltersResponseSchema) IsSet() bool
- func (v NullableSearchFiltersResponseSchema) MarshalJSON() ([]byte, error)
- func (v *NullableSearchFiltersResponseSchema) Set(val *SearchFiltersResponseSchema)
- func (v *NullableSearchFiltersResponseSchema) UnmarshalJSON(src []byte) error
- func (v *NullableSearchFiltersResponseSchema) Unset()
- type NullableSearchTitleResponseSchema
- func (v NullableSearchTitleResponseSchema) Get() *SearchTitleResponseSchema
- func (v NullableSearchTitleResponseSchema) IsSet() bool
- func (v NullableSearchTitleResponseSchema) MarshalJSON() ([]byte, error)
- func (v *NullableSearchTitleResponseSchema) Set(val *SearchTitleResponseSchema)
- func (v *NullableSearchTitleResponseSchema) UnmarshalJSON(src []byte) error
- func (v *NullableSearchTitleResponseSchema) Unset()
- type NullableSeason
- type NullableSeriesStatus
- func (v NullableSeriesStatus) Get() *SeriesStatus
- func (v NullableSeriesStatus) IsSet() bool
- func (v NullableSeriesStatus) MarshalJSON() ([]byte, error)
- func (v *NullableSeriesStatus) Set(val *SeriesStatus)
- func (v *NullableSeriesStatus) UnmarshalJSON(src []byte) error
- func (v *NullableSeriesStatus) Unset()
- type NullableService
- type NullableServiceCountryInfo
- func (v NullableServiceCountryInfo) Get() *ServiceCountryInfo
- func (v NullableServiceCountryInfo) IsSet() bool
- func (v NullableServiceCountryInfo) MarshalJSON() ([]byte, error)
- func (v *NullableServiceCountryInfo) Set(val *ServiceCountryInfo)
- func (v *NullableServiceCountryInfo) UnmarshalJSON(src []byte) error
- func (v *NullableServiceCountryInfo) Unset()
- type NullableServiceImages
- func (v NullableServiceImages) Get() *ServiceImages
- func (v NullableServiceImages) IsSet() bool
- func (v NullableServiceImages) MarshalJSON() ([]byte, error)
- func (v *NullableServiceImages) Set(val *ServiceImages)
- func (v *NullableServiceImages) UnmarshalJSON(src []byte) error
- func (v *NullableServiceImages) Unset()
- type NullableServicesResponseSchema
- func (v NullableServicesResponseSchema) Get() *ServicesResponseSchema
- func (v NullableServicesResponseSchema) IsSet() bool
- func (v NullableServicesResponseSchema) MarshalJSON() ([]byte, error)
- func (v *NullableServicesResponseSchema) Set(val *ServicesResponseSchema)
- func (v *NullableServicesResponseSchema) UnmarshalJSON(src []byte) error
- func (v *NullableServicesResponseSchema) Unset()
- type NullableShow
- type NullableStreamingOption
- func (v NullableStreamingOption) Get() *StreamingOption
- func (v NullableStreamingOption) IsSet() bool
- func (v NullableStreamingOption) MarshalJSON() ([]byte, error)
- func (v *NullableStreamingOption) Set(val *StreamingOption)
- func (v *NullableStreamingOption) UnmarshalJSON(src []byte) error
- func (v *NullableStreamingOption) Unset()
- type NullableStreamingType
- func (v NullableStreamingType) Get() *StreamingType
- func (v NullableStreamingType) IsSet() bool
- func (v NullableStreamingType) MarshalJSON() ([]byte, error)
- func (v *NullableStreamingType) Set(val *StreamingType)
- func (v *NullableStreamingType) UnmarshalJSON(src []byte) error
- func (v *NullableStreamingType) Unset()
- type NullableString
- type NullableSubtitle
- type NullableSupportedStreamingTypes
- func (v NullableSupportedStreamingTypes) Get() *SupportedStreamingTypes
- func (v NullableSupportedStreamingTypes) IsSet() bool
- func (v NullableSupportedStreamingTypes) MarshalJSON() ([]byte, error)
- func (v *NullableSupportedStreamingTypes) Set(val *SupportedStreamingTypes)
- func (v *NullableSupportedStreamingTypes) UnmarshalJSON(src []byte) error
- func (v *NullableSupportedStreamingTypes) Unset()
- type NullableTime
- type NullableUpcomingChangeSet
- func (v NullableUpcomingChangeSet) Get() *UpcomingChangeSet
- func (v NullableUpcomingChangeSet) IsSet() bool
- func (v NullableUpcomingChangeSet) MarshalJSON() ([]byte, error)
- func (v *NullableUpcomingChangeSet) Set(val *UpcomingChangeSet)
- func (v *NullableUpcomingChangeSet) UnmarshalJSON(src []byte) error
- func (v *NullableUpcomingChangeSet) Unset()
- type NullableUpcomingChangesResponseSchema
- func (v NullableUpcomingChangesResponseSchema) Get() *UpcomingChangesResponseSchema
- func (v NullableUpcomingChangesResponseSchema) IsSet() bool
- func (v NullableUpcomingChangesResponseSchema) MarshalJSON() ([]byte, error)
- func (v *NullableUpcomingChangesResponseSchema) Set(val *UpcomingChangesResponseSchema)
- func (v *NullableUpcomingChangesResponseSchema) UnmarshalJSON(src []byte) error
- func (v *NullableUpcomingChangesResponseSchema) Unset()
- type Price
- func (o *Price) GetAmount() string
- func (o *Price) GetAmountOk() (*string, bool)
- func (o *Price) GetCurrency() string
- func (o *Price) GetCurrencyOk() (*string, bool)
- func (o *Price) GetFormatted() string
- func (o *Price) GetFormattedOk() (*string, bool)
- func (o Price) MarshalJSON() ([]byte, error)
- func (o *Price) SetAmount(v string)
- func (o *Price) SetCurrency(v string)
- func (o *Price) SetFormatted(v string)
- func (o Price) ToMap() (map[string]interface{}, error)
- type SearchFiltersResponseSchema
- func (o *SearchFiltersResponseSchema) GetHasMore() bool
- func (o *SearchFiltersResponseSchema) GetHasMoreOk() (*bool, bool)
- func (o *SearchFiltersResponseSchema) GetNextCursor() string
- func (o *SearchFiltersResponseSchema) GetNextCursorOk() (*string, bool)
- func (o *SearchFiltersResponseSchema) GetResult() []Show
- func (o *SearchFiltersResponseSchema) GetResultOk() ([]Show, bool)
- func (o SearchFiltersResponseSchema) MarshalJSON() ([]byte, error)
- func (o *SearchFiltersResponseSchema) SetHasMore(v bool)
- func (o *SearchFiltersResponseSchema) SetNextCursor(v string)
- func (o *SearchFiltersResponseSchema) SetResult(v []Show)
- func (o SearchFiltersResponseSchema) ToMap() (map[string]interface{}, error)
- type SearchTitleResponseSchema
- func (o *SearchTitleResponseSchema) GetResult() []Show
- func (o *SearchTitleResponseSchema) GetResultOk() ([]Show, bool)
- func (o SearchTitleResponseSchema) MarshalJSON() ([]byte, error)
- func (o *SearchTitleResponseSchema) SetResult(v []Show)
- func (o SearchTitleResponseSchema) ToMap() (map[string]interface{}, error)
- type Season
- func (o *Season) GetEpisodes() []Episode
- func (o *Season) GetEpisodesOk() ([]Episode, bool)
- func (o *Season) GetFirstAirYear() int32
- func (o *Season) GetFirstAirYearOk() (*int32, bool)
- func (o *Season) GetLastAirYear() int32
- func (o *Season) GetLastAirYearOk() (*int32, bool)
- func (o *Season) GetStreamingInfo() map[string][]StreamingOption
- func (o *Season) GetStreamingInfoOk() (*map[string][]StreamingOption, bool)
- func (o *Season) GetTitle() string
- func (o *Season) GetTitleOk() (*string, bool)
- func (o *Season) GetType() string
- func (o *Season) GetTypeOk() (*string, bool)
- func (o Season) MarshalJSON() ([]byte, error)
- func (o *Season) SetEpisodes(v []Episode)
- func (o *Season) SetFirstAirYear(v int32)
- func (o *Season) SetLastAirYear(v int32)
- func (o *Season) SetStreamingInfo(v map[string][]StreamingOption)
- func (o *Season) SetTitle(v string)
- func (o *Season) SetType(v string)
- func (o Season) ToMap() (map[string]interface{}, error)
- type SeriesStatus
- func (o *SeriesStatus) GetStatusCode() int32
- func (o *SeriesStatus) GetStatusCodeOk() (*int32, bool)
- func (o *SeriesStatus) GetStatusText() string
- func (o *SeriesStatus) GetStatusTextOk() (*string, bool)
- func (o SeriesStatus) MarshalJSON() ([]byte, error)
- func (o *SeriesStatus) SetStatusCode(v int32)
- func (o *SeriesStatus) SetStatusText(v string)
- func (o SeriesStatus) ToMap() (map[string]interface{}, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type Service
- func (o *Service) GetAddons() map[string]Addon
- func (o *Service) GetAddonsOk() (*map[string]Addon, bool)
- func (o *Service) GetHomePage() string
- func (o *Service) GetHomePageOk() (*string, bool)
- func (o *Service) GetId() string
- func (o *Service) GetIdOk() (*string, bool)
- func (o *Service) GetImages() ServiceImages
- func (o *Service) GetImagesOk() (*ServiceImages, bool)
- func (o *Service) GetName() string
- func (o *Service) GetNameOk() (*string, bool)
- func (o *Service) GetSupportedStreamingTypes() SupportedStreamingTypes
- func (o *Service) GetSupportedStreamingTypesOk() (*SupportedStreamingTypes, bool)
- func (o *Service) GetThemeColorCode() string
- func (o *Service) GetThemeColorCodeOk() (*string, bool)
- func (o Service) MarshalJSON() ([]byte, error)
- func (o *Service) SetAddons(v map[string]Addon)
- func (o *Service) SetHomePage(v string)
- func (o *Service) SetId(v string)
- func (o *Service) SetImages(v ServiceImages)
- func (o *Service) SetName(v string)
- func (o *Service) SetSupportedStreamingTypes(v SupportedStreamingTypes)
- func (o *Service) SetThemeColorCode(v string)
- func (o Service) ToMap() (map[string]interface{}, error)
- type ServiceCountryInfo
- func (o *ServiceCountryInfo) GetAddons() map[string]Addon
- func (o *ServiceCountryInfo) GetAddonsOk() (*map[string]Addon, bool)
- func (o *ServiceCountryInfo) GetSupportedStreamingTypes() SupportedStreamingTypes
- func (o *ServiceCountryInfo) GetSupportedStreamingTypesOk() (*SupportedStreamingTypes, bool)
- func (o ServiceCountryInfo) MarshalJSON() ([]byte, error)
- func (o *ServiceCountryInfo) SetAddons(v map[string]Addon)
- func (o *ServiceCountryInfo) SetSupportedStreamingTypes(v SupportedStreamingTypes)
- func (o ServiceCountryInfo) ToMap() (map[string]interface{}, error)
- type ServiceImages
- func (o *ServiceImages) GetDarkThemeImage() string
- func (o *ServiceImages) GetDarkThemeImageOk() (*string, bool)
- func (o *ServiceImages) GetLightThemeImage() string
- func (o *ServiceImages) GetLightThemeImageOk() (*string, bool)
- func (o *ServiceImages) GetWhiteImage() string
- func (o *ServiceImages) GetWhiteImageOk() (*string, bool)
- func (o ServiceImages) MarshalJSON() ([]byte, error)
- func (o *ServiceImages) SetDarkThemeImage(v string)
- func (o *ServiceImages) SetLightThemeImage(v string)
- func (o *ServiceImages) SetWhiteImage(v string)
- func (o ServiceImages) ToMap() (map[string]interface{}, error)
- type ServicesResponseSchema
- func (o *ServicesResponseSchema) GetResult() map[string]DeprecatedServiceInfo
- func (o *ServicesResponseSchema) GetResultOk() (*map[string]DeprecatedServiceInfo, bool)
- func (o ServicesResponseSchema) MarshalJSON() ([]byte, error)
- func (o *ServicesResponseSchema) SetResult(v map[string]DeprecatedServiceInfo)
- func (o ServicesResponseSchema) ToMap() (map[string]interface{}, error)
- type Show
- func (o *Show) GetCreators() []string
- func (o *Show) GetCreatorsOk() ([]string, bool)
- func (o *Show) GetDirectors() []string
- func (o *Show) GetDirectorsOk() ([]string, bool)
- func (o *Show) GetEpisodeCount() int32
- func (o *Show) GetEpisodeCountOk() (*int32, bool)
- func (o *Show) GetFirstAirYear() int32
- func (o *Show) GetFirstAirYearOk() (*int32, bool)
- func (o *Show) GetGenres() []Genre
- func (o *Show) GetGenresOk() ([]Genre, bool)
- func (o *Show) GetImdbId() string
- func (o *Show) GetImdbIdOk() (*string, bool)
- func (o *Show) GetLastAirYear() int32
- func (o *Show) GetLastAirYearOk() (*int32, bool)
- func (o *Show) GetOriginalTitle() string
- func (o *Show) GetOriginalTitleOk() (*string, bool)
- func (o *Show) GetSeasonCount() int32
- func (o *Show) GetSeasonCountOk() (*int32, bool)
- func (o *Show) GetSeasons() []Season
- func (o *Show) GetSeasonsOk() ([]Season, bool)
- func (o *Show) GetStatus() SeriesStatus
- func (o *Show) GetStatusOk() (*SeriesStatus, bool)
- func (o *Show) GetStreamingInfo() map[string][]StreamingOption
- func (o *Show) GetStreamingInfoOk() (*map[string][]StreamingOption, bool)
- func (o *Show) GetTitle() string
- func (o *Show) GetTitleOk() (*string, bool)
- func (o *Show) GetTmdbId() int32
- func (o *Show) GetTmdbIdOk() (*int32, bool)
- func (o *Show) GetType() string
- func (o *Show) GetTypeOk() (*string, bool)
- func (o *Show) GetYear() int32
- func (o *Show) GetYearOk() (*int32, bool)
- func (o *Show) HasCreators() bool
- func (o *Show) HasDirectors() bool
- func (o *Show) HasEpisodeCount() bool
- func (o *Show) HasFirstAirYear() bool
- func (o *Show) HasLastAirYear() bool
- func (o *Show) HasSeasonCount() bool
- func (o *Show) HasSeasons() bool
- func (o *Show) HasStatus() bool
- func (o *Show) HasYear() bool
- func (o Show) MarshalJSON() ([]byte, error)
- func (o *Show) SetCreators(v []string)
- func (o *Show) SetDirectors(v []string)
- func (o *Show) SetEpisodeCount(v int32)
- func (o *Show) SetFirstAirYear(v int32)
- func (o *Show) SetGenres(v []Genre)
- func (o *Show) SetImdbId(v string)
- func (o *Show) SetLastAirYear(v int32)
- func (o *Show) SetOriginalTitle(v string)
- func (o *Show) SetSeasonCount(v int32)
- func (o *Show) SetSeasons(v []Season)
- func (o *Show) SetStatus(v SeriesStatus)
- func (o *Show) SetStreamingInfo(v map[string][]StreamingOption)
- func (o *Show) SetTitle(v string)
- func (o *Show) SetTmdbId(v int32)
- func (o *Show) SetType(v string)
- func (o *Show) SetYear(v int32)
- func (o Show) ToMap() (map[string]interface{}, error)
- type StreamingOption
- func (o *StreamingOption) GetAddon() string
- func (o *StreamingOption) GetAddonOk() (*string, bool)
- func (o *StreamingOption) GetAudios() []Locale
- func (o *StreamingOption) GetAudiosOk() ([]Locale, bool)
- func (o *StreamingOption) GetAvailableSince() int64
- func (o *StreamingOption) GetAvailableSinceOk() (*int64, bool)
- func (o *StreamingOption) GetLeaving() int64
- func (o *StreamingOption) GetLeavingOk() (*int64, bool)
- func (o *StreamingOption) GetLink() string
- func (o *StreamingOption) GetLinkOk() (*string, bool)
- func (o *StreamingOption) GetPrice() Price
- func (o *StreamingOption) GetPriceOk() (*Price, bool)
- func (o *StreamingOption) GetQuality() string
- func (o *StreamingOption) GetQualityOk() (*string, bool)
- func (o *StreamingOption) GetService() string
- func (o *StreamingOption) GetServiceOk() (*string, bool)
- func (o *StreamingOption) GetStreamingType() StreamingType
- func (o *StreamingOption) GetStreamingTypeOk() (*StreamingType, bool)
- func (o *StreamingOption) GetSubtitles() []Subtitle
- func (o *StreamingOption) GetSubtitlesOk() ([]Subtitle, bool)
- func (o *StreamingOption) GetVideoLink() string
- func (o *StreamingOption) GetVideoLinkOk() (*string, bool)
- func (o *StreamingOption) HasAddon() bool
- func (o *StreamingOption) HasLeaving() bool
- func (o *StreamingOption) HasPrice() bool
- func (o *StreamingOption) HasQuality() bool
- func (o *StreamingOption) HasVideoLink() bool
- func (o StreamingOption) MarshalJSON() ([]byte, error)
- func (o *StreamingOption) SetAddon(v string)
- func (o *StreamingOption) SetAudios(v []Locale)
- func (o *StreamingOption) SetAvailableSince(v int64)
- func (o *StreamingOption) SetLeaving(v int64)
- func (o *StreamingOption) SetLink(v string)
- func (o *StreamingOption) SetPrice(v Price)
- func (o *StreamingOption) SetQuality(v string)
- func (o *StreamingOption) SetService(v string)
- func (o *StreamingOption) SetStreamingType(v StreamingType)
- func (o *StreamingOption) SetSubtitles(v []Subtitle)
- func (o *StreamingOption) SetVideoLink(v string)
- func (o StreamingOption) ToMap() (map[string]interface{}, error)
- type StreamingType
- type Subtitle
- func (o *Subtitle) GetClosedCaptions() bool
- func (o *Subtitle) GetClosedCaptionsOk() (*bool, bool)
- func (o *Subtitle) GetLocale() Locale
- func (o *Subtitle) GetLocaleOk() (*Locale, bool)
- func (o *Subtitle) HasClosedCaptions() bool
- func (o *Subtitle) HasLocale() bool
- func (o Subtitle) MarshalJSON() ([]byte, error)
- func (o *Subtitle) SetClosedCaptions(v bool)
- func (o *Subtitle) SetLocale(v Locale)
- func (o Subtitle) ToMap() (map[string]interface{}, error)
- type SupportedStreamingTypes
- func (o *SupportedStreamingTypes) GetAddon() bool
- func (o *SupportedStreamingTypes) GetAddonOk() (*bool, bool)
- func (o *SupportedStreamingTypes) GetBuy() bool
- func (o *SupportedStreamingTypes) GetBuyOk() (*bool, bool)
- func (o *SupportedStreamingTypes) GetFree() bool
- func (o *SupportedStreamingTypes) GetFreeOk() (*bool, bool)
- func (o *SupportedStreamingTypes) GetRent() bool
- func (o *SupportedStreamingTypes) GetRentOk() (*bool, bool)
- func (o *SupportedStreamingTypes) GetSubscription() bool
- func (o *SupportedStreamingTypes) GetSubscriptionOk() (*bool, bool)
- func (o SupportedStreamingTypes) MarshalJSON() ([]byte, error)
- func (o *SupportedStreamingTypes) SetAddon(v bool)
- func (o *SupportedStreamingTypes) SetBuy(v bool)
- func (o *SupportedStreamingTypes) SetFree(v bool)
- func (o *SupportedStreamingTypes) SetRent(v bool)
- func (o *SupportedStreamingTypes) SetSubscription(v bool)
- func (o SupportedStreamingTypes) ToMap() (map[string]interface{}, error)
- type UpcomingChangeSet
- func (o *UpcomingChangeSet) GetShow() Show
- func (o *UpcomingChangeSet) GetShowOk() (*Show, bool)
- func (o *UpcomingChangeSet) GetUpcomingChanges() []Change
- func (o *UpcomingChangeSet) GetUpcomingChangesOk() ([]Change, bool)
- func (o UpcomingChangeSet) MarshalJSON() ([]byte, error)
- func (o *UpcomingChangeSet) SetShow(v Show)
- func (o *UpcomingChangeSet) SetUpcomingChanges(v []Change)
- func (o UpcomingChangeSet) ToMap() (map[string]interface{}, error)
- type UpcomingChangesResponseSchema
- func (o *UpcomingChangesResponseSchema) GetHasMore() bool
- func (o *UpcomingChangesResponseSchema) GetHasMoreOk() (*bool, bool)
- func (o *UpcomingChangesResponseSchema) GetNextCursor() string
- func (o *UpcomingChangesResponseSchema) GetNextCursorOk() (*string, bool)
- func (o *UpcomingChangesResponseSchema) GetResult() []UpcomingChangeSet
- func (o *UpcomingChangesResponseSchema) GetResultOk() ([]UpcomingChangeSet, bool)
- func (o UpcomingChangesResponseSchema) MarshalJSON() ([]byte, error)
- func (o *UpcomingChangesResponseSchema) SetHasMore(v bool)
- func (o *UpcomingChangesResponseSchema) SetNextCursor(v string)
- func (o *UpcomingChangesResponseSchema) SetResult(v []UpcomingChangeSet)
- func (o UpcomingChangesResponseSchema) ToMap() (map[string]interface{}, error)
Examples ¶
Constants ¶
This section is empty.
Variables ¶
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") )
var AllowedStreamingTypeEnumValues = []StreamingType{
"free",
"subscription",
"buy",
"rent",
"addon",
}
All allowed values of StreamingType enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float 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 ¶
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 ¶
GetDisplayName returns the DisplayName field value
func (*Addon) GetDisplayNameOk ¶
GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.
func (*Addon) GetHomePage ¶
GetHomePage returns the HomePage field value
func (*Addon) GetHomePageOk ¶
GetHomePageOk returns a tuple with the HomePage field value and a boolean to check if the value has been set.
func (*Addon) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Addon) GetImageOk ¶
GetImageOk returns a tuple with the Image field value and a boolean to check if the value has been set.
func (*Addon) GetThemeColorCode ¶
GetThemeColorCode returns the ThemeColorCode field value
func (*Addon) GetThemeColorCodeOk ¶
GetThemeColorCodeOk returns a tuple with the ThemeColorCode field value and a boolean to check if the value has been set.
func (Addon) MarshalJSON ¶
func (*Addon) SetDisplayName ¶
SetDisplayName sets field value
func (*Addon) SetThemeColorCode ¶
SetThemeColorCode sets field value
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 ¶
func (r ApiChangesRequest) Desc(desc bool) ApiChangesRequest
The results are ordered in descending order if set true.
func (ApiChangesRequest) Execute ¶
func (r ApiChangesRequest) Execute() (*ChangesResponseSchema, *http.Response, error)
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 ¶
func (r ApiCountriesRequest) Execute() (*CountriesResponseSchema, *http.Response, error)
type ApiGenresRequest ¶
type ApiGenresRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiGenresRequest) Execute ¶
func (r ApiGenresRequest) Execute() (*GenresResponseSchema, *http.Response, error)
type ApiGetByIdRequest ¶
type ApiGetByIdRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiGetByIdRequest) Execute ¶
func (r ApiGetByIdRequest) Execute() (*GetResponseSchema, *http.Response, error)
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 (r ApiLeavingRequest) Execute() (*UpcomingChangesResponseSchema, *http.Response, error)
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 ¶
func (r ApiSearchByFiltersRequest) Country(country string) ApiSearchByFiltersRequest
[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 ¶
func (r ApiSearchByFiltersRequest) Cursor(cursor string) ApiSearchByFiltersRequest
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 ¶
func (r ApiSearchByFiltersRequest) Desc(desc bool) ApiSearchByFiltersRequest
The results are ordered in descending order if set true.
func (ApiSearchByFiltersRequest) Execute ¶
func (r ApiSearchByFiltersRequest) Execute() (*SearchFiltersResponseSchema, *http.Response, error)
func (ApiSearchByFiltersRequest) Genres ¶
func (r ApiSearchByFiltersRequest) Genres(genres string) ApiSearchByFiltersRequest
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 ¶
func (r ApiSearchByFiltersRequest) Keyword(keyword string) ApiSearchByFiltersRequest
A keyword to only search within the shows have that keyword in their overview or title.
func (ApiSearchByFiltersRequest) OrderBy ¶
func (r ApiSearchByFiltersRequest) OrderBy(orderBy string) ApiSearchByFiltersRequest
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 ¶
func (r ApiSearchByFiltersRequest) Services(services string) ApiSearchByFiltersRequest
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 ¶
func (r ApiSearchByFiltersRequest) ShowType(showType string) ApiSearchByFiltersRequest
Type of shows to search in.
func (ApiSearchByFiltersRequest) YearMax ¶
func (r ApiSearchByFiltersRequest) YearMax(yearMax int32) ApiSearchByFiltersRequest
Maximum release/air year of the shows.
func (ApiSearchByFiltersRequest) YearMin ¶
func (r ApiSearchByFiltersRequest) YearMin(yearMin int32) ApiSearchByFiltersRequest
Minimum release/air year of the shows.
type ApiSearchByTitleRequest ¶
type ApiSearchByTitleRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiSearchByTitleRequest) Country ¶
func (r ApiSearchByTitleRequest) Country(country string) ApiSearchByTitleRequest
[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 (r ApiSearchByTitleRequest) Execute() (*SearchTitleResponseSchema, *http.Response, error)
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 ¶
func (r ApiSearchByTitleRequest) ShowType(showType string) ApiSearchByTitleRequest
Type of shows to search in.
func (ApiSearchByTitleRequest) Title ¶
func (r ApiSearchByTitleRequest) Title(title string) ApiSearchByTitleRequest
Title phrase to search for.
type ApiServicesRequest ¶
type ApiServicesRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiServicesRequest) Execute ¶
func (r ApiServicesRequest) Execute() (*ServicesResponseSchema, *http.Response, error)
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) GetAddonOk ¶
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 ¶
GetEpisode returns the Episode field value if set, zero value otherwise.
func (*Change) GetEpisodeOk ¶
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) GetSeasonOk ¶
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 ¶
GetService returns the Service field value
func (*Change) GetServiceOk ¶
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) GetTimeOk ¶
GetTimeOk returns a tuple with the Time field value and a boolean to check if the value has been set.
func (*Change) HasEpisode ¶
HasEpisode returns a boolean if a field has been set.
func (Change) MarshalJSON ¶
func (*Change) SetAddon ¶
SetAddon gets a reference to the given string and assigns it to the Addon field.
func (*Change) SetEpisode ¶
SetEpisode gets a reference to the given int32 and assigns it to the Episode field.
func (*Change) SetSeason ¶
SetSeason gets a reference to the given int32 and assigns it to the Season field.
func (*Change) SetStreamingType ¶
func (o *Change) SetStreamingType(v StreamingType)
SetStreamingType sets field value
type ChangeSet ¶
ChangeSet struct for ChangeSet
func NewChangeSet ¶
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 ¶
GetChanges returns the Changes field value
func (*ChangeSet) GetChangesOk ¶
GetChangesOk returns a tuple with the Changes field value and a boolean to check if the value has been set.
func (*ChangeSet) GetShowOk ¶
GetShowOk returns a tuple with the Show field value and a boolean to check if the value has been set.
func (ChangeSet) MarshalJSON ¶
func (*ChangeSet) SetChanges ¶
SetChanges sets field value
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) ServerURLWithContext ¶
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 ¶
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 ¶
GetCountryCode returns the CountryCode field value
func (*Country) GetCountryCodeOk ¶
GetCountryCodeOk returns a tuple with the CountryCode field value and a boolean to check if the value has been set.
func (*Country) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Country) GetServices ¶
GetServices returns the Services field value
func (*Country) GetServicesOk ¶
GetServicesOk returns a tuple with the Services field value and a boolean to check if the value has been set.
func (Country) MarshalJSON ¶
func (*Country) SetCountryCode ¶
SetCountryCode sets field value
func (*Country) SetServices ¶
SetServices sets field value
type DefaultAPIService ¶
type DefaultAPIService service
DefaultAPIService DefaultAPI service
func (*DefaultAPIService) Changes ¶
func (a *DefaultAPIService) Changes(ctx context.Context) ApiChangesRequest
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 ¶
func (a *DefaultAPIService) ChangesExecute(r ApiChangesRequest) (*ChangesResponseSchema, *http.Response, error)
Execute executes the request
@return ChangesResponseSchema
func (*DefaultAPIService) Countries ¶
func (a *DefaultAPIService) Countries(ctx context.Context) ApiCountriesRequest
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 ¶
func (a *DefaultAPIService) CountriesExecute(r ApiCountriesRequest) (*CountriesResponseSchema, *http.Response, error)
Execute executes the request
@return CountriesResponseSchema
func (*DefaultAPIService) Genres ¶
func (a *DefaultAPIService) Genres(ctx context.Context) ApiGenresRequest
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 ¶
func (a *DefaultAPIService) GenresExecute(r ApiGenresRequest) (*GenresResponseSchema, *http.Response, error)
Execute executes the request
@return GenresResponseSchema
func (*DefaultAPIService) GetById ¶
func (a *DefaultAPIService) GetById(ctx context.Context) ApiGetByIdRequest
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 ¶
func (a *DefaultAPIService) GetByIdExecute(r ApiGetByIdRequest) (*GetResponseSchema, *http.Response, error)
Execute executes the request
@return GetResponseSchema
func (*DefaultAPIService) Leaving ¶
func (a *DefaultAPIService) Leaving(ctx context.Context) ApiLeavingRequest
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 ¶
func (a *DefaultAPIService) LeavingExecute(r ApiLeavingRequest) (*UpcomingChangesResponseSchema, *http.Response, error)
Execute executes the request
@return UpcomingChangesResponseSchema
func (*DefaultAPIService) SearchByFilters ¶
func (a *DefaultAPIService) SearchByFilters(ctx context.Context) ApiSearchByFiltersRequest
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 ¶
func (a *DefaultAPIService) SearchByFiltersExecute(r ApiSearchByFiltersRequest) (*SearchFiltersResponseSchema, *http.Response, error)
Execute executes the request
@return SearchFiltersResponseSchema
func (*DefaultAPIService) SearchByTitle ¶
func (a *DefaultAPIService) SearchByTitle(ctx context.Context) ApiSearchByTitleRequest
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 ¶
func (a *DefaultAPIService) SearchByTitleExecute(r ApiSearchByTitleRequest) (*SearchTitleResponseSchema, *http.Response, error)
Execute executes the request
@return SearchTitleResponseSchema
func (*DefaultAPIService) Services ¶
func (a *DefaultAPIService) Services(ctx context.Context) ApiServicesRequest
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 ¶
func (a *DefaultAPIService) ServicesExecute(r ApiServicesRequest) (*ServicesResponseSchema, *http.Response, error)
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) GetTitleOk ¶
GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.
func (*Episode) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*Episode) GetYearOk ¶
GetYearOk returns a tuple with the Year field value and a boolean to check if the value has been set.
func (Episode) MarshalJSON ¶
func (*Episode) SetStreamingInfo ¶
func (o *Episode) SetStreamingInfo(v map[string][]StreamingOption)
SetStreamingInfo sets field value
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 ¶
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) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Genre) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (Genre) MarshalJSON ¶
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 ¶
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 ¶
GetLanguage returns the Language field value
func (*Locale) GetLanguageOk ¶
GetLanguageOk returns a tuple with the Language field value and a boolean to check if the value has been set.
func (*Locale) GetRegionOk ¶
GetRegionOk returns a tuple with the Region field value and a boolean to check if the value has been set.
func (Locale) MarshalJSON ¶
type MappedNullable ¶
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 NewNullableChangesResponseSchema ¶
func NewNullableChangesResponseSchema(val *ChangesResponseSchema) *NullableChangesResponseSchema
func (NullableChangesResponseSchema) Get ¶
func (v NullableChangesResponseSchema) Get() *ChangesResponseSchema
func (NullableChangesResponseSchema) IsSet ¶
func (v NullableChangesResponseSchema) IsSet() bool
func (NullableChangesResponseSchema) MarshalJSON ¶
func (v NullableChangesResponseSchema) MarshalJSON() ([]byte, error)
func (*NullableChangesResponseSchema) Set ¶
func (v *NullableChangesResponseSchema) Set(val *ChangesResponseSchema)
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 NewNullableCountriesResponseSchema ¶
func NewNullableCountriesResponseSchema(val *CountriesResponseSchema) *NullableCountriesResponseSchema
func (NullableCountriesResponseSchema) Get ¶
func (v NullableCountriesResponseSchema) Get() *CountriesResponseSchema
func (NullableCountriesResponseSchema) IsSet ¶
func (v NullableCountriesResponseSchema) IsSet() bool
func (NullableCountriesResponseSchema) MarshalJSON ¶
func (v NullableCountriesResponseSchema) MarshalJSON() ([]byte, error)
func (*NullableCountriesResponseSchema) Set ¶
func (v *NullableCountriesResponseSchema) Set(val *CountriesResponseSchema)
func (*NullableCountriesResponseSchema) UnmarshalJSON ¶
func (v *NullableCountriesResponseSchema) UnmarshalJSON(src []byte) error
func (*NullableCountriesResponseSchema) Unset ¶
func (v *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 NewNullableDeprecatedServiceInfo ¶
func NewNullableDeprecatedServiceInfo(val *DeprecatedServiceInfo) *NullableDeprecatedServiceInfo
func (NullableDeprecatedServiceInfo) Get ¶
func (v NullableDeprecatedServiceInfo) Get() *DeprecatedServiceInfo
func (NullableDeprecatedServiceInfo) IsSet ¶
func (v NullableDeprecatedServiceInfo) IsSet() bool
func (NullableDeprecatedServiceInfo) MarshalJSON ¶
func (v NullableDeprecatedServiceInfo) MarshalJSON() ([]byte, error)
func (*NullableDeprecatedServiceInfo) Set ¶
func (v *NullableDeprecatedServiceInfo) Set(val *DeprecatedServiceInfo)
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 (v NullableGenresResponseSchema) Get() *GenresResponseSchema
func (NullableGenresResponseSchema) IsSet ¶
func (v NullableGenresResponseSchema) IsSet() bool
func (NullableGenresResponseSchema) MarshalJSON ¶
func (v NullableGenresResponseSchema) MarshalJSON() ([]byte, error)
func (*NullableGenresResponseSchema) Set ¶
func (v *NullableGenresResponseSchema) Set(val *GenresResponseSchema)
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 (v NullableGetResponseSchema) Get() *GetResponseSchema
func (NullableGetResponseSchema) IsSet ¶
func (v NullableGetResponseSchema) IsSet() bool
func (NullableGetResponseSchema) MarshalJSON ¶
func (v NullableGetResponseSchema) MarshalJSON() ([]byte, error)
func (*NullableGetResponseSchema) Set ¶
func (v *NullableGetResponseSchema) Set(val *GetResponseSchema)
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 NewNullableNotFoundResponseSchema ¶
func NewNullableNotFoundResponseSchema(val *NotFoundResponseSchema) *NullableNotFoundResponseSchema
func (NullableNotFoundResponseSchema) Get ¶
func (v NullableNotFoundResponseSchema) Get() *NotFoundResponseSchema
func (NullableNotFoundResponseSchema) IsSet ¶
func (v NullableNotFoundResponseSchema) IsSet() bool
func (NullableNotFoundResponseSchema) MarshalJSON ¶
func (v NullableNotFoundResponseSchema) MarshalJSON() ([]byte, error)
func (*NullableNotFoundResponseSchema) Set ¶
func (v *NullableNotFoundResponseSchema) Set(val *NotFoundResponseSchema)
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 NewNullableSearchFiltersResponseSchema ¶
func NewNullableSearchFiltersResponseSchema(val *SearchFiltersResponseSchema) *NullableSearchFiltersResponseSchema
func (NullableSearchFiltersResponseSchema) Get ¶
func (v NullableSearchFiltersResponseSchema) Get() *SearchFiltersResponseSchema
func (NullableSearchFiltersResponseSchema) IsSet ¶
func (v NullableSearchFiltersResponseSchema) IsSet() bool
func (NullableSearchFiltersResponseSchema) MarshalJSON ¶
func (v NullableSearchFiltersResponseSchema) MarshalJSON() ([]byte, error)
func (*NullableSearchFiltersResponseSchema) Set ¶
func (v *NullableSearchFiltersResponseSchema) Set(val *SearchFiltersResponseSchema)
func (*NullableSearchFiltersResponseSchema) UnmarshalJSON ¶
func (v *NullableSearchFiltersResponseSchema) UnmarshalJSON(src []byte) error
func (*NullableSearchFiltersResponseSchema) Unset ¶
func (v *NullableSearchFiltersResponseSchema) Unset()
type NullableSearchTitleResponseSchema ¶
type NullableSearchTitleResponseSchema struct {
// contains filtered or unexported fields
}
func NewNullableSearchTitleResponseSchema ¶
func NewNullableSearchTitleResponseSchema(val *SearchTitleResponseSchema) *NullableSearchTitleResponseSchema
func (NullableSearchTitleResponseSchema) Get ¶
func (v NullableSearchTitleResponseSchema) Get() *SearchTitleResponseSchema
func (NullableSearchTitleResponseSchema) IsSet ¶
func (v NullableSearchTitleResponseSchema) IsSet() bool
func (NullableSearchTitleResponseSchema) MarshalJSON ¶
func (v NullableSearchTitleResponseSchema) MarshalJSON() ([]byte, error)
func (*NullableSearchTitleResponseSchema) Set ¶
func (v *NullableSearchTitleResponseSchema) Set(val *SearchTitleResponseSchema)
func (*NullableSearchTitleResponseSchema) UnmarshalJSON ¶
func (v *NullableSearchTitleResponseSchema) UnmarshalJSON(src []byte) error
func (*NullableSearchTitleResponseSchema) Unset ¶
func (v *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 (v NullableSeriesStatus) Get() *SeriesStatus
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 (v NullableServiceCountryInfo) Get() *ServiceCountryInfo
func (NullableServiceCountryInfo) IsSet ¶
func (v NullableServiceCountryInfo) IsSet() bool
func (NullableServiceCountryInfo) MarshalJSON ¶
func (v NullableServiceCountryInfo) MarshalJSON() ([]byte, error)
func (*NullableServiceCountryInfo) Set ¶
func (v *NullableServiceCountryInfo) Set(val *ServiceCountryInfo)
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 (v NullableServiceImages) Get() *ServiceImages
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 NewNullableServicesResponseSchema ¶
func NewNullableServicesResponseSchema(val *ServicesResponseSchema) *NullableServicesResponseSchema
func (NullableServicesResponseSchema) Get ¶
func (v NullableServicesResponseSchema) Get() *ServicesResponseSchema
func (NullableServicesResponseSchema) IsSet ¶
func (v NullableServicesResponseSchema) IsSet() bool
func (NullableServicesResponseSchema) MarshalJSON ¶
func (v NullableServicesResponseSchema) MarshalJSON() ([]byte, error)
func (*NullableServicesResponseSchema) Set ¶
func (v *NullableServicesResponseSchema) Set(val *ServicesResponseSchema)
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 (v NullableStreamingOption) Get() *StreamingOption
func (NullableStreamingOption) IsSet ¶
func (v NullableStreamingOption) IsSet() bool
func (NullableStreamingOption) MarshalJSON ¶
func (v NullableStreamingOption) MarshalJSON() ([]byte, error)
func (*NullableStreamingOption) Set ¶
func (v *NullableStreamingOption) Set(val *StreamingOption)
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 (v NullableStreamingType) Get() *StreamingType
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 NewNullableSupportedStreamingTypes ¶
func NewNullableSupportedStreamingTypes(val *SupportedStreamingTypes) *NullableSupportedStreamingTypes
func (NullableSupportedStreamingTypes) Get ¶
func (v NullableSupportedStreamingTypes) Get() *SupportedStreamingTypes
func (NullableSupportedStreamingTypes) IsSet ¶
func (v NullableSupportedStreamingTypes) IsSet() bool
func (NullableSupportedStreamingTypes) MarshalJSON ¶
func (v NullableSupportedStreamingTypes) MarshalJSON() ([]byte, error)
func (*NullableSupportedStreamingTypes) Set ¶
func (v *NullableSupportedStreamingTypes) Set(val *SupportedStreamingTypes)
func (*NullableSupportedStreamingTypes) UnmarshalJSON ¶
func (v *NullableSupportedStreamingTypes) UnmarshalJSON(src []byte) error
func (*NullableSupportedStreamingTypes) Unset ¶
func (v *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 (v NullableUpcomingChangeSet) Get() *UpcomingChangeSet
func (NullableUpcomingChangeSet) IsSet ¶
func (v NullableUpcomingChangeSet) IsSet() bool
func (NullableUpcomingChangeSet) MarshalJSON ¶
func (v NullableUpcomingChangeSet) MarshalJSON() ([]byte, error)
func (*NullableUpcomingChangeSet) Set ¶
func (v *NullableUpcomingChangeSet) Set(val *UpcomingChangeSet)
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 NewNullableUpcomingChangesResponseSchema ¶
func NewNullableUpcomingChangesResponseSchema(val *UpcomingChangesResponseSchema) *NullableUpcomingChangesResponseSchema
func (NullableUpcomingChangesResponseSchema) Get ¶
func (v NullableUpcomingChangesResponseSchema) Get() *UpcomingChangesResponseSchema
func (NullableUpcomingChangesResponseSchema) IsSet ¶
func (v NullableUpcomingChangesResponseSchema) IsSet() bool
func (NullableUpcomingChangesResponseSchema) MarshalJSON ¶
func (v NullableUpcomingChangesResponseSchema) MarshalJSON() ([]byte, error)
func (*NullableUpcomingChangesResponseSchema) Set ¶
func (v *NullableUpcomingChangesResponseSchema) Set(val *UpcomingChangesResponseSchema)
func (*NullableUpcomingChangesResponseSchema) UnmarshalJSON ¶
func (v *NullableUpcomingChangesResponseSchema) UnmarshalJSON(src []byte) error
func (*NullableUpcomingChangesResponseSchema) Unset ¶
func (v *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 ¶
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) GetAmountOk ¶
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*Price) GetCurrency ¶
GetCurrency returns the Currency field value
func (*Price) GetCurrencyOk ¶
GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.
func (*Price) GetFormatted ¶
GetFormatted returns the Formatted field value
func (*Price) GetFormattedOk ¶
GetFormattedOk returns a tuple with the Formatted field value and a boolean to check if the value has been set.
func (Price) MarshalJSON ¶
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 ¶
GetEpisodes returns the Episodes field value
func (*Season) GetEpisodesOk ¶
GetEpisodesOk returns a tuple with the Episodes field value and a boolean to check if the value has been set.
func (*Season) GetFirstAirYear ¶
GetFirstAirYear returns the FirstAirYear field value
func (*Season) GetFirstAirYearOk ¶
GetFirstAirYearOk returns a tuple with the FirstAirYear field value and a boolean to check if the value has been set.
func (*Season) GetLastAirYear ¶
GetLastAirYear returns the LastAirYear field value
func (*Season) GetLastAirYearOk ¶
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) GetTitleOk ¶
GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.
func (*Season) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (Season) MarshalJSON ¶
func (*Season) SetFirstAirYear ¶
SetFirstAirYear sets field value
func (*Season) SetLastAirYear ¶
SetLastAirYear sets field value
func (*Season) SetStreamingInfo ¶
func (o *Season) SetStreamingInfo(v map[string][]StreamingOption)
SetStreamingInfo sets field value
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
type ServerVariable ¶
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) GetAddonsOk ¶
GetAddonsOk returns a tuple with the Addons field value and a boolean to check if the value has been set.
func (*Service) GetHomePage ¶
GetHomePage returns the HomePage field value
func (*Service) GetHomePageOk ¶
GetHomePageOk returns a tuple with the HomePage field value and a boolean to check if the value has been set.
func (*Service) GetIdOk ¶
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) GetNameOk ¶
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 ¶
GetThemeColorCode returns the ThemeColorCode field value
func (*Service) GetThemeColorCodeOk ¶
GetThemeColorCodeOk returns a tuple with the ThemeColorCode field value and a boolean to check if the value has been set.
func (Service) MarshalJSON ¶
func (*Service) SetSupportedStreamingTypes ¶
func (o *Service) SetSupportedStreamingTypes(v SupportedStreamingTypes)
SetSupportedStreamingTypes sets field value
func (*Service) SetThemeColorCode ¶
SetThemeColorCode sets field value
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 ¶
func (o *ServicesResponseSchema) GetResult() map[string]DeprecatedServiceInfo
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 ¶
func (o *ServicesResponseSchema) SetResult(v map[string]DeprecatedServiceInfo)
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 ¶
GetCreators returns the Creators field value if set, zero value otherwise.
func (*Show) GetCreatorsOk ¶
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 ¶
GetDirectors returns the Directors field value if set, zero value otherwise.
func (*Show) GetDirectorsOk ¶
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 ¶
GetEpisodeCount returns the EpisodeCount field value if set, zero value otherwise.
func (*Show) GetEpisodeCountOk ¶
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 ¶
GetFirstAirYear returns the FirstAirYear field value if set, zero value otherwise.
func (*Show) GetFirstAirYearOk ¶
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) GetGenresOk ¶
GetGenresOk returns a tuple with the Genres field value and a boolean to check if the value has been set.
func (*Show) GetImdbIdOk ¶
GetImdbIdOk returns a tuple with the ImdbId field value and a boolean to check if the value has been set.
func (*Show) GetLastAirYear ¶
GetLastAirYear returns the LastAirYear field value if set, zero value otherwise.
func (*Show) GetLastAirYearOk ¶
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 ¶
GetOriginalTitle returns the OriginalTitle field value
func (*Show) GetOriginalTitleOk ¶
GetOriginalTitleOk returns a tuple with the OriginalTitle field value and a boolean to check if the value has been set.
func (*Show) GetSeasonCount ¶
GetSeasonCount returns the SeasonCount field value if set, zero value otherwise.
func (*Show) GetSeasonCountOk ¶
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 ¶
GetSeasons returns the Seasons field value if set, zero value otherwise.
func (*Show) GetSeasonsOk ¶
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) GetTitleOk ¶
GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.
func (*Show) GetTmdbIdOk ¶
GetTmdbIdOk returns a tuple with the TmdbId field value and a boolean to check if the value has been set.
func (*Show) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*Show) GetYearOk ¶
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 ¶
HasCreators returns a boolean if a field has been set.
func (*Show) HasDirectors ¶
HasDirectors returns a boolean if a field has been set.
func (*Show) HasEpisodeCount ¶
HasEpisodeCount returns a boolean if a field has been set.
func (*Show) HasFirstAirYear ¶
HasFirstAirYear returns a boolean if a field has been set.
func (*Show) HasLastAirYear ¶
HasLastAirYear returns a boolean if a field has been set.
func (*Show) HasSeasonCount ¶
HasSeasonCount returns a boolean if a field has been set.
func (*Show) HasSeasons ¶
HasSeasons returns a boolean if a field has been set.
func (Show) MarshalJSON ¶
func (*Show) SetCreators ¶
SetCreators gets a reference to the given []string and assigns it to the Creators field.
func (*Show) SetDirectors ¶
SetDirectors gets a reference to the given []string and assigns it to the Directors field.
func (*Show) SetEpisodeCount ¶
SetEpisodeCount gets a reference to the given int32 and assigns it to the EpisodeCount field.
func (*Show) SetFirstAirYear ¶
SetFirstAirYear gets a reference to the given int32 and assigns it to the FirstAirYear field.
func (*Show) SetLastAirYear ¶
SetLastAirYear gets a reference to the given int32 and assigns it to the LastAirYear field.
func (*Show) SetOriginalTitle ¶
SetOriginalTitle sets field value
func (*Show) SetSeasonCount ¶
SetSeasonCount gets a reference to the given int32 and assigns it to the SeasonCount field.
func (*Show) SetSeasons ¶
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
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 (*StreamingOption) GetLink ¶
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 (*StreamingOption) GetVideoLink ¶
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 (*StreamingOption) HasVideoLink ¶
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 (*StreamingOption) SetLink ¶
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 (*StreamingOption) SetVideoLink ¶
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 ¶
GetClosedCaptions returns the ClosedCaptions field value if set, zero value otherwise.
func (*Subtitle) GetClosedCaptionsOk ¶
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) GetLocaleOk ¶
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 ¶
HasClosedCaptions returns a boolean if a field has been set.
func (Subtitle) MarshalJSON ¶
func (*Subtitle) SetClosedCaptions ¶
SetClosedCaptions gets a reference to the given bool and assigns it to the ClosedCaptions field.
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 ¶
func (o *UpcomingChangesResponseSchema) GetResult() []UpcomingChangeSet
GetResult returns the Result field value
func (*UpcomingChangesResponseSchema) GetResultOk ¶
func (o *UpcomingChangesResponseSchema) GetResultOk() ([]UpcomingChangeSet, bool)
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 ¶
func (o *UpcomingChangesResponseSchema) SetResult(v []UpcomingChangeSet)
SetResult sets field value
func (UpcomingChangesResponseSchema) ToMap ¶
func (o UpcomingChangesResponseSchema) ToMap() (map[string]interface{}, error)
Source Files ¶
- api_default.go
- client.go
- configuration.go
- model_addon.go
- model_change.go
- model_change_set.go
- model_changes_response_schema.go
- model_countries_response_schema.go
- model_country.go
- model_deprecated_service_info.go
- model_episode.go
- model_genre.go
- model_genres_response_schema.go
- model_get_response_schema.go
- model_locale.go
- model_not_found_response_schema.go
- model_price.go
- model_search_filters_response_schema.go
- model_search_title_response_schema.go
- model_season.go
- model_series_status.go
- model_service.go
- model_service_country_info.go
- model_service_images.go
- model_services_response_schema.go
- model_show.go
- model_streaming_option.go
- model_streaming_type.go
- model_subtitle.go
- model_supported_streaming_types.go
- model_upcoming_change_set.go
- model_upcoming_changes_response_schema.go
- response.go
- utils.go