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 |
Updates an existing site. This method supports patch semantics.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.sites.patch
.
Synopsis
- type SitesPatchResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("sites" :> (QueryParam "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Site :> Patch '[JSON] Site)))))))
- sitesPatch :: Int64 -> Site -> Int64 -> SitesPatch
- data SitesPatch
- spProFileId :: Lens' SitesPatch Int64
- spPayload :: Lens' SitesPatch Site
- spId :: Lens' SitesPatch Int64
REST Resource
type SitesPatchResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("sites" :> (QueryParam "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Site :> Patch '[JSON] Site))))))) Source #
A resource alias for dfareporting.sites.patch
method which the
SitesPatch
request conforms to.
Creating a Request
:: Int64 | |
-> Site | |
-> Int64 | |
-> SitesPatch |
Creates a value of SitesPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SitesPatch Source #
Updates an existing site. This method supports patch semantics.
See: sitesPatch
smart constructor.
Instances
Request Lenses
spProFileId :: Lens' SitesPatch Int64 Source #
User profile ID associated with this request.