gogol-youtube-0.2.0: Google YouTube Data SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.YouTube.Sponsors.List

Contents

Description

Lists sponsors for a channel.

See: YouTube Data API Reference for youtube.sponsors.list.

Synopsis

REST Resource

type SponsorsListResource = "youtube" :> ("v3" :> ("sponsors" :> (QueryParam "part" Text :> (QueryParam "filter" SponsorsListFilter :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] SponsorListResponse))))))) Source #

A resource alias for youtube.sponsors.list method which the SponsorsList request conforms to.

Creating a Request

sponsorsList Source #

Arguments

:: Text

sPart

-> SponsorsList 

Creates a value of SponsorsList with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data SponsorsList Source #

Lists sponsors for a channel.

See: sponsorsList smart constructor.

Instances

Eq SponsorsList Source # 
Data SponsorsList Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SponsorsList -> c SponsorsList #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SponsorsList #

toConstr :: SponsorsList -> Constr #

dataTypeOf :: SponsorsList -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c SponsorsList) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SponsorsList) #

gmapT :: (forall b. Data b => b -> b) -> SponsorsList -> SponsorsList #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SponsorsList -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SponsorsList -> r #

gmapQ :: (forall d. Data d => d -> u) -> SponsorsList -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SponsorsList -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SponsorsList -> m SponsorsList #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SponsorsList -> m SponsorsList #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SponsorsList -> m SponsorsList #

Show SponsorsList Source # 
Generic SponsorsList Source # 

Associated Types

type Rep SponsorsList :: * -> * #

GoogleRequest SponsorsList Source # 

Associated Types

type Rs SponsorsList :: * #

type Scopes SponsorsList :: [Symbol] #

type Rep SponsorsList Source # 
type Rep SponsorsList = D1 (MetaData "SponsorsList" "Network.Google.Resource.YouTube.Sponsors.List" "gogol-youtube-0.2.0-1ZihBky57dEGhFo5f57ZgQ" False) (C1 (MetaCons "SponsorsList'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_sPart") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_sFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SponsorsListFilter))) ((:*:) (S1 (MetaSel (Just Symbol "_sPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_sMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word32))))))
type Scopes SponsorsList Source # 
type Scopes SponsorsList = (:) Symbol "https://www.googleapis.com/auth/youtube" ((:) Symbol "https://www.googleapis.com/auth/youtube.force-ssl" ((:) Symbol "https://www.googleapis.com/auth/youtube.readonly" ([] Symbol)))
type Rs SponsorsList Source # 

Request Lenses

sPart :: Lens' SponsorsList Text Source #

The part parameter specifies the sponsor resource parts that the API response will include. Supported values are id and snippet.

sFilter :: Lens' SponsorsList SponsorsListFilter Source #

The filter parameter specifies which channel sponsors to return.

sPageToken :: Lens' SponsorsList (Maybe Text) Source #

The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.

sMaxResults :: Lens' SponsorsList Word32 Source #

The maxResults parameter specifies the maximum number of items that should be returned in the result set.