gogol-urlshortener-1.0.0: Google URL Shortener SDK.
Copyright(c) 2015-2025 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+gogol@gmail.com> Toni Cebrián <toni@tonicebrian.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageGHC2021

Gogol.URLShortener

Description

Lets you create, inspect, and manage goo.gl short URLs

See: URL Shortener API Reference

Synopsis

Configuration

uRLShortenerService :: ServiceConfig Source #

Default request referring to version v1 of the URL Shortener API. This contains the host and root path used as a starting point for constructing service requests.

OAuth Scopes

type Urlshortener'FullControl = "https://www.googleapis.com/auth/urlshortener" Source #

Manage your goo.gl short URLs

Resources

urlshortener.url.get

type URLShortenerUrlGetResource = "urlshortener" :> ("v1" :> ("url" :> (QueryParam "shortUrl" Text :> (QueryParam "projection" UrlGetProjection :> (QueryParam "alt" AltJSON :> Get '[JSON] Url))))) Source #

A resource alias for urlshortener.url.get method which the URLShortenerUrlGet request conforms to.

data URLShortenerUrlGet Source #

Expands a short URL or gets creation time and analytics.

See: newURLShortenerUrlGet smart constructor.

Constructors

URLShortenerUrlGet 

Fields

Instances

Instances details
Generic URLShortenerUrlGet Source # 
Instance details

Defined in Gogol.URLShortener.Url.Get

Associated Types

type Rep URLShortenerUrlGet 
Instance details

Defined in Gogol.URLShortener.Url.Get

type Rep URLShortenerUrlGet = D1 ('MetaData "URLShortenerUrlGet" "Gogol.URLShortener.Url.Get" "gogol-urlshortener-1.0.0-Eavoe52yh8RBZydGcJO1Xz" 'False) (C1 ('MetaCons "URLShortenerUrlGet" 'PrefixI 'True) (S1 ('MetaSel ('Just "projection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UrlGetProjection)) :*: S1 ('MetaSel ('Just "shortUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
Show URLShortenerUrlGet Source # 
Instance details

Defined in Gogol.URLShortener.Url.Get

Eq URLShortenerUrlGet Source # 
Instance details

Defined in Gogol.URLShortener.Url.Get

GoogleRequest URLShortenerUrlGet Source # 
Instance details

Defined in Gogol.URLShortener.Url.Get

type Rep URLShortenerUrlGet Source # 
Instance details

Defined in Gogol.URLShortener.Url.Get

type Rep URLShortenerUrlGet = D1 ('MetaData "URLShortenerUrlGet" "Gogol.URLShortener.Url.Get" "gogol-urlshortener-1.0.0-Eavoe52yh8RBZydGcJO1Xz" 'False) (C1 ('MetaCons "URLShortenerUrlGet" 'PrefixI 'True) (S1 ('MetaSel ('Just "projection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UrlGetProjection)) :*: S1 ('MetaSel ('Just "shortUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type Rs URLShortenerUrlGet Source # 
Instance details

Defined in Gogol.URLShortener.Url.Get

type Scopes URLShortenerUrlGet Source # 
Instance details

Defined in Gogol.URLShortener.Url.Get

newURLShortenerUrlGet Source #

Arguments

:: Text

The short URL, including the protocol. See shortUrl.

-> URLShortenerUrlGet 

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

urlshortener.url.insert

type URLShortenerUrlInsertResource = "urlshortener" :> ("v1" :> ("url" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Url :> Post '[JSON] Url)))) Source #

A resource alias for urlshortener.url.insert method which the URLShortenerUrlInsert request conforms to.

newtype URLShortenerUrlInsert Source #

Creates a new short URL.

See: newURLShortenerUrlInsert smart constructor.

Constructors

URLShortenerUrlInsert 

Fields

Instances

Instances details
Generic URLShortenerUrlInsert Source # 
Instance details

Defined in Gogol.URLShortener.Url.Insert

Associated Types

type Rep URLShortenerUrlInsert 
Instance details

Defined in Gogol.URLShortener.Url.Insert

type Rep URLShortenerUrlInsert = D1 ('MetaData "URLShortenerUrlInsert" "Gogol.URLShortener.Url.Insert" "gogol-urlshortener-1.0.0-Eavoe52yh8RBZydGcJO1Xz" 'True) (C1 ('MetaCons "URLShortenerUrlInsert" 'PrefixI 'True) (S1 ('MetaSel ('Just "payload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Url)))
Show URLShortenerUrlInsert Source # 
Instance details

Defined in Gogol.URLShortener.Url.Insert

Eq URLShortenerUrlInsert Source # 
Instance details

Defined in Gogol.URLShortener.Url.Insert

GoogleRequest URLShortenerUrlInsert Source # 
Instance details

Defined in Gogol.URLShortener.Url.Insert

type Rep URLShortenerUrlInsert Source # 
Instance details

Defined in Gogol.URLShortener.Url.Insert

type Rep URLShortenerUrlInsert = D1 ('MetaData "URLShortenerUrlInsert" "Gogol.URLShortener.Url.Insert" "gogol-urlshortener-1.0.0-Eavoe52yh8RBZydGcJO1Xz" 'True) (C1 ('MetaCons "URLShortenerUrlInsert" 'PrefixI 'True) (S1 ('MetaSel ('Just "payload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Url)))
type Rs URLShortenerUrlInsert Source # 
Instance details

Defined in Gogol.URLShortener.Url.Insert

type Scopes URLShortenerUrlInsert Source # 
Instance details

Defined in Gogol.URLShortener.Url.Insert

newURLShortenerUrlInsert Source #

Arguments

:: Url

Multipart request metadata. See payload.

-> URLShortenerUrlInsert 

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

urlshortener.url.list

type URLShortenerUrlListResource = "urlshortener" :> ("v1" :> ("url" :> ("history" :> (QueryParam "projection" UrlListProjection :> (QueryParam "start-token" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] UrlHistory)))))) Source #

A resource alias for urlshortener.url.list method which the URLShortenerUrlList request conforms to.

data URLShortenerUrlList Source #

Retrieves a list of URLs shortened by a user.

See: newURLShortenerUrlList smart constructor.

Constructors

URLShortenerUrlList 

Fields

Instances

Instances details
Generic URLShortenerUrlList Source # 
Instance details

Defined in Gogol.URLShortener.Url.List

Associated Types

type Rep URLShortenerUrlList 
Instance details

Defined in Gogol.URLShortener.Url.List

type Rep URLShortenerUrlList = D1 ('MetaData "URLShortenerUrlList" "Gogol.URLShortener.Url.List" "gogol-urlshortener-1.0.0-Eavoe52yh8RBZydGcJO1Xz" 'False) (C1 ('MetaCons "URLShortenerUrlList" 'PrefixI 'True) (S1 ('MetaSel ('Just "projection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UrlListProjection)) :*: S1 ('MetaSel ('Just "startToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
Show URLShortenerUrlList Source # 
Instance details

Defined in Gogol.URLShortener.Url.List

Eq URLShortenerUrlList Source # 
Instance details

Defined in Gogol.URLShortener.Url.List

GoogleRequest URLShortenerUrlList Source # 
Instance details

Defined in Gogol.URLShortener.Url.List

type Rep URLShortenerUrlList Source # 
Instance details

Defined in Gogol.URLShortener.Url.List

type Rep URLShortenerUrlList = D1 ('MetaData "URLShortenerUrlList" "Gogol.URLShortener.Url.List" "gogol-urlshortener-1.0.0-Eavoe52yh8RBZydGcJO1Xz" 'False) (C1 ('MetaCons "URLShortenerUrlList" 'PrefixI 'True) (S1 ('MetaSel ('Just "projection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UrlListProjection)) :*: S1 ('MetaSel ('Just "startToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type Rs URLShortenerUrlList Source # 
Instance details

Defined in Gogol.URLShortener.Url.List

type Scopes URLShortenerUrlList Source # 
Instance details

Defined in Gogol.URLShortener.Url.List

newURLShortenerUrlList :: URLShortenerUrlList Source #

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

Types

AnalyticsSnapshot

data AnalyticsSnapshot Source #

Constructors

AnalyticsSnapshot 

Fields

  • browsers :: Maybe [StringCount]

    Top browsers, e.g. "Chrome"; sorted by (descending) click counts. Only present if this data is available.

  • countries :: Maybe [StringCount]

    Top countries (expressed as country codes), e.g. "US" or "DE"; sorted by (descending) click counts. Only present if this data is available.

  • longUrlClicks :: Maybe Int64

    Number of clicks on all goo.gl short URLs pointing to this long URL.

  • platforms :: Maybe [StringCount]

    Top platforms or OSes, e.g. "Windows"; sorted by (descending) click counts. Only present if this data is available.

  • referrers :: Maybe [StringCount]

    Top referring hosts, e.g. "www.google.com"; sorted by (descending) click counts. Only present if this data is available.

  • shortUrlClicks :: Maybe Int64

    Number of clicks on this short URL.

Instances

Instances details
FromJSON AnalyticsSnapshot Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Product

ToJSON AnalyticsSnapshot Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Product

Generic AnalyticsSnapshot Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Product

Associated Types

type Rep AnalyticsSnapshot 
Instance details

Defined in Gogol.URLShortener.Internal.Product

type Rep AnalyticsSnapshot = D1 ('MetaData "AnalyticsSnapshot" "Gogol.URLShortener.Internal.Product" "gogol-urlshortener-1.0.0-Eavoe52yh8RBZydGcJO1Xz" 'False) (C1 ('MetaCons "AnalyticsSnapshot" 'PrefixI 'True) ((S1 ('MetaSel ('Just "browsers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [StringCount])) :*: (S1 ('MetaSel ('Just "countries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [StringCount])) :*: S1 ('MetaSel ('Just "longUrlClicks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int64)))) :*: (S1 ('MetaSel ('Just "platforms") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [StringCount])) :*: (S1 ('MetaSel ('Just "referrers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [StringCount])) :*: S1 ('MetaSel ('Just "shortUrlClicks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int64))))))
Show AnalyticsSnapshot Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Product

Eq AnalyticsSnapshot Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Product

type Rep AnalyticsSnapshot Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Product

type Rep AnalyticsSnapshot = D1 ('MetaData "AnalyticsSnapshot" "Gogol.URLShortener.Internal.Product" "gogol-urlshortener-1.0.0-Eavoe52yh8RBZydGcJO1Xz" 'False) (C1 ('MetaCons "AnalyticsSnapshot" 'PrefixI 'True) ((S1 ('MetaSel ('Just "browsers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [StringCount])) :*: (S1 ('MetaSel ('Just "countries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [StringCount])) :*: S1 ('MetaSel ('Just "longUrlClicks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int64)))) :*: (S1 ('MetaSel ('Just "platforms") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [StringCount])) :*: (S1 ('MetaSel ('Just "referrers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [StringCount])) :*: S1 ('MetaSel ('Just "shortUrlClicks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int64))))))

newAnalyticsSnapshot :: AnalyticsSnapshot Source #

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

AnalyticsSummary

data AnalyticsSummary Source #

Constructors

AnalyticsSummary 

Fields

Instances

Instances details
FromJSON AnalyticsSummary Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Product

ToJSON AnalyticsSummary Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Product

Generic AnalyticsSummary Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Product

Show AnalyticsSummary Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Product

Eq AnalyticsSummary Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Product

type Rep AnalyticsSummary Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Product

newAnalyticsSummary :: AnalyticsSummary Source #

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

StringCount

data StringCount Source #

Constructors

StringCount 

Fields

  • count :: Maybe Int64

    Number of clicks for this top entry, e.g. for this particular country or browser.

  • id :: Maybe Text

    Label assigned to this top entry, e.g. "US" or "Chrome".

Instances

Instances details
FromJSON StringCount Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Product

ToJSON StringCount Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Product

Generic StringCount Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Product

Associated Types

type Rep StringCount 
Instance details

Defined in Gogol.URLShortener.Internal.Product

type Rep StringCount = D1 ('MetaData "StringCount" "Gogol.URLShortener.Internal.Product" "gogol-urlshortener-1.0.0-Eavoe52yh8RBZydGcJO1Xz" 'False) (C1 ('MetaCons "StringCount" 'PrefixI 'True) (S1 ('MetaSel ('Just "count") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int64)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
Show StringCount Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Product

Eq StringCount Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Product

type Rep StringCount Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Product

type Rep StringCount = D1 ('MetaData "StringCount" "Gogol.URLShortener.Internal.Product" "gogol-urlshortener-1.0.0-Eavoe52yh8RBZydGcJO1Xz" 'False) (C1 ('MetaCons "StringCount" 'PrefixI 'True) (S1 ('MetaSel ('Just "count") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int64)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newStringCount :: StringCount Source #

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

Url

data Url Source #

Constructors

Url 

Fields

  • analytics :: Maybe AnalyticsSummary

    A summary of the click analytics for the short and long URL. Might not be present if not requested or currently unavailable.

  • created :: Maybe Text

    Time the short URL was created; ISO 8601 representation using the yyyy-MM-dd'T'HH:mm:ss.SSSZZ format, e.g. "2010-10-14T19:01:24.944+00:00".

  • id :: Maybe Text

    Short URL, e.g. "http://goo.gl/l6MS".

  • kind :: Text

    The fixed string "urlshortener#url".

  • longUrl :: Maybe Text

    Long URL, e.g. "http://www.google.com/". Might not be present if the status is "REMOVED".

  • status :: Maybe Text

    Status of the target URL. Possible values: "OK", "MALWARE", "PHISHING", or "REMOVED". A URL might be marked "REMOVED" if it was flagged as spam, for example.

Instances

Instances details
FromJSON Url Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Product

ToJSON Url Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Product

Generic Url Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Product

Methods

from :: Url -> Rep Url x #

to :: Rep Url x -> Url #

Show Url Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Product

Methods

showsPrec :: Int -> Url -> ShowS #

show :: Url -> String #

showList :: [Url] -> ShowS #

Eq Url Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Product

Methods

(==) :: Url -> Url -> Bool #

(/=) :: Url -> Url -> Bool #

type Rep Url Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Product

newUrl :: Url Source #

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

UrlHistory

data UrlHistory Source #

Constructors

UrlHistory 

Fields

  • items :: Maybe [Url]

    A list of URL resources.

  • itemsPerPage :: Maybe Int32

    Number of items returned with each full "page" of results. Note that the last page could have fewer items than the "itemsPerPage" value.

  • kind :: Text

    The fixed string "urlshortener#urlHistory".

  • nextPageToken :: Maybe Text

    A token to provide to get the next page of results.

  • totalItems :: Maybe Int32

    Total number of short URLs associated with this user (may be approximate).

Instances

Instances details
FromJSON UrlHistory Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Product

ToJSON UrlHistory Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Product

Generic UrlHistory Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Product

Associated Types

type Rep UrlHistory 
Instance details

Defined in Gogol.URLShortener.Internal.Product

type Rep UrlHistory = D1 ('MetaData "UrlHistory" "Gogol.URLShortener.Internal.Product" "gogol-urlshortener-1.0.0-Eavoe52yh8RBZydGcJO1Xz" 'False) (C1 ('MetaCons "UrlHistory" 'PrefixI 'True) ((S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Url])) :*: S1 ('MetaSel ('Just "itemsPerPage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int32))) :*: (S1 ('MetaSel ('Just "kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "nextPageToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "totalItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int32))))))
Show UrlHistory Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Product

Eq UrlHistory Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Product

type Rep UrlHistory Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Product

type Rep UrlHistory = D1 ('MetaData "UrlHistory" "Gogol.URLShortener.Internal.Product" "gogol-urlshortener-1.0.0-Eavoe52yh8RBZydGcJO1Xz" 'False) (C1 ('MetaCons "UrlHistory" 'PrefixI 'True) ((S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Url])) :*: S1 ('MetaSel ('Just "itemsPerPage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int32))) :*: (S1 ('MetaSel ('Just "kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "nextPageToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "totalItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int32))))))

newUrlHistory :: UrlHistory Source #

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

UrlGetProjection

newtype UrlGetProjection Source #

Additional information to return.

Bundled Patterns

pattern UrlGetProjection_ANALYTICSCLICKS :: UrlGetProjection

Returns only click counts.

pattern UrlGetProjection_ANALYTICSTOPSTRINGS :: UrlGetProjection

Returns only top string counts.

pattern UrlGetProjection_Full :: UrlGetProjection

Returns the creation timestamp and all available analytics.

Instances

Instances details
FromJSON UrlGetProjection Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Sum

FromJSONKey UrlGetProjection Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Sum

ToJSON UrlGetProjection Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Sum

ToJSONKey UrlGetProjection Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Sum

Generic UrlGetProjection Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Sum

Associated Types

type Rep UrlGetProjection 
Instance details

Defined in Gogol.URLShortener.Internal.Sum

type Rep UrlGetProjection = D1 ('MetaData "UrlGetProjection" "Gogol.URLShortener.Internal.Sum" "gogol-urlshortener-1.0.0-Eavoe52yh8RBZydGcJO1Xz" 'True) (C1 ('MetaCons "UrlGetProjection" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromUrlGetProjection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))
Read UrlGetProjection Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Sum

Show UrlGetProjection Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Sum

Eq UrlGetProjection Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Sum

Ord UrlGetProjection Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Sum

Hashable UrlGetProjection Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Sum

FromHttpApiData UrlGetProjection Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Sum

ToHttpApiData UrlGetProjection Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Sum

type Rep UrlGetProjection Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Sum

type Rep UrlGetProjection = D1 ('MetaData "UrlGetProjection" "Gogol.URLShortener.Internal.Sum" "gogol-urlshortener-1.0.0-Eavoe52yh8RBZydGcJO1Xz" 'True) (C1 ('MetaCons "UrlGetProjection" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromUrlGetProjection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

UrlListProjection

newtype UrlListProjection Source #

Additional information to return.

Bundled Patterns

pattern UrlListProjection_ANALYTICSCLICKS :: UrlListProjection

Returns short URL click counts.

pattern UrlListProjection_Full :: UrlListProjection

Returns short URL click counts.

Instances

Instances details
FromJSON UrlListProjection Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Sum

FromJSONKey UrlListProjection Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Sum

ToJSON UrlListProjection Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Sum

ToJSONKey UrlListProjection Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Sum

Generic UrlListProjection Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Sum

Associated Types

type Rep UrlListProjection 
Instance details

Defined in Gogol.URLShortener.Internal.Sum

type Rep UrlListProjection = D1 ('MetaData "UrlListProjection" "Gogol.URLShortener.Internal.Sum" "gogol-urlshortener-1.0.0-Eavoe52yh8RBZydGcJO1Xz" 'True) (C1 ('MetaCons "UrlListProjection" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromUrlListProjection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))
Read UrlListProjection Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Sum

Show UrlListProjection Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Sum

Eq UrlListProjection Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Sum

Ord UrlListProjection Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Sum

Hashable UrlListProjection Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Sum

FromHttpApiData UrlListProjection Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Sum

ToHttpApiData UrlListProjection Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Sum

type Rep UrlListProjection Source # 
Instance details

Defined in Gogol.URLShortener.Internal.Sum

type Rep UrlListProjection = D1 ('MetaData "UrlListProjection" "Gogol.URLShortener.Internal.Sum" "gogol-urlshortener-1.0.0-Eavoe52yh8RBZydGcJO1Xz" 'True) (C1 ('MetaCons "UrlListProjection" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromUrlListProjection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))