Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Retrieves a list of URLs shortened by a user.
See: URL Shortener API Reference for urlshortener.url.list
.
Synopsis
- type URLListResource = "urlshortener" :> ("v1" :> ("url" :> ("history" :> (QueryParam "start-token" Text :> (QueryParam "projection" URLListProjection :> (QueryParam "alt" AltJSON :> Get '[JSON] URLHistory))))))
- urlList :: URLList
- data URLList
- ulStartToken :: Lens' URLList (Maybe Text)
- ulProjection :: Lens' URLList (Maybe URLListProjection)
REST Resource
type URLListResource = "urlshortener" :> ("v1" :> ("url" :> ("history" :> (QueryParam "start-token" Text :> (QueryParam "projection" URLListProjection :> (QueryParam "alt" AltJSON :> Get '[JSON] URLHistory)))))) Source #
A resource alias for urlshortener.url.list
method which the
URLList
request conforms to.
Creating a Request
Creates a value of URLList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Retrieves a list of URLs shortened by a user.
See: urlList
smart constructor.
Instances
Eq URLList Source # | |
Data URLList Source # | |
Defined in Network.Google.Resource.URLShortener.URL.List gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> URLList -> c URLList # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c URLList # toConstr :: URLList -> Constr # dataTypeOf :: URLList -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c URLList) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c URLList) # gmapT :: (forall b. Data b => b -> b) -> URLList -> URLList # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> URLList -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> URLList -> r # gmapQ :: (forall d. Data d => d -> u) -> URLList -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> URLList -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> URLList -> m URLList # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> URLList -> m URLList # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> URLList -> m URLList # | |
Show URLList Source # | |
Generic URLList Source # | |
GoogleRequest URLList Source # | |
type Rep URLList Source # | |
Defined in Network.Google.Resource.URLShortener.URL.List type Rep URLList = D1 (MetaData "URLList" "Network.Google.Resource.URLShortener.URL.List" "gogol-urlshortener-0.4.0-Bdh5132xSli1UeVEi8MZus" False) (C1 (MetaCons "URLList'" PrefixI True) (S1 (MetaSel (Just "_ulStartToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ulProjection") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe URLListProjection)))) | |
type Scopes URLList Source # | |
type Rs URLList Source # | |
Request Lenses
ulStartToken :: Lens' URLList (Maybe Text) Source #
Token for requesting successive pages of results.
ulProjection :: Lens' URLList (Maybe URLListProjection) Source #
Additional information to return.