packages feed

gogol-acceleratedmobilepageurl 0.4.0 → 0.5.0

raw patch · 4 files changed

+39/−28 lines, 4 filesdep ~gogol-corePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: gogol-core

API changes (from Hackage documentation)

Files

README.md view
@@ -8,7 +8,7 @@  ## Version -`0.3.0`+`0.5.0`   ## Description
gen/Network/Google/AcceleratedMobilePageURL/Types/Product.hs view
@@ -23,12 +23,15 @@ -- | AMP URL Error resource for a requested URL that couldn\'t be found. -- -- /See:/ 'ampURLError' smart constructor.-data AmpURLError = AmpURLError'+data AmpURLError =+  AmpURLError'     { _aueOriginalURL  :: !(Maybe Text)     , _aueErrorCode    :: !(Maybe AmpURLErrorErrorCode)     , _aueErrorMessage :: !(Maybe Text)-    } deriving (Eq,Show,Data,Typeable,Generic)+    }+  deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'AmpURLError' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -41,12 +44,13 @@ ampURLError     :: AmpURLError ampURLError =-    AmpURLError'+  AmpURLError'     { _aueOriginalURL = Nothing     , _aueErrorCode = Nothing     , _aueErrorMessage = Nothing     } + -- | The original non-AMP URL. aueOriginalURL :: Lens' AmpURLError (Maybe Text) aueOriginalURL@@ -83,11 +87,14 @@ -- | Batch AMP URL response. -- -- /See:/ 'batchGetAmpURLsResponse' smart constructor.-data BatchGetAmpURLsResponse = BatchGetAmpURLsResponse'+data BatchGetAmpURLsResponse =+  BatchGetAmpURLsResponse'     { _bgaurAmpURLs   :: !(Maybe [AmpURL])     , _bgaurURLErrors :: !(Maybe [AmpURLError])-    } deriving (Eq,Show,Data,Typeable,Generic)+    }+  deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'BatchGetAmpURLsResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -98,11 +105,9 @@ batchGetAmpURLsResponse     :: BatchGetAmpURLsResponse batchGetAmpURLsResponse =-    BatchGetAmpURLsResponse'-    { _bgaurAmpURLs = Nothing-    , _bgaurURLErrors = Nothing-    }+  BatchGetAmpURLsResponse' {_bgaurAmpURLs = Nothing, _bgaurURLErrors = Nothing} + -- | For each URL in BatchAmpUrlsRequest, the URL response. The response -- might not be in the same order as URLs in the batch request. If -- BatchAmpUrlsRequest contains duplicate URLs, AmpUrl is generated only@@ -139,11 +144,14 @@ -- | AMP URL request for a batch of URLs. -- -- /See:/ 'batchGetAmpURLsRequest' smart constructor.-data BatchGetAmpURLsRequest = BatchGetAmpURLsRequest'+data BatchGetAmpURLsRequest =+  BatchGetAmpURLsRequest'     { _bgaurURLs           :: !(Maybe [Text])     , _bgaurLookupStrategy :: !(Maybe BatchGetAmpURLsRequestLookupStrategy)-    } deriving (Eq,Show,Data,Typeable,Generic)+    }+  deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'BatchGetAmpURLsRequest' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -154,11 +162,9 @@ batchGetAmpURLsRequest     :: BatchGetAmpURLsRequest batchGetAmpURLsRequest =-    BatchGetAmpURLsRequest'-    { _bgaurURLs = Nothing-    , _bgaurLookupStrategy = Nothing-    }+  BatchGetAmpURLsRequest' {_bgaurURLs = Nothing, _bgaurLookupStrategy = Nothing} + -- | List of URLs to look up for the paired AMP URLs. The URLs are -- case-sensitive. Up to 50 URLs per lookup (see [Usage -- Limits](\/amp\/cache\/reference\/limits)).@@ -192,12 +198,15 @@ -- | AMP URL response for a requested URL. -- -- /See:/ 'ampURL' smart constructor.-data AmpURL = AmpURL'+data AmpURL =+  AmpURL'     { _auOriginalURL :: !(Maybe Text)     , _auAmpURL      :: !(Maybe Text)     , _auCdnAmpURL   :: !(Maybe Text)-    } deriving (Eq,Show,Data,Typeable,Generic)+    }+  deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'AmpURL' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -210,11 +219,9 @@ ampURL     :: AmpURL ampURL =-    AmpURL'-    { _auOriginalURL = Nothing-    , _auAmpURL = Nothing-    , _auCdnAmpURL = Nothing-    }+  AmpURL'+    {_auOriginalURL = Nothing, _auAmpURL = Nothing, _auCdnAmpURL = Nothing}+  -- | The original non-AMP URL. auOriginalURL :: Lens' AmpURL (Maybe Text)
gen/Network/Google/Resource/AcceleratedMobilePageURL/AmpURLs/BatchGet.hs view
@@ -63,15 +63,18 @@ -- URL(s)](\/amp\/cache\/overview#amp-cache-url-format). -- -- /See:/ 'ampURLsBatchGet' smart constructor.-data AmpURLsBatchGet = AmpURLsBatchGet'+data AmpURLsBatchGet =+  AmpURLsBatchGet'     { _aubgXgafv          :: !(Maybe Xgafv)     , _aubgUploadProtocol :: !(Maybe Text)     , _aubgAccessToken    :: !(Maybe Text)     , _aubgUploadType     :: !(Maybe Text)     , _aubgPayload        :: !BatchGetAmpURLsRequest     , _aubgCallback       :: !(Maybe Text)-    } deriving (Eq,Show,Data,Typeable,Generic)+    }+  deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'AmpURLsBatchGet' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -91,7 +94,7 @@     :: BatchGetAmpURLsRequest -- ^ 'aubgPayload'     -> AmpURLsBatchGet ampURLsBatchGet pAubgPayload_ =-    AmpURLsBatchGet'+  AmpURLsBatchGet'     { _aubgXgafv = Nothing     , _aubgUploadProtocol = Nothing     , _aubgAccessToken = Nothing@@ -99,6 +102,7 @@     , _aubgPayload = pAubgPayload_     , _aubgCallback = Nothing     }+  -- | V1 error format. aubgXgafv :: Lens' AmpURLsBatchGet (Maybe Xgafv)
gogol-acceleratedmobilepageurl.cabal view
@@ -1,5 +1,5 @@ name:                  gogol-acceleratedmobilepageurl-version:               0.4.0+version:               0.5.0 synopsis:              Google Accelerated Mobile Pages (AMP) URL SDK. homepage:              https://github.com/brendanhay/gogol bug-reports:           https://github.com/brendanhay/gogol/issues@@ -43,5 +43,5 @@         , Network.Google.AcceleratedMobilePageURL.Types.Sum      build-depends:-          gogol-core == 0.4.0.*+          gogol-core == 0.5.0.*         , base       >= 4.7 && < 5