on develop help sign in
Adding generated services
commit0c415b6921d53f386d778839653a77d872e5530e authorBrendan Hay <brendan.g.hay@gmail.com> dateSat 26 Sep 2015, 08:34 (11 years ago) parentf7f4f82
827 files changed+260965−3
.gitignore−3 gogol-adexchange-buyer/LICENSE+373 gogol-adexchange-buyer/Makefile+1 gogol-adexchange-buyer/README.md+28 gogol-adexchange-buyer/Setup.hs+2 gogol-adexchange-buyer/gen/Network/Google/AdExchangeBuyer.hs+852 gogol-adexchange-buyer/gen/Network/Google/AdExchangeBuyer/Types.hs+842 gogol-adexchange-buyer/gen/Network/Google/AdExchangeBuyer/Types/Product.hs+5832 gogol-adexchange-buyer/gen/Network/Google/AdExchangeBuyer/Types/Sum.hs+15 gogol-adexchange-buyer/gogol-adexchange-buyer.cabal+39 gogol-adexchange-buyer/src/.gitkeep gogol-adexchange-seller/LICENSE+373 gogol-adexchange-seller/Makefile+1 gogol-adexchange-seller/README.md+28 gogol-adexchange-seller/Setup.hs+2 gogol-adexchange-seller/gen/Network/Google/AdExchangeSeller.hs+190 gogol-adexchange-seller/gen/Network/Google/AdExchangeSeller/Types.hs+180 gogol-adexchange-seller/gen/Network/Google/AdExchangeSeller/Types/Product.hs+1056 gogol-adexchange-seller/gen/Network/Google/AdExchangeSeller/Types/Sum.hs+15 gogol-adexchange-seller/gogol-adexchange-seller.cabal+39 gogol-adexchange-seller/src/.gitkeep gogol-admin/LICENSE+373 gogol-admin/Makefile+1 gogol-admin/README.md+28 gogol-admin/Setup.hs+2 gogol-admin/gen/Network/Google/DataTransfer.hs+85 gogol-admin/gen/Network/Google/DataTransfer/Types.hs+75 gogol-admin/gen/Network/Google/DataTransfer/Types/Product.hs+363 gogol-admin/gen/Network/Google/DataTransfer/Types/Sum.hs+15 gogol-admin/gen/Network/Google/Directory.hs+514 gogol-admin/gen/Network/Google/Directory/Types.hs+504 gogol-admin/gen/Network/Google/Directory/Types/Product.hs+3421 gogol-admin/gen/Network/Google/Directory/Types/Sum.hs+15 gogol-admin/gen/Network/Google/EmailMigrationAPIv2.hs+48 gogol-admin/gen/Network/Google/EmailMigrationAPIv2/Types.hs+38 gogol-admin/gen/Network/Google/EmailMigrationAPIv2/Types/Product.hs+112 gogol-admin/gen/Network/Google/EmailMigrationAPIv2/Types/Sum.hs+15 gogol-admin/gen/Network/Google/Reports.hs+158 gogol-admin/gen/Network/Google/Reports/Types.hs+148 gogol-admin/gen/Network/Google/Reports/Types/Product.hs+810 gogol-admin/gen/Network/Google/Reports/Types/Sum.hs+15 gogol-admin/gogol-admin.cabal+51 gogol-admin/src/.gitkeep gogol-adsense-host/LICENSE+373 gogol-adsense-host/Makefile+1 gogol-adsense-host/README.md+28 gogol-adsense-host/Setup.hs+2 gogol-adsense-host/gen/Network/Google/AdSenseHost.hs+200 gogol-adsense-host/gen/Network/Google/AdSenseHost/Types.hs+190 gogol-adsense-host/gen/Network/Google/AdSenseHost/Types/Product.hs+1105 gogol-adsense-host/gen/Network/Google/AdSenseHost/Types/Sum.hs+15 gogol-adsense-host/gogol-adsense-host.cabal+39 gogol-adsense-host/src/.gitkeep gogol-adsense/LICENSE+373 gogol-adsense/Makefile+1 gogol-adsense/README.md+28 gogol-adsense/Setup.hs+2 gogol-adsense/gen/Network/Google/AdSense.hs+291 gogol-adsense/gen/Network/Google/AdSense/Types.hs+281 gogol-adsense/gen/Network/Google/AdSense/Types/Product.hs+1725 gogol-adsense/gen/Network/Google/AdSense/Types/Sum.hs+15 gogol-adsense/gogol-adsense.cabal+39 gogol-adsense/src/.gitkeep gogol-affiliatenetwork/LICENSE+373 gogol-affiliatenetwork/Makefile+1 gogol-affiliatenetwork/README.md+28 gogol-affiliatenetwork/Setup.hs+2 gogol-affiliatenetwork/gen/Network/Google/AffiliateNetwork.hs+290 gogol-affiliatenetwork/gen/Network/Google/AffiliateNetwork/Types.hs+280 gogol-affiliatenetwork/gen/Network/Google/AffiliateNetwork/Types/Product.hs+2140 gogol-affiliatenetwork/gen/Network/Google/AffiliateNetwork/Types/Sum.hs+15 gogol-affiliatenetwork/gogol-affiliatenetwork.cabal+39 gogol-affiliatenetwork/src/.gitkeep gogol-analytics/LICENSE+373 gogol-analytics/Makefile+1 gogol-analytics/README.md+28 gogol-analytics/Setup.hs+2 gogol-analytics/gen/Network/Google/Analytics.hs+1008 gogol-analytics/gen/Network/Google/Analytics/Types.hs+998 gogol-analytics/gen/Network/Google/Analytics/Types/Product.hs+7171 gogol-analytics/gen/Network/Google/Analytics/Types/Sum.hs+15 gogol-analytics/gogol-analytics.cabal+39 gogol-analytics/src/.gitkeep gogol-android-enterprise/LICENSE+373 gogol-android-enterprise/Makefile+1 gogol-android-enterprise/README.md+28 gogol-android-enterprise/Setup.hs+2 gogol-android-enterprise/gen/Network/Google/AndroidEnterprise.hs+259 gogol-android-enterprise/gen/Network/Google/AndroidEnterprise/Types.hs+249 gogol-android-enterprise/gen/Network/Google/AndroidEnterprise/Types/Product.hs+1612 gogol-android-enterprise/gen/Network/Google/AndroidEnterprise/Types/Sum.hs+15 gogol-android-enterprise/gogol-android-enterprise.cabal+39 gogol-android-enterprise/src/.gitkeep gogol-android-publisher/LICENSE+373 gogol-android-publisher/Makefile+1 gogol-android-publisher/README.md+28 gogol-android-publisher/Setup.hs+2 gogol-android-publisher/gen/Network/Google/AndroidPublisher.hs+342 gogol-android-publisher/gen/Network/Google/AndroidPublisher/Types.hs+332 gogol-android-publisher/gen/Network/Google/AndroidPublisher/Types/Product.hs+1832 gogol-android-publisher/gen/Network/Google/AndroidPublisher/Types/Sum.hs+15 gogol-android-publisher/gogol-android-publisher.cabal+39 gogol-android-publisher/src/.gitkeep gogol-appengine/LICENSE+373 gogol-appengine/Makefile+1 gogol-appengine/README.md+28 gogol-appengine/Setup.hs+2 gogol-appengine/gen/Network/Google/AppEngineAdmin.hs+310 gogol-appengine/gen/Network/Google/AppEngineAdmin/Types.hs+300 gogol-appengine/gen/Network/Google/AppEngineAdmin/Types/Product.hs+1961 gogol-appengine/gen/Network/Google/AppEngineAdmin/Types/Sum.hs+15 gogol-appengine/gogol-appengine.cabal+39 gogol-appengine/src/.gitkeep gogol-appsactivity/LICENSE+373 gogol-appsactivity/Makefile+1 gogol-appsactivity/README.md+28 gogol-appsactivity/Setup.hs+2 gogol-appsactivity/gen/Network/Google/AppsActivity.hs+125 gogol-appsactivity/gen/Network/Google/AppsActivity/Types.hs+115 gogol-appsactivity/gen/Network/Google/AppsActivity/Types/Product.hs+519 gogol-appsactivity/gen/Network/Google/AppsActivity/Types/Sum.hs+99 gogol-appsactivity/gogol-appsactivity.cabal+39 gogol-appsactivity/src/.gitkeep gogol-appstate/LICENSE+373 gogol-appstate/Makefile+1 gogol-appstate/README.md+28 gogol-appstate/Setup.hs+2 gogol-appstate/gen/Network/Google/AppState.hs+63 gogol-appstate/gen/Network/Google/AppState/Types.hs+53 gogol-appstate/gen/Network/Google/AppState/Types/Product.hs+186 gogol-appstate/gen/Network/Google/AppState/Types/Sum.hs+15 gogol-appstate/gogol-appstate.cabal+39 gogol-appstate/src/.gitkeep gogol-autoscaler/LICENSE+373 gogol-autoscaler/Makefile+1 gogol-autoscaler/README.md+28 gogol-autoscaler/Setup.hs+2 gogol-autoscaler/gen/Network/Google/ComputeEngineAutoscaler.hs+181 gogol-autoscaler/gen/Network/Google/ComputeEngineAutoscaler/Types.hs+171 gogol-autoscaler/gen/Network/Google/ComputeEngineAutoscaler/Types/Product.hs+962 gogol-autoscaler/gen/Network/Google/ComputeEngineAutoscaler/Types/Sum.hs+15 gogol-autoscaler/gogol-autoscaler.cabal+39 gogol-autoscaler/src/.gitkeep gogol-bigquery/LICENSE+373 gogol-bigquery/Makefile+1 gogol-bigquery/README.md+28 gogol-bigquery/Setup.hs+2 gogol-bigquery/gen/Network/Google/BigQuery.hs+468 gogol-bigquery/gen/Network/Google/BigQuery/Types.hs+458 gogol-bigquery/gen/Network/Google/BigQuery/Types/Product.hs+3258 gogol-bigquery/gen/Network/Google/BigQuery/Types/Sum.hs+15 gogol-bigquery/gogol-bigquery.cabal+39 gogol-bigquery/src/.gitkeep gogol-blogger/LICENSE+373 gogol-blogger/Makefile+1 gogol-blogger/README.md+28 gogol-blogger/Setup.hs+2 gogol-blogger/gen/Network/Google/Blogger.hs+320 gogol-blogger/gen/Network/Google/Blogger/Types.hs+310 gogol-blogger/gen/Network/Google/Blogger/Types/Product.hs+1786 gogol-blogger/gen/Network/Google/Blogger/Types/Sum.hs+15 gogol-blogger/gogol-blogger.cabal+39 gogol-blogger/src/.gitkeep gogol-books/LICENSE+373 gogol-books/Makefile+1 gogol-books/README.md+28 gogol-books/Setup.hs+2 gogol-books/gen/Network/Google/Books.hs+756 gogol-books/gen/Network/Google/Books/Types.hs+746 gogol-books/gen/Network/Google/Books/Types/Product.hs+4809 gogol-books/gen/Network/Google/Books/Types/Sum.hs+15 gogol-books/gogol-books.cabal+39 gogol-books/src/.gitkeep gogol-calendar/LICENSE+373 gogol-calendar/Makefile+1 gogol-calendar/README.md+28 gogol-calendar/Setup.hs+2 gogol-calendar/gen/Network/Google/Calendar.hs+375 gogol-calendar/gen/Network/Google/Calendar/Types.hs+365 gogol-calendar/gen/Network/Google/Calendar/Types/Product.hs+2412 gogol-calendar/gen/Network/Google/Calendar/Types/Sum.hs+15 gogol-calendar/gogol-calendar.cabal+39 gogol-calendar/src/.gitkeep gogol-civicinfo/LICENSE+373 gogol-civicinfo/Makefile+1 gogol-civicinfo/README.md+28 gogol-civicinfo/Setup.hs+2 gogol-civicinfo/gen/Network/Google/CivicInfo.hs+248 gogol-civicinfo/gen/Network/Google/CivicInfo/Types.hs+238 gogol-civicinfo/gen/Network/Google/CivicInfo/Types/Product.hs+1639 gogol-civicinfo/gen/Network/Google/CivicInfo/Types/Sum.hs+15 gogol-civicinfo/gogol-civicinfo.cabal+39 gogol-civicinfo/src/.gitkeep gogol-classroom/LICENSE+373 gogol-classroom/Makefile+1 gogol-classroom/README.md+28 gogol-classroom/Setup.hs+2 gogol-classroom/gen/Network/Google/Classroom.hs+133 gogol-classroom/gen/Network/Google/Classroom/Types.hs+123 gogol-classroom/gen/Network/Google/Classroom/Types/Product.hs+670 gogol-classroom/gen/Network/Google/Classroom/Types/Sum.hs+15 gogol-classroom/gogol-classroom.cabal+39 gogol-classroom/src/.gitkeep gogol-cloud-billing/LICENSE+373 gogol-cloud-billing/Makefile+1 gogol-cloud-billing/README.md+28 gogol-cloud-billing/Setup.hs+2 gogol-cloud-billing/gen/Network/Google/CloudBilling.hs+62 gogol-cloud-billing/gen/Network/Google/CloudBilling/Types.hs+52 gogol-cloud-billing/gen/Network/Google/CloudBilling/Types/Product.hs+211 gogol-cloud-billing/gen/Network/Google/CloudBilling/Types/Sum.hs+15 gogol-cloud-billing/gogol-cloud-billing.cabal+39 gogol-cloud-billing/src/.gitkeep gogol-cloud-datastore/LICENSE+373 gogol-cloud-datastore/Makefile+1 gogol-cloud-datastore/README.md+28 gogol-cloud-datastore/Setup.hs+2 gogol-cloud-datastore/gen/Network/Google/CloudDatastore.hs+307 gogol-cloud-datastore/gen/Network/Google/CloudDatastore/Types.hs+297 gogol-cloud-datastore/gen/Network/Google/CloudDatastore/Types/Product.hs+1600 gogol-cloud-datastore/gen/Network/Google/CloudDatastore/Types/Sum.hs+134 gogol-cloud-datastore/gogol-cloud-datastore.cabal+39 gogol-cloud-datastore/src/.gitkeep gogol-cloud-debugger/LICENSE+373 gogol-cloud-debugger/Makefile+1 gogol-cloud-debugger/README.md+28 gogol-cloud-debugger/Setup.hs+2 gogol-cloud-debugger/gen/Network/Google/CloudDebugger.hs+211 gogol-cloud-debugger/gen/Network/Google/CloudDebugger/Types.hs+201 gogol-cloud-debugger/gen/Network/Google/CloudDebugger/Types/Product.hs+1211 gogol-cloud-debugger/gen/Network/Google/CloudDebugger/Types/Sum.hs+15 gogol-cloud-debugger/gogol-cloud-debugger.cabal+39 gogol-cloud-debugger/src/.gitkeep gogol-cloud-deployments/LICENSE+373 gogol-cloud-deployments/Makefile+1 gogol-cloud-deployments/README.md+28 gogol-cloud-deployments/Setup.hs+2 gogol-cloud-deployments/gen/Network/Google/DeploymentManager.hs+193 gogol-cloud-deployments/gen/Network/Google/DeploymentManager/Types.hs+183 gogol-cloud-deployments/gen/Network/Google/DeploymentManager/Types/Product.hs+1142 gogol-cloud-deployments/gen/Network/Google/DeploymentManager/Types/Sum.hs+15 gogol-cloud-deployments/gogol-cloud-deployments.cabal+39 gogol-cloud-deployments/src/.gitkeep gogol-cloud-dns/LICENSE+373 gogol-cloud-dns/Makefile+1 gogol-cloud-dns/README.md+28 gogol-cloud-dns/Setup.hs+2 gogol-cloud-dns/gen/Network/Google/CloudDNS.hs+106 gogol-cloud-dns/gen/Network/Google/CloudDNS/Types.hs+96 gogol-cloud-dns/gen/Network/Google/CloudDNS/Types/Product.hs+546 gogol-cloud-dns/gen/Network/Google/CloudDNS/Types/Sum.hs+15 gogol-cloud-dns/gogol-cloud-dns.cabal+39 gogol-cloud-dns/src/.gitkeep gogol-cloud-latencytest/LICENSE+373 gogol-cloud-latencytest/Makefile+1 gogol-cloud-latencytest/README.md+28 gogol-cloud-latencytest/Setup.hs+2 gogol-cloud-latencytest/gen/Network/Google/CloudNetworkPerformanceMonitoring.hs+76 gogol-cloud-latencytest/gen/Network/Google/CloudNetworkPerformanceMonitoring/Types.hs+66 gogol-cloud-latencytest/gen/Network/Google/CloudNetworkPerformanceMonitoring/Types/Product.hs+220 gogol-cloud-latencytest/gen/Network/Google/CloudNetworkPerformanceMonitoring/Types/Sum.hs+15 gogol-cloud-latencytest/gogol-cloud-latencytest.cabal+39 gogol-cloud-latencytest/src/.gitkeep gogol-cloud-logging/LICENSE+373 gogol-cloud-logging/Makefile+1 gogol-cloud-logging/README.md+28 gogol-cloud-logging/Setup.hs+2 gogol-cloud-logging/gen/Network/Google/CloudLogging.hs+228 gogol-cloud-logging/gen/Network/Google/CloudLogging/Types.hs+218 gogol-cloud-logging/gen/Network/Google/CloudLogging/Types/Product.hs+1393 gogol-cloud-logging/gen/Network/Google/CloudLogging/Types/Sum.hs+15 gogol-cloud-logging/gogol-cloud-logging.cabal+39 gogol-cloud-logging/src/.gitkeep gogol-cloud-monitoring/LICENSE+373 gogol-cloud-monitoring/Makefile+1 gogol-cloud-monitoring/README.md+28 gogol-cloud-monitoring/Setup.hs+2 gogol-cloud-monitoring/gen/Network/Google/CloudMonitoring.hs+182 gogol-cloud-monitoring/gen/Network/Google/CloudMonitoring/Types.hs+172 gogol-cloud-monitoring/gen/Network/Google/CloudMonitoring/Types/Product.hs+925 gogol-cloud-monitoring/gen/Network/Google/CloudMonitoring/Types/Sum.hs+15 gogol-cloud-monitoring/gogol-cloud-monitoring.cabal+39 gogol-cloud-monitoring/src/.gitkeep gogol-cloud-pubsub/LICENSE+373 gogol-cloud-pubsub/Makefile+1 gogol-cloud-pubsub/README.md+28 gogol-cloud-pubsub/Setup.hs+2 gogol-cloud-pubsub/gen/Network/Google/CloudPub/Sub/Types.hs+153 gogol-cloud-pubsub/gen/Network/Google/CloudPub/Sub/Types/Product.hs+829 gogol-cloud-pubsub/gen/Network/Google/CloudPub/Sub/Types/Sum.hs+15 gogol-cloud-pubsub/gen/Network/Google/Sub.hs+163 gogol-cloud-pubsub/gogol-cloud-pubsub.cabal+39 gogol-cloud-pubsub/src/.gitkeep gogol-cloud-resources/LICENSE+373 gogol-cloud-resources/Makefile+1 gogol-cloud-resources/README.md+28 gogol-cloud-resources/Setup.hs+2 gogol-cloud-resources/gen/Network/Google/CloudResourceManager.hs+116 gogol-cloud-resources/gen/Network/Google/CloudResourceManager/Types.hs+106 gogol-cloud-resources/gen/Network/Google/CloudResourceManager/Types/Product.hs+551 gogol-cloud-resources/gen/Network/Google/CloudResourceManager/Types/Sum.hs+15 gogol-cloud-resources/gogol-cloud-resources.cabal+39 gogol-cloud-resources/src/.gitkeep gogol-cloud-sqladmin/LICENSE+373 gogol-cloud-sqladmin/Makefile+1 gogol-cloud-sqladmin/README.md+28 gogol-cloud-sqladmin/Setup.hs+2 gogol-cloud-sqladmin/gen/Network/Google/SQLAdmin.hs+399 gogol-cloud-sqladmin/gen/Network/Google/SQLAdmin/Types.hs+389 gogol-cloud-sqladmin/gen/Network/Google/SQLAdmin/Types/Product.hs+2546 gogol-cloud-sqladmin/gen/Network/Google/SQLAdmin/Types/Sum.hs+15 gogol-cloud-sqladmin/gogol-cloud-sqladmin.cabal+39 gogol-cloud-sqladmin/src/.gitkeep gogol-cloud-users/LICENSE+373 gogol-cloud-users/Makefile+1 gogol-cloud-users/README.md+28 gogol-cloud-users/Setup.hs+2 gogol-cloud-users/gen/Network/Google/CloudUserAccounts.hs+202 gogol-cloud-users/gen/Network/Google/CloudUserAccounts/Types.hs+192 gogol-cloud-users/gen/Network/Google/CloudUserAccounts/Types/Product.hs+1112 gogol-cloud-users/gen/Network/Google/CloudUserAccounts/Types/Sum.hs+62 gogol-cloud-users/gogol-cloud-users.cabal+39 gogol-cloud-users/src/.gitkeep gogol-compute/LICENSE+373 gogol-compute/Makefile+1 gogol-compute/README.md+28 gogol-compute/Setup.hs+2 gogol-compute/gen/Network/Google/Compute.hs+1760 gogol-compute/gen/Network/Google/Compute/Types.hs+1750 gogol-compute/gen/Network/Google/Compute/Types/Product.hs+11019 gogol-compute/gen/Network/Google/Compute/Types/Sum.hs+1031 gogol-compute/gogol-compute.cabal+39 gogol-compute/src/.gitkeep gogol-container/LICENSE+373 gogol-container/Makefile+1 gogol-container/README.md+28 gogol-container/Setup.hs+2 gogol-container/gen/Network/Google/ContainerEngine.hs+127 gogol-container/gen/Network/Google/ContainerEngine/Types.hs+117 gogol-container/gen/Network/Google/ContainerEngine/Types/Product.hs+621 gogol-container/gen/Network/Google/ContainerEngine/Types/Sum.hs+51 gogol-container/gogol-container.cabal+39 gogol-container/src/.gitkeep gogol-content/LICENSE+373 gogol-content/Makefile+1 gogol-content/README.md+28 gogol-content/Setup.hs+2 gogol-content/gen/Network/Google/ShoppingContent.hs+502 gogol-content/gen/Network/Google/ShoppingContent/Types.hs+492 gogol-content/gen/Network/Google/ShoppingContent/Types/Product.hs+3158 gogol-content/gen/Network/Google/ShoppingContent/Types/Sum.hs+15 gogol-content/gogol-content.cabal+39 gogol-content/src/.gitkeep gogol-customsearch/LICENSE+373 gogol-customsearch/Makefile+1 gogol-customsearch/README.md+28 gogol-customsearch/Setup.hs+2 gogol-customsearch/gen/Network/Google/CustomSearch.hs+191 gogol-customsearch/gen/Network/Google/CustomSearch/Types.hs+181 gogol-customsearch/gen/Network/Google/CustomSearch/Types/Product.hs+983 gogol-customsearch/gen/Network/Google/CustomSearch/Types/Sum.hs+15 gogol-customsearch/gogol-customsearch.cabal+39 gogol-customsearch/src/.gitkeep gogol-dataflow/LICENSE+373 gogol-dataflow/Makefile+1 gogol-dataflow/README.md+28 gogol-dataflow/Setup.hs+2 gogol-dataflow/gen/Network/Google/Dataflow.hs+690 gogol-dataflow/gen/Network/Google/Dataflow/Types.hs+680 gogol-dataflow/gen/Network/Google/Dataflow/Types/Product.hs+4394 gogol-dataflow/gen/Network/Google/Dataflow/Types/Sum.hs+15 gogol-dataflow/gogol-dataflow.cabal+39 gogol-dataflow/src/.gitkeep gogol-dfareporting/LICENSE+373 gogol-dfareporting/Makefile+1 gogol-dfareporting/README.md+28 gogol-dfareporting/Setup.hs+2 gogol-dfareporting/gen/Network/Google/DCM/DFAReportingAndTrafficking/Types.hs+2275 gogol-dfareporting/gen/Network/Google/DCM/DFAReportingAndTrafficking/Types/Product.hs+15323 gogol-dfareporting/gen/Network/Google/DCM/DFAReportingAndTrafficking/Types/Sum.hs+2032 gogol-dfareporting/gen/Network/Google/DFAReportingAndTrafficking.hs+2285 gogol-dfareporting/gogol-dfareporting.cabal+39 gogol-dfareporting/src/.gitkeep gogol-discovery/LICENSE+373 gogol-discovery/Makefile+1 gogol-discovery/README.md+28 gogol-discovery/Setup.hs+2 gogol-discovery/gen/Network/Google/APIsDiscoveryService.hs+251 gogol-discovery/gen/Network/Google/APIsDiscoveryService/Types.hs+241 gogol-discovery/gen/Network/Google/APIsDiscoveryService/Types/Product.hs+1402 gogol-discovery/gen/Network/Google/APIsDiscoveryService/Types/Sum.hs+15 gogol-discovery/gogol-discovery.cabal+39 gogol-discovery/src/.gitkeep gogol-doubleclick-bids/LICENSE+373 gogol-doubleclick-bids/Makefile+1 gogol-doubleclick-bids/README.md+28 gogol-doubleclick-bids/Setup.hs+2 gogol-doubleclick-bids/gen/Network/Google/DoubleClickBidManager.hs+221 gogol-doubleclick-bids/gen/Network/Google/DoubleClickBidManager/Types.hs+211 gogol-doubleclick-bids/gen/Network/Google/DoubleClickBidManager/Types/Product.hs+970 gogol-doubleclick-bids/gen/Network/Google/DoubleClickBidManager/Types/Sum.hs+1089 gogol-doubleclick-bids/gogol-doubleclick-bids.cabal+39 gogol-doubleclick-bids/src/.gitkeep gogol-doubleclick-search/LICENSE+373 gogol-doubleclick-search/Makefile+1 gogol-doubleclick-search/README.md+28 gogol-doubleclick-search/Setup.hs+2 gogol-doubleclick-search/gen/Network/Google/DoubleClickSearch.hs+209 gogol-doubleclick-search/gen/Network/Google/DoubleClickSearch/Types.hs+199 gogol-doubleclick-search/gen/Network/Google/DoubleClickSearch/Types/Product.hs+1350 gogol-doubleclick-search/gen/Network/Google/DoubleClickSearch/Types/Sum.hs+15 gogol-doubleclick-search/gogol-doubleclick-search.cabal+39 gogol-doubleclick-search/src/.gitkeep gogol-drive/LICENSE+373 gogol-drive/Makefile+1 gogol-drive/README.md+28 gogol-drive/Setup.hs+2 gogol-drive/gen/Network/Google/Drive.hs+523 gogol-drive/gen/Network/Google/Drive/Types.hs+513 gogol-drive/gen/Network/Google/Drive/Types/Product.hs+3664 gogol-drive/gen/Network/Google/Drive/Types/Sum.hs+15 gogol-drive/gogol-drive.cabal+39 gogol-drive/src/.gitkeep gogol-fitness/LICENSE+373 gogol-fitness/Makefile+1 gogol-fitness/README.md+28 gogol-fitness/Setup.hs+2 gogol-fitness/gen/Network/Google/Fitness.hs+201 gogol-fitness/gen/Network/Google/Fitness/Types.hs+191 gogol-fitness/gen/Network/Google/Fitness/Types/Product.hs+1163 gogol-fitness/gen/Network/Google/Fitness/Types/Sum.hs+79 gogol-fitness/gogol-fitness.cabal+39 gogol-fitness/src/.gitkeep gogol-freebasesearch/LICENSE+373 gogol-freebasesearch/Makefile+1 gogol-freebasesearch/README.md+28 gogol-freebasesearch/Setup.hs+2 gogol-freebasesearch/gen/Network/Google/FreebaseSearch.hs+71 gogol-freebasesearch/gen/Network/Google/FreebaseSearch/Types.hs+61 gogol-freebasesearch/gen/Network/Google/FreebaseSearch/Types/Product.hs+236 gogol-freebasesearch/gen/Network/Google/FreebaseSearch/Types/Sum.hs+15 gogol-freebasesearch/gogol-freebasesearch.cabal+39 gogol-freebasesearch/src/.gitkeep gogol-fusiontables/LICENSE+373 gogol-fusiontables/Makefile+1 gogol-fusiontables/README.md+28 gogol-fusiontables/Setup.hs+2 gogol-fusiontables/gen/Network/Google/FusionTables.hs+239 gogol-fusiontables/gen/Network/Google/FusionTables/Types.hs+229 gogol-fusiontables/gen/Network/Google/FusionTables/Types/Product.hs+1459 gogol-fusiontables/gen/Network/Google/FusionTables/Types/Sum.hs+15 gogol-fusiontables/gogol-fusiontables.cabal+39 gogol-fusiontables/src/.gitkeep gogol-games-configuration/LICENSE+373 gogol-games-configuration/Makefile+1 gogol-games-configuration/README.md+28 gogol-games-configuration/Setup.hs+2 gogol-games-configuration/gen/Network/Google/GamesConfiguration.hs+131 gogol-games-configuration/gen/Network/Google/GamesConfiguration/Types.hs+121 gogol-games-configuration/gen/Network/Google/GamesConfiguration/Types/Product.hs+672 gogol-games-configuration/gen/Network/Google/GamesConfiguration/Types/Sum.hs+15 gogol-games-configuration/gogol-games-configuration.cabal+39 gogol-games-configuration/src/.gitkeep gogol-games-management/LICENSE+373 gogol-games-management/Makefile+1 gogol-games-management/README.md+28 gogol-games-management/Setup.hs+2 gogol-games-management/gen/Network/Google/GamesManagement.hs+139 gogol-games-management/gen/Network/Google/GamesManagement/Types.hs+129 gogol-games-management/gen/Network/Google/GamesManagement/Types/Product.hs+694 gogol-games-management/gen/Network/Google/GamesManagement/Types/Sum.hs+15 gogol-games-management/gogol-games-management.cabal+39 gogol-games-management/src/.gitkeep gogol-games/LICENSE+373 gogol-games/Makefile+1 gogol-games/README.md+28 gogol-games/Setup.hs+2 gogol-games/gen/Network/Google/Games.hs+898 gogol-games/gen/Network/Google/Games/Types.hs+888 gogol-games/gen/Network/Google/Games/Types/Product.hs+6304 gogol-games/gen/Network/Google/Games/Types/Sum.hs+15 gogol-games/gogol-games.cabal+39 gogol-games/src/.gitkeep gogol-genomics/LICENSE+373 gogol-genomics/Makefile+1 gogol-genomics/README.md+28 gogol-genomics/Setup.hs+2 gogol-genomics/gen/Network/Google/Genomics.hs+735 gogol-genomics/gen/Network/Google/Genomics/Types.hs+725 gogol-genomics/gen/Network/Google/Genomics/Types/Product.hs+4719 gogol-genomics/gen/Network/Google/Genomics/Types/Sum.hs+274 gogol-genomics/gogol-genomics.cabal+39 gogol-genomics/src/.gitkeep gogol-gmail/LICENSE+373 gogol-gmail/Makefile+1 gogol-gmail/README.md+28 gogol-gmail/Setup.hs+2 gogol-gmail/gen/Network/Google/Gmail.hs+208 gogol-gmail/gen/Network/Google/Gmail/Types.hs+198 gogol-gmail/gen/Network/Google/Gmail/Types/Product.hs+1086 gogol-gmail/gen/Network/Google/Gmail/Types/Sum.hs+66 gogol-gmail/gogol-gmail.cabal+39 gogol-gmail/src/.gitkeep gogol-groups/LICENSE+373 gogol-groups/Makefile+1 gogol-groups/README.md+28 gogol-groups/Setup.hs+2 gogol-groups/gen/Network/Google/GroupsMigration.hs+41 gogol-groups/gen/Network/Google/GroupsMigration/Types.hs+31 gogol-groups/gen/Network/Google/GroupsMigration/Types/Product.hs+49 gogol-groups/gen/Network/Google/GroupsMigration/Types/Sum.hs+15 gogol-groups/gen/Network/Google/GroupsSettings.hs+67 gogol-groups/gen/Network/Google/GroupsSettings/Types.hs+57 gogol-groups/gen/Network/Google/GroupsSettings/Types/Product.hs+315 gogol-groups/gen/Network/Google/GroupsSettings/Types/Sum.hs+15 gogol-groups/gogol-groups.cabal+43 gogol-groups/src/.gitkeep gogol-identity-toolkit/LICENSE+373 gogol-identity-toolkit/Makefile+1 gogol-identity-toolkit/README.md+28 gogol-identity-toolkit/Setup.hs+2 gogol-identity-toolkit/gen/Network/Google/IdentityToolkit.hs+283 gogol-identity-toolkit/gen/Network/Google/IdentityToolkit/Types.hs+273 gogol-identity-toolkit/gen/Network/Google/IdentityToolkit/Types/Product.hs+1815 gogol-identity-toolkit/gen/Network/Google/IdentityToolkit/Types/Sum.hs+15 gogol-identity-toolkit/gogol-identity-toolkit.cabal+39 gogol-identity-toolkit/src/.gitkeep gogol-licensing/LICENSE+373 gogol-licensing/Makefile+1 gogol-licensing/README.md+28 gogol-licensing/Setup.hs+2 gogol-licensing/gen/Network/Google/EnterpriseLicenseManager.hs+58 gogol-licensing/gen/Network/Google/EnterpriseLicenseManager/Types.hs+48 gogol-licensing/gen/Network/Google/EnterpriseLicenseManager/Types/Product.hs+158 gogol-licensing/gen/Network/Google/EnterpriseLicenseManager/Types/Sum.hs+15 gogol-licensing/gogol-licensing.cabal+39 gogol-licensing/src/.gitkeep gogol-maps-coordinate/LICENSE+373 gogol-maps-coordinate/Makefile+1 gogol-maps-coordinate/README.md+28 gogol-maps-coordinate/Setup.hs+2 gogol-maps-coordinate/gen/Network/Google/MapsCoordinate.hs+173 gogol-maps-coordinate/gen/Network/Google/MapsCoordinate/Types.hs+163 gogol-maps-coordinate/gen/Network/Google/MapsCoordinate/Types/Product.hs+889 gogol-maps-coordinate/gen/Network/Google/MapsCoordinate/Types/Sum.hs+15 gogol-maps-coordinate/gogol-maps-coordinate.cabal+39 gogol-maps-coordinate/src/.gitkeep gogol-maps-engine/LICENSE+373 gogol-maps-engine/Makefile+1 gogol-maps-engine/README.md+28 gogol-maps-engine/Setup.hs+2 gogol-maps-engine/gen/Network/Google/MapsEngine.hs+718 gogol-maps-engine/gen/Network/Google/MapsEngine/Types.hs+708 gogol-maps-engine/gen/Network/Google/MapsEngine/Types/Product.hs+3939 gogol-maps-engine/gen/Network/Google/MapsEngine/Types/Sum.hs+416 gogol-maps-engine/gogol-maps-engine.cabal+39 gogol-maps-engine/src/.gitkeep gogol-mirror/LICENSE+373 gogol-mirror/Makefile+1 gogol-mirror/README.md+28 gogol-mirror/Setup.hs+2 gogol-mirror/gen/Network/Google/Mirror.hs+216 gogol-mirror/gen/Network/Google/Mirror/Types.hs+206 gogol-mirror/gen/Network/Google/Mirror/Types/Product.hs+1406 gogol-mirror/gen/Network/Google/Mirror/Types/Sum.hs+15 gogol-mirror/gogol-mirror.cabal+39 gogol-mirror/src/.gitkeep gogol-oauth2/LICENSE+373 gogol-oauth2/Makefile+1 gogol-oauth2/README.md+28 gogol-oauth2/Setup.hs+2 gogol-oauth2/gen/Network/Google/OAuth2.hs+78 gogol-oauth2/gen/Network/Google/OAuth2/Types.hs+68 gogol-oauth2/gen/Network/Google/OAuth2/Types/Product.hs+298 gogol-oauth2/gen/Network/Google/OAuth2/Types/Sum.hs+15 gogol-oauth2/gogol-oauth2.cabal+39 gogol-oauth2/src/.gitkeep gogol-pagespeed/LICENSE+373 gogol-pagespeed/Makefile+1 gogol-pagespeed/README.md+28 gogol-pagespeed/Setup.hs+2 gogol-pagespeed/gen/Network/Google/PageSpeedInsights.hs+135 gogol-pagespeed/gen/Network/Google/PageSpeedInsights/Types.hs+125 gogol-pagespeed/gen/Network/Google/PageSpeedInsights/Types/Product.hs+699 gogol-pagespeed/gen/Network/Google/PageSpeedInsights/Types/Sum.hs+15 gogol-pagespeed/gogol-pagespeed.cabal+39 gogol-pagespeed/src/.gitkeep gogol-partners/LICENSE+373 gogol-partners/Makefile+1 gogol-partners/README.md+28 gogol-partners/Setup.hs+2 gogol-partners/gen/Network/Google/Partners.hs+230 gogol-partners/gen/Network/Google/Partners/Types.hs+220 gogol-partners/gen/Network/Google/Partners/Types/Product.hs+1294 gogol-partners/gen/Network/Google/Partners/Types/Sum.hs+15 gogol-partners/gogol-partners.cabal+39 gogol-partners/src/.gitkeep gogol-play-moviespartner/LICENSE+373 gogol-play-moviespartner/Makefile+1 gogol-play-moviespartner/README.md+28 gogol-play-moviespartner/Setup.hs+2 gogol-play-moviespartner/gen/Network/Google/PlayMoviesPartner.hs+178 gogol-play-moviespartner/gen/Network/Google/PlayMoviesPartner/Types.hs+168 gogol-play-moviespartner/gen/Network/Google/PlayMoviesPartner/Types/Product.hs+1277 gogol-play-moviespartner/gen/Network/Google/PlayMoviesPartner/Types/Sum.hs+15 gogol-play-moviespartner/gogol-play-moviespartner.cabal+39 gogol-play-moviespartner/src/.gitkeep gogol-plus-domains/LICENSE+373 gogol-plus-domains/Makefile+1 gogol-plus-domains/README.md+28 gogol-plus-domains/Setup.hs+2 gogol-plus-domains/gen/Network/Google/Google+Domains.hs+524 gogol-plus-domains/gen/Network/Google/Google+Domains/Types.hs+514 gogol-plus-domains/gen/Network/Google/Google+Domains/Types/Product.hs+3316 gogol-plus-domains/gen/Network/Google/Google+Domains/Types/Sum.hs+15 gogol-plus-domains/gogol-plus-domains.cabal+39 gogol-plus-domains/src/.gitkeep gogol-plus/LICENSE+373 gogol-plus/Makefile+1 gogol-plus/README.md+28 gogol-plus/Setup.hs+2 gogol-plus/gen/Network/Google/Google+.hs+503 gogol-plus/gen/Network/Google/Google+/Types.hs+493 gogol-plus/gen/Network/Google/Google+/Types/Product.hs+3340 gogol-plus/gen/Network/Google/Google+/Types/Sum.hs+15 gogol-plus/gogol-plus.cabal+39 gogol-plus/src/.gitkeep gogol-prediction/LICENSE+373 gogol-prediction/Makefile+1 gogol-prediction/README.md+28 gogol-prediction/Setup.hs+2 gogol-prediction/gen/Network/Google/Prediction.hs+208 gogol-prediction/gen/Network/Google/Prediction/Types.hs+198 gogol-prediction/gen/Network/Google/Prediction/Types/Product.hs+1085 gogol-prediction/gen/Network/Google/Prediction/Types/Sum.hs+15 gogol-prediction/gogol-prediction.cabal+39 gogol-prediction/src/.gitkeep gogol-proximitybeacon/LICENSE+373 gogol-proximitybeacon/Makefile+1 gogol-proximitybeacon/README.md+28 gogol-proximitybeacon/Setup.hs+2 gogol-proximitybeacon/gen/Network/Google/ProximityBeacon.hs+160 gogol-proximitybeacon/gen/Network/Google/ProximityBeacon/Types.hs+150 gogol-proximitybeacon/gen/Network/Google/ProximityBeacon/Types/Product.hs+841 gogol-proximitybeacon/gen/Network/Google/ProximityBeacon/Types/Sum.hs+15 gogol-proximitybeacon/gogol-proximitybeacon.cabal+39 gogol-proximitybeacon/src/.gitkeep gogol-qpxexpress/LICENSE+373 gogol-qpxexpress/Makefile+1 gogol-qpxexpress/README.md+28 gogol-qpxexpress/Setup.hs+2 gogol-qpxexpress/gen/Network/Google/QPXExpress.hs+266 gogol-qpxexpress/gen/Network/Google/QPXExpress/Types.hs+256 gogol-qpxexpress/gen/Network/Google/QPXExpress/Types/Product.hs+1729 gogol-qpxexpress/gen/Network/Google/QPXExpress/Types/Sum.hs+15 gogol-qpxexpress/gogol-qpxexpress.cabal+39 gogol-qpxexpress/src/.gitkeep gogol-replicapool-updater/LICENSE+373 gogol-replicapool-updater/Makefile+1 gogol-replicapool-updater/README.md+28 gogol-replicapool-updater/Setup.hs+2 gogol-replicapool-updater/gen/Network/Google/ComputeEngineInstanceGroupUpdater.hs+171 gogol-replicapool-updater/gen/Network/Google/ComputeEngineInstanceGroupUpdater/Types.hs+161 gogol-replicapool-updater/gen/Network/Google/ComputeEngineInstanceGroupUpdater/Types/Product.hs+986 gogol-replicapool-updater/gen/Network/Google/ComputeEngineInstanceGroupUpdater/Types/Sum.hs+15 gogol-replicapool-updater/gogol-replicapool-updater.cabal+39 gogol-replicapool-updater/src/.gitkeep gogol-replicapool/LICENSE+373 gogol-replicapool/Makefile+1 gogol-replicapool/README.md+28 gogol-replicapool/Setup.hs+2 gogol-replicapool/gen/Network/Google/ComputeEngineInstanceGroupManager.hs+163 gogol-replicapool/gen/Network/Google/ComputeEngineInstanceGroupManager/Types.hs+153 gogol-replicapool/gen/Network/Google/ComputeEngineInstanceGroupManager/Types/Product.hs+861 gogol-replicapool/gen/Network/Google/ComputeEngineInstanceGroupManager/Types/Sum.hs+73 gogol-replicapool/gogol-replicapool.cabal+39 gogol-replicapool/src/.gitkeep gogol-reseller/LICENSE+373 gogol-reseller/Makefile+1 gogol-reseller/README.md+28 gogol-reseller/Setup.hs+2 gogol-reseller/gen/Network/Google/EnterpriseAppsReseller.hs+133 gogol-reseller/gen/Network/Google/EnterpriseAppsReseller/Types.hs+123 gogol-reseller/gen/Network/Google/EnterpriseAppsReseller/Types/Product.hs+696 gogol-reseller/gen/Network/Google/EnterpriseAppsReseller/Types/Sum.hs+15 gogol-reseller/gogol-reseller.cabal+39 gogol-reseller/src/.gitkeep gogol-resourceviews/LICENSE+373 gogol-resourceviews/Makefile+1 gogol-resourceviews/README.md+28 gogol-resourceviews/Setup.hs+2 gogol-resourceviews/gen/Network/Google/ComputeEngineInstanceGroups.hs+171 gogol-resourceviews/gen/Network/Google/ComputeEngineInstanceGroups/Types.hs+161 gogol-resourceviews/gen/Network/Google/ComputeEngineInstanceGroups/Types/Product.hs+923 gogol-resourceviews/gen/Network/Google/ComputeEngineInstanceGroups/Types/Sum.hs+15 gogol-resourceviews/gogol-resourceviews.cabal+39 gogol-resourceviews/src/.gitkeep gogol-siteverification/LICENSE+373 gogol-siteverification/Makefile+1 gogol-siteverification/README.md+28 gogol-siteverification/Setup.hs+2 gogol-siteverification/gen/Network/Google/SiteVerification.hs+71 gogol-siteverification/gen/Network/Google/SiteVerification/Types.hs+61 gogol-siteverification/gen/Network/Google/SiteVerification/Types/Product.hs+230 gogol-siteverification/gen/Network/Google/SiteVerification/Types/Sum.hs+15 gogol-siteverification/gogol-siteverification.cabal+39 gogol-siteverification/src/.gitkeep gogol-spectrum/LICENSE+373 gogol-spectrum/Makefile+1 gogol-spectrum/README.md+28 gogol-spectrum/Setup.hs+2 gogol-spectrum/gen/Network/Google/SpectrumDatabase.hs+303 gogol-spectrum/gen/Network/Google/SpectrumDatabase/Types.hs+293 gogol-spectrum/gen/Network/Google/SpectrumDatabase/Types/Product.hs+2147 gogol-spectrum/gen/Network/Google/SpectrumDatabase/Types/Sum.hs+15 gogol-spectrum/gogol-spectrum.cabal+39 gogol-spectrum/src/.gitkeep gogol-storage-transfer/LICENSE+373 gogol-storage-transfer/Makefile+1 gogol-storage-transfer/README.md+28 gogol-storage-transfer/Setup.hs+2 gogol-storage-transfer/gen/Network/Google/StorageTransfer.hs+227 gogol-storage-transfer/gen/Network/Google/StorageTransfer/Types.hs+217 gogol-storage-transfer/gen/Network/Google/StorageTransfer/Types/Product.hs+1398 gogol-storage-transfer/gen/Network/Google/StorageTransfer/Types/Sum.hs+15 gogol-storage-transfer/gogol-storage-transfer.cabal+39 gogol-storage-transfer/src/.gitkeep gogol-storage/LICENSE+373 gogol-storage/Makefile+1 gogol-storage/README.md+28 gogol-storage/Setup.hs+2 gogol-storage/gen/Network/Google/CloudStorage.hs+243 gogol-storage/gen/Network/Google/CloudStorage/Types.hs+233 gogol-storage/gen/Network/Google/CloudStorage/Types/Product.hs+1447 gogol-storage/gen/Network/Google/CloudStorage/Types/Sum.hs+15 gogol-storage/gogol-storage.cabal+39 gogol-storage/src/.gitkeep gogol-tagmanager/LICENSE+373 gogol-tagmanager/Makefile+1 gogol-tagmanager/README.md+28 gogol-tagmanager/Setup.hs+2 gogol-tagmanager/gen/Network/Google/TagManager.hs+339 gogol-tagmanager/gen/Network/Google/TagManager/Types.hs+329 gogol-tagmanager/gen/Network/Google/TagManager/Types/Product.hs+2076 gogol-tagmanager/gen/Network/Google/TagManager/Types/Sum.hs+239 gogol-tagmanager/gogol-tagmanager.cabal+39 gogol-tagmanager/src/.gitkeep gogol-taskqueue/LICENSE+373 gogol-taskqueue/Makefile+1 gogol-taskqueue/README.md+28 gogol-taskqueue/Setup.hs+2 gogol-taskqueue/gen/Network/Google/TaskQueue.hs+83 gogol-taskqueue/gen/Network/Google/TaskQueue/Types.hs+73 gogol-taskqueue/gen/Network/Google/TaskQueue/Types/Product.hs+336 gogol-taskqueue/gen/Network/Google/TaskQueue/Types/Sum.hs+15 gogol-taskqueue/gogol-taskqueue.cabal+39 gogol-taskqueue/src/.gitkeep gogol-tasks/LICENSE+373 gogol-tasks/Makefile+1 gogol-tasks/README.md+28 gogol-tasks/Setup.hs+2 gogol-tasks/gen/Network/Google/Tasks.hs+87 gogol-tasks/gen/Network/Google/Tasks/Types.hs+77 gogol-tasks/gen/Network/Google/Tasks/Types/Product.hs+376 gogol-tasks/gen/Network/Google/Tasks/Types/Sum.hs+15 gogol-tasks/gogol-tasks.cabal+39 gogol-tasks/src/.gitkeep gogol-translate/LICENSE+373 gogol-translate/Makefile+1 gogol-translate/README.md+28 gogol-translate/Setup.hs+2 gogol-translate/gen/Network/Google/Translate.hs+69 gogol-translate/gen/Network/Google/Translate/Types.hs+59 gogol-translate/gen/Network/Google/Translate/Types/Product.hs+205 gogol-translate/gen/Network/Google/Translate/Types/Sum.hs+15 gogol-translate/gogol-translate.cabal+39 gogol-translate/src/.gitkeep gogol-urlshortener/LICENSE+373 gogol-urlshortener/Makefile+1 gogol-urlshortener/README.md+28 gogol-urlshortener/Setup.hs+2 gogol-urlshortener/gen/Network/Google/URLShortener.hs+79 gogol-urlshortener/gen/Network/Google/URLShortener/Types.hs+69 gogol-urlshortener/gen/Network/Google/URLShortener/Types/Product.hs+321 gogol-urlshortener/gen/Network/Google/URLShortener/Types/Sum.hs+15 gogol-urlshortener/gogol-urlshortener.cabal+39 gogol-urlshortener/src/.gitkeep gogol-webfonts/LICENSE+373 gogol-webfonts/Makefile+1 gogol-webfonts/README.md+28 gogol-webfonts/Setup.hs+2 gogol-webfonts/gen/Network/Google/FontsDeveloper.hs+57 gogol-webfonts/gen/Network/Google/FontsDeveloper/Types.hs+47 gogol-webfonts/gen/Network/Google/FontsDeveloper/Types/Product.hs+151 gogol-webfonts/gen/Network/Google/FontsDeveloper/Types/Sum.hs+15 gogol-webfonts/gogol-webfonts.cabal+39 gogol-webfonts/src/.gitkeep gogol-webmaster-tools/LICENSE+373 gogol-webmaster-tools/Makefile+1 gogol-webmaster-tools/README.md+28 gogol-webmaster-tools/Setup.hs+2 gogol-webmaster-tools/gen/Network/Google/WebmasterTools.hs+148 gogol-webmaster-tools/gen/Network/Google/WebmasterTools/Types.hs+138 gogol-webmaster-tools/gen/Network/Google/WebmasterTools/Types/Product.hs+765 gogol-webmaster-tools/gen/Network/Google/WebmasterTools/Types/Sum.hs+15 gogol-webmaster-tools/gogol-webmaster-tools.cabal+39 gogol-webmaster-tools/src/.gitkeep gogol-youtube-analytics/LICENSE+373 gogol-youtube-analytics/Makefile+1 gogol-youtube-analytics/README.md+28 gogol-youtube-analytics/Setup.hs+2 gogol-youtube-analytics/gen/Network/Google/YouTubeAnalytics.hs+143 gogol-youtube-analytics/gen/Network/Google/YouTubeAnalytics/Types.hs+133 gogol-youtube-analytics/gen/Network/Google/YouTubeAnalytics/Types/Product.hs+678 gogol-youtube-analytics/gen/Network/Google/YouTubeAnalytics/Types/Sum.hs+15 gogol-youtube-analytics/gogol-youtube-analytics.cabal+39 gogol-youtube-analytics/src/.gitkeep gogol-youtube/LICENSE+373 gogol-youtube/Makefile+1 gogol-youtube/README.md+28 gogol-youtube/Setup.hs+2 gogol-youtube/gen/Network/Google/YouTube.hs+1786 gogol-youtube/gen/Network/Google/YouTube/Types.hs+1776 gogol-youtube/gen/Network/Google/YouTube/Types/Product.hs+10238 gogol-youtube/gen/Network/Google/YouTube/Types/Sum.hs+2132 gogol-youtube/gogol-youtube.cabal+39 gogol-youtube/src/.gitkeep
.gitignore−3
@@ -35,6 +35,3 @@ tags
3535
3636# Certificates
3737*.pem
38−
39−# Temporary
40−/gogol-*
gogol-adexchange-buyer/LICENSEnew file+373
@@ -0,0 +1,373 @@
1+Mozilla Public License Version 2.0
2+==================================
3+
4+1. Definitions
5+--------------
6+
7+1.1. "Contributor"
8+ means each individual or legal entity that creates, contributes to
9+ the creation of, or owns Covered Software.
10+
11+1.2. "Contributor Version"
12+ means the combination of the Contributions of others (if any) used
13+ by a Contributor and that particular Contributor's Contribution.
14+
15+1.3. "Contribution"
16+ means Covered Software of a particular Contributor.
17+
18+1.4. "Covered Software"
19+ means Source Code Form to which the initial Contributor has attached
20+ the notice in Exhibit A, the Executable Form of such Source Code
21+ Form, and Modifications of such Source Code Form, in each case
22+ including portions thereof.
23+
24+1.5. "Incompatible With Secondary Licenses"
25+ means
26+
27+ (a) that the initial Contributor has attached the notice described
28+ in Exhibit B to the Covered Software; or
29+
30+ (b) that the Covered Software was made available under the terms of
31+ version 1.1 or earlier of the License, but not also under the
32+ terms of a Secondary License.
33+
34+1.6. "Executable Form"
35+ means any form of the work other than Source Code Form.
36+
37+1.7. "Larger Work"
38+ means a work that combines Covered Software with other material, in
39+ a separate file or files, that is not Covered Software.
40+
41+1.8. "License"
42+ means this document.
43+
44+1.9. "Licensable"
45+ means having the right to grant, to the maximum extent possible,
46+ whether at the time of the initial grant or subsequently, any and
47+ all of the rights conveyed by this License.
48+
49+1.10. "Modifications"
50+ means any of the following:
51+
52+ (a) any file in Source Code Form that results from an addition to,
53+ deletion from, or modification of the contents of Covered
54+ Software; or
55+
56+ (b) any new file in Source Code Form that contains any Covered
57+ Software.
58+
59+1.11. "Patent Claims" of a Contributor
60+ means any patent claim(s), including without limitation, method,
61+ process, and apparatus claims, in any patent Licensable by such
62+ Contributor that would be infringed, but for the grant of the
63+ License, by the making, using, selling, offering for sale, having
64+ made, import, or transfer of either its Contributions or its
65+ Contributor Version.
66+
67+1.12. "Secondary License"
68+ means either the GNU General Public License, Version 2.0, the GNU
69+ Lesser General Public License, Version 2.1, the GNU Affero General
70+ Public License, Version 3.0, or any later versions of those
71+ licenses.
72+
73+1.13. "Source Code Form"
74+ means the form of the work preferred for making modifications.
75+
76+1.14. "You" (or "Your")
77+ means an individual or a legal entity exercising rights under this
78+ License. For legal entities, "You" includes any entity that
79+ controls, is controlled by, or is under common control with You. For
80+ purposes of this definition, "control" means (a) the power, direct
81+ or indirect, to cause the direction or management of such entity,
82+ whether by contract or otherwise, or (b) ownership of more than
83+ fifty percent (50%) of the outstanding shares or beneficial
84+ ownership of such entity.
85+
86+2. License Grants and Conditions
87+--------------------------------
88+
89+2.1. Grants
90+
91+Each Contributor hereby grants You a world-wide, royalty-free,
92+non-exclusive license:
93+
94+(a) under intellectual property rights (other than patent or trademark)
95+ Licensable by such Contributor to use, reproduce, make available,
96+ modify, display, perform, distribute, and otherwise exploit its
97+ Contributions, either on an unmodified basis, with Modifications, or
98+ as part of a Larger Work; and
99+
100+(b) under Patent Claims of such Contributor to make, use, sell, offer
101+ for sale, have made, import, and otherwise transfer either its
102+ Contributions or its Contributor Version.
103+
104+2.2. Effective Date
105+
106+The licenses granted in Section 2.1 with respect to any Contribution
107+become effective for each Contribution on the date the Contributor first
108+distributes such Contribution.
109+
110+2.3. Limitations on Grant Scope
111+
112+The licenses granted in this Section 2 are the only rights granted under
113+this License. No additional rights or licenses will be implied from the
114+distribution or licensing of Covered Software under this License.
115+Notwithstanding Section 2.1(b) above, no patent license is granted by a
116+Contributor:
117+
118+(a) for any code that a Contributor has removed from Covered Software;
119+ or
120+
121+(b) for infringements caused by: (i) Your and any other third party's
122+ modifications of Covered Software, or (ii) the combination of its
123+ Contributions with other software (except as part of its Contributor
124+ Version); or
125+
126+(c) under Patent Claims infringed by Covered Software in the absence of
127+ its Contributions.
128+
129+This License does not grant any rights in the trademarks, service marks,
130+or logos of any Contributor (except as may be necessary to comply with
131+the notice requirements in Section 3.4).
132+
133+2.4. Subsequent Licenses
134+
135+No Contributor makes additional grants as a result of Your choice to
136+distribute the Covered Software under a subsequent version of this
137+License (see Section 10.2) or under the terms of a Secondary License (if
138+permitted under the terms of Section 3.3).
139+
140+2.5. Representation
141+
142+Each Contributor represents that the Contributor believes its
143+Contributions are its original creation(s) or it has sufficient rights
144+to grant the rights to its Contributions conveyed by this License.
145+
146+2.6. Fair Use
147+
148+This License is not intended to limit any rights You have under
149+applicable copyright doctrines of fair use, fair dealing, or other
150+equivalents.
151+
152+2.7. Conditions
153+
154+Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
155+in Section 2.1.
156+
157+3. Responsibilities
158+-------------------
159+
160+3.1. Distribution of Source Form
161+
162+All distribution of Covered Software in Source Code Form, including any
163+Modifications that You create or to which You contribute, must be under
164+the terms of this License. You must inform recipients that the Source
165+Code Form of the Covered Software is governed by the terms of this
166+License, and how they can obtain a copy of this License. You may not
167+attempt to alter or restrict the recipients' rights in the Source Code
168+Form.
169+
170+3.2. Distribution of Executable Form
171+
172+If You distribute Covered Software in Executable Form then:
173+
174+(a) such Covered Software must also be made available in Source Code
175+ Form, as described in Section 3.1, and You must inform recipients of
176+ the Executable Form how they can obtain a copy of such Source Code
177+ Form by reasonable means in a timely manner, at a charge no more
178+ than the cost of distribution to the recipient; and
179+
180+(b) You may distribute such Executable Form under the terms of this
181+ License, or sublicense it under different terms, provided that the
182+ license for the Executable Form does not attempt to limit or alter
183+ the recipients' rights in the Source Code Form under this License.
184+
185+3.3. Distribution of a Larger Work
186+
187+You may create and distribute a Larger Work under terms of Your choice,
188+provided that You also comply with the requirements of this License for
189+the Covered Software. If the Larger Work is a combination of Covered
190+Software with a work governed by one or more Secondary Licenses, and the
191+Covered Software is not Incompatible With Secondary Licenses, this
192+License permits You to additionally distribute such Covered Software
193+under the terms of such Secondary License(s), so that the recipient of
194+the Larger Work may, at their option, further distribute the Covered
195+Software under the terms of either this License or such Secondary
196+License(s).
197+
198+3.4. Notices
199+
200+You may not remove or alter the substance of any license notices
201+(including copyright notices, patent notices, disclaimers of warranty,
202+or limitations of liability) contained within the Source Code Form of
203+the Covered Software, except that You may alter any license notices to
204+the extent required to remedy known factual inaccuracies.
205+
206+3.5. Application of Additional Terms
207+
208+You may choose to offer, and to charge a fee for, warranty, support,
209+indemnity or liability obligations to one or more recipients of Covered
210+Software. However, You may do so only on Your own behalf, and not on
211+behalf of any Contributor. You must make it absolutely clear that any
212+such warranty, support, indemnity, or liability obligation is offered by
213+You alone, and You hereby agree to indemnify every Contributor for any
214+liability incurred by such Contributor as a result of warranty, support,
215+indemnity or liability terms You offer. You may include additional
216+disclaimers of warranty and limitations of liability specific to any
217+jurisdiction.
218+
219+4. Inability to Comply Due to Statute or Regulation
220+---------------------------------------------------
221+
222+If it is impossible for You to comply with any of the terms of this
223+License with respect to some or all of the Covered Software due to
224+statute, judicial order, or regulation then You must: (a) comply with
225+the terms of this License to the maximum extent possible; and (b)
226+describe the limitations and the code they affect. Such description must
227+be placed in a text file included with all distributions of the Covered
228+Software under this License. Except to the extent prohibited by statute
229+or regulation, such description must be sufficiently detailed for a
230+recipient of ordinary skill to be able to understand it.
231+
232+5. Termination
233+--------------
234+
235+5.1. The rights granted under this License will terminate automatically
236+if You fail to comply with any of its terms. However, if You become
237+compliant, then the rights granted under this License from a particular
238+Contributor are reinstated (a) provisionally, unless and until such
239+Contributor explicitly and finally terminates Your grants, and (b) on an
240+ongoing basis, if such Contributor fails to notify You of the
241+non-compliance by some reasonable means prior to 60 days after You have
242+come back into compliance. Moreover, Your grants from a particular
243+Contributor are reinstated on an ongoing basis if such Contributor
244+notifies You of the non-compliance by some reasonable means, this is the
245+first time You have received notice of non-compliance with this License
246+from such Contributor, and You become compliant prior to 30 days after
247+Your receipt of the notice.
248+
249+5.2. If You initiate litigation against any entity by asserting a patent
250+infringement claim (excluding declaratory judgment actions,
251+counter-claims, and cross-claims) alleging that a Contributor Version
252+directly or indirectly infringes any patent, then the rights granted to
253+You by any and all Contributors for the Covered Software under Section
254+2.1 of this License shall terminate.
255+
256+5.3. In the event of termination under Sections 5.1 or 5.2 above, all
257+end user license agreements (excluding distributors and resellers) which
258+have been validly granted by You or Your distributors under this License
259+prior to termination shall survive termination.
260+
261+************************************************************************
262+* *
263+* 6. Disclaimer of Warranty *
264+* ------------------------- *
265+* *
266+* Covered Software is provided under this License on an "as is" *
267+* basis, without warranty of any kind, either expressed, implied, or *
268+* statutory, including, without limitation, warranties that the *
269+* Covered Software is free of defects, merchantable, fit for a *
270+* particular purpose or non-infringing. The entire risk as to the *
271+* quality and performance of the Covered Software is with You. *
272+* Should any Covered Software prove defective in any respect, You *
273+* (not any Contributor) assume the cost of any necessary servicing, *
274+* repair, or correction. This disclaimer of warranty constitutes an *
275+* essential part of this License. No use of any Covered Software is *
276+* authorized under this License except under this disclaimer. *
277+* *
278+************************************************************************
279+
280+************************************************************************
281+* *
282+* 7. Limitation of Liability *
283+* -------------------------- *
284+* *
285+* Under no circumstances and under no legal theory, whether tort *
286+* (including negligence), contract, or otherwise, shall any *
287+* Contributor, or anyone who distributes Covered Software as *
288+* permitted above, be liable to You for any direct, indirect, *
289+* special, incidental, or consequential damages of any character *
290+* including, without limitation, damages for lost profits, loss of *
291+* goodwill, work stoppage, computer failure or malfunction, or any *
292+* and all other commercial damages or losses, even if such party *
293+* shall have been informed of the possibility of such damages. This *
294+* limitation of liability shall not apply to liability for death or *
295+* personal injury resulting from such party's negligence to the *
296+* extent applicable law prohibits such limitation. Some *
297+* jurisdictions do not allow the exclusion or limitation of *
298+* incidental or consequential damages, so this exclusion and *
299+* limitation may not apply to You. *
300+* *
301+************************************************************************
302+
303+8. Litigation
304+-------------
305+
306+Any litigation relating to this License may be brought only in the
307+courts of a jurisdiction where the defendant maintains its principal
308+place of business and such litigation shall be governed by laws of that
309+jurisdiction, without reference to its conflict-of-law provisions.
310+Nothing in this Section shall prevent a party's ability to bring
311+cross-claims or counter-claims.
312+
313+9. Miscellaneous
314+----------------
315+
316+This License represents the complete agreement concerning the subject
317+matter hereof. If any provision of this License is held to be
318+unenforceable, such provision shall be reformed only to the extent
319+necessary to make it enforceable. Any law or regulation which provides
320+that the language of a contract shall be construed against the drafter
321+shall not be used to construe this License against a Contributor.
322+
323+10. Versions of the License
324+---------------------------
325+
326+10.1. New Versions
327+
328+Mozilla Foundation is the license steward. Except as provided in Section
329+10.3, no one other than the license steward has the right to modify or
330+publish new versions of this License. Each version will be given a
331+distinguishing version number.
332+
333+10.2. Effect of New Versions
334+
335+You may distribute the Covered Software under the terms of the version
336+of the License under which You originally received the Covered Software,
337+or under the terms of any subsequent version published by the license
338+steward.
339+
340+10.3. Modified Versions
341+
342+If you create software not governed by this License, and you want to
343+create a new license for such software, you may create and use a
344+modified version of this License if you rename the license and remove
345+any references to the name of the license steward (except to note that
346+such modified license differs from this License).
347+
348+10.4. Distributing Source Code Form that is Incompatible With Secondary
349+Licenses
350+
351+If You choose to distribute Source Code Form that is Incompatible With
352+Secondary Licenses under the terms of this version of the License, the
353+notice described in Exhibit B of this License must be attached.
354+
355+Exhibit A - Source Code Form License Notice
356+-------------------------------------------
357+
358+ This Source Code Form is subject to the terms of the Mozilla Public
359+ License, v. 2.0. If a copy of the MPL was not distributed with this
360+ file, You can obtain one at http://mozilla.org/MPL/2.0/.
361+
362+If it is not possible or desirable to put the notice in a particular
363+file, then You may include the notice in a location (such as a LICENSE
364+file in a relevant directory) where a recipient would be likely to look
365+for such a notice.
366+
367+You may add additional accurate notices of copyright ownership.
368+
369+Exhibit B - "Incompatible With Secondary Licenses" Notice
370+---------------------------------------------------------
371+
372+ This Source Code Form is "Incompatible With Secondary Licenses", as
373+ defined by the Mozilla Public License, v. 2.0.
gogol-adexchange-buyer/Makefilenew file+1
@@ -0,0 +1 @@
1+include ../share/library.mk
gogol-adexchange-buyer/README.mdnew file+28
@@ -0,0 +1,28 @@
1+# gogol-adexchange-buyer
2+
3+* [Version](#version)
4+* [Description](#description)
5+* [Contribute](#contribute)
6+* [Licence](#licence)
7+
8+
9+## Version
10+
11+`0.0.1`
12+
13+
14+## Description
15+
16+A client library for the Google Ad Exchange Buyer API.
17+
18+
19+## Contribute
20+
21+For any problems, comments, or feedback please create an issue [here on GitHub](https://github.com/brendanhay/amazonka/issues).
22+
23+> _Note:_ this library is an auto-generated Haskell package. Please see `amazonka-gen` for more information.
24+
25+
26+## Licence
27+
28+`gogol-adexchange-buyer` is released under the [Mozilla Public License Version 2.0](http://www.mozilla.org/MPL/).
gogol-adexchange-buyer/Setup.hsnew file+2
@@ -0,0 +1,2 @@
1+import Distribution.Simple
2+main = defaultMain
gogol-adexchange-buyer/gen/Network/Google/AdExchangeBuyer.hsnew file+852
@@ -0,0 +1,852 @@
1+-- |
2+-- Module : Network.Google.AdExchangeBuyer
3+-- Copyright : (c) 2015 Brendan Hay
4+-- License : Mozilla Public License, v. 2.0.
5+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
6+-- Stability : auto-generated
7+-- Portability : non-portable (GHC extensions)
8+--
9+-- Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.
10+--
11+-- /See:/ <https://developers.google.com/ad-exchange/buyer-rest Ad Exchange Buyer API Reference>
12+module Network.Google.AdExchangeBuyer
13+ (
14+ -- * API Definition
15+ AdExchangeBuyer
16+
17+
18+
19+ -- * Types
20+
21+ -- ** Account
22+ , Account
23+ , account
24+ , aMaximumTotalQps
25+ , aKind
26+ , aCookieMatchingUrl
27+ , aMaximumActiveCreatives
28+ , aCookieMatchingNid
29+ , aNumberActiveCreatives
30+ , aId
31+ , aBidderLocation
32+
33+ -- ** AccountItemBidderLocation
34+ , AccountItemBidderLocation
35+ , accountItemBidderLocation
36+ , aiblUrl
37+ , aiblMaximumQps
38+ , aiblRegion
39+
40+ -- ** AccountsList
41+ , AccountsList
42+ , accountsList
43+ , alKind
44+ , alItems
45+
46+ -- ** AdSize
47+ , AdSize
48+ , adSize
49+ , asHeight
50+ , asWidth
51+
52+ -- ** AdSlotDto
53+ , AdSlotDto
54+ , adSlotDto
55+ , asdWebPropertyId
56+ , asdSize
57+ , asdChannelCode
58+ , asdChannelId
59+ , asdName
60+ , asdDescription
61+
62+ -- ** AddOrderDealsRequest
63+ , AddOrderDealsRequest
64+ , addOrderDealsRequest
65+ , aodrUpdateAction
66+ , aodrDeals
67+ , aodrOrderRevisionNumber
68+
69+ -- ** AddOrderDealsResponse
70+ , AddOrderDealsResponse
71+ , addOrderDealsResponse
72+ , aDeals
73+ , aOrderRevisionNumber
74+
75+ -- ** AddOrderNotesRequest
76+ , AddOrderNotesRequest
77+ , addOrderNotesRequest
78+ , aNotes
79+
80+ -- ** AddOrderNotesResponse
81+ , AddOrderNotesResponse
82+ , addOrderNotesResponse
83+ , aonrNotes
84+
85+ -- ** AdvertiserDto
86+ , AdvertiserDto
87+ , advertiserDto
88+ , adStatus
89+ , adBrands
90+ , adName
91+ , adId
92+
93+ -- ** AudienceSegment
94+ , AudienceSegment
95+ , audienceSegment
96+ , asNumCookies
97+ , asName
98+ , asId
99+ , asDescription
100+
101+ -- ** BillingInfo
102+ , BillingInfo
103+ , billingInfo
104+ , biKind
105+ , biAccountName
106+ , biAccountId
107+ , biBillingId
108+
109+ -- ** BillingInfoList
110+ , BillingInfoList
111+ , billingInfoList
112+ , bilKind
113+ , bilItems
114+
115+ -- ** BrandDto
116+ , BrandDto
117+ , brandDto
118+ , bAdvertiserId
119+ , bName
120+ , bId
121+
122+ -- ** Budget
123+ , Budget
124+ , budget
125+ , budCurrencyCode
126+ , budKind
127+ , budBudgetAmount
128+ , budAccountId
129+ , budId
130+ , budBillingId
131+
132+ -- ** Buyer
133+ , Buyer
134+ , buyer
135+ , bAccountId
136+
137+ -- ** BuyerDto
138+ , BuyerDto
139+ , buyerDto
140+ , bdSponsorAccountId
141+ , bdEnabledForInterestTargetingDeals
142+ , bdCustomerId
143+ , bdEnabledForPreferredDeals
144+ , bdAccountId
145+ , bdDisplayName
146+ , bdId
147+
148+ -- ** ClientAccessCapabilities
149+ , ClientAccessCapabilities
150+ , clientAccessCapabilities
151+ , cacClientAccountId
152+ , cacCapabilities
153+
154+ -- ** ContactInformation
155+ , ContactInformation
156+ , contactInformation
157+ , ciEmail
158+ , ciName
159+
160+ -- ** CreateOrdersRequest
161+ , CreateOrdersRequest
162+ , createOrdersRequest
163+ , cWebPropertyCode
164+ , cOrders
165+
166+ -- ** CreateOrdersResponse
167+ , CreateOrdersResponse
168+ , createOrdersResponse
169+ , corOrders
170+
171+ -- ** Creative
172+ , Creative
173+ , creative
174+ , cAttribute
175+ , cNativeAd
176+ , cHeight
177+ , cBuyerCreativeId
178+ , cAdvertiserName
179+ , cAgencyId
180+ , cCorrections
181+ , cProductCategories
182+ , cKind
183+ , cHTMLSnippet
184+ , cAdvertiserId
185+ , cRestrictedCategories
186+ , cDealsStatus
187+ , cWidth
188+ , cClickThroughUrl
189+ , cVendorType
190+ , cAccountId
191+ , cImpressionTrackingUrl
192+ , cFilteringReasons
193+ , cVersion
194+ , cSensitiveCategories
195+ , cVideoURL
196+ , cApiUploadTimestamp
197+ , cServingRestrictions
198+ , cOpenAuctionStatus
199+
200+ -- ** CreativeAppIconNativeAd
201+ , CreativeAppIconNativeAd
202+ , creativeAppIconNativeAd
203+ , cainaHeight
204+ , cainaUrl
205+ , cainaWidth
206+
207+ -- ** CreativeFilteringReasons
208+ , CreativeFilteringReasons
209+ , creativeFilteringReasons
210+ , cfrReasons
211+ , cfrDate
212+
213+ -- ** CreativeImageNativeAd
214+ , CreativeImageNativeAd
215+ , creativeImageNativeAd
216+ , cinaHeight
217+ , cinaUrl
218+ , cinaWidth
219+
220+ -- ** CreativeItemContextsItemServingRestrictions
221+ , CreativeItemContextsItemServingRestrictions
222+ , creativeItemContextsItemServingRestrictions
223+ , cicisrPlatform
224+ , cicisrContextType
225+ , cicisrAuctionType
226+ , cicisrGeoCriteriaId
227+
228+ -- ** CreativeItemCorrections
229+ , CreativeItemCorrections
230+ , creativeItemCorrections
231+ , cicReason
232+ , cicDetails
233+
234+ -- ** CreativeItemDisapprovalReasonsItemServingRestrictions
235+ , CreativeItemDisapprovalReasonsItemServingRestrictions
236+ , creativeItemDisapprovalReasonsItemServingRestrictions
237+ , cidrisrReason
238+ , cidrisrDetails
239+
240+ -- ** CreativeItemReasonsFilteringReasons
241+ , CreativeItemReasonsFilteringReasons
242+ , creativeItemReasonsFilteringReasons
243+ , cirfrFilteringStatus
244+ , cirfrFilteringCount
245+
246+ -- ** CreativeItemServingRestrictions
247+ , CreativeItemServingRestrictions
248+ , creativeItemServingRestrictions
249+ , cisrContexts
250+ , cisrReason
251+ , cisrDisapprovalReasons
252+
253+ -- ** CreativeLogoNativeAd
254+ , CreativeLogoNativeAd
255+ , creativeLogoNativeAd
256+ , clnaHeight
257+ , clnaUrl
258+ , clnaWidth
259+
260+ -- ** CreativeNativeAd
261+ , CreativeNativeAd
262+ , creativeNativeAd
263+ , cnaImage
264+ , cnaAppIcon
265+ , cnaClickTrackingUrl
266+ , cnaBody
267+ , cnaHeadline
268+ , cnaImpressionTrackingUrl
269+ , cnaCallToAction
270+ , cnaStore
271+ , cnaPrice
272+ , cnaAdvertiser
273+ , cnaStarRating
274+ , cnaLogo
275+
276+ -- ** CreativesList
277+ , CreativesList
278+ , creativesList
279+ , clNextPageToken
280+ , clKind
281+ , clItems
282+
283+ -- ** DateTime
284+ , DateTime
285+ , dateTime
286+ , dtSecond
287+ , dtDay
288+ , dtYear
289+ , dtHour
290+ , dtMonth
291+ , dtMinute
292+ , dtTimeZoneId
293+
294+ -- ** DealPartyDto
295+ , DealPartyDto
296+ , dealPartyDto
297+ , dpdBuyerSellerRole
298+ , dpdCustomerId
299+ , dpdName
300+ , dpdWebProperty
301+ , dpdBuyer
302+
303+ -- ** DealTerms
304+ , DealTerms
305+ , dealTerms
306+ , dtNonGuaranteedFixedPriceTerms
307+ , dtNonGuaranteedAuctionTerms
308+ , dtGuaranteedFixedPriceTerms
309+ , dtDescription
310+
311+ -- ** DealTermsGuaranteedFixedPriceTerms
312+ , DealTermsGuaranteedFixedPriceTerms
313+ , dealTermsGuaranteedFixedPriceTerms
314+ , dtgfptGuaranteedLooks
315+ , dtgfptGuaranteedImpressions
316+ , dtgfptFixedPrices
317+
318+ -- ** DealTermsNonGuaranteedAuctionTerms
319+ , DealTermsNonGuaranteedAuctionTerms
320+ , dealTermsNonGuaranteedAuctionTerms
321+ , dtngatReservePricePerBuyers
322+ , dtngatPrivateAuctionId
323+
324+ -- ** DealTermsNonGuaranteedFixedPriceTerms
325+ , DealTermsNonGuaranteedFixedPriceTerms
326+ , dealTermsNonGuaranteedFixedPriceTerms
327+ , dtngfptFixedPrices
328+
329+ -- ** DeleteOrderDealsRequest
330+ , DeleteOrderDealsRequest
331+ , deleteOrderDealsRequest
332+ , dUpdateAction
333+ , dDealIds
334+ , dOrderRevisionNumber
335+
336+ -- ** DeleteOrderDealsResponse
337+ , DeleteOrderDealsResponse
338+ , deleteOrderDealsResponse
339+ , dodrDeals
340+ , dodrOrderRevisionNumber
341+
342+ -- ** DeliveryControl
343+ , DeliveryControl
344+ , deliveryControl
345+ , dcFrequencyCaps
346+ , dcDeliveryRateType
347+
348+ -- ** DeliveryControlFrequencyCap
349+ , DeliveryControlFrequencyCap
350+ , deliveryControlFrequencyCap
351+ , dcfcMaxImpressions
352+ , dcfcNumTimeUnits
353+ , dcfcTimeUnitType
354+
355+ -- ** EditAllOrderDealsRequest
356+ , EditAllOrderDealsRequest
357+ , editAllOrderDealsRequest
358+ , eaodrUpdateAction
359+ , eaodrDeals
360+ , eaodrOrder
361+ , eaodrOrderRevisionNumber
362+
363+ -- ** EditAllOrderDealsResponse
364+ , EditAllOrderDealsResponse
365+ , editAllOrderDealsResponse
366+ , eDeals
367+
368+ -- ** EditHistoryDto
369+ , EditHistoryDto
370+ , editHistoryDto
371+ , ehdLastUpdatedByLoginName
372+ , ehdCreatedByLoginName
373+ , ehdLastUpdateTimeStamp
374+ , ehdCreatedTimeStamp
375+
376+ -- ** GetFinalizedNegotiationByExternalDealIdRequest
377+ , GetFinalizedNegotiationByExternalDealIdRequest
378+ , getFinalizedNegotiationByExternalDealIdRequest
379+ , gfnbedirIncludePrivateAuctions
380+
381+ -- ** GetNegotiationByIdRequest
382+ , GetNegotiationByIdRequest
383+ , getNegotiationByIdRequest
384+ , gnbirIncludePrivateAuctions
385+
386+ -- ** GetNegotiationsRequest
387+ , GetNegotiationsRequest
388+ , getNegotiationsRequest
389+ , gnrSinceTimestampMillis
390+ , gnrFinalized
391+ , gnrIncludePrivateAuctions
392+
393+ -- ** GetNegotiationsResponse
394+ , GetNegotiationsResponse
395+ , getNegotiationsResponse
396+ , gnrKind
397+ , gnrNegotiations
398+
399+ -- ** GetOffersResponse
400+ , GetOffersResponse
401+ , getOffersResponse
402+ , gorOffers
403+
404+ -- ** GetOrderDealsResponse
405+ , GetOrderDealsResponse
406+ , getOrderDealsResponse
407+ , godrDeals
408+
409+ -- ** GetOrderNotesResponse
410+ , GetOrderNotesResponse
411+ , getOrderNotesResponse
412+ , gonrNotes
413+
414+ -- ** GetOrdersResponse
415+ , GetOrdersResponse
416+ , getOrdersResponse
417+ , gorOrders
418+
419+ -- ** InventorySegmentTargeting
420+ , InventorySegmentTargeting
421+ , inventorySegmentTargeting
422+ , istNegativeVideoDurationSegments
423+ , istNegativeIcmBrands
424+ , istNegativeKeyValues
425+ , istPositiveAudienceSegments
426+ , istPositiveXfpPlacements
427+ , istNegativeXfpAdSlots
428+ , istPositiveOperatingSystemVersions
429+ , istPositiveSizes
430+ , istPositiveDeviceCategories
431+ , istPositiveLocations
432+ , istNegativeAdSizes
433+ , istPositiveOperatingSystems
434+ , istPositiveSiteUrls
435+ , istNegativeInventorySlots
436+ , istNegativeVideoAdPositionSegments
437+ , istPositiveAdTypeSegments
438+ , istPositiveIcmInterests
439+ , istPositiveMobileApps
440+ , istPositiveKeyValues
441+ , istPositiveIcmBrands
442+ , istPositiveVideoDurationSegments
443+ , istNegativeAudienceSegments
444+ , istNegativeXfpPlacements
445+ , istPositiveXfpAdSlots
446+ , istNegativeOperatingSystemVersions
447+ , istNegativeSizes
448+ , istNegativeLocations
449+ , istNegativeDeviceCategories
450+ , istNegativeOperatingSystems
451+ , istPositiveAdSizes
452+ , istNegativeSiteUrls
453+ , istNegativeAdTypeSegments
454+ , istPositiveVideoAdPositionSegments
455+ , istPositiveInventorySlots
456+ , istNegativeMobileApps
457+ , istNegativeIcmInterests
458+
459+ -- ** ListClientAccessCapabilitiesRequest
460+ , ListClientAccessCapabilitiesRequest
461+ , listClientAccessCapabilitiesRequest
462+ , lcacrSponsorAccountId
463+
464+ -- ** ListClientAccessCapabilitiesResponse
465+ , ListClientAccessCapabilitiesResponse
466+ , listClientAccessCapabilitiesResponse
467+ , lcacrClientAccessPermissions
468+
469+ -- ** ListOffersRequest
470+ , ListOffersRequest
471+ , listOffersRequest
472+ , lorSinceTimestampMillis
473+
474+ -- ** ListOffersResponse
475+ , ListOffersResponse
476+ , listOffersResponse
477+ , lorKind
478+ , lorOffers
479+
480+ -- ** MarketplaceDeal
481+ , MarketplaceDeal
482+ , marketplaceDeal
483+ , mdExternalDealId
484+ , mdBuyerPrivateData
485+ , mdWebPropertyCode
486+ , mdCreationTimeMs
487+ , mdTerms
488+ , mdOfferRevisionNumber
489+ , mdLastUpdateTimeMs
490+ , mdKind
491+ , mdDeliveryControl
492+ , mdFlightStartTimeMs
493+ , mdSharedTargetings
494+ , mdDealId
495+ , mdInventoryDescription
496+ , mdSyndicationProduct
497+ , mdFlightEndTimeMs
498+ , mdName
499+ , mdSellerContacts
500+ , mdOfferId
501+ , mdOrderId
502+
503+ -- ** MarketplaceDealParty
504+ , MarketplaceDealParty
505+ , marketplaceDealParty
506+ , mdpSeller
507+ , mdpBuyer
508+
509+ -- ** MarketplaceLabel
510+ , MarketplaceLabel
511+ , marketplaceLabel
512+ , mlDeprecatedMarketplaceDealParty
513+ , mlAccountId
514+ , mlCreateTimeMs
515+ , mlLabel
516+
517+ -- ** MarketplaceNote
518+ , MarketplaceNote
519+ , marketplaceNote
520+ , mnNote
521+ , mnKind
522+ , mnTimestampMs
523+ , mnDealId
524+ , mnNoteId
525+ , mnCreatorRole
526+ , mnOrderId
527+ , mnOrderRevisionNumber
528+
529+ -- ** MarketplaceOffer
530+ , MarketplaceOffer
531+ , marketplaceOffer
532+ , moState
533+ , moWebPropertyCode
534+ , moCreationTimeMs
535+ , moTerms
536+ , moLastUpdateTimeMs
537+ , moKind
538+ , moRevisionNumber
539+ , moHasCreatorSignedOff
540+ , moFlightStartTimeMs
541+ , moSharedTargetings
542+ , moSeller
543+ , moSyndicationProduct
544+ , moFlightEndTimeMs
545+ , moName
546+ , moCreatorContacts
547+ , moOfferId
548+ , moLabels
549+
550+ -- ** MarketplaceOrder
551+ , MarketplaceOrder
552+ , marketplaceOrder
553+ , mBuyerPrivateData
554+ , mIsSetupComplete
555+ , mBuyerContacts
556+ , mKind
557+ , mOriginatorRole
558+ , mRevisionNumber
559+ , mBilledBuyer
560+ , mIsRenegotiating
561+ , mHasSellerSignedOff
562+ , mSeller
563+ , mOrderState
564+ , mName
565+ , mSellerContacts
566+ , mLastUpdaterRole
567+ , mLabels
568+ , mRevisionTimeMs
569+ , mOrderId
570+ , mLastUpdaterOrCommentorRole
571+ , mHasBuyerSignedOff
572+ , mBuyer
573+
574+ -- ** MoneyDto
575+ , MoneyDto
576+ , moneyDto
577+ , mdCurrencyCode
578+ , mdMicros
579+
580+ -- ** NegotiationDto
581+ , NegotiationDto
582+ , negotiationDto
583+ , ndNegotiationState
584+ , ndExternalDealId
585+ , ndStatus
586+ , ndDealType
587+ , ndNegotiationRounds
588+ , ndKind
589+ , ndBilledBuyer
590+ , ndBuyerEmailContacts
591+ , ndStats
592+ , ndSeller
593+ , ndLabelNames
594+ , ndOfferId
595+ , ndNegotiationId
596+ , ndSellerEmailContacts
597+ , ndBuyer
598+
599+ -- ** NegotiationRoundDto
600+ , NegotiationRoundDto
601+ , negotiationRoundDto
602+ , nrdTerms
603+ , nrdKind
604+ , nrdOriginatorRole
605+ , nrdAction
606+ , nrdDbmPartnerId
607+ , nrdNotes
608+ , nrdNegotiationId
609+ , nrdEditHistory
610+ , nrdRoundNumber
611+
612+ -- ** OfferDto
613+ , OfferDto
614+ , offerDto
615+ , odCreator
616+ , odStatus
617+ , odOfferState
618+ , odPointOfContact
619+ , odTerms
620+ , odKind
621+ , odBilledBuyer
622+ , odOpenToDealParties
623+ , odEmailContacts
624+ , odLabelNames
625+ , odOfferId
626+ , odClosedToDealParties
627+ , odAnonymous
628+ , odIsOpen
629+
630+ -- ** PerformanceReport
631+ , PerformanceReport
632+ , performanceReport
633+ , prFilteredBidRate
634+ , prKind
635+ , prLatency95thPercentile
636+ , prCookieMatcherStatusRate
637+ , prHostedMatchStatusRate
638+ , prUnsuccessfulRequestRate
639+ , prBidRequestRate
640+ , prQuotaThrottledLimit
641+ , prQuotaConfiguredLimit
642+ , prSuccessfulRequestRate
643+ , prLatency85thPercentile
644+ , prCalloutStatusRate
645+ , prLatency50thPercentile
646+ , prBidRate
647+ , prCreativeStatusRate
648+ , prNoQuotaInRegion
649+ , prRegion
650+ , prInventoryMatchRate
651+ , prPixelMatchResponses
652+ , prTimestamp
653+ , prPixelMatchRequests
654+ , prOutOfQuota
655+
656+ -- ** PerformanceReportList
657+ , PerformanceReportList
658+ , performanceReportList
659+ , prlKind
660+ , prlPerformanceReport
661+
662+ -- ** PretargetingConfig
663+ , PretargetingConfig
664+ , pretargetingConfig
665+ , pcPlatforms
666+ , pcMobileCarriers
667+ , pcVendorTypes
668+ , pcExcludedGeoCriteriaIds
669+ , pcSupportedCreativeAttributes
670+ , pcUserLists
671+ , pcKind
672+ , pcExcludedPlacements
673+ , pcMobileDevices
674+ , pcLanguages
675+ , pcVerticals
676+ , pcConfigId
677+ , pcPlacements
678+ , pcExcludedUserLists
679+ , pcConfigName
680+ , pcGeoCriteriaIds
681+ , pcDimensions
682+ , pcExcludedVerticals
683+ , pcCreativeType
684+ , pcIsActive
685+ , pcExcludedContentLabels
686+ , pcBillingId
687+ , pcMobileOperatingSystemVersions
688+
689+ -- ** PretargetingConfigItemDimensions
690+ , PretargetingConfigItemDimensions
691+ , pretargetingConfigItemDimensions
692+ , pcidHeight
693+ , pcidWidth
694+
695+ -- ** PretargetingConfigItemExcludedPlacements
696+ , PretargetingConfigItemExcludedPlacements
697+ , pretargetingConfigItemExcludedPlacements
698+ , pciepToken
699+ , pciepType
700+
701+ -- ** PretargetingConfigItemPlacements
702+ , PretargetingConfigItemPlacements
703+ , pretargetingConfigItemPlacements
704+ , pcipToken
705+ , pcipType
706+
707+ -- ** PretargetingConfigList
708+ , PretargetingConfigList
709+ , pretargetingConfigList
710+ , pclKind
711+ , pclItems
712+
713+ -- ** Price
714+ , Price
715+ , price
716+ , pCurrencyCode
717+ , pAmountMicros
718+
719+ -- ** PricePerBuyer
720+ , PricePerBuyer
721+ , pricePerBuyer
722+ , ppbPrice
723+ , ppbBuyer
724+
725+ -- ** PrivateData
726+ , PrivateData
727+ , privateData
728+ , pdReferencePayload
729+ , pdReferenceId
730+
731+ -- ** RuleKeyValuePair
732+ , RuleKeyValuePair
733+ , ruleKeyValuePair
734+ , rkvpKeyName
735+ , rkvpValue
736+
737+ -- ** Seller
738+ , Seller
739+ , seller
740+ , sAccountId
741+ , sSubAccountId
742+
743+ -- ** SharedTargeting
744+ , SharedTargeting
745+ , sharedTargeting
746+ , stKey
747+ , stExclusions
748+ , stInclusions
749+
750+ -- ** StatsDto
751+ , StatsDto
752+ , statsDto
753+ , sdBids
754+ , sdSpend
755+ , sdImpressions
756+ , sdGoodBids
757+ , sdRevenue
758+ , sdRequests
759+
760+ -- ** TargetingValue
761+ , TargetingValue
762+ , targetingValue
763+ , tvCreativeSizeValue
764+ , tvStringValue
765+ , tvLongValue
766+ , tvDayPartTargetingValue
767+
768+ -- ** TargetingValueCreativeSize
769+ , TargetingValueCreativeSize
770+ , targetingValueCreativeSize
771+ , tvcsSize
772+ , tvcsCompanionSizes
773+ , tvcsCreativeSizeType
774+
775+ -- ** TargetingValueDayPartTargeting
776+ , TargetingValueDayPartTargeting
777+ , targetingValueDayPartTargeting
778+ , tvdptTimeZoneType
779+ , tvdptDayParts
780+
781+ -- ** TargetingValueDayPartTargetingDayPart
782+ , TargetingValueDayPartTargetingDayPart
783+ , targetingValueDayPartTargetingDayPart
784+ , tvdptdpEndHour
785+ , tvdptdpStartHour
786+ , tvdptdpStartMinute
787+ , tvdptdpDayOfWeek
788+ , tvdptdpEndMinute
789+
790+ -- ** TargetingValueSize
791+ , TargetingValueSize
792+ , targetingValueSize
793+ , tvsHeight
794+ , tvsWidth
795+
796+ -- ** TermsDto
797+ , TermsDto
798+ , termsDto
799+ , tdFinalizeAutomatically
800+ , tdBuyerBillingType
801+ , tdTargetingAllAdSlots
802+ , tdUrls
803+ , tdEndDate
804+ , tdCpm
805+ , tdEstimatedSpend
806+ , tdAdvertisers
807+ , tdEstimatedImpressionsPerDay
808+ , tdMonetizerType
809+ , tdAudienceSegmentDescription
810+ , tdCreativeReviewPolicy
811+ , tdMinimumTrueLooks
812+ , tdStartDate
813+ , tdCreativeBlockingLevel
814+ , tdSemiTransparent
815+ , tdAudienceSegment
816+ , tdDealPremium
817+ , tdIsReservation
818+ , tdAdSlots
819+ , tdTermsAttributes
820+ , tdInventorySegmentTargeting
821+ , tdDescriptiveName
822+ , tdMinimumSpendMicros
823+ , tdTargetByDealId
824+ , tdBillingTerms
825+ , tdDescription
826+
827+ -- ** WebPropertyDto
828+ , WebPropertyDto
829+ , webPropertyDto
830+ , wpdEnabledForPreferredDeals
831+ , wpdSyndicationProduct
832+ , wpdName
833+ , wpdPropertyCode
834+ , wpdId
835+ , wpdSiteUrls
836+ , wpdAllowInterestTargetedAds
837+ ) where
838+
839+import Network.Google.AdExchangeBuyer.Types
840+
841+{- $resources
842+TODO
843+-}
844+
845+type AdExchangeBuyer = ()
846+
847+adExchangeBuyer :: Proxy AdExchangeBuyer
848+adExchangeBuyer = Proxy
849+
850+
851+
852+
gogol-adexchange-buyer/gen/Network/Google/AdExchangeBuyer/Types.hsnew file+842
@@ -0,0 +1,842 @@
1+{-# LANGUAGE DeriveDataTypeable #-}
2+{-# LANGUAGE DeriveGeneric #-}
3+{-# LANGUAGE OverloadedStrings #-}
4+
5+-- |
6+-- Module : Network.Google.AdExchangeBuyer.Types
7+-- Copyright : (c) 2015 Brendan Hay
8+-- License : Mozilla Public License, v. 2.0.
9+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
10+-- Stability : auto-generated
11+-- Portability : non-portable (GHC extensions)
12+--
13+module Network.Google.AdExchangeBuyer.Types
14+ (
15+ -- * API Definition
16+ adexchangebuyer
17+
18+
19+ -- * Account
20+ , Account
21+ , account
22+ , aMaximumTotalQps
23+ , aKind
24+ , aCookieMatchingUrl
25+ , aMaximumActiveCreatives
26+ , aCookieMatchingNid
27+ , aNumberActiveCreatives
28+ , aId
29+ , aBidderLocation
30+
31+ -- * AccountItemBidderLocation
32+ , AccountItemBidderLocation
33+ , accountItemBidderLocation
34+ , aiblUrl
35+ , aiblMaximumQps
36+ , aiblRegion
37+
38+ -- * AccountsList
39+ , AccountsList
40+ , accountsList
41+ , alKind
42+ , alItems
43+
44+ -- * AdSize
45+ , AdSize
46+ , adSize
47+ , asHeight
48+ , asWidth
49+
50+ -- * AdSlotDto
51+ , AdSlotDto
52+ , adSlotDto
53+ , asdWebPropertyId
54+ , asdSize
55+ , asdChannelCode
56+ , asdChannelId
57+ , asdName
58+ , asdDescription
59+
60+ -- * AddOrderDealsRequest
61+ , AddOrderDealsRequest
62+ , addOrderDealsRequest
63+ , aodrUpdateAction
64+ , aodrDeals
65+ , aodrOrderRevisionNumber
66+
67+ -- * AddOrderDealsResponse
68+ , AddOrderDealsResponse
69+ , addOrderDealsResponse
70+ , aDeals
71+ , aOrderRevisionNumber
72+
73+ -- * AddOrderNotesRequest
74+ , AddOrderNotesRequest
75+ , addOrderNotesRequest
76+ , aNotes
77+
78+ -- * AddOrderNotesResponse
79+ , AddOrderNotesResponse
80+ , addOrderNotesResponse
81+ , aonrNotes
82+
83+ -- * AdvertiserDto
84+ , AdvertiserDto
85+ , advertiserDto
86+ , adStatus
87+ , adBrands
88+ , adName
89+ , adId
90+
91+ -- * AudienceSegment
92+ , AudienceSegment
93+ , audienceSegment
94+ , asNumCookies
95+ , asName
96+ , asId
97+ , asDescription
98+
99+ -- * BillingInfo
100+ , BillingInfo
101+ , billingInfo
102+ , biKind
103+ , biAccountName
104+ , biAccountId
105+ , biBillingId
106+
107+ -- * BillingInfoList
108+ , BillingInfoList
109+ , billingInfoList
110+ , bilKind
111+ , bilItems
112+
113+ -- * BrandDto
114+ , BrandDto
115+ , brandDto
116+ , bAdvertiserId
117+ , bName
118+ , bId
119+
120+ -- * Budget
121+ , Budget
122+ , budget
123+ , budCurrencyCode
124+ , budKind
125+ , budBudgetAmount
126+ , budAccountId
127+ , budId
128+ , budBillingId
129+
130+ -- * Buyer
131+ , Buyer
132+ , buyer
133+ , bAccountId
134+
135+ -- * BuyerDto
136+ , BuyerDto
137+ , buyerDto
138+ , bdSponsorAccountId
139+ , bdEnabledForInterestTargetingDeals
140+ , bdCustomerId
141+ , bdEnabledForPreferredDeals
142+ , bdAccountId
143+ , bdDisplayName
144+ , bdId
145+
146+ -- * ClientAccessCapabilities
147+ , ClientAccessCapabilities
148+ , clientAccessCapabilities
149+ , cacClientAccountId
150+ , cacCapabilities
151+
152+ -- * ContactInformation
153+ , ContactInformation
154+ , contactInformation
155+ , ciEmail
156+ , ciName
157+
158+ -- * CreateOrdersRequest
159+ , CreateOrdersRequest
160+ , createOrdersRequest
161+ , cWebPropertyCode
162+ , cOrders
163+
164+ -- * CreateOrdersResponse
165+ , CreateOrdersResponse
166+ , createOrdersResponse
167+ , corOrders
168+
169+ -- * Creative
170+ , Creative
171+ , creative
172+ , cAttribute
173+ , cNativeAd
174+ , cHeight
175+ , cBuyerCreativeId
176+ , cAdvertiserName
177+ , cAgencyId
178+ , cCorrections
179+ , cProductCategories
180+ , cKind
181+ , cHTMLSnippet
182+ , cAdvertiserId
183+ , cRestrictedCategories
184+ , cDealsStatus
185+ , cWidth
186+ , cClickThroughUrl
187+ , cVendorType
188+ , cAccountId
189+ , cImpressionTrackingUrl
190+ , cFilteringReasons
191+ , cVersion
192+ , cSensitiveCategories
193+ , cVideoURL
194+ , cApiUploadTimestamp
195+ , cServingRestrictions
196+ , cOpenAuctionStatus
197+
198+ -- * CreativeAppIconNativeAd
199+ , CreativeAppIconNativeAd
200+ , creativeAppIconNativeAd
201+ , cainaHeight
202+ , cainaUrl
203+ , cainaWidth
204+
205+ -- * CreativeFilteringReasons
206+ , CreativeFilteringReasons
207+ , creativeFilteringReasons
208+ , cfrReasons
209+ , cfrDate
210+
211+ -- * CreativeImageNativeAd
212+ , CreativeImageNativeAd
213+ , creativeImageNativeAd
214+ , cinaHeight
215+ , cinaUrl
216+ , cinaWidth
217+
218+ -- * CreativeItemContextsItemServingRestrictions
219+ , CreativeItemContextsItemServingRestrictions
220+ , creativeItemContextsItemServingRestrictions
221+ , cicisrPlatform
222+ , cicisrContextType
223+ , cicisrAuctionType
224+ , cicisrGeoCriteriaId
225+
226+ -- * CreativeItemCorrections
227+ , CreativeItemCorrections
228+ , creativeItemCorrections
229+ , cicReason
230+ , cicDetails
231+
232+ -- * CreativeItemDisapprovalReasonsItemServingRestrictions
233+ , CreativeItemDisapprovalReasonsItemServingRestrictions
234+ , creativeItemDisapprovalReasonsItemServingRestrictions
235+ , cidrisrReason
236+ , cidrisrDetails
237+
238+ -- * CreativeItemReasonsFilteringReasons
239+ , CreativeItemReasonsFilteringReasons
240+ , creativeItemReasonsFilteringReasons
241+ , cirfrFilteringStatus
242+ , cirfrFilteringCount
243+
244+ -- * CreativeItemServingRestrictions
245+ , CreativeItemServingRestrictions
246+ , creativeItemServingRestrictions
247+ , cisrContexts
248+ , cisrReason
249+ , cisrDisapprovalReasons
250+
251+ -- * CreativeLogoNativeAd
252+ , CreativeLogoNativeAd
253+ , creativeLogoNativeAd
254+ , clnaHeight
255+ , clnaUrl
256+ , clnaWidth
257+
258+ -- * CreativeNativeAd
259+ , CreativeNativeAd
260+ , creativeNativeAd
261+ , cnaImage
262+ , cnaAppIcon
263+ , cnaClickTrackingUrl
264+ , cnaBody
265+ , cnaHeadline
266+ , cnaImpressionTrackingUrl
267+ , cnaCallToAction
268+ , cnaStore
269+ , cnaPrice
270+ , cnaAdvertiser
271+ , cnaStarRating
272+ , cnaLogo
273+
274+ -- * CreativesList
275+ , CreativesList
276+ , creativesList
277+ , clNextPageToken
278+ , clKind
279+ , clItems
280+
281+ -- * DateTime
282+ , DateTime
283+ , dateTime
284+ , dtSecond
285+ , dtDay
286+ , dtYear
287+ , dtHour
288+ , dtMonth
289+ , dtMinute
290+ , dtTimeZoneId
291+
292+ -- * DealPartyDto
293+ , DealPartyDto
294+ , dealPartyDto
295+ , dpdBuyerSellerRole
296+ , dpdCustomerId
297+ , dpdName
298+ , dpdWebProperty
299+ , dpdBuyer
300+
301+ -- * DealTerms
302+ , DealTerms
303+ , dealTerms
304+ , dtNonGuaranteedFixedPriceTerms
305+ , dtNonGuaranteedAuctionTerms
306+ , dtGuaranteedFixedPriceTerms
307+ , dtDescription
308+
309+ -- * DealTermsGuaranteedFixedPriceTerms
310+ , DealTermsGuaranteedFixedPriceTerms
311+ , dealTermsGuaranteedFixedPriceTerms
312+ , dtgfptGuaranteedLooks
313+ , dtgfptGuaranteedImpressions
314+ , dtgfptFixedPrices
315+
316+ -- * DealTermsNonGuaranteedAuctionTerms
317+ , DealTermsNonGuaranteedAuctionTerms
318+ , dealTermsNonGuaranteedAuctionTerms
319+ , dtngatReservePricePerBuyers
320+ , dtngatPrivateAuctionId
321+
322+ -- * DealTermsNonGuaranteedFixedPriceTerms
323+ , DealTermsNonGuaranteedFixedPriceTerms
324+ , dealTermsNonGuaranteedFixedPriceTerms
325+ , dtngfptFixedPrices
326+
327+ -- * DeleteOrderDealsRequest
328+ , DeleteOrderDealsRequest
329+ , deleteOrderDealsRequest
330+ , dUpdateAction
331+ , dDealIds
332+ , dOrderRevisionNumber
333+
334+ -- * DeleteOrderDealsResponse
335+ , DeleteOrderDealsResponse
336+ , deleteOrderDealsResponse
337+ , dodrDeals
338+ , dodrOrderRevisionNumber
339+
340+ -- * DeliveryControl
341+ , DeliveryControl
342+ , deliveryControl
343+ , dcFrequencyCaps
344+ , dcDeliveryRateType
345+
346+ -- * DeliveryControlFrequencyCap
347+ , DeliveryControlFrequencyCap
348+ , deliveryControlFrequencyCap
349+ , dcfcMaxImpressions
350+ , dcfcNumTimeUnits
351+ , dcfcTimeUnitType
352+
353+ -- * EditAllOrderDealsRequest
354+ , EditAllOrderDealsRequest
355+ , editAllOrderDealsRequest
356+ , eaodrUpdateAction
357+ , eaodrDeals
358+ , eaodrOrder
359+ , eaodrOrderRevisionNumber
360+
361+ -- * EditAllOrderDealsResponse
362+ , EditAllOrderDealsResponse
363+ , editAllOrderDealsResponse
364+ , eDeals
365+
366+ -- * EditHistoryDto
367+ , EditHistoryDto
368+ , editHistoryDto
369+ , ehdLastUpdatedByLoginName
370+ , ehdCreatedByLoginName
371+ , ehdLastUpdateTimeStamp
372+ , ehdCreatedTimeStamp
373+
374+ -- * GetFinalizedNegotiationByExternalDealIdRequest
375+ , GetFinalizedNegotiationByExternalDealIdRequest
376+ , getFinalizedNegotiationByExternalDealIdRequest
377+ , gfnbedirIncludePrivateAuctions
378+
379+ -- * GetNegotiationByIdRequest
380+ , GetNegotiationByIdRequest
381+ , getNegotiationByIdRequest
382+ , gnbirIncludePrivateAuctions
383+
384+ -- * GetNegotiationsRequest
385+ , GetNegotiationsRequest
386+ , getNegotiationsRequest
387+ , gnrSinceTimestampMillis
388+ , gnrFinalized
389+ , gnrIncludePrivateAuctions
390+
391+ -- * GetNegotiationsResponse
392+ , GetNegotiationsResponse
393+ , getNegotiationsResponse
394+ , gnrKind
395+ , gnrNegotiations
396+
397+ -- * GetOffersResponse
398+ , GetOffersResponse
399+ , getOffersResponse
400+ , gorOffers
401+
402+ -- * GetOrderDealsResponse
403+ , GetOrderDealsResponse
404+ , getOrderDealsResponse
405+ , godrDeals
406+
407+ -- * GetOrderNotesResponse
408+ , GetOrderNotesResponse
409+ , getOrderNotesResponse
410+ , gonrNotes
411+
412+ -- * GetOrdersResponse
413+ , GetOrdersResponse
414+ , getOrdersResponse
415+ , gorOrders
416+
417+ -- * InventorySegmentTargeting
418+ , InventorySegmentTargeting
419+ , inventorySegmentTargeting
420+ , istNegativeVideoDurationSegments
421+ , istNegativeIcmBrands
422+ , istNegativeKeyValues
423+ , istPositiveAudienceSegments
424+ , istPositiveXfpPlacements
425+ , istNegativeXfpAdSlots
426+ , istPositiveOperatingSystemVersions
427+ , istPositiveSizes
428+ , istPositiveDeviceCategories
429+ , istPositiveLocations
430+ , istNegativeAdSizes
431+ , istPositiveOperatingSystems
432+ , istPositiveSiteUrls
433+ , istNegativeInventorySlots
434+ , istNegativeVideoAdPositionSegments
435+ , istPositiveAdTypeSegments
436+ , istPositiveIcmInterests
437+ , istPositiveMobileApps
438+ , istPositiveKeyValues
439+ , istPositiveIcmBrands
440+ , istPositiveVideoDurationSegments
441+ , istNegativeAudienceSegments
442+ , istNegativeXfpPlacements
443+ , istPositiveXfpAdSlots
444+ , istNegativeOperatingSystemVersions
445+ , istNegativeSizes
446+ , istNegativeLocations
447+ , istNegativeDeviceCategories
448+ , istNegativeOperatingSystems
449+ , istPositiveAdSizes
450+ , istNegativeSiteUrls
451+ , istNegativeAdTypeSegments
452+ , istPositiveVideoAdPositionSegments
453+ , istPositiveInventorySlots
454+ , istNegativeMobileApps
455+ , istNegativeIcmInterests
456+
457+ -- * ListClientAccessCapabilitiesRequest
458+ , ListClientAccessCapabilitiesRequest
459+ , listClientAccessCapabilitiesRequest
460+ , lcacrSponsorAccountId
461+
462+ -- * ListClientAccessCapabilitiesResponse
463+ , ListClientAccessCapabilitiesResponse
464+ , listClientAccessCapabilitiesResponse
465+ , lcacrClientAccessPermissions
466+
467+ -- * ListOffersRequest
468+ , ListOffersRequest
469+ , listOffersRequest
470+ , lorSinceTimestampMillis
471+
472+ -- * ListOffersResponse
473+ , ListOffersResponse
474+ , listOffersResponse
475+ , lorKind
476+ , lorOffers
477+
478+ -- * MarketplaceDeal
479+ , MarketplaceDeal
480+ , marketplaceDeal
481+ , mdExternalDealId
482+ , mdBuyerPrivateData
483+ , mdWebPropertyCode
484+ , mdCreationTimeMs
485+ , mdTerms
486+ , mdOfferRevisionNumber
487+ , mdLastUpdateTimeMs
488+ , mdKind
489+ , mdDeliveryControl
490+ , mdFlightStartTimeMs
491+ , mdSharedTargetings
492+ , mdDealId
493+ , mdInventoryDescription
494+ , mdSyndicationProduct
495+ , mdFlightEndTimeMs
496+ , mdName
497+ , mdSellerContacts
498+ , mdOfferId
499+ , mdOrderId
500+
501+ -- * MarketplaceDealParty
502+ , MarketplaceDealParty
503+ , marketplaceDealParty
504+ , mdpSeller
505+ , mdpBuyer
506+
507+ -- * MarketplaceLabel
508+ , MarketplaceLabel
509+ , marketplaceLabel
510+ , mlDeprecatedMarketplaceDealParty
511+ , mlAccountId
512+ , mlCreateTimeMs
513+ , mlLabel
514+
515+ -- * MarketplaceNote
516+ , MarketplaceNote
517+ , marketplaceNote
518+ , mnNote
519+ , mnKind
520+ , mnTimestampMs
521+ , mnDealId
522+ , mnNoteId
523+ , mnCreatorRole
524+ , mnOrderId
525+ , mnOrderRevisionNumber
526+
527+ -- * MarketplaceOffer
528+ , MarketplaceOffer
529+ , marketplaceOffer
530+ , moState
531+ , moWebPropertyCode
532+ , moCreationTimeMs
533+ , moTerms
534+ , moLastUpdateTimeMs
535+ , moKind
536+ , moRevisionNumber
537+ , moHasCreatorSignedOff
538+ , moFlightStartTimeMs
539+ , moSharedTargetings
540+ , moSeller
541+ , moSyndicationProduct
542+ , moFlightEndTimeMs
543+ , moName
544+ , moCreatorContacts
545+ , moOfferId
546+ , moLabels
547+
548+ -- * MarketplaceOrder
549+ , MarketplaceOrder
550+ , marketplaceOrder
551+ , mBuyerPrivateData
552+ , mIsSetupComplete
553+ , mBuyerContacts
554+ , mKind
555+ , mOriginatorRole
556+ , mRevisionNumber
557+ , mBilledBuyer
558+ , mIsRenegotiating
559+ , mHasSellerSignedOff
560+ , mSeller
561+ , mOrderState
562+ , mName
563+ , mSellerContacts
564+ , mLastUpdaterRole
565+ , mLabels
566+ , mRevisionTimeMs
567+ , mOrderId
568+ , mLastUpdaterOrCommentorRole
569+ , mHasBuyerSignedOff
570+ , mBuyer
571+
572+ -- * MoneyDto
573+ , MoneyDto
574+ , moneyDto
575+ , mdCurrencyCode
576+ , mdMicros
577+
578+ -- * NegotiationDto
579+ , NegotiationDto
580+ , negotiationDto
581+ , ndNegotiationState
582+ , ndExternalDealId
583+ , ndStatus
584+ , ndDealType
585+ , ndNegotiationRounds
586+ , ndKind
587+ , ndBilledBuyer
588+ , ndBuyerEmailContacts
589+ , ndStats
590+ , ndSeller
591+ , ndLabelNames
592+ , ndOfferId
593+ , ndNegotiationId
594+ , ndSellerEmailContacts
595+ , ndBuyer
596+
597+ -- * NegotiationRoundDto
598+ , NegotiationRoundDto
599+ , negotiationRoundDto
600+ , nrdTerms
601+ , nrdKind
602+ , nrdOriginatorRole
603+ , nrdAction
604+ , nrdDbmPartnerId
605+ , nrdNotes
606+ , nrdNegotiationId
607+ , nrdEditHistory
608+ , nrdRoundNumber
609+
610+ -- * OfferDto
611+ , OfferDto
612+ , offerDto
613+ , odCreator
614+ , odStatus
615+ , odOfferState
616+ , odPointOfContact
617+ , odTerms
618+ , odKind
619+ , odBilledBuyer
620+ , odOpenToDealParties
621+ , odEmailContacts
622+ , odLabelNames
623+ , odOfferId
624+ , odClosedToDealParties
625+ , odAnonymous
626+ , odIsOpen
627+
628+ -- * PerformanceReport
629+ , PerformanceReport
630+ , performanceReport
631+ , prFilteredBidRate
632+ , prKind
633+ , prLatency95thPercentile
634+ , prCookieMatcherStatusRate
635+ , prHostedMatchStatusRate
636+ , prUnsuccessfulRequestRate
637+ , prBidRequestRate
638+ , prQuotaThrottledLimit
639+ , prQuotaConfiguredLimit
640+ , prSuccessfulRequestRate
641+ , prLatency85thPercentile
642+ , prCalloutStatusRate
643+ , prLatency50thPercentile
644+ , prBidRate
645+ , prCreativeStatusRate
646+ , prNoQuotaInRegion
647+ , prRegion
648+ , prInventoryMatchRate
649+ , prPixelMatchResponses
650+ , prTimestamp
651+ , prPixelMatchRequests
652+ , prOutOfQuota
653+
654+ -- * PerformanceReportList
655+ , PerformanceReportList
656+ , performanceReportList
657+ , prlKind
658+ , prlPerformanceReport
659+
660+ -- * PretargetingConfig
661+ , PretargetingConfig
662+ , pretargetingConfig
663+ , pcPlatforms
664+ , pcMobileCarriers
665+ , pcVendorTypes
666+ , pcExcludedGeoCriteriaIds
667+ , pcSupportedCreativeAttributes
668+ , pcUserLists
669+ , pcKind
670+ , pcExcludedPlacements
671+ , pcMobileDevices
672+ , pcLanguages
673+ , pcVerticals
674+ , pcConfigId
675+ , pcPlacements
676+ , pcExcludedUserLists
677+ , pcConfigName
678+ , pcGeoCriteriaIds
679+ , pcDimensions
680+ , pcExcludedVerticals
681+ , pcCreativeType
682+ , pcIsActive
683+ , pcExcludedContentLabels
684+ , pcBillingId
685+ , pcMobileOperatingSystemVersions
686+
687+ -- * PretargetingConfigItemDimensions
688+ , PretargetingConfigItemDimensions
689+ , pretargetingConfigItemDimensions
690+ , pcidHeight
691+ , pcidWidth
692+
693+ -- * PretargetingConfigItemExcludedPlacements
694+ , PretargetingConfigItemExcludedPlacements
695+ , pretargetingConfigItemExcludedPlacements
696+ , pciepToken
697+ , pciepType
698+
699+ -- * PretargetingConfigItemPlacements
700+ , PretargetingConfigItemPlacements
701+ , pretargetingConfigItemPlacements
702+ , pcipToken
703+ , pcipType
704+
705+ -- * PretargetingConfigList
706+ , PretargetingConfigList
707+ , pretargetingConfigList
708+ , pclKind
709+ , pclItems
710+
711+ -- * Price
712+ , Price
713+ , price
714+ , pCurrencyCode
715+ , pAmountMicros
716+
717+ -- * PricePerBuyer
718+ , PricePerBuyer
719+ , pricePerBuyer
720+ , ppbPrice
721+ , ppbBuyer
722+
723+ -- * PrivateData
724+ , PrivateData
725+ , privateData
726+ , pdReferencePayload
727+ , pdReferenceId
728+
729+ -- * RuleKeyValuePair
730+ , RuleKeyValuePair
731+ , ruleKeyValuePair
732+ , rkvpKeyName
733+ , rkvpValue
734+
735+ -- * Seller
736+ , Seller
737+ , seller
738+ , sAccountId
739+ , sSubAccountId
740+
741+ -- * SharedTargeting
742+ , SharedTargeting
743+ , sharedTargeting
744+ , stKey
745+ , stExclusions
746+ , stInclusions
747+
748+ -- * StatsDto
749+ , StatsDto
750+ , statsDto
751+ , sdBids
752+ , sdSpend
753+ , sdImpressions
754+ , sdGoodBids
755+ , sdRevenue
756+ , sdRequests
757+
758+ -- * TargetingValue
759+ , TargetingValue
760+ , targetingValue
761+ , tvCreativeSizeValue
762+ , tvStringValue
763+ , tvLongValue
764+ , tvDayPartTargetingValue
765+
766+ -- * TargetingValueCreativeSize
767+ , TargetingValueCreativeSize
768+ , targetingValueCreativeSize
769+ , tvcsSize
770+ , tvcsCompanionSizes
771+ , tvcsCreativeSizeType
772+
773+ -- * TargetingValueDayPartTargeting
774+ , TargetingValueDayPartTargeting
775+ , targetingValueDayPartTargeting
776+ , tvdptTimeZoneType
777+ , tvdptDayParts
778+
779+ -- * TargetingValueDayPartTargetingDayPart
780+ , TargetingValueDayPartTargetingDayPart
781+ , targetingValueDayPartTargetingDayPart
782+ , tvdptdpEndHour
783+ , tvdptdpStartHour
784+ , tvdptdpStartMinute
785+ , tvdptdpDayOfWeek
786+ , tvdptdpEndMinute
787+
788+ -- * TargetingValueSize
789+ , TargetingValueSize
790+ , targetingValueSize
791+ , tvsHeight
792+ , tvsWidth
793+
794+ -- * TermsDto
795+ , TermsDto
796+ , termsDto
797+ , tdFinalizeAutomatically
798+ , tdBuyerBillingType
799+ , tdTargetingAllAdSlots
800+ , tdUrls
801+ , tdEndDate
802+ , tdCpm
803+ , tdEstimatedSpend
804+ , tdAdvertisers
805+ , tdEstimatedImpressionsPerDay
806+ , tdMonetizerType
807+ , tdAudienceSegmentDescription
808+ , tdCreativeReviewPolicy
809+ , tdMinimumTrueLooks
810+ , tdStartDate
811+ , tdCreativeBlockingLevel
812+ , tdSemiTransparent
813+ , tdAudienceSegment
814+ , tdDealPremium
815+ , tdIsReservation
816+ , tdAdSlots
817+ , tdTermsAttributes
818+ , tdInventorySegmentTargeting
819+ , tdDescriptiveName
820+ , tdMinimumSpendMicros
821+ , tdTargetByDealId
822+ , tdBillingTerms
823+ , tdDescription
824+
825+ -- * WebPropertyDto
826+ , WebPropertyDto
827+ , webPropertyDto
828+ , wpdEnabledForPreferredDeals
829+ , wpdSyndicationProduct
830+ , wpdName
831+ , wpdPropertyCode
832+ , wpdId
833+ , wpdSiteUrls
834+ , wpdAllowInterestTargetedAds
835+ ) where
836+
837+import Network.Google.AdExchangeBuyer.Types.Product
838+import Network.Google.AdExchangeBuyer.Types.Sum
839+import Network.Google.Prelude
840+
841+adexchangebuyer :: a
842+adexchangebuyer = error "adexchangebuyer"
gogol-adexchange-buyer/gen/Network/Google/AdExchangeBuyer/Types/Product.hsnew file+5832
@@ -0,0 +1,5832 @@
1+{-# LANGUAGE DeriveDataTypeable #-}
2+{-# LANGUAGE DeriveGeneric #-}
3+{-# LANGUAGE OverloadedStrings #-}
4+
5+-- |
6+-- Module : Network.Google.AdExchangeBuyer.Types.Product
7+-- Copyright : (c) 2015 Brendan Hay
8+-- License : Mozilla Public License, v. 2.0.
9+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
10+-- Stability : auto-generated
11+-- Portability : non-portable (GHC extensions)
12+--
13+module Network.Google.AdExchangeBuyer.Types.Product where
14+
15+import Network.Google.AdExchangeBuyer.Types.Sum
16+import Network.Google.Prelude
17+
18+-- | Configuration data for an Ad Exchange buyer account.
19+--
20+-- /See:/ 'account' smart constructor.
21+data Account = Account
22+ { _aMaximumTotalQps :: !(Maybe Int32)
23+ , _aKind :: !Text
24+ , _aCookieMatchingUrl :: !(Maybe Text)
25+ , _aMaximumActiveCreatives :: !(Maybe Int32)
26+ , _aCookieMatchingNid :: !(Maybe Text)
27+ , _aNumberActiveCreatives :: !(Maybe Int32)
28+ , _aId :: !(Maybe Int32)
29+ , _aBidderLocation :: !(Maybe [AccountItemBidderLocation])
30+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
31+
32+-- | Creates a value of 'Account' with the minimum fields required to make a request.
33+--
34+-- Use one of the following lenses to modify other fields as desired:
35+--
36+-- * 'aMaximumTotalQps'
37+--
38+-- * 'aKind'
39+--
40+-- * 'aCookieMatchingUrl'
41+--
42+-- * 'aMaximumActiveCreatives'
43+--
44+-- * 'aCookieMatchingNid'
45+--
46+-- * 'aNumberActiveCreatives'
47+--
48+-- * 'aId'
49+--
50+-- * 'aBidderLocation'
51+account
52+ :: Account
53+account =
54+ Account
55+ { _aMaximumTotalQps = Nothing
56+ , _aKind = "adexchangebuyer#account"
57+ , _aCookieMatchingUrl = Nothing
58+ , _aMaximumActiveCreatives = Nothing
59+ , _aCookieMatchingNid = Nothing
60+ , _aNumberActiveCreatives = Nothing
61+ , _aId = Nothing
62+ , _aBidderLocation = Nothing
63+ }
64+
65+-- | The sum of all bidderLocation.maximumQps values cannot exceed this.
66+-- Please contact your technical account manager if you need to change
67+-- this.
68+aMaximumTotalQps :: Lens' Account (Maybe Int32)
69+aMaximumTotalQps
70+ = lens _aMaximumTotalQps
71+ (\ s a -> s{_aMaximumTotalQps = a})
72+
73+-- | Resource type.
74+aKind :: Lens' Account Text
75+aKind = lens _aKind (\ s a -> s{_aKind = a})
76+
77+-- | The base URL used in cookie match requests.
78+aCookieMatchingUrl :: Lens' Account (Maybe Text)
79+aCookieMatchingUrl
80+ = lens _aCookieMatchingUrl
81+ (\ s a -> s{_aCookieMatchingUrl = a})
82+
83+-- | The maximum number of active creatives that an account can have, where a
84+-- creative is active if it was inserted or bid with in the last 30 days.
85+-- Please contact your technical account manager if you need to change
86+-- this.
87+aMaximumActiveCreatives :: Lens' Account (Maybe Int32)
88+aMaximumActiveCreatives
89+ = lens _aMaximumActiveCreatives
90+ (\ s a -> s{_aMaximumActiveCreatives = a})
91+
92+-- | The nid parameter value used in cookie match requests. Please contact
93+-- your technical account manager if you need to change this.
94+aCookieMatchingNid :: Lens' Account (Maybe Text)
95+aCookieMatchingNid
96+ = lens _aCookieMatchingNid
97+ (\ s a -> s{_aCookieMatchingNid = a})
98+
99+-- | The number of creatives that this account inserted or bid with in the
100+-- last 30 days.
101+aNumberActiveCreatives :: Lens' Account (Maybe Int32)
102+aNumberActiveCreatives
103+ = lens _aNumberActiveCreatives
104+ (\ s a -> s{_aNumberActiveCreatives = a})
105+
106+-- | Account id.
107+aId :: Lens' Account (Maybe Int32)
108+aId = lens _aId (\ s a -> s{_aId = a})
109+
110+-- | Your bidder locations that have distinct URLs.
111+aBidderLocation :: Lens' Account [AccountItemBidderLocation]
112+aBidderLocation
113+ = lens _aBidderLocation
114+ (\ s a -> s{_aBidderLocation = a})
115+ . _Default
116+ . _Coerce
117+
118+--
119+-- /See:/ 'accountItemBidderLocation' smart constructor.
120+data AccountItemBidderLocation = AccountItemBidderLocation
121+ { _aiblUrl :: !(Maybe Text)
122+ , _aiblMaximumQps :: !(Maybe Int32)
123+ , _aiblRegion :: !(Maybe Text)
124+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
125+
126+-- | Creates a value of 'AccountItemBidderLocation' with the minimum fields required to make a request.
127+--
128+-- Use one of the following lenses to modify other fields as desired:
129+--
130+-- * 'aiblUrl'
131+--
132+-- * 'aiblMaximumQps'
133+--
134+-- * 'aiblRegion'
135+accountItemBidderLocation
136+ :: AccountItemBidderLocation
137+accountItemBidderLocation =
138+ AccountItemBidderLocation
139+ { _aiblUrl = Nothing
140+ , _aiblMaximumQps = Nothing
141+ , _aiblRegion = Nothing
142+ }
143+
144+-- | The URL to which the Ad Exchange will send bid requests.
145+aiblUrl :: Lens' AccountItemBidderLocation (Maybe Text)
146+aiblUrl = lens _aiblUrl (\ s a -> s{_aiblUrl = a})
147+
148+-- | The maximum queries per second the Ad Exchange will send.
149+aiblMaximumQps :: Lens' AccountItemBidderLocation (Maybe Int32)
150+aiblMaximumQps
151+ = lens _aiblMaximumQps
152+ (\ s a -> s{_aiblMaximumQps = a})
153+
154+-- | The geographical region the Ad Exchange should send requests from. Only
155+-- used by some quota systems, but always setting the value is recommended.
156+-- Allowed values: - ASIA - EUROPE - US_EAST - US_WEST
157+aiblRegion :: Lens' AccountItemBidderLocation (Maybe Text)
158+aiblRegion
159+ = lens _aiblRegion (\ s a -> s{_aiblRegion = a})
160+
161+-- | An account feed lists Ad Exchange buyer accounts that the user has
162+-- access to. Each entry in the feed corresponds to a single buyer account.
163+--
164+-- /See:/ 'accountsList' smart constructor.
165+data AccountsList = AccountsList
166+ { _alKind :: !Text
167+ , _alItems :: !(Maybe [Maybe Account])
168+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
169+
170+-- | Creates a value of 'AccountsList' with the minimum fields required to make a request.
171+--
172+-- Use one of the following lenses to modify other fields as desired:
173+--
174+-- * 'alKind'
175+--
176+-- * 'alItems'
177+accountsList
178+ :: AccountsList
179+accountsList =
180+ AccountsList
181+ { _alKind = "adexchangebuyer#accountsList"
182+ , _alItems = Nothing
183+ }
184+
185+-- | Resource type.
186+alKind :: Lens' AccountsList Text
187+alKind = lens _alKind (\ s a -> s{_alKind = a})
188+
189+-- | A list of accounts.
190+alItems :: Lens' AccountsList [Maybe Account]
191+alItems
192+ = lens _alItems (\ s a -> s{_alItems = a}) . _Default
193+ . _Coerce
194+
195+--
196+-- /See:/ 'adSize' smart constructor.
197+data AdSize = AdSize
198+ { _asHeight :: !(Maybe Int32)
199+ , _asWidth :: !(Maybe Int32)
200+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
201+
202+-- | Creates a value of 'AdSize' with the minimum fields required to make a request.
203+--
204+-- Use one of the following lenses to modify other fields as desired:
205+--
206+-- * 'asHeight'
207+--
208+-- * 'asWidth'
209+adSize
210+ :: AdSize
211+adSize =
212+ AdSize
213+ { _asHeight = Nothing
214+ , _asWidth = Nothing
215+ }
216+
217+asHeight :: Lens' AdSize (Maybe Int32)
218+asHeight = lens _asHeight (\ s a -> s{_asHeight = a})
219+
220+asWidth :: Lens' AdSize (Maybe Int32)
221+asWidth = lens _asWidth (\ s a -> s{_asWidth = a})
222+
223+--
224+-- /See:/ 'adSlotDto' smart constructor.
225+data AdSlotDto = AdSlotDto
226+ { _asdWebPropertyId :: !(Maybe Int32)
227+ , _asdSize :: !(Maybe Text)
228+ , _asdChannelCode :: !(Maybe Text)
229+ , _asdChannelId :: !(Maybe Int32)
230+ , _asdName :: !(Maybe Text)
231+ , _asdDescription :: !(Maybe Text)
232+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
233+
234+-- | Creates a value of 'AdSlotDto' with the minimum fields required to make a request.
235+--
236+-- Use one of the following lenses to modify other fields as desired:
237+--
238+-- * 'asdWebPropertyId'
239+--
240+-- * 'asdSize'
241+--
242+-- * 'asdChannelCode'
243+--
244+-- * 'asdChannelId'
245+--
246+-- * 'asdName'
247+--
248+-- * 'asdDescription'
249+adSlotDto
250+ :: AdSlotDto
251+adSlotDto =
252+ AdSlotDto
253+ { _asdWebPropertyId = Nothing
254+ , _asdSize = Nothing
255+ , _asdChannelCode = Nothing
256+ , _asdChannelId = Nothing
257+ , _asdName = Nothing
258+ , _asdDescription = Nothing
259+ }
260+
261+asdWebPropertyId :: Lens' AdSlotDto (Maybe Int32)
262+asdWebPropertyId
263+ = lens _asdWebPropertyId
264+ (\ s a -> s{_asdWebPropertyId = a})
265+
266+asdSize :: Lens' AdSlotDto (Maybe Text)
267+asdSize = lens _asdSize (\ s a -> s{_asdSize = a})
268+
269+asdChannelCode :: Lens' AdSlotDto (Maybe Text)
270+asdChannelCode
271+ = lens _asdChannelCode
272+ (\ s a -> s{_asdChannelCode = a})
273+
274+asdChannelId :: Lens' AdSlotDto (Maybe Int32)
275+asdChannelId
276+ = lens _asdChannelId (\ s a -> s{_asdChannelId = a})
277+
278+asdName :: Lens' AdSlotDto (Maybe Text)
279+asdName = lens _asdName (\ s a -> s{_asdName = a})
280+
281+asdDescription :: Lens' AdSlotDto (Maybe Text)
282+asdDescription
283+ = lens _asdDescription
284+ (\ s a -> s{_asdDescription = a})
285+
286+--
287+-- /See:/ 'addOrderDealsRequest' smart constructor.
288+data AddOrderDealsRequest = AddOrderDealsRequest
289+ { _aodrUpdateAction :: !(Maybe Text)
290+ , _aodrDeals :: !(Maybe [Maybe MarketplaceDeal])
291+ , _aodrOrderRevisionNumber :: !(Maybe Int64)
292+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
293+
294+-- | Creates a value of 'AddOrderDealsRequest' with the minimum fields required to make a request.
295+--
296+-- Use one of the following lenses to modify other fields as desired:
297+--
298+-- * 'aodrUpdateAction'
299+--
300+-- * 'aodrDeals'
301+--
302+-- * 'aodrOrderRevisionNumber'
303+addOrderDealsRequest
304+ :: AddOrderDealsRequest
305+addOrderDealsRequest =
306+ AddOrderDealsRequest
307+ { _aodrUpdateAction = Nothing
308+ , _aodrDeals = Nothing
309+ , _aodrOrderRevisionNumber = Nothing
310+ }
311+
312+-- | Indicates an optional action to take on the order
313+aodrUpdateAction :: Lens' AddOrderDealsRequest (Maybe Text)
314+aodrUpdateAction
315+ = lens _aodrUpdateAction
316+ (\ s a -> s{_aodrUpdateAction = a})
317+
318+-- | The list of deals to add
319+aodrDeals :: Lens' AddOrderDealsRequest [Maybe MarketplaceDeal]
320+aodrDeals
321+ = lens _aodrDeals (\ s a -> s{_aodrDeals = a}) .
322+ _Default
323+ . _Coerce
324+
325+-- | The last known order revision number.
326+aodrOrderRevisionNumber :: Lens' AddOrderDealsRequest (Maybe Int64)
327+aodrOrderRevisionNumber
328+ = lens _aodrOrderRevisionNumber
329+ (\ s a -> s{_aodrOrderRevisionNumber = a})
330+
331+--
332+-- /See:/ 'addOrderDealsResponse' smart constructor.
333+data AddOrderDealsResponse = AddOrderDealsResponse
334+ { _aDeals :: !(Maybe [Maybe MarketplaceDeal])
335+ , _aOrderRevisionNumber :: !(Maybe Int64)
336+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
337+
338+-- | Creates a value of 'AddOrderDealsResponse' with the minimum fields required to make a request.
339+--
340+-- Use one of the following lenses to modify other fields as desired:
341+--
342+-- * 'aDeals'
343+--
344+-- * 'aOrderRevisionNumber'
345+addOrderDealsResponse
346+ :: AddOrderDealsResponse
347+addOrderDealsResponse =
348+ AddOrderDealsResponse
349+ { _aDeals = Nothing
350+ , _aOrderRevisionNumber = Nothing
351+ }
352+
353+-- | List of deals added (in the same order as passed in the request)
354+aDeals :: Lens' AddOrderDealsResponse [Maybe MarketplaceDeal]
355+aDeals
356+ = lens _aDeals (\ s a -> s{_aDeals = a}) . _Default .
357+ _Coerce
358+
359+-- | The updated revision number for the order.
360+aOrderRevisionNumber :: Lens' AddOrderDealsResponse (Maybe Int64)
361+aOrderRevisionNumber
362+ = lens _aOrderRevisionNumber
363+ (\ s a -> s{_aOrderRevisionNumber = a})
364+
365+--
366+-- /See:/ 'addOrderNotesRequest' smart constructor.
367+newtype AddOrderNotesRequest = AddOrderNotesRequest
368+ { _aNotes :: Maybe [Maybe MarketplaceNote]
369+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
370+
371+-- | Creates a value of 'AddOrderNotesRequest' with the minimum fields required to make a request.
372+--
373+-- Use one of the following lenses to modify other fields as desired:
374+--
375+-- * 'aNotes'
376+addOrderNotesRequest
377+ :: AddOrderNotesRequest
378+addOrderNotesRequest =
379+ AddOrderNotesRequest
380+ { _aNotes = Nothing
381+ }
382+
383+-- | The list of notes to add.
384+aNotes :: Lens' AddOrderNotesRequest [Maybe MarketplaceNote]
385+aNotes
386+ = lens _aNotes (\ s a -> s{_aNotes = a}) . _Default .
387+ _Coerce
388+
389+--
390+-- /See:/ 'addOrderNotesResponse' smart constructor.
391+newtype AddOrderNotesResponse = AddOrderNotesResponse
392+ { _aonrNotes :: Maybe [Maybe MarketplaceNote]
393+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
394+
395+-- | Creates a value of 'AddOrderNotesResponse' with the minimum fields required to make a request.
396+--
397+-- Use one of the following lenses to modify other fields as desired:
398+--
399+-- * 'aonrNotes'
400+addOrderNotesResponse
401+ :: AddOrderNotesResponse
402+addOrderNotesResponse =
403+ AddOrderNotesResponse
404+ { _aonrNotes = Nothing
405+ }
406+
407+aonrNotes :: Lens' AddOrderNotesResponse [Maybe MarketplaceNote]
408+aonrNotes
409+ = lens _aonrNotes (\ s a -> s{_aonrNotes = a}) .
410+ _Default
411+ . _Coerce
412+
413+--
414+-- /See:/ 'advertiserDto' smart constructor.
415+data AdvertiserDto = AdvertiserDto
416+ { _adStatus :: !(Maybe Text)
417+ , _adBrands :: !(Maybe [Maybe BrandDto])
418+ , _adName :: !(Maybe Text)
419+ , _adId :: !(Maybe Int64)
420+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
421+
422+-- | Creates a value of 'AdvertiserDto' with the minimum fields required to make a request.
423+--
424+-- Use one of the following lenses to modify other fields as desired:
425+--
426+-- * 'adStatus'
427+--
428+-- * 'adBrands'
429+--
430+-- * 'adName'
431+--
432+-- * 'adId'
433+advertiserDto
434+ :: AdvertiserDto
435+advertiserDto =
436+ AdvertiserDto
437+ { _adStatus = Nothing
438+ , _adBrands = Nothing
439+ , _adName = Nothing
440+ , _adId = Nothing
441+ }
442+
443+adStatus :: Lens' AdvertiserDto (Maybe Text)
444+adStatus = lens _adStatus (\ s a -> s{_adStatus = a})
445+
446+adBrands :: Lens' AdvertiserDto [Maybe BrandDto]
447+adBrands
448+ = lens _adBrands (\ s a -> s{_adBrands = a}) .
449+ _Default
450+ . _Coerce
451+
452+adName :: Lens' AdvertiserDto (Maybe Text)
453+adName = lens _adName (\ s a -> s{_adName = a})
454+
455+adId :: Lens' AdvertiserDto (Maybe Int64)
456+adId = lens _adId (\ s a -> s{_adId = a})
457+
458+--
459+-- /See:/ 'audienceSegment' smart constructor.
460+data AudienceSegment = AudienceSegment
461+ { _asNumCookies :: !(Maybe Int64)
462+ , _asName :: !(Maybe Text)
463+ , _asId :: !(Maybe Int64)
464+ , _asDescription :: !(Maybe Text)
465+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
466+
467+-- | Creates a value of 'AudienceSegment' with the minimum fields required to make a request.
468+--
469+-- Use one of the following lenses to modify other fields as desired:
470+--
471+-- * 'asNumCookies'
472+--
473+-- * 'asName'
474+--
475+-- * 'asId'
476+--
477+-- * 'asDescription'
478+audienceSegment
479+ :: AudienceSegment
480+audienceSegment =
481+ AudienceSegment
482+ { _asNumCookies = Nothing
483+ , _asName = Nothing
484+ , _asId = Nothing
485+ , _asDescription = Nothing
486+ }
487+
488+asNumCookies :: Lens' AudienceSegment (Maybe Int64)
489+asNumCookies
490+ = lens _asNumCookies (\ s a -> s{_asNumCookies = a})
491+
492+asName :: Lens' AudienceSegment (Maybe Text)
493+asName = lens _asName (\ s a -> s{_asName = a})
494+
495+asId :: Lens' AudienceSegment (Maybe Int64)
496+asId = lens _asId (\ s a -> s{_asId = a})
497+
498+asDescription :: Lens' AudienceSegment (Maybe Text)
499+asDescription
500+ = lens _asDescription
501+ (\ s a -> s{_asDescription = a})
502+
503+-- | The configuration data for an Ad Exchange billing info.
504+--
505+-- /See:/ 'billingInfo' smart constructor.
506+data BillingInfo = BillingInfo
507+ { _biKind :: !Text
508+ , _biAccountName :: !(Maybe Text)
509+ , _biAccountId :: !(Maybe Int32)
510+ , _biBillingId :: !(Maybe [Text])
511+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
512+
513+-- | Creates a value of 'BillingInfo' with the minimum fields required to make a request.
514+--
515+-- Use one of the following lenses to modify other fields as desired:
516+--
517+-- * 'biKind'
518+--
519+-- * 'biAccountName'
520+--
521+-- * 'biAccountId'
522+--
523+-- * 'biBillingId'
524+billingInfo
525+ :: BillingInfo
526+billingInfo =
527+ BillingInfo
528+ { _biKind = "adexchangebuyer#billingInfo"
529+ , _biAccountName = Nothing
530+ , _biAccountId = Nothing
531+ , _biBillingId = Nothing
532+ }
533+
534+-- | Resource type.
535+biKind :: Lens' BillingInfo Text
536+biKind = lens _biKind (\ s a -> s{_biKind = a})
537+
538+-- | Account name.
539+biAccountName :: Lens' BillingInfo (Maybe Text)
540+biAccountName
541+ = lens _biAccountName
542+ (\ s a -> s{_biAccountName = a})
543+
544+-- | Account id.
545+biAccountId :: Lens' BillingInfo (Maybe Int32)
546+biAccountId
547+ = lens _biAccountId (\ s a -> s{_biAccountId = a})
548+
549+-- | A list of adgroup IDs associated with this particular account. These IDs
550+-- may show up as part of a realtime bidding BidRequest, which indicates a
551+-- bid request for this account.
552+biBillingId :: Lens' BillingInfo [Text]
553+biBillingId
554+ = lens _biBillingId (\ s a -> s{_biBillingId = a}) .
555+ _Default
556+ . _Coerce
557+
558+-- | A billing info feed lists Billing Info the Ad Exchange buyer account has
559+-- access to. Each entry in the feed corresponds to a single billing info.
560+--
561+-- /See:/ 'billingInfoList' smart constructor.
562+data BillingInfoList = BillingInfoList
563+ { _bilKind :: !Text
564+ , _bilItems :: !(Maybe [Maybe BillingInfo])
565+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
566+
567+-- | Creates a value of 'BillingInfoList' with the minimum fields required to make a request.
568+--
569+-- Use one of the following lenses to modify other fields as desired:
570+--
571+-- * 'bilKind'
572+--
573+-- * 'bilItems'
574+billingInfoList
575+ :: BillingInfoList
576+billingInfoList =
577+ BillingInfoList
578+ { _bilKind = "adexchangebuyer#billingInfoList"
579+ , _bilItems = Nothing
580+ }
581+
582+-- | Resource type.
583+bilKind :: Lens' BillingInfoList Text
584+bilKind = lens _bilKind (\ s a -> s{_bilKind = a})
585+
586+-- | A list of billing info relevant for your account.
587+bilItems :: Lens' BillingInfoList [Maybe BillingInfo]
588+bilItems
589+ = lens _bilItems (\ s a -> s{_bilItems = a}) .
590+ _Default
591+ . _Coerce
592+
593+--
594+-- /See:/ 'brandDto' smart constructor.
595+data BrandDto = BrandDto
596+ { _bAdvertiserId :: !(Maybe Int64)
597+ , _bName :: !(Maybe Text)
598+ , _bId :: !(Maybe Int64)
599+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
600+
601+-- | Creates a value of 'BrandDto' with the minimum fields required to make a request.
602+--
603+-- Use one of the following lenses to modify other fields as desired:
604+--
605+-- * 'bAdvertiserId'
606+--
607+-- * 'bName'
608+--
609+-- * 'bId'
610+brandDto
611+ :: BrandDto
612+brandDto =
613+ BrandDto
614+ { _bAdvertiserId = Nothing
615+ , _bName = Nothing
616+ , _bId = Nothing
617+ }
618+
619+bAdvertiserId :: Lens' BrandDto (Maybe Int64)
620+bAdvertiserId
621+ = lens _bAdvertiserId
622+ (\ s a -> s{_bAdvertiserId = a})
623+
624+bName :: Lens' BrandDto (Maybe Text)
625+bName = lens _bName (\ s a -> s{_bName = a})
626+
627+bId :: Lens' BrandDto (Maybe Int64)
628+bId = lens _bId (\ s a -> s{_bId = a})
629+
630+-- | The configuration data for Ad Exchange RTB - Budget API.
631+--
632+-- /See:/ 'budget' smart constructor.
633+data Budget = Budget
634+ { _budCurrencyCode :: !(Maybe Text)
635+ , _budKind :: !Text
636+ , _budBudgetAmount :: !(Maybe Int64)
637+ , _budAccountId :: !(Maybe Int64)
638+ , _budId :: !(Maybe Text)
639+ , _budBillingId :: !(Maybe Int64)
640+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
641+
642+-- | Creates a value of 'Budget' with the minimum fields required to make a request.
643+--
644+-- Use one of the following lenses to modify other fields as desired:
645+--
646+-- * 'budCurrencyCode'
647+--
648+-- * 'budKind'
649+--
650+-- * 'budBudgetAmount'
651+--
652+-- * 'budAccountId'
653+--
654+-- * 'budId'
655+--
656+-- * 'budBillingId'
657+budget
658+ :: Budget
659+budget =
660+ Budget
661+ { _budCurrencyCode = Nothing
662+ , _budKind = "adexchangebuyer#budget"
663+ , _budBudgetAmount = Nothing
664+ , _budAccountId = Nothing
665+ , _budId = Nothing
666+ , _budBillingId = Nothing
667+ }
668+
669+-- | The currency code for the buyer. This cannot be altered here.
670+budCurrencyCode :: Lens' Budget (Maybe Text)
671+budCurrencyCode
672+ = lens _budCurrencyCode
673+ (\ s a -> s{_budCurrencyCode = a})
674+
675+-- | The kind of the resource, i.e. \"adexchangebuyer#budget\".
676+budKind :: Lens' Budget Text
677+budKind = lens _budKind (\ s a -> s{_budKind = a})
678+
679+-- | The budget amount to apply for the billingId provided. This is required
680+-- for update requests.
681+budBudgetAmount :: Lens' Budget (Maybe Int64)
682+budBudgetAmount
683+ = lens _budBudgetAmount
684+ (\ s a -> s{_budBudgetAmount = a})
685+
686+-- | The id of the account. This is required for get and update requests.
687+budAccountId :: Lens' Budget (Maybe Int64)
688+budAccountId
689+ = lens _budAccountId (\ s a -> s{_budAccountId = a})
690+
691+-- | The unique id that describes this item.
692+budId :: Lens' Budget (Maybe Text)
693+budId = lens _budId (\ s a -> s{_budId = a})
694+
695+-- | The billing id to determine which adgroup to provide budget information
696+-- for. This is required for get and update requests.
697+budBillingId :: Lens' Budget (Maybe Int64)
698+budBillingId
699+ = lens _budBillingId (\ s a -> s{_budBillingId = a})
700+
701+--
702+-- /See:/ 'buyer' smart constructor.
703+newtype Buyer = Buyer
704+ { _bAccountId :: Maybe Text
705+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
706+
707+-- | Creates a value of 'Buyer' with the minimum fields required to make a request.
708+--
709+-- Use one of the following lenses to modify other fields as desired:
710+--
711+-- * 'bAccountId'
712+buyer
713+ :: Buyer
714+buyer =
715+ Buyer
716+ { _bAccountId = Nothing
717+ }
718+
719+-- | Adx account id of the buyer.
720+bAccountId :: Lens' Buyer (Maybe Text)
721+bAccountId
722+ = lens _bAccountId (\ s a -> s{_bAccountId = a})
723+
724+--
725+-- /See:/ 'buyerDto' smart constructor.
726+data BuyerDto = BuyerDto
727+ { _bdSponsorAccountId :: !(Maybe Int32)
728+ , _bdEnabledForInterestTargetingDeals :: !(Maybe Bool)
729+ , _bdCustomerId :: !(Maybe Int32)
730+ , _bdEnabledForPreferredDeals :: !(Maybe Bool)
731+ , _bdAccountId :: !(Maybe Int32)
732+ , _bdDisplayName :: !(Maybe Text)
733+ , _bdId :: !(Maybe Int32)
734+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
735+
736+-- | Creates a value of 'BuyerDto' with the minimum fields required to make a request.
737+--
738+-- Use one of the following lenses to modify other fields as desired:
739+--
740+-- * 'bdSponsorAccountId'
741+--
742+-- * 'bdEnabledForInterestTargetingDeals'
743+--
744+-- * 'bdCustomerId'
745+--
746+-- * 'bdEnabledForPreferredDeals'
747+--
748+-- * 'bdAccountId'
749+--
750+-- * 'bdDisplayName'
751+--
752+-- * 'bdId'
753+buyerDto
754+ :: BuyerDto
755+buyerDto =
756+ BuyerDto
757+ { _bdSponsorAccountId = Nothing
758+ , _bdEnabledForInterestTargetingDeals = Nothing
759+ , _bdCustomerId = Nothing
760+ , _bdEnabledForPreferredDeals = Nothing
761+ , _bdAccountId = Nothing
762+ , _bdDisplayName = Nothing
763+ , _bdId = Nothing
764+ }
765+
766+bdSponsorAccountId :: Lens' BuyerDto (Maybe Int32)
767+bdSponsorAccountId
768+ = lens _bdSponsorAccountId
769+ (\ s a -> s{_bdSponsorAccountId = a})
770+
771+bdEnabledForInterestTargetingDeals :: Lens' BuyerDto (Maybe Bool)
772+bdEnabledForInterestTargetingDeals
773+ = lens _bdEnabledForInterestTargetingDeals
774+ (\ s a -> s{_bdEnabledForInterestTargetingDeals = a})
775+
776+bdCustomerId :: Lens' BuyerDto (Maybe Int32)
777+bdCustomerId
778+ = lens _bdCustomerId (\ s a -> s{_bdCustomerId = a})
779+
780+bdEnabledForPreferredDeals :: Lens' BuyerDto (Maybe Bool)
781+bdEnabledForPreferredDeals
782+ = lens _bdEnabledForPreferredDeals
783+ (\ s a -> s{_bdEnabledForPreferredDeals = a})
784+
785+bdAccountId :: Lens' BuyerDto (Maybe Int32)
786+bdAccountId
787+ = lens _bdAccountId (\ s a -> s{_bdAccountId = a})
788+
789+bdDisplayName :: Lens' BuyerDto (Maybe Text)
790+bdDisplayName
791+ = lens _bdDisplayName
792+ (\ s a -> s{_bdDisplayName = a})
793+
794+bdId :: Lens' BuyerDto (Maybe Int32)
795+bdId = lens _bdId (\ s a -> s{_bdId = a})
796+
797+--
798+-- /See:/ 'clientAccessCapabilities' smart constructor.
799+data ClientAccessCapabilities = ClientAccessCapabilities
800+ { _cacClientAccountId :: !(Maybe Int64)
801+ , _cacCapabilities :: !(Maybe [Int32])
802+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
803+
804+-- | Creates a value of 'ClientAccessCapabilities' with the minimum fields required to make a request.
805+--
806+-- Use one of the following lenses to modify other fields as desired:
807+--
808+-- * 'cacClientAccountId'
809+--
810+-- * 'cacCapabilities'
811+clientAccessCapabilities
812+ :: ClientAccessCapabilities
813+clientAccessCapabilities =
814+ ClientAccessCapabilities
815+ { _cacClientAccountId = Nothing
816+ , _cacCapabilities = Nothing
817+ }
818+
819+cacClientAccountId :: Lens' ClientAccessCapabilities (Maybe Int64)
820+cacClientAccountId
821+ = lens _cacClientAccountId
822+ (\ s a -> s{_cacClientAccountId = a})
823+
824+cacCapabilities :: Lens' ClientAccessCapabilities [Int32]
825+cacCapabilities
826+ = lens _cacCapabilities
827+ (\ s a -> s{_cacCapabilities = a})
828+ . _Default
829+ . _Coerce
830+
831+--
832+-- /See:/ 'contactInformation' smart constructor.
833+data ContactInformation = ContactInformation
834+ { _ciEmail :: !(Maybe Text)
835+ , _ciName :: !(Maybe Text)
836+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
837+
838+-- | Creates a value of 'ContactInformation' with the minimum fields required to make a request.
839+--
840+-- Use one of the following lenses to modify other fields as desired:
841+--
842+-- * 'ciEmail'
843+--
844+-- * 'ciName'
845+contactInformation
846+ :: ContactInformation
847+contactInformation =
848+ ContactInformation
849+ { _ciEmail = Nothing
850+ , _ciName = Nothing
851+ }
852+
853+-- | Email address of the contact.
854+ciEmail :: Lens' ContactInformation (Maybe Text)
855+ciEmail = lens _ciEmail (\ s a -> s{_ciEmail = a})
856+
857+-- | The name of the contact.
858+ciName :: Lens' ContactInformation (Maybe Text)
859+ciName = lens _ciName (\ s a -> s{_ciName = a})
860+
861+--
862+-- /See:/ 'createOrdersRequest' smart constructor.
863+data CreateOrdersRequest = CreateOrdersRequest
864+ { _cWebPropertyCode :: !(Maybe Text)
865+ , _cOrders :: !(Maybe [Maybe MarketplaceOrder])
866+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
867+
868+-- | Creates a value of 'CreateOrdersRequest' with the minimum fields required to make a request.
869+--
870+-- Use one of the following lenses to modify other fields as desired:
871+--
872+-- * 'cWebPropertyCode'
873+--
874+-- * 'cOrders'
875+createOrdersRequest
876+ :: CreateOrdersRequest
877+createOrdersRequest =
878+ CreateOrdersRequest
879+ { _cWebPropertyCode = Nothing
880+ , _cOrders = Nothing
881+ }
882+
883+cWebPropertyCode :: Lens' CreateOrdersRequest (Maybe Text)
884+cWebPropertyCode
885+ = lens _cWebPropertyCode
886+ (\ s a -> s{_cWebPropertyCode = a})
887+
888+-- | The list of orders to create.
889+cOrders :: Lens' CreateOrdersRequest [Maybe MarketplaceOrder]
890+cOrders
891+ = lens _cOrders (\ s a -> s{_cOrders = a}) . _Default
892+ . _Coerce
893+
894+--
895+-- /See:/ 'createOrdersResponse' smart constructor.
896+newtype CreateOrdersResponse = CreateOrdersResponse
897+ { _corOrders :: Maybe [Maybe MarketplaceOrder]
898+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
899+
900+-- | Creates a value of 'CreateOrdersResponse' with the minimum fields required to make a request.
901+--
902+-- Use one of the following lenses to modify other fields as desired:
903+--
904+-- * 'corOrders'
905+createOrdersResponse
906+ :: CreateOrdersResponse
907+createOrdersResponse =
908+ CreateOrdersResponse
909+ { _corOrders = Nothing
910+ }
911+
912+-- | The list of orders successfully created.
913+corOrders :: Lens' CreateOrdersResponse [Maybe MarketplaceOrder]
914+corOrders
915+ = lens _corOrders (\ s a -> s{_corOrders = a}) .
916+ _Default
917+ . _Coerce
918+
919+-- | A creative and its classification data.
920+--
921+-- /See:/ 'creative' smart constructor.
922+data Creative = Creative
923+ { _cAttribute :: !(Maybe [Int32])
924+ , _cNativeAd :: !(Maybe CreativeNativeAd)
925+ , _cHeight :: !(Maybe Int32)
926+ , _cBuyerCreativeId :: !(Maybe Text)
927+ , _cAdvertiserName :: !(Maybe Text)
928+ , _cAgencyId :: !(Maybe Int64)
929+ , _cCorrections :: !(Maybe [CreativeItemCorrections])
930+ , _cProductCategories :: !(Maybe [Int32])
931+ , _cKind :: !Text
932+ , _cHTMLSnippet :: !(Maybe Text)
933+ , _cAdvertiserId :: !(Maybe [Int64])
934+ , _cRestrictedCategories :: !(Maybe [Int32])
935+ , _cDealsStatus :: !(Maybe Text)
936+ , _cWidth :: !(Maybe Int32)
937+ , _cClickThroughUrl :: !(Maybe [Text])
938+ , _cVendorType :: !(Maybe [Int32])
939+ , _cAccountId :: !(Maybe Int32)
940+ , _cImpressionTrackingUrl :: !(Maybe [Text])
941+ , _cFilteringReasons :: !(Maybe CreativeFilteringReasons)
942+ , _cVersion :: !(Maybe Int32)
943+ , _cSensitiveCategories :: !(Maybe [Int32])
944+ , _cVideoURL :: !(Maybe Text)
945+ , _cApiUploadTimestamp :: !(Maybe UTCTime)
946+ , _cServingRestrictions :: !(Maybe [CreativeItemServingRestrictions])
947+ , _cOpenAuctionStatus :: !(Maybe Text)
948+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
949+
950+-- | Creates a value of 'Creative' with the minimum fields required to make a request.
951+--
952+-- Use one of the following lenses to modify other fields as desired:
953+--
954+-- * 'cAttribute'
955+--
956+-- * 'cNativeAd'
957+--
958+-- * 'cHeight'
959+--
960+-- * 'cBuyerCreativeId'
961+--
962+-- * 'cAdvertiserName'
963+--
964+-- * 'cAgencyId'
965+--
966+-- * 'cCorrections'
967+--
968+-- * 'cProductCategories'
969+--
970+-- * 'cKind'
971+--
972+-- * 'cHTMLSnippet'
973+--
974+-- * 'cAdvertiserId'
975+--
976+-- * 'cRestrictedCategories'
977+--
978+-- * 'cDealsStatus'
979+--
980+-- * 'cWidth'
981+--
982+-- * 'cClickThroughUrl'
983+--
984+-- * 'cVendorType'
985+--
986+-- * 'cAccountId'
987+--
988+-- * 'cImpressionTrackingUrl'
989+--
990+-- * 'cFilteringReasons'
991+--
992+-- * 'cVersion'
993+--
994+-- * 'cSensitiveCategories'
995+--
996+-- * 'cVideoURL'
997+--
998+-- * 'cApiUploadTimestamp'
999+--
1000+-- * 'cServingRestrictions'
1001+--
1002+-- * 'cOpenAuctionStatus'
1003+creative
1004+ :: Creative
1005+creative =
1006+ Creative
1007+ { _cAttribute = Nothing
1008+ , _cNativeAd = Nothing
1009+ , _cHeight = Nothing
1010+ , _cBuyerCreativeId = Nothing
1011+ , _cAdvertiserName = Nothing
1012+ , _cAgencyId = Nothing
1013+ , _cCorrections = Nothing
1014+ , _cProductCategories = Nothing
1015+ , _cKind = "adexchangebuyer#creative"
1016+ , _cHTMLSnippet = Nothing
1017+ , _cAdvertiserId = Nothing
1018+ , _cRestrictedCategories = Nothing
1019+ , _cDealsStatus = Nothing
1020+ , _cWidth = Nothing
1021+ , _cClickThroughUrl = Nothing
1022+ , _cVendorType = Nothing
1023+ , _cAccountId = Nothing
1024+ , _cImpressionTrackingUrl = Nothing
1025+ , _cFilteringReasons = Nothing
1026+ , _cVersion = Nothing
1027+ , _cSensitiveCategories = Nothing
1028+ , _cVideoURL = Nothing
1029+ , _cApiUploadTimestamp = Nothing
1030+ , _cServingRestrictions = Nothing
1031+ , _cOpenAuctionStatus = Nothing
1032+ }
1033+
1034+-- | All attributes for the ads that may be shown from this snippet.
1035+cAttribute :: Lens' Creative [Int32]
1036+cAttribute
1037+ = lens _cAttribute (\ s a -> s{_cAttribute = a}) .
1038+ _Default
1039+ . _Coerce
1040+
1041+-- | If nativeAd is set, HTMLSnippet and videoURL should not be set.
1042+cNativeAd :: Lens' Creative (Maybe CreativeNativeAd)
1043+cNativeAd
1044+ = lens _cNativeAd (\ s a -> s{_cNativeAd = a})
1045+
1046+-- | Ad height.
1047+cHeight :: Lens' Creative (Maybe Int32)
1048+cHeight = lens _cHeight (\ s a -> s{_cHeight = a})
1049+
1050+-- | A buyer-specific id identifying the creative in this ad.
1051+cBuyerCreativeId :: Lens' Creative (Maybe Text)
1052+cBuyerCreativeId
1053+ = lens _cBuyerCreativeId
1054+ (\ s a -> s{_cBuyerCreativeId = a})
1055+
1056+-- | The name of the company being advertised in the creative.
1057+cAdvertiserName :: Lens' Creative (Maybe Text)
1058+cAdvertiserName
1059+ = lens _cAdvertiserName
1060+ (\ s a -> s{_cAdvertiserName = a})
1061+
1062+-- | The agency id for this creative.
1063+cAgencyId :: Lens' Creative (Maybe Int64)
1064+cAgencyId
1065+ = lens _cAgencyId (\ s a -> s{_cAgencyId = a})
1066+
1067+-- | Shows any corrections that were applied to this creative. Read-only.
1068+-- This field should not be set in requests.
1069+cCorrections :: Lens' Creative [CreativeItemCorrections]
1070+cCorrections
1071+ = lens _cCorrections (\ s a -> s{_cCorrections = a})
1072+ . _Default
1073+ . _Coerce
1074+
1075+-- | Detected product categories, if any. Read-only. This field should not be
1076+-- set in requests.
1077+cProductCategories :: Lens' Creative [Int32]
1078+cProductCategories
1079+ = lens _cProductCategories
1080+ (\ s a -> s{_cProductCategories = a})
1081+ . _Default
1082+ . _Coerce
1083+
1084+-- | Resource type.
1085+cKind :: Lens' Creative Text
1086+cKind = lens _cKind (\ s a -> s{_cKind = a})
1087+
1088+-- | The HTML snippet that displays the ad when inserted in the web page. If
1089+-- set, videoURL should not be set.
1090+cHTMLSnippet :: Lens' Creative (Maybe Text)
1091+cHTMLSnippet
1092+ = lens _cHTMLSnippet (\ s a -> s{_cHTMLSnippet = a})
1093+
1094+-- | Detected advertiser id, if any. Read-only. This field should not be set
1095+-- in requests.
1096+cAdvertiserId :: Lens' Creative [Int64]
1097+cAdvertiserId
1098+ = lens _cAdvertiserId
1099+ (\ s a -> s{_cAdvertiserId = a})
1100+ . _Default
1101+ . _Coerce
1102+
1103+-- | All restricted categories for the ads that may be shown from this
1104+-- snippet.
1105+cRestrictedCategories :: Lens' Creative [Int32]
1106+cRestrictedCategories
1107+ = lens _cRestrictedCategories
1108+ (\ s a -> s{_cRestrictedCategories = a})
1109+ . _Default
1110+ . _Coerce
1111+
1112+-- | Top-level deals status. Read-only. This field should not be set in
1113+-- requests. If disapproved, an entry for auctionType=DIRECT_DEALS (or ALL)
1114+-- in servingRestrictions will also exist. Note that this may be nuanced
1115+-- with other contextual restrictions, in which case it may be preferable
1116+-- to read from servingRestrictions directly.
1117+cDealsStatus :: Lens' Creative (Maybe Text)
1118+cDealsStatus
1119+ = lens _cDealsStatus (\ s a -> s{_cDealsStatus = a})
1120+
1121+-- | Ad width.
1122+cWidth :: Lens' Creative (Maybe Int32)
1123+cWidth = lens _cWidth (\ s a -> s{_cWidth = a})
1124+
1125+-- | The set of destination urls for the snippet.
1126+cClickThroughUrl :: Lens' Creative [Text]
1127+cClickThroughUrl
1128+ = lens _cClickThroughUrl
1129+ (\ s a -> s{_cClickThroughUrl = a})
1130+ . _Default
1131+ . _Coerce
1132+
1133+-- | All vendor types for the ads that may be shown from this snippet.
1134+cVendorType :: Lens' Creative [Int32]
1135+cVendorType
1136+ = lens _cVendorType (\ s a -> s{_cVendorType = a}) .
1137+ _Default
1138+ . _Coerce
1139+
1140+-- | Account id.
1141+cAccountId :: Lens' Creative (Maybe Int32)
1142+cAccountId
1143+ = lens _cAccountId (\ s a -> s{_cAccountId = a})
1144+
1145+-- | The set of urls to be called to record an impression.
1146+cImpressionTrackingUrl :: Lens' Creative [Text]
1147+cImpressionTrackingUrl
1148+ = lens _cImpressionTrackingUrl
1149+ (\ s a -> s{_cImpressionTrackingUrl = a})
1150+ . _Default
1151+ . _Coerce
1152+
1153+-- | The filtering reasons for the creative. Read-only. This field should not
1154+-- be set in requests.
1155+cFilteringReasons :: Lens' Creative (Maybe CreativeFilteringReasons)
1156+cFilteringReasons
1157+ = lens _cFilteringReasons
1158+ (\ s a -> s{_cFilteringReasons = a})
1159+
1160+-- | The version for this creative. Read-only. This field should not be set
1161+-- in requests.
1162+cVersion :: Lens' Creative (Maybe Int32)
1163+cVersion = lens _cVersion (\ s a -> s{_cVersion = a})
1164+
1165+-- | Detected sensitive categories, if any. Read-only. This field should not
1166+-- be set in requests.
1167+cSensitiveCategories :: Lens' Creative [Int32]
1168+cSensitiveCategories
1169+ = lens _cSensitiveCategories
1170+ (\ s a -> s{_cSensitiveCategories = a})
1171+ . _Default
1172+ . _Coerce
1173+
1174+-- | The url to fetch a video ad. If set, HTMLSnippet should not be set.
1175+cVideoURL :: Lens' Creative (Maybe Text)
1176+cVideoURL
1177+ = lens _cVideoURL (\ s a -> s{_cVideoURL = a})
1178+
1179+-- | The last upload timestamp of this creative if it was uploaded via API.
1180+-- Read-only. The value of this field is generated, and will be ignored for
1181+-- uploads. (formatted RFC 3339 timestamp).
1182+cApiUploadTimestamp :: Lens' Creative (Maybe UTCTime)
1183+cApiUploadTimestamp
1184+ = lens _cApiUploadTimestamp
1185+ (\ s a -> s{_cApiUploadTimestamp = a})
1186+
1187+-- | The granular status of this ad in specific contexts. A context here
1188+-- relates to where something ultimately serves (for example, a physical
1189+-- location, a platform, an HTTPS vs HTTP request, or the type of auction).
1190+-- Read-only. This field should not be set in requests.
1191+cServingRestrictions :: Lens' Creative [CreativeItemServingRestrictions]
1192+cServingRestrictions
1193+ = lens _cServingRestrictions
1194+ (\ s a -> s{_cServingRestrictions = a})
1195+ . _Default
1196+ . _Coerce
1197+
1198+-- | Top-level open auction status. Read-only. This field should not be set
1199+-- in requests. If disapproved, an entry for auctionType=OPEN_AUCTION (or
1200+-- ALL) in servingRestrictions will also exist. Note that this may be
1201+-- nuanced with other contextual restrictions, in which case it may be
1202+-- preferable to read from ServingRestrictions directly.
1203+cOpenAuctionStatus :: Lens' Creative (Maybe Text)
1204+cOpenAuctionStatus
1205+ = lens _cOpenAuctionStatus
1206+ (\ s a -> s{_cOpenAuctionStatus = a})
1207+
1208+-- | The app icon, for app download ads.
1209+--
1210+-- /See:/ 'creativeAppIconNativeAd' smart constructor.
1211+data CreativeAppIconNativeAd = CreativeAppIconNativeAd
1212+ { _cainaHeight :: !(Maybe Int32)
1213+ , _cainaUrl :: !(Maybe Text)
1214+ , _cainaWidth :: !(Maybe Int32)
1215+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
1216+
1217+-- | Creates a value of 'CreativeAppIconNativeAd' with the minimum fields required to make a request.
1218+--
1219+-- Use one of the following lenses to modify other fields as desired:
1220+--
1221+-- * 'cainaHeight'
1222+--
1223+-- * 'cainaUrl'
1224+--
1225+-- * 'cainaWidth'
1226+creativeAppIconNativeAd
1227+ :: CreativeAppIconNativeAd
1228+creativeAppIconNativeAd =
1229+ CreativeAppIconNativeAd
1230+ { _cainaHeight = Nothing
1231+ , _cainaUrl = Nothing
1232+ , _cainaWidth = Nothing
1233+ }
1234+
1235+cainaHeight :: Lens' CreativeAppIconNativeAd (Maybe Int32)
1236+cainaHeight
1237+ = lens _cainaHeight (\ s a -> s{_cainaHeight = a})
1238+
1239+cainaUrl :: Lens' CreativeAppIconNativeAd (Maybe Text)
1240+cainaUrl = lens _cainaUrl (\ s a -> s{_cainaUrl = a})
1241+
1242+cainaWidth :: Lens' CreativeAppIconNativeAd (Maybe Int32)
1243+cainaWidth
1244+ = lens _cainaWidth (\ s a -> s{_cainaWidth = a})
1245+
1246+-- | The filtering reasons for the creative. Read-only. This field should not
1247+-- be set in requests.
1248+--
1249+-- /See:/ 'creativeFilteringReasons' smart constructor.
1250+data CreativeFilteringReasons = CreativeFilteringReasons
1251+ { _cfrReasons :: !(Maybe [CreativeItemReasonsFilteringReasons])
1252+ , _cfrDate :: !(Maybe Text)
1253+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
1254+
1255+-- | Creates a value of 'CreativeFilteringReasons' with the minimum fields required to make a request.
1256+--
1257+-- Use one of the following lenses to modify other fields as desired:
1258+--
1259+-- * 'cfrReasons'
1260+--
1261+-- * 'cfrDate'
1262+creativeFilteringReasons
1263+ :: CreativeFilteringReasons
1264+creativeFilteringReasons =
1265+ CreativeFilteringReasons
1266+ { _cfrReasons = Nothing
1267+ , _cfrDate = Nothing
1268+ }
1269+
1270+-- | The filtering reasons.
1271+cfrReasons :: Lens' CreativeFilteringReasons [CreativeItemReasonsFilteringReasons]
1272+cfrReasons
1273+ = lens _cfrReasons (\ s a -> s{_cfrReasons = a}) .
1274+ _Default
1275+ . _Coerce
1276+
1277+-- | The date in ISO 8601 format for the data. The data is collected from
1278+-- 00:00:00 to 23:59:59 in PST.
1279+cfrDate :: Lens' CreativeFilteringReasons (Maybe Text)
1280+cfrDate = lens _cfrDate (\ s a -> s{_cfrDate = a})
1281+
1282+-- | A large image.
1283+--
1284+-- /See:/ 'creativeImageNativeAd' smart constructor.
1285+data CreativeImageNativeAd = CreativeImageNativeAd
1286+ { _cinaHeight :: !(Maybe Int32)
1287+ , _cinaUrl :: !(Maybe Text)
1288+ , _cinaWidth :: !(Maybe Int32)
1289+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
1290+
1291+-- | Creates a value of 'CreativeImageNativeAd' with the minimum fields required to make a request.
1292+--
1293+-- Use one of the following lenses to modify other fields as desired:
1294+--
1295+-- * 'cinaHeight'
1296+--
1297+-- * 'cinaUrl'
1298+--
1299+-- * 'cinaWidth'
1300+creativeImageNativeAd
1301+ :: CreativeImageNativeAd
1302+creativeImageNativeAd =
1303+ CreativeImageNativeAd
1304+ { _cinaHeight = Nothing
1305+ , _cinaUrl = Nothing
1306+ , _cinaWidth = Nothing
1307+ }
1308+
1309+cinaHeight :: Lens' CreativeImageNativeAd (Maybe Int32)
1310+cinaHeight
1311+ = lens _cinaHeight (\ s a -> s{_cinaHeight = a})
1312+
1313+cinaUrl :: Lens' CreativeImageNativeAd (Maybe Text)
1314+cinaUrl = lens _cinaUrl (\ s a -> s{_cinaUrl = a})
1315+
1316+cinaWidth :: Lens' CreativeImageNativeAd (Maybe Int32)
1317+cinaWidth
1318+ = lens _cinaWidth (\ s a -> s{_cinaWidth = a})
1319+
1320+--
1321+-- /See:/ 'creativeItemContextsItemServingRestrictions' smart constructor.
1322+data CreativeItemContextsItemServingRestrictions = CreativeItemContextsItemServingRestrictions
1323+ { _cicisrPlatform :: !(Maybe [Text])
1324+ , _cicisrContextType :: !(Maybe Text)
1325+ , _cicisrAuctionType :: !(Maybe [Text])
1326+ , _cicisrGeoCriteriaId :: !(Maybe [Int32])
1327+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
1328+
1329+-- | Creates a value of 'CreativeItemContextsItemServingRestrictions' with the minimum fields required to make a request.
1330+--
1331+-- Use one of the following lenses to modify other fields as desired:
1332+--
1333+-- * 'cicisrPlatform'
1334+--
1335+-- * 'cicisrContextType'
1336+--
1337+-- * 'cicisrAuctionType'
1338+--
1339+-- * 'cicisrGeoCriteriaId'
1340+creativeItemContextsItemServingRestrictions
1341+ :: CreativeItemContextsItemServingRestrictions
1342+creativeItemContextsItemServingRestrictions =
1343+ CreativeItemContextsItemServingRestrictions
1344+ { _cicisrPlatform = Nothing
1345+ , _cicisrContextType = Nothing
1346+ , _cicisrAuctionType = Nothing
1347+ , _cicisrGeoCriteriaId = Nothing
1348+ }
1349+
1350+-- | Only set when contextType=PLATFORM. Represents the platforms this
1351+-- restriction applies to.
1352+cicisrPlatform :: Lens' CreativeItemContextsItemServingRestrictions [Text]
1353+cicisrPlatform
1354+ = lens _cicisrPlatform
1355+ (\ s a -> s{_cicisrPlatform = a})
1356+ . _Default
1357+ . _Coerce
1358+
1359+-- | The type of context (e.g., location, platform, auction type, SSL-ness).
1360+cicisrContextType :: Lens' CreativeItemContextsItemServingRestrictions (Maybe Text)
1361+cicisrContextType
1362+ = lens _cicisrContextType
1363+ (\ s a -> s{_cicisrContextType = a})
1364+
1365+-- | Only set when contextType=AUCTION_TYPE. Represents the auction types
1366+-- this restriction applies to.
1367+cicisrAuctionType :: Lens' CreativeItemContextsItemServingRestrictions [Text]
1368+cicisrAuctionType
1369+ = lens _cicisrAuctionType
1370+ (\ s a -> s{_cicisrAuctionType = a})
1371+ . _Default
1372+ . _Coerce
1373+
1374+-- | Only set when contextType=LOCATION. Represents the geo criterias this
1375+-- restriction applies to.
1376+cicisrGeoCriteriaId :: Lens' CreativeItemContextsItemServingRestrictions [Int32]
1377+cicisrGeoCriteriaId
1378+ = lens _cicisrGeoCriteriaId
1379+ (\ s a -> s{_cicisrGeoCriteriaId = a})
1380+ . _Default
1381+ . _Coerce
1382+
1383+--
1384+-- /See:/ 'creativeItemCorrections' smart constructor.
1385+data CreativeItemCorrections = CreativeItemCorrections
1386+ { _cicReason :: !(Maybe Text)
1387+ , _cicDetails :: !(Maybe [Text])
1388+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
1389+
1390+-- | Creates a value of 'CreativeItemCorrections' with the minimum fields required to make a request.
1391+--
1392+-- Use one of the following lenses to modify other fields as desired:
1393+--
1394+-- * 'cicReason'
1395+--
1396+-- * 'cicDetails'
1397+creativeItemCorrections
1398+ :: CreativeItemCorrections
1399+creativeItemCorrections =
1400+ CreativeItemCorrections
1401+ { _cicReason = Nothing
1402+ , _cicDetails = Nothing
1403+ }
1404+
1405+-- | The type of correction that was applied to the creative.
1406+cicReason :: Lens' CreativeItemCorrections (Maybe Text)
1407+cicReason
1408+ = lens _cicReason (\ s a -> s{_cicReason = a})
1409+
1410+-- | Additional details about the correction.
1411+cicDetails :: Lens' CreativeItemCorrections [Text]
1412+cicDetails
1413+ = lens _cicDetails (\ s a -> s{_cicDetails = a}) .
1414+ _Default
1415+ . _Coerce
1416+
1417+--
1418+-- /See:/ 'creativeItemDisapprovalReasonsItemServingRestrictions' smart constructor.
1419+data CreativeItemDisapprovalReasonsItemServingRestrictions = CreativeItemDisapprovalReasonsItemServingRestrictions
1420+ { _cidrisrReason :: !(Maybe Text)
1421+ , _cidrisrDetails :: !(Maybe [Text])
1422+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
1423+
1424+-- | Creates a value of 'CreativeItemDisapprovalReasonsItemServingRestrictions' with the minimum fields required to make a request.
1425+--
1426+-- Use one of the following lenses to modify other fields as desired:
1427+--
1428+-- * 'cidrisrReason'
1429+--
1430+-- * 'cidrisrDetails'
1431+creativeItemDisapprovalReasonsItemServingRestrictions
1432+ :: CreativeItemDisapprovalReasonsItemServingRestrictions
1433+creativeItemDisapprovalReasonsItemServingRestrictions =
1434+ CreativeItemDisapprovalReasonsItemServingRestrictions
1435+ { _cidrisrReason = Nothing
1436+ , _cidrisrDetails = Nothing
1437+ }
1438+
1439+-- | The categorized reason for disapproval.
1440+cidrisrReason :: Lens' CreativeItemDisapprovalReasonsItemServingRestrictions (Maybe Text)
1441+cidrisrReason
1442+ = lens _cidrisrReason
1443+ (\ s a -> s{_cidrisrReason = a})
1444+
1445+-- | Additional details about the reason for disapproval.
1446+cidrisrDetails :: Lens' CreativeItemDisapprovalReasonsItemServingRestrictions [Text]
1447+cidrisrDetails
1448+ = lens _cidrisrDetails
1449+ (\ s a -> s{_cidrisrDetails = a})
1450+ . _Default
1451+ . _Coerce
1452+
1453+--
1454+-- /See:/ 'creativeItemReasonsFilteringReasons' smart constructor.
1455+data CreativeItemReasonsFilteringReasons = CreativeItemReasonsFilteringReasons
1456+ { _cirfrFilteringStatus :: !(Maybe Int32)
1457+ , _cirfrFilteringCount :: !(Maybe Int64)
1458+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
1459+
1460+-- | Creates a value of 'CreativeItemReasonsFilteringReasons' with the minimum fields required to make a request.
1461+--
1462+-- Use one of the following lenses to modify other fields as desired:
1463+--
1464+-- * 'cirfrFilteringStatus'
1465+--
1466+-- * 'cirfrFilteringCount'
1467+creativeItemReasonsFilteringReasons
1468+ :: CreativeItemReasonsFilteringReasons
1469+creativeItemReasonsFilteringReasons =
1470+ CreativeItemReasonsFilteringReasons
1471+ { _cirfrFilteringStatus = Nothing
1472+ , _cirfrFilteringCount = Nothing
1473+ }
1474+
1475+-- | The filtering status code. Please refer to the creative-status-codes.txt
1476+-- file for different statuses.
1477+cirfrFilteringStatus :: Lens' CreativeItemReasonsFilteringReasons (Maybe Int32)
1478+cirfrFilteringStatus
1479+ = lens _cirfrFilteringStatus
1480+ (\ s a -> s{_cirfrFilteringStatus = a})
1481+
1482+-- | The number of times the creative was filtered for the status. The count
1483+-- is aggregated across all publishers on the exchange.
1484+cirfrFilteringCount :: Lens' CreativeItemReasonsFilteringReasons (Maybe Int64)
1485+cirfrFilteringCount
1486+ = lens _cirfrFilteringCount
1487+ (\ s a -> s{_cirfrFilteringCount = a})
1488+
1489+--
1490+-- /See:/ 'creativeItemServingRestrictions' smart constructor.
1491+data CreativeItemServingRestrictions = CreativeItemServingRestrictions
1492+ { _cisrContexts :: !(Maybe [CreativeItemContextsItemServingRestrictions])
1493+ , _cisrReason :: !(Maybe Text)
1494+ , _cisrDisapprovalReasons :: !(Maybe [CreativeItemDisapprovalReasonsItemServingRestrictions])
1495+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
1496+
1497+-- | Creates a value of 'CreativeItemServingRestrictions' with the minimum fields required to make a request.
1498+--
1499+-- Use one of the following lenses to modify other fields as desired:
1500+--
1501+-- * 'cisrContexts'
1502+--
1503+-- * 'cisrReason'
1504+--
1505+-- * 'cisrDisapprovalReasons'
1506+creativeItemServingRestrictions
1507+ :: CreativeItemServingRestrictions
1508+creativeItemServingRestrictions =
1509+ CreativeItemServingRestrictions
1510+ { _cisrContexts = Nothing
1511+ , _cisrReason = Nothing
1512+ , _cisrDisapprovalReasons = Nothing
1513+ }
1514+
1515+-- | All known contexts\/restrictions.
1516+cisrContexts :: Lens' CreativeItemServingRestrictions [CreativeItemContextsItemServingRestrictions]
1517+cisrContexts
1518+ = lens _cisrContexts (\ s a -> s{_cisrContexts = a})
1519+ . _Default
1520+ . _Coerce
1521+
1522+-- | Why the creative is ineligible to serve in this context (e.g., it has
1523+-- been explicitly disapproved or is pending review).
1524+cisrReason :: Lens' CreativeItemServingRestrictions (Maybe Text)
1525+cisrReason
1526+ = lens _cisrReason (\ s a -> s{_cisrReason = a})
1527+
1528+-- | The reasons for disapproval within this restriction, if any. Note that
1529+-- not all disapproval reasons may be categorized, so it is possible for
1530+-- the creative to have a status of DISAPPROVED or CONDITIONALLY_APPROVED
1531+-- with an empty list for disapproval_reasons. In this case, please reach
1532+-- out to your TAM to help debug the issue.
1533+cisrDisapprovalReasons :: Lens' CreativeItemServingRestrictions [CreativeItemDisapprovalReasonsItemServingRestrictions]
1534+cisrDisapprovalReasons
1535+ = lens _cisrDisapprovalReasons
1536+ (\ s a -> s{_cisrDisapprovalReasons = a})
1537+ . _Default
1538+ . _Coerce
1539+
1540+-- | A smaller image, for the advertiser logo.
1541+--
1542+-- /See:/ 'creativeLogoNativeAd' smart constructor.
1543+data CreativeLogoNativeAd = CreativeLogoNativeAd
1544+ { _clnaHeight :: !(Maybe Int32)
1545+ , _clnaUrl :: !(Maybe Text)
1546+ , _clnaWidth :: !(Maybe Int32)
1547+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
1548+
1549+-- | Creates a value of 'CreativeLogoNativeAd' with the minimum fields required to make a request.
1550+--
1551+-- Use one of the following lenses to modify other fields as desired:
1552+--
1553+-- * 'clnaHeight'
1554+--
1555+-- * 'clnaUrl'
1556+--
1557+-- * 'clnaWidth'
1558+creativeLogoNativeAd
1559+ :: CreativeLogoNativeAd
1560+creativeLogoNativeAd =
1561+ CreativeLogoNativeAd
1562+ { _clnaHeight = Nothing
1563+ , _clnaUrl = Nothing
1564+ , _clnaWidth = Nothing
1565+ }
1566+
1567+clnaHeight :: Lens' CreativeLogoNativeAd (Maybe Int32)
1568+clnaHeight
1569+ = lens _clnaHeight (\ s a -> s{_clnaHeight = a})
1570+
1571+clnaUrl :: Lens' CreativeLogoNativeAd (Maybe Text)
1572+clnaUrl = lens _clnaUrl (\ s a -> s{_clnaUrl = a})
1573+
1574+clnaWidth :: Lens' CreativeLogoNativeAd (Maybe Int32)
1575+clnaWidth
1576+ = lens _clnaWidth (\ s a -> s{_clnaWidth = a})
1577+
1578+-- | If nativeAd is set, HTMLSnippet and videoURL should not be set.
1579+--
1580+-- /See:/ 'creativeNativeAd' smart constructor.
1581+data CreativeNativeAd = CreativeNativeAd
1582+ { _cnaImage :: !(Maybe CreativeImageNativeAd)
1583+ , _cnaAppIcon :: !(Maybe CreativeAppIconNativeAd)
1584+ , _cnaClickTrackingUrl :: !(Maybe Text)
1585+ , _cnaBody :: !(Maybe Text)
1586+ , _cnaHeadline :: !(Maybe Text)
1587+ , _cnaImpressionTrackingUrl :: !(Maybe [Text])
1588+ , _cnaCallToAction :: !(Maybe Text)
1589+ , _cnaStore :: !(Maybe Text)
1590+ , _cnaPrice :: !(Maybe Text)
1591+ , _cnaAdvertiser :: !(Maybe Text)
1592+ , _cnaStarRating :: !(Maybe Double)
1593+ , _cnaLogo :: !(Maybe CreativeLogoNativeAd)
1594+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
1595+
1596+-- | Creates a value of 'CreativeNativeAd' with the minimum fields required to make a request.
1597+--
1598+-- Use one of the following lenses to modify other fields as desired:
1599+--
1600+-- * 'cnaImage'
1601+--
1602+-- * 'cnaAppIcon'
1603+--
1604+-- * 'cnaClickTrackingUrl'
1605+--
1606+-- * 'cnaBody'
1607+--
1608+-- * 'cnaHeadline'
1609+--
1610+-- * 'cnaImpressionTrackingUrl'
1611+--
1612+-- * 'cnaCallToAction'
1613+--
1614+-- * 'cnaStore'
1615+--
1616+-- * 'cnaPrice'
1617+--
1618+-- * 'cnaAdvertiser'
1619+--
1620+-- * 'cnaStarRating'
1621+--
1622+-- * 'cnaLogo'
1623+creativeNativeAd
1624+ :: CreativeNativeAd
1625+creativeNativeAd =
1626+ CreativeNativeAd
1627+ { _cnaImage = Nothing
1628+ , _cnaAppIcon = Nothing
1629+ , _cnaClickTrackingUrl = Nothing
1630+ , _cnaBody = Nothing
1631+ , _cnaHeadline = Nothing
1632+ , _cnaImpressionTrackingUrl = Nothing
1633+ , _cnaCallToAction = Nothing
1634+ , _cnaStore = Nothing
1635+ , _cnaPrice = Nothing
1636+ , _cnaAdvertiser = Nothing
1637+ , _cnaStarRating = Nothing
1638+ , _cnaLogo = Nothing
1639+ }
1640+
1641+-- | A large image.
1642+cnaImage :: Lens' CreativeNativeAd (Maybe CreativeImageNativeAd)
1643+cnaImage = lens _cnaImage (\ s a -> s{_cnaImage = a})
1644+
1645+-- | The app icon, for app download ads.
1646+cnaAppIcon :: Lens' CreativeNativeAd (Maybe CreativeAppIconNativeAd)
1647+cnaAppIcon
1648+ = lens _cnaAppIcon (\ s a -> s{_cnaAppIcon = a})
1649+
1650+-- | The URL to use for click tracking.
1651+cnaClickTrackingUrl :: Lens' CreativeNativeAd (Maybe Text)
1652+cnaClickTrackingUrl
1653+ = lens _cnaClickTrackingUrl
1654+ (\ s a -> s{_cnaClickTrackingUrl = a})
1655+
1656+-- | A long description of the ad.
1657+cnaBody :: Lens' CreativeNativeAd (Maybe Text)
1658+cnaBody = lens _cnaBody (\ s a -> s{_cnaBody = a})
1659+
1660+-- | A short title for the ad.
1661+cnaHeadline :: Lens' CreativeNativeAd (Maybe Text)
1662+cnaHeadline
1663+ = lens _cnaHeadline (\ s a -> s{_cnaHeadline = a})
1664+
1665+-- | The URLs are called when the impression is rendered.
1666+cnaImpressionTrackingUrl :: Lens' CreativeNativeAd [Text]
1667+cnaImpressionTrackingUrl
1668+ = lens _cnaImpressionTrackingUrl
1669+ (\ s a -> s{_cnaImpressionTrackingUrl = a})
1670+ . _Default
1671+ . _Coerce
1672+
1673+-- | A label for the button that the user is supposed to click.
1674+cnaCallToAction :: Lens' CreativeNativeAd (Maybe Text)
1675+cnaCallToAction
1676+ = lens _cnaCallToAction
1677+ (\ s a -> s{_cnaCallToAction = a})
1678+
1679+-- | The URL to the app store to purchase\/download the promoted app.
1680+cnaStore :: Lens' CreativeNativeAd (Maybe Text)
1681+cnaStore = lens _cnaStore (\ s a -> s{_cnaStore = a})
1682+
1683+-- | The price of the promoted app including the currency info.
1684+cnaPrice :: Lens' CreativeNativeAd (Maybe Text)
1685+cnaPrice = lens _cnaPrice (\ s a -> s{_cnaPrice = a})
1686+
1687+cnaAdvertiser :: Lens' CreativeNativeAd (Maybe Text)
1688+cnaAdvertiser
1689+ = lens _cnaAdvertiser
1690+ (\ s a -> s{_cnaAdvertiser = a})
1691+
1692+-- | The app rating in the app store. Must be in the range [0-5].
1693+cnaStarRating :: Lens' CreativeNativeAd (Maybe Double)
1694+cnaStarRating
1695+ = lens _cnaStarRating
1696+ (\ s a -> s{_cnaStarRating = a})
1697+
1698+-- | A smaller image, for the advertiser logo.
1699+cnaLogo :: Lens' CreativeNativeAd (Maybe CreativeLogoNativeAd)
1700+cnaLogo = lens _cnaLogo (\ s a -> s{_cnaLogo = a})
1701+
1702+-- | The creatives feed lists the active creatives for the Ad Exchange buyer
1703+-- accounts that the user has access to. Each entry in the feed corresponds
1704+-- to a single creative.
1705+--
1706+-- /See:/ 'creativesList' smart constructor.
1707+data CreativesList = CreativesList
1708+ { _clNextPageToken :: !(Maybe Text)
1709+ , _clKind :: !Text
1710+ , _clItems :: !(Maybe [Maybe Creative])
1711+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
1712+
1713+-- | Creates a value of 'CreativesList' with the minimum fields required to make a request.
1714+--
1715+-- Use one of the following lenses to modify other fields as desired:
1716+--
1717+-- * 'clNextPageToken'
1718+--
1719+-- * 'clKind'
1720+--
1721+-- * 'clItems'
1722+creativesList
1723+ :: CreativesList
1724+creativesList =
1725+ CreativesList
1726+ { _clNextPageToken = Nothing
1727+ , _clKind = "adexchangebuyer#creativesList"
1728+ , _clItems = Nothing
1729+ }
1730+
1731+-- | Continuation token used to page through creatives. To retrieve the next
1732+-- page of results, set the next request\'s \"pageToken\" value to this.
1733+clNextPageToken :: Lens' CreativesList (Maybe Text)
1734+clNextPageToken
1735+ = lens _clNextPageToken
1736+ (\ s a -> s{_clNextPageToken = a})
1737+
1738+-- | Resource type.
1739+clKind :: Lens' CreativesList Text
1740+clKind = lens _clKind (\ s a -> s{_clKind = a})
1741+
1742+-- | A list of creatives.
1743+clItems :: Lens' CreativesList [Maybe Creative]
1744+clItems
1745+ = lens _clItems (\ s a -> s{_clItems = a}) . _Default
1746+ . _Coerce
1747+
1748+--
1749+-- /See:/ 'dateTime' smart constructor.
1750+data DateTime = DateTime
1751+ { _dtSecond :: !(Maybe Int32)
1752+ , _dtDay :: !(Maybe Int32)
1753+ , _dtYear :: !(Maybe Int32)
1754+ , _dtHour :: !(Maybe Int32)
1755+ , _dtMonth :: !(Maybe Int32)
1756+ , _dtMinute :: !(Maybe Int32)
1757+ , _dtTimeZoneId :: !(Maybe Text)
1758+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
1759+
1760+-- | Creates a value of 'DateTime' with the minimum fields required to make a request.
1761+--
1762+-- Use one of the following lenses to modify other fields as desired:
1763+--
1764+-- * 'dtSecond'
1765+--
1766+-- * 'dtDay'
1767+--
1768+-- * 'dtYear'
1769+--
1770+-- * 'dtHour'
1771+--
1772+-- * 'dtMonth'
1773+--
1774+-- * 'dtMinute'
1775+--
1776+-- * 'dtTimeZoneId'
1777+dateTime
1778+ :: DateTime
1779+dateTime =
1780+ DateTime
1781+ { _dtSecond = Nothing
1782+ , _dtDay = Nothing
1783+ , _dtYear = Nothing
1784+ , _dtHour = Nothing
1785+ , _dtMonth = Nothing
1786+ , _dtMinute = Nothing
1787+ , _dtTimeZoneId = Nothing
1788+ }
1789+
1790+dtSecond :: Lens' DateTime (Maybe Int32)
1791+dtSecond = lens _dtSecond (\ s a -> s{_dtSecond = a})
1792+
1793+dtDay :: Lens' DateTime (Maybe Int32)
1794+dtDay = lens _dtDay (\ s a -> s{_dtDay = a})
1795+
1796+dtYear :: Lens' DateTime (Maybe Int32)
1797+dtYear = lens _dtYear (\ s a -> s{_dtYear = a})
1798+
1799+dtHour :: Lens' DateTime (Maybe Int32)
1800+dtHour = lens _dtHour (\ s a -> s{_dtHour = a})
1801+
1802+dtMonth :: Lens' DateTime (Maybe Int32)
1803+dtMonth = lens _dtMonth (\ s a -> s{_dtMonth = a})
1804+
1805+dtMinute :: Lens' DateTime (Maybe Int32)
1806+dtMinute = lens _dtMinute (\ s a -> s{_dtMinute = a})
1807+
1808+dtTimeZoneId :: Lens' DateTime (Maybe Text)
1809+dtTimeZoneId
1810+ = lens _dtTimeZoneId (\ s a -> s{_dtTimeZoneId = a})
1811+
1812+--
1813+-- /See:/ 'dealPartyDto' smart constructor.
1814+data DealPartyDto = DealPartyDto
1815+ { _dpdBuyerSellerRole :: !(Maybe Text)
1816+ , _dpdCustomerId :: !(Maybe Int32)
1817+ , _dpdName :: !(Maybe Text)
1818+ , _dpdWebProperty :: !(Maybe (Maybe WebPropertyDto))
1819+ , _dpdBuyer :: !(Maybe (Maybe BuyerDto))
1820+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
1821+
1822+-- | Creates a value of 'DealPartyDto' with the minimum fields required to make a request.
1823+--
1824+-- Use one of the following lenses to modify other fields as desired:
1825+--
1826+-- * 'dpdBuyerSellerRole'
1827+--
1828+-- * 'dpdCustomerId'
1829+--
1830+-- * 'dpdName'
1831+--
1832+-- * 'dpdWebProperty'
1833+--
1834+-- * 'dpdBuyer'
1835+dealPartyDto
1836+ :: DealPartyDto
1837+dealPartyDto =
1838+ DealPartyDto
1839+ { _dpdBuyerSellerRole = Nothing
1840+ , _dpdCustomerId = Nothing
1841+ , _dpdName = Nothing
1842+ , _dpdWebProperty = Nothing
1843+ , _dpdBuyer = Nothing
1844+ }
1845+
1846+dpdBuyerSellerRole :: Lens' DealPartyDto (Maybe Text)
1847+dpdBuyerSellerRole
1848+ = lens _dpdBuyerSellerRole
1849+ (\ s a -> s{_dpdBuyerSellerRole = a})
1850+
1851+dpdCustomerId :: Lens' DealPartyDto (Maybe Int32)
1852+dpdCustomerId
1853+ = lens _dpdCustomerId
1854+ (\ s a -> s{_dpdCustomerId = a})
1855+
1856+dpdName :: Lens' DealPartyDto (Maybe Text)
1857+dpdName = lens _dpdName (\ s a -> s{_dpdName = a})
1858+
1859+dpdWebProperty :: Lens' DealPartyDto (Maybe (Maybe WebPropertyDto))
1860+dpdWebProperty
1861+ = lens _dpdWebProperty
1862+ (\ s a -> s{_dpdWebProperty = a})
1863+
1864+dpdBuyer :: Lens' DealPartyDto (Maybe (Maybe BuyerDto))
1865+dpdBuyer = lens _dpdBuyer (\ s a -> s{_dpdBuyer = a})
1866+
1867+--
1868+-- /See:/ 'dealTerms' smart constructor.
1869+data DealTerms = DealTerms
1870+ { _dtNonGuaranteedFixedPriceTerms :: !(Maybe (Maybe DealTermsNonGuaranteedFixedPriceTerms))
1871+ , _dtNonGuaranteedAuctionTerms :: !(Maybe (Maybe DealTermsNonGuaranteedAuctionTerms))
1872+ , _dtGuaranteedFixedPriceTerms :: !(Maybe (Maybe DealTermsGuaranteedFixedPriceTerms))
1873+ , _dtDescription :: !(Maybe Text)
1874+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
1875+
1876+-- | Creates a value of 'DealTerms' with the minimum fields required to make a request.
1877+--
1878+-- Use one of the following lenses to modify other fields as desired:
1879+--
1880+-- * 'dtNonGuaranteedFixedPriceTerms'
1881+--
1882+-- * 'dtNonGuaranteedAuctionTerms'
1883+--
1884+-- * 'dtGuaranteedFixedPriceTerms'
1885+--
1886+-- * 'dtDescription'
1887+dealTerms
1888+ :: DealTerms
1889+dealTerms =
1890+ DealTerms
1891+ { _dtNonGuaranteedFixedPriceTerms = Nothing
1892+ , _dtNonGuaranteedAuctionTerms = Nothing
1893+ , _dtGuaranteedFixedPriceTerms = Nothing
1894+ , _dtDescription = Nothing
1895+ }
1896+
1897+-- | The terms for non-guaranteed fixed price deals.
1898+dtNonGuaranteedFixedPriceTerms :: Lens' DealTerms (Maybe (Maybe DealTermsNonGuaranteedFixedPriceTerms))
1899+dtNonGuaranteedFixedPriceTerms
1900+ = lens _dtNonGuaranteedFixedPriceTerms
1901+ (\ s a -> s{_dtNonGuaranteedFixedPriceTerms = a})
1902+
1903+-- | The terms for non-guaranteed auction deals.
1904+dtNonGuaranteedAuctionTerms :: Lens' DealTerms (Maybe (Maybe DealTermsNonGuaranteedAuctionTerms))
1905+dtNonGuaranteedAuctionTerms
1906+ = lens _dtNonGuaranteedAuctionTerms
1907+ (\ s a -> s{_dtNonGuaranteedAuctionTerms = a})
1908+
1909+-- | The terms for guaranteed fixed price deals.
1910+dtGuaranteedFixedPriceTerms :: Lens' DealTerms (Maybe (Maybe DealTermsGuaranteedFixedPriceTerms))
1911+dtGuaranteedFixedPriceTerms
1912+ = lens _dtGuaranteedFixedPriceTerms
1913+ (\ s a -> s{_dtGuaranteedFixedPriceTerms = a})
1914+
1915+-- | Description for the proposed terms of the deal.
1916+dtDescription :: Lens' DealTerms (Maybe Text)
1917+dtDescription
1918+ = lens _dtDescription
1919+ (\ s a -> s{_dtDescription = a})
1920+
1921+--
1922+-- /See:/ 'dealTermsGuaranteedFixedPriceTerms' smart constructor.
1923+data DealTermsGuaranteedFixedPriceTerms = DealTermsGuaranteedFixedPriceTerms
1924+ { _dtgfptGuaranteedLooks :: !(Maybe Int64)
1925+ , _dtgfptGuaranteedImpressions :: !(Maybe Int64)
1926+ , _dtgfptFixedPrices :: !(Maybe [Maybe PricePerBuyer])
1927+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
1928+
1929+-- | Creates a value of 'DealTermsGuaranteedFixedPriceTerms' with the minimum fields required to make a request.
1930+--
1931+-- Use one of the following lenses to modify other fields as desired:
1932+--
1933+-- * 'dtgfptGuaranteedLooks'
1934+--
1935+-- * 'dtgfptGuaranteedImpressions'
1936+--
1937+-- * 'dtgfptFixedPrices'
1938+dealTermsGuaranteedFixedPriceTerms
1939+ :: DealTermsGuaranteedFixedPriceTerms
1940+dealTermsGuaranteedFixedPriceTerms =
1941+ DealTermsGuaranteedFixedPriceTerms
1942+ { _dtgfptGuaranteedLooks = Nothing
1943+ , _dtgfptGuaranteedImpressions = Nothing
1944+ , _dtgfptFixedPrices = Nothing
1945+ }
1946+
1947+-- | Count of guaranteed looks. Required for deal, optional for offer.
1948+dtgfptGuaranteedLooks :: Lens' DealTermsGuaranteedFixedPriceTerms (Maybe Int64)
1949+dtgfptGuaranteedLooks
1950+ = lens _dtgfptGuaranteedLooks
1951+ (\ s a -> s{_dtgfptGuaranteedLooks = a})
1952+
1953+-- | Guaranteed impressions as a percentage. This is the percentage of
1954+-- guaranteed looks that the buyer is guaranteeing to buy.
1955+dtgfptGuaranteedImpressions :: Lens' DealTermsGuaranteedFixedPriceTerms (Maybe Int64)
1956+dtgfptGuaranteedImpressions
1957+ = lens _dtgfptGuaranteedImpressions
1958+ (\ s a -> s{_dtgfptGuaranteedImpressions = a})
1959+
1960+-- | Fixed price for the specified buyer.
1961+dtgfptFixedPrices :: Lens' DealTermsGuaranteedFixedPriceTerms [Maybe PricePerBuyer]
1962+dtgfptFixedPrices
1963+ = lens _dtgfptFixedPrices
1964+ (\ s a -> s{_dtgfptFixedPrices = a})
1965+ . _Default
1966+ . _Coerce
1967+
1968+--
1969+-- /See:/ 'dealTermsNonGuaranteedAuctionTerms' smart constructor.
1970+data DealTermsNonGuaranteedAuctionTerms = DealTermsNonGuaranteedAuctionTerms
1971+ { _dtngatReservePricePerBuyers :: !(Maybe [Maybe PricePerBuyer])
1972+ , _dtngatPrivateAuctionId :: !(Maybe Text)
1973+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
1974+
1975+-- | Creates a value of 'DealTermsNonGuaranteedAuctionTerms' with the minimum fields required to make a request.
1976+--
1977+-- Use one of the following lenses to modify other fields as desired:
1978+--
1979+-- * 'dtngatReservePricePerBuyers'
1980+--
1981+-- * 'dtngatPrivateAuctionId'
1982+dealTermsNonGuaranteedAuctionTerms
1983+ :: DealTermsNonGuaranteedAuctionTerms
1984+dealTermsNonGuaranteedAuctionTerms =
1985+ DealTermsNonGuaranteedAuctionTerms
1986+ { _dtngatReservePricePerBuyers = Nothing
1987+ , _dtngatPrivateAuctionId = Nothing
1988+ }
1989+
1990+-- | Reserve price for the specified buyer.
1991+dtngatReservePricePerBuyers :: Lens' DealTermsNonGuaranteedAuctionTerms [Maybe PricePerBuyer]
1992+dtngatReservePricePerBuyers
1993+ = lens _dtngatReservePricePerBuyers
1994+ (\ s a -> s{_dtngatReservePricePerBuyers = a})
1995+ . _Default
1996+ . _Coerce
1997+
1998+-- | Id of the corresponding private auction.
1999+dtngatPrivateAuctionId :: Lens' DealTermsNonGuaranteedAuctionTerms (Maybe Text)
2000+dtngatPrivateAuctionId
2001+ = lens _dtngatPrivateAuctionId
2002+ (\ s a -> s{_dtngatPrivateAuctionId = a})
2003+
2004+--
2005+-- /See:/ 'dealTermsNonGuaranteedFixedPriceTerms' smart constructor.
2006+newtype DealTermsNonGuaranteedFixedPriceTerms = DealTermsNonGuaranteedFixedPriceTerms
2007+ { _dtngfptFixedPrices :: Maybe [Maybe PricePerBuyer]
2008+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
2009+
2010+-- | Creates a value of 'DealTermsNonGuaranteedFixedPriceTerms' with the minimum fields required to make a request.
2011+--
2012+-- Use one of the following lenses to modify other fields as desired:
2013+--
2014+-- * 'dtngfptFixedPrices'
2015+dealTermsNonGuaranteedFixedPriceTerms
2016+ :: DealTermsNonGuaranteedFixedPriceTerms
2017+dealTermsNonGuaranteedFixedPriceTerms =
2018+ DealTermsNonGuaranteedFixedPriceTerms
2019+ { _dtngfptFixedPrices = Nothing
2020+ }
2021+
2022+-- | Fixed price for the specified buyer.
2023+dtngfptFixedPrices :: Lens' DealTermsNonGuaranteedFixedPriceTerms [Maybe PricePerBuyer]
2024+dtngfptFixedPrices
2025+ = lens _dtngfptFixedPrices
2026+ (\ s a -> s{_dtngfptFixedPrices = a})
2027+ . _Default
2028+ . _Coerce
2029+
2030+--
2031+-- /See:/ 'deleteOrderDealsRequest' smart constructor.
2032+data DeleteOrderDealsRequest = DeleteOrderDealsRequest
2033+ { _dUpdateAction :: !(Maybe Text)
2034+ , _dDealIds :: !(Maybe [Text])
2035+ , _dOrderRevisionNumber :: !(Maybe Int64)
2036+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
2037+
2038+-- | Creates a value of 'DeleteOrderDealsRequest' with the minimum fields required to make a request.
2039+--
2040+-- Use one of the following lenses to modify other fields as desired:
2041+--
2042+-- * 'dUpdateAction'
2043+--
2044+-- * 'dDealIds'
2045+--
2046+-- * 'dOrderRevisionNumber'
2047+deleteOrderDealsRequest
2048+ :: DeleteOrderDealsRequest
2049+deleteOrderDealsRequest =
2050+ DeleteOrderDealsRequest
2051+ { _dUpdateAction = Nothing
2052+ , _dDealIds = Nothing
2053+ , _dOrderRevisionNumber = Nothing
2054+ }
2055+
2056+dUpdateAction :: Lens' DeleteOrderDealsRequest (Maybe Text)
2057+dUpdateAction
2058+ = lens _dUpdateAction
2059+ (\ s a -> s{_dUpdateAction = a})
2060+
2061+-- | List of deals to delete for a given order
2062+dDealIds :: Lens' DeleteOrderDealsRequest [Text]
2063+dDealIds
2064+ = lens _dDealIds (\ s a -> s{_dDealIds = a}) .
2065+ _Default
2066+ . _Coerce
2067+
2068+-- | The last known order revision number.
2069+dOrderRevisionNumber :: Lens' DeleteOrderDealsRequest (Maybe Int64)
2070+dOrderRevisionNumber
2071+ = lens _dOrderRevisionNumber
2072+ (\ s a -> s{_dOrderRevisionNumber = a})
2073+
2074+--
2075+-- /See:/ 'deleteOrderDealsResponse' smart constructor.
2076+data DeleteOrderDealsResponse = DeleteOrderDealsResponse
2077+ { _dodrDeals :: !(Maybe [Maybe MarketplaceDeal])
2078+ , _dodrOrderRevisionNumber :: !(Maybe Int64)
2079+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
2080+
2081+-- | Creates a value of 'DeleteOrderDealsResponse' with the minimum fields required to make a request.
2082+--
2083+-- Use one of the following lenses to modify other fields as desired:
2084+--
2085+-- * 'dodrDeals'
2086+--
2087+-- * 'dodrOrderRevisionNumber'
2088+deleteOrderDealsResponse
2089+ :: DeleteOrderDealsResponse
2090+deleteOrderDealsResponse =
2091+ DeleteOrderDealsResponse
2092+ { _dodrDeals = Nothing
2093+ , _dodrOrderRevisionNumber = Nothing
2094+ }
2095+
2096+-- | List of deals deleted (in the same order as passed in the request)
2097+dodrDeals :: Lens' DeleteOrderDealsResponse [Maybe MarketplaceDeal]
2098+dodrDeals
2099+ = lens _dodrDeals (\ s a -> s{_dodrDeals = a}) .
2100+ _Default
2101+ . _Coerce
2102+
2103+-- | The updated revision number for the order.
2104+dodrOrderRevisionNumber :: Lens' DeleteOrderDealsResponse (Maybe Int64)
2105+dodrOrderRevisionNumber
2106+ = lens _dodrOrderRevisionNumber
2107+ (\ s a -> s{_dodrOrderRevisionNumber = a})
2108+
2109+--
2110+-- /See:/ 'deliveryControl' smart constructor.
2111+data DeliveryControl = DeliveryControl
2112+ { _dcFrequencyCaps :: !(Maybe [Maybe DeliveryControlFrequencyCap])
2113+ , _dcDeliveryRateType :: !(Maybe Text)
2114+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
2115+
2116+-- | Creates a value of 'DeliveryControl' with the minimum fields required to make a request.
2117+--
2118+-- Use one of the following lenses to modify other fields as desired:
2119+--
2120+-- * 'dcFrequencyCaps'
2121+--
2122+-- * 'dcDeliveryRateType'
2123+deliveryControl
2124+ :: DeliveryControl
2125+deliveryControl =
2126+ DeliveryControl
2127+ { _dcFrequencyCaps = Nothing
2128+ , _dcDeliveryRateType = Nothing
2129+ }
2130+
2131+dcFrequencyCaps :: Lens' DeliveryControl [Maybe DeliveryControlFrequencyCap]
2132+dcFrequencyCaps
2133+ = lens _dcFrequencyCaps
2134+ (\ s a -> s{_dcFrequencyCaps = a})
2135+ . _Default
2136+ . _Coerce
2137+
2138+dcDeliveryRateType :: Lens' DeliveryControl (Maybe Text)
2139+dcDeliveryRateType
2140+ = lens _dcDeliveryRateType
2141+ (\ s a -> s{_dcDeliveryRateType = a})
2142+
2143+--
2144+-- /See:/ 'deliveryControlFrequencyCap' smart constructor.
2145+data DeliveryControlFrequencyCap = DeliveryControlFrequencyCap
2146+ { _dcfcMaxImpressions :: !(Maybe Int32)
2147+ , _dcfcNumTimeUnits :: !(Maybe Int32)
2148+ , _dcfcTimeUnitType :: !(Maybe Text)
2149+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
2150+
2151+-- | Creates a value of 'DeliveryControlFrequencyCap' with the minimum fields required to make a request.
2152+--
2153+-- Use one of the following lenses to modify other fields as desired:
2154+--
2155+-- * 'dcfcMaxImpressions'
2156+--
2157+-- * 'dcfcNumTimeUnits'
2158+--
2159+-- * 'dcfcTimeUnitType'
2160+deliveryControlFrequencyCap
2161+ :: DeliveryControlFrequencyCap
2162+deliveryControlFrequencyCap =
2163+ DeliveryControlFrequencyCap
2164+ { _dcfcMaxImpressions = Nothing
2165+ , _dcfcNumTimeUnits = Nothing
2166+ , _dcfcTimeUnitType = Nothing
2167+ }
2168+
2169+dcfcMaxImpressions :: Lens' DeliveryControlFrequencyCap (Maybe Int32)
2170+dcfcMaxImpressions
2171+ = lens _dcfcMaxImpressions
2172+ (\ s a -> s{_dcfcMaxImpressions = a})
2173+
2174+dcfcNumTimeUnits :: Lens' DeliveryControlFrequencyCap (Maybe Int32)
2175+dcfcNumTimeUnits
2176+ = lens _dcfcNumTimeUnits
2177+ (\ s a -> s{_dcfcNumTimeUnits = a})
2178+
2179+dcfcTimeUnitType :: Lens' DeliveryControlFrequencyCap (Maybe Text)
2180+dcfcTimeUnitType
2181+ = lens _dcfcTimeUnitType
2182+ (\ s a -> s{_dcfcTimeUnitType = a})
2183+
2184+--
2185+-- /See:/ 'editAllOrderDealsRequest' smart constructor.
2186+data EditAllOrderDealsRequest = EditAllOrderDealsRequest
2187+ { _eaodrUpdateAction :: !(Maybe Text)
2188+ , _eaodrDeals :: !(Maybe [Maybe MarketplaceDeal])
2189+ , _eaodrOrder :: !(Maybe (Maybe MarketplaceOrder))
2190+ , _eaodrOrderRevisionNumber :: !(Maybe Int64)
2191+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
2192+
2193+-- | Creates a value of 'EditAllOrderDealsRequest' with the minimum fields required to make a request.
2194+--
2195+-- Use one of the following lenses to modify other fields as desired:
2196+--
2197+-- * 'eaodrUpdateAction'
2198+--
2199+-- * 'eaodrDeals'
2200+--
2201+-- * 'eaodrOrder'
2202+--
2203+-- * 'eaodrOrderRevisionNumber'
2204+editAllOrderDealsRequest
2205+ :: EditAllOrderDealsRequest
2206+editAllOrderDealsRequest =
2207+ EditAllOrderDealsRequest
2208+ { _eaodrUpdateAction = Nothing
2209+ , _eaodrDeals = Nothing
2210+ , _eaodrOrder = Nothing
2211+ , _eaodrOrderRevisionNumber = Nothing
2212+ }
2213+
2214+-- | Indicates an optional action to take on the order
2215+eaodrUpdateAction :: Lens' EditAllOrderDealsRequest (Maybe Text)
2216+eaodrUpdateAction
2217+ = lens _eaodrUpdateAction
2218+ (\ s a -> s{_eaodrUpdateAction = a})
2219+
2220+-- | List of deals to edit. Service may perform 3 different operations based
2221+-- on comparison of deals in this list vs deals already persisted in
2222+-- database: 1. Add new deal to order If a deal in this list does not exist
2223+-- in the order, the service will create a new deal and add it to the
2224+-- order. Validation will follow AddOrderDealsRequest. 2. Update existing
2225+-- deal in the order If a deal in this list already exist in the order, the
2226+-- service will update that existing deal to this new deal in the request.
2227+-- Validation will follow UpdateOrderDealsRequest. 3. Delete deals from the
2228+-- order (just need the id) If a existing deal in the order is not present
2229+-- in this list, the service will delete that deal from the order.
2230+-- Validation will follow DeleteOrderDealsRequest.
2231+eaodrDeals :: Lens' EditAllOrderDealsRequest [Maybe MarketplaceDeal]
2232+eaodrDeals
2233+ = lens _eaodrDeals (\ s a -> s{_eaodrDeals = a}) .
2234+ _Default
2235+ . _Coerce
2236+
2237+-- | If specified, also updates the order in the batch transaction. This is
2238+-- useful when the order and the deals need to be updated in one
2239+-- transaction.
2240+eaodrOrder :: Lens' EditAllOrderDealsRequest (Maybe (Maybe MarketplaceOrder))
2241+eaodrOrder
2242+ = lens _eaodrOrder (\ s a -> s{_eaodrOrder = a})
2243+
2244+-- | The last known revision number for the order.
2245+eaodrOrderRevisionNumber :: Lens' EditAllOrderDealsRequest (Maybe Int64)
2246+eaodrOrderRevisionNumber
2247+ = lens _eaodrOrderRevisionNumber
2248+ (\ s a -> s{_eaodrOrderRevisionNumber = a})
2249+
2250+--
2251+-- /See:/ 'editAllOrderDealsResponse' smart constructor.
2252+newtype EditAllOrderDealsResponse = EditAllOrderDealsResponse
2253+ { _eDeals :: Maybe [Maybe MarketplaceDeal]
2254+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
2255+
2256+-- | Creates a value of 'EditAllOrderDealsResponse' with the minimum fields required to make a request.
2257+--
2258+-- Use one of the following lenses to modify other fields as desired:
2259+--
2260+-- * 'eDeals'
2261+editAllOrderDealsResponse
2262+ :: EditAllOrderDealsResponse
2263+editAllOrderDealsResponse =
2264+ EditAllOrderDealsResponse
2265+ { _eDeals = Nothing
2266+ }
2267+
2268+-- | List of all deals in the order after edit.
2269+eDeals :: Lens' EditAllOrderDealsResponse [Maybe MarketplaceDeal]
2270+eDeals
2271+ = lens _eDeals (\ s a -> s{_eDeals = a}) . _Default .
2272+ _Coerce
2273+
2274+--
2275+-- /See:/ 'editHistoryDto' smart constructor.
2276+data EditHistoryDto = EditHistoryDto
2277+ { _ehdLastUpdatedByLoginName :: !(Maybe Text)
2278+ , _ehdCreatedByLoginName :: !(Maybe Text)
2279+ , _ehdLastUpdateTimeStamp :: !(Maybe Int64)
2280+ , _ehdCreatedTimeStamp :: !(Maybe Int64)
2281+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
2282+
2283+-- | Creates a value of 'EditHistoryDto' with the minimum fields required to make a request.
2284+--
2285+-- Use one of the following lenses to modify other fields as desired:
2286+--
2287+-- * 'ehdLastUpdatedByLoginName'
2288+--
2289+-- * 'ehdCreatedByLoginName'
2290+--
2291+-- * 'ehdLastUpdateTimeStamp'
2292+--
2293+-- * 'ehdCreatedTimeStamp'
2294+editHistoryDto
2295+ :: EditHistoryDto
2296+editHistoryDto =
2297+ EditHistoryDto
2298+ { _ehdLastUpdatedByLoginName = Nothing
2299+ , _ehdCreatedByLoginName = Nothing
2300+ , _ehdLastUpdateTimeStamp = Nothing
2301+ , _ehdCreatedTimeStamp = Nothing
2302+ }
2303+
2304+ehdLastUpdatedByLoginName :: Lens' EditHistoryDto (Maybe Text)
2305+ehdLastUpdatedByLoginName
2306+ = lens _ehdLastUpdatedByLoginName
2307+ (\ s a -> s{_ehdLastUpdatedByLoginName = a})
2308+
2309+ehdCreatedByLoginName :: Lens' EditHistoryDto (Maybe Text)
2310+ehdCreatedByLoginName
2311+ = lens _ehdCreatedByLoginName
2312+ (\ s a -> s{_ehdCreatedByLoginName = a})
2313+
2314+ehdLastUpdateTimeStamp :: Lens' EditHistoryDto (Maybe Int64)
2315+ehdLastUpdateTimeStamp
2316+ = lens _ehdLastUpdateTimeStamp
2317+ (\ s a -> s{_ehdLastUpdateTimeStamp = a})
2318+
2319+ehdCreatedTimeStamp :: Lens' EditHistoryDto (Maybe Int64)
2320+ehdCreatedTimeStamp
2321+ = lens _ehdCreatedTimeStamp
2322+ (\ s a -> s{_ehdCreatedTimeStamp = a})
2323+
2324+--
2325+-- /See:/ 'getFinalizedNegotiationByExternalDealIdRequest' smart constructor.
2326+newtype GetFinalizedNegotiationByExternalDealIdRequest = GetFinalizedNegotiationByExternalDealIdRequest
2327+ { _gfnbedirIncludePrivateAuctions :: Maybe Bool
2328+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
2329+
2330+-- | Creates a value of 'GetFinalizedNegotiationByExternalDealIdRequest' with the minimum fields required to make a request.
2331+--
2332+-- Use one of the following lenses to modify other fields as desired:
2333+--
2334+-- * 'gfnbedirIncludePrivateAuctions'
2335+getFinalizedNegotiationByExternalDealIdRequest
2336+ :: GetFinalizedNegotiationByExternalDealIdRequest
2337+getFinalizedNegotiationByExternalDealIdRequest =
2338+ GetFinalizedNegotiationByExternalDealIdRequest
2339+ { _gfnbedirIncludePrivateAuctions = Nothing
2340+ }
2341+
2342+gfnbedirIncludePrivateAuctions :: Lens' GetFinalizedNegotiationByExternalDealIdRequest (Maybe Bool)
2343+gfnbedirIncludePrivateAuctions
2344+ = lens _gfnbedirIncludePrivateAuctions
2345+ (\ s a -> s{_gfnbedirIncludePrivateAuctions = a})
2346+
2347+--
2348+-- /See:/ 'getNegotiationByIdRequest' smart constructor.
2349+newtype GetNegotiationByIdRequest = GetNegotiationByIdRequest
2350+ { _gnbirIncludePrivateAuctions :: Maybe Bool
2351+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
2352+
2353+-- | Creates a value of 'GetNegotiationByIdRequest' with the minimum fields required to make a request.
2354+--
2355+-- Use one of the following lenses to modify other fields as desired:
2356+--
2357+-- * 'gnbirIncludePrivateAuctions'
2358+getNegotiationByIdRequest
2359+ :: GetNegotiationByIdRequest
2360+getNegotiationByIdRequest =
2361+ GetNegotiationByIdRequest
2362+ { _gnbirIncludePrivateAuctions = Nothing
2363+ }
2364+
2365+gnbirIncludePrivateAuctions :: Lens' GetNegotiationByIdRequest (Maybe Bool)
2366+gnbirIncludePrivateAuctions
2367+ = lens _gnbirIncludePrivateAuctions
2368+ (\ s a -> s{_gnbirIncludePrivateAuctions = a})
2369+
2370+--
2371+-- /See:/ 'getNegotiationsRequest' smart constructor.
2372+data GetNegotiationsRequest = GetNegotiationsRequest
2373+ { _gnrSinceTimestampMillis :: !(Maybe Int64)
2374+ , _gnrFinalized :: !(Maybe Bool)
2375+ , _gnrIncludePrivateAuctions :: !(Maybe Bool)
2376+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
2377+
2378+-- | Creates a value of 'GetNegotiationsRequest' with the minimum fields required to make a request.
2379+--
2380+-- Use one of the following lenses to modify other fields as desired:
2381+--
2382+-- * 'gnrSinceTimestampMillis'
2383+--
2384+-- * 'gnrFinalized'
2385+--
2386+-- * 'gnrIncludePrivateAuctions'
2387+getNegotiationsRequest
2388+ :: GetNegotiationsRequest
2389+getNegotiationsRequest =
2390+ GetNegotiationsRequest
2391+ { _gnrSinceTimestampMillis = Nothing
2392+ , _gnrFinalized = Nothing
2393+ , _gnrIncludePrivateAuctions = Nothing
2394+ }
2395+
2396+gnrSinceTimestampMillis :: Lens' GetNegotiationsRequest (Maybe Int64)
2397+gnrSinceTimestampMillis
2398+ = lens _gnrSinceTimestampMillis
2399+ (\ s a -> s{_gnrSinceTimestampMillis = a})
2400+
2401+gnrFinalized :: Lens' GetNegotiationsRequest (Maybe Bool)
2402+gnrFinalized
2403+ = lens _gnrFinalized (\ s a -> s{_gnrFinalized = a})
2404+
2405+gnrIncludePrivateAuctions :: Lens' GetNegotiationsRequest (Maybe Bool)
2406+gnrIncludePrivateAuctions
2407+ = lens _gnrIncludePrivateAuctions
2408+ (\ s a -> s{_gnrIncludePrivateAuctions = a})
2409+
2410+--
2411+-- /See:/ 'getNegotiationsResponse' smart constructor.
2412+data GetNegotiationsResponse = GetNegotiationsResponse
2413+ { _gnrKind :: !Text
2414+ , _gnrNegotiations :: !(Maybe [Maybe NegotiationDto])
2415+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
2416+
2417+-- | Creates a value of 'GetNegotiationsResponse' with the minimum fields required to make a request.
2418+--
2419+-- Use one of the following lenses to modify other fields as desired:
2420+--
2421+-- * 'gnrKind'
2422+--
2423+-- * 'gnrNegotiations'
2424+getNegotiationsResponse
2425+ :: GetNegotiationsResponse
2426+getNegotiationsResponse =
2427+ GetNegotiationsResponse
2428+ { _gnrKind = "adexchangebuyer#negotiationsList"
2429+ , _gnrNegotiations = Nothing
2430+ }
2431+
2432+gnrKind :: Lens' GetNegotiationsResponse Text
2433+gnrKind = lens _gnrKind (\ s a -> s{_gnrKind = a})
2434+
2435+gnrNegotiations :: Lens' GetNegotiationsResponse [Maybe NegotiationDto]
2436+gnrNegotiations
2437+ = lens _gnrNegotiations
2438+ (\ s a -> s{_gnrNegotiations = a})
2439+ . _Default
2440+ . _Coerce
2441+
2442+--
2443+-- /See:/ 'getOffersResponse' smart constructor.
2444+newtype GetOffersResponse = GetOffersResponse
2445+ { _gorOffers :: Maybe [Maybe MarketplaceOffer]
2446+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
2447+
2448+-- | Creates a value of 'GetOffersResponse' with the minimum fields required to make a request.
2449+--
2450+-- Use one of the following lenses to modify other fields as desired:
2451+--
2452+-- * 'gorOffers'
2453+getOffersResponse
2454+ :: GetOffersResponse
2455+getOffersResponse =
2456+ GetOffersResponse
2457+ { _gorOffers = Nothing
2458+ }
2459+
2460+-- | The returned list of offers.
2461+gorOffers :: Lens' GetOffersResponse [Maybe MarketplaceOffer]
2462+gorOffers
2463+ = lens _gorOffers (\ s a -> s{_gorOffers = a}) .
2464+ _Default
2465+ . _Coerce
2466+
2467+--
2468+-- /See:/ 'getOrderDealsResponse' smart constructor.
2469+newtype GetOrderDealsResponse = GetOrderDealsResponse
2470+ { _godrDeals :: Maybe [Maybe MarketplaceDeal]
2471+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
2472+
2473+-- | Creates a value of 'GetOrderDealsResponse' with the minimum fields required to make a request.
2474+--
2475+-- Use one of the following lenses to modify other fields as desired:
2476+--
2477+-- * 'godrDeals'
2478+getOrderDealsResponse
2479+ :: GetOrderDealsResponse
2480+getOrderDealsResponse =
2481+ GetOrderDealsResponse
2482+ { _godrDeals = Nothing
2483+ }
2484+
2485+-- | List of deals for the order
2486+godrDeals :: Lens' GetOrderDealsResponse [Maybe MarketplaceDeal]
2487+godrDeals
2488+ = lens _godrDeals (\ s a -> s{_godrDeals = a}) .
2489+ _Default
2490+ . _Coerce
2491+
2492+--
2493+-- /See:/ 'getOrderNotesResponse' smart constructor.
2494+newtype GetOrderNotesResponse = GetOrderNotesResponse
2495+ { _gonrNotes :: Maybe [Maybe MarketplaceNote]
2496+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
2497+
2498+-- | Creates a value of 'GetOrderNotesResponse' with the minimum fields required to make a request.
2499+--
2500+-- Use one of the following lenses to modify other fields as desired:
2501+--
2502+-- * 'gonrNotes'
2503+getOrderNotesResponse
2504+ :: GetOrderNotesResponse
2505+getOrderNotesResponse =
2506+ GetOrderNotesResponse
2507+ { _gonrNotes = Nothing
2508+ }
2509+
2510+-- | The list of matching notes.
2511+gonrNotes :: Lens' GetOrderNotesResponse [Maybe MarketplaceNote]
2512+gonrNotes
2513+ = lens _gonrNotes (\ s a -> s{_gonrNotes = a}) .
2514+ _Default
2515+ . _Coerce
2516+
2517+--
2518+-- /See:/ 'getOrdersResponse' smart constructor.
2519+newtype GetOrdersResponse = GetOrdersResponse
2520+ { _gorOrders :: Maybe [Maybe MarketplaceOrder]
2521+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
2522+
2523+-- | Creates a value of 'GetOrdersResponse' with the minimum fields required to make a request.
2524+--
2525+-- Use one of the following lenses to modify other fields as desired:
2526+--
2527+-- * 'gorOrders'
2528+getOrdersResponse
2529+ :: GetOrdersResponse
2530+getOrdersResponse =
2531+ GetOrdersResponse
2532+ { _gorOrders = Nothing
2533+ }
2534+
2535+-- | The list of matching orders.
2536+gorOrders :: Lens' GetOrdersResponse [Maybe MarketplaceOrder]
2537+gorOrders
2538+ = lens _gorOrders (\ s a -> s{_gorOrders = a}) .
2539+ _Default
2540+ . _Coerce
2541+
2542+--
2543+-- /See:/ 'inventorySegmentTargeting' smart constructor.
2544+data InventorySegmentTargeting = InventorySegmentTargeting
2545+ { _istNegativeVideoDurationSegments :: !(Maybe [Int64])
2546+ , _istNegativeIcmBrands :: !(Maybe [Int64])
2547+ , _istNegativeKeyValues :: !(Maybe [Maybe RuleKeyValuePair])
2548+ , _istPositiveAudienceSegments :: !(Maybe [Int64])
2549+ , _istPositiveXfpPlacements :: !(Maybe [Int64])
2550+ , _istNegativeXfpAdSlots :: !(Maybe [Int64])
2551+ , _istPositiveOperatingSystemVersions :: !(Maybe [Int64])
2552+ , _istPositiveSizes :: !(Maybe [Int64])
2553+ , _istPositiveDeviceCategories :: !(Maybe [Int64])
2554+ , _istPositiveLocations :: !(Maybe [Int64])
2555+ , _istNegativeAdSizes :: !(Maybe [Maybe AdSize])
2556+ , _istPositiveOperatingSystems :: !(Maybe [Int64])
2557+ , _istPositiveSiteUrls :: !(Maybe [Text])
2558+ , _istNegativeInventorySlots :: !(Maybe [Text])
2559+ , _istNegativeVideoAdPositionSegments :: !(Maybe [Text])
2560+ , _istPositiveAdTypeSegments :: !(Maybe [Text])
2561+ , _istPositiveIcmInterests :: !(Maybe [Int64])
2562+ , _istPositiveMobileApps :: !(Maybe [Text])
2563+ , _istPositiveKeyValues :: !(Maybe [Maybe RuleKeyValuePair])
2564+ , _istPositiveIcmBrands :: !(Maybe [Int64])
2565+ , _istPositiveVideoDurationSegments :: !(Maybe [Int64])
2566+ , _istNegativeAudienceSegments :: !(Maybe [Int64])
2567+ , _istNegativeXfpPlacements :: !(Maybe [Int64])
2568+ , _istPositiveXfpAdSlots :: !(Maybe [Int64])
2569+ , _istNegativeOperatingSystemVersions :: !(Maybe [Int64])
2570+ , _istNegativeSizes :: !(Maybe [Int64])
2571+ , _istNegativeLocations :: !(Maybe [Int64])
2572+ , _istNegativeDeviceCategories :: !(Maybe [Int64])
2573+ , _istNegativeOperatingSystems :: !(Maybe [Int64])
2574+ , _istPositiveAdSizes :: !(Maybe [Maybe AdSize])
2575+ , _istNegativeSiteUrls :: !(Maybe [Text])
2576+ , _istNegativeAdTypeSegments :: !(Maybe [Text])
2577+ , _istPositiveVideoAdPositionSegments :: !(Maybe [Text])
2578+ , _istPositiveInventorySlots :: !(Maybe [Text])
2579+ , _istNegativeMobileApps :: !(Maybe [Text])
2580+ , _istNegativeIcmInterests :: !(Maybe [Int64])
2581+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
2582+
2583+-- | Creates a value of 'InventorySegmentTargeting' with the minimum fields required to make a request.
2584+--
2585+-- Use one of the following lenses to modify other fields as desired:
2586+--
2587+-- * 'istNegativeVideoDurationSegments'
2588+--
2589+-- * 'istNegativeIcmBrands'
2590+--
2591+-- * 'istNegativeKeyValues'
2592+--
2593+-- * 'istPositiveAudienceSegments'
2594+--
2595+-- * 'istPositiveXfpPlacements'
2596+--
2597+-- * 'istNegativeXfpAdSlots'
2598+--
2599+-- * 'istPositiveOperatingSystemVersions'
2600+--
2601+-- * 'istPositiveSizes'
2602+--
2603+-- * 'istPositiveDeviceCategories'
2604+--
2605+-- * 'istPositiveLocations'
2606+--
2607+-- * 'istNegativeAdSizes'
2608+--
2609+-- * 'istPositiveOperatingSystems'
2610+--
2611+-- * 'istPositiveSiteUrls'
2612+--
2613+-- * 'istNegativeInventorySlots'
2614+--
2615+-- * 'istNegativeVideoAdPositionSegments'
2616+--
2617+-- * 'istPositiveAdTypeSegments'
2618+--
2619+-- * 'istPositiveIcmInterests'
2620+--
2621+-- * 'istPositiveMobileApps'
2622+--
2623+-- * 'istPositiveKeyValues'
2624+--
2625+-- * 'istPositiveIcmBrands'
2626+--
2627+-- * 'istPositiveVideoDurationSegments'
2628+--
2629+-- * 'istNegativeAudienceSegments'
2630+--
2631+-- * 'istNegativeXfpPlacements'
2632+--
2633+-- * 'istPositiveXfpAdSlots'
2634+--
2635+-- * 'istNegativeOperatingSystemVersions'
2636+--
2637+-- * 'istNegativeSizes'
2638+--
2639+-- * 'istNegativeLocations'
2640+--
2641+-- * 'istNegativeDeviceCategories'
2642+--
2643+-- * 'istNegativeOperatingSystems'
2644+--
2645+-- * 'istPositiveAdSizes'
2646+--
2647+-- * 'istNegativeSiteUrls'
2648+--
2649+-- * 'istNegativeAdTypeSegments'
2650+--
2651+-- * 'istPositiveVideoAdPositionSegments'
2652+--
2653+-- * 'istPositiveInventorySlots'
2654+--
2655+-- * 'istNegativeMobileApps'
2656+--
2657+-- * 'istNegativeIcmInterests'
2658+inventorySegmentTargeting
2659+ :: InventorySegmentTargeting
2660+inventorySegmentTargeting =
2661+ InventorySegmentTargeting
2662+ { _istNegativeVideoDurationSegments = Nothing
2663+ , _istNegativeIcmBrands = Nothing
2664+ , _istNegativeKeyValues = Nothing
2665+ , _istPositiveAudienceSegments = Nothing
2666+ , _istPositiveXfpPlacements = Nothing
2667+ , _istNegativeXfpAdSlots = Nothing
2668+ , _istPositiveOperatingSystemVersions = Nothing
2669+ , _istPositiveSizes = Nothing
2670+ , _istPositiveDeviceCategories = Nothing
2671+ , _istPositiveLocations = Nothing
2672+ , _istNegativeAdSizes = Nothing
2673+ , _istPositiveOperatingSystems = Nothing
2674+ , _istPositiveSiteUrls = Nothing
2675+ , _istNegativeInventorySlots = Nothing
2676+ , _istNegativeVideoAdPositionSegments = Nothing
2677+ , _istPositiveAdTypeSegments = Nothing
2678+ , _istPositiveIcmInterests = Nothing
2679+ , _istPositiveMobileApps = Nothing
2680+ , _istPositiveKeyValues = Nothing
2681+ , _istPositiveIcmBrands = Nothing
2682+ , _istPositiveVideoDurationSegments = Nothing
2683+ , _istNegativeAudienceSegments = Nothing
2684+ , _istNegativeXfpPlacements = Nothing
2685+ , _istPositiveXfpAdSlots = Nothing
2686+ , _istNegativeOperatingSystemVersions = Nothing
2687+ , _istNegativeSizes = Nothing
2688+ , _istNegativeLocations = Nothing
2689+ , _istNegativeDeviceCategories = Nothing
2690+ , _istNegativeOperatingSystems = Nothing
2691+ , _istPositiveAdSizes = Nothing
2692+ , _istNegativeSiteUrls = Nothing
2693+ , _istNegativeAdTypeSegments = Nothing
2694+ , _istPositiveVideoAdPositionSegments = Nothing
2695+ , _istPositiveInventorySlots = Nothing
2696+ , _istNegativeMobileApps = Nothing
2697+ , _istNegativeIcmInterests = Nothing
2698+ }
2699+
2700+istNegativeVideoDurationSegments :: Lens' InventorySegmentTargeting [Int64]
2701+istNegativeVideoDurationSegments
2702+ = lens _istNegativeVideoDurationSegments
2703+ (\ s a -> s{_istNegativeVideoDurationSegments = a})
2704+ . _Default
2705+ . _Coerce
2706+
2707+istNegativeIcmBrands :: Lens' InventorySegmentTargeting [Int64]
2708+istNegativeIcmBrands
2709+ = lens _istNegativeIcmBrands
2710+ (\ s a -> s{_istNegativeIcmBrands = a})
2711+ . _Default
2712+ . _Coerce
2713+
2714+istNegativeKeyValues :: Lens' InventorySegmentTargeting [Maybe RuleKeyValuePair]
2715+istNegativeKeyValues
2716+ = lens _istNegativeKeyValues
2717+ (\ s a -> s{_istNegativeKeyValues = a})
2718+ . _Default
2719+ . _Coerce
2720+
2721+istPositiveAudienceSegments :: Lens' InventorySegmentTargeting [Int64]
2722+istPositiveAudienceSegments
2723+ = lens _istPositiveAudienceSegments
2724+ (\ s a -> s{_istPositiveAudienceSegments = a})
2725+ . _Default
2726+ . _Coerce
2727+
2728+istPositiveXfpPlacements :: Lens' InventorySegmentTargeting [Int64]
2729+istPositiveXfpPlacements
2730+ = lens _istPositiveXfpPlacements
2731+ (\ s a -> s{_istPositiveXfpPlacements = a})
2732+ . _Default
2733+ . _Coerce
2734+
2735+istNegativeXfpAdSlots :: Lens' InventorySegmentTargeting [Int64]
2736+istNegativeXfpAdSlots
2737+ = lens _istNegativeXfpAdSlots
2738+ (\ s a -> s{_istNegativeXfpAdSlots = a})
2739+ . _Default
2740+ . _Coerce
2741+
2742+istPositiveOperatingSystemVersions :: Lens' InventorySegmentTargeting [Int64]
2743+istPositiveOperatingSystemVersions
2744+ = lens _istPositiveOperatingSystemVersions
2745+ (\ s a -> s{_istPositiveOperatingSystemVersions = a})
2746+ . _Default
2747+ . _Coerce
2748+
2749+istPositiveSizes :: Lens' InventorySegmentTargeting [Int64]
2750+istPositiveSizes
2751+ = lens _istPositiveSizes
2752+ (\ s a -> s{_istPositiveSizes = a})
2753+ . _Default
2754+ . _Coerce
2755+
2756+istPositiveDeviceCategories :: Lens' InventorySegmentTargeting [Int64]
2757+istPositiveDeviceCategories
2758+ = lens _istPositiveDeviceCategories
2759+ (\ s a -> s{_istPositiveDeviceCategories = a})
2760+ . _Default
2761+ . _Coerce
2762+
2763+istPositiveLocations :: Lens' InventorySegmentTargeting [Int64]
2764+istPositiveLocations
2765+ = lens _istPositiveLocations
2766+ (\ s a -> s{_istPositiveLocations = a})
2767+ . _Default
2768+ . _Coerce
2769+
2770+istNegativeAdSizes :: Lens' InventorySegmentTargeting [Maybe AdSize]
2771+istNegativeAdSizes
2772+ = lens _istNegativeAdSizes
2773+ (\ s a -> s{_istNegativeAdSizes = a})
2774+ . _Default
2775+ . _Coerce
2776+
2777+istPositiveOperatingSystems :: Lens' InventorySegmentTargeting [Int64]
2778+istPositiveOperatingSystems
2779+ = lens _istPositiveOperatingSystems
2780+ (\ s a -> s{_istPositiveOperatingSystems = a})
2781+ . _Default
2782+ . _Coerce
2783+
2784+istPositiveSiteUrls :: Lens' InventorySegmentTargeting [Text]
2785+istPositiveSiteUrls
2786+ = lens _istPositiveSiteUrls
2787+ (\ s a -> s{_istPositiveSiteUrls = a})
2788+ . _Default
2789+ . _Coerce
2790+
2791+istNegativeInventorySlots :: Lens' InventorySegmentTargeting [Text]
2792+istNegativeInventorySlots
2793+ = lens _istNegativeInventorySlots
2794+ (\ s a -> s{_istNegativeInventorySlots = a})
2795+ . _Default
2796+ . _Coerce
2797+
2798+istNegativeVideoAdPositionSegments :: Lens' InventorySegmentTargeting [Text]
2799+istNegativeVideoAdPositionSegments
2800+ = lens _istNegativeVideoAdPositionSegments
2801+ (\ s a -> s{_istNegativeVideoAdPositionSegments = a})
2802+ . _Default
2803+ . _Coerce
2804+
2805+istPositiveAdTypeSegments :: Lens' InventorySegmentTargeting [Text]
2806+istPositiveAdTypeSegments
2807+ = lens _istPositiveAdTypeSegments
2808+ (\ s a -> s{_istPositiveAdTypeSegments = a})
2809+ . _Default
2810+ . _Coerce
2811+
2812+istPositiveIcmInterests :: Lens' InventorySegmentTargeting [Int64]
2813+istPositiveIcmInterests
2814+ = lens _istPositiveIcmInterests
2815+ (\ s a -> s{_istPositiveIcmInterests = a})
2816+ . _Default
2817+ . _Coerce
2818+
2819+istPositiveMobileApps :: Lens' InventorySegmentTargeting [Text]
2820+istPositiveMobileApps
2821+ = lens _istPositiveMobileApps
2822+ (\ s a -> s{_istPositiveMobileApps = a})
2823+ . _Default
2824+ . _Coerce
2825+
2826+istPositiveKeyValues :: Lens' InventorySegmentTargeting [Maybe RuleKeyValuePair]
2827+istPositiveKeyValues
2828+ = lens _istPositiveKeyValues
2829+ (\ s a -> s{_istPositiveKeyValues = a})
2830+ . _Default
2831+ . _Coerce
2832+
2833+istPositiveIcmBrands :: Lens' InventorySegmentTargeting [Int64]
2834+istPositiveIcmBrands
2835+ = lens _istPositiveIcmBrands
2836+ (\ s a -> s{_istPositiveIcmBrands = a})
2837+ . _Default
2838+ . _Coerce
2839+
2840+istPositiveVideoDurationSegments :: Lens' InventorySegmentTargeting [Int64]
2841+istPositiveVideoDurationSegments
2842+ = lens _istPositiveVideoDurationSegments
2843+ (\ s a -> s{_istPositiveVideoDurationSegments = a})
2844+ . _Default
2845+ . _Coerce
2846+
2847+istNegativeAudienceSegments :: Lens' InventorySegmentTargeting [Int64]
2848+istNegativeAudienceSegments
2849+ = lens _istNegativeAudienceSegments
2850+ (\ s a -> s{_istNegativeAudienceSegments = a})
2851+ . _Default
2852+ . _Coerce
2853+
2854+istNegativeXfpPlacements :: Lens' InventorySegmentTargeting [Int64]
2855+istNegativeXfpPlacements
2856+ = lens _istNegativeXfpPlacements
2857+ (\ s a -> s{_istNegativeXfpPlacements = a})
2858+ . _Default
2859+ . _Coerce
2860+
2861+istPositiveXfpAdSlots :: Lens' InventorySegmentTargeting [Int64]
2862+istPositiveXfpAdSlots
2863+ = lens _istPositiveXfpAdSlots
2864+ (\ s a -> s{_istPositiveXfpAdSlots = a})
2865+ . _Default
2866+ . _Coerce
2867+
2868+istNegativeOperatingSystemVersions :: Lens' InventorySegmentTargeting [Int64]
2869+istNegativeOperatingSystemVersions
2870+ = lens _istNegativeOperatingSystemVersions
2871+ (\ s a -> s{_istNegativeOperatingSystemVersions = a})
2872+ . _Default
2873+ . _Coerce
2874+
2875+istNegativeSizes :: Lens' InventorySegmentTargeting [Int64]
2876+istNegativeSizes
2877+ = lens _istNegativeSizes
2878+ (\ s a -> s{_istNegativeSizes = a})
2879+ . _Default
2880+ . _Coerce
2881+
2882+istNegativeLocations :: Lens' InventorySegmentTargeting [Int64]
2883+istNegativeLocations
2884+ = lens _istNegativeLocations
2885+ (\ s a -> s{_istNegativeLocations = a})
2886+ . _Default
2887+ . _Coerce
2888+
2889+istNegativeDeviceCategories :: Lens' InventorySegmentTargeting [Int64]
2890+istNegativeDeviceCategories
2891+ = lens _istNegativeDeviceCategories
2892+ (\ s a -> s{_istNegativeDeviceCategories = a})
2893+ . _Default
2894+ . _Coerce
2895+
2896+istNegativeOperatingSystems :: Lens' InventorySegmentTargeting [Int64]
2897+istNegativeOperatingSystems
2898+ = lens _istNegativeOperatingSystems
2899+ (\ s a -> s{_istNegativeOperatingSystems = a})
2900+ . _Default
2901+ . _Coerce
2902+
2903+istPositiveAdSizes :: Lens' InventorySegmentTargeting [Maybe AdSize]
2904+istPositiveAdSizes
2905+ = lens _istPositiveAdSizes
2906+ (\ s a -> s{_istPositiveAdSizes = a})
2907+ . _Default
2908+ . _Coerce
2909+
2910+istNegativeSiteUrls :: Lens' InventorySegmentTargeting [Text]
2911+istNegativeSiteUrls
2912+ = lens _istNegativeSiteUrls
2913+ (\ s a -> s{_istNegativeSiteUrls = a})
2914+ . _Default
2915+ . _Coerce
2916+
2917+istNegativeAdTypeSegments :: Lens' InventorySegmentTargeting [Text]
2918+istNegativeAdTypeSegments
2919+ = lens _istNegativeAdTypeSegments
2920+ (\ s a -> s{_istNegativeAdTypeSegments = a})
2921+ . _Default
2922+ . _Coerce
2923+
2924+istPositiveVideoAdPositionSegments :: Lens' InventorySegmentTargeting [Text]
2925+istPositiveVideoAdPositionSegments
2926+ = lens _istPositiveVideoAdPositionSegments
2927+ (\ s a -> s{_istPositiveVideoAdPositionSegments = a})
2928+ . _Default
2929+ . _Coerce
2930+
2931+istPositiveInventorySlots :: Lens' InventorySegmentTargeting [Text]
2932+istPositiveInventorySlots
2933+ = lens _istPositiveInventorySlots
2934+ (\ s a -> s{_istPositiveInventorySlots = a})
2935+ . _Default
2936+ . _Coerce
2937+
2938+istNegativeMobileApps :: Lens' InventorySegmentTargeting [Text]
2939+istNegativeMobileApps
2940+ = lens _istNegativeMobileApps
2941+ (\ s a -> s{_istNegativeMobileApps = a})
2942+ . _Default
2943+ . _Coerce
2944+
2945+istNegativeIcmInterests :: Lens' InventorySegmentTargeting [Int64]
2946+istNegativeIcmInterests
2947+ = lens _istNegativeIcmInterests
2948+ (\ s a -> s{_istNegativeIcmInterests = a})
2949+ . _Default
2950+ . _Coerce
2951+
2952+--
2953+-- /See:/ 'listClientAccessCapabilitiesRequest' smart constructor.
2954+newtype ListClientAccessCapabilitiesRequest = ListClientAccessCapabilitiesRequest
2955+ { _lcacrSponsorAccountId :: Maybe Int64
2956+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
2957+
2958+-- | Creates a value of 'ListClientAccessCapabilitiesRequest' with the minimum fields required to make a request.
2959+--
2960+-- Use one of the following lenses to modify other fields as desired:
2961+--
2962+-- * 'lcacrSponsorAccountId'
2963+listClientAccessCapabilitiesRequest
2964+ :: ListClientAccessCapabilitiesRequest
2965+listClientAccessCapabilitiesRequest =
2966+ ListClientAccessCapabilitiesRequest
2967+ { _lcacrSponsorAccountId = Nothing
2968+ }
2969+
2970+lcacrSponsorAccountId :: Lens' ListClientAccessCapabilitiesRequest (Maybe Int64)
2971+lcacrSponsorAccountId
2972+ = lens _lcacrSponsorAccountId
2973+ (\ s a -> s{_lcacrSponsorAccountId = a})
2974+
2975+--
2976+-- /See:/ 'listClientAccessCapabilitiesResponse' smart constructor.
2977+newtype ListClientAccessCapabilitiesResponse = ListClientAccessCapabilitiesResponse
2978+ { _lcacrClientAccessPermissions :: Maybe [Maybe ClientAccessCapabilities]
2979+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
2980+
2981+-- | Creates a value of 'ListClientAccessCapabilitiesResponse' with the minimum fields required to make a request.
2982+--
2983+-- Use one of the following lenses to modify other fields as desired:
2984+--
2985+-- * 'lcacrClientAccessPermissions'
2986+listClientAccessCapabilitiesResponse
2987+ :: ListClientAccessCapabilitiesResponse
2988+listClientAccessCapabilitiesResponse =
2989+ ListClientAccessCapabilitiesResponse
2990+ { _lcacrClientAccessPermissions = Nothing
2991+ }
2992+
2993+lcacrClientAccessPermissions :: Lens' ListClientAccessCapabilitiesResponse [Maybe ClientAccessCapabilities]
2994+lcacrClientAccessPermissions
2995+ = lens _lcacrClientAccessPermissions
2996+ (\ s a -> s{_lcacrClientAccessPermissions = a})
2997+ . _Default
2998+ . _Coerce
2999+
3000+--
3001+-- /See:/ 'listOffersRequest' smart constructor.
3002+newtype ListOffersRequest = ListOffersRequest
3003+ { _lorSinceTimestampMillis :: Maybe Int64
3004+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
3005+
3006+-- | Creates a value of 'ListOffersRequest' with the minimum fields required to make a request.
3007+--
3008+-- Use one of the following lenses to modify other fields as desired:
3009+--
3010+-- * 'lorSinceTimestampMillis'
3011+listOffersRequest
3012+ :: ListOffersRequest
3013+listOffersRequest =
3014+ ListOffersRequest
3015+ { _lorSinceTimestampMillis = Nothing
3016+ }
3017+
3018+lorSinceTimestampMillis :: Lens' ListOffersRequest (Maybe Int64)
3019+lorSinceTimestampMillis
3020+ = lens _lorSinceTimestampMillis
3021+ (\ s a -> s{_lorSinceTimestampMillis = a})
3022+
3023+--
3024+-- /See:/ 'listOffersResponse' smart constructor.
3025+data ListOffersResponse = ListOffersResponse
3026+ { _lorKind :: !Text
3027+ , _lorOffers :: !(Maybe [Maybe OfferDto])
3028+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
3029+
3030+-- | Creates a value of 'ListOffersResponse' with the minimum fields required to make a request.
3031+--
3032+-- Use one of the following lenses to modify other fields as desired:
3033+--
3034+-- * 'lorKind'
3035+--
3036+-- * 'lorOffers'
3037+listOffersResponse
3038+ :: ListOffersResponse
3039+listOffersResponse =
3040+ ListOffersResponse
3041+ { _lorKind = "adexchangebuyer#offersList"
3042+ , _lorOffers = Nothing
3043+ }
3044+
3045+lorKind :: Lens' ListOffersResponse Text
3046+lorKind = lens _lorKind (\ s a -> s{_lorKind = a})
3047+
3048+lorOffers :: Lens' ListOffersResponse [Maybe OfferDto]
3049+lorOffers
3050+ = lens _lorOffers (\ s a -> s{_lorOffers = a}) .
3051+ _Default
3052+ . _Coerce
3053+
3054+-- | An order can contain multiple deals. A deal contains the terms and
3055+-- targeting information that is used for serving.
3056+--
3057+-- /See:/ 'marketplaceDeal' smart constructor.
3058+data MarketplaceDeal = MarketplaceDeal
3059+ { _mdExternalDealId :: !(Maybe Text)
3060+ , _mdBuyerPrivateData :: !(Maybe (Maybe PrivateData))
3061+ , _mdWebPropertyCode :: !(Maybe Text)
3062+ , _mdCreationTimeMs :: !(Maybe Int64)
3063+ , _mdTerms :: !(Maybe (Maybe DealTerms))
3064+ , _mdOfferRevisionNumber :: !(Maybe Int64)
3065+ , _mdLastUpdateTimeMs :: !(Maybe Int64)
3066+ , _mdKind :: !Text
3067+ , _mdDeliveryControl :: !(Maybe (Maybe DeliveryControl))
3068+ , _mdFlightStartTimeMs :: !(Maybe Int64)
3069+ , _mdSharedTargetings :: !(Maybe [Maybe SharedTargeting])
3070+ , _mdDealId :: !(Maybe Text)
3071+ , _mdInventoryDescription :: !(Maybe Text)
3072+ , _mdSyndicationProduct :: !(Maybe Text)
3073+ , _mdFlightEndTimeMs :: !(Maybe Int64)
3074+ , _mdName :: !(Maybe Text)
3075+ , _mdSellerContacts :: !(Maybe [Maybe ContactInformation])
3076+ , _mdOfferId :: !(Maybe Text)
3077+ , _mdOrderId :: !(Maybe Text)
3078+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
3079+
3080+-- | Creates a value of 'MarketplaceDeal' with the minimum fields required to make a request.
3081+--
3082+-- Use one of the following lenses to modify other fields as desired:
3083+--
3084+-- * 'mdExternalDealId'
3085+--
3086+-- * 'mdBuyerPrivateData'
3087+--
3088+-- * 'mdWebPropertyCode'
3089+--
3090+-- * 'mdCreationTimeMs'
3091+--
3092+-- * 'mdTerms'
3093+--
3094+-- * 'mdOfferRevisionNumber'
3095+--
3096+-- * 'mdLastUpdateTimeMs'
3097+--
3098+-- * 'mdKind'
3099+--
3100+-- * 'mdDeliveryControl'
3101+--
3102+-- * 'mdFlightStartTimeMs'
3103+--
3104+-- * 'mdSharedTargetings'
3105+--
3106+-- * 'mdDealId'
3107+--
3108+-- * 'mdInventoryDescription'
3109+--
3110+-- * 'mdSyndicationProduct'
3111+--
3112+-- * 'mdFlightEndTimeMs'
3113+--
3114+-- * 'mdName'
3115+--
3116+-- * 'mdSellerContacts'
3117+--
3118+-- * 'mdOfferId'
3119+--
3120+-- * 'mdOrderId'
3121+marketplaceDeal
3122+ :: MarketplaceDeal
3123+marketplaceDeal =
3124+ MarketplaceDeal
3125+ { _mdExternalDealId = Nothing
3126+ , _mdBuyerPrivateData = Nothing
3127+ , _mdWebPropertyCode = Nothing
3128+ , _mdCreationTimeMs = Nothing
3129+ , _mdTerms = Nothing
3130+ , _mdOfferRevisionNumber = Nothing
3131+ , _mdLastUpdateTimeMs = Nothing
3132+ , _mdKind = "adexchangebuyer#marketplaceDeal"
3133+ , _mdDeliveryControl = Nothing
3134+ , _mdFlightStartTimeMs = Nothing
3135+ , _mdSharedTargetings = Nothing
3136+ , _mdDealId = Nothing
3137+ , _mdInventoryDescription = Nothing
3138+ , _mdSyndicationProduct = Nothing
3139+ , _mdFlightEndTimeMs = Nothing
3140+ , _mdName = Nothing
3141+ , _mdSellerContacts = Nothing
3142+ , _mdOfferId = Nothing
3143+ , _mdOrderId = Nothing
3144+ }
3145+
3146+-- | The external deal id assigned to this deal once the deal is finalized.
3147+-- This is the deal-id that shows up in serving\/reporting etc. (readonly)
3148+mdExternalDealId :: Lens' MarketplaceDeal (Maybe Text)
3149+mdExternalDealId
3150+ = lens _mdExternalDealId
3151+ (\ s a -> s{_mdExternalDealId = a})
3152+
3153+-- | Buyer private data (hidden from seller).
3154+mdBuyerPrivateData :: Lens' MarketplaceDeal (Maybe (Maybe PrivateData))
3155+mdBuyerPrivateData
3156+ = lens _mdBuyerPrivateData
3157+ (\ s a -> s{_mdBuyerPrivateData = a})
3158+
3159+mdWebPropertyCode :: Lens' MarketplaceDeal (Maybe Text)
3160+mdWebPropertyCode
3161+ = lens _mdWebPropertyCode
3162+ (\ s a -> s{_mdWebPropertyCode = a})
3163+
3164+-- | The time (ms since epoch) of the deal creation. (readonly)
3165+mdCreationTimeMs :: Lens' MarketplaceDeal (Maybe Int64)
3166+mdCreationTimeMs
3167+ = lens _mdCreationTimeMs
3168+ (\ s a -> s{_mdCreationTimeMs = a})
3169+
3170+-- | The negotiable terms of the deal. (updatable)
3171+mdTerms :: Lens' MarketplaceDeal (Maybe (Maybe DealTerms))
3172+mdTerms = lens _mdTerms (\ s a -> s{_mdTerms = a})
3173+
3174+-- | The revision number of the offer that the deal was created from
3175+-- (readonly, except on create)
3176+mdOfferRevisionNumber :: Lens' MarketplaceDeal (Maybe Int64)
3177+mdOfferRevisionNumber
3178+ = lens _mdOfferRevisionNumber
3179+ (\ s a -> s{_mdOfferRevisionNumber = a})
3180+
3181+-- | The time (ms since epoch) when the deal was last updated. (readonly)
3182+mdLastUpdateTimeMs :: Lens' MarketplaceDeal (Maybe Int64)
3183+mdLastUpdateTimeMs
3184+ = lens _mdLastUpdateTimeMs
3185+ (\ s a -> s{_mdLastUpdateTimeMs = a})
3186+
3187+-- | Identifies what kind of resource this is. Value: the fixed string
3188+-- \"adexchangebuyer#marketplaceDeal\".
3189+mdKind :: Lens' MarketplaceDeal Text
3190+mdKind = lens _mdKind (\ s a -> s{_mdKind = a})
3191+
3192+-- | The set of fields around delivery control that are interesting for a
3193+-- buyer to see but are non-negotiable. These are set by the publisher.
3194+-- This message is assigned an id of 100 since some day we would want to
3195+-- model this as a protobuf extension.
3196+mdDeliveryControl :: Lens' MarketplaceDeal (Maybe (Maybe DeliveryControl))
3197+mdDeliveryControl
3198+ = lens _mdDeliveryControl
3199+ (\ s a -> s{_mdDeliveryControl = a})
3200+
3201+-- | Proposed flight start time of the deal (ms since epoch) This will
3202+-- generally be stored in a granularity of a second. (updatable)
3203+mdFlightStartTimeMs :: Lens' MarketplaceDeal (Maybe Int64)
3204+mdFlightStartTimeMs
3205+ = lens _mdFlightStartTimeMs
3206+ (\ s a -> s{_mdFlightStartTimeMs = a})
3207+
3208+-- | The shared targeting visible to buyers and sellers. (updatable)
3209+mdSharedTargetings :: Lens' MarketplaceDeal [Maybe SharedTargeting]
3210+mdSharedTargetings
3211+ = lens _mdSharedTargetings
3212+ (\ s a -> s{_mdSharedTargetings = a})
3213+ . _Default
3214+ . _Coerce
3215+
3216+-- | A unique deal=id for the deal (readonly).
3217+mdDealId :: Lens' MarketplaceDeal (Maybe Text)
3218+mdDealId = lens _mdDealId (\ s a -> s{_mdDealId = a})
3219+
3220+-- | Description for the deal terms. (updatable)
3221+mdInventoryDescription :: Lens' MarketplaceDeal (Maybe Text)
3222+mdInventoryDescription
3223+ = lens _mdInventoryDescription
3224+ (\ s a -> s{_mdInventoryDescription = a})
3225+
3226+-- | The syndication product associated with the deal. (readonly, except on
3227+-- create)
3228+mdSyndicationProduct :: Lens' MarketplaceDeal (Maybe Text)
3229+mdSyndicationProduct
3230+ = lens _mdSyndicationProduct
3231+ (\ s a -> s{_mdSyndicationProduct = a})
3232+
3233+-- | Proposed flight end time of the deal (ms since epoch) This will
3234+-- generally be stored in a granularity of a second. (updatable)
3235+mdFlightEndTimeMs :: Lens' MarketplaceDeal (Maybe Int64)
3236+mdFlightEndTimeMs
3237+ = lens _mdFlightEndTimeMs
3238+ (\ s a -> s{_mdFlightEndTimeMs = a})
3239+
3240+-- | The name of the deal. (updatable)
3241+mdName :: Lens' MarketplaceDeal (Maybe Text)
3242+mdName = lens _mdName (\ s a -> s{_mdName = a})
3243+
3244+-- | Optional Seller contact information for the deal (buyer-readonly)
3245+mdSellerContacts :: Lens' MarketplaceDeal [Maybe ContactInformation]
3246+mdSellerContacts
3247+ = lens _mdSellerContacts
3248+ (\ s a -> s{_mdSellerContacts = a})
3249+ . _Default
3250+ . _Coerce
3251+
3252+-- | The offer-id from which this deal was created. (readonly, except on
3253+-- create)
3254+mdOfferId :: Lens' MarketplaceDeal (Maybe Text)
3255+mdOfferId
3256+ = lens _mdOfferId (\ s a -> s{_mdOfferId = a})
3257+
3258+mdOrderId :: Lens' MarketplaceDeal (Maybe Text)
3259+mdOrderId
3260+ = lens _mdOrderId (\ s a -> s{_mdOrderId = a})
3261+
3262+--
3263+-- /See:/ 'marketplaceDealParty' smart constructor.
3264+data MarketplaceDealParty = MarketplaceDealParty
3265+ { _mdpSeller :: !(Maybe (Maybe Seller))
3266+ , _mdpBuyer :: !(Maybe (Maybe Buyer))
3267+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
3268+
3269+-- | Creates a value of 'MarketplaceDealParty' with the minimum fields required to make a request.
3270+--
3271+-- Use one of the following lenses to modify other fields as desired:
3272+--
3273+-- * 'mdpSeller'
3274+--
3275+-- * 'mdpBuyer'
3276+marketplaceDealParty
3277+ :: MarketplaceDealParty
3278+marketplaceDealParty =
3279+ MarketplaceDealParty
3280+ { _mdpSeller = Nothing
3281+ , _mdpBuyer = Nothing
3282+ }
3283+
3284+-- | The buyer\/seller associated with the deal. One of buyer\/seller is
3285+-- specified for a deal party.
3286+mdpSeller :: Lens' MarketplaceDealParty (Maybe (Maybe Seller))
3287+mdpSeller
3288+ = lens _mdpSeller (\ s a -> s{_mdpSeller = a})
3289+
3290+-- | The buyer\/seller associated with the deal. One of buyer\/seller is
3291+-- specified for a deal-party.
3292+mdpBuyer :: Lens' MarketplaceDealParty (Maybe (Maybe Buyer))
3293+mdpBuyer = lens _mdpBuyer (\ s a -> s{_mdpBuyer = a})
3294+
3295+--
3296+-- /See:/ 'marketplaceLabel' smart constructor.
3297+data MarketplaceLabel = MarketplaceLabel
3298+ { _mlDeprecatedMarketplaceDealParty :: !(Maybe (Maybe MarketplaceDealParty))
3299+ , _mlAccountId :: !(Maybe Text)
3300+ , _mlCreateTimeMs :: !(Maybe Int64)
3301+ , _mlLabel :: !(Maybe Text)
3302+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
3303+
3304+-- | Creates a value of 'MarketplaceLabel' with the minimum fields required to make a request.
3305+--
3306+-- Use one of the following lenses to modify other fields as desired:
3307+--
3308+-- * 'mlDeprecatedMarketplaceDealParty'
3309+--
3310+-- * 'mlAccountId'
3311+--
3312+-- * 'mlCreateTimeMs'
3313+--
3314+-- * 'mlLabel'
3315+marketplaceLabel
3316+ :: MarketplaceLabel
3317+marketplaceLabel =
3318+ MarketplaceLabel
3319+ { _mlDeprecatedMarketplaceDealParty = Nothing
3320+ , _mlAccountId = Nothing
3321+ , _mlCreateTimeMs = Nothing
3322+ , _mlLabel = Nothing
3323+ }
3324+
3325+-- | Information about the party that created the label.
3326+mlDeprecatedMarketplaceDealParty :: Lens' MarketplaceLabel (Maybe (Maybe MarketplaceDealParty))
3327+mlDeprecatedMarketplaceDealParty
3328+ = lens _mlDeprecatedMarketplaceDealParty
3329+ (\ s a -> s{_mlDeprecatedMarketplaceDealParty = a})
3330+
3331+-- | The accountId of the party that created the label.
3332+mlAccountId :: Lens' MarketplaceLabel (Maybe Text)
3333+mlAccountId
3334+ = lens _mlAccountId (\ s a -> s{_mlAccountId = a})
3335+
3336+-- | The creation time (in ms since epoch) for the label.
3337+mlCreateTimeMs :: Lens' MarketplaceLabel (Maybe Int64)
3338+mlCreateTimeMs
3339+ = lens _mlCreateTimeMs
3340+ (\ s a -> s{_mlCreateTimeMs = a})
3341+
3342+-- | The label to use.
3343+mlLabel :: Lens' MarketplaceLabel (Maybe Text)
3344+mlLabel = lens _mlLabel (\ s a -> s{_mlLabel = a})
3345+
3346+-- | An order is associated with a bunch of notes which may optionally be
3347+-- associated with a deal and\/or revision number.
3348+--
3349+-- /See:/ 'marketplaceNote' smart constructor.
3350+data MarketplaceNote = MarketplaceNote
3351+ { _mnNote :: !(Maybe Text)
3352+ , _mnKind :: !Text
3353+ , _mnTimestampMs :: !(Maybe Int64)
3354+ , _mnDealId :: !(Maybe Text)
3355+ , _mnNoteId :: !(Maybe Text)
3356+ , _mnCreatorRole :: !(Maybe Text)
3357+ , _mnOrderId :: !(Maybe Text)
3358+ , _mnOrderRevisionNumber :: !(Maybe Int64)
3359+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
3360+
3361+-- | Creates a value of 'MarketplaceNote' with the minimum fields required to make a request.
3362+--
3363+-- Use one of the following lenses to modify other fields as desired:
3364+--
3365+-- * 'mnNote'
3366+--
3367+-- * 'mnKind'
3368+--
3369+-- * 'mnTimestampMs'
3370+--
3371+-- * 'mnDealId'
3372+--
3373+-- * 'mnNoteId'
3374+--
3375+-- * 'mnCreatorRole'
3376+--
3377+-- * 'mnOrderId'
3378+--
3379+-- * 'mnOrderRevisionNumber'
3380+marketplaceNote
3381+ :: MarketplaceNote
3382+marketplaceNote =
3383+ MarketplaceNote
3384+ { _mnNote = Nothing
3385+ , _mnKind = "adexchangebuyer#marketplaceNote"
3386+ , _mnTimestampMs = Nothing
3387+ , _mnDealId = Nothing
3388+ , _mnNoteId = Nothing
3389+ , _mnCreatorRole = Nothing
3390+ , _mnOrderId = Nothing
3391+ , _mnOrderRevisionNumber = Nothing
3392+ }
3393+
3394+-- | The actual note to attach. (readonly, except on create)
3395+mnNote :: Lens' MarketplaceNote (Maybe Text)
3396+mnNote = lens _mnNote (\ s a -> s{_mnNote = a})
3397+
3398+-- | Identifies what kind of resource this is. Value: the fixed string
3399+-- \"adexchangebuyer#marketplaceNote\".
3400+mnKind :: Lens' MarketplaceNote Text
3401+mnKind = lens _mnKind (\ s a -> s{_mnKind = a})
3402+
3403+-- | The timestamp (ms since epoch) that this note was created. (readonly)
3404+mnTimestampMs :: Lens' MarketplaceNote (Maybe Int64)
3405+mnTimestampMs
3406+ = lens _mnTimestampMs
3407+ (\ s a -> s{_mnTimestampMs = a})
3408+
3409+-- | Notes can optionally be associated with a deal. (readonly, except on
3410+-- create)
3411+mnDealId :: Lens' MarketplaceNote (Maybe Text)
3412+mnDealId = lens _mnDealId (\ s a -> s{_mnDealId = a})
3413+
3414+-- | The unique id for the note. (readonly)
3415+mnNoteId :: Lens' MarketplaceNote (Maybe Text)
3416+mnNoteId = lens _mnNoteId (\ s a -> s{_mnNoteId = a})
3417+
3418+-- | The role of the person (buyer\/seller) creating the note. (readonly)
3419+mnCreatorRole :: Lens' MarketplaceNote (Maybe Text)
3420+mnCreatorRole
3421+ = lens _mnCreatorRole
3422+ (\ s a -> s{_mnCreatorRole = a})
3423+
3424+-- | The order_id that a note is attached to. (readonly)
3425+mnOrderId :: Lens' MarketplaceNote (Maybe Text)
3426+mnOrderId
3427+ = lens _mnOrderId (\ s a -> s{_mnOrderId = a})
3428+
3429+-- | If the note is associated with an order revision number, then store that
3430+-- here. (readonly, except on create)
3431+mnOrderRevisionNumber :: Lens' MarketplaceNote (Maybe Int64)
3432+mnOrderRevisionNumber
3433+ = lens _mnOrderRevisionNumber
3434+ (\ s a -> s{_mnOrderRevisionNumber = a})
3435+
3436+-- | An offer is segment of inventory that a seller wishes to sell. It is
3437+-- associated with certain terms and targeting information which helps
3438+-- buyer know more about the inventory. Each field in an order can have one
3439+-- of the following setting: (readonly) - It is an error to try and set
3440+-- this field. (buyer-readonly) - Only the seller can set this field.
3441+-- (seller-readonly) - Only the buyer can set this field. (updatable) - The
3442+-- field is updatable at all times by either buyer or the seller.
3443+--
3444+-- /See:/ 'marketplaceOffer' smart constructor.
3445+data MarketplaceOffer = MarketplaceOffer
3446+ { _moState :: !(Maybe Text)
3447+ , _moWebPropertyCode :: !(Maybe Text)
3448+ , _moCreationTimeMs :: !(Maybe Int64)
3449+ , _moTerms :: !(Maybe (Maybe DealTerms))
3450+ , _moLastUpdateTimeMs :: !(Maybe Int64)
3451+ , _moKind :: !Text
3452+ , _moRevisionNumber :: !(Maybe Int64)
3453+ , _moHasCreatorSignedOff :: !(Maybe Bool)
3454+ , _moFlightStartTimeMs :: !(Maybe Int64)
3455+ , _moSharedTargetings :: !(Maybe [Maybe SharedTargeting])
3456+ , _moSeller :: !(Maybe (Maybe Seller))
3457+ , _moSyndicationProduct :: !(Maybe Text)
3458+ , _moFlightEndTimeMs :: !(Maybe Int64)
3459+ , _moName :: !(Maybe Text)
3460+ , _moCreatorContacts :: !(Maybe [Maybe ContactInformation])
3461+ , _moOfferId :: !(Maybe Text)
3462+ , _moLabels :: !(Maybe [Maybe MarketplaceLabel])
3463+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
3464+
3465+-- | Creates a value of 'MarketplaceOffer' with the minimum fields required to make a request.
3466+--
3467+-- Use one of the following lenses to modify other fields as desired:
3468+--
3469+-- * 'moState'
3470+--
3471+-- * 'moWebPropertyCode'
3472+--
3473+-- * 'moCreationTimeMs'
3474+--
3475+-- * 'moTerms'
3476+--
3477+-- * 'moLastUpdateTimeMs'
3478+--
3479+-- * 'moKind'
3480+--
3481+-- * 'moRevisionNumber'
3482+--
3483+-- * 'moHasCreatorSignedOff'
3484+--
3485+-- * 'moFlightStartTimeMs'
3486+--
3487+-- * 'moSharedTargetings'
3488+--
3489+-- * 'moSeller'
3490+--
3491+-- * 'moSyndicationProduct'
3492+--
3493+-- * 'moFlightEndTimeMs'
3494+--
3495+-- * 'moName'
3496+--
3497+-- * 'moCreatorContacts'
3498+--
3499+-- * 'moOfferId'
3500+--
3501+-- * 'moLabels'
3502+marketplaceOffer
3503+ :: MarketplaceOffer
3504+marketplaceOffer =
3505+ MarketplaceOffer
3506+ { _moState = Nothing
3507+ , _moWebPropertyCode = Nothing
3508+ , _moCreationTimeMs = Nothing
3509+ , _moTerms = Nothing
3510+ , _moLastUpdateTimeMs = Nothing
3511+ , _moKind = "adexchangebuyer#marketplaceOffer"
3512+ , _moRevisionNumber = Nothing
3513+ , _moHasCreatorSignedOff = Nothing
3514+ , _moFlightStartTimeMs = Nothing
3515+ , _moSharedTargetings = Nothing
3516+ , _moSeller = Nothing
3517+ , _moSyndicationProduct = Nothing
3518+ , _moFlightEndTimeMs = Nothing
3519+ , _moName = Nothing
3520+ , _moCreatorContacts = Nothing
3521+ , _moOfferId = Nothing
3522+ , _moLabels = Nothing
3523+ }
3524+
3525+-- | The state of the offer. (buyer-readonly)
3526+moState :: Lens' MarketplaceOffer (Maybe Text)
3527+moState = lens _moState (\ s a -> s{_moState = a})
3528+
3529+moWebPropertyCode :: Lens' MarketplaceOffer (Maybe Text)
3530+moWebPropertyCode
3531+ = lens _moWebPropertyCode
3532+ (\ s a -> s{_moWebPropertyCode = a})
3533+
3534+-- | Creation time in ms. since epoch (readonly)
3535+moCreationTimeMs :: Lens' MarketplaceOffer (Maybe Int64)
3536+moCreationTimeMs
3537+ = lens _moCreationTimeMs
3538+ (\ s a -> s{_moCreationTimeMs = a})
3539+
3540+-- | The negotiable terms of the deal (buyer-readonly)
3541+moTerms :: Lens' MarketplaceOffer (Maybe (Maybe DealTerms))
3542+moTerms = lens _moTerms (\ s a -> s{_moTerms = a})
3543+
3544+-- | Time of last update in ms. since epoch (readonly)
3545+moLastUpdateTimeMs :: Lens' MarketplaceOffer (Maybe Int64)
3546+moLastUpdateTimeMs
3547+ = lens _moLastUpdateTimeMs
3548+ (\ s a -> s{_moLastUpdateTimeMs = a})
3549+
3550+-- | Identifies what kind of resource this is. Value: the fixed string
3551+-- \"adexchangebuyer#marketplaceOffer\".
3552+moKind :: Lens' MarketplaceOffer Text
3553+moKind = lens _moKind (\ s a -> s{_moKind = a})
3554+
3555+-- | The revision number of the offer. (readonly)
3556+moRevisionNumber :: Lens' MarketplaceOffer (Maybe Int64)
3557+moRevisionNumber
3558+ = lens _moRevisionNumber
3559+ (\ s a -> s{_moRevisionNumber = a})
3560+
3561+-- | If the creator has already signed off on the offer, then the buyer can
3562+-- finalize the deal by accepting the offer as is. When copying to an
3563+-- order, if any of the terms are changed, then auto_finalize is
3564+-- automatically set to false.
3565+moHasCreatorSignedOff :: Lens' MarketplaceOffer (Maybe Bool)
3566+moHasCreatorSignedOff
3567+ = lens _moHasCreatorSignedOff
3568+ (\ s a -> s{_moHasCreatorSignedOff = a})
3569+
3570+-- | Inventory availability dates. (times are in ms since epoch) The
3571+-- granularity is generally in the order of seconds. (buyer-readonly)
3572+moFlightStartTimeMs :: Lens' MarketplaceOffer (Maybe Int64)
3573+moFlightStartTimeMs
3574+ = lens _moFlightStartTimeMs
3575+ (\ s a -> s{_moFlightStartTimeMs = a})
3576+
3577+-- | Targeting that is shared between the buyer and the seller. Each
3578+-- targeting criteria has a specified key and for each key there is a list
3579+-- of inclusion value or exclusion values. (buyer-readonly)
3580+moSharedTargetings :: Lens' MarketplaceOffer [Maybe SharedTargeting]
3581+moSharedTargetings
3582+ = lens _moSharedTargetings
3583+ (\ s a -> s{_moSharedTargetings = a})
3584+ . _Default
3585+ . _Coerce
3586+
3587+-- | Information about the seller that created this offer (readonly, except
3588+-- on create)
3589+moSeller :: Lens' MarketplaceOffer (Maybe (Maybe Seller))
3590+moSeller = lens _moSeller (\ s a -> s{_moSeller = a})
3591+
3592+-- | The syndication product associated with the deal. (readonly, except on
3593+-- create)
3594+moSyndicationProduct :: Lens' MarketplaceOffer (Maybe Text)
3595+moSyndicationProduct
3596+ = lens _moSyndicationProduct
3597+ (\ s a -> s{_moSyndicationProduct = a})
3598+
3599+-- | The proposed end time for the deal (ms since epoch) (buyer-readonly)
3600+moFlightEndTimeMs :: Lens' MarketplaceOffer (Maybe Int64)
3601+moFlightEndTimeMs
3602+ = lens _moFlightEndTimeMs
3603+ (\ s a -> s{_moFlightEndTimeMs = a})
3604+
3605+-- | The name for this offer as set by the seller. (buyer-readonly)
3606+moName :: Lens' MarketplaceOffer (Maybe Text)
3607+moName = lens _moName (\ s a -> s{_moName = a})
3608+
3609+-- | Optional contact information for the creator of this offer.
3610+-- (buyer-readonly)
3611+moCreatorContacts :: Lens' MarketplaceOffer [Maybe ContactInformation]
3612+moCreatorContacts
3613+ = lens _moCreatorContacts
3614+ (\ s a -> s{_moCreatorContacts = a})
3615+ . _Default
3616+ . _Coerce
3617+
3618+-- | The unique id for the offer (readonly)
3619+moOfferId :: Lens' MarketplaceOffer (Maybe Text)
3620+moOfferId
3621+ = lens _moOfferId (\ s a -> s{_moOfferId = a})
3622+
3623+-- | Optional List of labels for the offer (optional, buyer-readonly).
3624+moLabels :: Lens' MarketplaceOffer [Maybe MarketplaceLabel]
3625+moLabels
3626+ = lens _moLabels (\ s a -> s{_moLabels = a}) .
3627+ _Default
3628+ . _Coerce
3629+
3630+-- | Represents an order in the marketplace. An order is the unit of
3631+-- negotiation between a seller and a buyer and contains deals which are
3632+-- served. Each field in an order can have one of the following setting:
3633+-- (readonly) - It is an error to try and set this field. (buyer-readonly)
3634+-- - Only the seller can set this field. (seller-readonly) - Only the buyer
3635+-- can set this field. (updatable) - The field is updatable at all times by
3636+-- either buyer or the seller.
3637+--
3638+-- /See:/ 'marketplaceOrder' smart constructor.
3639+data MarketplaceOrder = MarketplaceOrder
3640+ { _mBuyerPrivateData :: !(Maybe (Maybe PrivateData))
3641+ , _mIsSetupComplete :: !(Maybe Bool)
3642+ , _mBuyerContacts :: !(Maybe [Maybe ContactInformation])
3643+ , _mKind :: !Text
3644+ , _mOriginatorRole :: !(Maybe Text)
3645+ , _mRevisionNumber :: !(Maybe Int64)
3646+ , _mBilledBuyer :: !(Maybe (Maybe Buyer))
3647+ , _mIsRenegotiating :: !(Maybe Bool)
3648+ , _mHasSellerSignedOff :: !(Maybe Bool)
3649+ , _mSeller :: !(Maybe (Maybe Seller))
3650+ , _mOrderState :: !(Maybe Text)
3651+ , _mName :: !(Maybe Text)
3652+ , _mSellerContacts :: !(Maybe [Maybe ContactInformation])
3653+ , _mLastUpdaterRole :: !(Maybe Text)
3654+ , _mLabels :: !(Maybe [Maybe MarketplaceLabel])
3655+ , _mRevisionTimeMs :: !(Maybe Int64)
3656+ , _mOrderId :: !(Maybe Text)
3657+ , _mLastUpdaterOrCommentorRole :: !(Maybe Text)
3658+ , _mHasBuyerSignedOff :: !(Maybe Bool)
3659+ , _mBuyer :: !(Maybe (Maybe Buyer))
3660+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
3661+
3662+-- | Creates a value of 'MarketplaceOrder' with the minimum fields required to make a request.
3663+--
3664+-- Use one of the following lenses to modify other fields as desired:
3665+--
3666+-- * 'mBuyerPrivateData'
3667+--
3668+-- * 'mIsSetupComplete'
3669+--
3670+-- * 'mBuyerContacts'
3671+--
3672+-- * 'mKind'
3673+--
3674+-- * 'mOriginatorRole'
3675+--
3676+-- * 'mRevisionNumber'
3677+--
3678+-- * 'mBilledBuyer'
3679+--
3680+-- * 'mIsRenegotiating'
3681+--
3682+-- * 'mHasSellerSignedOff'
3683+--
3684+-- * 'mSeller'
3685+--
3686+-- * 'mOrderState'
3687+--
3688+-- * 'mName'
3689+--
3690+-- * 'mSellerContacts'
3691+--
3692+-- * 'mLastUpdaterRole'
3693+--
3694+-- * 'mLabels'
3695+--
3696+-- * 'mRevisionTimeMs'
3697+--
3698+-- * 'mOrderId'
3699+--
3700+-- * 'mLastUpdaterOrCommentorRole'
3701+--
3702+-- * 'mHasBuyerSignedOff'
3703+--
3704+-- * 'mBuyer'
3705+marketplaceOrder
3706+ :: MarketplaceOrder
3707+marketplaceOrder =
3708+ MarketplaceOrder
3709+ { _mBuyerPrivateData = Nothing
3710+ , _mIsSetupComplete = Nothing
3711+ , _mBuyerContacts = Nothing
3712+ , _mKind = "adexchangebuyer#marketplaceOrder"
3713+ , _mOriginatorRole = Nothing
3714+ , _mRevisionNumber = Nothing
3715+ , _mBilledBuyer = Nothing
3716+ , _mIsRenegotiating = Nothing
3717+ , _mHasSellerSignedOff = Nothing
3718+ , _mSeller = Nothing
3719+ , _mOrderState = Nothing
3720+ , _mName = Nothing
3721+ , _mSellerContacts = Nothing
3722+ , _mLastUpdaterRole = Nothing
3723+ , _mLabels = Nothing
3724+ , _mRevisionTimeMs = Nothing
3725+ , _mOrderId = Nothing
3726+ , _mLastUpdaterOrCommentorRole = Nothing
3727+ , _mHasBuyerSignedOff = Nothing
3728+ , _mBuyer = Nothing
3729+ }
3730+
3731+-- | Private data for buyer. (hidden from seller).
3732+mBuyerPrivateData :: Lens' MarketplaceOrder (Maybe (Maybe PrivateData))
3733+mBuyerPrivateData
3734+ = lens _mBuyerPrivateData
3735+ (\ s a -> s{_mBuyerPrivateData = a})
3736+
3737+-- | True, if the buyside inventory setup is complete for this order.
3738+-- (readonly)
3739+mIsSetupComplete :: Lens' MarketplaceOrder (Maybe Bool)
3740+mIsSetupComplete
3741+ = lens _mIsSetupComplete
3742+ (\ s a -> s{_mIsSetupComplete = a})
3743+
3744+-- | Optional contact information fort the buyer. (seller-readonly)
3745+mBuyerContacts :: Lens' MarketplaceOrder [Maybe ContactInformation]
3746+mBuyerContacts
3747+ = lens _mBuyerContacts
3748+ (\ s a -> s{_mBuyerContacts = a})
3749+ . _Default
3750+ . _Coerce
3751+
3752+-- | Identifies what kind of resource this is. Value: the fixed string
3753+-- \"adexchangebuyer#marketplaceOrder\".
3754+mKind :: Lens' MarketplaceOrder Text
3755+mKind = lens _mKind (\ s a -> s{_mKind = a})
3756+
3757+-- | Indicates whether the buyer\/seller created the offer.(readonly)
3758+mOriginatorRole :: Lens' MarketplaceOrder (Maybe Text)
3759+mOriginatorRole
3760+ = lens _mOriginatorRole
3761+ (\ s a -> s{_mOriginatorRole = a})
3762+
3763+-- | The revision number for the order (readonly).
3764+mRevisionNumber :: Lens' MarketplaceOrder (Maybe Int64)
3765+mRevisionNumber
3766+ = lens _mRevisionNumber
3767+ (\ s a -> s{_mRevisionNumber = a})
3768+
3769+-- | Reference to the buyer that will get billed for this order. (readonly)
3770+mBilledBuyer :: Lens' MarketplaceOrder (Maybe (Maybe Buyer))
3771+mBilledBuyer
3772+ = lens _mBilledBuyer (\ s a -> s{_mBilledBuyer = a})
3773+
3774+-- | True if the order is being renegotiated (readonly).
3775+mIsRenegotiating :: Lens' MarketplaceOrder (Maybe Bool)
3776+mIsRenegotiating
3777+ = lens _mIsRenegotiating
3778+ (\ s a -> s{_mIsRenegotiating = a})
3779+
3780+-- | When an order is in an accepted state, indicates whether the buyer has
3781+-- signed off Once both sides have signed off on a deal, the order can be
3782+-- finalized by the seller. (buyer-readonly)
3783+mHasSellerSignedOff :: Lens' MarketplaceOrder (Maybe Bool)
3784+mHasSellerSignedOff
3785+ = lens _mHasSellerSignedOff
3786+ (\ s a -> s{_mHasSellerSignedOff = a})
3787+
3788+-- | Reference to the seller on the order. (readonly, except on create)
3789+mSeller :: Lens' MarketplaceOrder (Maybe (Maybe Seller))
3790+mSeller = lens _mSeller (\ s a -> s{_mSeller = a})
3791+
3792+-- | The current state of the order. (readonly)
3793+mOrderState :: Lens' MarketplaceOrder (Maybe Text)
3794+mOrderState
3795+ = lens _mOrderState (\ s a -> s{_mOrderState = a})
3796+
3797+-- | The name for the order (updatable)
3798+mName :: Lens' MarketplaceOrder (Maybe Text)
3799+mName = lens _mName (\ s a -> s{_mName = a})
3800+
3801+-- | Optional contact information for the seller (buyer-readonly).
3802+mSellerContacts :: Lens' MarketplaceOrder [Maybe ContactInformation]
3803+mSellerContacts
3804+ = lens _mSellerContacts
3805+ (\ s a -> s{_mSellerContacts = a})
3806+ . _Default
3807+ . _Coerce
3808+
3809+mLastUpdaterRole :: Lens' MarketplaceOrder (Maybe Text)
3810+mLastUpdaterRole
3811+ = lens _mLastUpdaterRole
3812+ (\ s a -> s{_mLastUpdaterRole = a})
3813+
3814+-- | List of labels associated with the order. (readonly)
3815+mLabels :: Lens' MarketplaceOrder [Maybe MarketplaceLabel]
3816+mLabels
3817+ = lens _mLabels (\ s a -> s{_mLabels = a}) . _Default
3818+ . _Coerce
3819+
3820+-- | The time (ms since epoch) when the order was last revised (readonly).
3821+mRevisionTimeMs :: Lens' MarketplaceOrder (Maybe Int64)
3822+mRevisionTimeMs
3823+ = lens _mRevisionTimeMs
3824+ (\ s a -> s{_mRevisionTimeMs = a})
3825+
3826+-- | The unique id of the order. (readonly).
3827+mOrderId :: Lens' MarketplaceOrder (Maybe Text)
3828+mOrderId = lens _mOrderId (\ s a -> s{_mOrderId = a})
3829+
3830+-- | The role of the last user that either updated the order or left a
3831+-- comment. (readonly)
3832+mLastUpdaterOrCommentorRole :: Lens' MarketplaceOrder (Maybe Text)
3833+mLastUpdaterOrCommentorRole
3834+ = lens _mLastUpdaterOrCommentorRole
3835+ (\ s a -> s{_mLastUpdaterOrCommentorRole = a})
3836+
3837+-- | When an order is in an accepted state, indicates whether the buyer has
3838+-- signed off Once both sides have signed off on a deal, the order can be
3839+-- finalized by the seller. (seller-readonly)
3840+mHasBuyerSignedOff :: Lens' MarketplaceOrder (Maybe Bool)
3841+mHasBuyerSignedOff
3842+ = lens _mHasBuyerSignedOff
3843+ (\ s a -> s{_mHasBuyerSignedOff = a})
3844+
3845+-- | Reference to the buyer on the order. (readonly, except on create)
3846+mBuyer :: Lens' MarketplaceOrder (Maybe (Maybe Buyer))
3847+mBuyer = lens _mBuyer (\ s a -> s{_mBuyer = a})
3848+
3849+--
3850+-- /See:/ 'moneyDto' smart constructor.
3851+data MoneyDto = MoneyDto
3852+ { _mdCurrencyCode :: !(Maybe Text)
3853+ , _mdMicros :: !(Maybe Int64)
3854+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
3855+
3856+-- | Creates a value of 'MoneyDto' with the minimum fields required to make a request.
3857+--
3858+-- Use one of the following lenses to modify other fields as desired:
3859+--
3860+-- * 'mdCurrencyCode'
3861+--
3862+-- * 'mdMicros'
3863+moneyDto
3864+ :: MoneyDto
3865+moneyDto =
3866+ MoneyDto
3867+ { _mdCurrencyCode = Nothing
3868+ , _mdMicros = Nothing
3869+ }
3870+
3871+mdCurrencyCode :: Lens' MoneyDto (Maybe Text)
3872+mdCurrencyCode
3873+ = lens _mdCurrencyCode
3874+ (\ s a -> s{_mdCurrencyCode = a})
3875+
3876+mdMicros :: Lens' MoneyDto (Maybe Int64)
3877+mdMicros = lens _mdMicros (\ s a -> s{_mdMicros = a})
3878+
3879+--
3880+-- /See:/ 'negotiationDto' smart constructor.
3881+data NegotiationDto = NegotiationDto
3882+ { _ndNegotiationState :: !(Maybe Text)
3883+ , _ndExternalDealId :: !(Maybe Int64)
3884+ , _ndStatus :: !(Maybe Text)
3885+ , _ndDealType :: !(Maybe Text)
3886+ , _ndNegotiationRounds :: !(Maybe [Maybe NegotiationRoundDto])
3887+ , _ndKind :: !Text
3888+ , _ndBilledBuyer :: !(Maybe (Maybe DealPartyDto))
3889+ , _ndBuyerEmailContacts :: !(Maybe [Text])
3890+ , _ndStats :: !(Maybe (Maybe StatsDto))
3891+ , _ndSeller :: !(Maybe (Maybe DealPartyDto))
3892+ , _ndLabelNames :: !(Maybe [Text])
3893+ , _ndOfferId :: !(Maybe Int64)
3894+ , _ndNegotiationId :: !(Maybe Int64)
3895+ , _ndSellerEmailContacts :: !(Maybe [Text])
3896+ , _ndBuyer :: !(Maybe (Maybe DealPartyDto))
3897+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
3898+
3899+-- | Creates a value of 'NegotiationDto' with the minimum fields required to make a request.
3900+--
3901+-- Use one of the following lenses to modify other fields as desired:
3902+--
3903+-- * 'ndNegotiationState'
3904+--
3905+-- * 'ndExternalDealId'
3906+--
3907+-- * 'ndStatus'
3908+--
3909+-- * 'ndDealType'
3910+--
3911+-- * 'ndNegotiationRounds'
3912+--
3913+-- * 'ndKind'
3914+--
3915+-- * 'ndBilledBuyer'
3916+--
3917+-- * 'ndBuyerEmailContacts'
3918+--
3919+-- * 'ndStats'
3920+--
3921+-- * 'ndSeller'
3922+--
3923+-- * 'ndLabelNames'
3924+--
3925+-- * 'ndOfferId'
3926+--
3927+-- * 'ndNegotiationId'
3928+--
3929+-- * 'ndSellerEmailContacts'
3930+--
3931+-- * 'ndBuyer'
3932+negotiationDto
3933+ :: NegotiationDto
3934+negotiationDto =
3935+ NegotiationDto
3936+ { _ndNegotiationState = Nothing
3937+ , _ndExternalDealId = Nothing
3938+ , _ndStatus = Nothing
3939+ , _ndDealType = Nothing
3940+ , _ndNegotiationRounds = Nothing
3941+ , _ndKind = "adexchangebuyer#negotiation"
3942+ , _ndBilledBuyer = Nothing
3943+ , _ndBuyerEmailContacts = Nothing
3944+ , _ndStats = Nothing
3945+ , _ndSeller = Nothing
3946+ , _ndLabelNames = Nothing
3947+ , _ndOfferId = Nothing
3948+ , _ndNegotiationId = Nothing
3949+ , _ndSellerEmailContacts = Nothing
3950+ , _ndBuyer = Nothing
3951+ }
3952+
3953+-- | The state of this negotiation.
3954+ndNegotiationState :: Lens' NegotiationDto (Maybe Text)
3955+ndNegotiationState
3956+ = lens _ndNegotiationState
3957+ (\ s a -> s{_ndNegotiationState = a})
3958+
3959+-- | For finalized negotiations, the ID of the finalized deal.
3960+ndExternalDealId :: Lens' NegotiationDto (Maybe Int64)
3961+ndExternalDealId
3962+ = lens _ndExternalDealId
3963+ (\ s a -> s{_ndExternalDealId = a})
3964+
3965+-- | The status of this negotiation.
3966+ndStatus :: Lens' NegotiationDto (Maybe Text)
3967+ndStatus = lens _ndStatus (\ s a -> s{_ndStatus = a})
3968+
3969+-- | The type of this deal.
3970+ndDealType :: Lens' NegotiationDto (Maybe Text)
3971+ndDealType
3972+ = lens _ndDealType (\ s a -> s{_ndDealType = a})
3973+
3974+-- | The series of negotiation rounds for this negotiation.
3975+ndNegotiationRounds :: Lens' NegotiationDto [Maybe NegotiationRoundDto]
3976+ndNegotiationRounds
3977+ = lens _ndNegotiationRounds
3978+ (\ s a -> s{_ndNegotiationRounds = a})
3979+ . _Default
3980+ . _Coerce
3981+
3982+ndKind :: Lens' NegotiationDto Text
3983+ndKind = lens _ndKind (\ s a -> s{_ndKind = a})
3984+
3985+-- | The billed buyer; Specified by a buyer buying through an intermediary.
3986+ndBilledBuyer :: Lens' NegotiationDto (Maybe (Maybe DealPartyDto))
3987+ndBilledBuyer
3988+ = lens _ndBilledBuyer
3989+ (\ s a -> s{_ndBilledBuyer = a})
3990+
3991+-- | The buyer party\'s contact email.
3992+ndBuyerEmailContacts :: Lens' NegotiationDto [Text]
3993+ndBuyerEmailContacts
3994+ = lens _ndBuyerEmailContacts
3995+ (\ s a -> s{_ndBuyerEmailContacts = a})
3996+ . _Default
3997+ . _Coerce
3998+
3999+-- | The stats for this negotiation.
4000+ndStats :: Lens' NegotiationDto (Maybe (Maybe StatsDto))
4001+ndStats = lens _ndStats (\ s a -> s{_ndStats = a})
4002+
4003+-- | Details of the seller party in this negotiation.
4004+ndSeller :: Lens' NegotiationDto (Maybe (Maybe DealPartyDto))
4005+ndSeller = lens _ndSeller (\ s a -> s{_ndSeller = a})
4006+
4007+-- | A list of label names applicable to this negotiation.
4008+ndLabelNames :: Lens' NegotiationDto [Text]
4009+ndLabelNames
4010+ = lens _ndLabelNames (\ s a -> s{_ndLabelNames = a})
4011+ . _Default
4012+ . _Coerce
4013+
4014+-- | The ID of this negotiation\'s original offer.
4015+ndOfferId :: Lens' NegotiationDto (Maybe Int64)
4016+ndOfferId
4017+ = lens _ndOfferId (\ s a -> s{_ndOfferId = a})
4018+
4019+-- | The unique ID of this negotiation.
4020+ndNegotiationId :: Lens' NegotiationDto (Maybe Int64)
4021+ndNegotiationId
4022+ = lens _ndNegotiationId
4023+ (\ s a -> s{_ndNegotiationId = a})
4024+
4025+-- | The seller party\'s contact email.
4026+ndSellerEmailContacts :: Lens' NegotiationDto [Text]
4027+ndSellerEmailContacts
4028+ = lens _ndSellerEmailContacts
4029+ (\ s a -> s{_ndSellerEmailContacts = a})
4030+ . _Default
4031+ . _Coerce
4032+
4033+-- | Details of the buyer party in this negotiation.
4034+ndBuyer :: Lens' NegotiationDto (Maybe (Maybe DealPartyDto))
4035+ndBuyer = lens _ndBuyer (\ s a -> s{_ndBuyer = a})
4036+
4037+--
4038+-- /See:/ 'negotiationRoundDto' smart constructor.
4039+data NegotiationRoundDto = NegotiationRoundDto
4040+ { _nrdTerms :: !(Maybe (Maybe TermsDto))
4041+ , _nrdKind :: !Text
4042+ , _nrdOriginatorRole :: !(Maybe Text)
4043+ , _nrdAction :: !(Maybe Text)
4044+ , _nrdDbmPartnerId :: !(Maybe Int64)
4045+ , _nrdNotes :: !(Maybe Text)
4046+ , _nrdNegotiationId :: !(Maybe Int64)
4047+ , _nrdEditHistory :: !(Maybe (Maybe EditHistoryDto))
4048+ , _nrdRoundNumber :: !(Maybe Int64)
4049+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
4050+
4051+-- | Creates a value of 'NegotiationRoundDto' with the minimum fields required to make a request.
4052+--
4053+-- Use one of the following lenses to modify other fields as desired:
4054+--
4055+-- * 'nrdTerms'
4056+--
4057+-- * 'nrdKind'
4058+--
4059+-- * 'nrdOriginatorRole'
4060+--
4061+-- * 'nrdAction'
4062+--
4063+-- * 'nrdDbmPartnerId'
4064+--
4065+-- * 'nrdNotes'
4066+--
4067+-- * 'nrdNegotiationId'
4068+--
4069+-- * 'nrdEditHistory'
4070+--
4071+-- * 'nrdRoundNumber'
4072+negotiationRoundDto
4073+ :: NegotiationRoundDto
4074+negotiationRoundDto =
4075+ NegotiationRoundDto
4076+ { _nrdTerms = Nothing
4077+ , _nrdKind = "adexchangebuyer#negotiationRound"
4078+ , _nrdOriginatorRole = Nothing
4079+ , _nrdAction = Nothing
4080+ , _nrdDbmPartnerId = Nothing
4081+ , _nrdNotes = Nothing
4082+ , _nrdNegotiationId = Nothing
4083+ , _nrdEditHistory = Nothing
4084+ , _nrdRoundNumber = Nothing
4085+ }
4086+
4087+-- | The detailed terms proposed in this negotiation round.
4088+nrdTerms :: Lens' NegotiationRoundDto (Maybe (Maybe TermsDto))
4089+nrdTerms = lens _nrdTerms (\ s a -> s{_nrdTerms = a})
4090+
4091+nrdKind :: Lens' NegotiationRoundDto Text
4092+nrdKind = lens _nrdKind (\ s a -> s{_nrdKind = a})
4093+
4094+-- | The role, either buyer or seller, initiating this negotiation round.
4095+nrdOriginatorRole :: Lens' NegotiationRoundDto (Maybe Text)
4096+nrdOriginatorRole
4097+ = lens _nrdOriginatorRole
4098+ (\ s a -> s{_nrdOriginatorRole = a})
4099+
4100+-- | The action performed by this negotiation round.
4101+nrdAction :: Lens' NegotiationRoundDto (Maybe Text)
4102+nrdAction
4103+ = lens _nrdAction (\ s a -> s{_nrdAction = a})
4104+
4105+-- | Stores DBM partner ID for use by DBM
4106+nrdDbmPartnerId :: Lens' NegotiationRoundDto (Maybe Int64)
4107+nrdDbmPartnerId
4108+ = lens _nrdDbmPartnerId
4109+ (\ s a -> s{_nrdDbmPartnerId = a})
4110+
4111+-- | Notes regarding this negotiation round.
4112+nrdNotes :: Lens' NegotiationRoundDto (Maybe Text)
4113+nrdNotes = lens _nrdNotes (\ s a -> s{_nrdNotes = a})
4114+
4115+-- | The ID of the negotiation to which this negotiation round applies.
4116+nrdNegotiationId :: Lens' NegotiationRoundDto (Maybe Int64)
4117+nrdNegotiationId
4118+ = lens _nrdNegotiationId
4119+ (\ s a -> s{_nrdNegotiationId = a})
4120+
4121+-- | The edit history of this negotiation round.
4122+nrdEditHistory :: Lens' NegotiationRoundDto (Maybe (Maybe EditHistoryDto))
4123+nrdEditHistory
4124+ = lens _nrdEditHistory
4125+ (\ s a -> s{_nrdEditHistory = a})
4126+
4127+-- | The number of this negotiation round, in sequence.
4128+nrdRoundNumber :: Lens' NegotiationRoundDto (Maybe Int64)
4129+nrdRoundNumber
4130+ = lens _nrdRoundNumber
4131+ (\ s a -> s{_nrdRoundNumber = a})
4132+
4133+--
4134+-- /See:/ 'offerDto' smart constructor.
4135+data OfferDto = OfferDto
4136+ { _odCreator :: !(Maybe (Maybe DealPartyDto))
4137+ , _odStatus :: !(Maybe Text)
4138+ , _odOfferState :: !(Maybe Text)
4139+ , _odPointOfContact :: !(Maybe Text)
4140+ , _odTerms :: !(Maybe (Maybe TermsDto))
4141+ , _odKind :: !Text
4142+ , _odBilledBuyer :: !(Maybe (Maybe DealPartyDto))
4143+ , _odOpenToDealParties :: !(Maybe [Maybe DealPartyDto])
4144+ , _odEmailContacts :: !(Maybe [Text])
4145+ , _odLabelNames :: !(Maybe [Text])
4146+ , _odOfferId :: !(Maybe Int64)
4147+ , _odClosedToDealParties :: !(Maybe [Maybe DealPartyDto])
4148+ , _odAnonymous :: !(Maybe Bool)
4149+ , _odIsOpen :: !(Maybe Bool)
4150+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
4151+
4152+-- | Creates a value of 'OfferDto' with the minimum fields required to make a request.
4153+--
4154+-- Use one of the following lenses to modify other fields as desired:
4155+--
4156+-- * 'odCreator'
4157+--
4158+-- * 'odStatus'
4159+--
4160+-- * 'odOfferState'
4161+--
4162+-- * 'odPointOfContact'
4163+--
4164+-- * 'odTerms'
4165+--
4166+-- * 'odKind'
4167+--
4168+-- * 'odBilledBuyer'
4169+--
4170+-- * 'odOpenToDealParties'
4171+--
4172+-- * 'odEmailContacts'
4173+--
4174+-- * 'odLabelNames'
4175+--
4176+-- * 'odOfferId'
4177+--
4178+-- * 'odClosedToDealParties'
4179+--
4180+-- * 'odAnonymous'
4181+--
4182+-- * 'odIsOpen'
4183+offerDto
4184+ :: OfferDto
4185+offerDto =
4186+ OfferDto
4187+ { _odCreator = Nothing
4188+ , _odStatus = Nothing
4189+ , _odOfferState = Nothing
4190+ , _odPointOfContact = Nothing
4191+ , _odTerms = Nothing
4192+ , _odKind = "adexchangebuyer#offer"
4193+ , _odBilledBuyer = Nothing
4194+ , _odOpenToDealParties = Nothing
4195+ , _odEmailContacts = Nothing
4196+ , _odLabelNames = Nothing
4197+ , _odOfferId = Nothing
4198+ , _odClosedToDealParties = Nothing
4199+ , _odAnonymous = Nothing
4200+ , _odIsOpen = Nothing
4201+ }
4202+
4203+-- | The creator of this offer.
4204+odCreator :: Lens' OfferDto (Maybe (Maybe DealPartyDto))
4205+odCreator
4206+ = lens _odCreator (\ s a -> s{_odCreator = a})
4207+
4208+-- | The status of this offer.
4209+odStatus :: Lens' OfferDto (Maybe Text)
4210+odStatus = lens _odStatus (\ s a -> s{_odStatus = a})
4211+
4212+-- | The state of this offer.
4213+odOfferState :: Lens' OfferDto (Maybe Text)
4214+odOfferState
4215+ = lens _odOfferState (\ s a -> s{_odOfferState = a})
4216+
4217+-- | The point of contact for this offer.
4218+odPointOfContact :: Lens' OfferDto (Maybe Text)
4219+odPointOfContact
4220+ = lens _odPointOfContact
4221+ (\ s a -> s{_odPointOfContact = a})
4222+
4223+-- | The terms of this offer.
4224+odTerms :: Lens' OfferDto (Maybe (Maybe TermsDto))
4225+odTerms = lens _odTerms (\ s a -> s{_odTerms = a})
4226+
4227+odKind :: Lens' OfferDto Text
4228+odKind = lens _odKind (\ s a -> s{_odKind = a})
4229+
4230+-- | The billed buyer; For buyer initiated offers, buying through an
4231+-- intermediary.
4232+odBilledBuyer :: Lens' OfferDto (Maybe (Maybe DealPartyDto))
4233+odBilledBuyer
4234+ = lens _odBilledBuyer
4235+ (\ s a -> s{_odBilledBuyer = a})
4236+
4237+-- | The list of buyer or seller parties this offer is open to.
4238+odOpenToDealParties :: Lens' OfferDto [Maybe DealPartyDto]
4239+odOpenToDealParties
4240+ = lens _odOpenToDealParties
4241+ (\ s a -> s{_odOpenToDealParties = a})
4242+ . _Default
4243+ . _Coerce
4244+
4245+-- | The list of email contacts for this offer.
4246+odEmailContacts :: Lens' OfferDto [Text]
4247+odEmailContacts
4248+ = lens _odEmailContacts
4249+ (\ s a -> s{_odEmailContacts = a})
4250+ . _Default
4251+ . _Coerce
4252+
4253+-- | The list of label names applicable to this offer.
4254+odLabelNames :: Lens' OfferDto [Text]
4255+odLabelNames
4256+ = lens _odLabelNames (\ s a -> s{_odLabelNames = a})
4257+ . _Default
4258+ . _Coerce
4259+
4260+-- | The unique ID of this offer.
4261+odOfferId :: Lens' OfferDto (Maybe Int64)
4262+odOfferId
4263+ = lens _odOfferId (\ s a -> s{_odOfferId = a})
4264+
4265+-- | The list of buyer or seller parties this offer is closed to.
4266+odClosedToDealParties :: Lens' OfferDto [Maybe DealPartyDto]
4267+odClosedToDealParties
4268+ = lens _odClosedToDealParties
4269+ (\ s a -> s{_odClosedToDealParties = a})
4270+ . _Default
4271+ . _Coerce
4272+
4273+-- | Whether this offer is anonymous.
4274+odAnonymous :: Lens' OfferDto (Maybe Bool)
4275+odAnonymous
4276+ = lens _odAnonymous (\ s a -> s{_odAnonymous = a})
4277+
4278+-- | Whether this offer is open.
4279+odIsOpen :: Lens' OfferDto (Maybe Bool)
4280+odIsOpen = lens _odIsOpen (\ s a -> s{_odIsOpen = a})
4281+
4282+-- | The configuration data for an Ad Exchange performance report list.
4283+--
4284+-- /See:/ 'performanceReport' smart constructor.
4285+data PerformanceReport = PerformanceReport
4286+ { _prFilteredBidRate :: !(Maybe Double)
4287+ , _prKind :: !Text
4288+ , _prLatency95thPercentile :: !(Maybe Double)
4289+ , _prCookieMatcherStatusRate :: !(Maybe [Either Text Int64])
4290+ , _prHostedMatchStatusRate :: !(Maybe [Either Text Int64])
4291+ , _prUnsuccessfulRequestRate :: !(Maybe Double)
4292+ , _prBidRequestRate :: !(Maybe Double)
4293+ , _prQuotaThrottledLimit :: !(Maybe Double)
4294+ , _prQuotaConfiguredLimit :: !(Maybe Double)
4295+ , _prSuccessfulRequestRate :: !(Maybe Double)
4296+ , _prLatency85thPercentile :: !(Maybe Double)
4297+ , _prCalloutStatusRate :: !(Maybe [Either Text Int64])
4298+ , _prLatency50thPercentile :: !(Maybe Double)
4299+ , _prBidRate :: !(Maybe Double)
4300+ , _prCreativeStatusRate :: !(Maybe [Either Text Int64])
4301+ , _prNoQuotaInRegion :: !(Maybe Double)
4302+ , _prRegion :: !(Maybe Text)
4303+ , _prInventoryMatchRate :: !(Maybe Double)
4304+ , _prPixelMatchResponses :: !(Maybe Double)
4305+ , _prTimestamp :: !(Maybe Int64)
4306+ , _prPixelMatchRequests :: !(Maybe Double)
4307+ , _prOutOfQuota :: !(Maybe Double)
4308+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
4309+
4310+-- | Creates a value of 'PerformanceReport' with the minimum fields required to make a request.
4311+--
4312+-- Use one of the following lenses to modify other fields as desired:
4313+--
4314+-- * 'prFilteredBidRate'
4315+--
4316+-- * 'prKind'
4317+--
4318+-- * 'prLatency95thPercentile'
4319+--
4320+-- * 'prCookieMatcherStatusRate'
4321+--
4322+-- * 'prHostedMatchStatusRate'
4323+--
4324+-- * 'prUnsuccessfulRequestRate'
4325+--
4326+-- * 'prBidRequestRate'
4327+--
4328+-- * 'prQuotaThrottledLimit'
4329+--
4330+-- * 'prQuotaConfiguredLimit'
4331+--
4332+-- * 'prSuccessfulRequestRate'
4333+--
4334+-- * 'prLatency85thPercentile'
4335+--
4336+-- * 'prCalloutStatusRate'
4337+--
4338+-- * 'prLatency50thPercentile'
4339+--
4340+-- * 'prBidRate'
4341+--
4342+-- * 'prCreativeStatusRate'
4343+--
4344+-- * 'prNoQuotaInRegion'
4345+--
4346+-- * 'prRegion'
4347+--
4348+-- * 'prInventoryMatchRate'
4349+--
4350+-- * 'prPixelMatchResponses'
4351+--
4352+-- * 'prTimestamp'
4353+--
4354+-- * 'prPixelMatchRequests'
4355+--
4356+-- * 'prOutOfQuota'
4357+performanceReport
4358+ :: PerformanceReport
4359+performanceReport =
4360+ PerformanceReport
4361+ { _prFilteredBidRate = Nothing
4362+ , _prKind = "adexchangebuyer#performanceReport"
4363+ , _prLatency95thPercentile = Nothing
4364+ , _prCookieMatcherStatusRate = Nothing
4365+ , _prHostedMatchStatusRate = Nothing
4366+ , _prUnsuccessfulRequestRate = Nothing
4367+ , _prBidRequestRate = Nothing
4368+ , _prQuotaThrottledLimit = Nothing
4369+ , _prQuotaConfiguredLimit = Nothing
4370+ , _prSuccessfulRequestRate = Nothing
4371+ , _prLatency85thPercentile = Nothing
4372+ , _prCalloutStatusRate = Nothing
4373+ , _prLatency50thPercentile = Nothing
4374+ , _prBidRate = Nothing
4375+ , _prCreativeStatusRate = Nothing
4376+ , _prNoQuotaInRegion = Nothing
4377+ , _prRegion = Nothing
4378+ , _prInventoryMatchRate = Nothing
4379+ , _prPixelMatchResponses = Nothing
4380+ , _prTimestamp = Nothing
4381+ , _prPixelMatchRequests = Nothing
4382+ , _prOutOfQuota = Nothing
4383+ }
4384+
4385+-- | The number of bid responses that were filtered due to a policy violation
4386+-- or other errors.
4387+prFilteredBidRate :: Lens' PerformanceReport (Maybe Double)
4388+prFilteredBidRate
4389+ = lens _prFilteredBidRate
4390+ (\ s a -> s{_prFilteredBidRate = a})
4391+
4392+-- | Resource type.
4393+prKind :: Lens' PerformanceReport Text
4394+prKind = lens _prKind (\ s a -> s{_prKind = a})
4395+
4396+-- | The 95th percentile round trip latency(ms) as perceived from Google
4397+-- servers for the duration period covered by the report.
4398+prLatency95thPercentile :: Lens' PerformanceReport (Maybe Double)
4399+prLatency95thPercentile
4400+ = lens _prLatency95thPercentile
4401+ (\ s a -> s{_prLatency95thPercentile = a})
4402+
4403+-- | Average QPS for cookie matcher operations.
4404+prCookieMatcherStatusRate :: Lens' PerformanceReport [Either Text Int64]
4405+prCookieMatcherStatusRate
4406+ = lens _prCookieMatcherStatusRate
4407+ (\ s a -> s{_prCookieMatcherStatusRate = a})
4408+ . _Default
4409+ . _Coerce
4410+
4411+-- | Average QPS for hosted match operations.
4412+prHostedMatchStatusRate :: Lens' PerformanceReport [Either Text Int64]
4413+prHostedMatchStatusRate
4414+ = lens _prHostedMatchStatusRate
4415+ (\ s a -> s{_prHostedMatchStatusRate = a})
4416+ . _Default
4417+ . _Coerce
4418+
4419+-- | The number of bid responses that were unsuccessful due to timeouts,
4420+-- incorrect formatting, etc.
4421+prUnsuccessfulRequestRate :: Lens' PerformanceReport (Maybe Double)
4422+prUnsuccessfulRequestRate
4423+ = lens _prUnsuccessfulRequestRate
4424+ (\ s a -> s{_prUnsuccessfulRequestRate = a})
4425+
4426+-- | The number of bid requests sent to your bidder.
4427+prBidRequestRate :: Lens' PerformanceReport (Maybe Double)
4428+prBidRequestRate
4429+ = lens _prBidRequestRate
4430+ (\ s a -> s{_prBidRequestRate = a})
4431+
4432+-- | The throttled quota limits for this account.
4433+prQuotaThrottledLimit :: Lens' PerformanceReport (Maybe Double)
4434+prQuotaThrottledLimit
4435+ = lens _prQuotaThrottledLimit
4436+ (\ s a -> s{_prQuotaThrottledLimit = a})
4437+
4438+-- | The configured quota limits for this account.
4439+prQuotaConfiguredLimit :: Lens' PerformanceReport (Maybe Double)
4440+prQuotaConfiguredLimit
4441+ = lens _prQuotaConfiguredLimit
4442+ (\ s a -> s{_prQuotaConfiguredLimit = a})
4443+
4444+-- | The number of properly formed bid responses received by our servers
4445+-- within the deadline.
4446+prSuccessfulRequestRate :: Lens' PerformanceReport (Maybe Double)
4447+prSuccessfulRequestRate
4448+ = lens _prSuccessfulRequestRate
4449+ (\ s a -> s{_prSuccessfulRequestRate = a})
4450+
4451+-- | The 85th percentile round trip latency(ms) as perceived from Google
4452+-- servers for the duration period covered by the report.
4453+prLatency85thPercentile :: Lens' PerformanceReport (Maybe Double)
4454+prLatency85thPercentile
4455+ = lens _prLatency85thPercentile
4456+ (\ s a -> s{_prLatency85thPercentile = a})
4457+
4458+-- | Rate of various prefiltering statuses per match. Please refer to the
4459+-- callout-status-codes.txt file for different statuses.
4460+prCalloutStatusRate :: Lens' PerformanceReport [Either Text Int64]
4461+prCalloutStatusRate
4462+ = lens _prCalloutStatusRate
4463+ (\ s a -> s{_prCalloutStatusRate = a})
4464+ . _Default
4465+ . _Coerce
4466+
4467+-- | The 50th percentile round trip latency(ms) as perceived from Google
4468+-- servers for the duration period covered by the report.
4469+prLatency50thPercentile :: Lens' PerformanceReport (Maybe Double)
4470+prLatency50thPercentile
4471+ = lens _prLatency50thPercentile
4472+ (\ s a -> s{_prLatency50thPercentile = a})
4473+
4474+-- | The number of bid responses with an ad.
4475+prBidRate :: Lens' PerformanceReport (Maybe Double)
4476+prBidRate
4477+ = lens _prBidRate (\ s a -> s{_prBidRate = a})
4478+
4479+-- | Rate of ads with a given status. Please refer to the
4480+-- creative-status-codes.txt file for different statuses.
4481+prCreativeStatusRate :: Lens' PerformanceReport [Either Text Int64]
4482+prCreativeStatusRate
4483+ = lens _prCreativeStatusRate
4484+ (\ s a -> s{_prCreativeStatusRate = a})
4485+ . _Default
4486+ . _Coerce
4487+
4488+-- | Rate of various quota account statuses per quota check.
4489+prNoQuotaInRegion :: Lens' PerformanceReport (Maybe Double)
4490+prNoQuotaInRegion
4491+ = lens _prNoQuotaInRegion
4492+ (\ s a -> s{_prNoQuotaInRegion = a})
4493+
4494+-- | The trading location of this data.
4495+prRegion :: Lens' PerformanceReport (Maybe Text)
4496+prRegion = lens _prRegion (\ s a -> s{_prRegion = a})
4497+
4498+-- | The number of potential queries based on your pretargeting settings.
4499+prInventoryMatchRate :: Lens' PerformanceReport (Maybe Double)
4500+prInventoryMatchRate
4501+ = lens _prInventoryMatchRate
4502+ (\ s a -> s{_prInventoryMatchRate = a})
4503+
4504+-- | Average QPS for pixel match responses from clients.
4505+prPixelMatchResponses :: Lens' PerformanceReport (Maybe Double)
4506+prPixelMatchResponses
4507+ = lens _prPixelMatchResponses
4508+ (\ s a -> s{_prPixelMatchResponses = a})
4509+
4510+-- | The unix timestamp of the starting time of this performance data.
4511+prTimestamp :: Lens' PerformanceReport (Maybe Int64)
4512+prTimestamp
4513+ = lens _prTimestamp (\ s a -> s{_prTimestamp = a})
4514+
4515+-- | Average QPS for pixel match requests from clients.
4516+prPixelMatchRequests :: Lens' PerformanceReport (Maybe Double)
4517+prPixelMatchRequests
4518+ = lens _prPixelMatchRequests
4519+ (\ s a -> s{_prPixelMatchRequests = a})
4520+
4521+-- | Rate of various quota account statuses per quota check.
4522+prOutOfQuota :: Lens' PerformanceReport (Maybe Double)
4523+prOutOfQuota
4524+ = lens _prOutOfQuota (\ s a -> s{_prOutOfQuota = a})
4525+
4526+-- | The configuration data for an Ad Exchange performance report list.
4527+-- https:\/\/sites.google.com\/a\/google.com\/adx-integration\/Home\/engineering\/binary-releases\/rtb-api-release
4528+-- https:\/\/cs.corp.google.com\/#piper\/\/\/depot\/google3\/contentads\/adx\/tools\/rtb_api\/adxrtb.py
4529+--
4530+-- /See:/ 'performanceReportList' smart constructor.
4531+data PerformanceReportList = PerformanceReportList
4532+ { _prlKind :: !Text
4533+ , _prlPerformanceReport :: !(Maybe [Maybe PerformanceReport])
4534+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
4535+
4536+-- | Creates a value of 'PerformanceReportList' with the minimum fields required to make a request.
4537+--
4538+-- Use one of the following lenses to modify other fields as desired:
4539+--
4540+-- * 'prlKind'
4541+--
4542+-- * 'prlPerformanceReport'
4543+performanceReportList
4544+ :: PerformanceReportList
4545+performanceReportList =
4546+ PerformanceReportList
4547+ { _prlKind = "adexchangebuyer#performanceReportList"
4548+ , _prlPerformanceReport = Nothing
4549+ }
4550+
4551+-- | Resource type.
4552+prlKind :: Lens' PerformanceReportList Text
4553+prlKind = lens _prlKind (\ s a -> s{_prlKind = a})
4554+
4555+-- | A list of performance reports relevant for the account.
4556+prlPerformanceReport :: Lens' PerformanceReportList [Maybe PerformanceReport]
4557+prlPerformanceReport
4558+ = lens _prlPerformanceReport
4559+ (\ s a -> s{_prlPerformanceReport = a})
4560+ . _Default
4561+ . _Coerce
4562+
4563+--
4564+-- /See:/ 'pretargetingConfig' smart constructor.
4565+data PretargetingConfig = PretargetingConfig
4566+ { _pcPlatforms :: !(Maybe [Text])
4567+ , _pcMobileCarriers :: !(Maybe [Int64])
4568+ , _pcVendorTypes :: !(Maybe [Int64])
4569+ , _pcExcludedGeoCriteriaIds :: !(Maybe [Int64])
4570+ , _pcSupportedCreativeAttributes :: !(Maybe [Int64])
4571+ , _pcUserLists :: !(Maybe [Int64])
4572+ , _pcKind :: !Text
4573+ , _pcExcludedPlacements :: !(Maybe [PretargetingConfigItemExcludedPlacements])
4574+ , _pcMobileDevices :: !(Maybe [Int64])
4575+ , _pcLanguages :: !(Maybe [Text])
4576+ , _pcVerticals :: !(Maybe [Int64])
4577+ , _pcConfigId :: !(Maybe Int64)
4578+ , _pcPlacements :: !(Maybe [PretargetingConfigItemPlacements])
4579+ , _pcExcludedUserLists :: !(Maybe [Int64])
4580+ , _pcConfigName :: !(Maybe Text)
4581+ , _pcGeoCriteriaIds :: !(Maybe [Int64])
4582+ , _pcDimensions :: !(Maybe [PretargetingConfigItemDimensions])
4583+ , _pcExcludedVerticals :: !(Maybe [Int64])
4584+ , _pcCreativeType :: !(Maybe [Text])
4585+ , _pcIsActive :: !(Maybe Bool)
4586+ , _pcExcludedContentLabels :: !(Maybe [Int64])
4587+ , _pcBillingId :: !(Maybe Int64)
4588+ , _pcMobileOperatingSystemVersions :: !(Maybe [Int64])
4589+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
4590+
4591+-- | Creates a value of 'PretargetingConfig' with the minimum fields required to make a request.
4592+--
4593+-- Use one of the following lenses to modify other fields as desired:
4594+--
4595+-- * 'pcPlatforms'
4596+--
4597+-- * 'pcMobileCarriers'
4598+--
4599+-- * 'pcVendorTypes'
4600+--
4601+-- * 'pcExcludedGeoCriteriaIds'
4602+--
4603+-- * 'pcSupportedCreativeAttributes'
4604+--
4605+-- * 'pcUserLists'
4606+--
4607+-- * 'pcKind'
4608+--
4609+-- * 'pcExcludedPlacements'
4610+--
4611+-- * 'pcMobileDevices'
4612+--
4613+-- * 'pcLanguages'
4614+--
4615+-- * 'pcVerticals'
4616+--
4617+-- * 'pcConfigId'
4618+--
4619+-- * 'pcPlacements'
4620+--
4621+-- * 'pcExcludedUserLists'
4622+--
4623+-- * 'pcConfigName'
4624+--
4625+-- * 'pcGeoCriteriaIds'
4626+--
4627+-- * 'pcDimensions'
4628+--
4629+-- * 'pcExcludedVerticals'
4630+--
4631+-- * 'pcCreativeType'
4632+--
4633+-- * 'pcIsActive'
4634+--
4635+-- * 'pcExcludedContentLabels'
4636+--
4637+-- * 'pcBillingId'
4638+--
4639+-- * 'pcMobileOperatingSystemVersions'
4640+pretargetingConfig
4641+ :: PretargetingConfig
4642+pretargetingConfig =
4643+ PretargetingConfig
4644+ { _pcPlatforms = Nothing
4645+ , _pcMobileCarriers = Nothing
4646+ , _pcVendorTypes = Nothing
4647+ , _pcExcludedGeoCriteriaIds = Nothing
4648+ , _pcSupportedCreativeAttributes = Nothing
4649+ , _pcUserLists = Nothing
4650+ , _pcKind = "adexchangebuyer#pretargetingConfig"
4651+ , _pcExcludedPlacements = Nothing
4652+ , _pcMobileDevices = Nothing
4653+ , _pcLanguages = Nothing
4654+ , _pcVerticals = Nothing
4655+ , _pcConfigId = Nothing
4656+ , _pcPlacements = Nothing
4657+ , _pcExcludedUserLists = Nothing
4658+ , _pcConfigName = Nothing
4659+ , _pcGeoCriteriaIds = Nothing
4660+ , _pcDimensions = Nothing
4661+ , _pcExcludedVerticals = Nothing
4662+ , _pcCreativeType = Nothing
4663+ , _pcIsActive = Nothing
4664+ , _pcExcludedContentLabels = Nothing
4665+ , _pcBillingId = Nothing
4666+ , _pcMobileOperatingSystemVersions = Nothing
4667+ }
4668+
4669+-- | Requests matching any of these platforms will match. Possible values are
4670+-- PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and
4671+-- PRETARGETING_PLATFORM_TABLET.
4672+pcPlatforms :: Lens' PretargetingConfig [Text]
4673+pcPlatforms
4674+ = lens _pcPlatforms (\ s a -> s{_pcPlatforms = a}) .
4675+ _Default
4676+ . _Coerce
4677+
4678+-- | Requests containing any of these mobile carrier ids will match. Values
4679+-- are from mobile-carriers.csv in the downloadable files section.
4680+pcMobileCarriers :: Lens' PretargetingConfig [Int64]
4681+pcMobileCarriers
4682+ = lens _pcMobileCarriers
4683+ (\ s a -> s{_pcMobileCarriers = a})
4684+ . _Default
4685+ . _Coerce
4686+
4687+-- | Requests that allow any of these vendor ids will match. Values are from
4688+-- vendors.txt in the downloadable files section.
4689+pcVendorTypes :: Lens' PretargetingConfig [Int64]
4690+pcVendorTypes
4691+ = lens _pcVendorTypes
4692+ (\ s a -> s{_pcVendorTypes = a})
4693+ . _Default
4694+ . _Coerce
4695+
4696+-- | Requests containing any of these geo criteria ids will not match.
4697+pcExcludedGeoCriteriaIds :: Lens' PretargetingConfig [Int64]
4698+pcExcludedGeoCriteriaIds
4699+ = lens _pcExcludedGeoCriteriaIds
4700+ (\ s a -> s{_pcExcludedGeoCriteriaIds = a})
4701+ . _Default
4702+ . _Coerce
4703+
4704+-- | Creative attributes should be declared here if all creatives
4705+-- corresponding to this pretargeting configuration have that creative
4706+-- attribute. Values are from pretargetable-creative-attributes.txt in the
4707+-- downloadable files section.
4708+pcSupportedCreativeAttributes :: Lens' PretargetingConfig [Int64]
4709+pcSupportedCreativeAttributes
4710+ = lens _pcSupportedCreativeAttributes
4711+ (\ s a -> s{_pcSupportedCreativeAttributes = a})
4712+ . _Default
4713+ . _Coerce
4714+
4715+-- | Requests containing any of these user list ids will match.
4716+pcUserLists :: Lens' PretargetingConfig [Int64]
4717+pcUserLists
4718+ = lens _pcUserLists (\ s a -> s{_pcUserLists = a}) .
4719+ _Default
4720+ . _Coerce
4721+
4722+-- | The kind of the resource, i.e. \"adexchangebuyer#pretargetingConfig\".
4723+pcKind :: Lens' PretargetingConfig Text
4724+pcKind = lens _pcKind (\ s a -> s{_pcKind = a})
4725+
4726+-- | Requests containing any of these placements will not match.
4727+pcExcludedPlacements :: Lens' PretargetingConfig [PretargetingConfigItemExcludedPlacements]
4728+pcExcludedPlacements
4729+ = lens _pcExcludedPlacements
4730+ (\ s a -> s{_pcExcludedPlacements = a})
4731+ . _Default
4732+ . _Coerce
4733+
4734+-- | Requests containing any of these mobile device ids will match. Values
4735+-- are from mobile-devices.csv in the downloadable files section.
4736+pcMobileDevices :: Lens' PretargetingConfig [Int64]
4737+pcMobileDevices
4738+ = lens _pcMobileDevices
4739+ (\ s a -> s{_pcMobileDevices = a})
4740+ . _Default
4741+ . _Coerce
4742+
4743+-- | Request containing any of these language codes will match.
4744+pcLanguages :: Lens' PretargetingConfig [Text]
4745+pcLanguages
4746+ = lens _pcLanguages (\ s a -> s{_pcLanguages = a}) .
4747+ _Default
4748+ . _Coerce
4749+
4750+-- | Requests containing any of these vertical ids will match.
4751+pcVerticals :: Lens' PretargetingConfig [Int64]
4752+pcVerticals
4753+ = lens _pcVerticals (\ s a -> s{_pcVerticals = a}) .
4754+ _Default
4755+ . _Coerce
4756+
4757+-- | The config id; generated automatically. Leave this field blank for
4758+-- insert requests.
4759+pcConfigId :: Lens' PretargetingConfig (Maybe Int64)
4760+pcConfigId
4761+ = lens _pcConfigId (\ s a -> s{_pcConfigId = a})
4762+
4763+-- | Requests containing any of these placements will match.
4764+pcPlacements :: Lens' PretargetingConfig [PretargetingConfigItemPlacements]
4765+pcPlacements
4766+ = lens _pcPlacements (\ s a -> s{_pcPlacements = a})
4767+ . _Default
4768+ . _Coerce
4769+
4770+-- | Requests containing any of these users list ids will not match.
4771+pcExcludedUserLists :: Lens' PretargetingConfig [Int64]
4772+pcExcludedUserLists
4773+ = lens _pcExcludedUserLists
4774+ (\ s a -> s{_pcExcludedUserLists = a})
4775+ . _Default
4776+ . _Coerce
4777+
4778+-- | The name of the config. Must be unique. Required for all requests.
4779+pcConfigName :: Lens' PretargetingConfig (Maybe Text)
4780+pcConfigName
4781+ = lens _pcConfigName (\ s a -> s{_pcConfigName = a})
4782+
4783+-- | Requests containing any of these geo criteria ids will match.
4784+pcGeoCriteriaIds :: Lens' PretargetingConfig [Int64]
4785+pcGeoCriteriaIds
4786+ = lens _pcGeoCriteriaIds
4787+ (\ s a -> s{_pcGeoCriteriaIds = a})
4788+ . _Default
4789+ . _Coerce
4790+
4791+-- | Requests which allow one of these (width, height) pairs will match. All
4792+-- pairs must be supported ad dimensions.
4793+pcDimensions :: Lens' PretargetingConfig [PretargetingConfigItemDimensions]
4794+pcDimensions
4795+ = lens _pcDimensions (\ s a -> s{_pcDimensions = a})
4796+ . _Default
4797+ . _Coerce
4798+
4799+-- | Requests containing any of these vertical ids will not match. Values are
4800+-- from the publisher-verticals.txt file in the downloadable files section.
4801+pcExcludedVerticals :: Lens' PretargetingConfig [Int64]
4802+pcExcludedVerticals
4803+ = lens _pcExcludedVerticals
4804+ (\ s a -> s{_pcExcludedVerticals = a})
4805+ . _Default
4806+ . _Coerce
4807+
4808+-- | List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or
4809+-- PRETARGETING_CREATIVE_TYPE_VIDEO.
4810+pcCreativeType :: Lens' PretargetingConfig [Text]
4811+pcCreativeType
4812+ = lens _pcCreativeType
4813+ (\ s a -> s{_pcCreativeType = a})
4814+ . _Default
4815+ . _Coerce
4816+
4817+-- | Whether this config is active. Required for all requests.
4818+pcIsActive :: Lens' PretargetingConfig (Maybe Bool)
4819+pcIsActive
4820+ = lens _pcIsActive (\ s a -> s{_pcIsActive = a})
4821+
4822+-- | Requests with any of these content labels will not match. Values are
4823+-- from content-labels.txt in the downloadable files section.
4824+pcExcludedContentLabels :: Lens' PretargetingConfig [Int64]
4825+pcExcludedContentLabels
4826+ = lens _pcExcludedContentLabels
4827+ (\ s a -> s{_pcExcludedContentLabels = a})
4828+ . _Default
4829+ . _Coerce
4830+
4831+-- | The id for billing purposes, provided for reference. Leave this field
4832+-- blank for insert requests; the id will be generated automatically.
4833+pcBillingId :: Lens' PretargetingConfig (Maybe Int64)
4834+pcBillingId
4835+ = lens _pcBillingId (\ s a -> s{_pcBillingId = a})
4836+
4837+-- | Requests containing any of these mobile operating system version ids
4838+-- will match. Values are from mobile-os.csv in the downloadable files
4839+-- section.
4840+pcMobileOperatingSystemVersions :: Lens' PretargetingConfig [Int64]
4841+pcMobileOperatingSystemVersions
4842+ = lens _pcMobileOperatingSystemVersions
4843+ (\ s a -> s{_pcMobileOperatingSystemVersions = a})
4844+ . _Default
4845+ . _Coerce
4846+
4847+--
4848+-- /See:/ 'pretargetingConfigItemDimensions' smart constructor.
4849+data PretargetingConfigItemDimensions = PretargetingConfigItemDimensions
4850+ { _pcidHeight :: !(Maybe Int64)
4851+ , _pcidWidth :: !(Maybe Int64)
4852+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
4853+
4854+-- | Creates a value of 'PretargetingConfigItemDimensions' with the minimum fields required to make a request.
4855+--
4856+-- Use one of the following lenses to modify other fields as desired:
4857+--
4858+-- * 'pcidHeight'
4859+--
4860+-- * 'pcidWidth'
4861+pretargetingConfigItemDimensions
4862+ :: PretargetingConfigItemDimensions
4863+pretargetingConfigItemDimensions =
4864+ PretargetingConfigItemDimensions
4865+ { _pcidHeight = Nothing
4866+ , _pcidWidth = Nothing
4867+ }
4868+
4869+-- | Height in pixels.
4870+pcidHeight :: Lens' PretargetingConfigItemDimensions (Maybe Int64)
4871+pcidHeight
4872+ = lens _pcidHeight (\ s a -> s{_pcidHeight = a})
4873+
4874+-- | Width in pixels.
4875+pcidWidth :: Lens' PretargetingConfigItemDimensions (Maybe Int64)
4876+pcidWidth
4877+ = lens _pcidWidth (\ s a -> s{_pcidWidth = a})
4878+
4879+--
4880+-- /See:/ 'pretargetingConfigItemExcludedPlacements' smart constructor.
4881+data PretargetingConfigItemExcludedPlacements = PretargetingConfigItemExcludedPlacements
4882+ { _pciepToken :: !(Maybe Text)
4883+ , _pciepType :: !(Maybe Text)
4884+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
4885+
4886+-- | Creates a value of 'PretargetingConfigItemExcludedPlacements' with the minimum fields required to make a request.
4887+--
4888+-- Use one of the following lenses to modify other fields as desired:
4889+--
4890+-- * 'pciepToken'
4891+--
4892+-- * 'pciepType'
4893+pretargetingConfigItemExcludedPlacements
4894+ :: PretargetingConfigItemExcludedPlacements
4895+pretargetingConfigItemExcludedPlacements =
4896+ PretargetingConfigItemExcludedPlacements
4897+ { _pciepToken = Nothing
4898+ , _pciepType = Nothing
4899+ }
4900+
4901+-- | The value of the placement. Interpretation depends on the placement
4902+-- type, e.g. URL for a site placement, channel name for a channel
4903+-- placement, app id for a mobile app placement.
4904+pciepToken :: Lens' PretargetingConfigItemExcludedPlacements (Maybe Text)
4905+pciepToken
4906+ = lens _pciepToken (\ s a -> s{_pciepToken = a})
4907+
4908+-- | The type of the placement.
4909+pciepType :: Lens' PretargetingConfigItemExcludedPlacements (Maybe Text)
4910+pciepType
4911+ = lens _pciepType (\ s a -> s{_pciepType = a})
4912+
4913+--
4914+-- /See:/ 'pretargetingConfigItemPlacements' smart constructor.
4915+data PretargetingConfigItemPlacements = PretargetingConfigItemPlacements
4916+ { _pcipToken :: !(Maybe Text)
4917+ , _pcipType :: !(Maybe Text)
4918+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
4919+
4920+-- | Creates a value of 'PretargetingConfigItemPlacements' with the minimum fields required to make a request.
4921+--
4922+-- Use one of the following lenses to modify other fields as desired:
4923+--
4924+-- * 'pcipToken'
4925+--
4926+-- * 'pcipType'
4927+pretargetingConfigItemPlacements
4928+ :: PretargetingConfigItemPlacements
4929+pretargetingConfigItemPlacements =
4930+ PretargetingConfigItemPlacements
4931+ { _pcipToken = Nothing
4932+ , _pcipType = Nothing
4933+ }
4934+
4935+-- | The value of the placement. Interpretation depends on the placement
4936+-- type, e.g. URL for a site placement, channel name for a channel
4937+-- placement, app id for a mobile app placement.
4938+pcipToken :: Lens' PretargetingConfigItemPlacements (Maybe Text)
4939+pcipToken
4940+ = lens _pcipToken (\ s a -> s{_pcipToken = a})
4941+
4942+-- | The type of the placement.
4943+pcipType :: Lens' PretargetingConfigItemPlacements (Maybe Text)
4944+pcipType = lens _pcipType (\ s a -> s{_pcipType = a})
4945+
4946+--
4947+-- /See:/ 'pretargetingConfigList' smart constructor.
4948+data PretargetingConfigList = PretargetingConfigList
4949+ { _pclKind :: !Text
4950+ , _pclItems :: !(Maybe [Maybe PretargetingConfig])
4951+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
4952+
4953+-- | Creates a value of 'PretargetingConfigList' with the minimum fields required to make a request.
4954+--
4955+-- Use one of the following lenses to modify other fields as desired:
4956+--
4957+-- * 'pclKind'
4958+--
4959+-- * 'pclItems'
4960+pretargetingConfigList
4961+ :: PretargetingConfigList
4962+pretargetingConfigList =
4963+ PretargetingConfigList
4964+ { _pclKind = "adexchangebuyer#pretargetingConfigList"
4965+ , _pclItems = Nothing
4966+ }
4967+
4968+-- | Resource type.
4969+pclKind :: Lens' PretargetingConfigList Text
4970+pclKind = lens _pclKind (\ s a -> s{_pclKind = a})
4971+
4972+-- | A list of pretargeting configs
4973+pclItems :: Lens' PretargetingConfigList [Maybe PretargetingConfig]
4974+pclItems
4975+ = lens _pclItems (\ s a -> s{_pclItems = a}) .
4976+ _Default
4977+ . _Coerce
4978+
4979+--
4980+-- /See:/ 'price' smart constructor.
4981+data Price = Price
4982+ { _pCurrencyCode :: !(Maybe Text)
4983+ , _pAmountMicros :: !(Maybe Double)
4984+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
4985+
4986+-- | Creates a value of 'Price' with the minimum fields required to make a request.
4987+--
4988+-- Use one of the following lenses to modify other fields as desired:
4989+--
4990+-- * 'pCurrencyCode'
4991+--
4992+-- * 'pAmountMicros'
4993+price
4994+ :: Price
4995+price =
4996+ Price
4997+ { _pCurrencyCode = Nothing
4998+ , _pAmountMicros = Nothing
4999+ }
5000+
5001+-- | The currency code for the price.
5002+pCurrencyCode :: Lens' Price (Maybe Text)
5003+pCurrencyCode
5004+ = lens _pCurrencyCode
5005+ (\ s a -> s{_pCurrencyCode = a})
5006+
5007+-- | The CPM value in micros.
5008+pAmountMicros :: Lens' Price (Maybe Double)
5009+pAmountMicros
5010+ = lens _pAmountMicros
5011+ (\ s a -> s{_pAmountMicros = a})
5012+
5013+-- | Used to specify pricing rules for buyers\/advertisers. Each
5014+-- PricePerBuyer in an offer can become [0,1] deals. To check if there is a
5015+-- PricePerBuyer for a particular buyer or buyer\/advertiser pair, we look
5016+-- for the most specific matching rule - we first look for a rule matching
5017+-- the buyer and advertiser, next a rule with the buyer but an empty
5018+-- advertiser list, and otherwise look for a matching rule where no buyer
5019+-- is set.
5020+--
5021+-- /See:/ 'pricePerBuyer' smart constructor.
5022+data PricePerBuyer = PricePerBuyer
5023+ { _ppbPrice :: !(Maybe (Maybe Price))
5024+ , _ppbBuyer :: !(Maybe (Maybe Buyer))
5025+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
5026+
5027+-- | Creates a value of 'PricePerBuyer' with the minimum fields required to make a request.
5028+--
5029+-- Use one of the following lenses to modify other fields as desired:
5030+--
5031+-- * 'ppbPrice'
5032+--
5033+-- * 'ppbBuyer'
5034+pricePerBuyer
5035+ :: PricePerBuyer
5036+pricePerBuyer =
5037+ PricePerBuyer
5038+ { _ppbPrice = Nothing
5039+ , _ppbBuyer = Nothing
5040+ }
5041+
5042+-- | The specified price
5043+ppbPrice :: Lens' PricePerBuyer (Maybe (Maybe Price))
5044+ppbPrice = lens _ppbPrice (\ s a -> s{_ppbPrice = a})
5045+
5046+-- | The buyer who will pay this price. If unset, all buyers can pay this
5047+-- price (if the advertisers match, and there\'s no more specific rule
5048+-- matching the buyer).
5049+ppbBuyer :: Lens' PricePerBuyer (Maybe (Maybe Buyer))
5050+ppbBuyer = lens _ppbBuyer (\ s a -> s{_ppbBuyer = a})
5051+
5052+--
5053+-- /See:/ 'privateData' smart constructor.
5054+data PrivateData = PrivateData
5055+ { _pdReferencePayload :: !(Maybe Word8)
5056+ , _pdReferenceId :: !(Maybe Text)
5057+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
5058+
5059+-- | Creates a value of 'PrivateData' with the minimum fields required to make a request.
5060+--
5061+-- Use one of the following lenses to modify other fields as desired:
5062+--
5063+-- * 'pdReferencePayload'
5064+--
5065+-- * 'pdReferenceId'
5066+privateData
5067+ :: PrivateData
5068+privateData =
5069+ PrivateData
5070+ { _pdReferencePayload = Nothing
5071+ , _pdReferenceId = Nothing
5072+ }
5073+
5074+pdReferencePayload :: Lens' PrivateData (Maybe Word8)
5075+pdReferencePayload
5076+ = lens _pdReferencePayload
5077+ (\ s a -> s{_pdReferencePayload = a})
5078+
5079+pdReferenceId :: Lens' PrivateData (Maybe Text)
5080+pdReferenceId
5081+ = lens _pdReferenceId
5082+ (\ s a -> s{_pdReferenceId = a})
5083+
5084+--
5085+-- /See:/ 'ruleKeyValuePair' smart constructor.
5086+data RuleKeyValuePair = RuleKeyValuePair
5087+ { _rkvpKeyName :: !(Maybe Text)
5088+ , _rkvpValue :: !(Maybe Text)
5089+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
5090+
5091+-- | Creates a value of 'RuleKeyValuePair' with the minimum fields required to make a request.
5092+--
5093+-- Use one of the following lenses to modify other fields as desired:
5094+--
5095+-- * 'rkvpKeyName'
5096+--
5097+-- * 'rkvpValue'
5098+ruleKeyValuePair
5099+ :: RuleKeyValuePair
5100+ruleKeyValuePair =
5101+ RuleKeyValuePair
5102+ { _rkvpKeyName = Nothing
5103+ , _rkvpValue = Nothing
5104+ }
5105+
5106+rkvpKeyName :: Lens' RuleKeyValuePair (Maybe Text)
5107+rkvpKeyName
5108+ = lens _rkvpKeyName (\ s a -> s{_rkvpKeyName = a})
5109+
5110+rkvpValue :: Lens' RuleKeyValuePair (Maybe Text)
5111+rkvpValue
5112+ = lens _rkvpValue (\ s a -> s{_rkvpValue = a})
5113+
5114+--
5115+-- /See:/ 'seller' smart constructor.
5116+data Seller = Seller
5117+ { _sAccountId :: !(Maybe Text)
5118+ , _sSubAccountId :: !(Maybe Text)
5119+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
5120+
5121+-- | Creates a value of 'Seller' with the minimum fields required to make a request.
5122+--
5123+-- Use one of the following lenses to modify other fields as desired:
5124+--
5125+-- * 'sAccountId'
5126+--
5127+-- * 'sSubAccountId'
5128+seller
5129+ :: Seller
5130+seller =
5131+ Seller
5132+ { _sAccountId = Nothing
5133+ , _sSubAccountId = Nothing
5134+ }
5135+
5136+-- | The unique id for the seller. The seller fills in this field. The seller
5137+-- account id is then available to buyer in the offer.
5138+sAccountId :: Lens' Seller (Maybe Text)
5139+sAccountId
5140+ = lens _sAccountId (\ s a -> s{_sAccountId = a})
5141+
5142+-- | Optional sub-account id for the seller.
5143+sSubAccountId :: Lens' Seller (Maybe Text)
5144+sSubAccountId
5145+ = lens _sSubAccountId
5146+ (\ s a -> s{_sSubAccountId = a})
5147+
5148+--
5149+-- /See:/ 'sharedTargeting' smart constructor.
5150+data SharedTargeting = SharedTargeting
5151+ { _stKey :: !(Maybe Text)
5152+ , _stExclusions :: !(Maybe [Maybe TargetingValue])
5153+ , _stInclusions :: !(Maybe [Maybe TargetingValue])
5154+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
5155+
5156+-- | Creates a value of 'SharedTargeting' with the minimum fields required to make a request.
5157+--
5158+-- Use one of the following lenses to modify other fields as desired:
5159+--
5160+-- * 'stKey'
5161+--
5162+-- * 'stExclusions'
5163+--
5164+-- * 'stInclusions'
5165+sharedTargeting
5166+ :: SharedTargeting
5167+sharedTargeting =
5168+ SharedTargeting
5169+ { _stKey = Nothing
5170+ , _stExclusions = Nothing
5171+ , _stInclusions = Nothing
5172+ }
5173+
5174+-- | The key representing the shared targeting criterion.
5175+stKey :: Lens' SharedTargeting (Maybe Text)
5176+stKey = lens _stKey (\ s a -> s{_stKey = a})
5177+
5178+-- | The list of values to exclude from targeting.
5179+stExclusions :: Lens' SharedTargeting [Maybe TargetingValue]
5180+stExclusions
5181+ = lens _stExclusions (\ s a -> s{_stExclusions = a})
5182+ . _Default
5183+ . _Coerce
5184+
5185+-- | The list of value to include as part of the targeting.
5186+stInclusions :: Lens' SharedTargeting [Maybe TargetingValue]
5187+stInclusions
5188+ = lens _stInclusions (\ s a -> s{_stInclusions = a})
5189+ . _Default
5190+ . _Coerce
5191+
5192+--
5193+-- /See:/ 'statsDto' smart constructor.
5194+data StatsDto = StatsDto
5195+ { _sdBids :: !(Maybe Int64)
5196+ , _sdSpend :: !(Maybe (Maybe MoneyDto))
5197+ , _sdImpressions :: !(Maybe Int64)
5198+ , _sdGoodBids :: !(Maybe Int64)
5199+ , _sdRevenue :: !(Maybe (Maybe MoneyDto))
5200+ , _sdRequests :: !(Maybe Int64)
5201+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
5202+
5203+-- | Creates a value of 'StatsDto' with the minimum fields required to make a request.
5204+--
5205+-- Use one of the following lenses to modify other fields as desired:
5206+--
5207+-- * 'sdBids'
5208+--
5209+-- * 'sdSpend'
5210+--
5211+-- * 'sdImpressions'
5212+--
5213+-- * 'sdGoodBids'
5214+--
5215+-- * 'sdRevenue'
5216+--
5217+-- * 'sdRequests'
5218+statsDto
5219+ :: StatsDto
5220+statsDto =
5221+ StatsDto
5222+ { _sdBids = Nothing
5223+ , _sdSpend = Nothing
5224+ , _sdImpressions = Nothing
5225+ , _sdGoodBids = Nothing
5226+ , _sdRevenue = Nothing
5227+ , _sdRequests = Nothing
5228+ }
5229+
5230+sdBids :: Lens' StatsDto (Maybe Int64)
5231+sdBids = lens _sdBids (\ s a -> s{_sdBids = a})
5232+
5233+sdSpend :: Lens' StatsDto (Maybe (Maybe MoneyDto))
5234+sdSpend = lens _sdSpend (\ s a -> s{_sdSpend = a})
5235+
5236+sdImpressions :: Lens' StatsDto (Maybe Int64)
5237+sdImpressions
5238+ = lens _sdImpressions
5239+ (\ s a -> s{_sdImpressions = a})
5240+
5241+sdGoodBids :: Lens' StatsDto (Maybe Int64)
5242+sdGoodBids
5243+ = lens _sdGoodBids (\ s a -> s{_sdGoodBids = a})
5244+
5245+sdRevenue :: Lens' StatsDto (Maybe (Maybe MoneyDto))
5246+sdRevenue
5247+ = lens _sdRevenue (\ s a -> s{_sdRevenue = a})
5248+
5249+sdRequests :: Lens' StatsDto (Maybe Int64)
5250+sdRequests
5251+ = lens _sdRequests (\ s a -> s{_sdRequests = a})
5252+
5253+--
5254+-- /See:/ 'targetingValue' smart constructor.
5255+data TargetingValue = TargetingValue
5256+ { _tvCreativeSizeValue :: !(Maybe (Maybe TargetingValueCreativeSize))
5257+ , _tvStringValue :: !(Maybe Text)
5258+ , _tvLongValue :: !(Maybe Int64)
5259+ , _tvDayPartTargetingValue :: !(Maybe (Maybe TargetingValueDayPartTargeting))
5260+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
5261+
5262+-- | Creates a value of 'TargetingValue' with the minimum fields required to make a request.
5263+--
5264+-- Use one of the following lenses to modify other fields as desired:
5265+--
5266+-- * 'tvCreativeSizeValue'
5267+--
5268+-- * 'tvStringValue'
5269+--
5270+-- * 'tvLongValue'
5271+--
5272+-- * 'tvDayPartTargetingValue'
5273+targetingValue
5274+ :: TargetingValue
5275+targetingValue =
5276+ TargetingValue
5277+ { _tvCreativeSizeValue = Nothing
5278+ , _tvStringValue = Nothing
5279+ , _tvLongValue = Nothing
5280+ , _tvDayPartTargetingValue = Nothing
5281+ }
5282+
5283+-- | The creative size value to exclude\/include.
5284+tvCreativeSizeValue :: Lens' TargetingValue (Maybe (Maybe TargetingValueCreativeSize))
5285+tvCreativeSizeValue
5286+ = lens _tvCreativeSizeValue
5287+ (\ s a -> s{_tvCreativeSizeValue = a})
5288+
5289+-- | The string value to exclude\/include.
5290+tvStringValue :: Lens' TargetingValue (Maybe Text)
5291+tvStringValue
5292+ = lens _tvStringValue
5293+ (\ s a -> s{_tvStringValue = a})
5294+
5295+-- | The long value to exclude\/include.
5296+tvLongValue :: Lens' TargetingValue (Maybe Int64)
5297+tvLongValue
5298+ = lens _tvLongValue (\ s a -> s{_tvLongValue = a})
5299+
5300+-- | The daypart targeting to include \/ exclude. Filled in when the key is
5301+-- GOOG_DAYPART_TARGETING.
5302+tvDayPartTargetingValue :: Lens' TargetingValue (Maybe (Maybe TargetingValueDayPartTargeting))
5303+tvDayPartTargetingValue
5304+ = lens _tvDayPartTargetingValue
5305+ (\ s a -> s{_tvDayPartTargetingValue = a})
5306+
5307+--
5308+-- /See:/ 'targetingValueCreativeSize' smart constructor.
5309+data TargetingValueCreativeSize = TargetingValueCreativeSize
5310+ { _tvcsSize :: !(Maybe (Maybe TargetingValueSize))
5311+ , _tvcsCompanionSizes :: !(Maybe [Maybe TargetingValueSize])
5312+ , _tvcsCreativeSizeType :: !(Maybe Text)
5313+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
5314+
5315+-- | Creates a value of 'TargetingValueCreativeSize' with the minimum fields required to make a request.
5316+--
5317+-- Use one of the following lenses to modify other fields as desired:
5318+--
5319+-- * 'tvcsSize'
5320+--
5321+-- * 'tvcsCompanionSizes'
5322+--
5323+-- * 'tvcsCreativeSizeType'
5324+targetingValueCreativeSize
5325+ :: TargetingValueCreativeSize
5326+targetingValueCreativeSize =
5327+ TargetingValueCreativeSize
5328+ { _tvcsSize = Nothing
5329+ , _tvcsCompanionSizes = Nothing
5330+ , _tvcsCreativeSizeType = Nothing
5331+ }
5332+
5333+-- | For regular creative size type, specifies the size of the creative.
5334+tvcsSize :: Lens' TargetingValueCreativeSize (Maybe (Maybe TargetingValueSize))
5335+tvcsSize = lens _tvcsSize (\ s a -> s{_tvcsSize = a})
5336+
5337+-- | For video size type, the list of companion sizes.
5338+tvcsCompanionSizes :: Lens' TargetingValueCreativeSize [Maybe TargetingValueSize]
5339+tvcsCompanionSizes
5340+ = lens _tvcsCompanionSizes
5341+ (\ s a -> s{_tvcsCompanionSizes = a})
5342+ . _Default
5343+ . _Coerce
5344+
5345+-- | The Creative size type.
5346+tvcsCreativeSizeType :: Lens' TargetingValueCreativeSize (Maybe Text)
5347+tvcsCreativeSizeType
5348+ = lens _tvcsCreativeSizeType
5349+ (\ s a -> s{_tvcsCreativeSizeType = a})
5350+
5351+--
5352+-- /See:/ 'targetingValueDayPartTargeting' smart constructor.
5353+data TargetingValueDayPartTargeting = TargetingValueDayPartTargeting
5354+ { _tvdptTimeZoneType :: !(Maybe Text)
5355+ , _tvdptDayParts :: !(Maybe [Maybe TargetingValueDayPartTargetingDayPart])
5356+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
5357+
5358+-- | Creates a value of 'TargetingValueDayPartTargeting' with the minimum fields required to make a request.
5359+--
5360+-- Use one of the following lenses to modify other fields as desired:
5361+--
5362+-- * 'tvdptTimeZoneType'
5363+--
5364+-- * 'tvdptDayParts'
5365+targetingValueDayPartTargeting
5366+ :: TargetingValueDayPartTargeting
5367+targetingValueDayPartTargeting =
5368+ TargetingValueDayPartTargeting
5369+ { _tvdptTimeZoneType = Nothing
5370+ , _tvdptDayParts = Nothing
5371+ }
5372+
5373+tvdptTimeZoneType :: Lens' TargetingValueDayPartTargeting (Maybe Text)
5374+tvdptTimeZoneType
5375+ = lens _tvdptTimeZoneType
5376+ (\ s a -> s{_tvdptTimeZoneType = a})
5377+
5378+tvdptDayParts :: Lens' TargetingValueDayPartTargeting [Maybe TargetingValueDayPartTargetingDayPart]
5379+tvdptDayParts
5380+ = lens _tvdptDayParts
5381+ (\ s a -> s{_tvdptDayParts = a})
5382+ . _Default
5383+ . _Coerce
5384+
5385+--
5386+-- /See:/ 'targetingValueDayPartTargetingDayPart' smart constructor.
5387+data TargetingValueDayPartTargetingDayPart = TargetingValueDayPartTargetingDayPart
5388+ { _tvdptdpEndHour :: !(Maybe Int32)
5389+ , _tvdptdpStartHour :: !(Maybe Int32)
5390+ , _tvdptdpStartMinute :: !(Maybe Int32)
5391+ , _tvdptdpDayOfWeek :: !(Maybe Text)
5392+ , _tvdptdpEndMinute :: !(Maybe Int32)
5393+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
5394+
5395+-- | Creates a value of 'TargetingValueDayPartTargetingDayPart' with the minimum fields required to make a request.
5396+--
5397+-- Use one of the following lenses to modify other fields as desired:
5398+--
5399+-- * 'tvdptdpEndHour'
5400+--
5401+-- * 'tvdptdpStartHour'
5402+--
5403+-- * 'tvdptdpStartMinute'
5404+--
5405+-- * 'tvdptdpDayOfWeek'
5406+--
5407+-- * 'tvdptdpEndMinute'
5408+targetingValueDayPartTargetingDayPart
5409+ :: TargetingValueDayPartTargetingDayPart
5410+targetingValueDayPartTargetingDayPart =
5411+ TargetingValueDayPartTargetingDayPart
5412+ { _tvdptdpEndHour = Nothing
5413+ , _tvdptdpStartHour = Nothing
5414+ , _tvdptdpStartMinute = Nothing
5415+ , _tvdptdpDayOfWeek = Nothing
5416+ , _tvdptdpEndMinute = Nothing
5417+ }
5418+
5419+tvdptdpEndHour :: Lens' TargetingValueDayPartTargetingDayPart (Maybe Int32)
5420+tvdptdpEndHour
5421+ = lens _tvdptdpEndHour
5422+ (\ s a -> s{_tvdptdpEndHour = a})
5423+
5424+tvdptdpStartHour :: Lens' TargetingValueDayPartTargetingDayPart (Maybe Int32)
5425+tvdptdpStartHour
5426+ = lens _tvdptdpStartHour
5427+ (\ s a -> s{_tvdptdpStartHour = a})
5428+
5429+tvdptdpStartMinute :: Lens' TargetingValueDayPartTargetingDayPart (Maybe Int32)
5430+tvdptdpStartMinute
5431+ = lens _tvdptdpStartMinute
5432+ (\ s a -> s{_tvdptdpStartMinute = a})
5433+
5434+tvdptdpDayOfWeek :: Lens' TargetingValueDayPartTargetingDayPart (Maybe Text)
5435+tvdptdpDayOfWeek
5436+ = lens _tvdptdpDayOfWeek
5437+ (\ s a -> s{_tvdptdpDayOfWeek = a})
5438+
5439+tvdptdpEndMinute :: Lens' TargetingValueDayPartTargetingDayPart (Maybe Int32)
5440+tvdptdpEndMinute
5441+ = lens _tvdptdpEndMinute
5442+ (\ s a -> s{_tvdptdpEndMinute = a})
5443+
5444+--
5445+-- /See:/ 'targetingValueSize' smart constructor.
5446+data TargetingValueSize = TargetingValueSize
5447+ { _tvsHeight :: !(Maybe Int32)
5448+ , _tvsWidth :: !(Maybe Int32)
5449+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
5450+
5451+-- | Creates a value of 'TargetingValueSize' with the minimum fields required to make a request.
5452+--
5453+-- Use one of the following lenses to modify other fields as desired:
5454+--
5455+-- * 'tvsHeight'
5456+--
5457+-- * 'tvsWidth'
5458+targetingValueSize
5459+ :: TargetingValueSize
5460+targetingValueSize =
5461+ TargetingValueSize
5462+ { _tvsHeight = Nothing
5463+ , _tvsWidth = Nothing
5464+ }
5465+
5466+-- | The height of the creative.
5467+tvsHeight :: Lens' TargetingValueSize (Maybe Int32)
5468+tvsHeight
5469+ = lens _tvsHeight (\ s a -> s{_tvsHeight = a})
5470+
5471+-- | The width of the creative.
5472+tvsWidth :: Lens' TargetingValueSize (Maybe Int32)
5473+tvsWidth = lens _tvsWidth (\ s a -> s{_tvsWidth = a})
5474+
5475+--
5476+-- /See:/ 'termsDto' smart constructor.
5477+data TermsDto = TermsDto
5478+ { _tdFinalizeAutomatically :: !(Maybe Bool)
5479+ , _tdBuyerBillingType :: !(Maybe Text)
5480+ , _tdTargetingAllAdSlots :: !(Maybe Bool)
5481+ , _tdUrls :: !(Maybe [Text])
5482+ , _tdEndDate :: !(Maybe (Maybe DateTime))
5483+ , _tdCpm :: !(Maybe (Maybe MoneyDto))
5484+ , _tdEstimatedSpend :: !(Maybe (Maybe MoneyDto))
5485+ , _tdAdvertisers :: !(Maybe [Maybe AdvertiserDto])
5486+ , _tdEstimatedImpressionsPerDay :: !(Maybe Int64)
5487+ , _tdMonetizerType :: !(Maybe Text)
5488+ , _tdAudienceSegmentDescription :: !(Maybe Text)
5489+ , _tdCreativeReviewPolicy :: !(Maybe Text)
5490+ , _tdMinimumTrueLooks :: !(Maybe Int64)
5491+ , _tdStartDate :: !(Maybe (Maybe DateTime))
5492+ , _tdCreativeBlockingLevel :: !(Maybe Text)
5493+ , _tdSemiTransparent :: !(Maybe Bool)
5494+ , _tdAudienceSegment :: !(Maybe (Maybe AudienceSegment))
5495+ , _tdDealPremium :: !(Maybe (Maybe MoneyDto))
5496+ , _tdIsReservation :: !(Maybe Bool)
5497+ , _tdAdSlots :: !(Maybe [Maybe AdSlotDto])
5498+ , _tdTermsAttributes :: !(Maybe [Text])
5499+ , _tdInventorySegmentTargeting :: !(Maybe (Maybe InventorySegmentTargeting))
5500+ , _tdDescriptiveName :: !(Maybe Text)
5501+ , _tdMinimumSpendMicros :: !(Maybe Int64)
5502+ , _tdTargetByDealId :: !(Maybe Bool)
5503+ , _tdBillingTerms :: !(Maybe Text)
5504+ , _tdDescription :: !(Maybe Text)
5505+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
5506+
5507+-- | Creates a value of 'TermsDto' with the minimum fields required to make a request.
5508+--
5509+-- Use one of the following lenses to modify other fields as desired:
5510+--
5511+-- * 'tdFinalizeAutomatically'
5512+--
5513+-- * 'tdBuyerBillingType'
5514+--
5515+-- * 'tdTargetingAllAdSlots'
5516+--
5517+-- * 'tdUrls'
5518+--
5519+-- * 'tdEndDate'
5520+--
5521+-- * 'tdCpm'
5522+--
5523+-- * 'tdEstimatedSpend'
5524+--
5525+-- * 'tdAdvertisers'
5526+--
5527+-- * 'tdEstimatedImpressionsPerDay'
5528+--
5529+-- * 'tdMonetizerType'
5530+--
5531+-- * 'tdAudienceSegmentDescription'
5532+--
5533+-- * 'tdCreativeReviewPolicy'
5534+--
5535+-- * 'tdMinimumTrueLooks'
5536+--
5537+-- * 'tdStartDate'
5538+--
5539+-- * 'tdCreativeBlockingLevel'
5540+--
5541+-- * 'tdSemiTransparent'
5542+--
5543+-- * 'tdAudienceSegment'
5544+--
5545+-- * 'tdDealPremium'
5546+--
5547+-- * 'tdIsReservation'
5548+--
5549+-- * 'tdAdSlots'
5550+--
5551+-- * 'tdTermsAttributes'
5552+--
5553+-- * 'tdInventorySegmentTargeting'
5554+--
5555+-- * 'tdDescriptiveName'
5556+--
5557+-- * 'tdMinimumSpendMicros'
5558+--
5559+-- * 'tdTargetByDealId'
5560+--
5561+-- * 'tdBillingTerms'
5562+--
5563+-- * 'tdDescription'
5564+termsDto
5565+ :: TermsDto
5566+termsDto =
5567+ TermsDto
5568+ { _tdFinalizeAutomatically = Nothing
5569+ , _tdBuyerBillingType = Nothing
5570+ , _tdTargetingAllAdSlots = Nothing
5571+ , _tdUrls = Nothing
5572+ , _tdEndDate = Nothing
5573+ , _tdCpm = Nothing
5574+ , _tdEstimatedSpend = Nothing
5575+ , _tdAdvertisers = Nothing
5576+ , _tdEstimatedImpressionsPerDay = Nothing
5577+ , _tdMonetizerType = Nothing
5578+ , _tdAudienceSegmentDescription = Nothing
5579+ , _tdCreativeReviewPolicy = Nothing
5580+ , _tdMinimumTrueLooks = Nothing
5581+ , _tdStartDate = Nothing
5582+ , _tdCreativeBlockingLevel = Nothing
5583+ , _tdSemiTransparent = Nothing
5584+ , _tdAudienceSegment = Nothing
5585+ , _tdDealPremium = Nothing
5586+ , _tdIsReservation = Nothing
5587+ , _tdAdSlots = Nothing
5588+ , _tdTermsAttributes = Nothing
5589+ , _tdInventorySegmentTargeting = Nothing
5590+ , _tdDescriptiveName = Nothing
5591+ , _tdMinimumSpendMicros = Nothing
5592+ , _tdTargetByDealId = Nothing
5593+ , _tdBillingTerms = Nothing
5594+ , _tdDescription = Nothing
5595+ }
5596+
5597+-- | If true, the offer will finalize automatically when accepted.
5598+tdFinalizeAutomatically :: Lens' TermsDto (Maybe Bool)
5599+tdFinalizeAutomatically
5600+ = lens _tdFinalizeAutomatically
5601+ (\ s a -> s{_tdFinalizeAutomatically = a})
5602+
5603+-- | The buyer billing type.
5604+tdBuyerBillingType :: Lens' TermsDto (Maybe Text)
5605+tdBuyerBillingType
5606+ = lens _tdBuyerBillingType
5607+ (\ s a -> s{_tdBuyerBillingType = a})
5608+
5609+-- | If true, the offer targets all ad slots.
5610+tdTargetingAllAdSlots :: Lens' TermsDto (Maybe Bool)
5611+tdTargetingAllAdSlots
5612+ = lens _tdTargetingAllAdSlots
5613+ (\ s a -> s{_tdTargetingAllAdSlots = a})
5614+
5615+-- | The urls applicable to the offer.
5616+tdUrls :: Lens' TermsDto [Text]
5617+tdUrls
5618+ = lens _tdUrls (\ s a -> s{_tdUrls = a}) . _Default .
5619+ _Coerce
5620+
5621+-- | The end date for the offer.
5622+tdEndDate :: Lens' TermsDto (Maybe (Maybe DateTime))
5623+tdEndDate
5624+ = lens _tdEndDate (\ s a -> s{_tdEndDate = a})
5625+
5626+-- | The cpm terms.
5627+tdCpm :: Lens' TermsDto (Maybe (Maybe MoneyDto))
5628+tdCpm = lens _tdCpm (\ s a -> s{_tdCpm = a})
5629+
5630+-- | The estimated spend for the offer.
5631+tdEstimatedSpend :: Lens' TermsDto (Maybe (Maybe MoneyDto))
5632+tdEstimatedSpend
5633+ = lens _tdEstimatedSpend
5634+ (\ s a -> s{_tdEstimatedSpend = a})
5635+
5636+-- | A list of advertisers for this offer.
5637+tdAdvertisers :: Lens' TermsDto [Maybe AdvertiserDto]
5638+tdAdvertisers
5639+ = lens _tdAdvertisers
5640+ (\ s a -> s{_tdAdvertisers = a})
5641+ . _Default
5642+ . _Coerce
5643+
5644+-- | The estimated daily impressions for the offer.
5645+tdEstimatedImpressionsPerDay :: Lens' TermsDto (Maybe Int64)
5646+tdEstimatedImpressionsPerDay
5647+ = lens _tdEstimatedImpressionsPerDay
5648+ (\ s a -> s{_tdEstimatedImpressionsPerDay = a})
5649+
5650+-- | The monetizer type.
5651+tdMonetizerType :: Lens' TermsDto (Maybe Text)
5652+tdMonetizerType
5653+ = lens _tdMonetizerType
5654+ (\ s a -> s{_tdMonetizerType = a})
5655+
5656+-- | A description of the audience segment for the offer.
5657+tdAudienceSegmentDescription :: Lens' TermsDto (Maybe Text)
5658+tdAudienceSegmentDescription
5659+ = lens _tdAudienceSegmentDescription
5660+ (\ s a -> s{_tdAudienceSegmentDescription = a})
5661+
5662+-- | Whether to use publisher review policy or AdX review policy.
5663+tdCreativeReviewPolicy :: Lens' TermsDto (Maybe Text)
5664+tdCreativeReviewPolicy
5665+ = lens _tdCreativeReviewPolicy
5666+ (\ s a -> s{_tdCreativeReviewPolicy = a})
5667+
5668+-- | The minimum true looks for the offer.
5669+tdMinimumTrueLooks :: Lens' TermsDto (Maybe Int64)
5670+tdMinimumTrueLooks
5671+ = lens _tdMinimumTrueLooks
5672+ (\ s a -> s{_tdMinimumTrueLooks = a})
5673+
5674+-- | The start date for the offer.
5675+tdStartDate :: Lens' TermsDto (Maybe (Maybe DateTime))
5676+tdStartDate
5677+ = lens _tdStartDate (\ s a -> s{_tdStartDate = a})
5678+
5679+-- | Whether to use or ignore publisher blocking rules.
5680+tdCreativeBlockingLevel :: Lens' TermsDto (Maybe Text)
5681+tdCreativeBlockingLevel
5682+ = lens _tdCreativeBlockingLevel
5683+ (\ s a -> s{_tdCreativeBlockingLevel = a})
5684+
5685+-- | Whether this offer is semi-transparent.
5686+tdSemiTransparent :: Lens' TermsDto (Maybe Bool)
5687+tdSemiTransparent
5688+ = lens _tdSemiTransparent
5689+ (\ s a -> s{_tdSemiTransparent = a})
5690+
5691+-- | The audience segment for the offer.
5692+tdAudienceSegment :: Lens' TermsDto (Maybe (Maybe AudienceSegment))
5693+tdAudienceSegment
5694+ = lens _tdAudienceSegment
5695+ (\ s a -> s{_tdAudienceSegment = a})
5696+
5697+-- | The premium terms.
5698+tdDealPremium :: Lens' TermsDto (Maybe (Maybe MoneyDto))
5699+tdDealPremium
5700+ = lens _tdDealPremium
5701+ (\ s a -> s{_tdDealPremium = a})
5702+
5703+-- | Whether the offer is a reservation.
5704+tdIsReservation :: Lens' TermsDto (Maybe Bool)
5705+tdIsReservation
5706+ = lens _tdIsReservation
5707+ (\ s a -> s{_tdIsReservation = a})
5708+
5709+-- | The particular ad slots targeted by the offer.
5710+tdAdSlots :: Lens' TermsDto [Maybe AdSlotDto]
5711+tdAdSlots
5712+ = lens _tdAdSlots (\ s a -> s{_tdAdSlots = a}) .
5713+ _Default
5714+ . _Coerce
5715+
5716+-- | A list of terms attributes.
5717+tdTermsAttributes :: Lens' TermsDto [Text]
5718+tdTermsAttributes
5719+ = lens _tdTermsAttributes
5720+ (\ s a -> s{_tdTermsAttributes = a})
5721+ . _Default
5722+ . _Coerce
5723+
5724+-- | The inventory segment targeting for the offer.
5725+tdInventorySegmentTargeting :: Lens' TermsDto (Maybe (Maybe InventorySegmentTargeting))
5726+tdInventorySegmentTargeting
5727+ = lens _tdInventorySegmentTargeting
5728+ (\ s a -> s{_tdInventorySegmentTargeting = a})
5729+
5730+-- | A descriptive name for these terms.
5731+tdDescriptiveName :: Lens' TermsDto (Maybe Text)
5732+tdDescriptiveName
5733+ = lens _tdDescriptiveName
5734+ (\ s a -> s{_tdDescriptiveName = a})
5735+
5736+-- | The minimum spend for the offer.
5737+tdMinimumSpendMicros :: Lens' TermsDto (Maybe Int64)
5738+tdMinimumSpendMicros
5739+ = lens _tdMinimumSpendMicros
5740+ (\ s a -> s{_tdMinimumSpendMicros = a})
5741+
5742+-- | Whether to target by deal id.
5743+tdTargetByDealId :: Lens' TermsDto (Maybe Bool)
5744+tdTargetByDealId
5745+ = lens _tdTargetByDealId
5746+ (\ s a -> s{_tdTargetByDealId = a})
5747+
5748+-- | The billing terms.
5749+tdBillingTerms :: Lens' TermsDto (Maybe Text)
5750+tdBillingTerms
5751+ = lens _tdBillingTerms
5752+ (\ s a -> s{_tdBillingTerms = a})
5753+
5754+-- | A description for these terms.
5755+tdDescription :: Lens' TermsDto (Maybe Text)
5756+tdDescription
5757+ = lens _tdDescription
5758+ (\ s a -> s{_tdDescription = a})
5759+
5760+--
5761+-- /See:/ 'webPropertyDto' smart constructor.
5762+data WebPropertyDto = WebPropertyDto
5763+ { _wpdEnabledForPreferredDeals :: !(Maybe Bool)
5764+ , _wpdSyndicationProduct :: !(Maybe Text)
5765+ , _wpdName :: !(Maybe Text)
5766+ , _wpdPropertyCode :: !(Maybe Text)
5767+ , _wpdId :: !(Maybe Int32)
5768+ , _wpdSiteUrls :: !(Maybe [Text])
5769+ , _wpdAllowInterestTargetedAds :: !(Maybe Bool)
5770+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
5771+
5772+-- | Creates a value of 'WebPropertyDto' with the minimum fields required to make a request.
5773+--
5774+-- Use one of the following lenses to modify other fields as desired:
5775+--
5776+-- * 'wpdEnabledForPreferredDeals'
5777+--
5778+-- * 'wpdSyndicationProduct'
5779+--
5780+-- * 'wpdName'
5781+--
5782+-- * 'wpdPropertyCode'
5783+--
5784+-- * 'wpdId'
5785+--
5786+-- * 'wpdSiteUrls'
5787+--
5788+-- * 'wpdAllowInterestTargetedAds'
5789+webPropertyDto
5790+ :: WebPropertyDto
5791+webPropertyDto =
5792+ WebPropertyDto
5793+ { _wpdEnabledForPreferredDeals = Nothing
5794+ , _wpdSyndicationProduct = Nothing
5795+ , _wpdName = Nothing
5796+ , _wpdPropertyCode = Nothing
5797+ , _wpdId = Nothing
5798+ , _wpdSiteUrls = Nothing
5799+ , _wpdAllowInterestTargetedAds = Nothing
5800+ }
5801+
5802+wpdEnabledForPreferredDeals :: Lens' WebPropertyDto (Maybe Bool)
5803+wpdEnabledForPreferredDeals
5804+ = lens _wpdEnabledForPreferredDeals
5805+ (\ s a -> s{_wpdEnabledForPreferredDeals = a})
5806+
5807+wpdSyndicationProduct :: Lens' WebPropertyDto (Maybe Text)
5808+wpdSyndicationProduct
5809+ = lens _wpdSyndicationProduct
5810+ (\ s a -> s{_wpdSyndicationProduct = a})
5811+
5812+wpdName :: Lens' WebPropertyDto (Maybe Text)
5813+wpdName = lens _wpdName (\ s a -> s{_wpdName = a})
5814+
5815+wpdPropertyCode :: Lens' WebPropertyDto (Maybe Text)
5816+wpdPropertyCode
5817+ = lens _wpdPropertyCode
5818+ (\ s a -> s{_wpdPropertyCode = a})
5819+
5820+wpdId :: Lens' WebPropertyDto (Maybe Int32)
5821+wpdId = lens _wpdId (\ s a -> s{_wpdId = a})
5822+
5823+wpdSiteUrls :: Lens' WebPropertyDto [Text]
5824+wpdSiteUrls
5825+ = lens _wpdSiteUrls (\ s a -> s{_wpdSiteUrls = a}) .
5826+ _Default
5827+ . _Coerce
5828+
5829+wpdAllowInterestTargetedAds :: Lens' WebPropertyDto (Maybe Bool)
5830+wpdAllowInterestTargetedAds
5831+ = lens _wpdAllowInterestTargetedAds
5832+ (\ s a -> s{_wpdAllowInterestTargetedAds = a})
gogol-adexchange-buyer/gen/Network/Google/AdExchangeBuyer/Types/Sum.hsnew file+15
@@ -0,0 +1,15 @@
1+{-# LANGUAGE DeriveDataTypeable #-}
2+{-# LANGUAGE DeriveGeneric #-}
3+{-# LANGUAGE OverloadedStrings #-}
4+
5+-- |
6+-- Module : Network.Google.AdExchangeBuyer.Types.Sum
7+-- Copyright : (c) 2015 Brendan Hay
8+-- License : Mozilla Public License, v. 2.0.
9+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
10+-- Stability : auto-generated
11+-- Portability : non-portable (GHC extensions)
12+--
13+module Network.Google.AdExchangeBuyer.Types.Sum where
14+
15+import Network.Google.Prelude
gogol-adexchange-buyer/gogol-adexchange-buyer.cabalnew file+39
@@ -0,0 +1,39 @@
1+name: gogol-adexchange-buyer
2+version: 0.0.1
3+synopsis: Google Ad Exchange Buyer API.
4+homepage: https://github.com/brendanhay/gogol
5+bug-reports: https://github.com/brendanhay/gogol/issues
6+license: OtherLicense
7+license-file: LICENSE
8+author: Brendan Hay
9+maintainer: Brendan Hay <brendan.g.hay@gmail.com>
10+copyright: Copyright (c) 2015 Brendan Hay
11+category: Network, Google, Cloud
12+build-type: Simple
13+cabal-version: >= 1.10
14+extra-source-files: README.md
15+
16+description:
17+ Pending
18+
19+source-repository head
20+ type: git
21+ location: git://github.com/brendanhay/gogol.git
22+
23+library
24+ default-language: Haskell2010
25+ hs-source-dirs: src gen
26+
27+ ghc-options: -Wall
28+
29+ exposed-modules:
30+ Network.Google.AdExchangeBuyer
31+ , Network.Google.AdExchangeBuyer.Types
32+
33+ other-modules:
34+ Network.Google.AdExchangeBuyer.Types.Product
35+ , Network.Google.AdExchangeBuyer.Types.Sum
36+
37+ build-depends:
38+ gogol-core == 0.0.1.*
39+ , base >= 4.7 && < 5
gogol-adexchange-buyer/src/.gitkeepnew file

No changes to the content.

gogol-adexchange-seller/LICENSEnew file+373
@@ -0,0 +1,373 @@
1+Mozilla Public License Version 2.0
2+==================================
3+
4+1. Definitions
5+--------------
6+
7+1.1. "Contributor"
8+ means each individual or legal entity that creates, contributes to
9+ the creation of, or owns Covered Software.
10+
11+1.2. "Contributor Version"
12+ means the combination of the Contributions of others (if any) used
13+ by a Contributor and that particular Contributor's Contribution.
14+
15+1.3. "Contribution"
16+ means Covered Software of a particular Contributor.
17+
18+1.4. "Covered Software"
19+ means Source Code Form to which the initial Contributor has attached
20+ the notice in Exhibit A, the Executable Form of such Source Code
21+ Form, and Modifications of such Source Code Form, in each case
22+ including portions thereof.
23+
24+1.5. "Incompatible With Secondary Licenses"
25+ means
26+
27+ (a) that the initial Contributor has attached the notice described
28+ in Exhibit B to the Covered Software; or
29+
30+ (b) that the Covered Software was made available under the terms of
31+ version 1.1 or earlier of the License, but not also under the
32+ terms of a Secondary License.
33+
34+1.6. "Executable Form"
35+ means any form of the work other than Source Code Form.
36+
37+1.7. "Larger Work"
38+ means a work that combines Covered Software with other material, in
39+ a separate file or files, that is not Covered Software.
40+
41+1.8. "License"
42+ means this document.
43+
44+1.9. "Licensable"
45+ means having the right to grant, to the maximum extent possible,
46+ whether at the time of the initial grant or subsequently, any and
47+ all of the rights conveyed by this License.
48+
49+1.10. "Modifications"
50+ means any of the following:
51+
52+ (a) any file in Source Code Form that results from an addition to,
53+ deletion from, or modification of the contents of Covered
54+ Software; or
55+
56+ (b) any new file in Source Code Form that contains any Covered
57+ Software.
58+
59+1.11. "Patent Claims" of a Contributor
60+ means any patent claim(s), including without limitation, method,
61+ process, and apparatus claims, in any patent Licensable by such
62+ Contributor that would be infringed, but for the grant of the
63+ License, by the making, using, selling, offering for sale, having
64+ made, import, or transfer of either its Contributions or its
65+ Contributor Version.
66+
67+1.12. "Secondary License"
68+ means either the GNU General Public License, Version 2.0, the GNU
69+ Lesser General Public License, Version 2.1, the GNU Affero General
70+ Public License, Version 3.0, or any later versions of those
71+ licenses.
72+
73+1.13. "Source Code Form"
74+ means the form of the work preferred for making modifications.
75+
76+1.14. "You" (or "Your")
77+ means an individual or a legal entity exercising rights under this
78+ License. For legal entities, "You" includes any entity that
79+ controls, is controlled by, or is under common control with You. For
80+ purposes of this definition, "control" means (a) the power, direct
81+ or indirect, to cause the direction or management of such entity,
82+ whether by contract or otherwise, or (b) ownership of more than
83+ fifty percent (50%) of the outstanding shares or beneficial
84+ ownership of such entity.
85+
86+2. License Grants and Conditions
87+--------------------------------
88+
89+2.1. Grants
90+
91+Each Contributor hereby grants You a world-wide, royalty-free,
92+non-exclusive license:
93+
94+(a) under intellectual property rights (other than patent or trademark)
95+ Licensable by such Contributor to use, reproduce, make available,
96+ modify, display, perform, distribute, and otherwise exploit its
97+ Contributions, either on an unmodified basis, with Modifications, or
98+ as part of a Larger Work; and
99+
100+(b) under Patent Claims of such Contributor to make, use, sell, offer
101+ for sale, have made, import, and otherwise transfer either its
102+ Contributions or its Contributor Version.
103+
104+2.2. Effective Date
105+
106+The licenses granted in Section 2.1 with respect to any Contribution
107+become effective for each Contribution on the date the Contributor first
108+distributes such Contribution.
109+
110+2.3. Limitations on Grant Scope
111+
112+The licenses granted in this Section 2 are the only rights granted under
113+this License. No additional rights or licenses will be implied from the
114+distribution or licensing of Covered Software under this License.
115+Notwithstanding Section 2.1(b) above, no patent license is granted by a
116+Contributor:
117+
118+(a) for any code that a Contributor has removed from Covered Software;
119+ or
120+
121+(b) for infringements caused by: (i) Your and any other third party's
122+ modifications of Covered Software, or (ii) the combination of its
123+ Contributions with other software (except as part of its Contributor
124+ Version); or
125+
126+(c) under Patent Claims infringed by Covered Software in the absence of
127+ its Contributions.
128+
129+This License does not grant any rights in the trademarks, service marks,
130+or logos of any Contributor (except as may be necessary to comply with
131+the notice requirements in Section 3.4).
132+
133+2.4. Subsequent Licenses
134+
135+No Contributor makes additional grants as a result of Your choice to
136+distribute the Covered Software under a subsequent version of this
137+License (see Section 10.2) or under the terms of a Secondary License (if
138+permitted under the terms of Section 3.3).
139+
140+2.5. Representation
141+
142+Each Contributor represents that the Contributor believes its
143+Contributions are its original creation(s) or it has sufficient rights
144+to grant the rights to its Contributions conveyed by this License.
145+
146+2.6. Fair Use
147+
148+This License is not intended to limit any rights You have under
149+applicable copyright doctrines of fair use, fair dealing, or other
150+equivalents.
151+
152+2.7. Conditions
153+
154+Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
155+in Section 2.1.
156+
157+3. Responsibilities
158+-------------------
159+
160+3.1. Distribution of Source Form
161+
162+All distribution of Covered Software in Source Code Form, including any
163+Modifications that You create or to which You contribute, must be under
164+the terms of this License. You must inform recipients that the Source
165+Code Form of the Covered Software is governed by the terms of this
166+License, and how they can obtain a copy of this License. You may not
167+attempt to alter or restrict the recipients' rights in the Source Code
168+Form.
169+
170+3.2. Distribution of Executable Form
171+
172+If You distribute Covered Software in Executable Form then:
173+
174+(a) such Covered Software must also be made available in Source Code
175+ Form, as described in Section 3.1, and You must inform recipients of
176+ the Executable Form how they can obtain a copy of such Source Code
177+ Form by reasonable means in a timely manner, at a charge no more
178+ than the cost of distribution to the recipient; and
179+
180+(b) You may distribute such Executable Form under the terms of this
181+ License, or sublicense it under different terms, provided that the
182+ license for the Executable Form does not attempt to limit or alter
183+ the recipients' rights in the Source Code Form under this License.
184+
185+3.3. Distribution of a Larger Work
186+
187+You may create and distribute a Larger Work under terms of Your choice,
188+provided that You also comply with the requirements of this License for
189+the Covered Software. If the Larger Work is a combination of Covered
190+Software with a work governed by one or more Secondary Licenses, and the
191+Covered Software is not Incompatible With Secondary Licenses, this
192+License permits You to additionally distribute such Covered Software
193+under the terms of such Secondary License(s), so that the recipient of
194+the Larger Work may, at their option, further distribute the Covered
195+Software under the terms of either this License or such Secondary
196+License(s).
197+
198+3.4. Notices
199+
200+You may not remove or alter the substance of any license notices
201+(including copyright notices, patent notices, disclaimers of warranty,
202+or limitations of liability) contained within the Source Code Form of
203+the Covered Software, except that You may alter any license notices to
204+the extent required to remedy known factual inaccuracies.
205+
206+3.5. Application of Additional Terms
207+
208+You may choose to offer, and to charge a fee for, warranty, support,
209+indemnity or liability obligations to one or more recipients of Covered
210+Software. However, You may do so only on Your own behalf, and not on
211+behalf of any Contributor. You must make it absolutely clear that any
212+such warranty, support, indemnity, or liability obligation is offered by
213+You alone, and You hereby agree to indemnify every Contributor for any
214+liability incurred by such Contributor as a result of warranty, support,
215+indemnity or liability terms You offer. You may include additional
216+disclaimers of warranty and limitations of liability specific to any
217+jurisdiction.
218+
219+4. Inability to Comply Due to Statute or Regulation
220+---------------------------------------------------
221+
222+If it is impossible for You to comply with any of the terms of this
223+License with respect to some or all of the Covered Software due to
224+statute, judicial order, or regulation then You must: (a) comply with
225+the terms of this License to the maximum extent possible; and (b)
226+describe the limitations and the code they affect. Such description must
227+be placed in a text file included with all distributions of the Covered
228+Software under this License. Except to the extent prohibited by statute
229+or regulation, such description must be sufficiently detailed for a
230+recipient of ordinary skill to be able to understand it.
231+
232+5. Termination
233+--------------
234+
235+5.1. The rights granted under this License will terminate automatically
236+if You fail to comply with any of its terms. However, if You become
237+compliant, then the rights granted under this License from a particular
238+Contributor are reinstated (a) provisionally, unless and until such
239+Contributor explicitly and finally terminates Your grants, and (b) on an
240+ongoing basis, if such Contributor fails to notify You of the
241+non-compliance by some reasonable means prior to 60 days after You have
242+come back into compliance. Moreover, Your grants from a particular
243+Contributor are reinstated on an ongoing basis if such Contributor
244+notifies You of the non-compliance by some reasonable means, this is the
245+first time You have received notice of non-compliance with this License
246+from such Contributor, and You become compliant prior to 30 days after
247+Your receipt of the notice.
248+
249+5.2. If You initiate litigation against any entity by asserting a patent
250+infringement claim (excluding declaratory judgment actions,
251+counter-claims, and cross-claims) alleging that a Contributor Version
252+directly or indirectly infringes any patent, then the rights granted to
253+You by any and all Contributors for the Covered Software under Section
254+2.1 of this License shall terminate.
255+
256+5.3. In the event of termination under Sections 5.1 or 5.2 above, all
257+end user license agreements (excluding distributors and resellers) which
258+have been validly granted by You or Your distributors under this License
259+prior to termination shall survive termination.
260+
261+************************************************************************
262+* *
263+* 6. Disclaimer of Warranty *
264+* ------------------------- *
265+* *
266+* Covered Software is provided under this License on an "as is" *
267+* basis, without warranty of any kind, either expressed, implied, or *
268+* statutory, including, without limitation, warranties that the *
269+* Covered Software is free of defects, merchantable, fit for a *
270+* particular purpose or non-infringing. The entire risk as to the *
271+* quality and performance of the Covered Software is with You. *
272+* Should any Covered Software prove defective in any respect, You *
273+* (not any Contributor) assume the cost of any necessary servicing, *
274+* repair, or correction. This disclaimer of warranty constitutes an *
275+* essential part of this License. No use of any Covered Software is *
276+* authorized under this License except under this disclaimer. *
277+* *
278+************************************************************************
279+
280+************************************************************************
281+* *
282+* 7. Limitation of Liability *
283+* -------------------------- *
284+* *
285+* Under no circumstances and under no legal theory, whether tort *
286+* (including negligence), contract, or otherwise, shall any *
287+* Contributor, or anyone who distributes Covered Software as *
288+* permitted above, be liable to You for any direct, indirect, *
289+* special, incidental, or consequential damages of any character *
290+* including, without limitation, damages for lost profits, loss of *
291+* goodwill, work stoppage, computer failure or malfunction, or any *
292+* and all other commercial damages or losses, even if such party *
293+* shall have been informed of the possibility of such damages. This *
294+* limitation of liability shall not apply to liability for death or *
295+* personal injury resulting from such party's negligence to the *
296+* extent applicable law prohibits such limitation. Some *
297+* jurisdictions do not allow the exclusion or limitation of *
298+* incidental or consequential damages, so this exclusion and *
299+* limitation may not apply to You. *
300+* *
301+************************************************************************
302+
303+8. Litigation
304+-------------
305+
306+Any litigation relating to this License may be brought only in the
307+courts of a jurisdiction where the defendant maintains its principal
308+place of business and such litigation shall be governed by laws of that
309+jurisdiction, without reference to its conflict-of-law provisions.
310+Nothing in this Section shall prevent a party's ability to bring
311+cross-claims or counter-claims.
312+
313+9. Miscellaneous
314+----------------
315+
316+This License represents the complete agreement concerning the subject
317+matter hereof. If any provision of this License is held to be
318+unenforceable, such provision shall be reformed only to the extent
319+necessary to make it enforceable. Any law or regulation which provides
320+that the language of a contract shall be construed against the drafter
321+shall not be used to construe this License against a Contributor.
322+
323+10. Versions of the License
324+---------------------------
325+
326+10.1. New Versions
327+
328+Mozilla Foundation is the license steward. Except as provided in Section
329+10.3, no one other than the license steward has the right to modify or
330+publish new versions of this License. Each version will be given a
331+distinguishing version number.
332+
333+10.2. Effect of New Versions
334+
335+You may distribute the Covered Software under the terms of the version
336+of the License under which You originally received the Covered Software,
337+or under the terms of any subsequent version published by the license
338+steward.
339+
340+10.3. Modified Versions
341+
342+If you create software not governed by this License, and you want to
343+create a new license for such software, you may create and use a
344+modified version of this License if you rename the license and remove
345+any references to the name of the license steward (except to note that
346+such modified license differs from this License).
347+
348+10.4. Distributing Source Code Form that is Incompatible With Secondary
349+Licenses
350+
351+If You choose to distribute Source Code Form that is Incompatible With
352+Secondary Licenses under the terms of this version of the License, the
353+notice described in Exhibit B of this License must be attached.
354+
355+Exhibit A - Source Code Form License Notice
356+-------------------------------------------
357+
358+ This Source Code Form is subject to the terms of the Mozilla Public
359+ License, v. 2.0. If a copy of the MPL was not distributed with this
360+ file, You can obtain one at http://mozilla.org/MPL/2.0/.
361+
362+If it is not possible or desirable to put the notice in a particular
363+file, then You may include the notice in a location (such as a LICENSE
364+file in a relevant directory) where a recipient would be likely to look
365+for such a notice.
366+
367+You may add additional accurate notices of copyright ownership.
368+
369+Exhibit B - "Incompatible With Secondary Licenses" Notice
370+---------------------------------------------------------
371+
372+ This Source Code Form is "Incompatible With Secondary Licenses", as
373+ defined by the Mozilla Public License, v. 2.0.
gogol-adexchange-seller/Makefilenew file+1
@@ -0,0 +1 @@
1+include ../share/library.mk
gogol-adexchange-seller/README.mdnew file+28
@@ -0,0 +1,28 @@
1+# gogol-adexchange-seller
2+
3+* [Version](#version)
4+* [Description](#description)
5+* [Contribute](#contribute)
6+* [Licence](#licence)
7+
8+
9+## Version
10+
11+`0.0.1`
12+
13+
14+## Description
15+
16+A client library for the Google Ad Exchange Seller API.
17+
18+
19+## Contribute
20+
21+For any problems, comments, or feedback please create an issue [here on GitHub](https://github.com/brendanhay/amazonka/issues).
22+
23+> _Note:_ this library is an auto-generated Haskell package. Please see `amazonka-gen` for more information.
24+
25+
26+## Licence
27+
28+`gogol-adexchange-seller` is released under the [Mozilla Public License Version 2.0](http://www.mozilla.org/MPL/).
gogol-adexchange-seller/Setup.hsnew file+2
@@ -0,0 +1,2 @@
1+import Distribution.Simple
2+main = defaultMain
gogol-adexchange-seller/gen/Network/Google/AdExchangeSeller.hsnew file+190
@@ -0,0 +1,190 @@
1+-- |
2+-- Module : Network.Google.AdExchangeSeller
3+-- Copyright : (c) 2015 Brendan Hay
4+-- License : Mozilla Public License, v. 2.0.
5+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
6+-- Stability : auto-generated
7+-- Portability : non-portable (GHC extensions)
8+--
9+-- Gives Ad Exchange seller users access to their inventory and the ability to generate reports
10+--
11+-- /See:/ <https://developers.google.com/ad-exchange/seller-rest/ Ad Exchange Seller API Reference>
12+module Network.Google.AdExchangeSeller
13+ (
14+ -- * API Definition
15+ AdExchangeSeller
16+
17+
18+
19+ -- * Types
20+
21+ -- ** Account
22+ , Account
23+ , account
24+ , accKind
25+ , accName
26+ , accId
27+
28+ -- ** Accounts
29+ , Accounts
30+ , accounts
31+ , aEtag
32+ , aNextPageToken
33+ , aKind
34+ , aItems
35+
36+ -- ** AdClient
37+ , AdClient
38+ , adClient
39+ , acKind
40+ , acArcOptIn
41+ , acSupportsReporting
42+ , acId
43+ , acProductCode
44+
45+ -- ** AdClients
46+ , AdClients
47+ , adClients
48+ , acsEtag
49+ , acsNextPageToken
50+ , acsKind
51+ , acsItems
52+
53+ -- ** Alert
54+ , Alert
55+ , alert
56+ , aleKind
57+ , aleSeverity
58+ , aleId
59+ , aleType
60+ , aleMessage
61+
62+ -- ** Alerts
63+ , Alerts
64+ , alerts
65+ , aaKind
66+ , aaItems
67+
68+ -- ** CustomChannel
69+ , CustomChannel
70+ , customChannel
71+ , ccTargetingInfo
72+ , ccKind
73+ , ccName
74+ , ccCode
75+ , ccId
76+
77+ -- ** CustomChannelTargetingInfo
78+ , CustomChannelTargetingInfo
79+ , customChannelTargetingInfo
80+ , cctiLocation
81+ , cctiSiteLanguage
82+ , cctiAdsAppearOn
83+ , cctiDescription
84+
85+ -- ** CustomChannels
86+ , CustomChannels
87+ , customChannels
88+ , cEtag
89+ , cNextPageToken
90+ , cKind
91+ , cItems
92+
93+ -- ** Metadata
94+ , Metadata
95+ , metadata
96+ , mKind
97+ , mItems
98+
99+ -- ** PreferredDeal
100+ , PreferredDeal
101+ , preferredDeal
102+ , pdAdvertiserName
103+ , pdCurrencyCode
104+ , pdStartTime
105+ , pdKind
106+ , pdBuyerNetworkName
107+ , pdEndTime
108+ , pdId
109+ , pdFixedCpm
110+
111+ -- ** PreferredDeals
112+ , PreferredDeals
113+ , preferredDeals
114+ , pKind
115+ , pItems
116+
117+ -- ** Report
118+ , Report
119+ , report
120+ , rKind
121+ , rAverages
122+ , rWarnings
123+ , rRows
124+ , rTotals
125+ , rHeaders
126+ , rTotalMatchedRows
127+
128+ -- ** ReportItemHeaders
129+ , ReportItemHeaders
130+ , reportItemHeaders
131+ , rihName
132+ , rihCurrency
133+ , rihType
134+
135+ -- ** ReportingMetadataEntry
136+ , ReportingMetadataEntry
137+ , reportingMetadataEntry
138+ , rmeKind
139+ , rmeRequiredMetrics
140+ , rmeCompatibleMetrics
141+ , rmeRequiredDimensions
142+ , rmeId
143+ , rmeCompatibleDimensions
144+ , rmeSupportedProducts
145+
146+ -- ** SavedReport
147+ , SavedReport
148+ , savedReport
149+ , sKind
150+ , sName
151+ , sId
152+
153+ -- ** SavedReports
154+ , SavedReports
155+ , savedReports
156+ , srEtag
157+ , srNextPageToken
158+ , srKind
159+ , srItems
160+
161+ -- ** UrlChannel
162+ , UrlChannel
163+ , urlChannel
164+ , ucKind
165+ , ucId
166+ , ucUrlPattern
167+
168+ -- ** UrlChannels
169+ , UrlChannels
170+ , urlChannels
171+ , urlcEtag
172+ , urlcNextPageToken
173+ , urlcKind
174+ , urlcItems
175+ ) where
176+
177+import Network.Google.AdExchangeSeller.Types
178+
179+{- $resources
180+TODO
181+-}
182+
183+type AdExchangeSeller = ()
184+
185+adExchangeSeller :: Proxy AdExchangeSeller
186+adExchangeSeller = Proxy
187+
188+
189+
190+
gogol-adexchange-seller/gen/Network/Google/AdExchangeSeller/Types.hsnew file+180
@@ -0,0 +1,180 @@
1+{-# LANGUAGE DeriveDataTypeable #-}
2+{-# LANGUAGE DeriveGeneric #-}
3+{-# LANGUAGE OverloadedStrings #-}
4+
5+-- |
6+-- Module : Network.Google.AdExchangeSeller.Types
7+-- Copyright : (c) 2015 Brendan Hay
8+-- License : Mozilla Public License, v. 2.0.
9+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
10+-- Stability : auto-generated
11+-- Portability : non-portable (GHC extensions)
12+--
13+module Network.Google.AdExchangeSeller.Types
14+ (
15+ -- * API Definition
16+ adexchangeseller
17+
18+
19+ -- * Account
20+ , Account
21+ , account
22+ , accKind
23+ , accName
24+ , accId
25+
26+ -- * Accounts
27+ , Accounts
28+ , accounts
29+ , aEtag
30+ , aNextPageToken
31+ , aKind
32+ , aItems
33+
34+ -- * AdClient
35+ , AdClient
36+ , adClient
37+ , acKind
38+ , acArcOptIn
39+ , acSupportsReporting
40+ , acId
41+ , acProductCode
42+
43+ -- * AdClients
44+ , AdClients
45+ , adClients
46+ , acsEtag
47+ , acsNextPageToken
48+ , acsKind
49+ , acsItems
50+
51+ -- * Alert
52+ , Alert
53+ , alert
54+ , aleKind
55+ , aleSeverity
56+ , aleId
57+ , aleType
58+ , aleMessage
59+
60+ -- * Alerts
61+ , Alerts
62+ , alerts
63+ , aaKind
64+ , aaItems
65+
66+ -- * CustomChannel
67+ , CustomChannel
68+ , customChannel
69+ , ccTargetingInfo
70+ , ccKind
71+ , ccName
72+ , ccCode
73+ , ccId
74+
75+ -- * CustomChannelTargetingInfo
76+ , CustomChannelTargetingInfo
77+ , customChannelTargetingInfo
78+ , cctiLocation
79+ , cctiSiteLanguage
80+ , cctiAdsAppearOn
81+ , cctiDescription
82+
83+ -- * CustomChannels
84+ , CustomChannels
85+ , customChannels
86+ , cEtag
87+ , cNextPageToken
88+ , cKind
89+ , cItems
90+
91+ -- * Metadata
92+ , Metadata
93+ , metadata
94+ , mKind
95+ , mItems
96+
97+ -- * PreferredDeal
98+ , PreferredDeal
99+ , preferredDeal
100+ , pdAdvertiserName
101+ , pdCurrencyCode
102+ , pdStartTime
103+ , pdKind
104+ , pdBuyerNetworkName
105+ , pdEndTime
106+ , pdId
107+ , pdFixedCpm
108+
109+ -- * PreferredDeals
110+ , PreferredDeals
111+ , preferredDeals
112+ , pKind
113+ , pItems
114+
115+ -- * Report
116+ , Report
117+ , report
118+ , rKind
119+ , rAverages
120+ , rWarnings
121+ , rRows
122+ , rTotals
123+ , rHeaders
124+ , rTotalMatchedRows
125+
126+ -- * ReportItemHeaders
127+ , ReportItemHeaders
128+ , reportItemHeaders
129+ , rihName
130+ , rihCurrency
131+ , rihType
132+
133+ -- * ReportingMetadataEntry
134+ , ReportingMetadataEntry
135+ , reportingMetadataEntry
136+ , rmeKind
137+ , rmeRequiredMetrics
138+ , rmeCompatibleMetrics
139+ , rmeRequiredDimensions
140+ , rmeId
141+ , rmeCompatibleDimensions
142+ , rmeSupportedProducts
143+
144+ -- * SavedReport
145+ , SavedReport
146+ , savedReport
147+ , sKind
148+ , sName
149+ , sId
150+
151+ -- * SavedReports
152+ , SavedReports
153+ , savedReports
154+ , srEtag
155+ , srNextPageToken
156+ , srKind
157+ , srItems
158+
159+ -- * UrlChannel
160+ , UrlChannel
161+ , urlChannel
162+ , ucKind
163+ , ucId
164+ , ucUrlPattern
165+
166+ -- * UrlChannels
167+ , UrlChannels
168+ , urlChannels
169+ , urlcEtag
170+ , urlcNextPageToken
171+ , urlcKind
172+ , urlcItems
173+ ) where
174+
175+import Network.Google.AdExchangeSeller.Types.Product
176+import Network.Google.AdExchangeSeller.Types.Sum
177+import Network.Google.Prelude
178+
179+adexchangeseller :: a
180+adexchangeseller = error "adexchangeseller"
gogol-adexchange-seller/gen/Network/Google/AdExchangeSeller/Types/Product.hsnew file+1056
@@ -0,0 +1,1056 @@
1+{-# LANGUAGE DeriveDataTypeable #-}
2+{-# LANGUAGE DeriveGeneric #-}
3+{-# LANGUAGE OverloadedStrings #-}
4+
5+-- |
6+-- Module : Network.Google.AdExchangeSeller.Types.Product
7+-- Copyright : (c) 2015 Brendan Hay
8+-- License : Mozilla Public License, v. 2.0.
9+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
10+-- Stability : auto-generated
11+-- Portability : non-portable (GHC extensions)
12+--
13+module Network.Google.AdExchangeSeller.Types.Product where
14+
15+import Network.Google.AdExchangeSeller.Types.Sum
16+import Network.Google.Prelude
17+
18+--
19+-- /See:/ 'account' smart constructor.
20+data Account = Account
21+ { _accKind :: !Text
22+ , _accName :: !(Maybe Text)
23+ , _accId :: !(Maybe Text)
24+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
25+
26+-- | Creates a value of 'Account' with the minimum fields required to make a request.
27+--
28+-- Use one of the following lenses to modify other fields as desired:
29+--
30+-- * 'accKind'
31+--
32+-- * 'accName'
33+--
34+-- * 'accId'
35+account
36+ :: Account
37+account =
38+ Account
39+ { _accKind = "adexchangeseller#account"
40+ , _accName = Nothing
41+ , _accId = Nothing
42+ }
43+
44+-- | Kind of resource this is, in this case adexchangeseller#account.
45+accKind :: Lens' Account Text
46+accKind = lens _accKind (\ s a -> s{_accKind = a})
47+
48+-- | Name of this account.
49+accName :: Lens' Account (Maybe Text)
50+accName = lens _accName (\ s a -> s{_accName = a})
51+
52+-- | Unique identifier of this account.
53+accId :: Lens' Account (Maybe Text)
54+accId = lens _accId (\ s a -> s{_accId = a})
55+
56+--
57+-- /See:/ 'accounts' smart constructor.
58+data Accounts = Accounts
59+ { _aEtag :: !(Maybe Text)
60+ , _aNextPageToken :: !(Maybe Text)
61+ , _aKind :: !Text
62+ , _aItems :: !(Maybe [Maybe Account])
63+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
64+
65+-- | Creates a value of 'Accounts' with the minimum fields required to make a request.
66+--
67+-- Use one of the following lenses to modify other fields as desired:
68+--
69+-- * 'aEtag'
70+--
71+-- * 'aNextPageToken'
72+--
73+-- * 'aKind'
74+--
75+-- * 'aItems'
76+accounts
77+ :: Accounts
78+accounts =
79+ Accounts
80+ { _aEtag = Nothing
81+ , _aNextPageToken = Nothing
82+ , _aKind = "adexchangeseller#accounts"
83+ , _aItems = Nothing
84+ }
85+
86+-- | ETag of this response for caching purposes.
87+aEtag :: Lens' Accounts (Maybe Text)
88+aEtag = lens _aEtag (\ s a -> s{_aEtag = a})
89+
90+-- | Continuation token used to page through accounts. To retrieve the next
91+-- page of results, set the next request\'s \"pageToken\" value to this.
92+aNextPageToken :: Lens' Accounts (Maybe Text)
93+aNextPageToken
94+ = lens _aNextPageToken
95+ (\ s a -> s{_aNextPageToken = a})
96+
97+-- | Kind of list this is, in this case adexchangeseller#accounts.
98+aKind :: Lens' Accounts Text
99+aKind = lens _aKind (\ s a -> s{_aKind = a})
100+
101+-- | The accounts returned in this list response.
102+aItems :: Lens' Accounts [Maybe Account]
103+aItems
104+ = lens _aItems (\ s a -> s{_aItems = a}) . _Default .
105+ _Coerce
106+
107+--
108+-- /See:/ 'adClient' smart constructor.
109+data AdClient = AdClient
110+ { _acKind :: !Text
111+ , _acArcOptIn :: !(Maybe Bool)
112+ , _acSupportsReporting :: !(Maybe Bool)
113+ , _acId :: !(Maybe Text)
114+ , _acProductCode :: !(Maybe Text)
115+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
116+
117+-- | Creates a value of 'AdClient' with the minimum fields required to make a request.
118+--
119+-- Use one of the following lenses to modify other fields as desired:
120+--
121+-- * 'acKind'
122+--
123+-- * 'acArcOptIn'
124+--
125+-- * 'acSupportsReporting'
126+--
127+-- * 'acId'
128+--
129+-- * 'acProductCode'
130+adClient
131+ :: AdClient
132+adClient =
133+ AdClient
134+ { _acKind = "adexchangeseller#adClient"
135+ , _acArcOptIn = Nothing
136+ , _acSupportsReporting = Nothing
137+ , _acId = Nothing
138+ , _acProductCode = Nothing
139+ }
140+
141+-- | Kind of resource this is, in this case adexchangeseller#adClient.
142+acKind :: Lens' AdClient Text
143+acKind = lens _acKind (\ s a -> s{_acKind = a})
144+
145+-- | Whether this ad client is opted in to ARC.
146+acArcOptIn :: Lens' AdClient (Maybe Bool)
147+acArcOptIn
148+ = lens _acArcOptIn (\ s a -> s{_acArcOptIn = a})
149+
150+-- | Whether this ad client supports being reported on.
151+acSupportsReporting :: Lens' AdClient (Maybe Bool)
152+acSupportsReporting
153+ = lens _acSupportsReporting
154+ (\ s a -> s{_acSupportsReporting = a})
155+
156+-- | Unique identifier of this ad client.
157+acId :: Lens' AdClient (Maybe Text)
158+acId = lens _acId (\ s a -> s{_acId = a})
159+
160+-- | This ad client\'s product code, which corresponds to the PRODUCT_CODE
161+-- report dimension.
162+acProductCode :: Lens' AdClient (Maybe Text)
163+acProductCode
164+ = lens _acProductCode
165+ (\ s a -> s{_acProductCode = a})
166+
167+--
168+-- /See:/ 'adClients' smart constructor.
169+data AdClients = AdClients
170+ { _acsEtag :: !(Maybe Text)
171+ , _acsNextPageToken :: !(Maybe Text)
172+ , _acsKind :: !Text
173+ , _acsItems :: !(Maybe [Maybe AdClient])
174+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
175+
176+-- | Creates a value of 'AdClients' with the minimum fields required to make a request.
177+--
178+-- Use one of the following lenses to modify other fields as desired:
179+--
180+-- * 'acsEtag'
181+--
182+-- * 'acsNextPageToken'
183+--
184+-- * 'acsKind'
185+--
186+-- * 'acsItems'
187+adClients
188+ :: AdClients
189+adClients =
190+ AdClients
191+ { _acsEtag = Nothing
192+ , _acsNextPageToken = Nothing
193+ , _acsKind = "adexchangeseller#adClients"
194+ , _acsItems = Nothing
195+ }
196+
197+-- | ETag of this response for caching purposes.
198+acsEtag :: Lens' AdClients (Maybe Text)
199+acsEtag = lens _acsEtag (\ s a -> s{_acsEtag = a})
200+
201+-- | Continuation token used to page through ad clients. To retrieve the next
202+-- page of results, set the next request\'s \"pageToken\" value to this.
203+acsNextPageToken :: Lens' AdClients (Maybe Text)
204+acsNextPageToken
205+ = lens _acsNextPageToken
206+ (\ s a -> s{_acsNextPageToken = a})
207+
208+-- | Kind of list this is, in this case adexchangeseller#adClients.
209+acsKind :: Lens' AdClients Text
210+acsKind = lens _acsKind (\ s a -> s{_acsKind = a})
211+
212+-- | The ad clients returned in this list response.
213+acsItems :: Lens' AdClients [Maybe AdClient]
214+acsItems
215+ = lens _acsItems (\ s a -> s{_acsItems = a}) .
216+ _Default
217+ . _Coerce
218+
219+--
220+-- /See:/ 'alert' smart constructor.
221+data Alert = Alert
222+ { _aleKind :: !Text
223+ , _aleSeverity :: !(Maybe Text)
224+ , _aleId :: !(Maybe Text)
225+ , _aleType :: !(Maybe Text)
226+ , _aleMessage :: !(Maybe Text)
227+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
228+
229+-- | Creates a value of 'Alert' with the minimum fields required to make a request.
230+--
231+-- Use one of the following lenses to modify other fields as desired:
232+--
233+-- * 'aleKind'
234+--
235+-- * 'aleSeverity'
236+--
237+-- * 'aleId'
238+--
239+-- * 'aleType'
240+--
241+-- * 'aleMessage'
242+alert
243+ :: Alert
244+alert =
245+ Alert
246+ { _aleKind = "adexchangeseller#alert"
247+ , _aleSeverity = Nothing
248+ , _aleId = Nothing
249+ , _aleType = Nothing
250+ , _aleMessage = Nothing
251+ }
252+
253+-- | Kind of resource this is, in this case adexchangeseller#alert.
254+aleKind :: Lens' Alert Text
255+aleKind = lens _aleKind (\ s a -> s{_aleKind = a})
256+
257+-- | Severity of this alert. Possible values: INFO, WARNING, SEVERE.
258+aleSeverity :: Lens' Alert (Maybe Text)
259+aleSeverity
260+ = lens _aleSeverity (\ s a -> s{_aleSeverity = a})
261+
262+-- | Unique identifier of this alert. This should be considered an opaque
263+-- identifier; it is not safe to rely on it being in any particular format.
264+aleId :: Lens' Alert (Maybe Text)
265+aleId = lens _aleId (\ s a -> s{_aleId = a})
266+
267+-- | Type of this alert. Possible values: SELF_HOLD, MIGRATED_TO_BILLING3,
268+-- ADDRESS_PIN_VERIFICATION, PHONE_PIN_VERIFICATION, CORPORATE_ENTITY,
269+-- GRAYLISTED_PUBLISHER, API_HOLD.
270+aleType :: Lens' Alert (Maybe Text)
271+aleType = lens _aleType (\ s a -> s{_aleType = a})
272+
273+-- | The localized alert message.
274+aleMessage :: Lens' Alert (Maybe Text)
275+aleMessage
276+ = lens _aleMessage (\ s a -> s{_aleMessage = a})
277+
278+--
279+-- /See:/ 'alerts' smart constructor.
280+data Alerts = Alerts
281+ { _aaKind :: !Text
282+ , _aaItems :: !(Maybe [Maybe Alert])
283+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
284+
285+-- | Creates a value of 'Alerts' with the minimum fields required to make a request.
286+--
287+-- Use one of the following lenses to modify other fields as desired:
288+--
289+-- * 'aaKind'
290+--
291+-- * 'aaItems'
292+alerts
293+ :: Alerts
294+alerts =
295+ Alerts
296+ { _aaKind = "adexchangeseller#alerts"
297+ , _aaItems = Nothing
298+ }
299+
300+-- | Kind of list this is, in this case adexchangeseller#alerts.
301+aaKind :: Lens' Alerts Text
302+aaKind = lens _aaKind (\ s a -> s{_aaKind = a})
303+
304+-- | The alerts returned in this list response.
305+aaItems :: Lens' Alerts [Maybe Alert]
306+aaItems
307+ = lens _aaItems (\ s a -> s{_aaItems = a}) . _Default
308+ . _Coerce
309+
310+--
311+-- /See:/ 'customChannel' smart constructor.
312+data CustomChannel = CustomChannel
313+ { _ccTargetingInfo :: !(Maybe CustomChannelTargetingInfo)
314+ , _ccKind :: !Text
315+ , _ccName :: !(Maybe Text)
316+ , _ccCode :: !(Maybe Text)
317+ , _ccId :: !(Maybe Text)
318+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
319+
320+-- | Creates a value of 'CustomChannel' with the minimum fields required to make a request.
321+--
322+-- Use one of the following lenses to modify other fields as desired:
323+--
324+-- * 'ccTargetingInfo'
325+--
326+-- * 'ccKind'
327+--
328+-- * 'ccName'
329+--
330+-- * 'ccCode'
331+--
332+-- * 'ccId'
333+customChannel
334+ :: CustomChannel
335+customChannel =
336+ CustomChannel
337+ { _ccTargetingInfo = Nothing
338+ , _ccKind = "adexchangeseller#customChannel"
339+ , _ccName = Nothing
340+ , _ccCode = Nothing
341+ , _ccId = Nothing
342+ }
343+
344+-- | The targeting information of this custom channel, if activated.
345+ccTargetingInfo :: Lens' CustomChannel (Maybe CustomChannelTargetingInfo)
346+ccTargetingInfo
347+ = lens _ccTargetingInfo
348+ (\ s a -> s{_ccTargetingInfo = a})
349+
350+-- | Kind of resource this is, in this case adexchangeseller#customChannel.
351+ccKind :: Lens' CustomChannel Text
352+ccKind = lens _ccKind (\ s a -> s{_ccKind = a})
353+
354+-- | Name of this custom channel.
355+ccName :: Lens' CustomChannel (Maybe Text)
356+ccName = lens _ccName (\ s a -> s{_ccName = a})
357+
358+-- | Code of this custom channel, not necessarily unique across ad clients.
359+ccCode :: Lens' CustomChannel (Maybe Text)
360+ccCode = lens _ccCode (\ s a -> s{_ccCode = a})
361+
362+-- | Unique identifier of this custom channel. This should be considered an
363+-- opaque identifier; it is not safe to rely on it being in any particular
364+-- format.
365+ccId :: Lens' CustomChannel (Maybe Text)
366+ccId = lens _ccId (\ s a -> s{_ccId = a})
367+
368+-- | The targeting information of this custom channel, if activated.
369+--
370+-- /See:/ 'customChannelTargetingInfo' smart constructor.
371+data CustomChannelTargetingInfo = CustomChannelTargetingInfo
372+ { _cctiLocation :: !(Maybe Text)
373+ , _cctiSiteLanguage :: !(Maybe Text)
374+ , _cctiAdsAppearOn :: !(Maybe Text)
375+ , _cctiDescription :: !(Maybe Text)
376+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
377+
378+-- | Creates a value of 'CustomChannelTargetingInfo' with the minimum fields required to make a request.
379+--
380+-- Use one of the following lenses to modify other fields as desired:
381+--
382+-- * 'cctiLocation'
383+--
384+-- * 'cctiSiteLanguage'
385+--
386+-- * 'cctiAdsAppearOn'
387+--
388+-- * 'cctiDescription'
389+customChannelTargetingInfo
390+ :: CustomChannelTargetingInfo
391+customChannelTargetingInfo =
392+ CustomChannelTargetingInfo
393+ { _cctiLocation = Nothing
394+ , _cctiSiteLanguage = Nothing
395+ , _cctiAdsAppearOn = Nothing
396+ , _cctiDescription = Nothing
397+ }
398+
399+-- | The locations in which ads appear. (Only valid for content and mobile
400+-- content ads). Acceptable values for content ads are: TOP_LEFT,
401+-- TOP_CENTER, TOP_RIGHT, MIDDLE_LEFT, MIDDLE_CENTER, MIDDLE_RIGHT,
402+-- BOTTOM_LEFT, BOTTOM_CENTER, BOTTOM_RIGHT, MULTIPLE_LOCATIONS. Acceptable
403+-- values for mobile content ads are: TOP, MIDDLE, BOTTOM,
404+-- MULTIPLE_LOCATIONS.
405+cctiLocation :: Lens' CustomChannelTargetingInfo (Maybe Text)
406+cctiLocation
407+ = lens _cctiLocation (\ s a -> s{_cctiLocation = a})
408+
409+-- | The language of the sites ads will be displayed on.
410+cctiSiteLanguage :: Lens' CustomChannelTargetingInfo (Maybe Text)
411+cctiSiteLanguage
412+ = lens _cctiSiteLanguage
413+ (\ s a -> s{_cctiSiteLanguage = a})
414+
415+-- | The name used to describe this channel externally.
416+cctiAdsAppearOn :: Lens' CustomChannelTargetingInfo (Maybe Text)
417+cctiAdsAppearOn
418+ = lens _cctiAdsAppearOn
419+ (\ s a -> s{_cctiAdsAppearOn = a})
420+
421+-- | The external description of the channel.
422+cctiDescription :: Lens' CustomChannelTargetingInfo (Maybe Text)
423+cctiDescription
424+ = lens _cctiDescription
425+ (\ s a -> s{_cctiDescription = a})
426+
427+--
428+-- /See:/ 'customChannels' smart constructor.
429+data CustomChannels = CustomChannels
430+ { _cEtag :: !(Maybe Text)
431+ , _cNextPageToken :: !(Maybe Text)
432+ , _cKind :: !Text
433+ , _cItems :: !(Maybe [Maybe CustomChannel])
434+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
435+
436+-- | Creates a value of 'CustomChannels' with the minimum fields required to make a request.
437+--
438+-- Use one of the following lenses to modify other fields as desired:
439+--
440+-- * 'cEtag'
441+--
442+-- * 'cNextPageToken'
443+--
444+-- * 'cKind'
445+--
446+-- * 'cItems'
447+customChannels
448+ :: CustomChannels
449+customChannels =
450+ CustomChannels
451+ { _cEtag = Nothing
452+ , _cNextPageToken = Nothing
453+ , _cKind = "adexchangeseller#customChannels"
454+ , _cItems = Nothing
455+ }
456+
457+-- | ETag of this response for caching purposes.
458+cEtag :: Lens' CustomChannels (Maybe Text)
459+cEtag = lens _cEtag (\ s a -> s{_cEtag = a})
460+
461+-- | Continuation token used to page through custom channels. To retrieve the
462+-- next page of results, set the next request\'s \"pageToken\" value to
463+-- this.
464+cNextPageToken :: Lens' CustomChannels (Maybe Text)
465+cNextPageToken
466+ = lens _cNextPageToken
467+ (\ s a -> s{_cNextPageToken = a})
468+
469+-- | Kind of list this is, in this case adexchangeseller#customChannels.
470+cKind :: Lens' CustomChannels Text
471+cKind = lens _cKind (\ s a -> s{_cKind = a})
472+
473+-- | The custom channels returned in this list response.
474+cItems :: Lens' CustomChannels [Maybe CustomChannel]
475+cItems
476+ = lens _cItems (\ s a -> s{_cItems = a}) . _Default .
477+ _Coerce
478+
479+--
480+-- /See:/ 'metadata' smart constructor.
481+data Metadata = Metadata
482+ { _mKind :: !Text
483+ , _mItems :: !(Maybe [Maybe ReportingMetadataEntry])
484+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
485+
486+-- | Creates a value of 'Metadata' with the minimum fields required to make a request.
487+--
488+-- Use one of the following lenses to modify other fields as desired:
489+--
490+-- * 'mKind'
491+--
492+-- * 'mItems'
493+metadata
494+ :: Metadata
495+metadata =
496+ Metadata
497+ { _mKind = "adexchangeseller#metadata"
498+ , _mItems = Nothing
499+ }
500+
501+-- | Kind of list this is, in this case adexchangeseller#metadata.
502+mKind :: Lens' Metadata Text
503+mKind = lens _mKind (\ s a -> s{_mKind = a})
504+
505+mItems :: Lens' Metadata [Maybe ReportingMetadataEntry]
506+mItems
507+ = lens _mItems (\ s a -> s{_mItems = a}) . _Default .
508+ _Coerce
509+
510+--
511+-- /See:/ 'preferredDeal' smart constructor.
512+data PreferredDeal = PreferredDeal
513+ { _pdAdvertiserName :: !(Maybe Text)
514+ , _pdCurrencyCode :: !(Maybe Text)
515+ , _pdStartTime :: !(Maybe Word64)
516+ , _pdKind :: !Text
517+ , _pdBuyerNetworkName :: !(Maybe Text)
518+ , _pdEndTime :: !(Maybe Word64)
519+ , _pdId :: !(Maybe Int64)
520+ , _pdFixedCpm :: !(Maybe Int64)
521+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
522+
523+-- | Creates a value of 'PreferredDeal' with the minimum fields required to make a request.
524+--
525+-- Use one of the following lenses to modify other fields as desired:
526+--
527+-- * 'pdAdvertiserName'
528+--
529+-- * 'pdCurrencyCode'
530+--
531+-- * 'pdStartTime'
532+--
533+-- * 'pdKind'
534+--
535+-- * 'pdBuyerNetworkName'
536+--
537+-- * 'pdEndTime'
538+--
539+-- * 'pdId'
540+--
541+-- * 'pdFixedCpm'
542+preferredDeal
543+ :: PreferredDeal
544+preferredDeal =
545+ PreferredDeal
546+ { _pdAdvertiserName = Nothing
547+ , _pdCurrencyCode = Nothing
548+ , _pdStartTime = Nothing
549+ , _pdKind = "adexchangeseller#preferredDeal"
550+ , _pdBuyerNetworkName = Nothing
551+ , _pdEndTime = Nothing
552+ , _pdId = Nothing
553+ , _pdFixedCpm = Nothing
554+ }
555+
556+-- | The name of the advertiser this deal is for.
557+pdAdvertiserName :: Lens' PreferredDeal (Maybe Text)
558+pdAdvertiserName
559+ = lens _pdAdvertiserName
560+ (\ s a -> s{_pdAdvertiserName = a})
561+
562+-- | The currency code that applies to the fixed_cpm value. If not set then
563+-- assumed to be USD.
564+pdCurrencyCode :: Lens' PreferredDeal (Maybe Text)
565+pdCurrencyCode
566+ = lens _pdCurrencyCode
567+ (\ s a -> s{_pdCurrencyCode = a})
568+
569+-- | Time when this deal becomes active in seconds since the epoch (GMT). If
570+-- not set then this deal is active immediately upon creation.
571+pdStartTime :: Lens' PreferredDeal (Maybe Word64)
572+pdStartTime
573+ = lens _pdStartTime (\ s a -> s{_pdStartTime = a})
574+
575+-- | Kind of resource this is, in this case adexchangeseller#preferredDeal.
576+pdKind :: Lens' PreferredDeal Text
577+pdKind = lens _pdKind (\ s a -> s{_pdKind = a})
578+
579+-- | The name of the buyer network this deal is for.
580+pdBuyerNetworkName :: Lens' PreferredDeal (Maybe Text)
581+pdBuyerNetworkName
582+ = lens _pdBuyerNetworkName
583+ (\ s a -> s{_pdBuyerNetworkName = a})
584+
585+-- | Time when this deal stops being active in seconds since the epoch (GMT).
586+-- If not set then this deal is valid until manually disabled by the
587+-- publisher.
588+pdEndTime :: Lens' PreferredDeal (Maybe Word64)
589+pdEndTime
590+ = lens _pdEndTime (\ s a -> s{_pdEndTime = a})
591+
592+-- | Unique identifier of this preferred deal.
593+pdId :: Lens' PreferredDeal (Maybe Int64)
594+pdId = lens _pdId (\ s a -> s{_pdId = a})
595+
596+-- | The fixed price for this preferred deal. In cpm micros of currency
597+-- according to currencyCode. If set, then this preferred deal is eligible
598+-- for the fixed price tier of buying (highest priority, pay exactly the
599+-- configured fixed price).
600+pdFixedCpm :: Lens' PreferredDeal (Maybe Int64)
601+pdFixedCpm
602+ = lens _pdFixedCpm (\ s a -> s{_pdFixedCpm = a})
603+
604+--
605+-- /See:/ 'preferredDeals' smart constructor.
606+data PreferredDeals = PreferredDeals
607+ { _pKind :: !Text
608+ , _pItems :: !(Maybe [Maybe PreferredDeal])
609+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
610+
611+-- | Creates a value of 'PreferredDeals' with the minimum fields required to make a request.
612+--
613+-- Use one of the following lenses to modify other fields as desired:
614+--
615+-- * 'pKind'
616+--
617+-- * 'pItems'
618+preferredDeals
619+ :: PreferredDeals
620+preferredDeals =
621+ PreferredDeals
622+ { _pKind = "adexchangeseller#preferredDeals"
623+ , _pItems = Nothing
624+ }
625+
626+-- | Kind of list this is, in this case adexchangeseller#preferredDeals.
627+pKind :: Lens' PreferredDeals Text
628+pKind = lens _pKind (\ s a -> s{_pKind = a})
629+
630+-- | The preferred deals returned in this list response.
631+pItems :: Lens' PreferredDeals [Maybe PreferredDeal]
632+pItems
633+ = lens _pItems (\ s a -> s{_pItems = a}) . _Default .
634+ _Coerce
635+
636+--
637+-- /See:/ 'report' smart constructor.
638+data Report = Report
639+ { _rKind :: !Text
640+ , _rAverages :: !(Maybe [Text])
641+ , _rWarnings :: !(Maybe [Text])
642+ , _rRows :: !(Maybe [[Text]])
643+ , _rTotals :: !(Maybe [Text])
644+ , _rHeaders :: !(Maybe [ReportItemHeaders])
645+ , _rTotalMatchedRows :: !(Maybe Int64)
646+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
647+
648+-- | Creates a value of 'Report' with the minimum fields required to make a request.
649+--
650+-- Use one of the following lenses to modify other fields as desired:
651+--
652+-- * 'rKind'
653+--
654+-- * 'rAverages'
655+--
656+-- * 'rWarnings'
657+--
658+-- * 'rRows'
659+--
660+-- * 'rTotals'
661+--
662+-- * 'rHeaders'
663+--
664+-- * 'rTotalMatchedRows'
665+report
666+ :: Report
667+report =
668+ Report
669+ { _rKind = "adexchangeseller#report"
670+ , _rAverages = Nothing
671+ , _rWarnings = Nothing
672+ , _rRows = Nothing
673+ , _rTotals = Nothing
674+ , _rHeaders = Nothing
675+ , _rTotalMatchedRows = Nothing
676+ }
677+
678+-- | Kind this is, in this case adexchangeseller#report.
679+rKind :: Lens' Report Text
680+rKind = lens _rKind (\ s a -> s{_rKind = a})
681+
682+-- | The averages of the report. This is the same length as any other row in
683+-- the report; cells corresponding to dimension columns are empty.
684+rAverages :: Lens' Report [Text]
685+rAverages
686+ = lens _rAverages (\ s a -> s{_rAverages = a}) .
687+ _Default
688+ . _Coerce
689+
690+-- | Any warnings associated with generation of the report.
691+rWarnings :: Lens' Report [Text]
692+rWarnings
693+ = lens _rWarnings (\ s a -> s{_rWarnings = a}) .
694+ _Default
695+ . _Coerce
696+
697+-- | The output rows of the report. Each row is a list of cells; one for each
698+-- dimension in the request, followed by one for each metric in the
699+-- request. The dimension cells contain strings, and the metric cells
700+-- contain numbers.
701+rRows :: Lens' Report [[Text]]
702+rRows
703+ = lens _rRows (\ s a -> s{_rRows = a}) . _Default .
704+ _Coerce
705+
706+-- | The totals of the report. This is the same length as any other row in
707+-- the report; cells corresponding to dimension columns are empty.
708+rTotals :: Lens' Report [Text]
709+rTotals
710+ = lens _rTotals (\ s a -> s{_rTotals = a}) . _Default
711+ . _Coerce
712+
713+-- | The header information of the columns requested in the report. This is a
714+-- list of headers; one for each dimension in the request, followed by one
715+-- for each metric in the request.
716+rHeaders :: Lens' Report [ReportItemHeaders]
717+rHeaders
718+ = lens _rHeaders (\ s a -> s{_rHeaders = a}) .
719+ _Default
720+ . _Coerce
721+
722+-- | The total number of rows matched by the report request. Fewer rows may
723+-- be returned in the response due to being limited by the row count
724+-- requested or the report row limit.
725+rTotalMatchedRows :: Lens' Report (Maybe Int64)
726+rTotalMatchedRows
727+ = lens _rTotalMatchedRows
728+ (\ s a -> s{_rTotalMatchedRows = a})
729+
730+--
731+-- /See:/ 'reportItemHeaders' smart constructor.
732+data ReportItemHeaders = ReportItemHeaders
733+ { _rihName :: !(Maybe Text)
734+ , _rihCurrency :: !(Maybe Text)
735+ , _rihType :: !(Maybe Text)
736+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
737+
738+-- | Creates a value of 'ReportItemHeaders' with the minimum fields required to make a request.
739+--
740+-- Use one of the following lenses to modify other fields as desired:
741+--
742+-- * 'rihName'
743+--
744+-- * 'rihCurrency'
745+--
746+-- * 'rihType'
747+reportItemHeaders
748+ :: ReportItemHeaders
749+reportItemHeaders =
750+ ReportItemHeaders
751+ { _rihName = Nothing
752+ , _rihCurrency = Nothing
753+ , _rihType = Nothing
754+ }
755+
756+-- | The name of the header.
757+rihName :: Lens' ReportItemHeaders (Maybe Text)
758+rihName = lens _rihName (\ s a -> s{_rihName = a})
759+
760+-- | The currency of this column. Only present if the header type is
761+-- METRIC_CURRENCY.
762+rihCurrency :: Lens' ReportItemHeaders (Maybe Text)
763+rihCurrency
764+ = lens _rihCurrency (\ s a -> s{_rihCurrency = a})
765+
766+-- | The type of the header; one of DIMENSION, METRIC_TALLY, METRIC_RATIO, or
767+-- METRIC_CURRENCY.
768+rihType :: Lens' ReportItemHeaders (Maybe Text)
769+rihType = lens _rihType (\ s a -> s{_rihType = a})
770+
771+--
772+-- /See:/ 'reportingMetadataEntry' smart constructor.
773+data ReportingMetadataEntry = ReportingMetadataEntry
774+ { _rmeKind :: !Text
775+ , _rmeRequiredMetrics :: !(Maybe [Text])
776+ , _rmeCompatibleMetrics :: !(Maybe [Text])
777+ , _rmeRequiredDimensions :: !(Maybe [Text])
778+ , _rmeId :: !(Maybe Text)
779+ , _rmeCompatibleDimensions :: !(Maybe [Text])
780+ , _rmeSupportedProducts :: !(Maybe [Text])
781+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
782+
783+-- | Creates a value of 'ReportingMetadataEntry' with the minimum fields required to make a request.
784+--
785+-- Use one of the following lenses to modify other fields as desired:
786+--
787+-- * 'rmeKind'
788+--
789+-- * 'rmeRequiredMetrics'
790+--
791+-- * 'rmeCompatibleMetrics'
792+--
793+-- * 'rmeRequiredDimensions'
794+--
795+-- * 'rmeId'
796+--
797+-- * 'rmeCompatibleDimensions'
798+--
799+-- * 'rmeSupportedProducts'
800+reportingMetadataEntry
801+ :: ReportingMetadataEntry
802+reportingMetadataEntry =
803+ ReportingMetadataEntry
804+ { _rmeKind = "adexchangeseller#reportingMetadataEntry"
805+ , _rmeRequiredMetrics = Nothing
806+ , _rmeCompatibleMetrics = Nothing
807+ , _rmeRequiredDimensions = Nothing
808+ , _rmeId = Nothing
809+ , _rmeCompatibleDimensions = Nothing
810+ , _rmeSupportedProducts = Nothing
811+ }
812+
813+-- | Kind of resource this is, in this case
814+-- adexchangeseller#reportingMetadataEntry.
815+rmeKind :: Lens' ReportingMetadataEntry Text
816+rmeKind = lens _rmeKind (\ s a -> s{_rmeKind = a})
817+
818+-- | The names of the metrics which the dimension or metric this reporting
819+-- metadata entry describes requires to also be present in order for the
820+-- report to be valid. Omitting these will not cause an error or warning,
821+-- but may result in data which cannot be correctly interpreted.
822+rmeRequiredMetrics :: Lens' ReportingMetadataEntry [Text]
823+rmeRequiredMetrics
824+ = lens _rmeRequiredMetrics
825+ (\ s a -> s{_rmeRequiredMetrics = a})
826+ . _Default
827+ . _Coerce
828+
829+-- | The names of the metrics the dimension or metric this reporting metadata
830+-- entry describes is compatible with.
831+rmeCompatibleMetrics :: Lens' ReportingMetadataEntry [Text]
832+rmeCompatibleMetrics
833+ = lens _rmeCompatibleMetrics
834+ (\ s a -> s{_rmeCompatibleMetrics = a})
835+ . _Default
836+ . _Coerce
837+
838+-- | The names of the dimensions which the dimension or metric this reporting
839+-- metadata entry describes requires to also be present in order for the
840+-- report to be valid. Omitting these will not cause an error or warning,
841+-- but may result in data which cannot be correctly interpreted.
842+rmeRequiredDimensions :: Lens' ReportingMetadataEntry [Text]
843+rmeRequiredDimensions
844+ = lens _rmeRequiredDimensions
845+ (\ s a -> s{_rmeRequiredDimensions = a})
846+ . _Default
847+ . _Coerce
848+
849+-- | Unique identifier of this reporting metadata entry, corresponding to the
850+-- name of the appropriate dimension or metric.
851+rmeId :: Lens' ReportingMetadataEntry (Maybe Text)
852+rmeId = lens _rmeId (\ s a -> s{_rmeId = a})
853+
854+-- | For metrics this is a list of dimension IDs which the metric is
855+-- compatible with, for dimensions it is a list of compatibility groups the
856+-- dimension belongs to.
857+rmeCompatibleDimensions :: Lens' ReportingMetadataEntry [Text]
858+rmeCompatibleDimensions
859+ = lens _rmeCompatibleDimensions
860+ (\ s a -> s{_rmeCompatibleDimensions = a})
861+ . _Default
862+ . _Coerce
863+
864+-- | The codes of the projects supported by the dimension or metric this
865+-- reporting metadata entry describes.
866+rmeSupportedProducts :: Lens' ReportingMetadataEntry [Text]
867+rmeSupportedProducts
868+ = lens _rmeSupportedProducts
869+ (\ s a -> s{_rmeSupportedProducts = a})
870+ . _Default
871+ . _Coerce
872+
873+--
874+-- /See:/ 'savedReport' smart constructor.
875+data SavedReport = SavedReport
876+ { _sKind :: !Text
877+ , _sName :: !(Maybe Text)
878+ , _sId :: !(Maybe Text)
879+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
880+
881+-- | Creates a value of 'SavedReport' with the minimum fields required to make a request.
882+--
883+-- Use one of the following lenses to modify other fields as desired:
884+--
885+-- * 'sKind'
886+--
887+-- * 'sName'
888+--
889+-- * 'sId'
890+savedReport
891+ :: SavedReport
892+savedReport =
893+ SavedReport
894+ { _sKind = "adexchangeseller#savedReport"
895+ , _sName = Nothing
896+ , _sId = Nothing
897+ }
898+
899+-- | Kind of resource this is, in this case adexchangeseller#savedReport.
900+sKind :: Lens' SavedReport Text
901+sKind = lens _sKind (\ s a -> s{_sKind = a})
902+
903+-- | This saved report\'s name.
904+sName :: Lens' SavedReport (Maybe Text)
905+sName = lens _sName (\ s a -> s{_sName = a})
906+
907+-- | Unique identifier of this saved report.
908+sId :: Lens' SavedReport (Maybe Text)
909+sId = lens _sId (\ s a -> s{_sId = a})
910+
911+--
912+-- /See:/ 'savedReports' smart constructor.
913+data SavedReports = SavedReports
914+ { _srEtag :: !(Maybe Text)
915+ , _srNextPageToken :: !(Maybe Text)
916+ , _srKind :: !Text
917+ , _srItems :: !(Maybe [Maybe SavedReport])
918+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
919+
920+-- | Creates a value of 'SavedReports' with the minimum fields required to make a request.
921+--
922+-- Use one of the following lenses to modify other fields as desired:
923+--
924+-- * 'srEtag'
925+--
926+-- * 'srNextPageToken'
927+--
928+-- * 'srKind'
929+--
930+-- * 'srItems'
931+savedReports
932+ :: SavedReports
933+savedReports =
934+ SavedReports
935+ { _srEtag = Nothing
936+ , _srNextPageToken = Nothing
937+ , _srKind = "adexchangeseller#savedReports"
938+ , _srItems = Nothing
939+ }
940+
941+-- | ETag of this response for caching purposes.
942+srEtag :: Lens' SavedReports (Maybe Text)
943+srEtag = lens _srEtag (\ s a -> s{_srEtag = a})
944+
945+-- | Continuation token used to page through saved reports. To retrieve the
946+-- next page of results, set the next request\'s \"pageToken\" value to
947+-- this.
948+srNextPageToken :: Lens' SavedReports (Maybe Text)
949+srNextPageToken
950+ = lens _srNextPageToken
951+ (\ s a -> s{_srNextPageToken = a})
952+
953+-- | Kind of list this is, in this case adexchangeseller#savedReports.
954+srKind :: Lens' SavedReports Text
955+srKind = lens _srKind (\ s a -> s{_srKind = a})
956+
957+-- | The saved reports returned in this list response.
958+srItems :: Lens' SavedReports [Maybe SavedReport]
959+srItems
960+ = lens _srItems (\ s a -> s{_srItems = a}) . _Default
961+ . _Coerce
962+
963+--
964+-- /See:/ 'urlChannel' smart constructor.
965+data UrlChannel = UrlChannel
966+ { _ucKind :: !Text
967+ , _ucId :: !(Maybe Text)
968+ , _ucUrlPattern :: !(Maybe Text)
969+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
970+
971+-- | Creates a value of 'UrlChannel' with the minimum fields required to make a request.
972+--
973+-- Use one of the following lenses to modify other fields as desired:
974+--
975+-- * 'ucKind'
976+--
977+-- * 'ucId'
978+--
979+-- * 'ucUrlPattern'
980+urlChannel
981+ :: UrlChannel
982+urlChannel =
983+ UrlChannel
984+ { _ucKind = "adexchangeseller#urlChannel"
985+ , _ucId = Nothing
986+ , _ucUrlPattern = Nothing
987+ }
988+
989+-- | Kind of resource this is, in this case adexchangeseller#urlChannel.
990+ucKind :: Lens' UrlChannel Text
991+ucKind = lens _ucKind (\ s a -> s{_ucKind = a})
992+
993+-- | Unique identifier of this URL channel. This should be considered an
994+-- opaque identifier; it is not safe to rely on it being in any particular
995+-- format.
996+ucId :: Lens' UrlChannel (Maybe Text)
997+ucId = lens _ucId (\ s a -> s{_ucId = a})
998+
999+-- | URL Pattern of this URL channel. Does not include \"http:\/\/\" or
1000+-- \"https:\/\/\". Example: www.example.com\/home
1001+ucUrlPattern :: Lens' UrlChannel (Maybe Text)
1002+ucUrlPattern
1003+ = lens _ucUrlPattern (\ s a -> s{_ucUrlPattern = a})
1004+
1005+--
1006+-- /See:/ 'urlChannels' smart constructor.
1007+data UrlChannels = UrlChannels
1008+ { _urlcEtag :: !(Maybe Text)
1009+ , _urlcNextPageToken :: !(Maybe Text)
1010+ , _urlcKind :: !Text
1011+ , _urlcItems :: !(Maybe [Maybe UrlChannel])
1012+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
1013+
1014+-- | Creates a value of 'UrlChannels' with the minimum fields required to make a request.
1015+--
1016+-- Use one of the following lenses to modify other fields as desired:
1017+--
1018+-- * 'urlcEtag'
1019+--
1020+-- * 'urlcNextPageToken'
1021+--
1022+-- * 'urlcKind'
1023+--
1024+-- * 'urlcItems'
1025+urlChannels
1026+ :: UrlChannels
1027+urlChannels =
1028+ UrlChannels
1029+ { _urlcEtag = Nothing
1030+ , _urlcNextPageToken = Nothing
1031+ , _urlcKind = "adexchangeseller#urlChannels"
1032+ , _urlcItems = Nothing
1033+ }
1034+
1035+-- | ETag of this response for caching purposes.
1036+urlcEtag :: Lens' UrlChannels (Maybe Text)
1037+urlcEtag = lens _urlcEtag (\ s a -> s{_urlcEtag = a})
1038+
1039+-- | Continuation token used to page through URL channels. To retrieve the
1040+-- next page of results, set the next request\'s \"pageToken\" value to
1041+-- this.
1042+urlcNextPageToken :: Lens' UrlChannels (Maybe Text)
1043+urlcNextPageToken
1044+ = lens _urlcNextPageToken
1045+ (\ s a -> s{_urlcNextPageToken = a})
1046+
1047+-- | Kind of list this is, in this case adexchangeseller#urlChannels.
1048+urlcKind :: Lens' UrlChannels Text
1049+urlcKind = lens _urlcKind (\ s a -> s{_urlcKind = a})
1050+
1051+-- | The URL channels returned in this list response.
1052+urlcItems :: Lens' UrlChannels [Maybe UrlChannel]
1053+urlcItems
1054+ = lens _urlcItems (\ s a -> s{_urlcItems = a}) .
1055+ _Default
1056+ . _Coerce
gogol-adexchange-seller/gen/Network/Google/AdExchangeSeller/Types/Sum.hsnew file+15
@@ -0,0 +1,15 @@
1+{-# LANGUAGE DeriveDataTypeable #-}
2+{-# LANGUAGE DeriveGeneric #-}
3+{-# LANGUAGE OverloadedStrings #-}
4+
5+-- |
6+-- Module : Network.Google.AdExchangeSeller.Types.Sum
7+-- Copyright : (c) 2015 Brendan Hay
8+-- License : Mozilla Public License, v. 2.0.
9+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
10+-- Stability : auto-generated
11+-- Portability : non-portable (GHC extensions)
12+--
13+module Network.Google.AdExchangeSeller.Types.Sum where
14+
15+import Network.Google.Prelude
gogol-adexchange-seller/gogol-adexchange-seller.cabalnew file+39
@@ -0,0 +1,39 @@
1+name: gogol-adexchange-seller
2+version: 0.0.1
3+synopsis: Google Ad Exchange Seller API.
4+homepage: https://github.com/brendanhay/gogol
5+bug-reports: https://github.com/brendanhay/gogol/issues
6+license: OtherLicense
7+license-file: LICENSE
8+author: Brendan Hay
9+maintainer: Brendan Hay <brendan.g.hay@gmail.com>
10+copyright: Copyright (c) 2015 Brendan Hay
11+category: Network, Google, Cloud
12+build-type: Simple
13+cabal-version: >= 1.10
14+extra-source-files: README.md
15+
16+description:
17+ Pending
18+
19+source-repository head
20+ type: git
21+ location: git://github.com/brendanhay/gogol.git
22+
23+library
24+ default-language: Haskell2010
25+ hs-source-dirs: src gen
26+
27+ ghc-options: -Wall
28+
29+ exposed-modules:
30+ Network.Google.AdExchangeSeller
31+ , Network.Google.AdExchangeSeller.Types
32+
33+ other-modules:
34+ Network.Google.AdExchangeSeller.Types.Product
35+ , Network.Google.AdExchangeSeller.Types.Sum
36+
37+ build-depends:
38+ gogol-core == 0.0.1.*
39+ , base >= 4.7 && < 5
gogol-adexchange-seller/src/.gitkeepnew file

No changes to the content.

gogol-admin/LICENSEnew file+373
@@ -0,0 +1,373 @@
1+Mozilla Public License Version 2.0
2+==================================
3+
4+1. Definitions
5+--------------
6+
7+1.1. "Contributor"
8+ means each individual or legal entity that creates, contributes to
9+ the creation of, or owns Covered Software.
10+
11+1.2. "Contributor Version"
12+ means the combination of the Contributions of others (if any) used
13+ by a Contributor and that particular Contributor's Contribution.
14+
15+1.3. "Contribution"
16+ means Covered Software of a particular Contributor.
17+
18+1.4. "Covered Software"
19+ means Source Code Form to which the initial Contributor has attached
20+ the notice in Exhibit A, the Executable Form of such Source Code
21+ Form, and Modifications of such Source Code Form, in each case
22+ including portions thereof.
23+
24+1.5. "Incompatible With Secondary Licenses"
25+ means
26+
27+ (a) that the initial Contributor has attached the notice described
28+ in Exhibit B to the Covered Software; or
29+
30+ (b) that the Covered Software was made available under the terms of
31+ version 1.1 or earlier of the License, but not also under the
32+ terms of a Secondary License.
33+
34+1.6. "Executable Form"
35+ means any form of the work other than Source Code Form.
36+
37+1.7. "Larger Work"
38+ means a work that combines Covered Software with other material, in
39+ a separate file or files, that is not Covered Software.
40+
41+1.8. "License"
42+ means this document.
43+
44+1.9. "Licensable"
45+ means having the right to grant, to the maximum extent possible,
46+ whether at the time of the initial grant or subsequently, any and
47+ all of the rights conveyed by this License.
48+
49+1.10. "Modifications"
50+ means any of the following:
51+
52+ (a) any file in Source Code Form that results from an addition to,
53+ deletion from, or modification of the contents of Covered
54+ Software; or
55+
56+ (b) any new file in Source Code Form that contains any Covered
57+ Software.
58+
59+1.11. "Patent Claims" of a Contributor
60+ means any patent claim(s), including without limitation, method,
61+ process, and apparatus claims, in any patent Licensable by such
62+ Contributor that would be infringed, but for the grant of the
63+ License, by the making, using, selling, offering for sale, having
64+ made, import, or transfer of either its Contributions or its
65+ Contributor Version.
66+
67+1.12. "Secondary License"
68+ means either the GNU General Public License, Version 2.0, the GNU
69+ Lesser General Public License, Version 2.1, the GNU Affero General
70+ Public License, Version 3.0, or any later versions of those
71+ licenses.
72+
73+1.13. "Source Code Form"
74+ means the form of the work preferred for making modifications.
75+
76+1.14. "You" (or "Your")
77+ means an individual or a legal entity exercising rights under this
78+ License. For legal entities, "You" includes any entity that
79+ controls, is controlled by, or is under common control with You. For
80+ purposes of this definition, "control" means (a) the power, direct
81+ or indirect, to cause the direction or management of such entity,
82+ whether by contract or otherwise, or (b) ownership of more than
83+ fifty percent (50%) of the outstanding shares or beneficial
84+ ownership of such entity.
85+
86+2. License Grants and Conditions
87+--------------------------------
88+
89+2.1. Grants
90+
91+Each Contributor hereby grants You a world-wide, royalty-free,
92+non-exclusive license:
93+
94+(a) under intellectual property rights (other than patent or trademark)
95+ Licensable by such Contributor to use, reproduce, make available,
96+ modify, display, perform, distribute, and otherwise exploit its
97+ Contributions, either on an unmodified basis, with Modifications, or
98+ as part of a Larger Work; and
99+
100+(b) under Patent Claims of such Contributor to make, use, sell, offer
101+ for sale, have made, import, and otherwise transfer either its
102+ Contributions or its Contributor Version.
103+
104+2.2. Effective Date
105+
106+The licenses granted in Section 2.1 with respect to any Contribution
107+become effective for each Contribution on the date the Contributor first
108+distributes such Contribution.
109+
110+2.3. Limitations on Grant Scope
111+
112+The licenses granted in this Section 2 are the only rights granted under
113+this License. No additional rights or licenses will be implied from the
114+distribution or licensing of Covered Software under this License.
115+Notwithstanding Section 2.1(b) above, no patent license is granted by a
116+Contributor:
117+
118+(a) for any code that a Contributor has removed from Covered Software;
119+ or
120+
121+(b) for infringements caused by: (i) Your and any other third party's
122+ modifications of Covered Software, or (ii) the combination of its
123+ Contributions with other software (except as part of its Contributor
124+ Version); or
125+
126+(c) under Patent Claims infringed by Covered Software in the absence of
127+ its Contributions.
128+
129+This License does not grant any rights in the trademarks, service marks,
130+or logos of any Contributor (except as may be necessary to comply with
131+the notice requirements in Section 3.4).
132+
133+2.4. Subsequent Licenses
134+
135+No Contributor makes additional grants as a result of Your choice to
136+distribute the Covered Software under a subsequent version of this
137+License (see Section 10.2) or under the terms of a Secondary License (if
138+permitted under the terms of Section 3.3).
139+
140+2.5. Representation
141+
142+Each Contributor represents that the Contributor believes its
143+Contributions are its original creation(s) or it has sufficient rights
144+to grant the rights to its Contributions conveyed by this License.
145+
146+2.6. Fair Use
147+
148+This License is not intended to limit any rights You have under
149+applicable copyright doctrines of fair use, fair dealing, or other
150+equivalents.
151+
152+2.7. Conditions
153+
154+Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
155+in Section 2.1.
156+
157+3. Responsibilities
158+-------------------
159+
160+3.1. Distribution of Source Form
161+
162+All distribution of Covered Software in Source Code Form, including any
163+Modifications that You create or to which You contribute, must be under
164+the terms of this License. You must inform recipients that the Source
165+Code Form of the Covered Software is governed by the terms of this
166+License, and how they can obtain a copy of this License. You may not
167+attempt to alter or restrict the recipients' rights in the Source Code
168+Form.
169+
170+3.2. Distribution of Executable Form
171+
172+If You distribute Covered Software in Executable Form then:
173+
174+(a) such Covered Software must also be made available in Source Code
175+ Form, as described in Section 3.1, and You must inform recipients of
176+ the Executable Form how they can obtain a copy of such Source Code
177+ Form by reasonable means in a timely manner, at a charge no more
178+ than the cost of distribution to the recipient; and
179+
180+(b) You may distribute such Executable Form under the terms of this
181+ License, or sublicense it under different terms, provided that the
182+ license for the Executable Form does not attempt to limit or alter
183+ the recipients' rights in the Source Code Form under this License.
184+
185+3.3. Distribution of a Larger Work
186+
187+You may create and distribute a Larger Work under terms of Your choice,
188+provided that You also comply with the requirements of this License for
189+the Covered Software. If the Larger Work is a combination of Covered
190+Software with a work governed by one or more Secondary Licenses, and the
191+Covered Software is not Incompatible With Secondary Licenses, this
192+License permits You to additionally distribute such Covered Software
193+under the terms of such Secondary License(s), so that the recipient of
194+the Larger Work may, at their option, further distribute the Covered
195+Software under the terms of either this License or such Secondary
196+License(s).
197+
198+3.4. Notices
199+
200+You may not remove or alter the substance of any license notices
201+(including copyright notices, patent notices, disclaimers of warranty,
202+or limitations of liability) contained within the Source Code Form of
203+the Covered Software, except that You may alter any license notices to
204+the extent required to remedy known factual inaccuracies.
205+
206+3.5. Application of Additional Terms
207+
208+You may choose to offer, and to charge a fee for, warranty, support,
209+indemnity or liability obligations to one or more recipients of Covered
210+Software. However, You may do so only on Your own behalf, and not on
211+behalf of any Contributor. You must make it absolutely clear that any
212+such warranty, support, indemnity, or liability obligation is offered by
213+You alone, and You hereby agree to indemnify every Contributor for any
214+liability incurred by such Contributor as a result of warranty, support,
215+indemnity or liability terms You offer. You may include additional
216+disclaimers of warranty and limitations of liability specific to any
217+jurisdiction.
218+
219+4. Inability to Comply Due to Statute or Regulation
220+---------------------------------------------------
221+
222+If it is impossible for You to comply with any of the terms of this
223+License with respect to some or all of the Covered Software due to
224+statute, judicial order, or regulation then You must: (a) comply with
225+the terms of this License to the maximum extent possible; and (b)
226+describe the limitations and the code they affect. Such description must
227+be placed in a text file included with all distributions of the Covered
228+Software under this License. Except to the extent prohibited by statute
229+or regulation, such description must be sufficiently detailed for a
230+recipient of ordinary skill to be able to understand it.
231+
232+5. Termination
233+--------------
234+
235+5.1. The rights granted under this License will terminate automatically
236+if You fail to comply with any of its terms. However, if You become
237+compliant, then the rights granted under this License from a particular
238+Contributor are reinstated (a) provisionally, unless and until such
239+Contributor explicitly and finally terminates Your grants, and (b) on an
240+ongoing basis, if such Contributor fails to notify You of the
241+non-compliance by some reasonable means prior to 60 days after You have
242+come back into compliance. Moreover, Your grants from a particular
243+Contributor are reinstated on an ongoing basis if such Contributor
244+notifies You of the non-compliance by some reasonable means, this is the
245+first time You have received notice of non-compliance with this License
246+from such Contributor, and You become compliant prior to 30 days after
247+Your receipt of the notice.
248+
249+5.2. If You initiate litigation against any entity by asserting a patent
250+infringement claim (excluding declaratory judgment actions,
251+counter-claims, and cross-claims) alleging that a Contributor Version
252+directly or indirectly infringes any patent, then the rights granted to
253+You by any and all Contributors for the Covered Software under Section
254+2.1 of this License shall terminate.
255+
256+5.3. In the event of termination under Sections 5.1 or 5.2 above, all
257+end user license agreements (excluding distributors and resellers) which
258+have been validly granted by You or Your distributors under this License
259+prior to termination shall survive termination.
260+
261+************************************************************************
262+* *
263+* 6. Disclaimer of Warranty *
264+* ------------------------- *
265+* *
266+* Covered Software is provided under this License on an "as is" *
267+* basis, without warranty of any kind, either expressed, implied, or *
268+* statutory, including, without limitation, warranties that the *
269+* Covered Software is free of defects, merchantable, fit for a *
270+* particular purpose or non-infringing. The entire risk as to the *
271+* quality and performance of the Covered Software is with You. *
272+* Should any Covered Software prove defective in any respect, You *
273+* (not any Contributor) assume the cost of any necessary servicing, *
274+* repair, or correction. This disclaimer of warranty constitutes an *
275+* essential part of this License. No use of any Covered Software is *
276+* authorized under this License except under this disclaimer. *
277+* *
278+************************************************************************
279+
280+************************************************************************
281+* *
282+* 7. Limitation of Liability *
283+* -------------------------- *
284+* *
285+* Under no circumstances and under no legal theory, whether tort *
286+* (including negligence), contract, or otherwise, shall any *
287+* Contributor, or anyone who distributes Covered Software as *
288+* permitted above, be liable to You for any direct, indirect, *
289+* special, incidental, or consequential damages of any character *
290+* including, without limitation, damages for lost profits, loss of *
291+* goodwill, work stoppage, computer failure or malfunction, or any *
292+* and all other commercial damages or losses, even if such party *
293+* shall have been informed of the possibility of such damages. This *
294+* limitation of liability shall not apply to liability for death or *
295+* personal injury resulting from such party's negligence to the *
296+* extent applicable law prohibits such limitation. Some *
297+* jurisdictions do not allow the exclusion or limitation of *
298+* incidental or consequential damages, so this exclusion and *
299+* limitation may not apply to You. *
300+* *
301+************************************************************************
302+
303+8. Litigation
304+-------------
305+
306+Any litigation relating to this License may be brought only in the
307+courts of a jurisdiction where the defendant maintains its principal
308+place of business and such litigation shall be governed by laws of that
309+jurisdiction, without reference to its conflict-of-law provisions.
310+Nothing in this Section shall prevent a party's ability to bring
311+cross-claims or counter-claims.
312+
313+9. Miscellaneous
314+----------------
315+
316+This License represents the complete agreement concerning the subject
317+matter hereof. If any provision of this License is held to be
318+unenforceable, such provision shall be reformed only to the extent
319+necessary to make it enforceable. Any law or regulation which provides
320+that the language of a contract shall be construed against the drafter
321+shall not be used to construe this License against a Contributor.
322+
323+10. Versions of the License
324+---------------------------
325+
326+10.1. New Versions
327+
328+Mozilla Foundation is the license steward. Except as provided in Section
329+10.3, no one other than the license steward has the right to modify or
330+publish new versions of this License. Each version will be given a
331+distinguishing version number.
332+
333+10.2. Effect of New Versions
334+
335+You may distribute the Covered Software under the terms of the version
336+of the License under which You originally received the Covered Software,
337+or under the terms of any subsequent version published by the license
338+steward.
339+
340+10.3. Modified Versions
341+
342+If you create software not governed by this License, and you want to
343+create a new license for such software, you may create and use a
344+modified version of this License if you rename the license and remove
345+any references to the name of the license steward (except to note that
346+such modified license differs from this License).
347+
348+10.4. Distributing Source Code Form that is Incompatible With Secondary
349+Licenses
350+
351+If You choose to distribute Source Code Form that is Incompatible With
352+Secondary Licenses under the terms of this version of the License, the
353+notice described in Exhibit B of this License must be attached.
354+
355+Exhibit A - Source Code Form License Notice
356+-------------------------------------------
357+
358+ This Source Code Form is subject to the terms of the Mozilla Public
359+ License, v. 2.0. If a copy of the MPL was not distributed with this
360+ file, You can obtain one at http://mozilla.org/MPL/2.0/.
361+
362+If it is not possible or desirable to put the notice in a particular
363+file, then You may include the notice in a location (such as a LICENSE
364+file in a relevant directory) where a recipient would be likely to look
365+for such a notice.
366+
367+You may add additional accurate notices of copyright ownership.
368+
369+Exhibit B - "Incompatible With Secondary Licenses" Notice
370+---------------------------------------------------------
371+
372+ This Source Code Form is "Incompatible With Secondary Licenses", as
373+ defined by the Mozilla Public License, v. 2.0.
gogol-admin/Makefilenew file+1
@@ -0,0 +1 @@
1+include ../share/library.mk
gogol-admin/README.mdnew file+28
@@ -0,0 +1,28 @@
1+# gogol-admin
2+
3+* [Version](#version)
4+* [Description](#description)
5+* [Contribute](#contribute)
6+* [Licence](#licence)
7+
8+
9+## Version
10+
11+`0.0.1`
12+
13+
14+## Description
15+
16+A client library for the Google Admin Data Transfer API.
17+
18+
19+## Contribute
20+
21+For any problems, comments, or feedback please create an issue [here on GitHub](https://github.com/brendanhay/amazonka/issues).
22+
23+> _Note:_ this library is an auto-generated Haskell package. Please see `amazonka-gen` for more information.
24+
25+
26+## Licence
27+
28+`gogol-admin` is released under the [Mozilla Public License Version 2.0](http://www.mozilla.org/MPL/).
gogol-admin/Setup.hsnew file+2
@@ -0,0 +1,2 @@
1+import Distribution.Simple
2+main = defaultMain
gogol-admin/gen/Network/Google/DataTransfer.hsnew file+85
@@ -0,0 +1,85 @@
1+-- |
2+-- Module : Network.Google.DataTransfer
3+-- Copyright : (c) 2015 Brendan Hay
4+-- License : Mozilla Public License, v. 2.0.
5+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
6+-- Stability : auto-generated
7+-- Portability : non-portable (GHC extensions)
8+--
9+-- Admin Data Transfer API lets you transfer user data from one user to another.
10+--
11+-- /See:/ <https://developers.google.com/admin-sdk/data-transfer/ Admin Data Transfer API Reference>
12+module Network.Google.DataTransfer
13+ (
14+ -- * API Definition
15+ DataTransfer
16+
17+
18+
19+ -- * Types
20+
21+ -- ** Application
22+ , Application
23+ , application
24+ , aTransferParams
25+ , aEtag
26+ , aKind
27+ , aName
28+ , aId
29+
30+ -- ** ApplicationDataTransfer
31+ , ApplicationDataTransfer
32+ , applicationDataTransfer
33+ , adtApplicationTransferParams
34+ , adtApplicationId
35+ , adtApplicationTransferStatus
36+
37+ -- ** ApplicationTransferParam
38+ , ApplicationTransferParam
39+ , applicationTransferParam
40+ , atpValue
41+ , atpKey
42+
43+ -- ** ApplicationsListResponse
44+ , ApplicationsListResponse
45+ , applicationsListResponse
46+ , alrEtag
47+ , alrNextPageToken
48+ , alrKind
49+ , alrApplications
50+
51+ -- ** DataTransfer
52+ , DataTransfer
53+ , dataTransfer
54+ , dtEtag
55+ , dtOldOwnerUserId
56+ , dtKind
57+ , dtNewOwnerUserId
58+ , dtRequestTime
59+ , dtApplicationDataTransfers
60+ , dtId
61+ , dtOverallTransferStatusCode
62+
63+ -- ** DataTransfersListResponse
64+ , DataTransfersListResponse
65+ , dataTransfersListResponse
66+ , dtlrEtag
67+ , dtlrNextPageToken
68+ , dtlrKind
69+ , dtlrDataTransfers
70+ ) where
71+
72+import Network.Google.DataTransfer.Types
73+
74+{- $resources
75+TODO
76+-}
77+
78+type DataTransfer = ()
79+
80+dataTransfer :: Proxy DataTransfer
81+dataTransfer = Proxy
82+
83+
84+
85+
gogol-admin/gen/Network/Google/DataTransfer/Types.hsnew file+75
@@ -0,0 +1,75 @@
1+{-# LANGUAGE DeriveDataTypeable #-}
2+{-# LANGUAGE DeriveGeneric #-}
3+{-# LANGUAGE OverloadedStrings #-}
4+
5+-- |
6+-- Module : Network.Google.DataTransfer.Types
7+-- Copyright : (c) 2015 Brendan Hay
8+-- License : Mozilla Public License, v. 2.0.
9+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
10+-- Stability : auto-generated
11+-- Portability : non-portable (GHC extensions)
12+--
13+module Network.Google.DataTransfer.Types
14+ (
15+ -- * API Definition
16+ admin
17+
18+
19+ -- * Application
20+ , Application
21+ , application
22+ , aTransferParams
23+ , aEtag
24+ , aKind
25+ , aName
26+ , aId
27+
28+ -- * ApplicationDataTransfer
29+ , ApplicationDataTransfer
30+ , applicationDataTransfer
31+ , adtApplicationTransferParams
32+ , adtApplicationId
33+ , adtApplicationTransferStatus
34+
35+ -- * ApplicationTransferParam
36+ , ApplicationTransferParam
37+ , applicationTransferParam
38+ , atpValue
39+ , atpKey
40+
41+ -- * ApplicationsListResponse
42+ , ApplicationsListResponse
43+ , applicationsListResponse
44+ , alrEtag
45+ , alrNextPageToken
46+ , alrKind
47+ , alrApplications
48+
49+ -- * DataTransfer
50+ , DataTransfer
51+ , dataTransfer
52+ , dtEtag
53+ , dtOldOwnerUserId
54+ , dtKind
55+ , dtNewOwnerUserId
56+ , dtRequestTime
57+ , dtApplicationDataTransfers
58+ , dtId
59+ , dtOverallTransferStatusCode
60+
61+ -- * DataTransfersListResponse
62+ , DataTransfersListResponse
63+ , dataTransfersListResponse
64+ , dtlrEtag
65+ , dtlrNextPageToken
66+ , dtlrKind
67+ , dtlrDataTransfers
68+ ) where
69+
70+import Network.Google.DataTransfer.Types.Product
71+import Network.Google.DataTransfer.Types.Sum
72+import Network.Google.Prelude
73+
74+admin :: a
75+admin = error "admin"
gogol-admin/gen/Network/Google/DataTransfer/Types/Product.hsnew file+363
@@ -0,0 +1,363 @@
1+{-# LANGUAGE DeriveDataTypeable #-}
2+{-# LANGUAGE DeriveGeneric #-}
3+{-# LANGUAGE OverloadedStrings #-}
4+
5+-- |
6+-- Module : Network.Google.DataTransfer.Types.Product
7+-- Copyright : (c) 2015 Brendan Hay
8+-- License : Mozilla Public License, v. 2.0.
9+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
10+-- Stability : auto-generated
11+-- Portability : non-portable (GHC extensions)
12+--
13+module Network.Google.DataTransfer.Types.Product where
14+
15+import Network.Google.DataTransfer.Types.Sum
16+import Network.Google.Prelude
17+
18+-- | The JSON template for an Application resource.
19+--
20+-- /See:/ 'application' smart constructor.
21+data Application = Application
22+ { _aTransferParams :: !(Maybe [Maybe ApplicationTransferParam])
23+ , _aEtag :: !(Maybe Text)
24+ , _aKind :: !Text
25+ , _aName :: !(Maybe Text)
26+ , _aId :: !(Maybe Int64)
27+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
28+
29+-- | Creates a value of 'Application' with the minimum fields required to make a request.
30+--
31+-- Use one of the following lenses to modify other fields as desired:
32+--
33+-- * 'aTransferParams'
34+--
35+-- * 'aEtag'
36+--
37+-- * 'aKind'
38+--
39+-- * 'aName'
40+--
41+-- * 'aId'
42+application
43+ :: Application
44+application =
45+ Application
46+ { _aTransferParams = Nothing
47+ , _aEtag = Nothing
48+ , _aKind = "admin#datatransfer#ApplicationResource"
49+ , _aName = Nothing
50+ , _aId = Nothing
51+ }
52+
53+-- | The list of all possible transfer parameters for this application. These
54+-- parameters can be used to select the data of the user in this
55+-- application to be transfered.
56+aTransferParams :: Lens' Application [Maybe ApplicationTransferParam]
57+aTransferParams
58+ = lens _aTransferParams
59+ (\ s a -> s{_aTransferParams = a})
60+ . _Default
61+ . _Coerce
62+
63+-- | Etag of the resource.
64+aEtag :: Lens' Application (Maybe Text)
65+aEtag = lens _aEtag (\ s a -> s{_aEtag = a})
66+
67+-- | Identifies the resource as a DataTransfer Application Resource.
68+aKind :: Lens' Application Text
69+aKind = lens _aKind (\ s a -> s{_aKind = a})
70+
71+-- | The application\'s name.
72+aName :: Lens' Application (Maybe Text)
73+aName = lens _aName (\ s a -> s{_aName = a})
74+
75+-- | The application\'s ID.
76+aId :: Lens' Application (Maybe Int64)
77+aId = lens _aId (\ s a -> s{_aId = a})
78+
79+-- | Template to map fields of ApplicationDataTransfer resource.
80+--
81+-- /See:/ 'applicationDataTransfer' smart constructor.
82+data ApplicationDataTransfer = ApplicationDataTransfer
83+ { _adtApplicationTransferParams :: !(Maybe [Maybe ApplicationTransferParam])
84+ , _adtApplicationId :: !(Maybe Int64)
85+ , _adtApplicationTransferStatus :: !(Maybe Text)
86+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
87+
88+-- | Creates a value of 'ApplicationDataTransfer' with the minimum fields required to make a request.
89+--
90+-- Use one of the following lenses to modify other fields as desired:
91+--
92+-- * 'adtApplicationTransferParams'
93+--
94+-- * 'adtApplicationId'
95+--
96+-- * 'adtApplicationTransferStatus'
97+applicationDataTransfer
98+ :: ApplicationDataTransfer
99+applicationDataTransfer =
100+ ApplicationDataTransfer
101+ { _adtApplicationTransferParams = Nothing
102+ , _adtApplicationId = Nothing
103+ , _adtApplicationTransferStatus = Nothing
104+ }
105+
106+-- | The transfer parameters for the application. These parameters are used
107+-- to select the data which will get transfered in context of this
108+-- application.
109+adtApplicationTransferParams :: Lens' ApplicationDataTransfer [Maybe ApplicationTransferParam]
110+adtApplicationTransferParams
111+ = lens _adtApplicationTransferParams
112+ (\ s a -> s{_adtApplicationTransferParams = a})
113+ . _Default
114+ . _Coerce
115+
116+-- | The application\'s ID.
117+adtApplicationId :: Lens' ApplicationDataTransfer (Maybe Int64)
118+adtApplicationId
119+ = lens _adtApplicationId
120+ (\ s a -> s{_adtApplicationId = a})
121+
122+-- | Current status of transfer for this application. (Read-only)
123+adtApplicationTransferStatus :: Lens' ApplicationDataTransfer (Maybe Text)
124+adtApplicationTransferStatus
125+ = lens _adtApplicationTransferStatus
126+ (\ s a -> s{_adtApplicationTransferStatus = a})
127+
128+-- | Template for application transfer parameters.
129+--
130+-- /See:/ 'applicationTransferParam' smart constructor.
131+data ApplicationTransferParam = ApplicationTransferParam
132+ { _atpValue :: !(Maybe [Text])
133+ , _atpKey :: !(Maybe Text)
134+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
135+
136+-- | Creates a value of 'ApplicationTransferParam' with the minimum fields required to make a request.
137+--
138+-- Use one of the following lenses to modify other fields as desired:
139+--
140+-- * 'atpValue'
141+--
142+-- * 'atpKey'
143+applicationTransferParam
144+ :: ApplicationTransferParam
145+applicationTransferParam =
146+ ApplicationTransferParam
147+ { _atpValue = Nothing
148+ , _atpKey = Nothing
149+ }
150+
151+-- | The value of the coressponding transfer parameter. eg: \'PRIVATE\' or
152+-- \'SHARED\'
153+atpValue :: Lens' ApplicationTransferParam [Text]
154+atpValue
155+ = lens _atpValue (\ s a -> s{_atpValue = a}) .
156+ _Default
157+ . _Coerce
158+
159+-- | The type of the transfer parameter. eg: \'PRIVACY_LEVEL\'
160+atpKey :: Lens' ApplicationTransferParam (Maybe Text)
161+atpKey = lens _atpKey (\ s a -> s{_atpKey = a})
162+
163+-- | Template for a collection of Applications.
164+--
165+-- /See:/ 'applicationsListResponse' smart constructor.
166+data ApplicationsListResponse = ApplicationsListResponse
167+ { _alrEtag :: !(Maybe Text)
168+ , _alrNextPageToken :: !(Maybe Text)
169+ , _alrKind :: !Text
170+ , _alrApplications :: !(Maybe [Maybe Application])
171+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
172+
173+-- | Creates a value of 'ApplicationsListResponse' with the minimum fields required to make a request.
174+--
175+-- Use one of the following lenses to modify other fields as desired:
176+--
177+-- * 'alrEtag'
178+--
179+-- * 'alrNextPageToken'
180+--
181+-- * 'alrKind'
182+--
183+-- * 'alrApplications'
184+applicationsListResponse
185+ :: ApplicationsListResponse
186+applicationsListResponse =
187+ ApplicationsListResponse
188+ { _alrEtag = Nothing
189+ , _alrNextPageToken = Nothing
190+ , _alrKind = "admin#datatransfer#applicationsList"
191+ , _alrApplications = Nothing
192+ }
193+
194+-- | ETag of the resource.
195+alrEtag :: Lens' ApplicationsListResponse (Maybe Text)
196+alrEtag = lens _alrEtag (\ s a -> s{_alrEtag = a})
197+
198+-- | Continuation token which will be used to specify next page in list API.
199+alrNextPageToken :: Lens' ApplicationsListResponse (Maybe Text)
200+alrNextPageToken
201+ = lens _alrNextPageToken
202+ (\ s a -> s{_alrNextPageToken = a})
203+
204+-- | Identifies the resource as a collection of Applications.
205+alrKind :: Lens' ApplicationsListResponse Text
206+alrKind = lens _alrKind (\ s a -> s{_alrKind = a})
207+
208+-- | List of applications that support data transfer and are also installed
209+-- for the customer.
210+alrApplications :: Lens' ApplicationsListResponse [Maybe Application]
211+alrApplications
212+ = lens _alrApplications
213+ (\ s a -> s{_alrApplications = a})
214+ . _Default
215+ . _Coerce
216+
217+-- | The JSON template for a DataTransfer resource.
218+--
219+-- /See:/ 'dataTransfer' smart constructor.
220+data DataTransfer = DataTransfer
221+ { _dtEtag :: !(Maybe Text)
222+ , _dtOldOwnerUserId :: !(Maybe Text)
223+ , _dtKind :: !Text
224+ , _dtNewOwnerUserId :: !(Maybe Text)
225+ , _dtRequestTime :: !(Maybe UTCTime)
226+ , _dtApplicationDataTransfers :: !(Maybe [Maybe ApplicationDataTransfer])
227+ , _dtId :: !(Maybe Text)
228+ , _dtOverallTransferStatusCode :: !(Maybe Text)
229+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
230+
231+-- | Creates a value of 'DataTransfer' with the minimum fields required to make a request.
232+--
233+-- Use one of the following lenses to modify other fields as desired:
234+--
235+-- * 'dtEtag'
236+--
237+-- * 'dtOldOwnerUserId'
238+--
239+-- * 'dtKind'
240+--
241+-- * 'dtNewOwnerUserId'
242+--
243+-- * 'dtRequestTime'
244+--
245+-- * 'dtApplicationDataTransfers'
246+--
247+-- * 'dtId'
248+--
249+-- * 'dtOverallTransferStatusCode'
250+dataTransfer
251+ :: DataTransfer
252+dataTransfer =
253+ DataTransfer
254+ { _dtEtag = Nothing
255+ , _dtOldOwnerUserId = Nothing
256+ , _dtKind = "admin#datatransfer#DataTransfer"
257+ , _dtNewOwnerUserId = Nothing
258+ , _dtRequestTime = Nothing
259+ , _dtApplicationDataTransfers = Nothing
260+ , _dtId = Nothing
261+ , _dtOverallTransferStatusCode = Nothing
262+ }
263+
264+-- | ETag of the resource.
265+dtEtag :: Lens' DataTransfer (Maybe Text)
266+dtEtag = lens _dtEtag (\ s a -> s{_dtEtag = a})
267+
268+-- | ID of the user whose data is being transfered.
269+dtOldOwnerUserId :: Lens' DataTransfer (Maybe Text)
270+dtOldOwnerUserId
271+ = lens _dtOldOwnerUserId
272+ (\ s a -> s{_dtOldOwnerUserId = a})
273+
274+-- | Identifies the resource as a DataTransfer request.
275+dtKind :: Lens' DataTransfer Text
276+dtKind = lens _dtKind (\ s a -> s{_dtKind = a})
277+
278+-- | ID of the user to whom the data is being transfered.
279+dtNewOwnerUserId :: Lens' DataTransfer (Maybe Text)
280+dtNewOwnerUserId
281+ = lens _dtNewOwnerUserId
282+ (\ s a -> s{_dtNewOwnerUserId = a})
283+
284+-- | The time at which the data transfer was requested (Read-only).
285+dtRequestTime :: Lens' DataTransfer (Maybe UTCTime)
286+dtRequestTime
287+ = lens _dtRequestTime
288+ (\ s a -> s{_dtRequestTime = a})
289+
290+-- | List of per application data transfer resources. It contains data
291+-- transfer details of the applications associated with this transfer
292+-- resource. Note that this list is also used to specify the applications
293+-- for which data transfer has to be done at the time of the transfer
294+-- resource creation.
295+dtApplicationDataTransfers :: Lens' DataTransfer [Maybe ApplicationDataTransfer]
296+dtApplicationDataTransfers
297+ = lens _dtApplicationDataTransfers
298+ (\ s a -> s{_dtApplicationDataTransfers = a})
299+ . _Default
300+ . _Coerce
301+
302+-- | The transfer\'s ID (Read-only).
303+dtId :: Lens' DataTransfer (Maybe Text)
304+dtId = lens _dtId (\ s a -> s{_dtId = a})
305+
306+-- | Overall transfer status (Read-only).
307+dtOverallTransferStatusCode :: Lens' DataTransfer (Maybe Text)
308+dtOverallTransferStatusCode
309+ = lens _dtOverallTransferStatusCode
310+ (\ s a -> s{_dtOverallTransferStatusCode = a})
311+
312+-- | Template for a collection of DataTransfer resources.
313+--
314+-- /See:/ 'dataTransfersListResponse' smart constructor.
315+data DataTransfersListResponse = DataTransfersListResponse
316+ { _dtlrEtag :: !(Maybe Text)
317+ , _dtlrNextPageToken :: !(Maybe Text)
318+ , _dtlrKind :: !Text
319+ , _dtlrDataTransfers :: !(Maybe [Maybe DataTransfer])
320+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
321+
322+-- | Creates a value of 'DataTransfersListResponse' with the minimum fields required to make a request.
323+--
324+-- Use one of the following lenses to modify other fields as desired:
325+--
326+-- * 'dtlrEtag'
327+--
328+-- * 'dtlrNextPageToken'
329+--
330+-- * 'dtlrKind'
331+--
332+-- * 'dtlrDataTransfers'
333+dataTransfersListResponse
334+ :: DataTransfersListResponse
335+dataTransfersListResponse =
336+ DataTransfersListResponse
337+ { _dtlrEtag = Nothing
338+ , _dtlrNextPageToken = Nothing
339+ , _dtlrKind = "admin#datatransfer#dataTransfersList"
340+ , _dtlrDataTransfers = Nothing
341+ }
342+
343+-- | ETag of the resource.
344+dtlrEtag :: Lens' DataTransfersListResponse (Maybe Text)
345+dtlrEtag = lens _dtlrEtag (\ s a -> s{_dtlrEtag = a})
346+
347+-- | Continuation token which will be used to specify next page in list API.
348+dtlrNextPageToken :: Lens' DataTransfersListResponse (Maybe Text)
349+dtlrNextPageToken
350+ = lens _dtlrNextPageToken
351+ (\ s a -> s{_dtlrNextPageToken = a})
352+
353+-- | Identifies the resource as a collection of data transfer requests.
354+dtlrKind :: Lens' DataTransfersListResponse Text
355+dtlrKind = lens _dtlrKind (\ s a -> s{_dtlrKind = a})
356+
357+-- | List of data transfer requests.
358+dtlrDataTransfers :: Lens' DataTransfersListResponse [Maybe DataTransfer]
359+dtlrDataTransfers
360+ = lens _dtlrDataTransfers
361+ (\ s a -> s{_dtlrDataTransfers = a})
362+ . _Default
363+ . _Coerce
gogol-admin/gen/Network/Google/DataTransfer/Types/Sum.hsnew file+15
@@ -0,0 +1,15 @@
1+{-# LANGUAGE DeriveDataTypeable #-}
2+{-# LANGUAGE DeriveGeneric #-}
3+{-# LANGUAGE OverloadedStrings #-}
4+
5+-- |
6+-- Module : Network.Google.DataTransfer.Types.Sum
7+-- Copyright : (c) 2015 Brendan Hay
8+-- License : Mozilla Public License, v. 2.0.
9+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
10+-- Stability : auto-generated
11+-- Portability : non-portable (GHC extensions)
12+--
13+module Network.Google.DataTransfer.Types.Sum where
14+
15+import Network.Google.Prelude
gogol-admin/gen/Network/Google/Directory.hsnew file+514
@@ -0,0 +1,514 @@
1+-- |
2+-- Module : Network.Google.Directory
3+-- Copyright : (c) 2015 Brendan Hay
4+-- License : Mozilla Public License, v. 2.0.
5+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
6+-- Stability : auto-generated
7+-- Portability : non-portable (GHC extensions)
8+--
9+-- The Admin SDK Directory API lets you view and manage enterprise resources such as users and groups, administrative notifications, security features, and more.
10+--
11+-- /See:/ <https://developers.google.com/admin-sdk/directory/ Admin Directory API Reference>
12+module Network.Google.Directory
13+ (
14+ -- * API Definition
15+ Directory
16+
17+
18+
19+ -- * Types
20+
21+ -- ** Alias
22+ , Alias
23+ , alias
24+ , aEtag
25+ , aKind
26+ , aAlias
27+ , aId
28+ , aPrimaryEmail
29+
30+ -- ** Aliases
31+ , Aliases
32+ , aliases
33+ , aliEtag
34+ , aliKind
35+ , aliAliases
36+
37+ -- ** Asp
38+ , Asp
39+ , asp
40+ , aspCreationTime
41+ , aspEtag
42+ , aspCodeId
43+ , aspKind
44+ , aspName
45+ , aspLastTimeUsed
46+ , aspUserKey
47+
48+ -- ** Asps
49+ , Asps
50+ , asps
51+ , aaEtag
52+ , aaKind
53+ , aaItems
54+
55+ -- ** Channel
56+ , Channel
57+ , channel
58+ , chaResourceUri
59+ , chaResourceId
60+ , chaKind
61+ , chaExpiration
62+ , chaToken
63+ , chaAddress
64+ , chaPayload
65+ , chaParams
66+ , chaId
67+ , chaType
68+
69+ -- ** ChannelParams
70+ , ChannelParams
71+ , channelParams
72+
73+ -- ** ChromeOsDevice
74+ , ChromeOsDevice
75+ , chromeOsDevice
76+ , codStatus
77+ , codEtag
78+ , codAnnotatedUser
79+ , codPlatformVersion
80+ , codLastSync
81+ , codActiveTimeRanges
82+ , codKind
83+ , codEthernetMacAddress
84+ , codLastEnrollmentTime
85+ , codAnnotatedLocation
86+ , codMacAddress
87+ , codOrgUnitPath
88+ , codRecentUsers
89+ , codSupportEndDate
90+ , codModel
91+ , codWillAutoRenew
92+ , codMeid
93+ , codDeviceId
94+ , codBootMode
95+ , codOrderNumber
96+ , codAnnotatedAssetId
97+ , codNotes
98+ , codSerialNumber
99+ , codFirmwareVersion
100+ , codOsVersion
101+
102+ -- ** ChromeOsDeviceItemActiveTimeRanges
103+ , ChromeOsDeviceItemActiveTimeRanges
104+ , chromeOsDeviceItemActiveTimeRanges
105+ , codiatrDate
106+ , codiatrActiveTime
107+
108+ -- ** ChromeOsDeviceItemRecentUsers
109+ , ChromeOsDeviceItemRecentUsers
110+ , chromeOsDeviceItemRecentUsers
111+ , codiruEmail
112+ , codiruType
113+
114+ -- ** ChromeOsDevices
115+ , ChromeOsDevices
116+ , chromeOsDevices
117+ , cEtag
118+ , cNextPageToken
119+ , cKind
120+ , cChromeosdevices
121+
122+ -- ** Group
123+ , Group
124+ , group'
125+ , groEmail
126+ , groEtag
127+ , groDirectMembersCount
128+ , groKind
129+ , groAliases
130+ , groNonEditableAliases
131+ , groName
132+ , groAdminCreated
133+ , groId
134+ , groDescription
135+
136+ -- ** Groups
137+ , Groups
138+ , groups
139+ , gGroups
140+ , gEtag
141+ , gNextPageToken
142+ , gKind
143+
144+ -- ** Member
145+ , Member
146+ , member
147+ , mEmail
148+ , mEtag
149+ , mKind
150+ , mRole
151+ , mId
152+ , mType
153+
154+ -- ** Members
155+ , Members
156+ , members
157+ , memEtag
158+ , memNextPageToken
159+ , memKind
160+ , memMembers
161+
162+ -- ** MobileDevice
163+ , MobileDevice
164+ , mobileDevice
165+ , mdEmail
166+ , mdStatus
167+ , mdEtag
168+ , mdResourceId
169+ , mdBuildNumber
170+ , mdManagedAccountIsOnOwnerProfile
171+ , mdLastSync
172+ , mdOtherAccountsInfo
173+ , mdKind
174+ , mdAdbStatus
175+ , mdNetworkOperator
176+ , mdKernelVersion
177+ , mdOs
178+ , mdName
179+ , mdModel
180+ , mdDeveloperOptionsStatus
181+ , mdUnknownSourcesStatus
182+ , mdMeid
183+ , mdDeviceId
184+ , mdFirstSync
185+ , mdUserAgent
186+ , mdImei
187+ , mdType
188+ , mdWifiMacAddress
189+ , mdSerialNumber
190+ , mdHardwareId
191+ , mdBasebandVersion
192+ , mdSupportsWorkProfile
193+ , mdDeviceCompromisedStatus
194+ , mdApplications
195+ , mdDefaultLanguage
196+
197+ -- ** MobileDeviceAction
198+ , MobileDeviceAction
199+ , mobileDeviceAction
200+ , mdaAction
201+
202+ -- ** MobileDeviceItemApplications
203+ , MobileDeviceItemApplications
204+ , mobileDeviceItemApplications
205+ , mdiaVersionCode
206+ , mdiaVersionName
207+ , mdiaPackageName
208+ , mdiaDisplayName
209+ , mdiaPermission
210+
211+ -- ** MobileDevices
212+ , MobileDevices
213+ , mobileDevices
214+ , mdsEtag
215+ , mdsNextPageToken
216+ , mdsKind
217+ , mdsMobiledevices
218+
219+ -- ** Notification
220+ , Notification
221+ , notification
222+ , nSubject
223+ , nEtag
224+ , nKind
225+ , nBody
226+ , nFromAddress
227+ , nIsUnread
228+ , nNotificationId
229+ , nSendTime
230+
231+ -- ** Notifications
232+ , Notifications
233+ , notifications
234+ , notEtag
235+ , notNextPageToken
236+ , notKind
237+ , notItems
238+ , notUnreadNotificationsCount
239+
240+ -- ** OrgUnit
241+ , OrgUnit
242+ , orgUnit
243+ , oEtag
244+ , oParentOrgUnitPath
245+ , oKind
246+ , oOrgUnitPath
247+ , oName
248+ , oBlockInheritance
249+ , oParentOrgUnitId
250+ , oDescription
251+ , oOrgUnitId
252+
253+ -- ** OrgUnits
254+ , OrgUnits
255+ , orgUnits
256+ , ouEtag
257+ , ouKind
258+ , ouOrganizationUnits
259+
260+ -- ** Schema
261+ , Schema
262+ , schema
263+ , schEtag
264+ , schKind
265+ , schSchemaName
266+ , schSchemaId
267+ , schFields
268+
269+ -- ** SchemaFieldSpec
270+ , SchemaFieldSpec
271+ , schemaFieldSpec
272+ , sfsEtag
273+ , sfsKind
274+ , sfsNumericIndexingSpec
275+ , sfsReadAccessType
276+ , sfsFieldId
277+ , sfsIndexed
278+ , sfsFieldType
279+ , sfsFieldName
280+ , sfsMultiValued
281+
282+ -- ** SchemaFieldSpecNumericIndexingSpec
283+ , SchemaFieldSpecNumericIndexingSpec
284+ , schemaFieldSpecNumericIndexingSpec
285+ , sfsnisMaxValue
286+ , sfsnisMinValue
287+
288+ -- ** Schemas
289+ , Schemas
290+ , schemas
291+ , sEtag
292+ , sSchemas
293+ , sKind
294+
295+ -- ** Token
296+ , Token
297+ , token
298+ , tokClientId
299+ , tokEtag
300+ , tokDisplayText
301+ , tokKind
302+ , tokScopes
303+ , tokNativeApp
304+ , tokAnonymous
305+ , tokUserKey
306+
307+ -- ** Tokens
308+ , Tokens
309+ , tokens
310+ , tEtag
311+ , tKind
312+ , tItems
313+
314+ -- ** User
315+ , User
316+ , user
317+ , useCreationTime
318+ , useLastLoginTime
319+ , useThumbnailPhotoEtag
320+ , useEtag
321+ , useIpWhitelisted
322+ , useRelations
323+ , useHashFunction
324+ , useKind
325+ , useChangePasswordAtNextLogin
326+ , useWebsites
327+ , useAddresses
328+ , useAliases
329+ , useThumbnailPhotoUrl
330+ , useExternalIds
331+ , useSuspended
332+ , useAgreedToTerms
333+ , useDeletionTime
334+ , useNonEditableAliases
335+ , useOrgUnitPath
336+ , useCustomerId
337+ , useIncludeInGlobalAddressList
338+ , usePhones
339+ , useName
340+ , usePassword
341+ , useEmails
342+ , useIms
343+ , useIsAdmin
344+ , useId
345+ , useOrganizations
346+ , usePrimaryEmail
347+ , useNotes
348+ , useIsDelegatedAdmin
349+ , useIsMailboxSetup
350+ , useCustomSchemas
351+ , useSuspensionReason
352+
353+ -- ** UserAbout
354+ , UserAbout
355+ , userAbout
356+ , uaValue
357+ , uaContentType
358+
359+ -- ** UserAddress
360+ , UserAddress
361+ , userAddress
362+ , uaStreetAddress
363+ , uaPoBox
364+ , uaCountry
365+ , uaPostalCode
366+ , uaFormatted
367+ , uaExtendedAddress
368+ , uaLocality
369+ , uaPrimary
370+ , uaCountryCode
371+ , uaRegion
372+ , uaType
373+ , uaCustomType
374+ , uaSourceIsStructured
375+
376+ -- ** UserCustomProperties
377+ , UserCustomProperties
378+ , userCustomProperties
379+
380+ -- ** UserCustomSchemas
381+ , UserCustomSchemas
382+ , userCustomSchemas
383+
384+ -- ** UserEmail
385+ , UserEmail
386+ , userEmail
387+ , ueAddress
388+ , uePrimary
389+ , ueType
390+ , ueCustomType
391+
392+ -- ** UserExternalId
393+ , UserExternalId
394+ , userExternalId
395+ , ueiValue
396+ , ueiType
397+ , ueiCustomType
398+
399+ -- ** UserIm
400+ , UserIm
401+ , userIm
402+ , uiIm
403+ , uiProtocol
404+ , uiPrimary
405+ , uiCustomProtocol
406+ , uiType
407+ , uiCustomType
408+
409+ -- ** UserMakeAdmin
410+ , UserMakeAdmin
411+ , userMakeAdmin
412+ , umaStatus
413+
414+ -- ** UserName
415+ , UserName
416+ , userName
417+ , unGivenName
418+ , unFullName
419+ , unFamilyName
420+
421+ -- ** UserOrganization
422+ , UserOrganization
423+ , userOrganization
424+ , uoDepartment
425+ , uoLocation
426+ , uoCostCenter
427+ , uoDomain
428+ , uoSymbol
429+ , uoPrimary
430+ , uoName
431+ , uoTitle
432+ , uoType
433+ , uoCustomType
434+ , uoDescription
435+
436+ -- ** UserPhone
437+ , UserPhone
438+ , userPhone
439+ , upValue
440+ , upPrimary
441+ , upType
442+ , upCustomType
443+
444+ -- ** UserPhoto
445+ , UserPhoto
446+ , userPhoto
447+ , upPhotoData
448+ , upEtag
449+ , upHeight
450+ , upKind
451+ , upWidth
452+ , upMimeType
453+ , upId
454+ , upPrimaryEmail
455+
456+ -- ** UserRelation
457+ , UserRelation
458+ , userRelation
459+ , urValue
460+ , urType
461+ , urCustomType
462+
463+ -- ** UserUndelete
464+ , UserUndelete
465+ , userUndelete
466+ , uuOrgUnitPath
467+
468+ -- ** UserWebsite
469+ , UserWebsite
470+ , userWebsite
471+ , uwValue
472+ , uwPrimary
473+ , uwType
474+ , uwCustomType
475+
476+ -- ** Users
477+ , Users
478+ , users
479+ , uEtag
480+ , uNextPageToken
481+ , uUsers
482+ , uKind
483+ , uTriggerEvent
484+
485+ -- ** VerificationCode
486+ , VerificationCode
487+ , verificationCode
488+ , vVerificationCode
489+ , vEtag
490+ , vKind
491+ , vUserId
492+
493+ -- ** VerificationCodes
494+ , VerificationCodes
495+ , verificationCodes
496+ , vcEtag
497+ , vcKind
498+ , vcItems
499+ ) where
500+
501+import Network.Google.Directory.Types
502+
503+{- $resources
504+TODO
505+-}
506+
507+type Directory = ()
508+
509+directory :: Proxy Directory
510+directory = Proxy
511+
512+
513+
514+
gogol-admin/gen/Network/Google/Directory/Types.hsnew file+504
@@ -0,0 +1,504 @@
1+{-# LANGUAGE DeriveDataTypeable #-}
2+{-# LANGUAGE DeriveGeneric #-}
3+{-# LANGUAGE OverloadedStrings #-}
4+
5+-- |
6+-- Module : Network.Google.Directory.Types
7+-- Copyright : (c) 2015 Brendan Hay
8+-- License : Mozilla Public License, v. 2.0.
9+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
10+-- Stability : auto-generated
11+-- Portability : non-portable (GHC extensions)
12+--
13+module Network.Google.Directory.Types
14+ (
15+ -- * API Definition
16+ admin
17+
18+
19+ -- * Alias
20+ , Alias
21+ , alias
22+ , aEtag
23+ , aKind
24+ , aAlias
25+ , aId
26+ , aPrimaryEmail
27+
28+ -- * Aliases
29+ , Aliases
30+ , aliases
31+ , aliEtag
32+ , aliKind
33+ , aliAliases
34+
35+ -- * Asp
36+ , Asp
37+ , asp
38+ , aspCreationTime
39+ , aspEtag
40+ , aspCodeId
41+ , aspKind
42+ , aspName
43+ , aspLastTimeUsed
44+ , aspUserKey
45+
46+ -- * Asps
47+ , Asps
48+ , asps
49+ , aaEtag
50+ , aaKind
51+ , aaItems
52+
53+ -- * Channel
54+ , Channel
55+ , channel
56+ , chaResourceUri
57+ , chaResourceId
58+ , chaKind
59+ , chaExpiration
60+ , chaToken
61+ , chaAddress
62+ , chaPayload
63+ , chaParams
64+ , chaId
65+ , chaType
66+
67+ -- * ChannelParams
68+ , ChannelParams
69+ , channelParams
70+
71+ -- * ChromeOsDevice
72+ , ChromeOsDevice
73+ , chromeOsDevice
74+ , codStatus
75+ , codEtag
76+ , codAnnotatedUser
77+ , codPlatformVersion
78+ , codLastSync
79+ , codActiveTimeRanges
80+ , codKind
81+ , codEthernetMacAddress
82+ , codLastEnrollmentTime
83+ , codAnnotatedLocation
84+ , codMacAddress
85+ , codOrgUnitPath
86+ , codRecentUsers
87+ , codSupportEndDate
88+ , codModel
89+ , codWillAutoRenew
90+ , codMeid
91+ , codDeviceId
92+ , codBootMode
93+ , codOrderNumber
94+ , codAnnotatedAssetId
95+ , codNotes
96+ , codSerialNumber
97+ , codFirmwareVersion
98+ , codOsVersion
99+
100+ -- * ChromeOsDeviceItemActiveTimeRanges
101+ , ChromeOsDeviceItemActiveTimeRanges
102+ , chromeOsDeviceItemActiveTimeRanges
103+ , codiatrDate
104+ , codiatrActiveTime
105+
106+ -- * ChromeOsDeviceItemRecentUsers
107+ , ChromeOsDeviceItemRecentUsers
108+ , chromeOsDeviceItemRecentUsers
109+ , codiruEmail
110+ , codiruType
111+
112+ -- * ChromeOsDevices
113+ , ChromeOsDevices
114+ , chromeOsDevices
115+ , cEtag
116+ , cNextPageToken
117+ , cKind
118+ , cChromeosdevices
119+
120+ -- * Group
121+ , Group
122+ , group'
123+ , groEmail
124+ , groEtag
125+ , groDirectMembersCount
126+ , groKind
127+ , groAliases
128+ , groNonEditableAliases
129+ , groName
130+ , groAdminCreated
131+ , groId
132+ , groDescription
133+
134+ -- * Groups
135+ , Groups
136+ , groups
137+ , gGroups
138+ , gEtag
139+ , gNextPageToken
140+ , gKind
141+
142+ -- * Member
143+ , Member
144+ , member
145+ , mEmail
146+ , mEtag
147+ , mKind
148+ , mRole
149+ , mId
150+ , mType
151+
152+ -- * Members
153+ , Members
154+ , members
155+ , memEtag
156+ , memNextPageToken
157+ , memKind
158+ , memMembers
159+
160+ -- * MobileDevice
161+ , MobileDevice
162+ , mobileDevice
163+ , mdEmail
164+ , mdStatus
165+ , mdEtag
166+ , mdResourceId
167+ , mdBuildNumber
168+ , mdManagedAccountIsOnOwnerProfile
169+ , mdLastSync
170+ , mdOtherAccountsInfo
171+ , mdKind
172+ , mdAdbStatus
173+ , mdNetworkOperator
174+ , mdKernelVersion
175+ , mdOs
176+ , mdName
177+ , mdModel
178+ , mdDeveloperOptionsStatus
179+ , mdUnknownSourcesStatus
180+ , mdMeid
181+ , mdDeviceId
182+ , mdFirstSync
183+ , mdUserAgent
184+ , mdImei
185+ , mdType
186+ , mdWifiMacAddress
187+ , mdSerialNumber
188+ , mdHardwareId
189+ , mdBasebandVersion
190+ , mdSupportsWorkProfile
191+ , mdDeviceCompromisedStatus
192+ , mdApplications
193+ , mdDefaultLanguage
194+
195+ -- * MobileDeviceAction
196+ , MobileDeviceAction
197+ , mobileDeviceAction
198+ , mdaAction
199+
200+ -- * MobileDeviceItemApplications
201+ , MobileDeviceItemApplications
202+ , mobileDeviceItemApplications
203+ , mdiaVersionCode
204+ , mdiaVersionName
205+ , mdiaPackageName
206+ , mdiaDisplayName
207+ , mdiaPermission
208+
209+ -- * MobileDevices
210+ , MobileDevices
211+ , mobileDevices
212+ , mdsEtag
213+ , mdsNextPageToken
214+ , mdsKind
215+ , mdsMobiledevices
216+
217+ -- * Notification
218+ , Notification
219+ , notification
220+ , nSubject
221+ , nEtag
222+ , nKind
223+ , nBody
224+ , nFromAddress
225+ , nIsUnread
226+ , nNotificationId
227+ , nSendTime
228+
229+ -- * Notifications
230+ , Notifications
231+ , notifications
232+ , notEtag
233+ , notNextPageToken
234+ , notKind
235+ , notItems
236+ , notUnreadNotificationsCount
237+
238+ -- * OrgUnit
239+ , OrgUnit
240+ , orgUnit
241+ , oEtag
242+ , oParentOrgUnitPath
243+ , oKind
244+ , oOrgUnitPath
245+ , oName
246+ , oBlockInheritance
247+ , oParentOrgUnitId
248+ , oDescription
249+ , oOrgUnitId
250+
251+ -- * OrgUnits
252+ , OrgUnits
253+ , orgUnits
254+ , ouEtag
255+ , ouKind
256+ , ouOrganizationUnits
257+
258+ -- * Schema
259+ , Schema
260+ , schema
261+ , schEtag
262+ , schKind
263+ , schSchemaName
264+ , schSchemaId
265+ , schFields
266+
267+ -- * SchemaFieldSpec
268+ , SchemaFieldSpec
269+ , schemaFieldSpec
270+ , sfsEtag
271+ , sfsKind
272+ , sfsNumericIndexingSpec
273+ , sfsReadAccessType
274+ , sfsFieldId
275+ , sfsIndexed
276+ , sfsFieldType
277+ , sfsFieldName
278+ , sfsMultiValued
279+
280+ -- * SchemaFieldSpecNumericIndexingSpec
281+ , SchemaFieldSpecNumericIndexingSpec
282+ , schemaFieldSpecNumericIndexingSpec
283+ , sfsnisMaxValue
284+ , sfsnisMinValue
285+
286+ -- * Schemas
287+ , Schemas
288+ , schemas
289+ , sEtag
290+ , sSchemas
291+ , sKind
292+
293+ -- * Token
294+ , Token
295+ , token
296+ , tokClientId
297+ , tokEtag
298+ , tokDisplayText
299+ , tokKind
300+ , tokScopes
301+ , tokNativeApp
302+ , tokAnonymous
303+ , tokUserKey
304+
305+ -- * Tokens
306+ , Tokens
307+ , tokens
308+ , tEtag
309+ , tKind
310+ , tItems
311+
312+ -- * User
313+ , User
314+ , user
315+ , useCreationTime
316+ , useLastLoginTime
317+ , useThumbnailPhotoEtag
318+ , useEtag
319+ , useIpWhitelisted
320+ , useRelations
321+ , useHashFunction
322+ , useKind
323+ , useChangePasswordAtNextLogin
324+ , useWebsites
325+ , useAddresses
326+ , useAliases
327+ , useThumbnailPhotoUrl
328+ , useExternalIds
329+ , useSuspended
330+ , useAgreedToTerms
331+ , useDeletionTime
332+ , useNonEditableAliases
333+ , useOrgUnitPath
334+ , useCustomerId
335+ , useIncludeInGlobalAddressList
336+ , usePhones
337+ , useName
338+ , usePassword
339+ , useEmails
340+ , useIms
341+ , useIsAdmin
342+ , useId
343+ , useOrganizations
344+ , usePrimaryEmail
345+ , useNotes
346+ , useIsDelegatedAdmin
347+ , useIsMailboxSetup
348+ , useCustomSchemas
349+ , useSuspensionReason
350+
351+ -- * UserAbout
352+ , UserAbout
353+ , userAbout
354+ , uaValue
355+ , uaContentType
356+
357+ -- * UserAddress
358+ , UserAddress
359+ , userAddress
360+ , uaStreetAddress
361+ , uaPoBox
362+ , uaCountry
363+ , uaPostalCode
364+ , uaFormatted
365+ , uaExtendedAddress
366+ , uaLocality
367+ , uaPrimary
368+ , uaCountryCode
369+ , uaRegion
370+ , uaType
371+ , uaCustomType
372+ , uaSourceIsStructured
373+
374+ -- * UserCustomProperties
375+ , UserCustomProperties
376+ , userCustomProperties
377+
378+ -- * UserCustomSchemas
379+ , UserCustomSchemas
380+ , userCustomSchemas
381+
382+ -- * UserEmail
383+ , UserEmail
384+ , userEmail
385+ , ueAddress
386+ , uePrimary
387+ , ueType
388+ , ueCustomType
389+
390+ -- * UserExternalId
391+ , UserExternalId
392+ , userExternalId
393+ , ueiValue
394+ , ueiType
395+ , ueiCustomType
396+
397+ -- * UserIm
398+ , UserIm
399+ , userIm
400+ , uiIm
401+ , uiProtocol
402+ , uiPrimary
403+ , uiCustomProtocol
404+ , uiType
405+ , uiCustomType
406+
407+ -- * UserMakeAdmin
408+ , UserMakeAdmin
409+ , userMakeAdmin
410+ , umaStatus
411+
412+ -- * UserName
413+ , UserName
414+ , userName
415+ , unGivenName
416+ , unFullName
417+ , unFamilyName
418+
419+ -- * UserOrganization
420+ , UserOrganization
421+ , userOrganization
422+ , uoDepartment
423+ , uoLocation
424+ , uoCostCenter
425+ , uoDomain
426+ , uoSymbol
427+ , uoPrimary
428+ , uoName
429+ , uoTitle
430+ , uoType
431+ , uoCustomType
432+ , uoDescription
433+
434+ -- * UserPhone
435+ , UserPhone
436+ , userPhone
437+ , upValue
438+ , upPrimary
439+ , upType
440+ , upCustomType
441+
442+ -- * UserPhoto
443+ , UserPhoto
444+ , userPhoto
445+ , upPhotoData
446+ , upEtag
447+ , upHeight
448+ , upKind
449+ , upWidth
450+ , upMimeType
451+ , upId
452+ , upPrimaryEmail
453+
454+ -- * UserRelation
455+ , UserRelation
456+ , userRelation
457+ , urValue
458+ , urType
459+ , urCustomType
460+
461+ -- * UserUndelete
462+ , UserUndelete
463+ , userUndelete
464+ , uuOrgUnitPath
465+
466+ -- * UserWebsite
467+ , UserWebsite
468+ , userWebsite
469+ , uwValue
470+ , uwPrimary
471+ , uwType
472+ , uwCustomType
473+
474+ -- * Users
475+ , Users
476+ , users
477+ , uEtag
478+ , uNextPageToken
479+ , uUsers
480+ , uKind
481+ , uTriggerEvent
482+
483+ -- * VerificationCode
484+ , VerificationCode
485+ , verificationCode
486+ , vVerificationCode
487+ , vEtag
488+ , vKind
489+ , vUserId
490+
491+ -- * VerificationCodes
492+ , VerificationCodes
493+ , verificationCodes
494+ , vcEtag
495+ , vcKind
496+ , vcItems
497+ ) where
498+
499+import Network.Google.Directory.Types.Product
500+import Network.Google.Directory.Types.Sum
501+import Network.Google.Prelude
502+
503+admin :: a
504+admin = error "admin"
gogol-admin/gen/Network/Google/Directory/Types/Product.hsnew file+3421
@@ -0,0 +1,3421 @@
1+{-# LANGUAGE DeriveDataTypeable #-}
2+{-# LANGUAGE DeriveGeneric #-}
3+{-# LANGUAGE OverloadedStrings #-}
4+
5+-- |
6+-- Module : Network.Google.Directory.Types.Product
7+-- Copyright : (c) 2015 Brendan Hay
8+-- License : Mozilla Public License, v. 2.0.
9+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
10+-- Stability : auto-generated
11+-- Portability : non-portable (GHC extensions)
12+--
13+module Network.Google.Directory.Types.Product where
14+
15+import Network.Google.Directory.Types.Sum
16+import Network.Google.Prelude
17+
18+-- | JSON template for Alias object in Directory API.
19+--
20+-- /See:/ 'alias' smart constructor.
21+data Alias = Alias
22+ { _aEtag :: !(Maybe Text)
23+ , _aKind :: !Text
24+ , _aAlias :: !(Maybe Text)
25+ , _aId :: !(Maybe Text)
26+ , _aPrimaryEmail :: !(Maybe Text)
27+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
28+
29+-- | Creates a value of 'Alias' with the minimum fields required to make a request.
30+--
31+-- Use one of the following lenses to modify other fields as desired:
32+--
33+-- * 'aEtag'
34+--
35+-- * 'aKind'
36+--
37+-- * 'aAlias'
38+--
39+-- * 'aId'
40+--
41+-- * 'aPrimaryEmail'
42+alias
43+ :: Alias
44+alias =
45+ Alias
46+ { _aEtag = Nothing
47+ , _aKind = "admin#directory#alias"
48+ , _aAlias = Nothing
49+ , _aId = Nothing
50+ , _aPrimaryEmail = Nothing
51+ }
52+
53+-- | ETag of the resource.
54+aEtag :: Lens' Alias (Maybe Text)
55+aEtag = lens _aEtag (\ s a -> s{_aEtag = a})
56+
57+-- | Kind of resource this is.
58+aKind :: Lens' Alias Text
59+aKind = lens _aKind (\ s a -> s{_aKind = a})
60+
61+-- | A alias email
62+aAlias :: Lens' Alias (Maybe Text)
63+aAlias = lens _aAlias (\ s a -> s{_aAlias = a})
64+
65+-- | Unique id of the group (Read-only) Unique id of the user (Read-only)
66+aId :: Lens' Alias (Maybe Text)
67+aId = lens _aId (\ s a -> s{_aId = a})
68+
69+-- | Group\'s primary email (Read-only) User\'s primary email (Read-only)
70+aPrimaryEmail :: Lens' Alias (Maybe Text)
71+aPrimaryEmail
72+ = lens _aPrimaryEmail
73+ (\ s a -> s{_aPrimaryEmail = a})
74+
75+-- | JSON response template to list aliases in Directory API.
76+--
77+-- /See:/ 'aliases' smart constructor.
78+data Aliases = Aliases
79+ { _aliEtag :: !(Maybe Text)
80+ , _aliKind :: !Text
81+ , _aliAliases :: !(Maybe [Maybe Alias])
82+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
83+
84+-- | Creates a value of 'Aliases' with the minimum fields required to make a request.
85+--
86+-- Use one of the following lenses to modify other fields as desired:
87+--
88+-- * 'aliEtag'
89+--
90+-- * 'aliKind'
91+--
92+-- * 'aliAliases'
93+aliases
94+ :: Aliases
95+aliases =
96+ Aliases
97+ { _aliEtag = Nothing
98+ , _aliKind = "admin#directory#aliases"
99+ , _aliAliases = Nothing
100+ }
101+
102+-- | ETag of the resource.
103+aliEtag :: Lens' Aliases (Maybe Text)
104+aliEtag = lens _aliEtag (\ s a -> s{_aliEtag = a})
105+
106+-- | Kind of resource this is.
107+aliKind :: Lens' Aliases Text
108+aliKind = lens _aliKind (\ s a -> s{_aliKind = a})
109+
110+-- | List of alias objects.
111+aliAliases :: Lens' Aliases [Maybe Alias]
112+aliAliases
113+ = lens _aliAliases (\ s a -> s{_aliAliases = a}) .
114+ _Default
115+ . _Coerce
116+
117+-- | The template that returns individual ASP (Access Code) data.
118+--
119+-- /See:/ 'asp' smart constructor.
120+data Asp = Asp
121+ { _aspCreationTime :: !(Maybe Int64)
122+ , _aspEtag :: !(Maybe Text)
123+ , _aspCodeId :: !(Maybe Int32)
124+ , _aspKind :: !Text
125+ , _aspName :: !(Maybe Text)
126+ , _aspLastTimeUsed :: !(Maybe Int64)
127+ , _aspUserKey :: !(Maybe Text)
128+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
129+
130+-- | Creates a value of 'Asp' with the minimum fields required to make a request.
131+--
132+-- Use one of the following lenses to modify other fields as desired:
133+--
134+-- * 'aspCreationTime'
135+--
136+-- * 'aspEtag'
137+--
138+-- * 'aspCodeId'
139+--
140+-- * 'aspKind'
141+--
142+-- * 'aspName'
143+--
144+-- * 'aspLastTimeUsed'
145+--
146+-- * 'aspUserKey'
147+asp
148+ :: Asp
149+asp =
150+ Asp
151+ { _aspCreationTime = Nothing
152+ , _aspEtag = Nothing
153+ , _aspCodeId = Nothing
154+ , _aspKind = "admin#directory#asp"
155+ , _aspName = Nothing
156+ , _aspLastTimeUsed = Nothing
157+ , _aspUserKey = Nothing
158+ }
159+
160+-- | The time when the ASP was created. Expressed in Unix time format.
161+aspCreationTime :: Lens' Asp (Maybe Int64)
162+aspCreationTime
163+ = lens _aspCreationTime
164+ (\ s a -> s{_aspCreationTime = a})
165+
166+-- | ETag of the ASP.
167+aspEtag :: Lens' Asp (Maybe Text)
168+aspEtag = lens _aspEtag (\ s a -> s{_aspEtag = a})
169+
170+-- | The unique ID of the ASP.
171+aspCodeId :: Lens' Asp (Maybe Int32)
172+aspCodeId
173+ = lens _aspCodeId (\ s a -> s{_aspCodeId = a})
174+
175+-- | The type of the API resource. This is always admin#directory#asp.
176+aspKind :: Lens' Asp Text
177+aspKind = lens _aspKind (\ s a -> s{_aspKind = a})
178+
179+-- | The name of the application that the user, represented by their userId,
180+-- entered when the ASP was created.
181+aspName :: Lens' Asp (Maybe Text)
182+aspName = lens _aspName (\ s a -> s{_aspName = a})
183+
184+-- | The time when the ASP was last used. Expressed in Unix time format.
185+aspLastTimeUsed :: Lens' Asp (Maybe Int64)
186+aspLastTimeUsed
187+ = lens _aspLastTimeUsed
188+ (\ s a -> s{_aspLastTimeUsed = a})
189+
190+-- | The unique ID of the user who issued the ASP.
191+aspUserKey :: Lens' Asp (Maybe Text)
192+aspUserKey
193+ = lens _aspUserKey (\ s a -> s{_aspUserKey = a})
194+
195+--
196+-- /See:/ 'asps' smart constructor.
197+data Asps = Asps
198+ { _aaEtag :: !(Maybe Text)
199+ , _aaKind :: !Text
200+ , _aaItems :: !(Maybe [Maybe Asp])
201+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
202+
203+-- | Creates a value of 'Asps' with the minimum fields required to make a request.
204+--
205+-- Use one of the following lenses to modify other fields as desired:
206+--
207+-- * 'aaEtag'
208+--
209+-- * 'aaKind'
210+--
211+-- * 'aaItems'
212+asps
213+ :: Asps
214+asps =
215+ Asps
216+ { _aaEtag = Nothing
217+ , _aaKind = "admin#directory#aspList"
218+ , _aaItems = Nothing
219+ }
220+
221+-- | ETag of the resource.
222+aaEtag :: Lens' Asps (Maybe Text)
223+aaEtag = lens _aaEtag (\ s a -> s{_aaEtag = a})
224+
225+-- | The type of the API resource. This is always admin#directory#aspList.
226+aaKind :: Lens' Asps Text
227+aaKind = lens _aaKind (\ s a -> s{_aaKind = a})
228+
229+-- | A list of ASP resources.
230+aaItems :: Lens' Asps [Maybe Asp]
231+aaItems
232+ = lens _aaItems (\ s a -> s{_aaItems = a}) . _Default
233+ . _Coerce
234+
235+-- | An notification channel used to watch for resource changes.
236+--
237+-- /See:/ 'channel' smart constructor.
238+data Channel = Channel
239+ { _chaResourceUri :: !(Maybe Text)
240+ , _chaResourceId :: !(Maybe Text)
241+ , _chaKind :: !Text
242+ , _chaExpiration :: !(Maybe Int64)
243+ , _chaToken :: !(Maybe Text)
244+ , _chaAddress :: !(Maybe Text)
245+ , _chaPayload :: !(Maybe Bool)
246+ , _chaParams :: !(Maybe ChannelParams)
247+ , _chaId :: !(Maybe Text)
248+ , _chaType :: !(Maybe Text)
249+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
250+
251+-- | Creates a value of 'Channel' with the minimum fields required to make a request.
252+--
253+-- Use one of the following lenses to modify other fields as desired:
254+--
255+-- * 'chaResourceUri'
256+--
257+-- * 'chaResourceId'
258+--
259+-- * 'chaKind'
260+--
261+-- * 'chaExpiration'
262+--
263+-- * 'chaToken'
264+--
265+-- * 'chaAddress'
266+--
267+-- * 'chaPayload'
268+--
269+-- * 'chaParams'
270+--
271+-- * 'chaId'
272+--
273+-- * 'chaType'
274+channel
275+ :: Channel
276+channel =
277+ Channel
278+ { _chaResourceUri = Nothing
279+ , _chaResourceId = Nothing
280+ , _chaKind = "api#channel"
281+ , _chaExpiration = Nothing
282+ , _chaToken = Nothing
283+ , _chaAddress = Nothing
284+ , _chaPayload = Nothing
285+ , _chaParams = Nothing
286+ , _chaId = Nothing
287+ , _chaType = Nothing
288+ }
289+
290+-- | A version-specific identifier for the watched resource.
291+chaResourceUri :: Lens' Channel (Maybe Text)
292+chaResourceUri
293+ = lens _chaResourceUri
294+ (\ s a -> s{_chaResourceUri = a})
295+
296+-- | An opaque ID that identifies the resource being watched on this channel.
297+-- Stable across different API versions.
298+chaResourceId :: Lens' Channel (Maybe Text)
299+chaResourceId
300+ = lens _chaResourceId
301+ (\ s a -> s{_chaResourceId = a})
302+
303+-- | Identifies this as a notification channel used to watch for changes to a
304+-- resource. Value: the fixed string \"api#channel\".
305+chaKind :: Lens' Channel Text
306+chaKind = lens _chaKind (\ s a -> s{_chaKind = a})
307+
308+-- | Date and time of notification channel expiration, expressed as a Unix
309+-- timestamp, in milliseconds. Optional.
310+chaExpiration :: Lens' Channel (Maybe Int64)
311+chaExpiration
312+ = lens _chaExpiration
313+ (\ s a -> s{_chaExpiration = a})
314+
315+-- | An arbitrary string delivered to the target address with each
316+-- notification delivered over this channel. Optional.
317+chaToken :: Lens' Channel (Maybe Text)
318+chaToken = lens _chaToken (\ s a -> s{_chaToken = a})
319+
320+-- | The address where notifications are delivered for this channel.
321+chaAddress :: Lens' Channel (Maybe Text)
322+chaAddress
323+ = lens _chaAddress (\ s a -> s{_chaAddress = a})
324+
325+-- | A Boolean value to indicate whether payload is wanted. Optional.
326+chaPayload :: Lens' Channel (Maybe Bool)
327+chaPayload
328+ = lens _chaPayload (\ s a -> s{_chaPayload = a})
329+
330+-- | Additional parameters controlling delivery channel behavior. Optional.
331+chaParams :: Lens' Channel (Maybe ChannelParams)
332+chaParams
333+ = lens _chaParams (\ s a -> s{_chaParams = a})
334+
335+-- | A UUID or similar unique string that identifies this channel.
336+chaId :: Lens' Channel (Maybe Text)
337+chaId = lens _chaId (\ s a -> s{_chaId = a})
338+
339+-- | The type of delivery mechanism used for this channel.
340+chaType :: Lens' Channel (Maybe Text)
341+chaType = lens _chaType (\ s a -> s{_chaType = a})
342+
343+-- | Additional parameters controlling delivery channel behavior. Optional.
344+--
345+-- /See:/ 'channelParams' smart constructor.
346+data ChannelParams =
347+ ChannelParams
348+ deriving (Eq,Read,Show,Data,Typeable,Generic)
349+
350+-- | Creates a value of 'ChannelParams' with the minimum fields required to make a request.
351+--
352+channelParams
353+ :: ChannelParams
354+channelParams = ChannelParams
355+
356+-- | JSON template for Chrome Os Device resource in Directory API.
357+--
358+-- /See:/ 'chromeOsDevice' smart constructor.
359+data ChromeOsDevice = ChromeOsDevice
360+ { _codStatus :: !(Maybe Text)
361+ , _codEtag :: !(Maybe Text)
362+ , _codAnnotatedUser :: !(Maybe Text)
363+ , _codPlatformVersion :: !(Maybe Text)
364+ , _codLastSync :: !(Maybe UTCTime)
365+ , _codActiveTimeRanges :: !(Maybe [ChromeOsDeviceItemActiveTimeRanges])
366+ , _codKind :: !Text
367+ , _codEthernetMacAddress :: !(Maybe Text)
368+ , _codLastEnrollmentTime :: !(Maybe UTCTime)
369+ , _codAnnotatedLocation :: !(Maybe Text)
370+ , _codMacAddress :: !(Maybe Text)
371+ , _codOrgUnitPath :: !(Maybe Text)
372+ , _codRecentUsers :: !(Maybe [ChromeOsDeviceItemRecentUsers])
373+ , _codSupportEndDate :: !(Maybe UTCTime)
374+ , _codModel :: !(Maybe Text)
375+ , _codWillAutoRenew :: !(Maybe Bool)
376+ , _codMeid :: !(Maybe Text)
377+ , _codDeviceId :: !(Maybe Text)
378+ , _codBootMode :: !(Maybe Text)
379+ , _codOrderNumber :: !(Maybe Text)
380+ , _codAnnotatedAssetId :: !(Maybe Text)
381+ , _codNotes :: !(Maybe Text)
382+ , _codSerialNumber :: !(Maybe Text)
383+ , _codFirmwareVersion :: !(Maybe Text)
384+ , _codOsVersion :: !(Maybe Text)
385+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
386+
387+-- | Creates a value of 'ChromeOsDevice' with the minimum fields required to make a request.
388+--
389+-- Use one of the following lenses to modify other fields as desired:
390+--
391+-- * 'codStatus'
392+--
393+-- * 'codEtag'
394+--
395+-- * 'codAnnotatedUser'
396+--
397+-- * 'codPlatformVersion'
398+--
399+-- * 'codLastSync'
400+--
401+-- * 'codActiveTimeRanges'
402+--
403+-- * 'codKind'
404+--
405+-- * 'codEthernetMacAddress'
406+--
407+-- * 'codLastEnrollmentTime'
408+--
409+-- * 'codAnnotatedLocation'
410+--
411+-- * 'codMacAddress'
412+--
413+-- * 'codOrgUnitPath'
414+--
415+-- * 'codRecentUsers'
416+--
417+-- * 'codSupportEndDate'
418+--
419+-- * 'codModel'
420+--
421+-- * 'codWillAutoRenew'
422+--
423+-- * 'codMeid'
424+--
425+-- * 'codDeviceId'
426+--
427+-- * 'codBootMode'
428+--
429+-- * 'codOrderNumber'
430+--
431+-- * 'codAnnotatedAssetId'
432+--
433+-- * 'codNotes'
434+--
435+-- * 'codSerialNumber'
436+--
437+-- * 'codFirmwareVersion'
438+--
439+-- * 'codOsVersion'
440+chromeOsDevice
441+ :: ChromeOsDevice
442+chromeOsDevice =
443+ ChromeOsDevice
444+ { _codStatus = Nothing
445+ , _codEtag = Nothing
446+ , _codAnnotatedUser = Nothing
447+ , _codPlatformVersion = Nothing
448+ , _codLastSync = Nothing
449+ , _codActiveTimeRanges = Nothing
450+ , _codKind = "admin#directory#chromeosdevice"
451+ , _codEthernetMacAddress = Nothing
452+ , _codLastEnrollmentTime = Nothing
453+ , _codAnnotatedLocation = Nothing
454+ , _codMacAddress = Nothing
455+ , _codOrgUnitPath = Nothing
456+ , _codRecentUsers = Nothing
457+ , _codSupportEndDate = Nothing
458+ , _codModel = Nothing
459+ , _codWillAutoRenew = Nothing
460+ , _codMeid = Nothing
461+ , _codDeviceId = Nothing
462+ , _codBootMode = Nothing
463+ , _codOrderNumber = Nothing
464+ , _codAnnotatedAssetId = Nothing
465+ , _codNotes = Nothing
466+ , _codSerialNumber = Nothing
467+ , _codFirmwareVersion = Nothing
468+ , _codOsVersion = Nothing
469+ }
470+
471+-- | status of the device (Read-only)
472+codStatus :: Lens' ChromeOsDevice (Maybe Text)
473+codStatus
474+ = lens _codStatus (\ s a -> s{_codStatus = a})
475+
476+-- | ETag of the resource.
477+codEtag :: Lens' ChromeOsDevice (Maybe Text)
478+codEtag = lens _codEtag (\ s a -> s{_codEtag = a})
479+
480+-- | User of the device
481+codAnnotatedUser :: Lens' ChromeOsDevice (Maybe Text)
482+codAnnotatedUser
483+ = lens _codAnnotatedUser
484+ (\ s a -> s{_codAnnotatedUser = a})
485+
486+-- | Chromebook platform version (Read-only)
487+codPlatformVersion :: Lens' ChromeOsDevice (Maybe Text)
488+codPlatformVersion
489+ = lens _codPlatformVersion
490+ (\ s a -> s{_codPlatformVersion = a})
491+
492+-- | Date and time the device was last synchronized with the policy settings
493+-- in the Google Apps administrator control panel (Read-only)
494+codLastSync :: Lens' ChromeOsDevice (Maybe UTCTime)
495+codLastSync
496+ = lens _codLastSync (\ s a -> s{_codLastSync = a})
497+
498+-- | List of active time ranges (Read-only)
499+codActiveTimeRanges :: Lens' ChromeOsDevice [ChromeOsDeviceItemActiveTimeRanges]
500+codActiveTimeRanges
501+ = lens _codActiveTimeRanges
502+ (\ s a -> s{_codActiveTimeRanges = a})
503+ . _Default
504+ . _Coerce
505+
506+-- | Kind of resource this is.
507+codKind :: Lens' ChromeOsDevice Text
508+codKind = lens _codKind (\ s a -> s{_codKind = a})
509+
510+-- | Chromebook Mac Address on ethernet network interface (Read-only)
511+codEthernetMacAddress :: Lens' ChromeOsDevice (Maybe Text)
512+codEthernetMacAddress
513+ = lens _codEthernetMacAddress
514+ (\ s a -> s{_codEthernetMacAddress = a})
515+
516+-- | Date and time the device was last enrolled (Read-only)
517+codLastEnrollmentTime :: Lens' ChromeOsDevice (Maybe UTCTime)
518+codLastEnrollmentTime
519+ = lens _codLastEnrollmentTime
520+ (\ s a -> s{_codLastEnrollmentTime = a})
521+
522+-- | Address or location of the device as noted by the administrator
523+codAnnotatedLocation :: Lens' ChromeOsDevice (Maybe Text)
524+codAnnotatedLocation
525+ = lens _codAnnotatedLocation
526+ (\ s a -> s{_codAnnotatedLocation = a})
527+
528+-- | Chromebook Mac Address on wifi network interface (Read-only)
529+codMacAddress :: Lens' ChromeOsDevice (Maybe Text)
530+codMacAddress
531+ = lens _codMacAddress
532+ (\ s a -> s{_codMacAddress = a})
533+
534+-- | OrgUnit of the device
535+codOrgUnitPath :: Lens' ChromeOsDevice (Maybe Text)
536+codOrgUnitPath
537+ = lens _codOrgUnitPath
538+ (\ s a -> s{_codOrgUnitPath = a})
539+
540+-- | List of recent device users, in descending order by last login time
541+-- (Read-only)
542+codRecentUsers :: Lens' ChromeOsDevice [ChromeOsDeviceItemRecentUsers]
543+codRecentUsers
544+ = lens _codRecentUsers
545+ (\ s a -> s{_codRecentUsers = a})
546+ . _Default
547+ . _Coerce
548+
549+-- | Final date the device will be supported (Read-only)
550+codSupportEndDate :: Lens' ChromeOsDevice (Maybe UTCTime)
551+codSupportEndDate
552+ = lens _codSupportEndDate
553+ (\ s a -> s{_codSupportEndDate = a})
554+
555+-- | Chromebook Model (Read-only)
556+codModel :: Lens' ChromeOsDevice (Maybe Text)
557+codModel = lens _codModel (\ s a -> s{_codModel = a})
558+
559+-- | Will Chromebook auto renew after support end date (Read-only)
560+codWillAutoRenew :: Lens' ChromeOsDevice (Maybe Bool)
561+codWillAutoRenew
562+ = lens _codWillAutoRenew
563+ (\ s a -> s{_codWillAutoRenew = a})
564+
565+-- | Mobile Equipment identifier for the 3G mobile card in the Chromebook
566+-- (Read-only)
567+codMeid :: Lens' ChromeOsDevice (Maybe Text)
568+codMeid = lens _codMeid (\ s a -> s{_codMeid = a})
569+
570+-- | Unique identifier of Chrome OS Device (Read-only)
571+codDeviceId :: Lens' ChromeOsDevice (Maybe Text)
572+codDeviceId
573+ = lens _codDeviceId (\ s a -> s{_codDeviceId = a})
574+
575+-- | Chromebook boot mode (Read-only)
576+codBootMode :: Lens' ChromeOsDevice (Maybe Text)
577+codBootMode
578+ = lens _codBootMode (\ s a -> s{_codBootMode = a})
579+
580+-- | Chromebook order number (Read-only)
581+codOrderNumber :: Lens' ChromeOsDevice (Maybe Text)
582+codOrderNumber
583+ = lens _codOrderNumber
584+ (\ s a -> s{_codOrderNumber = a})
585+
586+-- | AssetId specified during enrollment or through later annotation
587+codAnnotatedAssetId :: Lens' ChromeOsDevice (Maybe Text)
588+codAnnotatedAssetId
589+ = lens _codAnnotatedAssetId
590+ (\ s a -> s{_codAnnotatedAssetId = a})
591+
592+-- | Notes added by the administrator
593+codNotes :: Lens' ChromeOsDevice (Maybe Text)
594+codNotes = lens _codNotes (\ s a -> s{_codNotes = a})
595+
596+-- | Chromebook serial number (Read-only)
597+codSerialNumber :: Lens' ChromeOsDevice (Maybe Text)
598+codSerialNumber
599+ = lens _codSerialNumber
600+ (\ s a -> s{_codSerialNumber = a})
601+
602+-- | Chromebook firmware version (Read-only)
603+codFirmwareVersion :: Lens' ChromeOsDevice (Maybe Text)
604+codFirmwareVersion
605+ = lens _codFirmwareVersion
606+ (\ s a -> s{_codFirmwareVersion = a})
607+
608+-- | Chromebook Os Version (Read-only)
609+codOsVersion :: Lens' ChromeOsDevice (Maybe Text)
610+codOsVersion
611+ = lens _codOsVersion (\ s a -> s{_codOsVersion = a})
612+
613+--
614+-- /See:/ 'chromeOsDeviceItemActiveTimeRanges' smart constructor.
615+data ChromeOsDeviceItemActiveTimeRanges = ChromeOsDeviceItemActiveTimeRanges
616+ { _codiatrDate :: !(Maybe UTCTime)
617+ , _codiatrActiveTime :: !(Maybe Int32)
618+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
619+
620+-- | Creates a value of 'ChromeOsDeviceItemActiveTimeRanges' with the minimum fields required to make a request.
621+--
622+-- Use one of the following lenses to modify other fields as desired:
623+--
624+-- * 'codiatrDate'
625+--
626+-- * 'codiatrActiveTime'
627+chromeOsDeviceItemActiveTimeRanges
628+ :: ChromeOsDeviceItemActiveTimeRanges
629+chromeOsDeviceItemActiveTimeRanges =
630+ ChromeOsDeviceItemActiveTimeRanges
631+ { _codiatrDate = Nothing
632+ , _codiatrActiveTime = Nothing
633+ }
634+
635+-- | Date of usage
636+codiatrDate :: Lens' ChromeOsDeviceItemActiveTimeRanges (Maybe UTCTime)
637+codiatrDate
638+ = lens _codiatrDate (\ s a -> s{_codiatrDate = a})
639+
640+-- | Duration in milliseconds
641+codiatrActiveTime :: Lens' ChromeOsDeviceItemActiveTimeRanges (Maybe Int32)
642+codiatrActiveTime
643+ = lens _codiatrActiveTime
644+ (\ s a -> s{_codiatrActiveTime = a})
645+
646+--
647+-- /See:/ 'chromeOsDeviceItemRecentUsers' smart constructor.
648+data ChromeOsDeviceItemRecentUsers = ChromeOsDeviceItemRecentUsers
649+ { _codiruEmail :: !(Maybe Text)
650+ , _codiruType :: !(Maybe Text)
651+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
652+
653+-- | Creates a value of 'ChromeOsDeviceItemRecentUsers' with the minimum fields required to make a request.
654+--
655+-- Use one of the following lenses to modify other fields as desired:
656+--
657+-- * 'codiruEmail'
658+--
659+-- * 'codiruType'
660+chromeOsDeviceItemRecentUsers
661+ :: ChromeOsDeviceItemRecentUsers
662+chromeOsDeviceItemRecentUsers =
663+ ChromeOsDeviceItemRecentUsers
664+ { _codiruEmail = Nothing
665+ , _codiruType = Nothing
666+ }
667+
668+-- | Email address of the user. Present only if the user type is managed
669+codiruEmail :: Lens' ChromeOsDeviceItemRecentUsers (Maybe Text)
670+codiruEmail
671+ = lens _codiruEmail (\ s a -> s{_codiruEmail = a})
672+
673+-- | The type of the user
674+codiruType :: Lens' ChromeOsDeviceItemRecentUsers (Maybe Text)
675+codiruType
676+ = lens _codiruType (\ s a -> s{_codiruType = a})
677+
678+-- | JSON response template for List Chrome OS Devices operation in Directory
679+-- API.
680+--
681+-- /See:/ 'chromeOsDevices' smart constructor.
682+data ChromeOsDevices = ChromeOsDevices
683+ { _cEtag :: !(Maybe Text)
684+ , _cNextPageToken :: !(Maybe Text)
685+ , _cKind :: !Text
686+ , _cChromeosdevices :: !(Maybe [Maybe ChromeOsDevice])
687+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
688+
689+-- | Creates a value of 'ChromeOsDevices' with the minimum fields required to make a request.
690+--
691+-- Use one of the following lenses to modify other fields as desired:
692+--
693+-- * 'cEtag'
694+--
695+-- * 'cNextPageToken'
696+--
697+-- * 'cKind'
698+--
699+-- * 'cChromeosdevices'
700+chromeOsDevices
701+ :: ChromeOsDevices
702+chromeOsDevices =
703+ ChromeOsDevices
704+ { _cEtag = Nothing
705+ , _cNextPageToken = Nothing
706+ , _cKind = "admin#directory#chromeosdevices"
707+ , _cChromeosdevices = Nothing
708+ }
709+
710+-- | ETag of the resource.
711+cEtag :: Lens' ChromeOsDevices (Maybe Text)
712+cEtag = lens _cEtag (\ s a -> s{_cEtag = a})
713+
714+-- | Token used to access next page of this result.
715+cNextPageToken :: Lens' ChromeOsDevices (Maybe Text)
716+cNextPageToken
717+ = lens _cNextPageToken
718+ (\ s a -> s{_cNextPageToken = a})
719+
720+-- | Kind of resource this is.
721+cKind :: Lens' ChromeOsDevices Text
722+cKind = lens _cKind (\ s a -> s{_cKind = a})
723+
724+-- | List of Chrome OS Device objects.
725+cChromeosdevices :: Lens' ChromeOsDevices [Maybe ChromeOsDevice]
726+cChromeosdevices
727+ = lens _cChromeosdevices
728+ (\ s a -> s{_cChromeosdevices = a})
729+ . _Default
730+ . _Coerce
731+
732+-- | JSON template for Group resource in Directory API.
733+--
734+-- /See:/ 'group'' smart constructor.
735+data Group = Group
736+ { _groEmail :: !(Maybe Text)
737+ , _groEtag :: !(Maybe Text)
738+ , _groDirectMembersCount :: !(Maybe Int64)
739+ , _groKind :: !Text
740+ , _groAliases :: !(Maybe [Text])
741+ , _groNonEditableAliases :: !(Maybe [Text])
742+ , _groName :: !(Maybe Text)
743+ , _groAdminCreated :: !(Maybe Bool)
744+ , _groId :: !(Maybe Text)
745+ , _groDescription :: !(Maybe Text)
746+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
747+
748+-- | Creates a value of 'Group' with the minimum fields required to make a request.
749+--
750+-- Use one of the following lenses to modify other fields as desired:
751+--
752+-- * 'groEmail'
753+--
754+-- * 'groEtag'
755+--
756+-- * 'groDirectMembersCount'
757+--
758+-- * 'groKind'
759+--
760+-- * 'groAliases'
761+--
762+-- * 'groNonEditableAliases'
763+--
764+-- * 'groName'
765+--
766+-- * 'groAdminCreated'
767+--
768+-- * 'groId'
769+--
770+-- * 'groDescription'
771+group'
772+ :: Group
773+group' =
774+ Group
775+ { _groEmail = Nothing
776+ , _groEtag = Nothing
777+ , _groDirectMembersCount = Nothing
778+ , _groKind = "admin#directory#group"
779+ , _groAliases = Nothing
780+ , _groNonEditableAliases = Nothing
781+ , _groName = Nothing
782+ , _groAdminCreated = Nothing
783+ , _groId = Nothing
784+ , _groDescription = Nothing
785+ }
786+
787+-- | Email of Group
788+groEmail :: Lens' Group (Maybe Text)
789+groEmail = lens _groEmail (\ s a -> s{_groEmail = a})
790+
791+-- | ETag of the resource.
792+groEtag :: Lens' Group (Maybe Text)
793+groEtag = lens _groEtag (\ s a -> s{_groEtag = a})
794+
795+-- | Group direct members count
796+groDirectMembersCount :: Lens' Group (Maybe Int64)
797+groDirectMembersCount
798+ = lens _groDirectMembersCount
799+ (\ s a -> s{_groDirectMembersCount = a})
800+
801+-- | Kind of resource this is.
802+groKind :: Lens' Group Text
803+groKind = lens _groKind (\ s a -> s{_groKind = a})
804+
805+-- | List of aliases (Read-only)
806+groAliases :: Lens' Group [Text]
807+groAliases
808+ = lens _groAliases (\ s a -> s{_groAliases = a}) .
809+ _Default
810+ . _Coerce
811+
812+-- | List of non editable aliases (Read-only)
813+groNonEditableAliases :: Lens' Group [Text]
814+groNonEditableAliases
815+ = lens _groNonEditableAliases
816+ (\ s a -> s{_groNonEditableAliases = a})
817+ . _Default
818+ . _Coerce
819+
820+-- | Group name
821+groName :: Lens' Group (Maybe Text)
822+groName = lens _groName (\ s a -> s{_groName = a})
823+
824+-- | Is the group created by admin (Read-only) *
825+groAdminCreated :: Lens' Group (Maybe Bool)
826+groAdminCreated
827+ = lens _groAdminCreated
828+ (\ s a -> s{_groAdminCreated = a})
829+
830+-- | Unique identifier of Group (Read-only)
831+groId :: Lens' Group (Maybe Text)
832+groId = lens _groId (\ s a -> s{_groId = a})
833+
834+-- | Description of the group
835+groDescription :: Lens' Group (Maybe Text)
836+groDescription
837+ = lens _groDescription
838+ (\ s a -> s{_groDescription = a})
839+
840+-- | JSON response template for List Groups operation in Directory API.
841+--
842+-- /See:/ 'groups' smart constructor.
843+data Groups = Groups
844+ { _gGroups :: !(Maybe [Maybe Group])
845+ , _gEtag :: !(Maybe Text)
846+ , _gNextPageToken :: !(Maybe Text)
847+ , _gKind :: !Text
848+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
849+
850+-- | Creates a value of 'Groups' with the minimum fields required to make a request.
851+--
852+-- Use one of the following lenses to modify other fields as desired:
853+--
854+-- * 'gGroups'
855+--
856+-- * 'gEtag'
857+--
858+-- * 'gNextPageToken'
859+--
860+-- * 'gKind'
861+groups
862+ :: Groups
863+groups =
864+ Groups
865+ { _gGroups = Nothing
866+ , _gEtag = Nothing
867+ , _gNextPageToken = Nothing
868+ , _gKind = "admin#directory#groups"
869+ }
870+
871+-- | List of group objects.
872+gGroups :: Lens' Groups [Maybe Group]
873+gGroups
874+ = lens _gGroups (\ s a -> s{_gGroups = a}) . _Default
875+ . _Coerce
876+
877+-- | ETag of the resource.
878+gEtag :: Lens' Groups (Maybe Text)
879+gEtag = lens _gEtag (\ s a -> s{_gEtag = a})
880+
881+-- | Token used to access next page of this result.
882+gNextPageToken :: Lens' Groups (Maybe Text)
883+gNextPageToken
884+ = lens _gNextPageToken
885+ (\ s a -> s{_gNextPageToken = a})
886+
887+-- | Kind of resource this is.
888+gKind :: Lens' Groups Text
889+gKind = lens _gKind (\ s a -> s{_gKind = a})
890+
891+-- | JSON template for Member resource in Directory API.
892+--
893+-- /See:/ 'member' smart constructor.
894+data Member = Member
895+ { _mEmail :: !(Maybe Text)
896+ , _mEtag :: !(Maybe Text)
897+ , _mKind :: !Text
898+ , _mRole :: !(Maybe Text)
899+ , _mId :: !(Maybe Text)
900+ , _mType :: !(Maybe Text)
901+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
902+
903+-- | Creates a value of 'Member' with the minimum fields required to make a request.
904+--
905+-- Use one of the following lenses to modify other fields as desired:
906+--
907+-- * 'mEmail'
908+--
909+-- * 'mEtag'
910+--
911+-- * 'mKind'
912+--
913+-- * 'mRole'
914+--
915+-- * 'mId'
916+--
917+-- * 'mType'
918+member
919+ :: Member
920+member =
921+ Member
922+ { _mEmail = Nothing
923+ , _mEtag = Nothing
924+ , _mKind = "admin#directory#member"
925+ , _mRole = Nothing
926+ , _mId = Nothing
927+ , _mType = Nothing
928+ }
929+
930+-- | Email of member (Read-only)
931+mEmail :: Lens' Member (Maybe Text)
932+mEmail = lens _mEmail (\ s a -> s{_mEmail = a})
933+
934+-- | ETag of the resource.
935+mEtag :: Lens' Member (Maybe Text)
936+mEtag = lens _mEtag (\ s a -> s{_mEtag = a})
937+
938+-- | Kind of resource this is.
939+mKind :: Lens' Member Text
940+mKind = lens _mKind (\ s a -> s{_mKind = a})
941+
942+-- | Role of member
943+mRole :: Lens' Member (Maybe Text)
944+mRole = lens _mRole (\ s a -> s{_mRole = a})
945+
946+-- | Unique identifier of customer member (Read-only) Unique identifier of
947+-- group (Read-only) Unique identifier of member (Read-only)
948+mId :: Lens' Member (Maybe Text)
949+mId = lens _mId (\ s a -> s{_mId = a})
950+
951+-- | Type of member (Immutable)
952+mType :: Lens' Member (Maybe Text)
953+mType = lens _mType (\ s a -> s{_mType = a})
954+
955+-- | JSON response template for List Members operation in Directory API.
956+--
957+-- /See:/ 'members' smart constructor.
958+data Members = Members
959+ { _memEtag :: !(Maybe Text)
960+ , _memNextPageToken :: !(Maybe Text)
961+ , _memKind :: !Text
962+ , _memMembers :: !(Maybe [Maybe Member])
963+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
964+
965+-- | Creates a value of 'Members' with the minimum fields required to make a request.
966+--
967+-- Use one of the following lenses to modify other fields as desired:
968+--
969+-- * 'memEtag'
970+--
971+-- * 'memNextPageToken'
972+--
973+-- * 'memKind'
974+--
975+-- * 'memMembers'
976+members
977+ :: Members
978+members =
979+ Members
980+ { _memEtag = Nothing
981+ , _memNextPageToken = Nothing
982+ , _memKind = "admin#directory#members"
983+ , _memMembers = Nothing
984+ }
985+
986+-- | ETag of the resource.
987+memEtag :: Lens' Members (Maybe Text)
988+memEtag = lens _memEtag (\ s a -> s{_memEtag = a})
989+
990+-- | Token used to access next page of this result.
991+memNextPageToken :: Lens' Members (Maybe Text)
992+memNextPageToken
993+ = lens _memNextPageToken
994+ (\ s a -> s{_memNextPageToken = a})
995+
996+-- | Kind of resource this is.
997+memKind :: Lens' Members Text
998+memKind = lens _memKind (\ s a -> s{_memKind = a})
999+
1000+-- | List of member objects.
1001+memMembers :: Lens' Members [Maybe Member]
1002+memMembers
1003+ = lens _memMembers (\ s a -> s{_memMembers = a}) .
1004+ _Default
1005+ . _Coerce
1006+
1007+-- | JSON template for Mobile Device resource in Directory API.
1008+--
1009+-- /See:/ 'mobileDevice' smart constructor.
1010+data MobileDevice = MobileDevice
1011+ { _mdEmail :: !(Maybe [Text])
1012+ , _mdStatus :: !(Maybe Text)
1013+ , _mdEtag :: !(Maybe Text)
1014+ , _mdResourceId :: !(Maybe Text)
1015+ , _mdBuildNumber :: !(Maybe Text)
1016+ , _mdManagedAccountIsOnOwnerProfile :: !(Maybe Bool)
1017+ , _mdLastSync :: !(Maybe UTCTime)
1018+ , _mdOtherAccountsInfo :: !(Maybe [Text])
1019+ , _mdKind :: !Text
1020+ , _mdAdbStatus :: !(Maybe Bool)
1021+ , _mdNetworkOperator :: !(Maybe Text)
1022+ , _mdKernelVersion :: !(Maybe Text)
1023+ , _mdOs :: !(Maybe Text)
1024+ , _mdName :: !(Maybe [Text])
1025+ , _mdModel :: !(Maybe Text)
1026+ , _mdDeveloperOptionsStatus :: !(Maybe Bool)
1027+ , _mdUnknownSourcesStatus :: !(Maybe Bool)
1028+ , _mdMeid :: !(Maybe Text)
1029+ , _mdDeviceId :: !(Maybe Text)
1030+ , _mdFirstSync :: !(Maybe UTCTime)
1031+ , _mdUserAgent :: !(Maybe Text)
1032+ , _mdImei :: !(Maybe Text)
1033+ , _mdType :: !(Maybe Text)
1034+ , _mdWifiMacAddress :: !(Maybe Text)
1035+ , _mdSerialNumber :: !(Maybe Text)
1036+ , _mdHardwareId :: !(Maybe Text)
1037+ , _mdBasebandVersion :: !(Maybe Text)
1038+ , _mdSupportsWorkProfile :: !(Maybe Bool)
1039+ , _mdDeviceCompromisedStatus :: !(Maybe Text)
1040+ , _mdApplications :: !(Maybe [MobileDeviceItemApplications])
1041+ , _mdDefaultLanguage :: !(Maybe Text)
1042+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
1043+
1044+-- | Creates a value of 'MobileDevice' with the minimum fields required to make a request.
1045+--
1046+-- Use one of the following lenses to modify other fields as desired:
1047+--
1048+-- * 'mdEmail'
1049+--
1050+-- * 'mdStatus'
1051+--
1052+-- * 'mdEtag'
1053+--
1054+-- * 'mdResourceId'
1055+--
1056+-- * 'mdBuildNumber'
1057+--
1058+-- * 'mdManagedAccountIsOnOwnerProfile'
1059+--
1060+-- * 'mdLastSync'
1061+--
1062+-- * 'mdOtherAccountsInfo'
1063+--
1064+-- * 'mdKind'
1065+--
1066+-- * 'mdAdbStatus'
1067+--
1068+-- * 'mdNetworkOperator'
1069+--
1070+-- * 'mdKernelVersion'
1071+--
1072+-- * 'mdOs'
1073+--
1074+-- * 'mdName'
1075+--
1076+-- * 'mdModel'
1077+--
1078+-- * 'mdDeveloperOptionsStatus'
1079+--
1080+-- * 'mdUnknownSourcesStatus'
1081+--
1082+-- * 'mdMeid'
1083+--
1084+-- * 'mdDeviceId'
1085+--
1086+-- * 'mdFirstSync'
1087+--
1088+-- * 'mdUserAgent'
1089+--
1090+-- * 'mdImei'
1091+--
1092+-- * 'mdType'
1093+--
1094+-- * 'mdWifiMacAddress'
1095+--
1096+-- * 'mdSerialNumber'
1097+--
1098+-- * 'mdHardwareId'
1099+--
1100+-- * 'mdBasebandVersion'
1101+--
1102+-- * 'mdSupportsWorkProfile'
1103+--
1104+-- * 'mdDeviceCompromisedStatus'
1105+--
1106+-- * 'mdApplications'
1107+--
1108+-- * 'mdDefaultLanguage'
1109+mobileDevice
1110+ :: MobileDevice
1111+mobileDevice =
1112+ MobileDevice
1113+ { _mdEmail = Nothing
1114+ , _mdStatus = Nothing
1115+ , _mdEtag = Nothing
1116+ , _mdResourceId = Nothing
1117+ , _mdBuildNumber = Nothing
1118+ , _mdManagedAccountIsOnOwnerProfile = Nothing
1119+ , _mdLastSync = Nothing
1120+ , _mdOtherAccountsInfo = Nothing
1121+ , _mdKind = "admin#directory#mobiledevice"
1122+ , _mdAdbStatus = Nothing
1123+ , _mdNetworkOperator = Nothing
1124+ , _mdKernelVersion = Nothing
1125+ , _mdOs = Nothing
1126+ , _mdName = Nothing
1127+ , _mdModel = Nothing
1128+ , _mdDeveloperOptionsStatus = Nothing
1129+ , _mdUnknownSourcesStatus = Nothing
1130+ , _mdMeid = Nothing
1131+ , _mdDeviceId = Nothing
1132+ , _mdFirstSync = Nothing
1133+ , _mdUserAgent = Nothing
1134+ , _mdImei = Nothing
1135+ , _mdType = Nothing
1136+ , _mdWifiMacAddress = Nothing
1137+ , _mdSerialNumber = Nothing
1138+ , _mdHardwareId = Nothing
1139+ , _mdBasebandVersion = Nothing
1140+ , _mdSupportsWorkProfile = Nothing
1141+ , _mdDeviceCompromisedStatus = Nothing
1142+ , _mdApplications = Nothing
1143+ , _mdDefaultLanguage = Nothing
1144+ }
1145+
1146+-- | List of owner user\'s email addresses (Read-only)
1147+mdEmail :: Lens' MobileDevice [Text]
1148+mdEmail
1149+ = lens _mdEmail (\ s a -> s{_mdEmail = a}) . _Default
1150+ . _Coerce
1151+
1152+-- | Status of the device (Read-only)
1153+mdStatus :: Lens' MobileDevice (Maybe Text)
1154+mdStatus = lens _mdStatus (\ s a -> s{_mdStatus = a})
1155+
1156+-- | ETag of the resource.
1157+mdEtag :: Lens' MobileDevice (Maybe Text)
1158+mdEtag = lens _mdEtag (\ s a -> s{_mdEtag = a})
1159+
1160+-- | Unique identifier of Mobile Device (Read-only)
1161+mdResourceId :: Lens' MobileDevice (Maybe Text)
1162+mdResourceId
1163+ = lens _mdResourceId (\ s a -> s{_mdResourceId = a})
1164+
1165+-- | Mobile Device Build number (Read-only)
1166+mdBuildNumber :: Lens' MobileDevice (Maybe Text)
1167+mdBuildNumber
1168+ = lens _mdBuildNumber
1169+ (\ s a -> s{_mdBuildNumber = a})
1170+
1171+-- | Boolean indicating if this account is on owner\/primary profile or not
1172+-- (Read-only)
1173+mdManagedAccountIsOnOwnerProfile :: Lens' MobileDevice (Maybe Bool)
1174+mdManagedAccountIsOnOwnerProfile
1175+ = lens _mdManagedAccountIsOnOwnerProfile
1176+ (\ s a -> s{_mdManagedAccountIsOnOwnerProfile = a})
1177+
1178+-- | Date and time the device was last synchronized with the policy settings
1179+-- in the Google Apps administrator control panel (Read-only)
1180+mdLastSync :: Lens' MobileDevice (Maybe UTCTime)
1181+mdLastSync
1182+ = lens _mdLastSync (\ s a -> s{_mdLastSync = a})
1183+
1184+-- | List of accounts added on device (Read-only)
1185+mdOtherAccountsInfo :: Lens' MobileDevice [Text]
1186+mdOtherAccountsInfo
1187+ = lens _mdOtherAccountsInfo
1188+ (\ s a -> s{_mdOtherAccountsInfo = a})
1189+ . _Default
1190+ . _Coerce
1191+
1192+-- | Kind of resource this is.
1193+mdKind :: Lens' MobileDevice Text
1194+mdKind = lens _mdKind (\ s a -> s{_mdKind = a})
1195+
1196+-- | Adb (USB debugging) enabled or disabled on device (Read-only)
1197+mdAdbStatus :: Lens' MobileDevice (Maybe Bool)
1198+mdAdbStatus
1199+ = lens _mdAdbStatus (\ s a -> s{_mdAdbStatus = a})
1200+
1201+-- | Mobile Device mobile or network operator (if available) (Read-only)
1202+mdNetworkOperator :: Lens' MobileDevice (Maybe Text)
1203+mdNetworkOperator
1204+ = lens _mdNetworkOperator
1205+ (\ s a -> s{_mdNetworkOperator = a})
1206+
1207+-- | Mobile Device Kernel version (Read-only)
1208+mdKernelVersion :: Lens' MobileDevice (Maybe Text)
1209+mdKernelVersion
1210+ = lens _mdKernelVersion
1211+ (\ s a -> s{_mdKernelVersion = a})
1212+
1213+-- | Name of the mobile operating system
1214+mdOs :: Lens' MobileDevice (Maybe Text)
1215+mdOs = lens _mdOs (\ s a -> s{_mdOs = a})
1216+
1217+-- | List of owner user\'s names (Read-only)
1218+mdName :: Lens' MobileDevice [Text]
1219+mdName
1220+ = lens _mdName (\ s a -> s{_mdName = a}) . _Default .
1221+ _Coerce
1222+
1223+-- | Name of the model of the device
1224+mdModel :: Lens' MobileDevice (Maybe Text)
1225+mdModel = lens _mdModel (\ s a -> s{_mdModel = a})
1226+
1227+-- | Developer options enabled or disabled on device (Read-only)
1228+mdDeveloperOptionsStatus :: Lens' MobileDevice (Maybe Bool)
1229+mdDeveloperOptionsStatus
1230+ = lens _mdDeveloperOptionsStatus
1231+ (\ s a -> s{_mdDeveloperOptionsStatus = a})
1232+
1233+-- | Unknown sources enabled or disabled on device (Read-only)
1234+mdUnknownSourcesStatus :: Lens' MobileDevice (Maybe Bool)
1235+mdUnknownSourcesStatus
1236+ = lens _mdUnknownSourcesStatus
1237+ (\ s a -> s{_mdUnknownSourcesStatus = a})
1238+
1239+-- | Mobile Device MEID number (Read-only)
1240+mdMeid :: Lens' MobileDevice (Maybe Text)
1241+mdMeid = lens _mdMeid (\ s a -> s{_mdMeid = a})
1242+
1243+-- | Mobile Device serial number (Read-only)
1244+mdDeviceId :: Lens' MobileDevice (Maybe Text)
1245+mdDeviceId
1246+ = lens _mdDeviceId (\ s a -> s{_mdDeviceId = a})
1247+
1248+-- | Date and time the device was first synchronized with the policy settings
1249+-- in the Google Apps administrator control panel (Read-only)
1250+mdFirstSync :: Lens' MobileDevice (Maybe UTCTime)
1251+mdFirstSync
1252+ = lens _mdFirstSync (\ s a -> s{_mdFirstSync = a})
1253+
1254+-- | Mobile Device user agent
1255+mdUserAgent :: Lens' MobileDevice (Maybe Text)
1256+mdUserAgent
1257+ = lens _mdUserAgent (\ s a -> s{_mdUserAgent = a})
1258+
1259+-- | Mobile Device IMEI number (Read-only)
1260+mdImei :: Lens' MobileDevice (Maybe Text)
1261+mdImei = lens _mdImei (\ s a -> s{_mdImei = a})
1262+
1263+-- | The type of device (Read-only)
1264+mdType :: Lens' MobileDevice (Maybe Text)
1265+mdType = lens _mdType (\ s a -> s{_mdType = a})
1266+
1267+-- | Mobile Device WiFi MAC address (Read-only)
1268+mdWifiMacAddress :: Lens' MobileDevice (Maybe Text)
1269+mdWifiMacAddress
1270+ = lens _mdWifiMacAddress
1271+ (\ s a -> s{_mdWifiMacAddress = a})
1272+
1273+-- | Mobile Device SSN or Serial Number (Read-only)
1274+mdSerialNumber :: Lens' MobileDevice (Maybe Text)
1275+mdSerialNumber
1276+ = lens _mdSerialNumber
1277+ (\ s a -> s{_mdSerialNumber = a})
1278+
1279+-- | Mobile Device Hardware Id (Read-only)
1280+mdHardwareId :: Lens' MobileDevice (Maybe Text)
1281+mdHardwareId
1282+ = lens _mdHardwareId (\ s a -> s{_mdHardwareId = a})
1283+
1284+-- | Mobile Device Baseband version (Read-only)
1285+mdBasebandVersion :: Lens' MobileDevice (Maybe Text)
1286+mdBasebandVersion
1287+ = lens _mdBasebandVersion
1288+ (\ s a -> s{_mdBasebandVersion = a})
1289+
1290+-- | Work profile supported on device (Read-only)
1291+mdSupportsWorkProfile :: Lens' MobileDevice (Maybe Bool)
1292+mdSupportsWorkProfile
1293+ = lens _mdSupportsWorkProfile
1294+ (\ s a -> s{_mdSupportsWorkProfile = a})
1295+
1296+-- | Mobile Device compromised status (Read-only)
1297+mdDeviceCompromisedStatus :: Lens' MobileDevice (Maybe Text)
1298+mdDeviceCompromisedStatus
1299+ = lens _mdDeviceCompromisedStatus
1300+ (\ s a -> s{_mdDeviceCompromisedStatus = a})
1301+
1302+-- | List of applications installed on Mobile Device
1303+mdApplications :: Lens' MobileDevice [MobileDeviceItemApplications]
1304+mdApplications
1305+ = lens _mdApplications
1306+ (\ s a -> s{_mdApplications = a})
1307+ . _Default
1308+ . _Coerce
1309+
1310+-- | The default locale used on the Mobile Device (Read-only)
1311+mdDefaultLanguage :: Lens' MobileDevice (Maybe Text)
1312+mdDefaultLanguage
1313+ = lens _mdDefaultLanguage
1314+ (\ s a -> s{_mdDefaultLanguage = a})
1315+
1316+-- | JSON request template for firing commands on Mobile Device in Directory
1317+-- Devices API.
1318+--
1319+-- /See:/ 'mobileDeviceAction' smart constructor.
1320+newtype MobileDeviceAction = MobileDeviceAction
1321+ { _mdaAction :: Maybe Text
1322+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
1323+
1324+-- | Creates a value of 'MobileDeviceAction' with the minimum fields required to make a request.
1325+--
1326+-- Use one of the following lenses to modify other fields as desired:
1327+--
1328+-- * 'mdaAction'
1329+mobileDeviceAction
1330+ :: MobileDeviceAction
1331+mobileDeviceAction =
1332+ MobileDeviceAction
1333+ { _mdaAction = Nothing
1334+ }
1335+
1336+-- | Action to be taken on the Mobile Device
1337+mdaAction :: Lens' MobileDeviceAction (Maybe Text)
1338+mdaAction
1339+ = lens _mdaAction (\ s a -> s{_mdaAction = a})
1340+
1341+--
1342+-- /See:/ 'mobileDeviceItemApplications' smart constructor.
1343+data MobileDeviceItemApplications = MobileDeviceItemApplications
1344+ { _mdiaVersionCode :: !(Maybe Int32)
1345+ , _mdiaVersionName :: !(Maybe Text)
1346+ , _mdiaPackageName :: !(Maybe Text)
1347+ , _mdiaDisplayName :: !(Maybe Text)
1348+ , _mdiaPermission :: !(Maybe [Text])
1349+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
1350+
1351+-- | Creates a value of 'MobileDeviceItemApplications' with the minimum fields required to make a request.
1352+--
1353+-- Use one of the following lenses to modify other fields as desired:
1354+--
1355+-- * 'mdiaVersionCode'
1356+--
1357+-- * 'mdiaVersionName'
1358+--
1359+-- * 'mdiaPackageName'
1360+--
1361+-- * 'mdiaDisplayName'
1362+--
1363+-- * 'mdiaPermission'
1364+mobileDeviceItemApplications
1365+ :: MobileDeviceItemApplications
1366+mobileDeviceItemApplications =
1367+ MobileDeviceItemApplications
1368+ { _mdiaVersionCode = Nothing
1369+ , _mdiaVersionName = Nothing
1370+ , _mdiaPackageName = Nothing
1371+ , _mdiaDisplayName = Nothing
1372+ , _mdiaPermission = Nothing
1373+ }
1374+
1375+-- | Version code of application
1376+mdiaVersionCode :: Lens' MobileDeviceItemApplications (Maybe Int32)
1377+mdiaVersionCode
1378+ = lens _mdiaVersionCode
1379+ (\ s a -> s{_mdiaVersionCode = a})
1380+
1381+-- | Version name of application
1382+mdiaVersionName :: Lens' MobileDeviceItemApplications (Maybe Text)
1383+mdiaVersionName
1384+ = lens _mdiaVersionName
1385+ (\ s a -> s{_mdiaVersionName = a})
1386+
1387+-- | Package name of application
1388+mdiaPackageName :: Lens' MobileDeviceItemApplications (Maybe Text)
1389+mdiaPackageName
1390+ = lens _mdiaPackageName
1391+ (\ s a -> s{_mdiaPackageName = a})
1392+
1393+-- | Display name of application
1394+mdiaDisplayName :: Lens' MobileDeviceItemApplications (Maybe Text)
1395+mdiaDisplayName
1396+ = lens _mdiaDisplayName
1397+ (\ s a -> s{_mdiaDisplayName = a})
1398+
1399+-- | List of Permissions for application
1400+mdiaPermission :: Lens' MobileDeviceItemApplications [Text]
1401+mdiaPermission
1402+ = lens _mdiaPermission
1403+ (\ s a -> s{_mdiaPermission = a})
1404+ . _Default
1405+ . _Coerce
1406+
1407+-- | JSON response template for List Mobile Devices operation in Directory
1408+-- API.
1409+--
1410+-- /See:/ 'mobileDevices' smart constructor.
1411+data MobileDevices = MobileDevices
1412+ { _mdsEtag :: !(Maybe Text)
1413+ , _mdsNextPageToken :: !(Maybe Text)
1414+ , _mdsKind :: !Text
1415+ , _mdsMobiledevices :: !(Maybe [Maybe MobileDevice])
1416+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
1417+
1418+-- | Creates a value of 'MobileDevices' with the minimum fields required to make a request.
1419+--
1420+-- Use one of the following lenses to modify other fields as desired:
1421+--
1422+-- * 'mdsEtag'
1423+--
1424+-- * 'mdsNextPageToken'
1425+--
1426+-- * 'mdsKind'
1427+--
1428+-- * 'mdsMobiledevices'
1429+mobileDevices
1430+ :: MobileDevices
1431+mobileDevices =
1432+ MobileDevices
1433+ { _mdsEtag = Nothing
1434+ , _mdsNextPageToken = Nothing
1435+ , _mdsKind = "admin#directory#mobiledevices"
1436+ , _mdsMobiledevices = Nothing
1437+ }
1438+
1439+-- | ETag of the resource.
1440+mdsEtag :: Lens' MobileDevices (Maybe Text)
1441+mdsEtag = lens _mdsEtag (\ s a -> s{_mdsEtag = a})
1442+
1443+-- | Token used to access next page of this result.
1444+mdsNextPageToken :: Lens' MobileDevices (Maybe Text)
1445+mdsNextPageToken
1446+ = lens _mdsNextPageToken
1447+ (\ s a -> s{_mdsNextPageToken = a})
1448+
1449+-- | Kind of resource this is.
1450+mdsKind :: Lens' MobileDevices Text
1451+mdsKind = lens _mdsKind (\ s a -> s{_mdsKind = a})
1452+
1453+-- | List of Mobile Device objects.
1454+mdsMobiledevices :: Lens' MobileDevices [Maybe MobileDevice]
1455+mdsMobiledevices
1456+ = lens _mdsMobiledevices
1457+ (\ s a -> s{_mdsMobiledevices = a})
1458+ . _Default
1459+ . _Coerce
1460+
1461+-- | Template for a notification resource.
1462+--
1463+-- /See:/ 'notification' smart constructor.
1464+data Notification = Notification
1465+ { _nSubject :: !(Maybe Text)
1466+ , _nEtag :: !(Maybe Text)
1467+ , _nKind :: !Text
1468+ , _nBody :: !(Maybe Text)
1469+ , _nFromAddress :: !(Maybe Text)
1470+ , _nIsUnread :: !(Maybe Bool)
1471+ , _nNotificationId :: !(Maybe Text)
1472+ , _nSendTime :: !(Maybe UTCTime)
1473+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
1474+
1475+-- | Creates a value of 'Notification' with the minimum fields required to make a request.
1476+--
1477+-- Use one of the following lenses to modify other fields as desired:
1478+--
1479+-- * 'nSubject'
1480+--
1481+-- * 'nEtag'
1482+--
1483+-- * 'nKind'
1484+--
1485+-- * 'nBody'
1486+--
1487+-- * 'nFromAddress'
1488+--
1489+-- * 'nIsUnread'
1490+--
1491+-- * 'nNotificationId'
1492+--
1493+-- * 'nSendTime'
1494+notification
1495+ :: Notification
1496+notification =
1497+ Notification
1498+ { _nSubject = Nothing
1499+ , _nEtag = Nothing
1500+ , _nKind = "admin#directory#notification"
1501+ , _nBody = Nothing
1502+ , _nFromAddress = Nothing
1503+ , _nIsUnread = Nothing
1504+ , _nNotificationId = Nothing
1505+ , _nSendTime = Nothing
1506+ }
1507+
1508+-- | Subject of the notification (Read-only)
1509+nSubject :: Lens' Notification (Maybe Text)
1510+nSubject = lens _nSubject (\ s a -> s{_nSubject = a})
1511+
1512+-- | ETag of the resource.
1513+nEtag :: Lens' Notification (Maybe Text)
1514+nEtag = lens _nEtag (\ s a -> s{_nEtag = a})
1515+
1516+-- | The type of the resource.
1517+nKind :: Lens' Notification Text
1518+nKind = lens _nKind (\ s a -> s{_nKind = a})
1519+
1520+-- | Body of the notification (Read-only)
1521+nBody :: Lens' Notification (Maybe Text)
1522+nBody = lens _nBody (\ s a -> s{_nBody = a})
1523+
1524+-- | Address from which the notification is received (Read-only)
1525+nFromAddress :: Lens' Notification (Maybe Text)
1526+nFromAddress
1527+ = lens _nFromAddress (\ s a -> s{_nFromAddress = a})
1528+
1529+-- | Boolean indicating whether the notification is unread or not.
1530+nIsUnread :: Lens' Notification (Maybe Bool)
1531+nIsUnread
1532+ = lens _nIsUnread (\ s a -> s{_nIsUnread = a})
1533+
1534+nNotificationId :: Lens' Notification (Maybe Text)
1535+nNotificationId
1536+ = lens _nNotificationId
1537+ (\ s a -> s{_nNotificationId = a})
1538+
1539+-- | Time at which notification was sent (Read-only)
1540+nSendTime :: Lens' Notification (Maybe UTCTime)
1541+nSendTime
1542+ = lens _nSendTime (\ s a -> s{_nSendTime = a})
1543+
1544+-- | Template for notifications list response.
1545+--
1546+-- /See:/ 'notifications' smart constructor.
1547+data Notifications = Notifications
1548+ { _notEtag :: !(Maybe Text)
1549+ , _notNextPageToken :: !(Maybe Text)
1550+ , _notKind :: !Text
1551+ , _notItems :: !(Maybe [Maybe Notification])
1552+ , _notUnreadNotificationsCount :: !(Maybe Int32)
1553+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
1554+
1555+-- | Creates a value of 'Notifications' with the minimum fields required to make a request.
1556+--
1557+-- Use one of the following lenses to modify other fields as desired:
1558+--
1559+-- * 'notEtag'
1560+--
1561+-- * 'notNextPageToken'
1562+--
1563+-- * 'notKind'
1564+--
1565+-- * 'notItems'
1566+--
1567+-- * 'notUnreadNotificationsCount'
1568+notifications
1569+ :: Notifications
1570+notifications =
1571+ Notifications
1572+ { _notEtag = Nothing
1573+ , _notNextPageToken = Nothing
1574+ , _notKind = "admin#directory#notifications"
1575+ , _notItems = Nothing
1576+ , _notUnreadNotificationsCount = Nothing
1577+ }
1578+
1579+-- | ETag of the resource.
1580+notEtag :: Lens' Notifications (Maybe Text)
1581+notEtag = lens _notEtag (\ s a -> s{_notEtag = a})
1582+
1583+-- | Token for fetching the next page of notifications.
1584+notNextPageToken :: Lens' Notifications (Maybe Text)
1585+notNextPageToken
1586+ = lens _notNextPageToken
1587+ (\ s a -> s{_notNextPageToken = a})
1588+
1589+-- | The type of the resource.
1590+notKind :: Lens' Notifications Text
1591+notKind = lens _notKind (\ s a -> s{_notKind = a})
1592+
1593+-- | List of notifications in this page.
1594+notItems :: Lens' Notifications [Maybe Notification]
1595+notItems
1596+ = lens _notItems (\ s a -> s{_notItems = a}) .
1597+ _Default
1598+ . _Coerce
1599+
1600+-- | Number of unread notification for the domain.
1601+notUnreadNotificationsCount :: Lens' Notifications (Maybe Int32)
1602+notUnreadNotificationsCount
1603+ = lens _notUnreadNotificationsCount
1604+ (\ s a -> s{_notUnreadNotificationsCount = a})
1605+
1606+-- | JSON template for Org Unit resource in Directory API.
1607+--
1608+-- /See:/ 'orgUnit' smart constructor.
1609+data OrgUnit = OrgUnit
1610+ { _oEtag :: !(Maybe Text)
1611+ , _oParentOrgUnitPath :: !(Maybe Text)
1612+ , _oKind :: !Text
1613+ , _oOrgUnitPath :: !(Maybe Text)
1614+ , _oName :: !(Maybe Text)
1615+ , _oBlockInheritance :: !(Maybe Bool)
1616+ , _oParentOrgUnitId :: !(Maybe Text)
1617+ , _oDescription :: !(Maybe Text)
1618+ , _oOrgUnitId :: !(Maybe Text)
1619+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
1620+
1621+-- | Creates a value of 'OrgUnit' with the minimum fields required to make a request.
1622+--
1623+-- Use one of the following lenses to modify other fields as desired:
1624+--
1625+-- * 'oEtag'
1626+--
1627+-- * 'oParentOrgUnitPath'
1628+--
1629+-- * 'oKind'
1630+--
1631+-- * 'oOrgUnitPath'
1632+--
1633+-- * 'oName'
1634+--
1635+-- * 'oBlockInheritance'
1636+--
1637+-- * 'oParentOrgUnitId'
1638+--
1639+-- * 'oDescription'
1640+--
1641+-- * 'oOrgUnitId'
1642+orgUnit
1643+ :: OrgUnit
1644+orgUnit =
1645+ OrgUnit
1646+ { _oEtag = Nothing
1647+ , _oParentOrgUnitPath = Nothing
1648+ , _oKind = "admin#directory#orgUnit"
1649+ , _oOrgUnitPath = Nothing
1650+ , _oName = Nothing
1651+ , _oBlockInheritance = Nothing
1652+ , _oParentOrgUnitId = Nothing
1653+ , _oDescription = Nothing
1654+ , _oOrgUnitId = Nothing
1655+ }
1656+
1657+-- | ETag of the resource.
1658+oEtag :: Lens' OrgUnit (Maybe Text)
1659+oEtag = lens _oEtag (\ s a -> s{_oEtag = a})
1660+
1661+-- | Path of parent OrgUnit
1662+oParentOrgUnitPath :: Lens' OrgUnit (Maybe Text)
1663+oParentOrgUnitPath
1664+ = lens _oParentOrgUnitPath
1665+ (\ s a -> s{_oParentOrgUnitPath = a})
1666+
1667+-- | Kind of resource this is.
1668+oKind :: Lens' OrgUnit Text
1669+oKind = lens _oKind (\ s a -> s{_oKind = a})
1670+
1671+-- | Path of OrgUnit
1672+oOrgUnitPath :: Lens' OrgUnit (Maybe Text)
1673+oOrgUnitPath
1674+ = lens _oOrgUnitPath (\ s a -> s{_oOrgUnitPath = a})
1675+
1676+-- | Name of OrgUnit
1677+oName :: Lens' OrgUnit (Maybe Text)
1678+oName = lens _oName (\ s a -> s{_oName = a})
1679+
1680+-- | Should block inheritance
1681+oBlockInheritance :: Lens' OrgUnit (Maybe Bool)
1682+oBlockInheritance
1683+ = lens _oBlockInheritance
1684+ (\ s a -> s{_oBlockInheritance = a})
1685+
1686+-- | Id of parent OrgUnit
1687+oParentOrgUnitId :: Lens' OrgUnit (Maybe Text)
1688+oParentOrgUnitId
1689+ = lens _oParentOrgUnitId
1690+ (\ s a -> s{_oParentOrgUnitId = a})
1691+
1692+-- | Description of OrgUnit
1693+oDescription :: Lens' OrgUnit (Maybe Text)
1694+oDescription
1695+ = lens _oDescription (\ s a -> s{_oDescription = a})
1696+
1697+-- | Id of OrgUnit
1698+oOrgUnitId :: Lens' OrgUnit (Maybe Text)
1699+oOrgUnitId
1700+ = lens _oOrgUnitId (\ s a -> s{_oOrgUnitId = a})
1701+
1702+-- | JSON response template for List Organization Units operation in
1703+-- Directory API.
1704+--
1705+-- /See:/ 'orgUnits' smart constructor.
1706+data OrgUnits = OrgUnits
1707+ { _ouEtag :: !(Maybe Text)
1708+ , _ouKind :: !Text
1709+ , _ouOrganizationUnits :: !(Maybe [Maybe OrgUnit])
1710+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
1711+
1712+-- | Creates a value of 'OrgUnits' with the minimum fields required to make a request.
1713+--
1714+-- Use one of the following lenses to modify other fields as desired:
1715+--
1716+-- * 'ouEtag'
1717+--
1718+-- * 'ouKind'
1719+--
1720+-- * 'ouOrganizationUnits'
1721+orgUnits
1722+ :: OrgUnits
1723+orgUnits =
1724+ OrgUnits
1725+ { _ouEtag = Nothing
1726+ , _ouKind = "admin#directory#orgUnits"
1727+ , _ouOrganizationUnits = Nothing
1728+ }
1729+
1730+-- | ETag of the resource.
1731+ouEtag :: Lens' OrgUnits (Maybe Text)
1732+ouEtag = lens _ouEtag (\ s a -> s{_ouEtag = a})
1733+
1734+-- | Kind of resource this is.
1735+ouKind :: Lens' OrgUnits Text
1736+ouKind = lens _ouKind (\ s a -> s{_ouKind = a})
1737+
1738+-- | List of user objects.
1739+ouOrganizationUnits :: Lens' OrgUnits [Maybe OrgUnit]
1740+ouOrganizationUnits
1741+ = lens _ouOrganizationUnits
1742+ (\ s a -> s{_ouOrganizationUnits = a})
1743+ . _Default
1744+ . _Coerce
1745+
1746+-- | JSON template for Schema resource in Directory API.
1747+--
1748+-- /See:/ 'schema' smart constructor.
1749+data Schema = Schema
1750+ { _schEtag :: !(Maybe Text)
1751+ , _schKind :: !Text
1752+ , _schSchemaName :: !(Maybe Text)
1753+ , _schSchemaId :: !(Maybe Text)
1754+ , _schFields :: !(Maybe [Maybe SchemaFieldSpec])
1755+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
1756+
1757+-- | Creates a value of 'Schema' with the minimum fields required to make a request.
1758+--
1759+-- Use one of the following lenses to modify other fields as desired:
1760+--
1761+-- * 'schEtag'
1762+--
1763+-- * 'schKind'
1764+--
1765+-- * 'schSchemaName'
1766+--
1767+-- * 'schSchemaId'
1768+--
1769+-- * 'schFields'
1770+schema
1771+ :: Schema
1772+schema =
1773+ Schema
1774+ { _schEtag = Nothing
1775+ , _schKind = "admin#directory#schema"
1776+ , _schSchemaName = Nothing
1777+ , _schSchemaId = Nothing
1778+ , _schFields = Nothing
1779+ }
1780+
1781+-- | ETag of the resource.
1782+schEtag :: Lens' Schema (Maybe Text)
1783+schEtag = lens _schEtag (\ s a -> s{_schEtag = a})
1784+
1785+-- | Kind of resource this is.
1786+schKind :: Lens' Schema Text
1787+schKind = lens _schKind (\ s a -> s{_schKind = a})
1788+
1789+-- | Schema name
1790+schSchemaName :: Lens' Schema (Maybe Text)
1791+schSchemaName
1792+ = lens _schSchemaName
1793+ (\ s a -> s{_schSchemaName = a})
1794+
1795+-- | Unique identifier of Schema (Read-only)
1796+schSchemaId :: Lens' Schema (Maybe Text)
1797+schSchemaId
1798+ = lens _schSchemaId (\ s a -> s{_schSchemaId = a})
1799+
1800+-- | Fields of Schema
1801+schFields :: Lens' Schema [Maybe SchemaFieldSpec]
1802+schFields
1803+ = lens _schFields (\ s a -> s{_schFields = a}) .
1804+ _Default
1805+ . _Coerce
1806+
1807+-- | JSON template for FieldSpec resource for Schemas in Directory API.
1808+--
1809+-- /See:/ 'schemaFieldSpec' smart constructor.
1810+data SchemaFieldSpec = SchemaFieldSpec
1811+ { _sfsEtag :: !(Maybe Text)
1812+ , _sfsKind :: !Text
1813+ , _sfsNumericIndexingSpec :: !(Maybe SchemaFieldSpecNumericIndexingSpec)
1814+ , _sfsReadAccessType :: !Text
1815+ , _sfsFieldId :: !(Maybe Text)
1816+ , _sfsIndexed :: !Bool
1817+ , _sfsFieldType :: !(Maybe Text)
1818+ , _sfsFieldName :: !(Maybe Text)
1819+ , _sfsMultiValued :: !(Maybe Bool)
1820+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
1821+
1822+-- | Creates a value of 'SchemaFieldSpec' with the minimum fields required to make a request.
1823+--
1824+-- Use one of the following lenses to modify other fields as desired:
1825+--
1826+-- * 'sfsEtag'
1827+--
1828+-- * 'sfsKind'
1829+--
1830+-- * 'sfsNumericIndexingSpec'
1831+--
1832+-- * 'sfsReadAccessType'
1833+--
1834+-- * 'sfsFieldId'
1835+--
1836+-- * 'sfsIndexed'
1837+--
1838+-- * 'sfsFieldType'
1839+--
1840+-- * 'sfsFieldName'
1841+--
1842+-- * 'sfsMultiValued'
1843+schemaFieldSpec
1844+ :: SchemaFieldSpec
1845+schemaFieldSpec =
1846+ SchemaFieldSpec
1847+ { _sfsEtag = Nothing
1848+ , _sfsKind = "admin#directory#schema#fieldspec"
1849+ , _sfsNumericIndexingSpec = Nothing
1850+ , _sfsReadAccessType = "ALL_DOMAIN_USERS"
1851+ , _sfsFieldId = Nothing
1852+ , _sfsIndexed = True
1853+ , _sfsFieldType = Nothing
1854+ , _sfsFieldName = Nothing
1855+ , _sfsMultiValued = Nothing
1856+ }
1857+
1858+-- | ETag of the resource.
1859+sfsEtag :: Lens' SchemaFieldSpec (Maybe Text)
1860+sfsEtag = lens _sfsEtag (\ s a -> s{_sfsEtag = a})
1861+
1862+-- | Kind of resource this is.
1863+sfsKind :: Lens' SchemaFieldSpec Text
1864+sfsKind = lens _sfsKind (\ s a -> s{_sfsKind = a})
1865+
1866+-- | Indexing spec for a numeric field. By default, only exact match queries
1867+-- will be supported for numeric fields. Setting the numericIndexingSpec
1868+-- allows range queries to be supported.
1869+sfsNumericIndexingSpec :: Lens' SchemaFieldSpec (Maybe SchemaFieldSpecNumericIndexingSpec)
1870+sfsNumericIndexingSpec
1871+ = lens _sfsNumericIndexingSpec
1872+ (\ s a -> s{_sfsNumericIndexingSpec = a})
1873+
1874+-- | Read ACLs on the field specifying who can view values of this field.
1875+-- Valid values are \"ALL_DOMAIN_USERS\" and \"ADMINS_AND_SELF\".
1876+sfsReadAccessType :: Lens' SchemaFieldSpec Text
1877+sfsReadAccessType
1878+ = lens _sfsReadAccessType
1879+ (\ s a -> s{_sfsReadAccessType = a})
1880+
1881+-- | Unique identifier of Field (Read-only)
1882+sfsFieldId :: Lens' SchemaFieldSpec (Maybe Text)
1883+sfsFieldId
1884+ = lens _sfsFieldId (\ s a -> s{_sfsFieldId = a})
1885+
1886+-- | Boolean specifying whether the field is indexed or not.
1887+sfsIndexed :: Lens' SchemaFieldSpec Bool
1888+sfsIndexed
1889+ = lens _sfsIndexed (\ s a -> s{_sfsIndexed = a})
1890+
1891+-- | Type of the field.
1892+sfsFieldType :: Lens' SchemaFieldSpec (Maybe Text)
1893+sfsFieldType
1894+ = lens _sfsFieldType (\ s a -> s{_sfsFieldType = a})
1895+
1896+-- | Name of the field.
1897+sfsFieldName :: Lens' SchemaFieldSpec (Maybe Text)
1898+sfsFieldName
1899+ = lens _sfsFieldName (\ s a -> s{_sfsFieldName = a})
1900+
1901+-- | Boolean specifying whether this is a multi-valued field or not.
1902+sfsMultiValued :: Lens' SchemaFieldSpec (Maybe Bool)
1903+sfsMultiValued
1904+ = lens _sfsMultiValued
1905+ (\ s a -> s{_sfsMultiValued = a})
1906+
1907+-- | Indexing spec for a numeric field. By default, only exact match queries
1908+-- will be supported for numeric fields. Setting the numericIndexingSpec
1909+-- allows range queries to be supported.
1910+--
1911+-- /See:/ 'schemaFieldSpecNumericIndexingSpec' smart constructor.
1912+data SchemaFieldSpecNumericIndexingSpec = SchemaFieldSpecNumericIndexingSpec
1913+ { _sfsnisMaxValue :: !(Maybe Double)
1914+ , _sfsnisMinValue :: !(Maybe Double)
1915+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
1916+
1917+-- | Creates a value of 'SchemaFieldSpecNumericIndexingSpec' with the minimum fields required to make a request.
1918+--
1919+-- Use one of the following lenses to modify other fields as desired:
1920+--
1921+-- * 'sfsnisMaxValue'
1922+--
1923+-- * 'sfsnisMinValue'
1924+schemaFieldSpecNumericIndexingSpec
1925+ :: SchemaFieldSpecNumericIndexingSpec
1926+schemaFieldSpecNumericIndexingSpec =
1927+ SchemaFieldSpecNumericIndexingSpec
1928+ { _sfsnisMaxValue = Nothing
1929+ , _sfsnisMinValue = Nothing
1930+ }
1931+
1932+-- | Maximum value of this field. This is meant to be indicative rather than
1933+-- enforced. Values outside this range will still be indexed, but search
1934+-- may not be as performant.
1935+sfsnisMaxValue :: Lens' SchemaFieldSpecNumericIndexingSpec (Maybe Double)
1936+sfsnisMaxValue
1937+ = lens _sfsnisMaxValue
1938+ (\ s a -> s{_sfsnisMaxValue = a})
1939+
1940+-- | Minimum value of this field. This is meant to be indicative rather than
1941+-- enforced. Values outside this range will still be indexed, but search
1942+-- may not be as performant.
1943+sfsnisMinValue :: Lens' SchemaFieldSpecNumericIndexingSpec (Maybe Double)
1944+sfsnisMinValue
1945+ = lens _sfsnisMinValue
1946+ (\ s a -> s{_sfsnisMinValue = a})
1947+
1948+-- | JSON response template for List Schema operation in Directory API.
1949+--
1950+-- /See:/ 'schemas' smart constructor.
1951+data Schemas = Schemas
1952+ { _sEtag :: !(Maybe Text)
1953+ , _sSchemas :: !(Maybe [Maybe Schema])
1954+ , _sKind :: !Text
1955+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
1956+
1957+-- | Creates a value of 'Schemas' with the minimum fields required to make a request.
1958+--
1959+-- Use one of the following lenses to modify other fields as desired:
1960+--
1961+-- * 'sEtag'
1962+--
1963+-- * 'sSchemas'
1964+--
1965+-- * 'sKind'
1966+schemas
1967+ :: Schemas
1968+schemas =
1969+ Schemas
1970+ { _sEtag = Nothing
1971+ , _sSchemas = Nothing
1972+ , _sKind = "admin#directory#schemas"
1973+ }
1974+
1975+-- | ETag of the resource.
1976+sEtag :: Lens' Schemas (Maybe Text)
1977+sEtag = lens _sEtag (\ s a -> s{_sEtag = a})
1978+
1979+-- | List of UserSchema objects.
1980+sSchemas :: Lens' Schemas [Maybe Schema]
1981+sSchemas
1982+ = lens _sSchemas (\ s a -> s{_sSchemas = a}) .
1983+ _Default
1984+ . _Coerce
1985+
1986+-- | Kind of resource this is.
1987+sKind :: Lens' Schemas Text
1988+sKind = lens _sKind (\ s a -> s{_sKind = a})
1989+
1990+-- | JSON template for token resource in Directory API.
1991+--
1992+-- /See:/ 'token' smart constructor.
1993+data Token = Token
1994+ { _tokClientId :: !(Maybe Text)
1995+ , _tokEtag :: !(Maybe Text)
1996+ , _tokDisplayText :: !(Maybe Text)
1997+ , _tokKind :: !Text
1998+ , _tokScopes :: !(Maybe [Text])
1999+ , _tokNativeApp :: !(Maybe Bool)
2000+ , _tokAnonymous :: !(Maybe Bool)
2001+ , _tokUserKey :: !(Maybe Text)
2002+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
2003+
2004+-- | Creates a value of 'Token' with the minimum fields required to make a request.
2005+--
2006+-- Use one of the following lenses to modify other fields as desired:
2007+--
2008+-- * 'tokClientId'
2009+--
2010+-- * 'tokEtag'
2011+--
2012+-- * 'tokDisplayText'
2013+--
2014+-- * 'tokKind'
2015+--
2016+-- * 'tokScopes'
2017+--
2018+-- * 'tokNativeApp'
2019+--
2020+-- * 'tokAnonymous'
2021+--
2022+-- * 'tokUserKey'
2023+token
2024+ :: Token
2025+token =
2026+ Token
2027+ { _tokClientId = Nothing
2028+ , _tokEtag = Nothing
2029+ , _tokDisplayText = Nothing
2030+ , _tokKind = "admin#directory#token"
2031+ , _tokScopes = Nothing
2032+ , _tokNativeApp = Nothing
2033+ , _tokAnonymous = Nothing
2034+ , _tokUserKey = Nothing
2035+ }
2036+
2037+-- | The Client ID of the application the token is issued to.
2038+tokClientId :: Lens' Token (Maybe Text)
2039+tokClientId
2040+ = lens _tokClientId (\ s a -> s{_tokClientId = a})
2041+
2042+-- | ETag of the resource.
2043+tokEtag :: Lens' Token (Maybe Text)
2044+tokEtag = lens _tokEtag (\ s a -> s{_tokEtag = a})
2045+
2046+-- | The displayable name of the application the token is issued to.
2047+tokDisplayText :: Lens' Token (Maybe Text)
2048+tokDisplayText
2049+ = lens _tokDisplayText
2050+ (\ s a -> s{_tokDisplayText = a})
2051+
2052+-- | The type of the API resource. This is always admin#directory#token.
2053+tokKind :: Lens' Token Text
2054+tokKind = lens _tokKind (\ s a -> s{_tokKind = a})
2055+
2056+-- | A list of authorization scopes the application is granted.
2057+tokScopes :: Lens' Token [Text]
2058+tokScopes
2059+ = lens _tokScopes (\ s a -> s{_tokScopes = a}) .
2060+ _Default
2061+ . _Coerce
2062+
2063+-- | Whether the token is issued to an installed application. The value is
2064+-- true if the application is installed to a desktop or mobile device.
2065+tokNativeApp :: Lens' Token (Maybe Bool)
2066+tokNativeApp
2067+ = lens _tokNativeApp (\ s a -> s{_tokNativeApp = a})
2068+
2069+-- | Whether the application is registered with Google. The value is true if
2070+-- the application has an anonymous Client ID.
2071+tokAnonymous :: Lens' Token (Maybe Bool)
2072+tokAnonymous
2073+ = lens _tokAnonymous (\ s a -> s{_tokAnonymous = a})
2074+
2075+-- | The unique ID of the user that issued the token.
2076+tokUserKey :: Lens' Token (Maybe Text)
2077+tokUserKey
2078+ = lens _tokUserKey (\ s a -> s{_tokUserKey = a})
2079+
2080+-- | JSON response template for List tokens operation in Directory API.
2081+--
2082+-- /See:/ 'tokens' smart constructor.
2083+data Tokens = Tokens
2084+ { _tEtag :: !(Maybe Text)
2085+ , _tKind :: !Text
2086+ , _tItems :: !(Maybe [Maybe Token])
2087+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
2088+
2089+-- | Creates a value of 'Tokens' with the minimum fields required to make a request.
2090+--
2091+-- Use one of the following lenses to modify other fields as desired:
2092+--
2093+-- * 'tEtag'
2094+--
2095+-- * 'tKind'
2096+--
2097+-- * 'tItems'
2098+tokens
2099+ :: Tokens
2100+tokens =
2101+ Tokens
2102+ { _tEtag = Nothing
2103+ , _tKind = "admin#directory#tokenList"
2104+ , _tItems = Nothing
2105+ }
2106+
2107+-- | ETag of the resource.
2108+tEtag :: Lens' Tokens (Maybe Text)
2109+tEtag = lens _tEtag (\ s a -> s{_tEtag = a})
2110+
2111+-- | The type of the API resource. This is always admin#directory#tokenList.
2112+tKind :: Lens' Tokens Text
2113+tKind = lens _tKind (\ s a -> s{_tKind = a})
2114+
2115+-- | A list of Token resources.
2116+tItems :: Lens' Tokens [Maybe Token]
2117+tItems
2118+ = lens _tItems (\ s a -> s{_tItems = a}) . _Default .
2119+ _Coerce
2120+
2121+-- | JSON template for User object in Directory API.
2122+--
2123+-- /See:/ 'user' smart constructor.
2124+data User = User
2125+ { _useCreationTime :: !(Maybe UTCTime)
2126+ , _useLastLoginTime :: !(Maybe UTCTime)
2127+ , _useThumbnailPhotoEtag :: !(Maybe Text)
2128+ , _useEtag :: !(Maybe Text)
2129+ , _useIpWhitelisted :: !(Maybe Bool)
2130+ , _useRelations :: !(Maybe (Either Text Int64))
2131+ , _useHashFunction :: !(Maybe Text)
2132+ , _useKind :: !Text
2133+ , _useChangePasswordAtNextLogin :: !(Maybe Bool)
2134+ , _useWebsites :: !(Maybe (Either Text Int64))
2135+ , _useAddresses :: !(Maybe (Either Text Int64))
2136+ , _useAliases :: !(Maybe [Text])
2137+ , _useThumbnailPhotoUrl :: !(Maybe Text)
2138+ , _useExternalIds :: !(Maybe (Either Text Int64))
2139+ , _useSuspended :: !(Maybe Bool)
2140+ , _useAgreedToTerms :: !(Maybe Bool)
2141+ , _useDeletionTime :: !(Maybe UTCTime)
2142+ , _useNonEditableAliases :: !(Maybe [Text])
2143+ , _useOrgUnitPath :: !(Maybe Text)
2144+ , _useCustomerId :: !(Maybe Text)
2145+ , _useIncludeInGlobalAddressList :: !(Maybe Bool)
2146+ , _usePhones :: !(Maybe (Either Text Int64))
2147+ , _useName :: !(Maybe (Maybe UserName))
2148+ , _usePassword :: !(Maybe Text)
2149+ , _useEmails :: !(Maybe (Either Text Int64))
2150+ , _useIms :: !(Maybe (Either Text Int64))
2151+ , _useIsAdmin :: !(Maybe Bool)
2152+ , _useId :: !(Maybe Text)
2153+ , _useOrganizations :: !(Maybe (Either Text Int64))
2154+ , _usePrimaryEmail :: !(Maybe Text)
2155+ , _useNotes :: !(Maybe (Either Text Int64))
2156+ , _useIsDelegatedAdmin :: !(Maybe Bool)
2157+ , _useIsMailboxSetup :: !(Maybe Bool)
2158+ , _useCustomSchemas :: !(Maybe UserCustomSchemas)
2159+ , _useSuspensionReason :: !(Maybe Text)
2160+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
2161+
2162+-- | Creates a value of 'User' with the minimum fields required to make a request.
2163+--
2164+-- Use one of the following lenses to modify other fields as desired:
2165+--
2166+-- * 'useCreationTime'
2167+--
2168+-- * 'useLastLoginTime'
2169+--
2170+-- * 'useThumbnailPhotoEtag'
2171+--
2172+-- * 'useEtag'
2173+--
2174+-- * 'useIpWhitelisted'
2175+--
2176+-- * 'useRelations'
2177+--
2178+-- * 'useHashFunction'
2179+--
2180+-- * 'useKind'
2181+--
2182+-- * 'useChangePasswordAtNextLogin'
2183+--
2184+-- * 'useWebsites'
2185+--
2186+-- * 'useAddresses'
2187+--
2188+-- * 'useAliases'
2189+--
2190+-- * 'useThumbnailPhotoUrl'
2191+--
2192+-- * 'useExternalIds'
2193+--
2194+-- * 'useSuspended'
2195+--
2196+-- * 'useAgreedToTerms'
2197+--
2198+-- * 'useDeletionTime'
2199+--
2200+-- * 'useNonEditableAliases'
2201+--
2202+-- * 'useOrgUnitPath'
2203+--
2204+-- * 'useCustomerId'
2205+--
2206+-- * 'useIncludeInGlobalAddressList'
2207+--
2208+-- * 'usePhones'
2209+--
2210+-- * 'useName'
2211+--
2212+-- * 'usePassword'
2213+--
2214+-- * 'useEmails'
2215+--
2216+-- * 'useIms'
2217+--
2218+-- * 'useIsAdmin'
2219+--
2220+-- * 'useId'
2221+--
2222+-- * 'useOrganizations'
2223+--
2224+-- * 'usePrimaryEmail'
2225+--
2226+-- * 'useNotes'
2227+--
2228+-- * 'useIsDelegatedAdmin'
2229+--
2230+-- * 'useIsMailboxSetup'
2231+--
2232+-- * 'useCustomSchemas'
2233+--
2234+-- * 'useSuspensionReason'
2235+user
2236+ :: User
2237+user =
2238+ User
2239+ { _useCreationTime = Nothing
2240+ , _useLastLoginTime = Nothing
2241+ , _useThumbnailPhotoEtag = Nothing
2242+ , _useEtag = Nothing
2243+ , _useIpWhitelisted = Nothing
2244+ , _useRelations = Nothing
2245+ , _useHashFunction = Nothing
2246+ , _useKind = "admin#directory#user"
2247+ , _useChangePasswordAtNextLogin = Nothing
2248+ , _useWebsites = Nothing
2249+ , _useAddresses = Nothing
2250+ , _useAliases = Nothing
2251+ , _useThumbnailPhotoUrl = Nothing
2252+ , _useExternalIds = Nothing
2253+ , _useSuspended = Nothing
2254+ , _useAgreedToTerms = Nothing
2255+ , _useDeletionTime = Nothing
2256+ , _useNonEditableAliases = Nothing
2257+ , _useOrgUnitPath = Nothing
2258+ , _useCustomerId = Nothing
2259+ , _useIncludeInGlobalAddressList = Nothing
2260+ , _usePhones = Nothing
2261+ , _useName = Nothing
2262+ , _usePassword = Nothing
2263+ , _useEmails = Nothing
2264+ , _useIms = Nothing
2265+ , _useIsAdmin = Nothing
2266+ , _useId = Nothing
2267+ , _useOrganizations = Nothing
2268+ , _usePrimaryEmail = Nothing
2269+ , _useNotes = Nothing
2270+ , _useIsDelegatedAdmin = Nothing
2271+ , _useIsMailboxSetup = Nothing
2272+ , _useCustomSchemas = Nothing
2273+ , _useSuspensionReason = Nothing
2274+ }
2275+
2276+-- | User\'s Google account creation time. (Read-only)
2277+useCreationTime :: Lens' User (Maybe UTCTime)
2278+useCreationTime
2279+ = lens _useCreationTime
2280+ (\ s a -> s{_useCreationTime = a})
2281+
2282+-- | User\'s last login time. (Read-only)
2283+useLastLoginTime :: Lens' User (Maybe UTCTime)
2284+useLastLoginTime
2285+ = lens _useLastLoginTime
2286+ (\ s a -> s{_useLastLoginTime = a})
2287+
2288+-- | ETag of the user\'s photo (Read-only)
2289+useThumbnailPhotoEtag :: Lens' User (Maybe Text)
2290+useThumbnailPhotoEtag
2291+ = lens _useThumbnailPhotoEtag
2292+ (\ s a -> s{_useThumbnailPhotoEtag = a})
2293+
2294+-- | ETag of the resource.
2295+useEtag :: Lens' User (Maybe Text)
2296+useEtag = lens _useEtag (\ s a -> s{_useEtag = a})
2297+
2298+-- | Boolean indicating if ip is whitelisted
2299+useIpWhitelisted :: Lens' User (Maybe Bool)
2300+useIpWhitelisted
2301+ = lens _useIpWhitelisted
2302+ (\ s a -> s{_useIpWhitelisted = a})
2303+
2304+useRelations :: Lens' User (Maybe (Either Text Int64))
2305+useRelations
2306+ = lens _useRelations (\ s a -> s{_useRelations = a})
2307+
2308+-- | Hash function name for password. Supported are MD5, SHA-1 and crypt
2309+useHashFunction :: Lens' User (Maybe Text)
2310+useHashFunction
2311+ = lens _useHashFunction
2312+ (\ s a -> s{_useHashFunction = a})
2313+
2314+-- | Kind of resource this is.
2315+useKind :: Lens' User Text
2316+useKind = lens _useKind (\ s a -> s{_useKind = a})
2317+
2318+-- | Boolean indicating if the user should change password in next login
2319+useChangePasswordAtNextLogin :: Lens' User (Maybe Bool)
2320+useChangePasswordAtNextLogin
2321+ = lens _useChangePasswordAtNextLogin
2322+ (\ s a -> s{_useChangePasswordAtNextLogin = a})
2323+
2324+useWebsites :: Lens' User (Maybe (Either Text Int64))
2325+useWebsites
2326+ = lens _useWebsites (\ s a -> s{_useWebsites = a})
2327+
2328+useAddresses :: Lens' User (Maybe (Either Text Int64))
2329+useAddresses
2330+ = lens _useAddresses (\ s a -> s{_useAddresses = a})
2331+
2332+-- | List of aliases (Read-only)
2333+useAliases :: Lens' User [Text]
2334+useAliases
2335+ = lens _useAliases (\ s a -> s{_useAliases = a}) .
2336+ _Default
2337+ . _Coerce
2338+
2339+-- | Photo Url of the user (Read-only)
2340+useThumbnailPhotoUrl :: Lens' User (Maybe Text)
2341+useThumbnailPhotoUrl
2342+ = lens _useThumbnailPhotoUrl
2343+ (\ s a -> s{_useThumbnailPhotoUrl = a})
2344+
2345+useExternalIds :: Lens' User (Maybe (Either Text Int64))
2346+useExternalIds
2347+ = lens _useExternalIds
2348+ (\ s a -> s{_useExternalIds = a})
2349+
2350+-- | Indicates if user is suspended
2351+useSuspended :: Lens' User (Maybe Bool)
2352+useSuspended
2353+ = lens _useSuspended (\ s a -> s{_useSuspended = a})
2354+
2355+-- | Indicates if user has agreed to terms (Read-only)
2356+useAgreedToTerms :: Lens' User (Maybe Bool)
2357+useAgreedToTerms
2358+ = lens _useAgreedToTerms
2359+ (\ s a -> s{_useAgreedToTerms = a})
2360+
2361+useDeletionTime :: Lens' User (Maybe UTCTime)
2362+useDeletionTime
2363+ = lens _useDeletionTime
2364+ (\ s a -> s{_useDeletionTime = a})
2365+
2366+-- | List of non editable aliases (Read-only)
2367+useNonEditableAliases :: Lens' User [Text]
2368+useNonEditableAliases
2369+ = lens _useNonEditableAliases
2370+ (\ s a -> s{_useNonEditableAliases = a})
2371+ . _Default
2372+ . _Coerce
2373+
2374+-- | OrgUnit of User
2375+useOrgUnitPath :: Lens' User (Maybe Text)
2376+useOrgUnitPath
2377+ = lens _useOrgUnitPath
2378+ (\ s a -> s{_useOrgUnitPath = a})
2379+
2380+-- | CustomerId of User (Read-only)
2381+useCustomerId :: Lens' User (Maybe Text)
2382+useCustomerId
2383+ = lens _useCustomerId
2384+ (\ s a -> s{_useCustomerId = a})
2385+
2386+-- | Boolean indicating if user is included in Global Address List
2387+useIncludeInGlobalAddressList :: Lens' User (Maybe Bool)
2388+useIncludeInGlobalAddressList
2389+ = lens _useIncludeInGlobalAddressList
2390+ (\ s a -> s{_useIncludeInGlobalAddressList = a})
2391+
2392+usePhones :: Lens' User (Maybe (Either Text Int64))
2393+usePhones
2394+ = lens _usePhones (\ s a -> s{_usePhones = a})
2395+
2396+-- | User\'s name
2397+useName :: Lens' User (Maybe (Maybe UserName))
2398+useName = lens _useName (\ s a -> s{_useName = a})
2399+
2400+-- | User\'s password
2401+usePassword :: Lens' User (Maybe Text)
2402+usePassword
2403+ = lens _usePassword (\ s a -> s{_usePassword = a})
2404+
2405+useEmails :: Lens' User (Maybe (Either Text Int64))
2406+useEmails
2407+ = lens _useEmails (\ s a -> s{_useEmails = a})
2408+
2409+useIms :: Lens' User (Maybe (Either Text Int64))
2410+useIms = lens _useIms (\ s a -> s{_useIms = a})
2411+
2412+-- | Boolean indicating if the user is admin (Read-only)
2413+useIsAdmin :: Lens' User (Maybe Bool)
2414+useIsAdmin
2415+ = lens _useIsAdmin (\ s a -> s{_useIsAdmin = a})
2416+
2417+-- | Unique identifier of User (Read-only)
2418+useId :: Lens' User (Maybe Text)
2419+useId = lens _useId (\ s a -> s{_useId = a})
2420+
2421+useOrganizations :: Lens' User (Maybe (Either Text Int64))
2422+useOrganizations
2423+ = lens _useOrganizations
2424+ (\ s a -> s{_useOrganizations = a})
2425+
2426+-- | username of User
2427+usePrimaryEmail :: Lens' User (Maybe Text)
2428+usePrimaryEmail
2429+ = lens _usePrimaryEmail
2430+ (\ s a -> s{_usePrimaryEmail = a})
2431+
2432+useNotes :: Lens' User (Maybe (Either Text Int64))
2433+useNotes = lens _useNotes (\ s a -> s{_useNotes = a})
2434+
2435+-- | Boolean indicating if the user is delegated admin (Read-only)
2436+useIsDelegatedAdmin :: Lens' User (Maybe Bool)
2437+useIsDelegatedAdmin
2438+ = lens _useIsDelegatedAdmin
2439+ (\ s a -> s{_useIsDelegatedAdmin = a})
2440+
2441+-- | Is mailbox setup (Read-only)
2442+useIsMailboxSetup :: Lens' User (Maybe Bool)
2443+useIsMailboxSetup
2444+ = lens _useIsMailboxSetup
2445+ (\ s a -> s{_useIsMailboxSetup = a})
2446+
2447+-- | Custom fields of the user.
2448+useCustomSchemas :: Lens' User (Maybe UserCustomSchemas)
2449+useCustomSchemas
2450+ = lens _useCustomSchemas
2451+ (\ s a -> s{_useCustomSchemas = a})
2452+
2453+-- | Suspension reason if user is suspended (Read-only)
2454+useSuspensionReason :: Lens' User (Maybe Text)
2455+useSuspensionReason
2456+ = lens _useSuspensionReason
2457+ (\ s a -> s{_useSuspensionReason = a})
2458+
2459+-- | JSON template for About (notes) of a user in Directory API.
2460+--
2461+-- /See:/ 'userAbout' smart constructor.
2462+data UserAbout = UserAbout
2463+ { _uaValue :: !(Maybe Text)
2464+ , _uaContentType :: !(Maybe Text)
2465+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
2466+
2467+-- | Creates a value of 'UserAbout' with the minimum fields required to make a request.
2468+--
2469+-- Use one of the following lenses to modify other fields as desired:
2470+--
2471+-- * 'uaValue'
2472+--
2473+-- * 'uaContentType'
2474+userAbout
2475+ :: UserAbout
2476+userAbout =
2477+ UserAbout
2478+ { _uaValue = Nothing
2479+ , _uaContentType = Nothing
2480+ }
2481+
2482+-- | Actual value of notes.
2483+uaValue :: Lens' UserAbout (Maybe Text)
2484+uaValue = lens _uaValue (\ s a -> s{_uaValue = a})
2485+
2486+-- | About entry can have a type which indicates the content type. It can
2487+-- either be plain or html. By default, notes contents are assumed to
2488+-- contain plain text.
2489+uaContentType :: Lens' UserAbout (Maybe Text)
2490+uaContentType
2491+ = lens _uaContentType
2492+ (\ s a -> s{_uaContentType = a})
2493+
2494+-- | JSON template for address.
2495+--
2496+-- /See:/ 'userAddress' smart constructor.
2497+data UserAddress = UserAddress
2498+ { _uaStreetAddress :: !(Maybe Text)
2499+ , _uaPoBox :: !(Maybe Text)
2500+ , _uaCountry :: !(Maybe Text)
2501+ , _uaPostalCode :: !(Maybe Text)
2502+ , _uaFormatted :: !(Maybe Text)
2503+ , _uaExtendedAddress :: !(Maybe Text)
2504+ , _uaLocality :: !(Maybe Text)
2505+ , _uaPrimary :: !(Maybe Bool)
2506+ , _uaCountryCode :: !(Maybe Text)
2507+ , _uaRegion :: !(Maybe Text)
2508+ , _uaType :: !(Maybe Text)
2509+ , _uaCustomType :: !(Maybe Text)
2510+ , _uaSourceIsStructured :: !(Maybe Bool)
2511+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
2512+
2513+-- | Creates a value of 'UserAddress' with the minimum fields required to make a request.
2514+--
2515+-- Use one of the following lenses to modify other fields as desired:
2516+--
2517+-- * 'uaStreetAddress'
2518+--
2519+-- * 'uaPoBox'
2520+--
2521+-- * 'uaCountry'
2522+--
2523+-- * 'uaPostalCode'
2524+--
2525+-- * 'uaFormatted'
2526+--
2527+-- * 'uaExtendedAddress'
2528+--
2529+-- * 'uaLocality'
2530+--
2531+-- * 'uaPrimary'
2532+--
2533+-- * 'uaCountryCode'
2534+--
2535+-- * 'uaRegion'
2536+--
2537+-- * 'uaType'
2538+--
2539+-- * 'uaCustomType'
2540+--
2541+-- * 'uaSourceIsStructured'
2542+userAddress
2543+ :: UserAddress
2544+userAddress =
2545+ UserAddress
2546+ { _uaStreetAddress = Nothing
2547+ , _uaPoBox = Nothing
2548+ , _uaCountry = Nothing
2549+ , _uaPostalCode = Nothing
2550+ , _uaFormatted = Nothing
2551+ , _uaExtendedAddress = Nothing
2552+ , _uaLocality = Nothing
2553+ , _uaPrimary = Nothing
2554+ , _uaCountryCode = Nothing
2555+ , _uaRegion = Nothing
2556+ , _uaType = Nothing
2557+ , _uaCustomType = Nothing
2558+ , _uaSourceIsStructured = Nothing
2559+ }
2560+
2561+-- | Street.
2562+uaStreetAddress :: Lens' UserAddress (Maybe Text)
2563+uaStreetAddress
2564+ = lens _uaStreetAddress
2565+ (\ s a -> s{_uaStreetAddress = a})
2566+
2567+-- | Other parts of address.
2568+uaPoBox :: Lens' UserAddress (Maybe Text)
2569+uaPoBox = lens _uaPoBox (\ s a -> s{_uaPoBox = a})
2570+
2571+-- | Country.
2572+uaCountry :: Lens' UserAddress (Maybe Text)
2573+uaCountry
2574+ = lens _uaCountry (\ s a -> s{_uaCountry = a})
2575+
2576+-- | Postal code.
2577+uaPostalCode :: Lens' UserAddress (Maybe Text)
2578+uaPostalCode
2579+ = lens _uaPostalCode (\ s a -> s{_uaPostalCode = a})
2580+
2581+-- | Formatted address.
2582+uaFormatted :: Lens' UserAddress (Maybe Text)
2583+uaFormatted
2584+ = lens _uaFormatted (\ s a -> s{_uaFormatted = a})
2585+
2586+-- | Extended Address.
2587+uaExtendedAddress :: Lens' UserAddress (Maybe Text)
2588+uaExtendedAddress
2589+ = lens _uaExtendedAddress
2590+ (\ s a -> s{_uaExtendedAddress = a})
2591+
2592+-- | Locality.
2593+uaLocality :: Lens' UserAddress (Maybe Text)
2594+uaLocality
2595+ = lens _uaLocality (\ s a -> s{_uaLocality = a})
2596+
2597+-- | If this is user\'s primary address. Only one entry could be marked as
2598+-- primary.
2599+uaPrimary :: Lens' UserAddress (Maybe Bool)
2600+uaPrimary
2601+ = lens _uaPrimary (\ s a -> s{_uaPrimary = a})
2602+
2603+-- | Country code.
2604+uaCountryCode :: Lens' UserAddress (Maybe Text)
2605+uaCountryCode
2606+ = lens _uaCountryCode
2607+ (\ s a -> s{_uaCountryCode = a})
2608+
2609+-- | Region.
2610+uaRegion :: Lens' UserAddress (Maybe Text)
2611+uaRegion = lens _uaRegion (\ s a -> s{_uaRegion = a})
2612+
2613+-- | Each entry can have a type which indicates standard values of that
2614+-- entry. For example address could be of home, work etc. In addition to
2615+-- the standard type, an entry can have a custom type and can take any
2616+-- value. Such type should have the CUSTOM value as type and also have a
2617+-- customType value.
2618+uaType :: Lens' UserAddress (Maybe Text)
2619+uaType = lens _uaType (\ s a -> s{_uaType = a})
2620+
2621+-- | Custom type.
2622+uaCustomType :: Lens' UserAddress (Maybe Text)
2623+uaCustomType
2624+ = lens _uaCustomType (\ s a -> s{_uaCustomType = a})
2625+
2626+-- | User supplied address was structured. Structured addresses are NOT
2627+-- supported at this time. You might be able to write structured addresses,
2628+-- but any values will eventually be clobbered.
2629+uaSourceIsStructured :: Lens' UserAddress (Maybe Bool)
2630+uaSourceIsStructured
2631+ = lens _uaSourceIsStructured
2632+ (\ s a -> s{_uaSourceIsStructured = a})
2633+
2634+-- | JSON template for a set of custom properties (i.e. all fields in a
2635+-- particular schema)
2636+--
2637+-- /See:/ 'userCustomProperties' smart constructor.
2638+data UserCustomProperties =
2639+ UserCustomProperties
2640+ deriving (Eq,Read,Show,Data,Typeable,Generic)
2641+
2642+-- | Creates a value of 'UserCustomProperties' with the minimum fields required to make a request.
2643+--
2644+userCustomProperties
2645+ :: UserCustomProperties
2646+userCustomProperties = UserCustomProperties
2647+
2648+-- | Custom fields of the user.
2649+--
2650+-- /See:/ 'userCustomSchemas' smart constructor.
2651+data UserCustomSchemas =
2652+ UserCustomSchemas
2653+ deriving (Eq,Read,Show,Data,Typeable,Generic)
2654+
2655+-- | Creates a value of 'UserCustomSchemas' with the minimum fields required to make a request.
2656+--
2657+userCustomSchemas
2658+ :: UserCustomSchemas
2659+userCustomSchemas = UserCustomSchemas
2660+
2661+-- | JSON template for an email.
2662+--
2663+-- /See:/ 'userEmail' smart constructor.
2664+data UserEmail = UserEmail
2665+ { _ueAddress :: !(Maybe Text)
2666+ , _uePrimary :: !(Maybe Bool)
2667+ , _ueType :: !(Maybe Text)
2668+ , _ueCustomType :: !(Maybe Text)
2669+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
2670+
2671+-- | Creates a value of 'UserEmail' with the minimum fields required to make a request.
2672+--
2673+-- Use one of the following lenses to modify other fields as desired:
2674+--
2675+-- * 'ueAddress'
2676+--
2677+-- * 'uePrimary'
2678+--
2679+-- * 'ueType'
2680+--
2681+-- * 'ueCustomType'
2682+userEmail
2683+ :: UserEmail
2684+userEmail =
2685+ UserEmail
2686+ { _ueAddress = Nothing
2687+ , _uePrimary = Nothing
2688+ , _ueType = Nothing
2689+ , _ueCustomType = Nothing
2690+ }
2691+
2692+-- | Email id of the user.
2693+ueAddress :: Lens' UserEmail (Maybe Text)
2694+ueAddress
2695+ = lens _ueAddress (\ s a -> s{_ueAddress = a})
2696+
2697+-- | If this is user\'s primary email. Only one entry could be marked as
2698+-- primary.
2699+uePrimary :: Lens' UserEmail (Maybe Bool)
2700+uePrimary
2701+ = lens _uePrimary (\ s a -> s{_uePrimary = a})
2702+
2703+-- | Each entry can have a type which indicates standard types of that entry.
2704+-- For example email could be of home, work etc. In addition to the
2705+-- standard type, an entry can have a custom type and can take any value
2706+-- Such types should have the CUSTOM value as type and also have a
2707+-- customType value.
2708+ueType :: Lens' UserEmail (Maybe Text)
2709+ueType = lens _ueType (\ s a -> s{_ueType = a})
2710+
2711+-- | Custom Type.
2712+ueCustomType :: Lens' UserEmail (Maybe Text)
2713+ueCustomType
2714+ = lens _ueCustomType (\ s a -> s{_ueCustomType = a})
2715+
2716+-- | JSON template for an externalId entry.
2717+--
2718+-- /See:/ 'userExternalId' smart constructor.
2719+data UserExternalId = UserExternalId
2720+ { _ueiValue :: !(Maybe Text)
2721+ , _ueiType :: !(Maybe Text)
2722+ , _ueiCustomType :: !(Maybe Text)
2723+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
2724+
2725+-- | Creates a value of 'UserExternalId' with the minimum fields required to make a request.
2726+--
2727+-- Use one of the following lenses to modify other fields as desired:
2728+--
2729+-- * 'ueiValue'
2730+--
2731+-- * 'ueiType'
2732+--
2733+-- * 'ueiCustomType'
2734+userExternalId
2735+ :: UserExternalId
2736+userExternalId =
2737+ UserExternalId
2738+ { _ueiValue = Nothing
2739+ , _ueiType = Nothing
2740+ , _ueiCustomType = Nothing
2741+ }
2742+
2743+-- | The value of the id.
2744+ueiValue :: Lens' UserExternalId (Maybe Text)
2745+ueiValue = lens _ueiValue (\ s a -> s{_ueiValue = a})
2746+
2747+-- | The type of the Id.
2748+ueiType :: Lens' UserExternalId (Maybe Text)
2749+ueiType = lens _ueiType (\ s a -> s{_ueiType = a})
2750+
2751+-- | Custom type.
2752+ueiCustomType :: Lens' UserExternalId (Maybe Text)
2753+ueiCustomType
2754+ = lens _ueiCustomType
2755+ (\ s a -> s{_ueiCustomType = a})
2756+
2757+-- | JSON template for instant messenger of an user.
2758+--
2759+-- /See:/ 'userIm' smart constructor.
2760+data UserIm = UserIm
2761+ { _uiIm :: !(Maybe Text)
2762+ , _uiProtocol :: !(Maybe Text)
2763+ , _uiPrimary :: !(Maybe Bool)
2764+ , _uiCustomProtocol :: !(Maybe Text)
2765+ , _uiType :: !(Maybe Text)
2766+ , _uiCustomType :: !(Maybe Text)
2767+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
2768+
2769+-- | Creates a value of 'UserIm' with the minimum fields required to make a request.
2770+--
2771+-- Use one of the following lenses to modify other fields as desired:
2772+--
2773+-- * 'uiIm'
2774+--
2775+-- * 'uiProtocol'
2776+--
2777+-- * 'uiPrimary'
2778+--
2779+-- * 'uiCustomProtocol'
2780+--
2781+-- * 'uiType'
2782+--
2783+-- * 'uiCustomType'
2784+userIm
2785+ :: UserIm
2786+userIm =
2787+ UserIm
2788+ { _uiIm = Nothing
2789+ , _uiProtocol = Nothing
2790+ , _uiPrimary = Nothing
2791+ , _uiCustomProtocol = Nothing
2792+ , _uiType = Nothing
2793+ , _uiCustomType = Nothing
2794+ }
2795+
2796+-- | Instant messenger id.
2797+uiIm :: Lens' UserIm (Maybe Text)
2798+uiIm = lens _uiIm (\ s a -> s{_uiIm = a})
2799+
2800+-- | Protocol used in the instant messenger. It should be one of the values
2801+-- from ImProtocolTypes map. Similar to type, it can take a CUSTOM value
2802+-- and specify the custom name in customProtocol field.
2803+uiProtocol :: Lens' UserIm (Maybe Text)
2804+uiProtocol
2805+ = lens _uiProtocol (\ s a -> s{_uiProtocol = a})
2806+
2807+-- | If this is user\'s primary im. Only one entry could be marked as
2808+-- primary.
2809+uiPrimary :: Lens' UserIm (Maybe Bool)
2810+uiPrimary
2811+ = lens _uiPrimary (\ s a -> s{_uiPrimary = a})
2812+
2813+-- | Custom protocol.
2814+uiCustomProtocol :: Lens' UserIm (Maybe Text)
2815+uiCustomProtocol
2816+ = lens _uiCustomProtocol
2817+ (\ s a -> s{_uiCustomProtocol = a})
2818+
2819+-- | Each entry can have a type which indicates standard types of that entry.
2820+-- For example instant messengers could be of home, work etc. In addition
2821+-- to the standard type, an entry can have a custom type and can take any
2822+-- value. Such types should have the CUSTOM value as type and also have a
2823+-- customType value.
2824+uiType :: Lens' UserIm (Maybe Text)
2825+uiType = lens _uiType (\ s a -> s{_uiType = a})
2826+
2827+-- | Custom type.
2828+uiCustomType :: Lens' UserIm (Maybe Text)
2829+uiCustomType
2830+ = lens _uiCustomType (\ s a -> s{_uiCustomType = a})
2831+
2832+-- | JSON request template for setting\/revoking admin status of a user in
2833+-- Directory API.
2834+--
2835+-- /See:/ 'userMakeAdmin' smart constructor.
2836+newtype UserMakeAdmin = UserMakeAdmin
2837+ { _umaStatus :: Maybe Bool
2838+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
2839+
2840+-- | Creates a value of 'UserMakeAdmin' with the minimum fields required to make a request.
2841+--
2842+-- Use one of the following lenses to modify other fields as desired:
2843+--
2844+-- * 'umaStatus'
2845+userMakeAdmin
2846+ :: UserMakeAdmin
2847+userMakeAdmin =
2848+ UserMakeAdmin
2849+ { _umaStatus = Nothing
2850+ }
2851+
2852+-- | Boolean indicating new admin status of the user
2853+umaStatus :: Lens' UserMakeAdmin (Maybe Bool)
2854+umaStatus
2855+ = lens _umaStatus (\ s a -> s{_umaStatus = a})
2856+
2857+-- | JSON template for name of a user in Directory API.
2858+--
2859+-- /See:/ 'userName' smart constructor.
2860+data UserName = UserName
2861+ { _unGivenName :: !(Maybe Text)
2862+ , _unFullName :: !(Maybe Text)
2863+ , _unFamilyName :: !(Maybe Text)
2864+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
2865+
2866+-- | Creates a value of 'UserName' with the minimum fields required to make a request.
2867+--
2868+-- Use one of the following lenses to modify other fields as desired:
2869+--
2870+-- * 'unGivenName'
2871+--
2872+-- * 'unFullName'
2873+--
2874+-- * 'unFamilyName'
2875+userName
2876+ :: UserName
2877+userName =
2878+ UserName
2879+ { _unGivenName = Nothing
2880+ , _unFullName = Nothing
2881+ , _unFamilyName = Nothing
2882+ }
2883+
2884+-- | First Name
2885+unGivenName :: Lens' UserName (Maybe Text)
2886+unGivenName
2887+ = lens _unGivenName (\ s a -> s{_unGivenName = a})
2888+
2889+-- | Full Name
2890+unFullName :: Lens' UserName (Maybe Text)
2891+unFullName
2892+ = lens _unFullName (\ s a -> s{_unFullName = a})
2893+
2894+-- | Last Name
2895+unFamilyName :: Lens' UserName (Maybe Text)
2896+unFamilyName
2897+ = lens _unFamilyName (\ s a -> s{_unFamilyName = a})
2898+
2899+-- | JSON template for an organization entry.
2900+--
2901+-- /See:/ 'userOrganization' smart constructor.
2902+data UserOrganization = UserOrganization
2903+ { _uoDepartment :: !(Maybe Text)
2904+ , _uoLocation :: !(Maybe Text)
2905+ , _uoCostCenter :: !(Maybe Text)
2906+ , _uoDomain :: !(Maybe Text)
2907+ , _uoSymbol :: !(Maybe Text)
2908+ , _uoPrimary :: !(Maybe Bool)
2909+ , _uoName :: !(Maybe Text)
2910+ , _uoTitle :: !(Maybe Text)
2911+ , _uoType :: !(Maybe Text)
2912+ , _uoCustomType :: !(Maybe Text)
2913+ , _uoDescription :: !(Maybe Text)
2914+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
2915+
2916+-- | Creates a value of 'UserOrganization' with the minimum fields required to make a request.
2917+--
2918+-- Use one of the following lenses to modify other fields as desired:
2919+--
2920+-- * 'uoDepartment'
2921+--
2922+-- * 'uoLocation'
2923+--
2924+-- * 'uoCostCenter'
2925+--
2926+-- * 'uoDomain'
2927+--
2928+-- * 'uoSymbol'
2929+--
2930+-- * 'uoPrimary'
2931+--
2932+-- * 'uoName'
2933+--
2934+-- * 'uoTitle'
2935+--
2936+-- * 'uoType'
2937+--
2938+-- * 'uoCustomType'
2939+--
2940+-- * 'uoDescription'
2941+userOrganization
2942+ :: UserOrganization
2943+userOrganization =
2944+ UserOrganization
2945+ { _uoDepartment = Nothing
2946+ , _uoLocation = Nothing
2947+ , _uoCostCenter = Nothing
2948+ , _uoDomain = Nothing
2949+ , _uoSymbol = Nothing
2950+ , _uoPrimary = Nothing
2951+ , _uoName = Nothing
2952+ , _uoTitle = Nothing
2953+ , _uoType = Nothing
2954+ , _uoCustomType = Nothing
2955+ , _uoDescription = Nothing
2956+ }
2957+
2958+-- | Department within the organization.
2959+uoDepartment :: Lens' UserOrganization (Maybe Text)
2960+uoDepartment
2961+ = lens _uoDepartment (\ s a -> s{_uoDepartment = a})
2962+
2963+-- | Location of the organization. This need not be fully qualified address.
2964+uoLocation :: Lens' UserOrganization (Maybe Text)
2965+uoLocation
2966+ = lens _uoLocation (\ s a -> s{_uoLocation = a})
2967+
2968+-- | The cost center of the users department.
2969+uoCostCenter :: Lens' UserOrganization (Maybe Text)
2970+uoCostCenter
2971+ = lens _uoCostCenter (\ s a -> s{_uoCostCenter = a})
2972+
2973+-- | The domain to which the organization belongs to.
2974+uoDomain :: Lens' UserOrganization (Maybe Text)
2975+uoDomain = lens _uoDomain (\ s a -> s{_uoDomain = a})
2976+
2977+-- | Symbol of the organization.
2978+uoSymbol :: Lens' UserOrganization (Maybe Text)
2979+uoSymbol = lens _uoSymbol (\ s a -> s{_uoSymbol = a})
2980+
2981+-- | If it user\'s primary organization.
2982+uoPrimary :: Lens' UserOrganization (Maybe Bool)
2983+uoPrimary
2984+ = lens _uoPrimary (\ s a -> s{_uoPrimary = a})
2985+
2986+-- | Name of the organization
2987+uoName :: Lens' UserOrganization (Maybe Text)
2988+uoName = lens _uoName (\ s a -> s{_uoName = a})
2989+
2990+-- | Title (designation) of the user in the organization.
2991+uoTitle :: Lens' UserOrganization (Maybe Text)
2992+uoTitle = lens _uoTitle (\ s a -> s{_uoTitle = a})
2993+
2994+-- | Each entry can have a type which indicates standard types of that entry.
2995+-- For example organization could be of school, work etc. In addition to
2996+-- the standard type, an entry can have a custom type and can give it any
2997+-- name. Such types should have the CUSTOM value as type and also have a
2998+-- CustomType value.
2999+uoType :: Lens' UserOrganization (Maybe Text)
3000+uoType = lens _uoType (\ s a -> s{_uoType = a})
3001+
3002+-- | Custom type.
3003+uoCustomType :: Lens' UserOrganization (Maybe Text)
3004+uoCustomType
3005+ = lens _uoCustomType (\ s a -> s{_uoCustomType = a})
3006+
3007+-- | Description of the organization.
3008+uoDescription :: Lens' UserOrganization (Maybe Text)
3009+uoDescription
3010+ = lens _uoDescription
3011+ (\ s a -> s{_uoDescription = a})
3012+
3013+-- | JSON template for a phone entry.
3014+--
3015+-- /See:/ 'userPhone' smart constructor.
3016+data UserPhone = UserPhone
3017+ { _upValue :: !(Maybe Text)
3018+ , _upPrimary :: !(Maybe Bool)
3019+ , _upType :: !(Maybe Text)
3020+ , _upCustomType :: !(Maybe Text)
3021+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
3022+
3023+-- | Creates a value of 'UserPhone' with the minimum fields required to make a request.
3024+--
3025+-- Use one of the following lenses to modify other fields as desired:
3026+--
3027+-- * 'upValue'
3028+--
3029+-- * 'upPrimary'
3030+--
3031+-- * 'upType'
3032+--
3033+-- * 'upCustomType'
3034+userPhone
3035+ :: UserPhone
3036+userPhone =
3037+ UserPhone
3038+ { _upValue = Nothing
3039+ , _upPrimary = Nothing
3040+ , _upType = Nothing
3041+ , _upCustomType = Nothing
3042+ }
3043+
3044+-- | Phone number.
3045+upValue :: Lens' UserPhone (Maybe Text)
3046+upValue = lens _upValue (\ s a -> s{_upValue = a})
3047+
3048+-- | If this is user\'s primary phone or not.
3049+upPrimary :: Lens' UserPhone (Maybe Bool)
3050+upPrimary
3051+ = lens _upPrimary (\ s a -> s{_upPrimary = a})
3052+
3053+-- | Each entry can have a type which indicates standard types of that entry.
3054+-- For example phone could be of home_fax, work, mobile etc. In addition to
3055+-- the standard type, an entry can have a custom type and can give it any
3056+-- name. Such types should have the CUSTOM value as type and also have a
3057+-- customType value.
3058+upType :: Lens' UserPhone (Maybe Text)
3059+upType = lens _upType (\ s a -> s{_upType = a})
3060+
3061+-- | Custom Type.
3062+upCustomType :: Lens' UserPhone (Maybe Text)
3063+upCustomType
3064+ = lens _upCustomType (\ s a -> s{_upCustomType = a})
3065+
3066+-- | JSON template for Photo object in Directory API.
3067+--
3068+-- /See:/ 'userPhoto' smart constructor.
3069+data UserPhoto = UserPhoto
3070+ { _upPhotoData :: !(Maybe Word8)
3071+ , _upEtag :: !(Maybe Text)
3072+ , _upHeight :: !(Maybe Int32)
3073+ , _upKind :: !Text
3074+ , _upWidth :: !(Maybe Int32)
3075+ , _upMimeType :: !(Maybe Text)
3076+ , _upId :: !(Maybe Text)
3077+ , _upPrimaryEmail :: !(Maybe Text)
3078+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
3079+
3080+-- | Creates a value of 'UserPhoto' with the minimum fields required to make a request.
3081+--
3082+-- Use one of the following lenses to modify other fields as desired:
3083+--
3084+-- * 'upPhotoData'
3085+--
3086+-- * 'upEtag'
3087+--
3088+-- * 'upHeight'
3089+--
3090+-- * 'upKind'
3091+--
3092+-- * 'upWidth'
3093+--
3094+-- * 'upMimeType'
3095+--
3096+-- * 'upId'
3097+--
3098+-- * 'upPrimaryEmail'
3099+userPhoto
3100+ :: UserPhoto
3101+userPhoto =
3102+ UserPhoto
3103+ { _upPhotoData = Nothing
3104+ , _upEtag = Nothing
3105+ , _upHeight = Nothing
3106+ , _upKind = "admin#directory#user#photo"
3107+ , _upWidth = Nothing
3108+ , _upMimeType = Nothing
3109+ , _upId = Nothing
3110+ , _upPrimaryEmail = Nothing
3111+ }
3112+
3113+-- | Base64 encoded photo data
3114+upPhotoData :: Lens' UserPhoto (Maybe Word8)
3115+upPhotoData
3116+ = lens _upPhotoData (\ s a -> s{_upPhotoData = a})
3117+
3118+-- | ETag of the resource.
3119+upEtag :: Lens' UserPhoto (Maybe Text)
3120+upEtag = lens _upEtag (\ s a -> s{_upEtag = a})
3121+
3122+-- | Height in pixels of the photo
3123+upHeight :: Lens' UserPhoto (Maybe Int32)
3124+upHeight = lens _upHeight (\ s a -> s{_upHeight = a})
3125+
3126+-- | Kind of resource this is.
3127+upKind :: Lens' UserPhoto Text
3128+upKind = lens _upKind (\ s a -> s{_upKind = a})
3129+
3130+-- | Width in pixels of the photo
3131+upWidth :: Lens' UserPhoto (Maybe Int32)
3132+upWidth = lens _upWidth (\ s a -> s{_upWidth = a})
3133+
3134+-- | Mime Type of the photo
3135+upMimeType :: Lens' UserPhoto (Maybe Text)
3136+upMimeType
3137+ = lens _upMimeType (\ s a -> s{_upMimeType = a})
3138+
3139+-- | Unique identifier of User (Read-only)
3140+upId :: Lens' UserPhoto (Maybe Text)
3141+upId = lens _upId (\ s a -> s{_upId = a})
3142+
3143+-- | Primary email of User (Read-only)
3144+upPrimaryEmail :: Lens' UserPhoto (Maybe Text)
3145+upPrimaryEmail
3146+ = lens _upPrimaryEmail
3147+ (\ s a -> s{_upPrimaryEmail = a})
3148+
3149+-- | JSON template for a relation entry.
3150+--
3151+-- /See:/ 'userRelation' smart constructor.
3152+data UserRelation = UserRelation
3153+ { _urValue :: !(Maybe Text)
3154+ , _urType :: !(Maybe Text)
3155+ , _urCustomType :: !(Maybe Text)
3156+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
3157+
3158+-- | Creates a value of 'UserRelation' with the minimum fields required to make a request.
3159+--
3160+-- Use one of the following lenses to modify other fields as desired:
3161+--
3162+-- * 'urValue'
3163+--
3164+-- * 'urType'
3165+--
3166+-- * 'urCustomType'
3167+userRelation
3168+ :: UserRelation
3169+userRelation =
3170+ UserRelation
3171+ { _urValue = Nothing
3172+ , _urType = Nothing
3173+ , _urCustomType = Nothing
3174+ }
3175+
3176+-- | The name of the relation.
3177+urValue :: Lens' UserRelation (Maybe Text)
3178+urValue = lens _urValue (\ s a -> s{_urValue = a})
3179+
3180+-- | The relation of the user. Some of the possible values are mother,
3181+-- father, sister, brother, manager, assistant, partner.
3182+urType :: Lens' UserRelation (Maybe Text)
3183+urType = lens _urType (\ s a -> s{_urType = a})
3184+
3185+-- | Custom Type.
3186+urCustomType :: Lens' UserRelation (Maybe Text)
3187+urCustomType
3188+ = lens _urCustomType (\ s a -> s{_urCustomType = a})
3189+
3190+-- | JSON request template to undelete a user in Directory API.
3191+--
3192+-- /See:/ 'userUndelete' smart constructor.
3193+newtype UserUndelete = UserUndelete
3194+ { _uuOrgUnitPath :: Maybe Text
3195+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
3196+
3197+-- | Creates a value of 'UserUndelete' with the minimum fields required to make a request.
3198+--
3199+-- Use one of the following lenses to modify other fields as desired:
3200+--
3201+-- * 'uuOrgUnitPath'
3202+userUndelete
3203+ :: UserUndelete
3204+userUndelete =
3205+ UserUndelete
3206+ { _uuOrgUnitPath = Nothing
3207+ }
3208+
3209+-- | OrgUnit of User
3210+uuOrgUnitPath :: Lens' UserUndelete (Maybe Text)
3211+uuOrgUnitPath
3212+ = lens _uuOrgUnitPath
3213+ (\ s a -> s{_uuOrgUnitPath = a})
3214+
3215+-- | JSON template for a website entry.
3216+--
3217+-- /See:/ 'userWebsite' smart constructor.
3218+data UserWebsite = UserWebsite
3219+ { _uwValue :: !(Maybe Text)
3220+ , _uwPrimary :: !(Maybe Bool)
3221+ , _uwType :: !(Maybe Text)
3222+ , _uwCustomType :: !(Maybe Text)
3223+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
3224+
3225+-- | Creates a value of 'UserWebsite' with the minimum fields required to make a request.
3226+--
3227+-- Use one of the following lenses to modify other fields as desired:
3228+--
3229+-- * 'uwValue'
3230+--
3231+-- * 'uwPrimary'
3232+--
3233+-- * 'uwType'
3234+--
3235+-- * 'uwCustomType'
3236+userWebsite
3237+ :: UserWebsite
3238+userWebsite =
3239+ UserWebsite
3240+ { _uwValue = Nothing
3241+ , _uwPrimary = Nothing
3242+ , _uwType = Nothing
3243+ , _uwCustomType = Nothing
3244+ }
3245+
3246+-- | Website.
3247+uwValue :: Lens' UserWebsite (Maybe Text)
3248+uwValue = lens _uwValue (\ s a -> s{_uwValue = a})
3249+
3250+-- | If this is user\'s primary website or not.
3251+uwPrimary :: Lens' UserWebsite (Maybe Bool)
3252+uwPrimary
3253+ = lens _uwPrimary (\ s a -> s{_uwPrimary = a})
3254+
3255+-- | Each entry can have a type which indicates standard types of that entry.
3256+-- For example website could be of home, work, blog etc. In addition to the
3257+-- standard type, an entry can have a custom type and can give it any name.
3258+-- Such types should have the CUSTOM value as type and also have a
3259+-- customType value.
3260+uwType :: Lens' UserWebsite (Maybe Text)
3261+uwType = lens _uwType (\ s a -> s{_uwType = a})
3262+
3263+-- | Custom Type.
3264+uwCustomType :: Lens' UserWebsite (Maybe Text)
3265+uwCustomType
3266+ = lens _uwCustomType (\ s a -> s{_uwCustomType = a})
3267+
3268+-- | JSON response template for List Users operation in Apps Directory API.
3269+--
3270+-- /See:/ 'users' smart constructor.
3271+data Users = Users
3272+ { _uEtag :: !(Maybe Text)
3273+ , _uNextPageToken :: !(Maybe Text)
3274+ , _uUsers :: !(Maybe [Maybe User])
3275+ , _uKind :: !Text
3276+ , _uTriggerEvent :: !(Maybe Text)
3277+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
3278+
3279+-- | Creates a value of 'Users' with the minimum fields required to make a request.
3280+--
3281+-- Use one of the following lenses to modify other fields as desired:
3282+--
3283+-- * 'uEtag'
3284+--
3285+-- * 'uNextPageToken'
3286+--
3287+-- * 'uUsers'
3288+--
3289+-- * 'uKind'
3290+--
3291+-- * 'uTriggerEvent'
3292+users
3293+ :: Users
3294+users =
3295+ Users
3296+ { _uEtag = Nothing
3297+ , _uNextPageToken = Nothing
3298+ , _uUsers = Nothing
3299+ , _uKind = "admin#directory#users"
3300+ , _uTriggerEvent = Nothing
3301+ }
3302+
3303+-- | ETag of the resource.
3304+uEtag :: Lens' Users (Maybe Text)
3305+uEtag = lens _uEtag (\ s a -> s{_uEtag = a})
3306+
3307+-- | Token used to access next page of this result.
3308+uNextPageToken :: Lens' Users (Maybe Text)
3309+uNextPageToken
3310+ = lens _uNextPageToken
3311+ (\ s a -> s{_uNextPageToken = a})
3312+
3313+-- | List of user objects.
3314+uUsers :: Lens' Users [Maybe User]
3315+uUsers
3316+ = lens _uUsers (\ s a -> s{_uUsers = a}) . _Default .
3317+ _Coerce
3318+
3319+-- | Kind of resource this is.
3320+uKind :: Lens' Users Text
3321+uKind = lens _uKind (\ s a -> s{_uKind = a})
3322+
3323+-- | Event that triggered this response (only used in case of Push Response)
3324+uTriggerEvent :: Lens' Users (Maybe Text)
3325+uTriggerEvent
3326+ = lens _uTriggerEvent
3327+ (\ s a -> s{_uTriggerEvent = a})
3328+
3329+-- | JSON template for verification codes in Directory API.
3330+--
3331+-- /See:/ 'verificationCode' smart constructor.
3332+data VerificationCode = VerificationCode
3333+ { _vVerificationCode :: !(Maybe Text)
3334+ , _vEtag :: !(Maybe Text)
3335+ , _vKind :: !Text
3336+ , _vUserId :: !(Maybe Text)
3337+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
3338+
3339+-- | Creates a value of 'VerificationCode' with the minimum fields required to make a request.
3340+--
3341+-- Use one of the following lenses to modify other fields as desired:
3342+--
3343+-- * 'vVerificationCode'
3344+--
3345+-- * 'vEtag'
3346+--
3347+-- * 'vKind'
3348+--
3349+-- * 'vUserId'
3350+verificationCode
3351+ :: VerificationCode
3352+verificationCode =
3353+ VerificationCode
3354+ { _vVerificationCode = Nothing
3355+ , _vEtag = Nothing
3356+ , _vKind = "admin#directory#verificationCode"
3357+ , _vUserId = Nothing
3358+ }
3359+
3360+-- | A current verification code for the user. Invalidated or used
3361+-- verification codes are not returned as part of the result.
3362+vVerificationCode :: Lens' VerificationCode (Maybe Text)
3363+vVerificationCode
3364+ = lens _vVerificationCode
3365+ (\ s a -> s{_vVerificationCode = a})
3366+
3367+-- | ETag of the resource.
3368+vEtag :: Lens' VerificationCode (Maybe Text)
3369+vEtag = lens _vEtag (\ s a -> s{_vEtag = a})
3370+
3371+-- | The type of the resource. This is always
3372+-- admin#directory#verificationCode.
3373+vKind :: Lens' VerificationCode Text
3374+vKind = lens _vKind (\ s a -> s{_vKind = a})
3375+
3376+-- | The obfuscated unique ID of the user.
3377+vUserId :: Lens' VerificationCode (Maybe Text)
3378+vUserId = lens _vUserId (\ s a -> s{_vUserId = a})
3379+
3380+-- | JSON response template for List verification codes operation in
3381+-- Directory API.
3382+--
3383+-- /See:/ 'verificationCodes' smart constructor.
3384+data VerificationCodes = VerificationCodes
3385+ { _vcEtag :: !(Maybe Text)
3386+ , _vcKind :: !Text
3387+ , _vcItems :: !(Maybe [Maybe VerificationCode])
3388+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
3389+
3390+-- | Creates a value of 'VerificationCodes' with the minimum fields required to make a request.
3391+--
3392+-- Use one of the following lenses to modify other fields as desired:
3393+--
3394+-- * 'vcEtag'
3395+--
3396+-- * 'vcKind'
3397+--
3398+-- * 'vcItems'
3399+verificationCodes
3400+ :: VerificationCodes
3401+verificationCodes =
3402+ VerificationCodes
3403+ { _vcEtag = Nothing
3404+ , _vcKind = "admin#directory#verificationCodesList"
3405+ , _vcItems = Nothing
3406+ }
3407+
3408+-- | ETag of the resource.
3409+vcEtag :: Lens' VerificationCodes (Maybe Text)
3410+vcEtag = lens _vcEtag (\ s a -> s{_vcEtag = a})
3411+
3412+-- | The type of the resource. This is always
3413+-- admin#directory#verificationCodesList.
3414+vcKind :: Lens' VerificationCodes Text
3415+vcKind = lens _vcKind (\ s a -> s{_vcKind = a})
3416+
3417+-- | A list of verification code resources.
3418+vcItems :: Lens' VerificationCodes [Maybe VerificationCode]
3419+vcItems
3420+ = lens _vcItems (\ s a -> s{_vcItems = a}) . _Default
3421+ . _Coerce
gogol-admin/gen/Network/Google/Directory/Types/Sum.hsnew file+15
@@ -0,0 +1,15 @@
1+{-# LANGUAGE DeriveDataTypeable #-}
2+{-# LANGUAGE DeriveGeneric #-}
3+{-# LANGUAGE OverloadedStrings #-}
4+
5+-- |
6+-- Module : Network.Google.Directory.Types.Sum
7+-- Copyright : (c) 2015 Brendan Hay
8+-- License : Mozilla Public License, v. 2.0.
9+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
10+-- Stability : auto-generated
11+-- Portability : non-portable (GHC extensions)
12+--
13+module Network.Google.Directory.Types.Sum where
14+
15+import Network.Google.Prelude
gogol-admin/gen/Network/Google/EmailMigrationAPIv2.hsnew file+48
@@ -0,0 +1,48 @@
1+-- |
2+-- Module : Network.Google.EmailMigrationAPIv2
3+-- Copyright : (c) 2015 Brendan Hay
4+-- License : Mozilla Public License, v. 2.0.
5+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
6+-- Stability : auto-generated
7+-- Portability : non-portable (GHC extensions)
8+--
9+-- Email Migration API lets you migrate emails of users to Google backends.
10+--
11+-- /See:/ <https://developers.google.com/admin-sdk/email-migration/v2/ Email Migration API v2 Reference>
12+module Network.Google.EmailMigrationAPIv2
13+ (
14+ -- * API Definition
15+ EmailMigrationAPIv2
16+
17+
18+
19+ -- * Types
20+
21+ -- ** MailItem
22+ , MailItem
23+ , mailItem
24+ , miIsDeleted
25+ , miIsDraft
26+ , miIsStarred
27+ , miKind
28+ , miIsUnread
29+ , miLabels
30+ , miIsInbox
31+ , miIsTrash
32+ , miIsSent
33+ ) where
34+
35+import Network.Google.EmailMigrationAPIv2.Types
36+
37+{- $resources
38+TODO
39+-}
40+
41+type EmailMigrationAPIv2 = ()
42+
43+emailMigrationAPIv2 :: Proxy EmailMigrationAPIv2
44+emailMigrationAPIv2 = Proxy
45+
46+
47+
48+
gogol-admin/gen/Network/Google/EmailMigrationAPIv2/Types.hsnew file+38
@@ -0,0 +1,38 @@
1+{-# LANGUAGE DeriveDataTypeable #-}
2+{-# LANGUAGE DeriveGeneric #-}
3+{-# LANGUAGE OverloadedStrings #-}
4+
5+-- |
6+-- Module : Network.Google.EmailMigrationAPIv2.Types
7+-- Copyright : (c) 2015 Brendan Hay
8+-- License : Mozilla Public License, v. 2.0.
9+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
10+-- Stability : auto-generated
11+-- Portability : non-portable (GHC extensions)
12+--
13+module Network.Google.EmailMigrationAPIv2.Types
14+ (
15+ -- * API Definition
16+ admin
17+
18+
19+ -- * MailItem
20+ , MailItem
21+ , mailItem
22+ , miIsDeleted
23+ , miIsDraft
24+ , miIsStarred
25+ , miKind
26+ , miIsUnread
27+ , miLabels
28+ , miIsInbox
29+ , miIsTrash
30+ , miIsSent
31+ ) where
32+
33+import Network.Google.EmailMigrationAPIv2.Types.Product
34+import Network.Google.EmailMigrationAPIv2.Types.Sum
35+import Network.Google.Prelude
36+
37+admin :: a
38+admin = error "admin"
gogol-admin/gen/Network/Google/EmailMigrationAPIv2/Types/Product.hsnew file+112
@@ -0,0 +1,112 @@
1+{-# LANGUAGE DeriveDataTypeable #-}
2+{-# LANGUAGE DeriveGeneric #-}
3+{-# LANGUAGE OverloadedStrings #-}
4+
5+-- |
6+-- Module : Network.Google.EmailMigrationAPIv2.Types.Product
7+-- Copyright : (c) 2015 Brendan Hay
8+-- License : Mozilla Public License, v. 2.0.
9+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
10+-- Stability : auto-generated
11+-- Portability : non-portable (GHC extensions)
12+--
13+module Network.Google.EmailMigrationAPIv2.Types.Product where
14+
15+import Network.Google.EmailMigrationAPIv2.Types.Sum
16+import Network.Google.Prelude
17+
18+-- | JSON template for MailItem object in Email Migration API.
19+--
20+-- /See:/ 'mailItem' smart constructor.
21+data MailItem = MailItem
22+ { _miIsDeleted :: !(Maybe Bool)
23+ , _miIsDraft :: !(Maybe Bool)
24+ , _miIsStarred :: !(Maybe Bool)
25+ , _miKind :: !Text
26+ , _miIsUnread :: !(Maybe Bool)
27+ , _miLabels :: !(Maybe [Text])
28+ , _miIsInbox :: !(Maybe Bool)
29+ , _miIsTrash :: !(Maybe Bool)
30+ , _miIsSent :: !(Maybe Bool)
31+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
32+
33+-- | Creates a value of 'MailItem' with the minimum fields required to make a request.
34+--
35+-- Use one of the following lenses to modify other fields as desired:
36+--
37+-- * 'miIsDeleted'
38+--
39+-- * 'miIsDraft'
40+--
41+-- * 'miIsStarred'
42+--
43+-- * 'miKind'
44+--
45+-- * 'miIsUnread'
46+--
47+-- * 'miLabels'
48+--
49+-- * 'miIsInbox'
50+--
51+-- * 'miIsTrash'
52+--
53+-- * 'miIsSent'
54+mailItem
55+ :: MailItem
56+mailItem =
57+ MailItem
58+ { _miIsDeleted = Nothing
59+ , _miIsDraft = Nothing
60+ , _miIsStarred = Nothing
61+ , _miKind = "mailItem"
62+ , _miIsUnread = Nothing
63+ , _miLabels = Nothing
64+ , _miIsInbox = Nothing
65+ , _miIsTrash = Nothing
66+ , _miIsSent = Nothing
67+ }
68+
69+-- | Boolean indicating if the mail is deleted (used in Vault)
70+miIsDeleted :: Lens' MailItem (Maybe Bool)
71+miIsDeleted
72+ = lens _miIsDeleted (\ s a -> s{_miIsDeleted = a})
73+
74+-- | Boolean indicating if the mail is draft
75+miIsDraft :: Lens' MailItem (Maybe Bool)
76+miIsDraft
77+ = lens _miIsDraft (\ s a -> s{_miIsDraft = a})
78+
79+-- | Boolean indicating if the mail is starred
80+miIsStarred :: Lens' MailItem (Maybe Bool)
81+miIsStarred
82+ = lens _miIsStarred (\ s a -> s{_miIsStarred = a})
83+
84+-- | Kind of resource this is.
85+miKind :: Lens' MailItem Text
86+miKind = lens _miKind (\ s a -> s{_miKind = a})
87+
88+-- | Boolean indicating if the mail is unread
89+miIsUnread :: Lens' MailItem (Maybe Bool)
90+miIsUnread
91+ = lens _miIsUnread (\ s a -> s{_miIsUnread = a})
92+
93+-- | List of labels (strings)
94+miLabels :: Lens' MailItem [Text]
95+miLabels
96+ = lens _miLabels (\ s a -> s{_miLabels = a}) .
97+ _Default
98+ . _Coerce
99+
100+-- | Boolean indicating if the mail is in inbox
101+miIsInbox :: Lens' MailItem (Maybe Bool)
102+miIsInbox
103+ = lens _miIsInbox (\ s a -> s{_miIsInbox = a})
104+
105+-- | Boolean indicating if the mail is in trash
106+miIsTrash :: Lens' MailItem (Maybe Bool)
107+miIsTrash
108+ = lens _miIsTrash (\ s a -> s{_miIsTrash = a})
109+
110+-- | Boolean indicating if the mail is in \'sent mails\'
111+miIsSent :: Lens' MailItem (Maybe Bool)
112+miIsSent = lens _miIsSent (\ s a -> s{_miIsSent = a})
gogol-admin/gen/Network/Google/EmailMigrationAPIv2/Types/Sum.hsnew file+15
@@ -0,0 +1,15 @@
1+{-# LANGUAGE DeriveDataTypeable #-}
2+{-# LANGUAGE DeriveGeneric #-}
3+{-# LANGUAGE OverloadedStrings #-}
4+
5+-- |
6+-- Module : Network.Google.EmailMigrationAPIv2.Types.Sum
7+-- Copyright : (c) 2015 Brendan Hay
8+-- License : Mozilla Public License, v. 2.0.
9+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
10+-- Stability : auto-generated
11+-- Portability : non-portable (GHC extensions)
12+--
13+module Network.Google.EmailMigrationAPIv2.Types.Sum where
14+
15+import Network.Google.Prelude
gogol-admin/gen/Network/Google/Reports.hsnew file+158
@@ -0,0 +1,158 @@
1+-- |
2+-- Module : Network.Google.Reports
3+-- Copyright : (c) 2015 Brendan Hay
4+-- License : Mozilla Public License, v. 2.0.
5+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
6+-- Stability : auto-generated
7+-- Portability : non-portable (GHC extensions)
8+--
9+-- Allows the administrators of Google Apps customers to fetch reports about the usage, collaboration, security and risk for their users.
10+--
11+-- /See:/ <https://developers.google.com/admin-sdk/reports/ Admin Reports API Reference>
12+module Network.Google.Reports
13+ (
14+ -- * API Definition
15+ Reports
16+
17+
18+
19+ -- * Types
20+
21+ -- ** Activities
22+ , Activities
23+ , activities
24+ , actEtag
25+ , actNextPageToken
26+ , actKind
27+ , actItems
28+
29+ -- ** Activity
30+ , Activity
31+ , activity
32+ , aEtag
33+ , aIpAddress
34+ , aKind
35+ , aActor
36+ , aOwnerDomain
37+ , aEvents
38+ , aId
39+
40+ -- ** ActivityActor
41+ , ActivityActor
42+ , activityActor
43+ , aaEmail
44+ , aaCallerType
45+ , aaProfileId
46+ , aaKey
47+
48+ -- ** ActivityId
49+ , ActivityId
50+ , activityId
51+ , aiTime
52+ , aiUniqueQualifier
53+ , aiCustomerId
54+ , aiApplicationName
55+
56+ -- ** ActivityItemEvents
57+ , ActivityItemEvents
58+ , activityItemEvents
59+ , aieName
60+ , aieParameters
61+ , aieType
62+
63+ -- ** ActivityItemParametersItemEvents
64+ , ActivityItemParametersItemEvents
65+ , activityItemParametersItemEvents
66+ , aipieBoolValue
67+ , aipieIntValue
68+ , aipieValue
69+ , aipieMultiIntValue
70+ , aipieName
71+ , aipieMultiValue
72+
73+ -- ** Channel
74+ , Channel
75+ , channel
76+ , cResourceUri
77+ , cResourceId
78+ , cKind
79+ , cExpiration
80+ , cToken
81+ , cAddress
82+ , cPayload
83+ , cParams
84+ , cId
85+ , cType
86+
87+ -- ** ChannelParams
88+ , ChannelParams
89+ , channelParams
90+
91+ -- ** UsageReport
92+ , UsageReport
93+ , usageReport
94+ , uEtag
95+ , uKind
96+ , uDate
97+ , uParameters
98+ , uEntity
99+
100+ -- ** UsageReportEntity
101+ , UsageReportEntity
102+ , usageReportEntity
103+ , ureProfileId
104+ , ureCustomerId
105+ , ureUserEmail
106+ , ureType
107+
108+ -- ** UsageReportItemMsgValueItemParameters
109+ , UsageReportItemMsgValueItemParameters
110+ , usageReportItemMsgValueItemParameters
111+
112+ -- ** UsageReportItemParameters
113+ , UsageReportItemParameters
114+ , usageReportItemParameters
115+ , uripDatetimeValue
116+ , uripBoolValue
117+ , uripIntValue
118+ , uripStringValue
119+ , uripName
120+ , uripMsgValue
121+
122+ -- ** UsageReports
123+ , UsageReports
124+ , usageReports
125+ , urEtag
126+ , urNextPageToken
127+ , urUsageReports
128+ , urKind
129+ , urWarnings
130+
131+ -- ** UsageReportsItemDataItemWarnings
132+ , UsageReportsItemDataItemWarnings
133+ , usageReportsItemDataItemWarnings
134+ , uridiwValue
135+ , uridiwKey
136+
137+ -- ** UsageReportsItemWarnings
138+ , UsageReportsItemWarnings
139+ , usageReportsItemWarnings
140+ , uriwData
141+ , uriwCode
142+ , uriwMessage
143+ ) where
144+
145+import Network.Google.Reports.Types
146+
147+{- $resources
148+TODO
149+-}
150+
151+type Reports = ()
152+
153+reports :: Proxy Reports
154+reports = Proxy
155+
156+
157+
158+
gogol-admin/gen/Network/Google/Reports/Types.hsnew file+148
@@ -0,0 +1,148 @@
1+{-# LANGUAGE DeriveDataTypeable #-}
2+{-# LANGUAGE DeriveGeneric #-}
3+{-# LANGUAGE OverloadedStrings #-}
4+
5+-- |
6+-- Module : Network.Google.Reports.Types
7+-- Copyright : (c) 2015 Brendan Hay
8+-- License : Mozilla Public License, v. 2.0.
9+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
10+-- Stability : auto-generated
11+-- Portability : non-portable (GHC extensions)
12+--
13+module Network.Google.Reports.Types
14+ (
15+ -- * API Definition
16+ admin
17+
18+
19+ -- * Activities
20+ , Activities
21+ , activities
22+ , actEtag
23+ , actNextPageToken
24+ , actKind
25+ , actItems
26+
27+ -- * Activity
28+ , Activity
29+ , activity
30+ , aEtag
31+ , aIpAddress
32+ , aKind
33+ , aActor
34+ , aOwnerDomain
35+ , aEvents
36+ , aId
37+
38+ -- * ActivityActor
39+ , ActivityActor
40+ , activityActor
41+ , aaEmail
42+ , aaCallerType
43+ , aaProfileId
44+ , aaKey
45+
46+ -- * ActivityId
47+ , ActivityId
48+ , activityId
49+ , aiTime
50+ , aiUniqueQualifier
51+ , aiCustomerId
52+ , aiApplicationName
53+
54+ -- * ActivityItemEvents
55+ , ActivityItemEvents
56+ , activityItemEvents
57+ , aieName
58+ , aieParameters
59+ , aieType
60+
61+ -- * ActivityItemParametersItemEvents
62+ , ActivityItemParametersItemEvents
63+ , activityItemParametersItemEvents
64+ , aipieBoolValue
65+ , aipieIntValue
66+ , aipieValue
67+ , aipieMultiIntValue
68+ , aipieName
69+ , aipieMultiValue
70+
71+ -- * Channel
72+ , Channel
73+ , channel
74+ , cResourceUri
75+ , cResourceId
76+ , cKind
77+ , cExpiration
78+ , cToken
79+ , cAddress
80+ , cPayload
81+ , cParams
82+ , cId
83+ , cType
84+
85+ -- * ChannelParams
86+ , ChannelParams
87+ , channelParams
88+
89+ -- * UsageReport
90+ , UsageReport
91+ , usageReport
92+ , uEtag
93+ , uKind
94+ , uDate
95+ , uParameters
96+ , uEntity
97+
98+ -- * UsageReportEntity
99+ , UsageReportEntity
100+ , usageReportEntity
101+ , ureProfileId
102+ , ureCustomerId
103+ , ureUserEmail
104+ , ureType
105+
106+ -- * UsageReportItemMsgValueItemParameters
107+ , UsageReportItemMsgValueItemParameters
108+ , usageReportItemMsgValueItemParameters
109+
110+ -- * UsageReportItemParameters
111+ , UsageReportItemParameters
112+ , usageReportItemParameters
113+ , uripDatetimeValue
114+ , uripBoolValue
115+ , uripIntValue
116+ , uripStringValue
117+ , uripName
118+ , uripMsgValue
119+
120+ -- * UsageReports
121+ , UsageReports
122+ , usageReports
123+ , urEtag
124+ , urNextPageToken
125+ , urUsageReports
126+ , urKind
127+ , urWarnings
128+
129+ -- * UsageReportsItemDataItemWarnings
130+ , UsageReportsItemDataItemWarnings
131+ , usageReportsItemDataItemWarnings
132+ , uridiwValue
133+ , uridiwKey
134+
135+ -- * UsageReportsItemWarnings
136+ , UsageReportsItemWarnings
137+ , usageReportsItemWarnings
138+ , uriwData
139+ , uriwCode
140+ , uriwMessage
141+ ) where
142+
143+import Network.Google.Prelude
144+import Network.Google.Reports.Types.Product
145+import Network.Google.Reports.Types.Sum
146+
147+admin :: a
148+admin = error "admin"
gogol-admin/gen/Network/Google/Reports/Types/Product.hsnew file+810
@@ -0,0 +1,810 @@
1+{-# LANGUAGE DeriveDataTypeable #-}
2+{-# LANGUAGE DeriveGeneric #-}
3+{-# LANGUAGE OverloadedStrings #-}
4+
5+-- |
6+-- Module : Network.Google.Reports.Types.Product
7+-- Copyright : (c) 2015 Brendan Hay
8+-- License : Mozilla Public License, v. 2.0.
9+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
10+-- Stability : auto-generated
11+-- Portability : non-portable (GHC extensions)
12+--
13+module Network.Google.Reports.Types.Product where
14+
15+import Network.Google.Prelude
16+import Network.Google.Reports.Types.Sum
17+
18+-- | JSON template for a collection of activites.
19+--
20+-- /See:/ 'activities' smart constructor.
21+data Activities = Activities
22+ { _actEtag :: !(Maybe Text)
23+ , _actNextPageToken :: !(Maybe Text)
24+ , _actKind :: !Text
25+ , _actItems :: !(Maybe [Maybe Activity])
26+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
27+
28+-- | Creates a value of 'Activities' with the minimum fields required to make a request.
29+--
30+-- Use one of the following lenses to modify other fields as desired:
31+--
32+-- * 'actEtag'
33+--
34+-- * 'actNextPageToken'
35+--
36+-- * 'actKind'
37+--
38+-- * 'actItems'
39+activities
40+ :: Activities
41+activities =
42+ Activities
43+ { _actEtag = Nothing
44+ , _actNextPageToken = Nothing
45+ , _actKind = "admin#reports#activities"
46+ , _actItems = Nothing
47+ }
48+
49+-- | ETag of the resource.
50+actEtag :: Lens' Activities (Maybe Text)
51+actEtag = lens _actEtag (\ s a -> s{_actEtag = a})
52+
53+-- | Token for retrieving the next page
54+actNextPageToken :: Lens' Activities (Maybe Text)
55+actNextPageToken
56+ = lens _actNextPageToken
57+ (\ s a -> s{_actNextPageToken = a})
58+
59+-- | Kind of list response this is.
60+actKind :: Lens' Activities Text
61+actKind = lens _actKind (\ s a -> s{_actKind = a})
62+
63+-- | Each record in read response.
64+actItems :: Lens' Activities [Maybe Activity]
65+actItems
66+ = lens _actItems (\ s a -> s{_actItems = a}) .
67+ _Default
68+ . _Coerce
69+
70+-- | JSON template for the activity resource.
71+--
72+-- /See:/ 'activity' smart constructor.
73+data Activity = Activity
74+ { _aEtag :: !(Maybe Text)
75+ , _aIpAddress :: !(Maybe Text)
76+ , _aKind :: !Text
77+ , _aActor :: !(Maybe ActivityActor)
78+ , _aOwnerDomain :: !(Maybe Text)
79+ , _aEvents :: !(Maybe [ActivityItemEvents])
80+ , _aId :: !(Maybe ActivityId)
81+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
82+
83+-- | Creates a value of 'Activity' with the minimum fields required to make a request.
84+--
85+-- Use one of the following lenses to modify other fields as desired:
86+--
87+-- * 'aEtag'
88+--
89+-- * 'aIpAddress'
90+--
91+-- * 'aKind'
92+--
93+-- * 'aActor'
94+--
95+-- * 'aOwnerDomain'
96+--
97+-- * 'aEvents'
98+--
99+-- * 'aId'
100+activity
101+ :: Activity
102+activity =
103+ Activity
104+ { _aEtag = Nothing
105+ , _aIpAddress = Nothing
106+ , _aKind = "admin#reports#activity"
107+ , _aActor = Nothing
108+ , _aOwnerDomain = Nothing
109+ , _aEvents = Nothing
110+ , _aId = Nothing
111+ }
112+
113+-- | ETag of the entry.
114+aEtag :: Lens' Activity (Maybe Text)
115+aEtag = lens _aEtag (\ s a -> s{_aEtag = a})
116+
117+-- | IP Address of the user doing the action.
118+aIpAddress :: Lens' Activity (Maybe Text)
119+aIpAddress
120+ = lens _aIpAddress (\ s a -> s{_aIpAddress = a})
121+
122+-- | Kind of resource this is.
123+aKind :: Lens' Activity Text
124+aKind = lens _aKind (\ s a -> s{_aKind = a})
125+
126+-- | User doing the action.
127+aActor :: Lens' Activity (Maybe ActivityActor)
128+aActor = lens _aActor (\ s a -> s{_aActor = a})
129+
130+-- | Domain of source customer.
131+aOwnerDomain :: Lens' Activity (Maybe Text)
132+aOwnerDomain
133+ = lens _aOwnerDomain (\ s a -> s{_aOwnerDomain = a})
134+
135+-- | Activity events.
136+aEvents :: Lens' Activity [ActivityItemEvents]
137+aEvents
138+ = lens _aEvents (\ s a -> s{_aEvents = a}) . _Default
139+ . _Coerce
140+
141+-- | Unique identifier for each activity record.
142+aId :: Lens' Activity (Maybe ActivityId)
143+aId = lens _aId (\ s a -> s{_aId = a})
144+
145+-- | User doing the action.
146+--
147+-- /See:/ 'activityActor' smart constructor.
148+data ActivityActor = ActivityActor
149+ { _aaEmail :: !(Maybe Text)
150+ , _aaCallerType :: !(Maybe Text)
151+ , _aaProfileId :: !(Maybe Text)
152+ , _aaKey :: !(Maybe Text)
153+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
154+
155+-- | Creates a value of 'ActivityActor' with the minimum fields required to make a request.
156+--
157+-- Use one of the following lenses to modify other fields as desired:
158+--
159+-- * 'aaEmail'
160+--
161+-- * 'aaCallerType'
162+--
163+-- * 'aaProfileId'
164+--
165+-- * 'aaKey'
166+activityActor
167+ :: ActivityActor
168+activityActor =
169+ ActivityActor
170+ { _aaEmail = Nothing
171+ , _aaCallerType = Nothing
172+ , _aaProfileId = Nothing
173+ , _aaKey = Nothing
174+ }
175+
176+-- | Email address of the user.
177+aaEmail :: Lens' ActivityActor (Maybe Text)
178+aaEmail = lens _aaEmail (\ s a -> s{_aaEmail = a})
179+
180+-- | User or OAuth 2LO request.
181+aaCallerType :: Lens' ActivityActor (Maybe Text)
182+aaCallerType
183+ = lens _aaCallerType (\ s a -> s{_aaCallerType = a})
184+
185+-- | Obfuscated user id of the user.
186+aaProfileId :: Lens' ActivityActor (Maybe Text)
187+aaProfileId
188+ = lens _aaProfileId (\ s a -> s{_aaProfileId = a})
189+
190+-- | For OAuth 2LO API requests, consumer_key of the requestor.
191+aaKey :: Lens' ActivityActor (Maybe Text)
192+aaKey = lens _aaKey (\ s a -> s{_aaKey = a})
193+
194+-- | Unique identifier for each activity record.
195+--
196+-- /See:/ 'activityId' smart constructor.
197+data ActivityId = ActivityId
198+ { _aiTime :: !(Maybe UTCTime)
199+ , _aiUniqueQualifier :: !(Maybe Int64)
200+ , _aiCustomerId :: !(Maybe Text)
201+ , _aiApplicationName :: !(Maybe Text)
202+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
203+
204+-- | Creates a value of 'ActivityId' with the minimum fields required to make a request.
205+--
206+-- Use one of the following lenses to modify other fields as desired:
207+--
208+-- * 'aiTime'
209+--
210+-- * 'aiUniqueQualifier'
211+--
212+-- * 'aiCustomerId'
213+--
214+-- * 'aiApplicationName'
215+activityId
216+ :: ActivityId
217+activityId =
218+ ActivityId
219+ { _aiTime = Nothing
220+ , _aiUniqueQualifier = Nothing
221+ , _aiCustomerId = Nothing
222+ , _aiApplicationName = Nothing
223+ }
224+
225+-- | Time of occurrence of the activity.
226+aiTime :: Lens' ActivityId (Maybe UTCTime)
227+aiTime = lens _aiTime (\ s a -> s{_aiTime = a})
228+
229+-- | Unique qualifier if multiple events have the same time.
230+aiUniqueQualifier :: Lens' ActivityId (Maybe Int64)
231+aiUniqueQualifier
232+ = lens _aiUniqueQualifier
233+ (\ s a -> s{_aiUniqueQualifier = a})
234+
235+-- | Obfuscated customer ID of the source customer.
236+aiCustomerId :: Lens' ActivityId (Maybe Text)
237+aiCustomerId
238+ = lens _aiCustomerId (\ s a -> s{_aiCustomerId = a})
239+
240+-- | Application name to which the event belongs.
241+aiApplicationName :: Lens' ActivityId (Maybe Text)
242+aiApplicationName
243+ = lens _aiApplicationName
244+ (\ s a -> s{_aiApplicationName = a})
245+
246+--
247+-- /See:/ 'activityItemEvents' smart constructor.
248+data ActivityItemEvents = ActivityItemEvents
249+ { _aieName :: !(Maybe Text)
250+ , _aieParameters :: !(Maybe [ActivityItemParametersItemEvents])
251+ , _aieType :: !(Maybe Text)
252+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
253+
254+-- | Creates a value of 'ActivityItemEvents' with the minimum fields required to make a request.
255+--
256+-- Use one of the following lenses to modify other fields as desired:
257+--
258+-- * 'aieName'
259+--
260+-- * 'aieParameters'
261+--
262+-- * 'aieType'
263+activityItemEvents
264+ :: ActivityItemEvents
265+activityItemEvents =
266+ ActivityItemEvents
267+ { _aieName = Nothing
268+ , _aieParameters = Nothing
269+ , _aieType = Nothing
270+ }
271+
272+-- | Name of event.
273+aieName :: Lens' ActivityItemEvents (Maybe Text)
274+aieName = lens _aieName (\ s a -> s{_aieName = a})
275+
276+-- | Parameter value pairs for various applications.
277+aieParameters :: Lens' ActivityItemEvents [ActivityItemParametersItemEvents]
278+aieParameters
279+ = lens _aieParameters
280+ (\ s a -> s{_aieParameters = a})
281+ . _Default
282+ . _Coerce
283+
284+-- | Type of event.
285+aieType :: Lens' ActivityItemEvents (Maybe Text)
286+aieType = lens _aieType (\ s a -> s{_aieType = a})
287+
288+--
289+-- /See:/ 'activityItemParametersItemEvents' smart constructor.
290+data ActivityItemParametersItemEvents = ActivityItemParametersItemEvents
291+ { _aipieBoolValue :: !(Maybe Bool)
292+ , _aipieIntValue :: !(Maybe Int64)
293+ , _aipieValue :: !(Maybe Text)
294+ , _aipieMultiIntValue :: !(Maybe [Int64])
295+ , _aipieName :: !(Maybe Text)
296+ , _aipieMultiValue :: !(Maybe [Text])
297+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
298+
299+-- | Creates a value of 'ActivityItemParametersItemEvents' with the minimum fields required to make a request.
300+--
301+-- Use one of the following lenses to modify other fields as desired:
302+--
303+-- * 'aipieBoolValue'
304+--
305+-- * 'aipieIntValue'
306+--
307+-- * 'aipieValue'
308+--
309+-- * 'aipieMultiIntValue'
310+--
311+-- * 'aipieName'
312+--
313+-- * 'aipieMultiValue'
314+activityItemParametersItemEvents
315+ :: ActivityItemParametersItemEvents
316+activityItemParametersItemEvents =
317+ ActivityItemParametersItemEvents
318+ { _aipieBoolValue = Nothing
319+ , _aipieIntValue = Nothing
320+ , _aipieValue = Nothing
321+ , _aipieMultiIntValue = Nothing
322+ , _aipieName = Nothing
323+ , _aipieMultiValue = Nothing
324+ }
325+
326+-- | Boolean value of the parameter.
327+aipieBoolValue :: Lens' ActivityItemParametersItemEvents (Maybe Bool)
328+aipieBoolValue
329+ = lens _aipieBoolValue
330+ (\ s a -> s{_aipieBoolValue = a})
331+
332+-- | Integral value of the parameter.
333+aipieIntValue :: Lens' ActivityItemParametersItemEvents (Maybe Int64)
334+aipieIntValue
335+ = lens _aipieIntValue
336+ (\ s a -> s{_aipieIntValue = a})
337+
338+-- | String value of the parameter.
339+aipieValue :: Lens' ActivityItemParametersItemEvents (Maybe Text)
340+aipieValue
341+ = lens _aipieValue (\ s a -> s{_aipieValue = a})
342+
343+-- | Multi-int value of the parameter.
344+aipieMultiIntValue :: Lens' ActivityItemParametersItemEvents [Int64]
345+aipieMultiIntValue
346+ = lens _aipieMultiIntValue
347+ (\ s a -> s{_aipieMultiIntValue = a})
348+ . _Default
349+ . _Coerce
350+
351+-- | The name of the parameter.
352+aipieName :: Lens' ActivityItemParametersItemEvents (Maybe Text)
353+aipieName
354+ = lens _aipieName (\ s a -> s{_aipieName = a})
355+
356+-- | Multi-string value of the parameter.
357+aipieMultiValue :: Lens' ActivityItemParametersItemEvents [Text]
358+aipieMultiValue
359+ = lens _aipieMultiValue
360+ (\ s a -> s{_aipieMultiValue = a})
361+ . _Default
362+ . _Coerce
363+
364+-- | An notification channel used to watch for resource changes.
365+--
366+-- /See:/ 'channel' smart constructor.
367+data Channel = Channel
368+ { _cResourceUri :: !(Maybe Text)
369+ , _cResourceId :: !(Maybe Text)
370+ , _cKind :: !Text
371+ , _cExpiration :: !(Maybe Int64)
372+ , _cToken :: !(Maybe Text)
373+ , _cAddress :: !(Maybe Text)
374+ , _cPayload :: !(Maybe Bool)
375+ , _cParams :: !(Maybe ChannelParams)
376+ , _cId :: !(Maybe Text)
377+ , _cType :: !(Maybe Text)
378+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
379+
380+-- | Creates a value of 'Channel' with the minimum fields required to make a request.
381+--
382+-- Use one of the following lenses to modify other fields as desired:
383+--
384+-- * 'cResourceUri'
385+--
386+-- * 'cResourceId'
387+--
388+-- * 'cKind'
389+--
390+-- * 'cExpiration'
391+--
392+-- * 'cToken'
393+--
394+-- * 'cAddress'
395+--
396+-- * 'cPayload'
397+--
398+-- * 'cParams'
399+--
400+-- * 'cId'
401+--
402+-- * 'cType'
403+channel
404+ :: Channel
405+channel =
406+ Channel
407+ { _cResourceUri = Nothing
408+ , _cResourceId = Nothing
409+ , _cKind = "api#channel"
410+ , _cExpiration = Nothing
411+ , _cToken = Nothing
412+ , _cAddress = Nothing
413+ , _cPayload = Nothing
414+ , _cParams = Nothing
415+ , _cId = Nothing
416+ , _cType = Nothing
417+ }
418+
419+-- | A version-specific identifier for the watched resource.
420+cResourceUri :: Lens' Channel (Maybe Text)
421+cResourceUri
422+ = lens _cResourceUri (\ s a -> s{_cResourceUri = a})
423+
424+-- | An opaque ID that identifies the resource being watched on this channel.
425+-- Stable across different API versions.
426+cResourceId :: Lens' Channel (Maybe Text)
427+cResourceId
428+ = lens _cResourceId (\ s a -> s{_cResourceId = a})
429+
430+-- | Identifies this as a notification channel used to watch for changes to a
431+-- resource. Value: the fixed string \"api#channel\".
432+cKind :: Lens' Channel Text
433+cKind = lens _cKind (\ s a -> s{_cKind = a})
434+
435+-- | Date and time of notification channel expiration, expressed as a Unix
436+-- timestamp, in milliseconds. Optional.
437+cExpiration :: Lens' Channel (Maybe Int64)
438+cExpiration
439+ = lens _cExpiration (\ s a -> s{_cExpiration = a})
440+
441+-- | An arbitrary string delivered to the target address with each
442+-- notification delivered over this channel. Optional.
443+cToken :: Lens' Channel (Maybe Text)
444+cToken = lens _cToken (\ s a -> s{_cToken = a})
445+
446+-- | The address where notifications are delivered for this channel.
447+cAddress :: Lens' Channel (Maybe Text)
448+cAddress = lens _cAddress (\ s a -> s{_cAddress = a})
449+
450+-- | A Boolean value to indicate whether payload is wanted. Optional.
451+cPayload :: Lens' Channel (Maybe Bool)
452+cPayload = lens _cPayload (\ s a -> s{_cPayload = a})
453+
454+-- | Additional parameters controlling delivery channel behavior. Optional.
455+cParams :: Lens' Channel (Maybe ChannelParams)
456+cParams = lens _cParams (\ s a -> s{_cParams = a})
457+
458+-- | A UUID or similar unique string that identifies this channel.
459+cId :: Lens' Channel (Maybe Text)
460+cId = lens _cId (\ s a -> s{_cId = a})
461+
462+-- | The type of delivery mechanism used for this channel.
463+cType :: Lens' Channel (Maybe Text)
464+cType = lens _cType (\ s a -> s{_cType = a})
465+
466+-- | Additional parameters controlling delivery channel behavior. Optional.
467+--
468+-- /See:/ 'channelParams' smart constructor.
469+data ChannelParams =
470+ ChannelParams
471+ deriving (Eq,Read,Show,Data,Typeable,Generic)
472+
473+-- | Creates a value of 'ChannelParams' with the minimum fields required to make a request.
474+--
475+channelParams
476+ :: ChannelParams
477+channelParams = ChannelParams
478+
479+-- | JSON template for a usage report.
480+--
481+-- /See:/ 'usageReport' smart constructor.
482+data UsageReport = UsageReport
483+ { _uEtag :: !(Maybe Text)
484+ , _uKind :: !Text
485+ , _uDate :: !(Maybe Text)
486+ , _uParameters :: !(Maybe [UsageReportItemParameters])
487+ , _uEntity :: !(Maybe UsageReportEntity)
488+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
489+
490+-- | Creates a value of 'UsageReport' with the minimum fields required to make a request.
491+--
492+-- Use one of the following lenses to modify other fields as desired:
493+--
494+-- * 'uEtag'
495+--
496+-- * 'uKind'
497+--
498+-- * 'uDate'
499+--
500+-- * 'uParameters'
501+--
502+-- * 'uEntity'
503+usageReport
504+ :: UsageReport
505+usageReport =
506+ UsageReport
507+ { _uEtag = Nothing
508+ , _uKind = "admin#reports#usageReport"
509+ , _uDate = Nothing
510+ , _uParameters = Nothing
511+ , _uEntity = Nothing
512+ }
513+
514+-- | ETag of the resource.
515+uEtag :: Lens' UsageReport (Maybe Text)
516+uEtag = lens _uEtag (\ s a -> s{_uEtag = a})
517+
518+-- | The kind of object.
519+uKind :: Lens' UsageReport Text
520+uKind = lens _uKind (\ s a -> s{_uKind = a})
521+
522+-- | The date to which the record belongs.
523+uDate :: Lens' UsageReport (Maybe Text)
524+uDate = lens _uDate (\ s a -> s{_uDate = a})
525+
526+-- | Parameter value pairs for various applications.
527+uParameters :: Lens' UsageReport [UsageReportItemParameters]
528+uParameters
529+ = lens _uParameters (\ s a -> s{_uParameters = a}) .
530+ _Default
531+ . _Coerce
532+
533+-- | Information about the type of the item.
534+uEntity :: Lens' UsageReport (Maybe UsageReportEntity)
535+uEntity = lens _uEntity (\ s a -> s{_uEntity = a})
536+
537+-- | Information about the type of the item.
538+--
539+-- /See:/ 'usageReportEntity' smart constructor.
540+data UsageReportEntity = UsageReportEntity
541+ { _ureProfileId :: !(Maybe Text)
542+ , _ureCustomerId :: !(Maybe Text)
543+ , _ureUserEmail :: !(Maybe Text)
544+ , _ureType :: !(Maybe Text)
545+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
546+
547+-- | Creates a value of 'UsageReportEntity' with the minimum fields required to make a request.
548+--
549+-- Use one of the following lenses to modify other fields as desired:
550+--
551+-- * 'ureProfileId'
552+--
553+-- * 'ureCustomerId'
554+--
555+-- * 'ureUserEmail'
556+--
557+-- * 'ureType'
558+usageReportEntity
559+ :: UsageReportEntity
560+usageReportEntity =
561+ UsageReportEntity
562+ { _ureProfileId = Nothing
563+ , _ureCustomerId = Nothing
564+ , _ureUserEmail = Nothing
565+ , _ureType = Nothing
566+ }
567+
568+-- | Obfuscated user id for the record.
569+ureProfileId :: Lens' UsageReportEntity (Maybe Text)
570+ureProfileId
571+ = lens _ureProfileId (\ s a -> s{_ureProfileId = a})
572+
573+-- | Obfuscated customer id for the record.
574+ureCustomerId :: Lens' UsageReportEntity (Maybe Text)
575+ureCustomerId
576+ = lens _ureCustomerId
577+ (\ s a -> s{_ureCustomerId = a})
578+
579+-- | user\'s email.
580+ureUserEmail :: Lens' UsageReportEntity (Maybe Text)
581+ureUserEmail
582+ = lens _ureUserEmail (\ s a -> s{_ureUserEmail = a})
583+
584+-- | The type of item, can be a customer or user.
585+ureType :: Lens' UsageReportEntity (Maybe Text)
586+ureType = lens _ureType (\ s a -> s{_ureType = a})
587+
588+--
589+-- /See:/ 'usageReportItemMsgValueItemParameters' smart constructor.
590+data UsageReportItemMsgValueItemParameters =
591+ UsageReportItemMsgValueItemParameters
592+ deriving (Eq,Read,Show,Data,Typeable,Generic)
593+
594+-- | Creates a value of 'UsageReportItemMsgValueItemParameters' with the minimum fields required to make a request.
595+--
596+usageReportItemMsgValueItemParameters
597+ :: UsageReportItemMsgValueItemParameters
598+usageReportItemMsgValueItemParameters = UsageReportItemMsgValueItemParameters
599+
600+--
601+-- /See:/ 'usageReportItemParameters' smart constructor.
602+data UsageReportItemParameters = UsageReportItemParameters
603+ { _uripDatetimeValue :: !(Maybe UTCTime)
604+ , _uripBoolValue :: !(Maybe Bool)
605+ , _uripIntValue :: !(Maybe Int64)
606+ , _uripStringValue :: !(Maybe Text)
607+ , _uripName :: !(Maybe Text)
608+ , _uripMsgValue :: !(Maybe [UsageReportItemMsgValueItemParameters])
609+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
610+
611+-- | Creates a value of 'UsageReportItemParameters' with the minimum fields required to make a request.
612+--
613+-- Use one of the following lenses to modify other fields as desired:
614+--
615+-- * 'uripDatetimeValue'
616+--
617+-- * 'uripBoolValue'
618+--
619+-- * 'uripIntValue'
620+--
621+-- * 'uripStringValue'
622+--
623+-- * 'uripName'
624+--
625+-- * 'uripMsgValue'
626+usageReportItemParameters
627+ :: UsageReportItemParameters
628+usageReportItemParameters =
629+ UsageReportItemParameters
630+ { _uripDatetimeValue = Nothing
631+ , _uripBoolValue = Nothing
632+ , _uripIntValue = Nothing
633+ , _uripStringValue = Nothing
634+ , _uripName = Nothing
635+ , _uripMsgValue = Nothing
636+ }
637+
638+-- | RFC 3339 formatted value of the parameter.
639+uripDatetimeValue :: Lens' UsageReportItemParameters (Maybe UTCTime)
640+uripDatetimeValue
641+ = lens _uripDatetimeValue
642+ (\ s a -> s{_uripDatetimeValue = a})
643+
644+-- | Boolean value of the parameter.
645+uripBoolValue :: Lens' UsageReportItemParameters (Maybe Bool)
646+uripBoolValue
647+ = lens _uripBoolValue
648+ (\ s a -> s{_uripBoolValue = a})
649+
650+-- | Integral value of the parameter.
651+uripIntValue :: Lens' UsageReportItemParameters (Maybe Int64)
652+uripIntValue
653+ = lens _uripIntValue (\ s a -> s{_uripIntValue = a})
654+
655+-- | String value of the parameter.
656+uripStringValue :: Lens' UsageReportItemParameters (Maybe Text)
657+uripStringValue
658+ = lens _uripStringValue
659+ (\ s a -> s{_uripStringValue = a})
660+
661+-- | The name of the parameter.
662+uripName :: Lens' UsageReportItemParameters (Maybe Text)
663+uripName = lens _uripName (\ s a -> s{_uripName = a})
664+
665+-- | Nested message value of the parameter.
666+uripMsgValue :: Lens' UsageReportItemParameters [UsageReportItemMsgValueItemParameters]
667+uripMsgValue
668+ = lens _uripMsgValue (\ s a -> s{_uripMsgValue = a})
669+ . _Default
670+ . _Coerce
671+
672+-- | JSON template for a collection of usage reports.
673+--
674+-- /See:/ 'usageReports' smart constructor.
675+data UsageReports = UsageReports
676+ { _urEtag :: !(Maybe Text)
677+ , _urNextPageToken :: !(Maybe Text)
678+ , _urUsageReports :: !(Maybe [Maybe UsageReport])
679+ , _urKind :: !Text
680+ , _urWarnings :: !(Maybe [UsageReportsItemWarnings])
681+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
682+
683+-- | Creates a value of 'UsageReports' with the minimum fields required to make a request.
684+--
685+-- Use one of the following lenses to modify other fields as desired:
686+--
687+-- * 'urEtag'
688+--
689+-- * 'urNextPageToken'
690+--
691+-- * 'urUsageReports'
692+--
693+-- * 'urKind'
694+--
695+-- * 'urWarnings'
696+usageReports
697+ :: UsageReports
698+usageReports =
699+ UsageReports
700+ { _urEtag = Nothing
701+ , _urNextPageToken = Nothing
702+ , _urUsageReports = Nothing
703+ , _urKind = "admin#reports#usageReports"
704+ , _urWarnings = Nothing
705+ }
706+
707+-- | ETag of the resource.
708+urEtag :: Lens' UsageReports (Maybe Text)
709+urEtag = lens _urEtag (\ s a -> s{_urEtag = a})
710+
711+-- | Token for retrieving the next page
712+urNextPageToken :: Lens' UsageReports (Maybe Text)
713+urNextPageToken
714+ = lens _urNextPageToken
715+ (\ s a -> s{_urNextPageToken = a})
716+
717+-- | Various application parameter records.
718+urUsageReports :: Lens' UsageReports [Maybe UsageReport]
719+urUsageReports
720+ = lens _urUsageReports
721+ (\ s a -> s{_urUsageReports = a})
722+ . _Default
723+ . _Coerce
724+
725+-- | The kind of object.
726+urKind :: Lens' UsageReports Text
727+urKind = lens _urKind (\ s a -> s{_urKind = a})
728+
729+-- | Warnings if any.
730+urWarnings :: Lens' UsageReports [UsageReportsItemWarnings]
731+urWarnings
732+ = lens _urWarnings (\ s a -> s{_urWarnings = a}) .
733+ _Default
734+ . _Coerce
735+
736+--
737+-- /See:/ 'usageReportsItemDataItemWarnings' smart constructor.
738+data UsageReportsItemDataItemWarnings = UsageReportsItemDataItemWarnings
739+ { _uridiwValue :: !(Maybe Text)
740+ , _uridiwKey :: !(Maybe Text)
741+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
742+
743+-- | Creates a value of 'UsageReportsItemDataItemWarnings' with the minimum fields required to make a request.
744+--
745+-- Use one of the following lenses to modify other fields as desired:
746+--
747+-- * 'uridiwValue'
748+--
749+-- * 'uridiwKey'
750+usageReportsItemDataItemWarnings
751+ :: UsageReportsItemDataItemWarnings
752+usageReportsItemDataItemWarnings =
753+ UsageReportsItemDataItemWarnings
754+ { _uridiwValue = Nothing
755+ , _uridiwKey = Nothing
756+ }
757+
758+-- | Value associated with a key-value pair to give detailed information on
759+-- the warning.
760+uridiwValue :: Lens' UsageReportsItemDataItemWarnings (Maybe Text)
761+uridiwValue
762+ = lens _uridiwValue (\ s a -> s{_uridiwValue = a})
763+
764+-- | Key associated with a key-value pair to give detailed information on the
765+-- warning.
766+uridiwKey :: Lens' UsageReportsItemDataItemWarnings (Maybe Text)
767+uridiwKey
768+ = lens _uridiwKey (\ s a -> s{_uridiwKey = a})
769+
770+--
771+-- /See:/ 'usageReportsItemWarnings' smart constructor.
772+data UsageReportsItemWarnings = UsageReportsItemWarnings
773+ { _uriwData :: !(Maybe [UsageReportsItemDataItemWarnings])
774+ , _uriwCode :: !(Maybe Text)
775+ , _uriwMessage :: !(Maybe Text)
776+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
777+
778+-- | Creates a value of 'UsageReportsItemWarnings' with the minimum fields required to make a request.
779+--
780+-- Use one of the following lenses to modify other fields as desired:
781+--
782+-- * 'uriwData'
783+--
784+-- * 'uriwCode'
785+--
786+-- * 'uriwMessage'
787+usageReportsItemWarnings
788+ :: UsageReportsItemWarnings
789+usageReportsItemWarnings =
790+ UsageReportsItemWarnings
791+ { _uriwData = Nothing
792+ , _uriwCode = Nothing
793+ , _uriwMessage = Nothing
794+ }
795+
796+-- | Key-Value pairs to give detailed information on the warning.
797+uriwData :: Lens' UsageReportsItemWarnings [UsageReportsItemDataItemWarnings]
798+uriwData
799+ = lens _uriwData (\ s a -> s{_uriwData = a}) .
800+ _Default
801+ . _Coerce
802+
803+-- | Machine readable code \/ warning type.
804+uriwCode :: Lens' UsageReportsItemWarnings (Maybe Text)
805+uriwCode = lens _uriwCode (\ s a -> s{_uriwCode = a})
806+
807+-- | Human readable message for the warning.
808+uriwMessage :: Lens' UsageReportsItemWarnings (Maybe Text)
809+uriwMessage
810+ = lens _uriwMessage (\ s a -> s{_uriwMessage = a})
gogol-admin/gen/Network/Google/Reports/Types/Sum.hsnew file+15
@@ -0,0 +1,15 @@
1+{-# LANGUAGE DeriveDataTypeable #-}
2+{-# LANGUAGE DeriveGeneric #-}
3+{-# LANGUAGE OverloadedStrings #-}
4+
5+-- |
6+-- Module : Network.Google.Reports.Types.Sum
7+-- Copyright : (c) 2015 Brendan Hay
8+-- License : Mozilla Public License, v. 2.0.
9+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
10+-- Stability : auto-generated
11+-- Portability : non-portable (GHC extensions)
12+--
13+module Network.Google.Reports.Types.Sum where
14+
15+import Network.Google.Prelude
gogol-admin/gogol-admin.cabalnew file+51
@@ -0,0 +1,51 @@
1+name: gogol-admin
2+version: 0.0.1
3+synopsis: Google Admin Data Transfer API.
4+homepage: https://github.com/brendanhay/gogol
5+bug-reports: https://github.com/brendanhay/gogol/issues
6+license: OtherLicense
7+license-file: LICENSE
8+author: Brendan Hay
9+maintainer: Brendan Hay <brendan.g.hay@gmail.com>
10+copyright: Copyright (c) 2015 Brendan Hay
11+category: Network, Google, Cloud
12+build-type: Simple
13+cabal-version: >= 1.10
14+extra-source-files: README.md
15+
16+description:
17+ Pending
18+
19+source-repository head
20+ type: git
21+ location: git://github.com/brendanhay/gogol.git
22+
23+library
24+ default-language: Haskell2010
25+ hs-source-dirs: src gen
26+
27+ ghc-options: -Wall
28+
29+ exposed-modules:
30+ Network.Google.DataTransfer
31+ , Network.Google.DataTransfer.Types
32+ , Network.Google.Directory
33+ , Network.Google.Directory.Types
34+ , Network.Google.EmailMigrationAPIv2
35+ , Network.Google.EmailMigrationAPIv2.Types
36+ , Network.Google.Reports
37+ , Network.Google.Reports.Types
38+
39+ other-modules:
40+ Network.Google.DataTransfer.Types.Product
41+ , Network.Google.DataTransfer.Types.Sum
42+ , Network.Google.Directory.Types.Product
43+ , Network.Google.Directory.Types.Sum
44+ , Network.Google.EmailMigrationAPIv2.Types.Product
45+ , Network.Google.EmailMigrationAPIv2.Types.Sum
46+ , Network.Google.Reports.Types.Product
47+ , Network.Google.Reports.Types.Sum
48+
49+ build-depends:
50+ gogol-core == 0.0.1.*
51+ , base >= 4.7 && < 5
gogol-admin/src/.gitkeepnew file

No changes to the content.

gogol-adsense-host/LICENSEnew file+373
@@ -0,0 +1,373 @@
1+Mozilla Public License Version 2.0
2+==================================
3+
4+1. Definitions
5+--------------
6+
7+1.1. "Contributor"
8+ means each individual or legal entity that creates, contributes to
9+ the creation of, or owns Covered Software.
10+
11+1.2. "Contributor Version"
12+ means the combination of the Contributions of others (if any) used
13+ by a Contributor and that particular Contributor's Contribution.
14+
15+1.3. "Contribution"
16+ means Covered Software of a particular Contributor.
17+
18+1.4. "Covered Software"
19+ means Source Code Form to which the initial Contributor has attached
20+ the notice in Exhibit A, the Executable Form of such Source Code
21+ Form, and Modifications of such Source Code Form, in each case
22+ including portions thereof.
23+
24+1.5. "Incompatible With Secondary Licenses"
25+ means
26+
27+ (a) that the initial Contributor has attached the notice described
28+ in Exhibit B to the Covered Software; or
29+
30+ (b) that the Covered Software was made available under the terms of
31+ version 1.1 or earlier of the License, but not also under the
32+ terms of a Secondary License.
33+
34+1.6. "Executable Form"
35+ means any form of the work other than Source Code Form.
36+
37+1.7. "Larger Work"
38+ means a work that combines Covered Software with other material, in
39+ a separate file or files, that is not Covered Software.
40+
41+1.8. "License"
42+ means this document.
43+
44+1.9. "Licensable"
45+ means having the right to grant, to the maximum extent possible,
46+ whether at the time of the initial grant or subsequently, any and
47+ all of the rights conveyed by this License.
48+
49+1.10. "Modifications"
50+ means any of the following:
51+
52+ (a) any file in Source Code Form that results from an addition to,
53+ deletion from, or modification of the contents of Covered
54+ Software; or
55+
56+ (b) any new file in Source Code Form that contains any Covered
57+ Software.
58+
59+1.11. "Patent Claims" of a Contributor
60+ means any patent claim(s), including without limitation, method,
61+ process, and apparatus claims, in any patent Licensable by such
62+ Contributor that would be infringed, but for the grant of the
63+ License, by the making, using, selling, offering for sale, having
64+ made, import, or transfer of either its Contributions or its
65+ Contributor Version.
66+
67+1.12. "Secondary License"
68+ means either the GNU General Public License, Version 2.0, the GNU
69+ Lesser General Public License, Version 2.1, the GNU Affero General
70+ Public License, Version 3.0, or any later versions of those
71+ licenses.
72+
73+1.13. "Source Code Form"
74+ means the form of the work preferred for making modifications.
75+
76+1.14. "You" (or "Your")
77+ means an individual or a legal entity exercising rights under this
78+ License. For legal entities, "You" includes any entity that
79+ controls, is controlled by, or is under common control with You. For
80+ purposes of this definition, "control" means (a) the power, direct
81+ or indirect, to cause the direction or management of such entity,
82+ whether by contract or otherwise, or (b) ownership of more than
83+ fifty percent (50%) of the outstanding shares or beneficial
84+ ownership of such entity.
85+
86+2. License Grants and Conditions
87+--------------------------------
88+
89+2.1. Grants
90+
91+Each Contributor hereby grants You a world-wide, royalty-free,
92+non-exclusive license:
93+
94+(a) under intellectual property rights (other than patent or trademark)
95+ Licensable by such Contributor to use, reproduce, make available,
96+ modify, display, perform, distribute, and otherwise exploit its
97+ Contributions, either on an unmodified basis, with Modifications, or
98+ as part of a Larger Work; and
99+
100+(b) under Patent Claims of such Contributor to make, use, sell, offer
101+ for sale, have made, import, and otherwise transfer either its
102+ Contributions or its Contributor Version.
103+
104+2.2. Effective Date
105+
106+The licenses granted in Section 2.1 with respect to any Contribution
107+become effective for each Contribution on the date the Contributor first
108+distributes such Contribution.
109+
110+2.3. Limitations on Grant Scope
111+
112+The licenses granted in this Section 2 are the only rights granted under
113+this License. No additional rights or licenses will be implied from the
114+distribution or licensing of Covered Software under this License.
115+Notwithstanding Section 2.1(b) above, no patent license is granted by a
116+Contributor:
117+
118+(a) for any code that a Contributor has removed from Covered Software;
119+ or
120+
121+(b) for infringements caused by: (i) Your and any other third party's
122+ modifications of Covered Software, or (ii) the combination of its
123+ Contributions with other software (except as part of its Contributor
124+ Version); or
125+
126+(c) under Patent Claims infringed by Covered Software in the absence of
127+ its Contributions.
128+
129+This License does not grant any rights in the trademarks, service marks,
130+or logos of any Contributor (except as may be necessary to comply with
131+the notice requirements in Section 3.4).
132+
133+2.4. Subsequent Licenses
134+
135+No Contributor makes additional grants as a result of Your choice to
136+distribute the Covered Software under a subsequent version of this
137+License (see Section 10.2) or under the terms of a Secondary License (if
138+permitted under the terms of Section 3.3).
139+
140+2.5. Representation
141+
142+Each Contributor represents that the Contributor believes its
143+Contributions are its original creation(s) or it has sufficient rights
144+to grant the rights to its Contributions conveyed by this License.
145+
146+2.6. Fair Use
147+
148+This License is not intended to limit any rights You have under
149+applicable copyright doctrines of fair use, fair dealing, or other
150+equivalents.
151+
152+2.7. Conditions
153+
154+Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
155+in Section 2.1.
156+
157+3. Responsibilities
158+-------------------
159+
160+3.1. Distribution of Source Form
161+
162+All distribution of Covered Software in Source Code Form, including any
163+Modifications that You create or to which You contribute, must be under
164+the terms of this License. You must inform recipients that the Source
165+Code Form of the Covered Software is governed by the terms of this
166+License, and how they can obtain a copy of this License. You may not
167+attempt to alter or restrict the recipients' rights in the Source Code
168+Form.
169+
170+3.2. Distribution of Executable Form
171+
172+If You distribute Covered Software in Executable Form then:
173+
174+(a) such Covered Software must also be made available in Source Code
175+ Form, as described in Section 3.1, and You must inform recipients of
176+ the Executable Form how they can obtain a copy of such Source Code
177+ Form by reasonable means in a timely manner, at a charge no more
178+ than the cost of distribution to the recipient; and
179+
180+(b) You may distribute such Executable Form under the terms of this
181+ License, or sublicense it under different terms, provided that the
182+ license for the Executable Form does not attempt to limit or alter
183+ the recipients' rights in the Source Code Form under this License.
184+
185+3.3. Distribution of a Larger Work
186+
187+You may create and distribute a Larger Work under terms of Your choice,
188+provided that You also comply with the requirements of this License for
189+the Covered Software. If the Larger Work is a combination of Covered
190+Software with a work governed by one or more Secondary Licenses, and the
191+Covered Software is not Incompatible With Secondary Licenses, this
192+License permits You to additionally distribute such Covered Software
193+under the terms of such Secondary License(s), so that the recipient of
194+the Larger Work may, at their option, further distribute the Covered
195+Software under the terms of either this License or such Secondary
196+License(s).
197+
198+3.4. Notices
199+
200+You may not remove or alter the substance of any license notices
201+(including copyright notices, patent notices, disclaimers of warranty,
202+or limitations of liability) contained within the Source Code Form of
203+the Covered Software, except that You may alter any license notices to
204+the extent required to remedy known factual inaccuracies.
205+
206+3.5. Application of Additional Terms
207+
208+You may choose to offer, and to charge a fee for, warranty, support,
209+indemnity or liability obligations to one or more recipients of Covered
210+Software. However, You may do so only on Your own behalf, and not on
211+behalf of any Contributor. You must make it absolutely clear that any
212+such warranty, support, indemnity, or liability obligation is offered by
213+You alone, and You hereby agree to indemnify every Contributor for any
214+liability incurred by such Contributor as a result of warranty, support,
215+indemnity or liability terms You offer. You may include additional
216+disclaimers of warranty and limitations of liability specific to any
217+jurisdiction.
218+
219+4. Inability to Comply Due to Statute or Regulation
220+---------------------------------------------------
221+
222+If it is impossible for You to comply with any of the terms of this
223+License with respect to some or all of the Covered Software due to
224+statute, judicial order, or regulation then You must: (a) comply with
225+the terms of this License to the maximum extent possible; and (b)
226+describe the limitations and the code they affect. Such description must
227+be placed in a text file included with all distributions of the Covered
228+Software under this License. Except to the extent prohibited by statute
229+or regulation, such description must be sufficiently detailed for a
230+recipient of ordinary skill to be able to understand it.
231+
232+5. Termination
233+--------------
234+
235+5.1. The rights granted under this License will terminate automatically
236+if You fail to comply with any of its terms. However, if You become
237+compliant, then the rights granted under this License from a particular
238+Contributor are reinstated (a) provisionally, unless and until such
239+Contributor explicitly and finally terminates Your grants, and (b) on an
240+ongoing basis, if such Contributor fails to notify You of the
241+non-compliance by some reasonable means prior to 60 days after You have
242+come back into compliance. Moreover, Your grants from a particular
243+Contributor are reinstated on an ongoing basis if such Contributor
244+notifies You of the non-compliance by some reasonable means, this is the
245+first time You have received notice of non-compliance with this License
246+from such Contributor, and You become compliant prior to 30 days after
247+Your receipt of the notice.
248+
249+5.2. If You initiate litigation against any entity by asserting a patent
250+infringement claim (excluding declaratory judgment actions,
251+counter-claims, and cross-claims) alleging that a Contributor Version
252+directly or indirectly infringes any patent, then the rights granted to
253+You by any and all Contributors for the Covered Software under Section
254+2.1 of this License shall terminate.
255+
256+5.3. In the event of termination under Sections 5.1 or 5.2 above, all
257+end user license agreements (excluding distributors and resellers) which
258+have been validly granted by You or Your distributors under this License
259+prior to termination shall survive termination.
260+
261+************************************************************************
262+* *
263+* 6. Disclaimer of Warranty *
264+* ------------------------- *
265+* *
266+* Covered Software is provided under this License on an "as is" *
267+* basis, without warranty of any kind, either expressed, implied, or *
268+* statutory, including, without limitation, warranties that the *
269+* Covered Software is free of defects, merchantable, fit for a *
270+* particular purpose or non-infringing. The entire risk as to the *
271+* quality and performance of the Covered Software is with You. *
272+* Should any Covered Software prove defective in any respect, You *
273+* (not any Contributor) assume the cost of any necessary servicing, *
274+* repair, or correction. This disclaimer of warranty constitutes an *
275+* essential part of this License. No use of any Covered Software is *
276+* authorized under this License except under this disclaimer. *
277+* *
278+************************************************************************
279+
280+************************************************************************
281+* *
282+* 7. Limitation of Liability *
283+* -------------------------- *
284+* *
285+* Under no circumstances and under no legal theory, whether tort *
286+* (including negligence), contract, or otherwise, shall any *
287+* Contributor, or anyone who distributes Covered Software as *
288+* permitted above, be liable to You for any direct, indirect, *
289+* special, incidental, or consequential damages of any character *
290+* including, without limitation, damages for lost profits, loss of *
291+* goodwill, work stoppage, computer failure or malfunction, or any *
292+* and all other commercial damages or losses, even if such party *
293+* shall have been informed of the possibility of such damages. This *
294+* limitation of liability shall not apply to liability for death or *
295+* personal injury resulting from such party's negligence to the *
296+* extent applicable law prohibits such limitation. Some *
297+* jurisdictions do not allow the exclusion or limitation of *
298+* incidental or consequential damages, so this exclusion and *
299+* limitation may not apply to You. *
300+* *
301+************************************************************************
302+
303+8. Litigation
304+-------------
305+
306+Any litigation relating to this License may be brought only in the
307+courts of a jurisdiction where the defendant maintains its principal
308+place of business and such litigation shall be governed by laws of that
309+jurisdiction, without reference to its conflict-of-law provisions.
310+Nothing in this Section shall prevent a party's ability to bring
311+cross-claims or counter-claims.
312+
313+9. Miscellaneous
314+----------------
315+
316+This License represents the complete agreement concerning the subject
317+matter hereof. If any provision of this License is held to be
318+unenforceable, such provision shall be reformed only to the extent
319+necessary to make it enforceable. Any law or regulation which provides
320+that the language of a contract shall be construed against the drafter
321+shall not be used to construe this License against a Contributor.
322+
323+10. Versions of the License
324+---------------------------
325+
326+10.1. New Versions
327+
328+Mozilla Foundation is the license steward. Except as provided in Section
329+10.3, no one other than the license steward has the right to modify or
330+publish new versions of this License. Each version will be given a
331+distinguishing version number.
332+
333+10.2. Effect of New Versions
334+
335+You may distribute the Covered Software under the terms of the version
336+of the License under which You originally received the Covered Software,
337+or under the terms of any subsequent version published by the license
338+steward.
339+
340+10.3. Modified Versions
341+
342+If you create software not governed by this License, and you want to
343+create a new license for such software, you may create and use a
344+modified version of this License if you rename the license and remove
345+any references to the name of the license steward (except to note that
346+such modified license differs from this License).
347+
348+10.4. Distributing Source Code Form that is Incompatible With Secondary
349+Licenses
350+
351+If You choose to distribute Source Code Form that is Incompatible With
352+Secondary Licenses under the terms of this version of the License, the
353+notice described in Exhibit B of this License must be attached.
354+
355+Exhibit A - Source Code Form License Notice
356+-------------------------------------------
357+
358+ This Source Code Form is subject to the terms of the Mozilla Public
359+ License, v. 2.0. If a copy of the MPL was not distributed with this
360+ file, You can obtain one at http://mozilla.org/MPL/2.0/.
361+
362+If it is not possible or desirable to put the notice in a particular
363+file, then You may include the notice in a location (such as a LICENSE
364+file in a relevant directory) where a recipient would be likely to look
365+for such a notice.
366+
367+You may add additional accurate notices of copyright ownership.
368+
369+Exhibit B - "Incompatible With Secondary Licenses" Notice
370+---------------------------------------------------------
371+
372+ This Source Code Form is "Incompatible With Secondary Licenses", as
373+ defined by the Mozilla Public License, v. 2.0.
gogol-adsense-host/Makefilenew file+1
@@ -0,0 +1 @@
1+include ../share/library.mk
gogol-adsense-host/README.mdnew file+28
@@ -0,0 +1,28 @@
1+# gogol-adsense-host
2+
3+* [Version](#version)
4+* [Description](#description)
5+* [Contribute](#contribute)
6+* [Licence](#licence)
7+
8+
9+## Version
10+
11+`0.0.1`
12+
13+
14+## Description
15+
16+A client library for the Google AdSense Host API.
17+
18+
19+## Contribute
20+
21+For any problems, comments, or feedback please create an issue [here on GitHub](https://github.com/brendanhay/amazonka/issues).
22+
23+> _Note:_ this library is an auto-generated Haskell package. Please see `amazonka-gen` for more information.
24+
25+
26+## Licence
27+
28+`gogol-adsense-host` is released under the [Mozilla Public License Version 2.0](http://www.mozilla.org/MPL/).
gogol-adsense-host/Setup.hsnew file+2
@@ -0,0 +1,2 @@
1+import Distribution.Simple
2+main = defaultMain
gogol-adsense-host/gen/Network/Google/AdSenseHost.hsnew file+200
@@ -0,0 +1,200 @@
1+-- |
2+-- Module : Network.Google.AdSenseHost
3+-- Copyright : (c) 2015 Brendan Hay
4+-- License : Mozilla Public License, v. 2.0.
5+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
6+-- Stability : auto-generated
7+-- Portability : non-portable (GHC extensions)
8+--
9+-- Gives AdSense Hosts access to report generation, ad code generation, and publisher management capabilities.
10+--
11+-- /See:/ <https://developers.google.com/adsense/host/ AdSense Host API Reference>
12+module Network.Google.AdSenseHost
13+ (
14+ -- * API Definition
15+ AdSenseHost
16+
17+
18+
19+ -- * Types
20+
21+ -- ** Account
22+ , Account
23+ , account
24+ , accStatus
25+ , accKind
26+ , accName
27+ , accId
28+
29+ -- ** Accounts
30+ , Accounts
31+ , accounts
32+ , aEtag
33+ , aKind
34+ , aItems
35+
36+ -- ** AdClient
37+ , AdClient
38+ , adClient
39+ , acKind
40+ , acArcOptIn
41+ , acSupportsReporting
42+ , acId
43+ , acProductCode
44+
45+ -- ** AdClients
46+ , AdClients
47+ , adClients
48+ , acsEtag
49+ , acsNextPageToken
50+ , acsKind
51+ , acsItems
52+
53+ -- ** AdCode
54+ , AdCode
55+ , adCode
56+ , adKind
57+ , adAdCode
58+
59+ -- ** AdStyle
60+ , AdStyle
61+ , adStyle
62+ , assCorners
63+ , assKind
64+ , assFont
65+ , assColors
66+
67+ -- ** AdStyleColors
68+ , AdStyleColors
69+ , adStyleColors
70+ , ascText
71+ , ascUrl
72+ , ascBorder
73+ , ascTitle
74+ , ascBackground
75+
76+ -- ** AdStyleFont
77+ , AdStyleFont
78+ , adStyleFont
79+ , asfSize
80+ , asfFamily
81+
82+ -- ** AdUnit
83+ , AdUnit
84+ , adUnit
85+ , auuStatus
86+ , auuMobileContentAdsSettings
87+ , auuKind
88+ , auuCustomStyle
89+ , auuName
90+ , auuContentAdsSettings
91+ , auuCode
92+ , auuId
93+
94+ -- ** AdUnitBackupOptionContentAdsSettings
95+ , AdUnitBackupOptionContentAdsSettings
96+ , adUnitBackupOptionContentAdsSettings
97+ , aubocasColor
98+ , aubocasUrl
99+ , aubocasType
100+
101+ -- ** AdUnitContentAdsSettings
102+ , AdUnitContentAdsSettings
103+ , adUnitContentAdsSettings
104+ , aucasBackupOption
105+ , aucasSize
106+ , aucasType
107+
108+ -- ** AdUnitMobileContentAdsSettings
109+ , AdUnitMobileContentAdsSettings
110+ , adUnitMobileContentAdsSettings
111+ , aumcasSize
112+ , aumcasScriptingLanguage
113+ , aumcasMarkupLanguage
114+ , aumcasType
115+
116+ -- ** AdUnits
117+ , AdUnits
118+ , adUnits
119+ , auEtag
120+ , auNextPageToken
121+ , auKind
122+ , auItems
123+
124+ -- ** AssociationSession
125+ , AssociationSession
126+ , associationSession
127+ , asStatus
128+ , asKind
129+ , asWebsiteLocale
130+ , asUserLocale
131+ , asAccountId
132+ , asProductCodes
133+ , asId
134+ , asWebsiteUrl
135+ , asRedirectUrl
136+
137+ -- ** CustomChannel
138+ , CustomChannel
139+ , customChannel
140+ , ccKind
141+ , ccName
142+ , ccCode
143+ , ccId
144+
145+ -- ** CustomChannels
146+ , CustomChannels
147+ , customChannels
148+ , cEtag
149+ , cNextPageToken
150+ , cKind
151+ , cItems
152+
153+ -- ** Report
154+ , Report
155+ , report
156+ , rKind
157+ , rAverages
158+ , rWarnings
159+ , rRows
160+ , rTotals
161+ , rHeaders
162+ , rTotalMatchedRows
163+
164+ -- ** ReportItemHeaders
165+ , ReportItemHeaders
166+ , reportItemHeaders
167+ , rihName
168+ , rihCurrency
169+ , rihType
170+
171+ -- ** UrlChannel
172+ , UrlChannel
173+ , urlChannel
174+ , ucKind
175+ , ucId
176+ , ucUrlPattern
177+
178+ -- ** UrlChannels
179+ , UrlChannels
180+ , urlChannels
181+ , urlcEtag
182+ , urlcNextPageToken
183+ , urlcKind
184+ , urlcItems
185+ ) where
186+
187+import Network.Google.AdSenseHost.Types
188+
189+{- $resources
190+TODO
191+-}
192+
193+type AdSenseHost = ()
194+
195+adSenseHost :: Proxy AdSenseHost
196+adSenseHost = Proxy
197+
198+
199+
200+
gogol-adsense-host/gen/Network/Google/AdSenseHost/Types.hsnew file+190
@@ -0,0 +1,190 @@
1+{-# LANGUAGE DeriveDataTypeable #-}
2+{-# LANGUAGE DeriveGeneric #-}
3+{-# LANGUAGE OverloadedStrings #-}
4+
5+-- |
6+-- Module : Network.Google.AdSenseHost.Types
7+-- Copyright : (c) 2015 Brendan Hay
8+-- License : Mozilla Public License, v. 2.0.
9+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
10+-- Stability : auto-generated
11+-- Portability : non-portable (GHC extensions)
12+--
13+module Network.Google.AdSenseHost.Types
14+ (
15+ -- * API Definition
16+ adsensehost
17+
18+
19+ -- * Account
20+ , Account
21+ , account
22+ , accStatus
23+ , accKind
24+ , accName
25+ , accId
26+
27+ -- * Accounts
28+ , Accounts
29+ , accounts
30+ , aEtag
31+ , aKind
32+ , aItems
33+
34+ -- * AdClient
35+ , AdClient
36+ , adClient
37+ , acKind
38+ , acArcOptIn
39+ , acSupportsReporting
40+ , acId
41+ , acProductCode
42+
43+ -- * AdClients
44+ , AdClients
45+ , adClients
46+ , acsEtag
47+ , acsNextPageToken
48+ , acsKind
49+ , acsItems
50+
51+ -- * AdCode
52+ , AdCode
53+ , adCode
54+ , adKind
55+ , adAdCode
56+
57+ -- * AdStyle
58+ , AdStyle
59+ , adStyle
60+ , assCorners
61+ , assKind
62+ , assFont
63+ , assColors
64+
65+ -- * AdStyleColors
66+ , AdStyleColors
67+ , adStyleColors
68+ , ascText
69+ , ascUrl
70+ , ascBorder
71+ , ascTitle
72+ , ascBackground
73+
74+ -- * AdStyleFont
75+ , AdStyleFont
76+ , adStyleFont
77+ , asfSize
78+ , asfFamily
79+
80+ -- * AdUnit
81+ , AdUnit
82+ , adUnit
83+ , auuStatus
84+ , auuMobileContentAdsSettings
85+ , auuKind
86+ , auuCustomStyle
87+ , auuName
88+ , auuContentAdsSettings
89+ , auuCode
90+ , auuId
91+
92+ -- * AdUnitBackupOptionContentAdsSettings
93+ , AdUnitBackupOptionContentAdsSettings
94+ , adUnitBackupOptionContentAdsSettings
95+ , aubocasColor
96+ , aubocasUrl
97+ , aubocasType
98+
99+ -- * AdUnitContentAdsSettings
100+ , AdUnitContentAdsSettings
101+ , adUnitContentAdsSettings
102+ , aucasBackupOption
103+ , aucasSize
104+ , aucasType
105+
106+ -- * AdUnitMobileContentAdsSettings
107+ , AdUnitMobileContentAdsSettings
108+ , adUnitMobileContentAdsSettings
109+ , aumcasSize
110+ , aumcasScriptingLanguage
111+ , aumcasMarkupLanguage
112+ , aumcasType
113+
114+ -- * AdUnits
115+ , AdUnits
116+ , adUnits
117+ , auEtag
118+ , auNextPageToken
119+ , auKind
120+ , auItems
121+
122+ -- * AssociationSession
123+ , AssociationSession
124+ , associationSession
125+ , asStatus
126+ , asKind
127+ , asWebsiteLocale
128+ , asUserLocale
129+ , asAccountId
130+ , asProductCodes
131+ , asId
132+ , asWebsiteUrl
133+ , asRedirectUrl
134+
135+ -- * CustomChannel
136+ , CustomChannel
137+ , customChannel
138+ , ccKind
139+ , ccName
140+ , ccCode
141+ , ccId
142+
143+ -- * CustomChannels
144+ , CustomChannels
145+ , customChannels
146+ , cEtag
147+ , cNextPageToken
148+ , cKind
149+ , cItems
150+
151+ -- * Report
152+ , Report
153+ , report
154+ , rKind
155+ , rAverages
156+ , rWarnings
157+ , rRows
158+ , rTotals
159+ , rHeaders
160+ , rTotalMatchedRows
161+
162+ -- * ReportItemHeaders
163+ , ReportItemHeaders
164+ , reportItemHeaders
165+ , rihName
166+ , rihCurrency
167+ , rihType
168+
169+ -- * UrlChannel
170+ , UrlChannel
171+ , urlChannel
172+ , ucKind
173+ , ucId
174+ , ucUrlPattern
175+
176+ -- * UrlChannels
177+ , UrlChannels
178+ , urlChannels
179+ , urlcEtag
180+ , urlcNextPageToken
181+ , urlcKind
182+ , urlcItems
183+ ) where
184+
185+import Network.Google.AdSenseHost.Types.Product
186+import Network.Google.AdSenseHost.Types.Sum
187+import Network.Google.Prelude
188+
189+adsensehost :: a
190+adsensehost = error "adsensehost"
gogol-adsense-host/gen/Network/Google/AdSenseHost/Types/Product.hsnew file+1105
@@ -0,0 +1,1105 @@
1+{-# LANGUAGE DeriveDataTypeable #-}
2+{-# LANGUAGE DeriveGeneric #-}
3+{-# LANGUAGE OverloadedStrings #-}
4+
5+-- |
6+-- Module : Network.Google.AdSenseHost.Types.Product
7+-- Copyright : (c) 2015 Brendan Hay
8+-- License : Mozilla Public License, v. 2.0.
9+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
10+-- Stability : auto-generated
11+-- Portability : non-portable (GHC extensions)
12+--
13+module Network.Google.AdSenseHost.Types.Product where
14+
15+import Network.Google.AdSenseHost.Types.Sum
16+import Network.Google.Prelude
17+
18+--
19+-- /See:/ 'account' smart constructor.
20+data Account = Account
21+ { _accStatus :: !(Maybe Text)
22+ , _accKind :: !Text
23+ , _accName :: !(Maybe Text)
24+ , _accId :: !(Maybe Text)
25+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
26+
27+-- | Creates a value of 'Account' with the minimum fields required to make a request.
28+--
29+-- Use one of the following lenses to modify other fields as desired:
30+--
31+-- * 'accStatus'
32+--
33+-- * 'accKind'
34+--
35+-- * 'accName'
36+--
37+-- * 'accId'
38+account
39+ :: Account
40+account =
41+ Account
42+ { _accStatus = Nothing
43+ , _accKind = "adsensehost#account"
44+ , _accName = Nothing
45+ , _accId = Nothing
46+ }
47+
48+-- | Approval status of this account. One of: PENDING, APPROVED, DISABLED.
49+accStatus :: Lens' Account (Maybe Text)
50+accStatus
51+ = lens _accStatus (\ s a -> s{_accStatus = a})
52+
53+-- | Kind of resource this is, in this case adsensehost#account.
54+accKind :: Lens' Account Text
55+accKind = lens _accKind (\ s a -> s{_accKind = a})
56+
57+-- | Name of this account.
58+accName :: Lens' Account (Maybe Text)
59+accName = lens _accName (\ s a -> s{_accName = a})
60+
61+-- | Unique identifier of this account.
62+accId :: Lens' Account (Maybe Text)
63+accId = lens _accId (\ s a -> s{_accId = a})
64+
65+--
66+-- /See:/ 'accounts' smart constructor.
67+data Accounts = Accounts
68+ { _aEtag :: !(Maybe Text)
69+ , _aKind :: !Text
70+ , _aItems :: !(Maybe [Maybe Account])
71+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
72+
73+-- | Creates a value of 'Accounts' with the minimum fields required to make a request.
74+--
75+-- Use one of the following lenses to modify other fields as desired:
76+--
77+-- * 'aEtag'
78+--
79+-- * 'aKind'
80+--
81+-- * 'aItems'
82+accounts
83+ :: Accounts
84+accounts =
85+ Accounts
86+ { _aEtag = Nothing
87+ , _aKind = "adsensehost#accounts"
88+ , _aItems = Nothing
89+ }
90+
91+-- | ETag of this response for caching purposes.
92+aEtag :: Lens' Accounts (Maybe Text)
93+aEtag = lens _aEtag (\ s a -> s{_aEtag = a})
94+
95+-- | Kind of list this is, in this case adsensehost#accounts.
96+aKind :: Lens' Accounts Text
97+aKind = lens _aKind (\ s a -> s{_aKind = a})
98+
99+-- | The accounts returned in this list response.
100+aItems :: Lens' Accounts [Maybe Account]
101+aItems
102+ = lens _aItems (\ s a -> s{_aItems = a}) . _Default .
103+ _Coerce
104+
105+--
106+-- /See:/ 'adClient' smart constructor.
107+data AdClient = AdClient
108+ { _acKind :: !Text
109+ , _acArcOptIn :: !(Maybe Bool)
110+ , _acSupportsReporting :: !(Maybe Bool)
111+ , _acId :: !(Maybe Text)
112+ , _acProductCode :: !(Maybe Text)
113+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
114+
115+-- | Creates a value of 'AdClient' with the minimum fields required to make a request.
116+--
117+-- Use one of the following lenses to modify other fields as desired:
118+--
119+-- * 'acKind'
120+--
121+-- * 'acArcOptIn'
122+--
123+-- * 'acSupportsReporting'
124+--
125+-- * 'acId'
126+--
127+-- * 'acProductCode'
128+adClient
129+ :: AdClient
130+adClient =
131+ AdClient
132+ { _acKind = "adsensehost#adClient"
133+ , _acArcOptIn = Nothing
134+ , _acSupportsReporting = Nothing
135+ , _acId = Nothing
136+ , _acProductCode = Nothing
137+ }
138+
139+-- | Kind of resource this is, in this case adsensehost#adClient.
140+acKind :: Lens' AdClient Text
141+acKind = lens _acKind (\ s a -> s{_acKind = a})
142+
143+-- | Whether this ad client is opted in to ARC.
144+acArcOptIn :: Lens' AdClient (Maybe Bool)
145+acArcOptIn
146+ = lens _acArcOptIn (\ s a -> s{_acArcOptIn = a})
147+
148+-- | Whether this ad client supports being reported on.
149+acSupportsReporting :: Lens' AdClient (Maybe Bool)
150+acSupportsReporting
151+ = lens _acSupportsReporting
152+ (\ s a -> s{_acSupportsReporting = a})
153+
154+-- | Unique identifier of this ad client.
155+acId :: Lens' AdClient (Maybe Text)
156+acId = lens _acId (\ s a -> s{_acId = a})
157+
158+-- | This ad client\'s product code, which corresponds to the PRODUCT_CODE
159+-- report dimension.
160+acProductCode :: Lens' AdClient (Maybe Text)
161+acProductCode
162+ = lens _acProductCode
163+ (\ s a -> s{_acProductCode = a})
164+
165+--
166+-- /See:/ 'adClients' smart constructor.
167+data AdClients = AdClients
168+ { _acsEtag :: !(Maybe Text)
169+ , _acsNextPageToken :: !(Maybe Text)
170+ , _acsKind :: !Text
171+ , _acsItems :: !(Maybe [Maybe AdClient])
172+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
173+
174+-- | Creates a value of 'AdClients' with the minimum fields required to make a request.
175+--
176+-- Use one of the following lenses to modify other fields as desired:
177+--
178+-- * 'acsEtag'
179+--
180+-- * 'acsNextPageToken'
181+--
182+-- * 'acsKind'
183+--
184+-- * 'acsItems'
185+adClients
186+ :: AdClients
187+adClients =
188+ AdClients
189+ { _acsEtag = Nothing
190+ , _acsNextPageToken = Nothing
191+ , _acsKind = "adsensehost#adClients"
192+ , _acsItems = Nothing
193+ }
194+
195+-- | ETag of this response for caching purposes.
196+acsEtag :: Lens' AdClients (Maybe Text)
197+acsEtag = lens _acsEtag (\ s a -> s{_acsEtag = a})
198+
199+-- | Continuation token used to page through ad clients. To retrieve the next
200+-- page of results, set the next request\'s \"pageToken\" value to this.
201+acsNextPageToken :: Lens' AdClients (Maybe Text)
202+acsNextPageToken
203+ = lens _acsNextPageToken
204+ (\ s a -> s{_acsNextPageToken = a})
205+
206+-- | Kind of list this is, in this case adsensehost#adClients.
207+acsKind :: Lens' AdClients Text
208+acsKind = lens _acsKind (\ s a -> s{_acsKind = a})
209+
210+-- | The ad clients returned in this list response.
211+acsItems :: Lens' AdClients [Maybe AdClient]
212+acsItems
213+ = lens _acsItems (\ s a -> s{_acsItems = a}) .
214+ _Default
215+ . _Coerce
216+
217+--
218+-- /See:/ 'adCode' smart constructor.
219+data AdCode = AdCode
220+ { _adKind :: !Text
221+ , _adAdCode :: !(Maybe Text)
222+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
223+
224+-- | Creates a value of 'AdCode' with the minimum fields required to make a request.
225+--
226+-- Use one of the following lenses to modify other fields as desired:
227+--
228+-- * 'adKind'
229+--
230+-- * 'adAdCode'
231+adCode
232+ :: AdCode
233+adCode =
234+ AdCode
235+ { _adKind = "adsensehost#adCode"
236+ , _adAdCode = Nothing
237+ }
238+
239+-- | Kind this is, in this case adsensehost#adCode.
240+adKind :: Lens' AdCode Text
241+adKind = lens _adKind (\ s a -> s{_adKind = a})
242+
243+-- | The ad code snippet.
244+adAdCode :: Lens' AdCode (Maybe Text)
245+adAdCode = lens _adAdCode (\ s a -> s{_adAdCode = a})
246+
247+--
248+-- /See:/ 'adStyle' smart constructor.
249+data AdStyle = AdStyle
250+ { _assCorners :: !(Maybe Text)
251+ , _assKind :: !Text
252+ , _assFont :: !(Maybe AdStyleFont)
253+ , _assColors :: !(Maybe AdStyleColors)
254+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
255+
256+-- | Creates a value of 'AdStyle' with the minimum fields required to make a request.
257+--
258+-- Use one of the following lenses to modify other fields as desired:
259+--
260+-- * 'assCorners'
261+--
262+-- * 'assKind'
263+--
264+-- * 'assFont'
265+--
266+-- * 'assColors'
267+adStyle
268+ :: AdStyle
269+adStyle =
270+ AdStyle
271+ { _assCorners = Nothing
272+ , _assKind = "adsensehost#adStyle"
273+ , _assFont = Nothing
274+ , _assColors = Nothing
275+ }
276+
277+-- | The style of the corners in the ad. Possible values are SQUARE,
278+-- SLIGHTLY_ROUNDED and VERY_ROUNDED.
279+assCorners :: Lens' AdStyle (Maybe Text)
280+assCorners
281+ = lens _assCorners (\ s a -> s{_assCorners = a})
282+
283+-- | Kind this is, in this case adsensehost#adStyle.
284+assKind :: Lens' AdStyle Text
285+assKind = lens _assKind (\ s a -> s{_assKind = a})
286+
287+-- | The font which is included in the style.
288+assFont :: Lens' AdStyle (Maybe AdStyleFont)
289+assFont = lens _assFont (\ s a -> s{_assFont = a})
290+
291+-- | The colors included in the style. These are represented as six
292+-- hexadecimal characters, similar to HTML color codes, but without the
293+-- leading hash.
294+assColors :: Lens' AdStyle (Maybe AdStyleColors)
295+assColors
296+ = lens _assColors (\ s a -> s{_assColors = a})
297+
298+-- | The colors included in the style. These are represented as six
299+-- hexadecimal characters, similar to HTML color codes, but without the
300+-- leading hash.
301+--
302+-- /See:/ 'adStyleColors' smart constructor.
303+data AdStyleColors = AdStyleColors
304+ { _ascText :: !(Maybe Text)
305+ , _ascUrl :: !(Maybe Text)
306+ , _ascBorder :: !(Maybe Text)
307+ , _ascTitle :: !(Maybe Text)
308+ , _ascBackground :: !(Maybe Text)
309+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
310+
311+-- | Creates a value of 'AdStyleColors' with the minimum fields required to make a request.
312+--
313+-- Use one of the following lenses to modify other fields as desired:
314+--
315+-- * 'ascText'
316+--
317+-- * 'ascUrl'
318+--
319+-- * 'ascBorder'
320+--
321+-- * 'ascTitle'
322+--
323+-- * 'ascBackground'
324+adStyleColors
325+ :: AdStyleColors
326+adStyleColors =
327+ AdStyleColors
328+ { _ascText = Nothing
329+ , _ascUrl = Nothing
330+ , _ascBorder = Nothing
331+ , _ascTitle = Nothing
332+ , _ascBackground = Nothing
333+ }
334+
335+-- | The color of the ad text.
336+ascText :: Lens' AdStyleColors (Maybe Text)
337+ascText = lens _ascText (\ s a -> s{_ascText = a})
338+
339+-- | The color of the ad url.
340+ascUrl :: Lens' AdStyleColors (Maybe Text)
341+ascUrl = lens _ascUrl (\ s a -> s{_ascUrl = a})
342+
343+-- | The color of the ad border.
344+ascBorder :: Lens' AdStyleColors (Maybe Text)
345+ascBorder
346+ = lens _ascBorder (\ s a -> s{_ascBorder = a})
347+
348+-- | The color of the ad title.
349+ascTitle :: Lens' AdStyleColors (Maybe Text)
350+ascTitle = lens _ascTitle (\ s a -> s{_ascTitle = a})
351+
352+-- | The color of the ad background.
353+ascBackground :: Lens' AdStyleColors (Maybe Text)
354+ascBackground
355+ = lens _ascBackground
356+ (\ s a -> s{_ascBackground = a})
357+
358+-- | The font which is included in the style.
359+--
360+-- /See:/ 'adStyleFont' smart constructor.
361+data AdStyleFont = AdStyleFont
362+ { _asfSize :: !(Maybe Text)
363+ , _asfFamily :: !(Maybe Text)
364+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
365+
366+-- | Creates a value of 'AdStyleFont' with the minimum fields required to make a request.
367+--
368+-- Use one of the following lenses to modify other fields as desired:
369+--
370+-- * 'asfSize'
371+--
372+-- * 'asfFamily'
373+adStyleFont
374+ :: AdStyleFont
375+adStyleFont =
376+ AdStyleFont
377+ { _asfSize = Nothing
378+ , _asfFamily = Nothing
379+ }
380+
381+-- | The size of the font. Possible values are: ACCOUNT_DEFAULT_SIZE,
382+-- ADSENSE_DEFAULT_SIZE, SMALL, MEDIUM and LARGE.
383+asfSize :: Lens' AdStyleFont (Maybe Text)
384+asfSize = lens _asfSize (\ s a -> s{_asfSize = a})
385+
386+-- | The family of the font. Possible values are: ACCOUNT_DEFAULT_FAMILY,
387+-- ADSENSE_DEFAULT_FAMILY, ARIAL, TIMES and VERDANA.
388+asfFamily :: Lens' AdStyleFont (Maybe Text)
389+asfFamily
390+ = lens _asfFamily (\ s a -> s{_asfFamily = a})
391+
392+--
393+-- /See:/ 'adUnit' smart constructor.
394+data AdUnit = AdUnit
395+ { _auuStatus :: !(Maybe Text)
396+ , _auuMobileContentAdsSettings :: !(Maybe AdUnitMobileContentAdsSettings)
397+ , _auuKind :: !Text
398+ , _auuCustomStyle :: !(Maybe (Maybe AdStyle))
399+ , _auuName :: !(Maybe Text)
400+ , _auuContentAdsSettings :: !(Maybe AdUnitContentAdsSettings)
401+ , _auuCode :: !(Maybe Text)
402+ , _auuId :: !(Maybe Text)
403+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
404+
405+-- | Creates a value of 'AdUnit' with the minimum fields required to make a request.
406+--
407+-- Use one of the following lenses to modify other fields as desired:
408+--
409+-- * 'auuStatus'
410+--
411+-- * 'auuMobileContentAdsSettings'
412+--
413+-- * 'auuKind'
414+--
415+-- * 'auuCustomStyle'
416+--
417+-- * 'auuName'
418+--
419+-- * 'auuContentAdsSettings'
420+--
421+-- * 'auuCode'
422+--
423+-- * 'auuId'
424+adUnit
425+ :: AdUnit
426+adUnit =
427+ AdUnit
428+ { _auuStatus = Nothing
429+ , _auuMobileContentAdsSettings = Nothing
430+ , _auuKind = "adsensehost#adUnit"
431+ , _auuCustomStyle = Nothing
432+ , _auuName = Nothing
433+ , _auuContentAdsSettings = Nothing
434+ , _auuCode = Nothing
435+ , _auuId = Nothing
436+ }
437+
438+-- | Status of this ad unit. Possible values are: NEW: Indicates that the ad
439+-- unit was created within the last seven days and does not yet have any
440+-- activity associated with it. ACTIVE: Indicates that there has been
441+-- activity on this ad unit in the last seven days. INACTIVE: Indicates
442+-- that there has been no activity on this ad unit in the last seven days.
443+auuStatus :: Lens' AdUnit (Maybe Text)
444+auuStatus
445+ = lens _auuStatus (\ s a -> s{_auuStatus = a})
446+
447+-- | Settings specific to WAP mobile content ads (AFMC).
448+auuMobileContentAdsSettings :: Lens' AdUnit (Maybe AdUnitMobileContentAdsSettings)
449+auuMobileContentAdsSettings
450+ = lens _auuMobileContentAdsSettings
451+ (\ s a -> s{_auuMobileContentAdsSettings = a})
452+
453+-- | Kind of resource this is, in this case adsensehost#adUnit.
454+auuKind :: Lens' AdUnit Text
455+auuKind = lens _auuKind (\ s a -> s{_auuKind = a})
456+
457+-- | Custom style information specific to this ad unit.
458+auuCustomStyle :: Lens' AdUnit (Maybe (Maybe AdStyle))
459+auuCustomStyle
460+ = lens _auuCustomStyle
461+ (\ s a -> s{_auuCustomStyle = a})
462+
463+-- | Name of this ad unit.
464+auuName :: Lens' AdUnit (Maybe Text)
465+auuName = lens _auuName (\ s a -> s{_auuName = a})
466+
467+-- | Settings specific to content ads (AFC) and highend mobile content ads
468+-- (AFMC).
469+auuContentAdsSettings :: Lens' AdUnit (Maybe AdUnitContentAdsSettings)
470+auuContentAdsSettings
471+ = lens _auuContentAdsSettings
472+ (\ s a -> s{_auuContentAdsSettings = a})
473+
474+-- | Identity code of this ad unit, not necessarily unique across ad clients.
475+auuCode :: Lens' AdUnit (Maybe Text)
476+auuCode = lens _auuCode (\ s a -> s{_auuCode = a})
477+
478+-- | Unique identifier of this ad unit. This should be considered an opaque
479+-- identifier; it is not safe to rely on it being in any particular format.
480+auuId :: Lens' AdUnit (Maybe Text)
481+auuId = lens _auuId (\ s a -> s{_auuId = a})
482+
483+-- | The backup option to be used in instances where no ad is available.
484+--
485+-- /See:/ 'adUnitBackupOptionContentAdsSettings' smart constructor.
486+data AdUnitBackupOptionContentAdsSettings = AdUnitBackupOptionContentAdsSettings
487+ { _aubocasColor :: !(Maybe Text)
488+ , _aubocasUrl :: !(Maybe Text)
489+ , _aubocasType :: !(Maybe Text)
490+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
491+
492+-- | Creates a value of 'AdUnitBackupOptionContentAdsSettings' with the minimum fields required to make a request.
493+--
494+-- Use one of the following lenses to modify other fields as desired:
495+--
496+-- * 'aubocasColor'
497+--
498+-- * 'aubocasUrl'
499+--
500+-- * 'aubocasType'
501+adUnitBackupOptionContentAdsSettings
502+ :: AdUnitBackupOptionContentAdsSettings
503+adUnitBackupOptionContentAdsSettings =
504+ AdUnitBackupOptionContentAdsSettings
505+ { _aubocasColor = Nothing
506+ , _aubocasUrl = Nothing
507+ , _aubocasType = Nothing
508+ }
509+
510+-- | Color to use when type is set to COLOR. These are represented as six
511+-- hexadecimal characters, similar to HTML color codes, but without the
512+-- leading hash.
513+aubocasColor :: Lens' AdUnitBackupOptionContentAdsSettings (Maybe Text)
514+aubocasColor
515+ = lens _aubocasColor (\ s a -> s{_aubocasColor = a})
516+
517+-- | URL to use when type is set to URL.
518+aubocasUrl :: Lens' AdUnitBackupOptionContentAdsSettings (Maybe Text)
519+aubocasUrl
520+ = lens _aubocasUrl (\ s a -> s{_aubocasUrl = a})
521+
522+-- | Type of the backup option. Possible values are BLANK, COLOR and URL.
523+aubocasType :: Lens' AdUnitBackupOptionContentAdsSettings (Maybe Text)
524+aubocasType
525+ = lens _aubocasType (\ s a -> s{_aubocasType = a})
526+
527+-- | Settings specific to content ads (AFC) and highend mobile content ads
528+-- (AFMC).
529+--
530+-- /See:/ 'adUnitContentAdsSettings' smart constructor.
531+data AdUnitContentAdsSettings = AdUnitContentAdsSettings
532+ { _aucasBackupOption :: !(Maybe AdUnitBackupOptionContentAdsSettings)
533+ , _aucasSize :: !(Maybe Text)
534+ , _aucasType :: !(Maybe Text)
535+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
536+
537+-- | Creates a value of 'AdUnitContentAdsSettings' with the minimum fields required to make a request.
538+--
539+-- Use one of the following lenses to modify other fields as desired:
540+--
541+-- * 'aucasBackupOption'
542+--
543+-- * 'aucasSize'
544+--
545+-- * 'aucasType'
546+adUnitContentAdsSettings
547+ :: AdUnitContentAdsSettings
548+adUnitContentAdsSettings =
549+ AdUnitContentAdsSettings
550+ { _aucasBackupOption = Nothing
551+ , _aucasSize = Nothing
552+ , _aucasType = Nothing
553+ }
554+
555+-- | The backup option to be used in instances where no ad is available.
556+aucasBackupOption :: Lens' AdUnitContentAdsSettings (Maybe AdUnitBackupOptionContentAdsSettings)
557+aucasBackupOption
558+ = lens _aucasBackupOption
559+ (\ s a -> s{_aucasBackupOption = a})
560+
561+-- | Size of this ad unit. Size values are in the form SIZE_{width}_{height}.
562+aucasSize :: Lens' AdUnitContentAdsSettings (Maybe Text)
563+aucasSize
564+ = lens _aucasSize (\ s a -> s{_aucasSize = a})
565+
566+-- | Type of this ad unit. Possible values are TEXT, TEXT_IMAGE, IMAGE and
567+-- LINK.
568+aucasType :: Lens' AdUnitContentAdsSettings (Maybe Text)
569+aucasType
570+ = lens _aucasType (\ s a -> s{_aucasType = a})
571+
572+-- | Settings specific to WAP mobile content ads (AFMC).
573+--
574+-- /See:/ 'adUnitMobileContentAdsSettings' smart constructor.
575+data AdUnitMobileContentAdsSettings = AdUnitMobileContentAdsSettings
576+ { _aumcasSize :: !(Maybe Text)
577+ , _aumcasScriptingLanguage :: !(Maybe Text)
578+ , _aumcasMarkupLanguage :: !(Maybe Text)
579+ , _aumcasType :: !(Maybe Text)
580+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
581+
582+-- | Creates a value of 'AdUnitMobileContentAdsSettings' with the minimum fields required to make a request.
583+--
584+-- Use one of the following lenses to modify other fields as desired:
585+--
586+-- * 'aumcasSize'
587+--
588+-- * 'aumcasScriptingLanguage'
589+--
590+-- * 'aumcasMarkupLanguage'
591+--
592+-- * 'aumcasType'
593+adUnitMobileContentAdsSettings
594+ :: AdUnitMobileContentAdsSettings
595+adUnitMobileContentAdsSettings =
596+ AdUnitMobileContentAdsSettings
597+ { _aumcasSize = Nothing
598+ , _aumcasScriptingLanguage = Nothing
599+ , _aumcasMarkupLanguage = Nothing
600+ , _aumcasType = Nothing
601+ }
602+
603+-- | Size of this ad unit.
604+aumcasSize :: Lens' AdUnitMobileContentAdsSettings (Maybe Text)
605+aumcasSize
606+ = lens _aumcasSize (\ s a -> s{_aumcasSize = a})
607+
608+-- | The scripting language to use for this ad unit.
609+aumcasScriptingLanguage :: Lens' AdUnitMobileContentAdsSettings (Maybe Text)
610+aumcasScriptingLanguage
611+ = lens _aumcasScriptingLanguage
612+ (\ s a -> s{_aumcasScriptingLanguage = a})
613+
614+-- | The markup language to use for this ad unit.
615+aumcasMarkupLanguage :: Lens' AdUnitMobileContentAdsSettings (Maybe Text)
616+aumcasMarkupLanguage
617+ = lens _aumcasMarkupLanguage
618+ (\ s a -> s{_aumcasMarkupLanguage = a})
619+
620+-- | Type of this ad unit.
621+aumcasType :: Lens' AdUnitMobileContentAdsSettings (Maybe Text)
622+aumcasType
623+ = lens _aumcasType (\ s a -> s{_aumcasType = a})
624+
625+--
626+-- /See:/ 'adUnits' smart constructor.
627+data AdUnits = AdUnits
628+ { _auEtag :: !(Maybe Text)
629+ , _auNextPageToken :: !(Maybe Text)
630+ , _auKind :: !Text
631+ , _auItems :: !(Maybe [Maybe AdUnit])
632+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
633+
634+-- | Creates a value of 'AdUnits' with the minimum fields required to make a request.
635+--
636+-- Use one of the following lenses to modify other fields as desired:
637+--
638+-- * 'auEtag'
639+--
640+-- * 'auNextPageToken'
641+--
642+-- * 'auKind'
643+--
644+-- * 'auItems'
645+adUnits
646+ :: AdUnits
647+adUnits =
648+ AdUnits
649+ { _auEtag = Nothing
650+ , _auNextPageToken = Nothing
651+ , _auKind = "adsensehost#adUnits"
652+ , _auItems = Nothing
653+ }
654+
655+-- | ETag of this response for caching purposes.
656+auEtag :: Lens' AdUnits (Maybe Text)
657+auEtag = lens _auEtag (\ s a -> s{_auEtag = a})
658+
659+-- | Continuation token used to page through ad units. To retrieve the next
660+-- page of results, set the next request\'s \"pageToken\" value to this.
661+auNextPageToken :: Lens' AdUnits (Maybe Text)
662+auNextPageToken
663+ = lens _auNextPageToken
664+ (\ s a -> s{_auNextPageToken = a})
665+
666+-- | Kind of list this is, in this case adsensehost#adUnits.
667+auKind :: Lens' AdUnits Text
668+auKind = lens _auKind (\ s a -> s{_auKind = a})
669+
670+-- | The ad units returned in this list response.
671+auItems :: Lens' AdUnits [Maybe AdUnit]
672+auItems
673+ = lens _auItems (\ s a -> s{_auItems = a}) . _Default
674+ . _Coerce
675+
676+--
677+-- /See:/ 'associationSession' smart constructor.
678+data AssociationSession = AssociationSession
679+ { _asStatus :: !(Maybe Text)
680+ , _asKind :: !Text
681+ , _asWebsiteLocale :: !(Maybe Text)
682+ , _asUserLocale :: !(Maybe Text)
683+ , _asAccountId :: !(Maybe Text)
684+ , _asProductCodes :: !(Maybe [Text])
685+ , _asId :: !(Maybe Text)
686+ , _asWebsiteUrl :: !(Maybe Text)
687+ , _asRedirectUrl :: !(Maybe Text)
688+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
689+
690+-- | Creates a value of 'AssociationSession' with the minimum fields required to make a request.
691+--
692+-- Use one of the following lenses to modify other fields as desired:
693+--
694+-- * 'asStatus'
695+--
696+-- * 'asKind'
697+--
698+-- * 'asWebsiteLocale'
699+--
700+-- * 'asUserLocale'
701+--
702+-- * 'asAccountId'
703+--
704+-- * 'asProductCodes'
705+--
706+-- * 'asId'
707+--
708+-- * 'asWebsiteUrl'
709+--
710+-- * 'asRedirectUrl'
711+associationSession
712+ :: AssociationSession
713+associationSession =
714+ AssociationSession
715+ { _asStatus = Nothing
716+ , _asKind = "adsensehost#associationSession"
717+ , _asWebsiteLocale = Nothing
718+ , _asUserLocale = Nothing
719+ , _asAccountId = Nothing
720+ , _asProductCodes = Nothing
721+ , _asId = Nothing
722+ , _asWebsiteUrl = Nothing
723+ , _asRedirectUrl = Nothing
724+ }
725+
726+-- | Status of the completed association, available once the association
727+-- callback token has been verified. One of ACCEPTED, REJECTED, or ERROR.
728+asStatus :: Lens' AssociationSession (Maybe Text)
729+asStatus = lens _asStatus (\ s a -> s{_asStatus = a})
730+
731+-- | Kind of resource this is, in this case adsensehost#associationSession.
732+asKind :: Lens' AssociationSession Text
733+asKind = lens _asKind (\ s a -> s{_asKind = a})
734+
735+-- | The locale of the user\'s hosted website.
736+asWebsiteLocale :: Lens' AssociationSession (Maybe Text)
737+asWebsiteLocale
738+ = lens _asWebsiteLocale
739+ (\ s a -> s{_asWebsiteLocale = a})
740+
741+-- | The preferred locale of the user themselves when going through the
742+-- AdSense association flow.
743+asUserLocale :: Lens' AssociationSession (Maybe Text)
744+asUserLocale
745+ = lens _asUserLocale (\ s a -> s{_asUserLocale = a})
746+
747+-- | Hosted account id of the associated publisher after association. Present
748+-- if status is ACCEPTED.
749+asAccountId :: Lens' AssociationSession (Maybe Text)
750+asAccountId
751+ = lens _asAccountId (\ s a -> s{_asAccountId = a})
752+
753+-- | The products to associate with the user. Options: AFC, AFF, AFS, AFMC
754+asProductCodes :: Lens' AssociationSession [Text]
755+asProductCodes
756+ = lens _asProductCodes
757+ (\ s a -> s{_asProductCodes = a})
758+ . _Default
759+ . _Coerce
760+
761+-- | Unique identifier of this association session.
762+asId :: Lens' AssociationSession (Maybe Text)
763+asId = lens _asId (\ s a -> s{_asId = a})
764+
765+-- | The URL of the user\'s hosted website.
766+asWebsiteUrl :: Lens' AssociationSession (Maybe Text)
767+asWebsiteUrl
768+ = lens _asWebsiteUrl (\ s a -> s{_asWebsiteUrl = a})
769+
770+-- | Redirect URL of this association session. Used to redirect users into
771+-- the AdSense association flow.
772+asRedirectUrl :: Lens' AssociationSession (Maybe Text)
773+asRedirectUrl
774+ = lens _asRedirectUrl
775+ (\ s a -> s{_asRedirectUrl = a})
776+
777+--
778+-- /See:/ 'customChannel' smart constructor.
779+data CustomChannel = CustomChannel
780+ { _ccKind :: !Text
781+ , _ccName :: !(Maybe Text)
782+ , _ccCode :: !(Maybe Text)
783+ , _ccId :: !(Maybe Text)
784+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
785+
786+-- | Creates a value of 'CustomChannel' with the minimum fields required to make a request.
787+--
788+-- Use one of the following lenses to modify other fields as desired:
789+--
790+-- * 'ccKind'
791+--
792+-- * 'ccName'
793+--
794+-- * 'ccCode'
795+--
796+-- * 'ccId'
797+customChannel
798+ :: CustomChannel
799+customChannel =
800+ CustomChannel
801+ { _ccKind = "adsensehost#customChannel"
802+ , _ccName = Nothing
803+ , _ccCode = Nothing
804+ , _ccId = Nothing
805+ }
806+
807+-- | Kind of resource this is, in this case adsensehost#customChannel.
808+ccKind :: Lens' CustomChannel Text
809+ccKind = lens _ccKind (\ s a -> s{_ccKind = a})
810+
811+-- | Name of this custom channel.
812+ccName :: Lens' CustomChannel (Maybe Text)
813+ccName = lens _ccName (\ s a -> s{_ccName = a})
814+
815+-- | Code of this custom channel, not necessarily unique across ad clients.
816+ccCode :: Lens' CustomChannel (Maybe Text)
817+ccCode = lens _ccCode (\ s a -> s{_ccCode = a})
818+
819+-- | Unique identifier of this custom channel. This should be considered an
820+-- opaque identifier; it is not safe to rely on it being in any particular
821+-- format.
822+ccId :: Lens' CustomChannel (Maybe Text)
823+ccId = lens _ccId (\ s a -> s{_ccId = a})
824+
825+--
826+-- /See:/ 'customChannels' smart constructor.
827+data CustomChannels = CustomChannels
828+ { _cEtag :: !(Maybe Text)
829+ , _cNextPageToken :: !(Maybe Text)
830+ , _cKind :: !Text
831+ , _cItems :: !(Maybe [Maybe CustomChannel])
832+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
833+
834+-- | Creates a value of 'CustomChannels' with the minimum fields required to make a request.
835+--
836+-- Use one of the following lenses to modify other fields as desired:
837+--
838+-- * 'cEtag'
839+--
840+-- * 'cNextPageToken'
841+--
842+-- * 'cKind'
843+--
844+-- * 'cItems'
845+customChannels
846+ :: CustomChannels
847+customChannels =
848+ CustomChannels
849+ { _cEtag = Nothing
850+ , _cNextPageToken = Nothing
851+ , _cKind = "adsensehost#customChannels"
852+ , _cItems = Nothing
853+ }
854+
855+-- | ETag of this response for caching purposes.
856+cEtag :: Lens' CustomChannels (Maybe Text)
857+cEtag = lens _cEtag (\ s a -> s{_cEtag = a})
858+
859+-- | Continuation token used to page through custom channels. To retrieve the
860+-- next page of results, set the next request\'s \"pageToken\" value to
861+-- this.
862+cNextPageToken :: Lens' CustomChannels (Maybe Text)
863+cNextPageToken
864+ = lens _cNextPageToken
865+ (\ s a -> s{_cNextPageToken = a})
866+
867+-- | Kind of list this is, in this case adsensehost#customChannels.
868+cKind :: Lens' CustomChannels Text
869+cKind = lens _cKind (\ s a -> s{_cKind = a})
870+
871+-- | The custom channels returned in this list response.
872+cItems :: Lens' CustomChannels [Maybe CustomChannel]
873+cItems
874+ = lens _cItems (\ s a -> s{_cItems = a}) . _Default .
875+ _Coerce
876+
877+--
878+-- /See:/ 'report' smart constructor.
879+data Report = Report
880+ { _rKind :: !Text
881+ , _rAverages :: !(Maybe [Text])
882+ , _rWarnings :: !(Maybe [Text])
883+ , _rRows :: !(Maybe [[Text]])
884+ , _rTotals :: !(Maybe [Text])
885+ , _rHeaders :: !(Maybe [ReportItemHeaders])
886+ , _rTotalMatchedRows :: !(Maybe Int64)
887+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
888+
889+-- | Creates a value of 'Report' with the minimum fields required to make a request.
890+--
891+-- Use one of the following lenses to modify other fields as desired:
892+--
893+-- * 'rKind'
894+--
895+-- * 'rAverages'
896+--
897+-- * 'rWarnings'
898+--
899+-- * 'rRows'
900+--
901+-- * 'rTotals'
902+--
903+-- * 'rHeaders'
904+--
905+-- * 'rTotalMatchedRows'
906+report
907+ :: Report
908+report =
909+ Report
910+ { _rKind = "adsensehost#report"
911+ , _rAverages = Nothing
912+ , _rWarnings = Nothing
913+ , _rRows = Nothing
914+ , _rTotals = Nothing
915+ , _rHeaders = Nothing
916+ , _rTotalMatchedRows = Nothing
917+ }
918+
919+-- | Kind this is, in this case adsensehost#report.
920+rKind :: Lens' Report Text
921+rKind = lens _rKind (\ s a -> s{_rKind = a})
922+
923+-- | The averages of the report. This is the same length as any other row in
924+-- the report; cells corresponding to dimension columns are empty.
925+rAverages :: Lens' Report [Text]
926+rAverages
927+ = lens _rAverages (\ s a -> s{_rAverages = a}) .
928+ _Default
929+ . _Coerce
930+
931+-- | Any warnings associated with generation of the report.
932+rWarnings :: Lens' Report [Text]
933+rWarnings
934+ = lens _rWarnings (\ s a -> s{_rWarnings = a}) .
935+ _Default
936+ . _Coerce
937+
938+-- | The output rows of the report. Each row is a list of cells; one for each
939+-- dimension in the request, followed by one for each metric in the
940+-- request. The dimension cells contain strings, and the metric cells
941+-- contain numbers.
942+rRows :: Lens' Report [[Text]]
943+rRows
944+ = lens _rRows (\ s a -> s{_rRows = a}) . _Default .
945+ _Coerce
946+
947+-- | The totals of the report. This is the same length as any other row in
948+-- the report; cells corresponding to dimension columns are empty.
949+rTotals :: Lens' Report [Text]
950+rTotals
951+ = lens _rTotals (\ s a -> s{_rTotals = a}) . _Default
952+ . _Coerce
953+
954+-- | The header information of the columns requested in the report. This is a
955+-- list of headers; one for each dimension in the request, followed by one
956+-- for each metric in the request.
957+rHeaders :: Lens' Report [ReportItemHeaders]
958+rHeaders
959+ = lens _rHeaders (\ s a -> s{_rHeaders = a}) .
960+ _Default
961+ . _Coerce
962+
963+-- | The total number of rows matched by the report request. Fewer rows may
964+-- be returned in the response due to being limited by the row count
965+-- requested or the report row limit.
966+rTotalMatchedRows :: Lens' Report (Maybe Int64)
967+rTotalMatchedRows
968+ = lens _rTotalMatchedRows
969+ (\ s a -> s{_rTotalMatchedRows = a})
970+
971+--
972+-- /See:/ 'reportItemHeaders' smart constructor.
973+data ReportItemHeaders = ReportItemHeaders
974+ { _rihName :: !(Maybe Text)
975+ , _rihCurrency :: !(Maybe Text)
976+ , _rihType :: !(Maybe Text)
977+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
978+
979+-- | Creates a value of 'ReportItemHeaders' with the minimum fields required to make a request.
980+--
981+-- Use one of the following lenses to modify other fields as desired:
982+--
983+-- * 'rihName'
984+--
985+-- * 'rihCurrency'
986+--
987+-- * 'rihType'
988+reportItemHeaders
989+ :: ReportItemHeaders
990+reportItemHeaders =
991+ ReportItemHeaders
992+ { _rihName = Nothing
993+ , _rihCurrency = Nothing
994+ , _rihType = Nothing
995+ }
996+
997+-- | The name of the header.
998+rihName :: Lens' ReportItemHeaders (Maybe Text)
999+rihName = lens _rihName (\ s a -> s{_rihName = a})
1000+
1001+-- | The currency of this column. Only present if the header type is
1002+-- METRIC_CURRENCY.
1003+rihCurrency :: Lens' ReportItemHeaders (Maybe Text)
1004+rihCurrency
1005+ = lens _rihCurrency (\ s a -> s{_rihCurrency = a})
1006+
1007+-- | The type of the header; one of DIMENSION, METRIC_TALLY, METRIC_RATIO, or
1008+-- METRIC_CURRENCY.
1009+rihType :: Lens' ReportItemHeaders (Maybe Text)
1010+rihType = lens _rihType (\ s a -> s{_rihType = a})
1011+
1012+--
1013+-- /See:/ 'urlChannel' smart constructor.
1014+data UrlChannel = UrlChannel
1015+ { _ucKind :: !Text
1016+ , _ucId :: !(Maybe Text)
1017+ , _ucUrlPattern :: !(Maybe Text)
1018+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
1019+
1020+-- | Creates a value of 'UrlChannel' with the minimum fields required to make a request.
1021+--
1022+-- Use one of the following lenses to modify other fields as desired:
1023+--
1024+-- * 'ucKind'
1025+--
1026+-- * 'ucId'
1027+--
1028+-- * 'ucUrlPattern'
1029+urlChannel
1030+ :: UrlChannel
1031+urlChannel =
1032+ UrlChannel
1033+ { _ucKind = "adsensehost#urlChannel"
1034+ , _ucId = Nothing
1035+ , _ucUrlPattern = Nothing
1036+ }
1037+
1038+-- | Kind of resource this is, in this case adsensehost#urlChannel.
1039+ucKind :: Lens' UrlChannel Text
1040+ucKind = lens _ucKind (\ s a -> s{_ucKind = a})
1041+
1042+-- | Unique identifier of this URL channel. This should be considered an
1043+-- opaque identifier; it is not safe to rely on it being in any particular
1044+-- format.
1045+ucId :: Lens' UrlChannel (Maybe Text)
1046+ucId = lens _ucId (\ s a -> s{_ucId = a})
1047+
1048+-- | URL Pattern of this URL channel. Does not include \"http:\/\/\" or
1049+-- \"https:\/\/\". Example: www.example.com\/home
1050+ucUrlPattern :: Lens' UrlChannel (Maybe Text)
1051+ucUrlPattern
1052+ = lens _ucUrlPattern (\ s a -> s{_ucUrlPattern = a})
1053+
1054+--
1055+-- /See:/ 'urlChannels' smart constructor.
1056+data UrlChannels = UrlChannels
1057+ { _urlcEtag :: !(Maybe Text)
1058+ , _urlcNextPageToken :: !(Maybe Text)
1059+ , _urlcKind :: !Text
1060+ , _urlcItems :: !(Maybe [Maybe UrlChannel])
1061+ } deriving (Eq,Read,Show,Data,Typeable,Generic)
1062+
1063+-- | Creates a value of 'UrlChannels' with the minimum fields required to make a request.
1064+--
1065+-- Use one of the following lenses to modify other fields as desired:
1066+--
1067+-- * 'urlcEtag'
1068+--
1069+-- * 'urlcNextPageToken'
1070+--
1071+-- * 'urlcKind'
1072+--
1073+-- * 'urlcItems'
1074+urlChannels
1075+ :: UrlChannels
1076+urlChannels =
1077+ UrlChannels
1078+ { _urlcEtag = Nothing
1079+ , _urlcNextPageToken = Nothing
1080+ , _urlcKind = "adsensehost#urlChannels"
1081+ , _urlcItems = Nothing
1082+ }
1083+
1084+-- | ETag of this response for caching purposes.
1085+urlcEtag :: Lens' UrlChannels (Maybe Text)
1086+urlcEtag = lens _urlcEtag (\ s a -> s{_urlcEtag = a})
1087+
1088+-- | Continuation token used to page through URL channels. To retrieve the
1089+-- next page of results, set the next request\'s \"pageToken\" value to
1090+-- this.
1091+urlcNextPageToken :: Lens' UrlChannels (Maybe Text)
1092+urlcNextPageToken
1093+ = lens _urlcNextPageToken
1094+ (\ s a -> s{_urlcNextPageToken = a})
1095+
1096+-- | Kind of list this is, in this case adsensehost#urlChannels.
1097+urlcKind :: Lens' UrlChannels Text
1098+urlcKind = lens _urlcKind (\ s a -> s{_urlcKind = a})
1099+
1100+-- | The URL channels returned in this list response.
1101+urlcItems :: Lens' UrlChannels [Maybe UrlChannel]
1102+urlcItems
1103+ = lens _urlcItems (\ s a -> s{_urlcItems = a}) .
1104+ _Default
1105+ . _Coerce
gogol-adsense-host/gen/Network/Google/AdSenseHost/Types/Sum.hsnew file+15
@@ -0,0 +1,15 @@
1+{-# LANGUAGE DeriveDataTypeable #-}
2+{-# LANGUAGE DeriveGeneric #-}
3+{-# LANGUAGE OverloadedStrings #-}
4+
5+-- |
6+-- Module : Network.Google.AdSenseHost.Types.Sum
7+-- Copyright : (c) 2015 Brendan Hay
8+-- License : Mozilla Public License, v. 2.0.
9+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
10+-- Stability : auto-generated
11+-- Portability : non-portable (GHC extensions)
12+--
13+module Network.Google.AdSenseHost.Types.Sum where
14+
15+import Network.Google.Prelude
gogol-adsense-host/gogol-adsense-host.cabalnew file+39
@@ -0,0 +1,39 @@
1+name: gogol-adsense-host
2+version: 0.0.1
3+synopsis: Google AdSense Host API.
4+homepage: https://github.com/brendanhay/gogol
5+bug-reports: https://github.com/brendanhay/gogol/issues
6+license: OtherLicense
7+license-file: LICENSE
8+author: Brendan Hay
9+maintainer: Brendan Hay <brendan.g.hay@gmail.com>
10+copyright: Copyright (c) 2015 Brendan Hay
11+category: Network, Google, Cloud
12+build-type: Simple
13+cabal-version: >= 1.10
14+extra-source-files: README.md
15+
16+description:
17+ Pending
18+
19+source-repository head
20+ type: git
21+ location: git://github.com/brendanhay/gogol.git
22+
23+library
24+ default-language: Haskell2010
25+ hs-source-dirs: src gen
26+
27+ ghc-options: -Wall
28+
29+ exposed-modules:
30+ Network.Google.AdSenseHost
31+ , Network.Google.AdSenseHost.Types
32+
33+ other-modules:
34+ Network.Google.AdSenseHost.Types.Product
35+ , Network.Google.AdSenseHost.Types.Sum
36+
37+ build-depends:
38+ gogol-core == 0.0.1.*
39+ , base >= 4.7 && < 5
gogol-adsense-host/src/.gitkeepnew file

No changes to the content.

gogol-adsense/LICENSEnew file+373
@@ -0,0 +1,373 @@
1+Mozilla Public License Version 2.0
2+==================================
3+
4+1. Definitions
5+--------------
6+
7+1.1. "Contributor"
8+ means each individual or legal entity that creates, contributes to
9+ the creation of, or owns Covered Software.
10+
11+1.2. "Contributor Version"
12+ means the combination of the Contributions of others (if any) used
13+ by a Contributor and that particular Contributor's Contribution.
14+
15+1.3. "Contribution"
16+ means Covered Software of a particular Contributor.
17+
18+1.4. "Covered Software"
19+ means Source Code Form to which the initial Contributor has attached
20+ the notice in Exhibit A, the Executable Form of such Source Code
21+ Form, and Modifications of such Source Code Form, in each case
22+ including portions thereof.
23+
24+1.5. "Incompatible With Secondary Licenses"
25+ means
26+
27+ (a) that the initial Contributor has attached the notice described
28+ in Exhibit B to the Covered Software; or
29+
30+ (b) that the Covered Software was made available under the terms of
31+ version 1.1 or earlier of the License, but not also under the
32+ terms of a Secondary License.
33+
34+1.6. "Executable Form"
35+ means any form of the work other than Source Code Form.
36+
37+1.7. "Larger Work"
38+ means a work that combines Covered Software with other material, in
39+ a separate file or files, that is not Covered Software.
40+
41+1.8. "License"
42+ means this document.
43+
44+1.9. "Licensable"
45+ means having the right to grant, to the maximum extent possible,
46+ whether at the time of the initial grant or subsequently, any and
47+ all of the rights conveyed by this License.
48+
49+1.10. "Modifications"
50+ means any of the following:
51+
52+ (a) any file in Source Code Form that results from an addition to,
53+ deletion from, or modification of the contents of Covered
54+ Software; or
55+
56+ (b) any new file in Source Code Form that contains any Covered
57+ Software.
58+
59+1.11. "Patent Claims" of a Contributor
60+ means any patent claim(s), including without limitation, method,
61+ process, and apparatus claims, in any patent Licensable by such
62+ Contributor that would be infringed, but for the grant of the
63+ License, by the making, using, selling, offering for sale, having
64+ made, import, or transfer of either its Contributions or its
65+ Contributor Version.
66+
67+1.12. "Secondary License"
68+ means either the GNU General Public License, Version 2.0, the GNU
69+ Lesser General Public License, Version 2.1, the GNU Affero General
70+ Public License, Version 3.0, or any later versions of those
71+ licenses.
72+
73+1.13. "Source Code Form"
74+ means the form of the work preferred for making modifications.
75+
76+1.14. "You" (or "Your")
77+ means an individual or a legal entity exercising rights under this
78+ License. For legal entities, "You" includes any entity that
79+ controls, is controlled by, or is under common control with You. For
80+ purposes of this definition, "control" means (a) the power, direct
81+ or indirect, to cause the direction or management of such entity,
82+ whether by contract or otherwise, or (b) ownership of more than
83+ fifty percent (50%) of the outstanding shares or beneficial
84+ ownership of such entity.
85+
86+2. License Grants and Conditions
87+--------------------------------
88+
89+2.1. Grants
90+
91+Each Contributor hereby grants You a world-wide, royalty-free,
92+non-exclusive license:
93+
94+(a) under intellectual property rights (other than patent or trademark)
95+ Licensable by such Contributor to use, reproduce, make available,
96+ modify, display, perform, distribute, and otherwise exploit its
97+ Contributions, either on an unmodified basis, with Modifications, or
98+ as part of a Larger Work; and
99+
100+(b) under Patent Claims of such Contributor to make, use, sell, offer
101+ for sale, have made, import, and otherwise transfer either its
102+ Contributions or its Contributor Version.
103+
104+2.2. Effective Date
105+
106+The licenses granted in Section 2.1 with respect to any Contribution
107+become effective for each Contribution on the date the Contributor first
108+distributes such Contribution.
109+
110+2.3. Limitations on Grant Scope
111+
112+The licenses granted in this Section 2 are the only rights granted under
113+this License. No additional rights or licenses will be implied from the
114+distribution or licensing of Covered Software under this License.
115+Notwithstanding Section 2.1(b) above, no patent license is granted by a
116+Contributor:
117+
118+(a) for any code that a Contributor has removed from Covered Software;
119+ or
120+
121+(b) for infringements caused by: (i) Your and any other third party's
122+ modifications of Covered Software, or (ii) the combination of its
123+ Contributions with other software (except as part of its Contributor
124+ Version); or
125+
126+(c) under Patent Claims infringed by Covered Software in the absence of
127+ its Contributions.
128+
129+This License does not grant any rights in the trademarks, service marks,
130+or logos of any Contributor (except as may be necessary to comply with
131+the notice requirements in Section 3.4).
132+
133+2.4. Subsequent Licenses
134+
135+No Contributor makes additional grants as a result of Your choice to
136+distribute the Covered Software under a subsequent version of this
137+License (see Section 10.2) or under the terms of a Secondary License (if
138+permitted under the terms of Section 3.3).
139+
140+2.5. Representation
141+
142+Each Contributor represents that the Contributor believes its
143+Contributions are its original creation(s) or it has sufficient rights
144+to grant the rights to its Contributions conveyed by this License.
145+
146+2.6. Fair Use
147+
148+This License is not intended to limit any rights You have under
149+applicable copyright doctrines of fair use, fair dealing, or other
150+equivalents.
151+
152+2.7. Conditions
153+
154+Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
155+in Section 2.1.
156+
157+3. Responsibilities
158+-------------------
159+
160+3.1. Distribution of Source Form
161+
162+All distribution of Covered Software in Source Code Form, including any
163+Modifications that You create or to which You contribute, must be under
164+the terms of this License. You must inform recipients that the Source
165+Code Form of the Covered Software is governed by the terms of this
166+License, and how they can obtain a copy of this License. You may not
167+attempt to alter or restrict the recipients' rights in the Source Code
168+Form.
169+
170+3.2. Distribution of Executable Form
171+
172+If You distribute Covered Software in Executable Form then:
173+
174+(a) such Covered Software must also be made available in Source Code
175+ Form, as described in Section 3.1, and You must inform recipients of
176+ the Executable Form how they can obtain a copy of such Source Code
177+ Form by reasonable means in a timely manner, at a charge no more
178+ than the cost of distribution to the recipient; and
179+
180+(b) You may distribute such Executable Form under the terms of this
181+ License, or sublicense it under different terms, provided that the
182+ license for the Executable Form does not attempt to limit or alter
183+ the recipients' rights in the Source Code Form under this License.
184+
185+3.3. Distribution of a Larger Work
186+
187+You may create and distribute a Larger Work under terms of Your choice,
188+provided that You also comply with the requirements of this License for
189+the Covered Software. If the Larger Work is a combination of Covered
190+Software with a work governed by one or more Secondary Licenses, and the
191+Covered Software is not Incompatible With Secondary Licenses, this
192+License permits You to additionally distribute such Covered Software
193+under the terms of such Secondary License(s), so that the recipient of
194+the Larger Work may, at their option, further distribute the Covered
195+Software under the terms of either this License or such Secondary
196+License(s).
197+
198+3.4. Notices
199+
200+You may not remove or alter the substance of any license notices
201+(including copyright notices, patent notices, disclaimers of warranty,
202+or limitations of liability) contained within the Source Code Form of
203+the Covered Software, except that You may alter any license notices to
204+the extent required to remedy known factual inaccuracies.
205+
206+3.5. Application of Additional Terms
207+
208+You may choose to offer, and to charge a fee for, warranty, support,
209+indemnity or liability obligations to one or more recipients of Covered
210+Software. However, You may do so only on Your own behalf, and not on
211+behalf of any Contributor. You must make it absolutely clear that any
212+such warranty, support, indemnity, or liability obligation is offered by
213+You alone, and You hereby agree to indemnify every Contributor for any
214+liability incurred by such Contributor as a result of warranty, support,
215+indemnity or liability terms You offer. You may include additional
216+disclaimers of warranty and limitations of liability specific to any
217+jurisdiction.
218+
219+4. Inability to Comply Due to Statute or Regulation
220+---------------------------------------------------
221+
222+If it is impossible for You to comply with any of the terms of this
223+License with respect to some or all of the Covered Software due to
224+statute, judicial order, or regulation then You must: (a) comply with
225+the terms of this License to the maximum extent possible; and (b)
226+describe the limitations and the code they affect. Such description must
227+be placed in a text file included with all distributions of the Covered
228+Software under this License. Except to the extent prohibited by statute
229+or regulation, such description must be sufficiently detailed for a
230+recipient of ordinary skill to be able to understand it.
231+
232+5. Termination
233+--------------
234+
235+5.1. The rights granted under this License will terminate automatically
236+if You fail to comply with any of its terms. However, if You become
237+compliant, then the rights granted under this License from a particular
238+Contributor are reinstated (a) provisionally, unless and until such
239+Contributor explicitly and finally terminates Your grants, and (b) on an
240+ongoing basis, if such Contributor fails to notify You of the
241+non-compliance by some reasonable means prior to 60 days after You have
242+come back into compliance. Moreover, Your grants from a particular
243+Contributor are reinstated on an ongoing basis if such Contributor
244+notifies You of the non-compliance by some reasonable means, this is the
245+first time You have received notice of non-compliance with this License
246+from such Contributor, and You become compliant prior to 30 days after
247+Your receipt of the notice.
248+
249+5.2. If You initiate litigation against any entity by asserting a patent
250+infringement claim (excluding declaratory judgment actions,
251+counter-claims, and cross-claims) alleging that a Contributor Version
252+directly or indirectly infringes any patent, then the rights granted to
253+You by any and all Contributors for the Covered Software under Section
254+2.1 of this License shall terminate.
255+
256+5.3. In the event of termination under Sections 5.1 or 5.2 above, all
257+end user license agreements (excluding distributors and resellers) which
258+have been validly granted by You or Your distributors under this License
259+prior to termination shall survive termination.
260+
261+************************************************************************
262+* *
263+* 6. Disclaimer of Warranty *
264+* ------------------------- *
265+* *
266+* Covered Software is provided under this License on an "as is" *
267+* basis, without warranty of any kind, either expressed, implied, or *
268+* statutory, including, without limitation, warranties that the *
269+* Covered Software is free of defects, merchantable, fit for a *
270+* particular purpose or non-infringing. The entire risk as to the *
271+* quality and performance of the Covered Software is with You. *
272+* Should any Covered Software prove defective in any respect, You *
273+* (not any Contributor) assume the cost of any necessary servicing, *
274+* repair, or correction. This disclaimer of warranty constitutes an *
275+* essential part of this License. No use of any Covered Software is *
276+* authorized under this License except under this disclaimer. *
277+* *
278+************************************************************************
279+
280+************************************************************************
281+* *
282+* 7. Limitation of Liability *
283+* -------------------------- *
284+* *
285+* Under no circumstances and under no legal theory, whether tort *
286+* (including negligence), contract, or otherwise, shall any *
287+* Contributor, or anyone who distributes Covered Software as *
288+* permitted above, be liable to You for any direct, indirect, *
289+* special, incidental, or consequential damages of any character *
290+* including, without limitation, damages for lost profits, loss of *
291+* goodwill, work stoppage, computer failure or malfunction, or any *
292+* and all other commercial damages or losses, even if such party *
293+* shall have been informed of the possibility of such damages. This *
294+* limitation of liability shall not apply to liability for death or *
295+* personal injury resulting from such party's negligence to the *
296+* extent applicable law prohibits such limitation. Some *
297+* jurisdictions do not allow the exclusion or limitation of *
298+* incidental or consequential damages, so this exclusion and *
299+* limitation may not apply to You. *
300+* *
301+************************************************************************
302+
303+8. Litigation
304+-------------
305+
306+Any litigation relating to this License may be brought only in the
307+courts of a jurisdiction where the defendant maintains its principal
308+place of business and such litigation shall be governed by laws of that
309+jurisdiction, without reference to its conflict-of-law provisions.
310+Nothing in this Section shall prevent a party's ability to bring
311+cross-claims or counter-claims.
312+
313+9. Miscellaneous
314+----------------
315+
316+This License represents the complete agreement concerning the subject
317+matter hereof. If any provision of this License is held to be
318+unenforceable, such provision shall be reformed only to the extent
319+necessary to make it enforceable. Any law or regulation which provides
320+that the language of a contract shall be construed against the drafter
321+shall not be used to construe this License against a Contributor.
322+
323+10. Versions of the License
324+---------------------------
325+
326+10.1. New Versions
327+
328+Mozilla Foundation is the license steward. Except as provided in Section
329+10.3, no one other than the license steward has the right to modify or
330+publish new versions of this License. Each version will be given a
331+distinguishing version number.
332+
333+10.2. Effect of New Versions
334+
335+You may distribute the Covered Software under the terms of the version
336+of the License under which You originally received the Covered Software,
337+or under the terms of any subsequent version published by the license
338+steward.
339+
340+10.3. Modified Versions
341+
342+If you create software not governed by this License, and you want to
343+create a new license for such software, you may create and use a
344+modified version of this License if you rename the license and remove
345+any references to the name of the license steward (except to note that
346+such modified license differs from this License).
347+
348+10.4. Distributing Source Code Form that is Incompatible With Secondary
349+Licenses
350+
351+If You choose to distribute Source Code Form that is Incompatible With
352+Secondary Licenses under the terms of this version of the License, the
353+notice described in Exhibit B of this License must be attached.
354+
355+Exhibit A - Source Code Form License Notice
356+-------------------------------------------
357+
358+ This Source Code Form is subject to the terms of the Mozilla Public
359+ License, v. 2.0. If a copy of the MPL was not distributed with this
360+ file, You can obtain one at http://mozilla.org/MPL/2.0/.
361+
362+If it is not possible or desirable to put the notice in a particular
363+file, then You may include the notice in a location (such as a LICENSE
364+file in a relevant directory) where a recipient would be likely to look
365+for such a notice.
366+
367+You may add additional accurate notices of copyright ownership.
368+
369+Exhibit B - "Incompatible With Secondary Licenses" Notice
370+---------------------------------------------------------
371+
372+ This Source Code Form is "Incompatible With Secondary Licenses", as
373+ defined by the Mozilla Public License, v. 2.0.
gogol-adsense/Makefilenew file+1
@@ -0,0 +1 @@
1+include ../share/library.mk
gogol-adsense/README.mdnew file+28
@@ -0,0 +1,28 @@
1+# gogol-adsense
2+
3+* [Version](#version)
4+* [Description](#description)
5+* [Contribute](#contribute)
6+* [Licence](#licence)
7+
8+
9+## Version
10+
11+`0.0.1`
12+
13+
14+## Description
15+
16+A client library for the Google AdSense Management API.
17+
18+
19+## Contribute
20+
21+For any problems, comments, or feedback please create an issue [here on GitHub](https://github.com/brendanhay/amazonka/issues).
22+
23+> _Note:_ this library is an auto-generated Haskell package. Please see `amazonka-gen` for more information.
24+
25+
26+## Licence
27+
28+`gogol-adsense` is released under the [Mozilla Public License Version 2.0](http://www.mozilla.org/MPL/).
gogol-adsense/Setup.hsnew file+2
@@ -0,0 +1,2 @@
1+import Distribution.Simple
2+main = defaultMain
gogol-adsense/gen/Network/Google/AdSense.hsnew file+291
@@ -0,0 +1,291 @@
1+-- |
2+-- Module : Network.Google.AdSense
3+-- Copyright : (c) 2015 Brendan Hay
4+-- License : Mozilla Public License, v. 2.0.
5+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
6+-- Stability : auto-generated
7+-- Portability : non-portable (GHC extensions)
8+--
9+-- Gives AdSense publishers access to their inventory and the ability to generate reports
10+--
11+-- /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference>
12+module Network.Google.AdSense
13+ (
14+ -- * API Definition
15+ AdSense
16+
17+
18+
19+ -- * Types
20+
21+ -- ** Account
22+ , Account
23+ , account
24+ , accKind
25+ , accPremium
26+ , accName
27+ , accId
28+ , accTimezone
29+ , accSubAccounts
30+
31+ -- ** Accounts
32+ , Accounts
33+ , accounts
34+ , aEtag
35+ , aNextPageToken
36+ , aKind
37+ , aItems
38+
39+ -- ** AdClient
40+ , AdClient
41+ , adClient
42+ , acKind
43+ , acArcOptIn
44+ , acSupportsReporting
45+ , acId
46+ , acProductCode
47+ , acArcReviewMode
48+
49+ -- ** AdClients
50+ , AdClients
51+ , adClients
52+ , acsEtag
53+ , acsNextPageToken
54+ , acsKind
55+ , acsItems
56+
57+ -- ** AdCode
58+ , AdCode
59+ , adCode
60+ , adKind
61+ , adAdCode
62+
63+ -- ** AdStyle
64+ , AdStyle
65+ , adStyle
66+ , asCorners
67+ , asKind
68+ , asFont
69+ , asColors
70+
71+ -- ** AdStyleColors
72+ , AdStyleColors
73+ , adStyleColors
74+ , ascText
75+ , ascUrl
76+ , ascBorder
77+ , ascTitle
78+ , ascBackground
79+
80+ -- ** AdStyleFont
81+ , AdStyleFont
82+ , adStyleFont
83+ , asfSize
84+ , asfFamily
85+
86+ -- ** AdUnit
87+ , AdUnit
88+ , adUnit
89+ , auuStatus
90+ , auuMobileContentAdsSettings
91+ , auuKind
92+ , auuFeedAdsSettings
93+ , auuCustomStyle
94+ , auuSavedStyleId
95+ , auuName
96+ , auuContentAdsSettings
97+ , auuCode
98+ , auuId
99+
100+ -- ** AdUnitBackupOptionContentAdsSettings
101+ , AdUnitBackupOptionContentAdsSettings
102+ , adUnitBackupOptionContentAdsSettings
103+ , aubocasColor
104+ , aubocasUrl
105+ , aubocasType
106+
107+ -- ** AdUnitContentAdsSettings
108+ , AdUnitContentAdsSettings
109+ , adUnitContentAdsSettings
110+ , aucasBackupOption
111+ , aucasSize
112+ , aucasType
113+
114+ -- ** AdUnitFeedAdsSettings
115+ , AdUnitFeedAdsSettings
116+ , adUnitFeedAdsSettings
117+ , aufasFrequency
118+ , aufasAdPosition
119+ , aufasType
120+ , aufasMinimumWordCount
121+
122+ -- ** AdUnitMobileContentAdsSettings
123+ , AdUnitMobileContentAdsSettings
124+ , adUnitMobileContentAdsSettings
125+ , aumcasSize
126+ , aumcasScriptingLanguage
127+ , aumcasMarkupLanguage
128+ , aumcasType
129+
130+ -- ** AdUnits
131+ , AdUnits
132+ , adUnits
133+ , auEtag
134+ , auNextPageToken
135+ , auKind
136+ , auItems
137+
138+ -- ** AdsenseReportsGenerateResponse
139+ , AdsenseReportsGenerateResponse
140+ , adsenseReportsGenerateResponse
141+ , argrKind
142+ , argrAverages
143+ , argrEndDate
144+ , argrWarnings
145+ , argrRows
146+ , argrTotals
147+ , argrStartDate
148+ , argrHeaders
149+ , argrTotalMatchedRows
150+
151+ -- ** AdsenseReportsGenerateResponseItemHeaders
152+ , AdsenseReportsGenerateResponseItemHeaders
153+ , adsenseReportsGenerateResponseItemHeaders
154+ , argrihName
155+ , argrihCurrency
156+ , argrihType
157+
158+ -- ** Alert
159+ , Alert
160+ , alert
161+ , aleIsDismissible
162+ , aleKind
163+ , aleSeverity
164+ , aleId
165+ , aleType
166+ , aleMessage
167+
168+ -- ** Alerts
169+ , Alerts
170+ , alerts
171+ , aaKind
172+ , aaItems
173+
174+ -- ** CustomChannel
175+ , CustomChannel
176+ , customChannel
177+ , ccTargetingInfo
178+ , ccKind
179+ , ccName
180+ , ccCode
181+ , ccId
182+
183+ -- ** CustomChannelTargetingInfo
184+ , CustomChannelTargetingInfo
185+ , customChannelTargetingInfo
186+ , cctiLocation
187+ , cctiSiteLanguage
188+ , cctiAdsAppearOn
189+ , cctiDescription
190+
191+ -- ** CustomChannels
192+ , CustomChannels
193+ , customChannels
194+ , cEtag
195+ , cNextPageToken
196+ , cKind
197+ , cItems
198+
199+ -- ** Metadata
200+ , Metadata
201+ , metadata
202+ , mKind
203+ , mItems
204+
205+ -- ** Payment
206+ , Payment
207+ , payment
208+ , pPaymentAmountCurrencyCode
209+ , pKind
210+ , pPaymentDate
211+ , pId
212+ , pPaymentAmount
213+
214+ -- ** Payments
215+ , Payments
216+ , payments
217+ , payKind
218+ , payItems
219+
220+ -- ** ReportingMetadataEntry
221+ , ReportingMetadataEntry
222+ , reportingMetadataEntry
223+ , rmeKind
224+ , rmeRequiredMetrics
225+ , rmeCompatibleMetrics
226+ , rmeRequiredDimensions
227+ , rmeId
228+ , rmeCompatibleDimensions
229+ , rmeSupportedProducts
230+
231+ -- ** SavedAdStyle
232+ , SavedAdStyle
233+ , savedAdStyle
234+ , sKind
235+ , sName
236+ , sAdStyle
237+ , sId
238+
239+ -- ** SavedAdStyles
240+ , SavedAdStyles
241+ , savedAdStyles
242+ , sasEtag
243+ , sasNextPageToken
244+ , sasKind
245+ , sasItems
246+
247+ -- ** SavedReport
248+ , SavedReport
249+ , savedReport
250+ , savKind
251+ , savName
252+ , savId
253+
254+ -- ** SavedReports
255+ , SavedReports
256+ , savedReports
257+ , srEtag
258+ , srNextPageToken
259+ , srKind
260+ , srItems
261+
262+ -- ** UrlChannel
263+ , UrlChannel
264+ , urlChannel
265+ , ucKind
266+ , ucId
267+ , ucUrlPattern
268+
269+ -- ** UrlChannels
270+ , UrlChannels
271+ , urlChannels
272+ , urlcEtag
273+ , urlcNextPageToken
274+ , urlcKind
275+ , urlcItems
276+ ) where
277+
278+import Network.Google.AdSense.Types
279+
280+{- $resources
281+TODO
282+-}
283+
284+type AdSense = ()
285+
286+adSense :: Proxy AdSense
287+adSense = Proxy
288+
289+
290+
291+
gogol-adsense/gen/Network/Google/AdSense/Types.hsnew file+281
@@ -0,0 +1,281 @@
1+{-# LANGUAGE DeriveDataTypeable #-}
2+{-# LANGUAGE DeriveGeneric #-}
3+{-# LANGUAGE OverloadedStrings #-}
4+
5+-- |
6+-- Module : Network.Google.AdSense.Types
7+-- Copyright : (c) 2015 Brendan Hay
8+-- License : Mozilla Public License, v. 2.0.
9+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
10+-- Stability : auto-generated
11+-- Portability : non-portable (GHC extensions)
12+--
13+module Network.Google.AdSense.Types
14+ (
15+ -- * API Definition
16+ adsense
17+
18+
19+ -- * Account
20+ , Account
21+ , account
22+ , accKind
23+ , accPremium
24+ , accName
25+ , accId
26+ , accTimezone
27+ , accSubAccounts
28+
29+ -- * Accounts
30+ , Accounts
31+ , accounts
32+ , aEtag
33+ , aNextPageToken
34+ , aKind
35+ , aItems
36+
37+ -- * AdClient
38+ , AdClient
39+ , adClient
40+ , acKind
41+ , acArcOptIn
42+ , acSupportsReporting
43+ , acId
44+ , acProductCode
45+ , acArcReviewMode
46+
47+ -- * AdClients
48+ , AdClients
49+ , adClients
50+ , acsEtag
51+ , acsNextPageToken
52+ , acsKind
53+ , acsItems
54+
55+ -- * AdCode
56+ , AdCode
57+ , adCode
58+ , adKind
59+ , adAdCode
60+
61+ -- * AdStyle
62+ , AdStyle
63+ , adStyle
64+ , asCorners
65+ , asKind
66+ , asFont
67+ , asColors
68+
69+ -- * AdStyleColors
70+ , AdStyleColors
71+ , adStyleColors
72+ , ascText
73+ , ascUrl
74+ , ascBorder
75+ , ascTitle
76+ , ascBackground
77+
78+ -- * AdStyleFont
79+ , AdStyleFont
80+ , adStyleFont
81+ , asfSize
82+ , asfFamily
83+
84+ -- * AdUnit
85+ , AdUnit
86+ , adUnit
87+ , auuStatus
88+ , auuMobileContentAdsSettings
89+ , auuKind
90+ , auuFeedAdsSettings
91+ , auuCustomStyle
92+ , auuSavedStyleId
93+ , auuName
94+ , auuContentAdsSettings
95+ , auuCode
96+ , auuId
97+
98+ -- * AdUnitBackupOptionContentAdsSettings
99+ , AdUnitBackupOptionContentAdsSettings
100+ , adUnitBackupOptionContentAdsSettings
101+ , aubocasColor
102+ , aubocasUrl
103+ , aubocasType
104+
105+ -- * AdUnitContentAdsSettings
106+ , AdUnitContentAdsSettings
107+ , adUnitContentAdsSettings
108+ , aucasBackupOption
109+ , aucasSize
110+ , aucasType
111+
112+ -- * AdUnitFeedAdsSettings
113+ , AdUnitFeedAdsSettings
114+ , adUnitFeedAdsSettings
115+ , aufasFrequency
116+ , aufasAdPosition
117+ , aufasType
118+ , aufasMinimumWordCount
119+
120+ -- * AdUnitMobileContentAdsSettings
121+ , AdUnitMobileContentAdsSettings
122+ , adUnitMobileContentAdsSettings
123+ , aumcasSize
124+ , aumcasScriptingLanguage
125+ , aumcasMarkupLanguage
126+ , aumcasType
127+
128+ -- * AdUnits
129+ , AdUnits
130+ , adUnits
131+ , auEtag
132+ , auNextPageToken
133+ , auKind
134+ , auItems
135+
136+ -- * AdsenseReportsGenerateResponse
137+ , AdsenseReportsGenerateResponse
138+ , adsenseReportsGenerateResponse
139+ , argrKind
140+ , argrAverages
141+ , argrEndDate
142+ , argrWarnings
143+ , argrRows
144+ , argrTotals
145+ , argrStartDate
146+ , argrHeaders
147+ , argrTotalMatchedRows
148+
149+ -- * AdsenseReportsGenerateResponseItemHeaders
150+ , AdsenseReportsGenerateResponseItemHeaders
151+ , adsenseReportsGenerateResponseItemHeaders
152+ , argrihName
153+ , argrihCurrency
154+ , argrihType
155+
156+ -- * Alert
157+ , Alert
158+ , alert
159+ , aleIsDismissible
160+ , aleKind
161+ , aleSeverity
162+ , aleId
163+ , aleType
164+ , aleMessage
165+
166+ -- * Alerts
167+ , Alerts
168+ , alerts
169+ , aaKind
170+ , aaItems
171+
172+ -- * CustomChannel
173+ , CustomChannel
174+ , customChannel
175+ , ccTargetingInfo
176+ , ccKind
177+ , ccName
178+ , ccCode
179+ , ccId
180+
181+ -- * CustomChannelTargetingInfo
182+ , CustomChannelTargetingInfo
183+ , customChannelTargetingInfo
184+ , cctiLocation
185+ , cctiSiteLanguage
186+ , cctiAdsAppearOn
187+ , cctiDescription
188+
189+ -- * CustomChannels
190+ , CustomChannels
191+ , customChannels
192+ , cEtag
193+ , cNextPageToken
194+ , cKind
195+ , cItems
196+
197+ -- * Metadata
198+ , Metadata
199+ , metadata
200+ , mKind
201+ , mItems
202+
203+ -- * Payment
204+ , Payment
205+ , payment
206+ , pPaymentAmountCurrencyCode
207+ , pKind
208+ , pPaymentDate
209+ , pId
210+ , pPaymentAmount
211+
212+ -- * Payments
213+ , Payments
214+ , payments
215+ , payKind
216+ , payItems
217+
218+ -- * ReportingMetadataEntry
219+ , ReportingMetadataEntry
220+ , reportingMetadataEntry
221+ , rmeKind
222+ , rmeRequiredMetrics
223+ , rmeCompatibleMetrics
224+ , rmeRequiredDimensions
225+ , rmeId
226+ , rmeCompatibleDimensions
227+ , rmeSupportedProducts
228+
229+ -- * SavedAdStyle
230+ , SavedAdStyle
231+ , savedAdStyle
232+ , sKind
233+ , sName
234+ , sAdStyle
235+ , sId
236+
237+ -- * SavedAdStyles
238+ , SavedAdStyles
239+ , savedAdStyles
240+ , sasEtag
241+ , sasNextPageToken
242+ , sasKind
243+ , sasItems
244+
245+ -- * SavedReport
246+ , SavedReport
247+ , savedReport
248+ , savKind
249+ , savName
250+ , savId
251+
252+ -- * SavedReports
253+ , SavedReports
254+ , savedReports
255+ , srEtag
256+ , srNextPageToken
257+ , srKind
258+ , srItems
259+
260+ -- * UrlChannel
261+ , UrlChannel
262+ , urlChannel
263+ , ucKind
264+ , ucId
265+ , ucUrlPattern
266+
267+ -- * UrlChannels
268+ , UrlChannels
269+ , urlChannels
270+ , urlcEtag
271+ , urlcNextPageToken
272+ , urlcKind
273+ , urlcItems
274+ ) where
275+
276+import Network.Google.AdSense.Types.Product
277+import Network.Google.AdSense.Types.Sum
278+import Network.Google.Prelude
279+
280+adsense :: a
281+adsense = error "adsense"
gogol-adsense/gen/Network/Google/AdSense/Types/Product.hsnew file+1725

This diff is too big to show here.

gogol-adsense/gen/Network/Google/AdSense/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-adsense/gogol-adsense.cabalnew file+39

This diff is too big to show here.

gogol-adsense/src/.gitkeepnew file

No changes to the content.

gogol-affiliatenetwork/LICENSEnew file+373

This diff is too big to show here.

gogol-affiliatenetwork/Makefilenew file+1

This diff is too big to show here.

gogol-affiliatenetwork/README.mdnew file+28

This diff is too big to show here.

gogol-affiliatenetwork/Setup.hsnew file+2

This diff is too big to show here.

gogol-affiliatenetwork/gen/Network/Google/AffiliateNetwork.hsnew file+290

This diff is too big to show here.

gogol-affiliatenetwork/gen/Network/Google/AffiliateNetwork/Types.hsnew file+280

This diff is too big to show here.

gogol-affiliatenetwork/gen/Network/Google/AffiliateNetwork/Types/Product.hsnew file+2140

This diff is too big to show here.

gogol-affiliatenetwork/gen/Network/Google/AffiliateNetwork/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-affiliatenetwork/gogol-affiliatenetwork.cabalnew file+39

This diff is too big to show here.

gogol-affiliatenetwork/src/.gitkeepnew file

No changes to the content.

gogol-analytics/LICENSEnew file+373

This diff is too big to show here.

gogol-analytics/Makefilenew file+1

This diff is too big to show here.

gogol-analytics/README.mdnew file+28

This diff is too big to show here.

gogol-analytics/Setup.hsnew file+2

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Analytics.hsnew file+1008

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Analytics/Types.hsnew file+998

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Analytics/Types/Product.hsnew file+7171

This diff is too big to show here.

gogol-analytics/gen/Network/Google/Analytics/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-analytics/gogol-analytics.cabalnew file+39

This diff is too big to show here.

gogol-analytics/src/.gitkeepnew file

No changes to the content.

gogol-android-enterprise/LICENSEnew file+373

This diff is too big to show here.

gogol-android-enterprise/Makefilenew file+1

This diff is too big to show here.

gogol-android-enterprise/README.mdnew file+28

This diff is too big to show here.

gogol-android-enterprise/Setup.hsnew file+2

This diff is too big to show here.

gogol-android-enterprise/gen/Network/Google/AndroidEnterprise.hsnew file+259

This diff is too big to show here.

gogol-android-enterprise/gen/Network/Google/AndroidEnterprise/Types.hsnew file+249

This diff is too big to show here.

gogol-android-enterprise/gen/Network/Google/AndroidEnterprise/Types/Product.hsnew file+1612

This diff is too big to show here.

gogol-android-enterprise/gen/Network/Google/AndroidEnterprise/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-android-enterprise/gogol-android-enterprise.cabalnew file+39

This diff is too big to show here.

gogol-android-enterprise/src/.gitkeepnew file

No changes to the content.

gogol-android-publisher/LICENSEnew file+373

This diff is too big to show here.

gogol-android-publisher/Makefilenew file+1

This diff is too big to show here.

gogol-android-publisher/README.mdnew file+28

This diff is too big to show here.

gogol-android-publisher/Setup.hsnew file+2

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/AndroidPublisher.hsnew file+342

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/AndroidPublisher/Types.hsnew file+332

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/AndroidPublisher/Types/Product.hsnew file+1832

This diff is too big to show here.

gogol-android-publisher/gen/Network/Google/AndroidPublisher/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-android-publisher/gogol-android-publisher.cabalnew file+39

This diff is too big to show here.

gogol-android-publisher/src/.gitkeepnew file

No changes to the content.

gogol-appengine/LICENSEnew file+373

This diff is too big to show here.

gogol-appengine/Makefilenew file+1

This diff is too big to show here.

gogol-appengine/README.mdnew file+28

This diff is too big to show here.

gogol-appengine/Setup.hsnew file+2

This diff is too big to show here.

gogol-appengine/gen/Network/Google/AppEngineAdmin.hsnew file+310

This diff is too big to show here.

gogol-appengine/gen/Network/Google/AppEngineAdmin/Types.hsnew file+300

This diff is too big to show here.

gogol-appengine/gen/Network/Google/AppEngineAdmin/Types/Product.hsnew file+1961

This diff is too big to show here.

gogol-appengine/gen/Network/Google/AppEngineAdmin/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-appengine/gogol-appengine.cabalnew file+39

This diff is too big to show here.

gogol-appengine/src/.gitkeepnew file

No changes to the content.

gogol-appsactivity/LICENSEnew file+373

This diff is too big to show here.

gogol-appsactivity/Makefilenew file+1

This diff is too big to show here.

gogol-appsactivity/README.mdnew file+28

This diff is too big to show here.

gogol-appsactivity/Setup.hsnew file+2

This diff is too big to show here.

gogol-appsactivity/gen/Network/Google/AppsActivity.hsnew file+125

This diff is too big to show here.

gogol-appsactivity/gen/Network/Google/AppsActivity/Types.hsnew file+115

This diff is too big to show here.

gogol-appsactivity/gen/Network/Google/AppsActivity/Types/Product.hsnew file+519

This diff is too big to show here.

gogol-appsactivity/gen/Network/Google/AppsActivity/Types/Sum.hsnew file+99

This diff is too big to show here.

gogol-appsactivity/gogol-appsactivity.cabalnew file+39

This diff is too big to show here.

gogol-appsactivity/src/.gitkeepnew file

No changes to the content.

gogol-appstate/LICENSEnew file+373

This diff is too big to show here.

gogol-appstate/Makefilenew file+1

This diff is too big to show here.

gogol-appstate/README.mdnew file+28

This diff is too big to show here.

gogol-appstate/Setup.hsnew file+2

This diff is too big to show here.

gogol-appstate/gen/Network/Google/AppState.hsnew file+63

This diff is too big to show here.

gogol-appstate/gen/Network/Google/AppState/Types.hsnew file+53

This diff is too big to show here.

gogol-appstate/gen/Network/Google/AppState/Types/Product.hsnew file+186

This diff is too big to show here.

gogol-appstate/gen/Network/Google/AppState/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-appstate/gogol-appstate.cabalnew file+39

This diff is too big to show here.

gogol-appstate/src/.gitkeepnew file

No changes to the content.

gogol-autoscaler/LICENSEnew file+373

This diff is too big to show here.

gogol-autoscaler/Makefilenew file+1

This diff is too big to show here.

gogol-autoscaler/README.mdnew file+28

This diff is too big to show here.

gogol-autoscaler/Setup.hsnew file+2

This diff is too big to show here.

gogol-autoscaler/gen/Network/Google/ComputeEngineAutoscaler.hsnew file+181

This diff is too big to show here.

gogol-autoscaler/gen/Network/Google/ComputeEngineAutoscaler/Types.hsnew file+171

This diff is too big to show here.

gogol-autoscaler/gen/Network/Google/ComputeEngineAutoscaler/Types/Product.hsnew file+962

This diff is too big to show here.

gogol-autoscaler/gen/Network/Google/ComputeEngineAutoscaler/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-autoscaler/gogol-autoscaler.cabalnew file+39

This diff is too big to show here.

gogol-autoscaler/src/.gitkeepnew file

No changes to the content.

gogol-bigquery/LICENSEnew file+373

This diff is too big to show here.

gogol-bigquery/Makefilenew file+1

This diff is too big to show here.

gogol-bigquery/README.mdnew file+28

This diff is too big to show here.

gogol-bigquery/Setup.hsnew file+2

This diff is too big to show here.

gogol-bigquery/gen/Network/Google/BigQuery.hsnew file+468

This diff is too big to show here.

gogol-bigquery/gen/Network/Google/BigQuery/Types.hsnew file+458

This diff is too big to show here.

gogol-bigquery/gen/Network/Google/BigQuery/Types/Product.hsnew file+3258

This diff is too big to show here.

gogol-bigquery/gen/Network/Google/BigQuery/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-bigquery/gogol-bigquery.cabalnew file+39

This diff is too big to show here.

gogol-bigquery/src/.gitkeepnew file

No changes to the content.

gogol-blogger/LICENSEnew file+373

This diff is too big to show here.

gogol-blogger/Makefilenew file+1

This diff is too big to show here.

gogol-blogger/README.mdnew file+28

This diff is too big to show here.

gogol-blogger/Setup.hsnew file+2

This diff is too big to show here.

gogol-blogger/gen/Network/Google/Blogger.hsnew file+320

This diff is too big to show here.

gogol-blogger/gen/Network/Google/Blogger/Types.hsnew file+310

This diff is too big to show here.

gogol-blogger/gen/Network/Google/Blogger/Types/Product.hsnew file+1786

This diff is too big to show here.

gogol-blogger/gen/Network/Google/Blogger/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-blogger/gogol-blogger.cabalnew file+39

This diff is too big to show here.

gogol-blogger/src/.gitkeepnew file

No changes to the content.

gogol-books/LICENSEnew file+373

This diff is too big to show here.

gogol-books/Makefilenew file+1

This diff is too big to show here.

gogol-books/README.mdnew file+28

This diff is too big to show here.

gogol-books/Setup.hsnew file+2

This diff is too big to show here.

gogol-books/gen/Network/Google/Books.hsnew file+756

This diff is too big to show here.

gogol-books/gen/Network/Google/Books/Types.hsnew file+746

This diff is too big to show here.

gogol-books/gen/Network/Google/Books/Types/Product.hsnew file+4809

This diff is too big to show here.

gogol-books/gen/Network/Google/Books/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-books/gogol-books.cabalnew file+39

This diff is too big to show here.

gogol-books/src/.gitkeepnew file

No changes to the content.

gogol-calendar/LICENSEnew file+373

This diff is too big to show here.

gogol-calendar/Makefilenew file+1

This diff is too big to show here.

gogol-calendar/README.mdnew file+28

This diff is too big to show here.

gogol-calendar/Setup.hsnew file+2

This diff is too big to show here.

gogol-calendar/gen/Network/Google/Calendar.hsnew file+375

This diff is too big to show here.

gogol-calendar/gen/Network/Google/Calendar/Types.hsnew file+365

This diff is too big to show here.

gogol-calendar/gen/Network/Google/Calendar/Types/Product.hsnew file+2412

This diff is too big to show here.

gogol-calendar/gen/Network/Google/Calendar/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-calendar/gogol-calendar.cabalnew file+39

This diff is too big to show here.

gogol-calendar/src/.gitkeepnew file

No changes to the content.

gogol-civicinfo/LICENSEnew file+373

This diff is too big to show here.

gogol-civicinfo/Makefilenew file+1

This diff is too big to show here.

gogol-civicinfo/README.mdnew file+28

This diff is too big to show here.

gogol-civicinfo/Setup.hsnew file+2

This diff is too big to show here.

gogol-civicinfo/gen/Network/Google/CivicInfo.hsnew file+248

This diff is too big to show here.

gogol-civicinfo/gen/Network/Google/CivicInfo/Types.hsnew file+238

This diff is too big to show here.

gogol-civicinfo/gen/Network/Google/CivicInfo/Types/Product.hsnew file+1639

This diff is too big to show here.

gogol-civicinfo/gen/Network/Google/CivicInfo/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-civicinfo/gogol-civicinfo.cabalnew file+39

This diff is too big to show here.

gogol-civicinfo/src/.gitkeepnew file

No changes to the content.

gogol-classroom/LICENSEnew file+373

This diff is too big to show here.

gogol-classroom/Makefilenew file+1

This diff is too big to show here.

gogol-classroom/README.mdnew file+28

This diff is too big to show here.

gogol-classroom/Setup.hsnew file+2

This diff is too big to show here.

gogol-classroom/gen/Network/Google/Classroom.hsnew file+133

This diff is too big to show here.

gogol-classroom/gen/Network/Google/Classroom/Types.hsnew file+123

This diff is too big to show here.

gogol-classroom/gen/Network/Google/Classroom/Types/Product.hsnew file+670

This diff is too big to show here.

gogol-classroom/gen/Network/Google/Classroom/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-classroom/gogol-classroom.cabalnew file+39

This diff is too big to show here.

gogol-classroom/src/.gitkeepnew file

No changes to the content.

gogol-cloud-billing/LICENSEnew file+373

This diff is too big to show here.

gogol-cloud-billing/Makefilenew file+1

This diff is too big to show here.

gogol-cloud-billing/README.mdnew file+28

This diff is too big to show here.

gogol-cloud-billing/Setup.hsnew file+2

This diff is too big to show here.

gogol-cloud-billing/gen/Network/Google/CloudBilling.hsnew file+62

This diff is too big to show here.

gogol-cloud-billing/gen/Network/Google/CloudBilling/Types.hsnew file+52

This diff is too big to show here.

gogol-cloud-billing/gen/Network/Google/CloudBilling/Types/Product.hsnew file+211

This diff is too big to show here.

gogol-cloud-billing/gen/Network/Google/CloudBilling/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-cloud-billing/gogol-cloud-billing.cabalnew file+39

This diff is too big to show here.

gogol-cloud-billing/src/.gitkeepnew file

No changes to the content.

gogol-cloud-datastore/LICENSEnew file+373

This diff is too big to show here.

gogol-cloud-datastore/Makefilenew file+1

This diff is too big to show here.

gogol-cloud-datastore/README.mdnew file+28

This diff is too big to show here.

gogol-cloud-datastore/Setup.hsnew file+2

This diff is too big to show here.

gogol-cloud-datastore/gen/Network/Google/CloudDatastore.hsnew file+307

This diff is too big to show here.

gogol-cloud-datastore/gen/Network/Google/CloudDatastore/Types.hsnew file+297

This diff is too big to show here.

gogol-cloud-datastore/gen/Network/Google/CloudDatastore/Types/Product.hsnew file+1600

This diff is too big to show here.

gogol-cloud-datastore/gen/Network/Google/CloudDatastore/Types/Sum.hsnew file+134

This diff is too big to show here.

gogol-cloud-datastore/gogol-cloud-datastore.cabalnew file+39

This diff is too big to show here.

gogol-cloud-datastore/src/.gitkeepnew file

No changes to the content.

gogol-cloud-debugger/LICENSEnew file+373

This diff is too big to show here.

gogol-cloud-debugger/Makefilenew file+1

This diff is too big to show here.

gogol-cloud-debugger/README.mdnew file+28

This diff is too big to show here.

gogol-cloud-debugger/Setup.hsnew file+2

This diff is too big to show here.

gogol-cloud-debugger/gen/Network/Google/CloudDebugger.hsnew file+211

This diff is too big to show here.

gogol-cloud-debugger/gen/Network/Google/CloudDebugger/Types.hsnew file+201

This diff is too big to show here.

gogol-cloud-debugger/gen/Network/Google/CloudDebugger/Types/Product.hsnew file+1211

This diff is too big to show here.

gogol-cloud-debugger/gen/Network/Google/CloudDebugger/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-cloud-debugger/gogol-cloud-debugger.cabalnew file+39

This diff is too big to show here.

gogol-cloud-debugger/src/.gitkeepnew file

No changes to the content.

gogol-cloud-deployments/LICENSEnew file+373

This diff is too big to show here.

gogol-cloud-deployments/Makefilenew file+1

This diff is too big to show here.

gogol-cloud-deployments/README.mdnew file+28

This diff is too big to show here.

gogol-cloud-deployments/Setup.hsnew file+2

This diff is too big to show here.

gogol-cloud-deployments/gen/Network/Google/DeploymentManager.hsnew file+193

This diff is too big to show here.

gogol-cloud-deployments/gen/Network/Google/DeploymentManager/Types.hsnew file+183

This diff is too big to show here.

gogol-cloud-deployments/gen/Network/Google/DeploymentManager/Types/Product.hsnew file+1142

This diff is too big to show here.

gogol-cloud-deployments/gen/Network/Google/DeploymentManager/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-cloud-deployments/gogol-cloud-deployments.cabalnew file+39

This diff is too big to show here.

gogol-cloud-deployments/src/.gitkeepnew file

No changes to the content.

gogol-cloud-dns/LICENSEnew file+373

This diff is too big to show here.

gogol-cloud-dns/Makefilenew file+1

This diff is too big to show here.

gogol-cloud-dns/README.mdnew file+28

This diff is too big to show here.

gogol-cloud-dns/Setup.hsnew file+2

This diff is too big to show here.

gogol-cloud-dns/gen/Network/Google/CloudDNS.hsnew file+106

This diff is too big to show here.

gogol-cloud-dns/gen/Network/Google/CloudDNS/Types.hsnew file+96

This diff is too big to show here.

gogol-cloud-dns/gen/Network/Google/CloudDNS/Types/Product.hsnew file+546

This diff is too big to show here.

gogol-cloud-dns/gen/Network/Google/CloudDNS/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-cloud-dns/gogol-cloud-dns.cabalnew file+39

This diff is too big to show here.

gogol-cloud-dns/src/.gitkeepnew file

No changes to the content.

gogol-cloud-latencytest/LICENSEnew file+373

This diff is too big to show here.

gogol-cloud-latencytest/Makefilenew file+1

This diff is too big to show here.

gogol-cloud-latencytest/README.mdnew file+28

This diff is too big to show here.

gogol-cloud-latencytest/Setup.hsnew file+2

This diff is too big to show here.

gogol-cloud-latencytest/gen/Network/Google/CloudNetworkPerformanceMonitoring.hsnew file+76

This diff is too big to show here.

gogol-cloud-latencytest/gen/Network/Google/CloudNetworkPerformanceMonitoring/Types.hsnew file+66

This diff is too big to show here.

gogol-cloud-latencytest/gen/Network/Google/CloudNetworkPerformanceMonitoring/Types/Product.hsnew file+220

This diff is too big to show here.

gogol-cloud-latencytest/gen/Network/Google/CloudNetworkPerformanceMonitoring/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-cloud-latencytest/gogol-cloud-latencytest.cabalnew file+39

This diff is too big to show here.

gogol-cloud-latencytest/src/.gitkeepnew file

No changes to the content.

gogol-cloud-logging/LICENSEnew file+373

This diff is too big to show here.

gogol-cloud-logging/Makefilenew file+1

This diff is too big to show here.

gogol-cloud-logging/README.mdnew file+28

This diff is too big to show here.

gogol-cloud-logging/Setup.hsnew file+2

This diff is too big to show here.

gogol-cloud-logging/gen/Network/Google/CloudLogging.hsnew file+228

This diff is too big to show here.

gogol-cloud-logging/gen/Network/Google/CloudLogging/Types.hsnew file+218

This diff is too big to show here.

gogol-cloud-logging/gen/Network/Google/CloudLogging/Types/Product.hsnew file+1393

This diff is too big to show here.

gogol-cloud-logging/gen/Network/Google/CloudLogging/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-cloud-logging/gogol-cloud-logging.cabalnew file+39

This diff is too big to show here.

gogol-cloud-logging/src/.gitkeepnew file

No changes to the content.

gogol-cloud-monitoring/LICENSEnew file+373

This diff is too big to show here.

gogol-cloud-monitoring/Makefilenew file+1

This diff is too big to show here.

gogol-cloud-monitoring/README.mdnew file+28

This diff is too big to show here.

gogol-cloud-monitoring/Setup.hsnew file+2

This diff is too big to show here.

gogol-cloud-monitoring/gen/Network/Google/CloudMonitoring.hsnew file+182

This diff is too big to show here.

gogol-cloud-monitoring/gen/Network/Google/CloudMonitoring/Types.hsnew file+172

This diff is too big to show here.

gogol-cloud-monitoring/gen/Network/Google/CloudMonitoring/Types/Product.hsnew file+925

This diff is too big to show here.

gogol-cloud-monitoring/gen/Network/Google/CloudMonitoring/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-cloud-monitoring/gogol-cloud-monitoring.cabalnew file+39

This diff is too big to show here.

gogol-cloud-monitoring/src/.gitkeepnew file

No changes to the content.

gogol-cloud-pubsub/LICENSEnew file+373

This diff is too big to show here.

gogol-cloud-pubsub/Makefilenew file+1

This diff is too big to show here.

gogol-cloud-pubsub/README.mdnew file+28

This diff is too big to show here.

gogol-cloud-pubsub/Setup.hsnew file+2

This diff is too big to show here.

gogol-cloud-pubsub/gen/Network/Google/CloudPub/Sub/Types.hsnew file+153

This diff is too big to show here.

gogol-cloud-pubsub/gen/Network/Google/CloudPub/Sub/Types/Product.hsnew file+829

This diff is too big to show here.

gogol-cloud-pubsub/gen/Network/Google/CloudPub/Sub/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-cloud-pubsub/gen/Network/Google/Sub.hsnew file+163

This diff is too big to show here.

gogol-cloud-pubsub/gogol-cloud-pubsub.cabalnew file+39

This diff is too big to show here.

gogol-cloud-pubsub/src/.gitkeepnew file

No changes to the content.

gogol-cloud-resources/LICENSEnew file+373

This diff is too big to show here.

gogol-cloud-resources/Makefilenew file+1

This diff is too big to show here.

gogol-cloud-resources/README.mdnew file+28

This diff is too big to show here.

gogol-cloud-resources/Setup.hsnew file+2

This diff is too big to show here.

gogol-cloud-resources/gen/Network/Google/CloudResourceManager.hsnew file+116

This diff is too big to show here.

gogol-cloud-resources/gen/Network/Google/CloudResourceManager/Types.hsnew file+106

This diff is too big to show here.

gogol-cloud-resources/gen/Network/Google/CloudResourceManager/Types/Product.hsnew file+551

This diff is too big to show here.

gogol-cloud-resources/gen/Network/Google/CloudResourceManager/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-cloud-resources/gogol-cloud-resources.cabalnew file+39

This diff is too big to show here.

gogol-cloud-resources/src/.gitkeepnew file

No changes to the content.

gogol-cloud-sqladmin/LICENSEnew file+373

This diff is too big to show here.

gogol-cloud-sqladmin/Makefilenew file+1

This diff is too big to show here.

gogol-cloud-sqladmin/README.mdnew file+28

This diff is too big to show here.

gogol-cloud-sqladmin/Setup.hsnew file+2

This diff is too big to show here.

gogol-cloud-sqladmin/gen/Network/Google/SQLAdmin.hsnew file+399

This diff is too big to show here.

gogol-cloud-sqladmin/gen/Network/Google/SQLAdmin/Types.hsnew file+389

This diff is too big to show here.

gogol-cloud-sqladmin/gen/Network/Google/SQLAdmin/Types/Product.hsnew file+2546

This diff is too big to show here.

gogol-cloud-sqladmin/gen/Network/Google/SQLAdmin/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-cloud-sqladmin/gogol-cloud-sqladmin.cabalnew file+39

This diff is too big to show here.

gogol-cloud-sqladmin/src/.gitkeepnew file

No changes to the content.

gogol-cloud-users/LICENSEnew file+373

This diff is too big to show here.

gogol-cloud-users/Makefilenew file+1

This diff is too big to show here.

gogol-cloud-users/README.mdnew file+28

This diff is too big to show here.

gogol-cloud-users/Setup.hsnew file+2

This diff is too big to show here.

gogol-cloud-users/gen/Network/Google/CloudUserAccounts.hsnew file+202

This diff is too big to show here.

gogol-cloud-users/gen/Network/Google/CloudUserAccounts/Types.hsnew file+192

This diff is too big to show here.

gogol-cloud-users/gen/Network/Google/CloudUserAccounts/Types/Product.hsnew file+1112

This diff is too big to show here.

gogol-cloud-users/gen/Network/Google/CloudUserAccounts/Types/Sum.hsnew file+62

This diff is too big to show here.

gogol-cloud-users/gogol-cloud-users.cabalnew file+39

This diff is too big to show here.

gogol-cloud-users/src/.gitkeepnew file

No changes to the content.

gogol-compute/LICENSEnew file+373

This diff is too big to show here.

gogol-compute/Makefilenew file+1

This diff is too big to show here.

gogol-compute/README.mdnew file+28

This diff is too big to show here.

gogol-compute/Setup.hsnew file+2

This diff is too big to show here.

gogol-compute/gen/Network/Google/Compute.hsnew file+1760

This diff is too big to show here.

gogol-compute/gen/Network/Google/Compute/Types.hsnew file+1750

This diff is too big to show here.

gogol-compute/gen/Network/Google/Compute/Types/Product.hsnew file+11019

This diff is too big to show here.

gogol-compute/gen/Network/Google/Compute/Types/Sum.hsnew file+1031

This diff is too big to show here.

gogol-compute/gogol-compute.cabalnew file+39

This diff is too big to show here.

gogol-compute/src/.gitkeepnew file

No changes to the content.

gogol-container/LICENSEnew file+373

This diff is too big to show here.

gogol-container/Makefilenew file+1

This diff is too big to show here.

gogol-container/README.mdnew file+28

This diff is too big to show here.

gogol-container/Setup.hsnew file+2

This diff is too big to show here.

gogol-container/gen/Network/Google/ContainerEngine.hsnew file+127

This diff is too big to show here.

gogol-container/gen/Network/Google/ContainerEngine/Types.hsnew file+117

This diff is too big to show here.

gogol-container/gen/Network/Google/ContainerEngine/Types/Product.hsnew file+621

This diff is too big to show here.

gogol-container/gen/Network/Google/ContainerEngine/Types/Sum.hsnew file+51

This diff is too big to show here.

gogol-container/gogol-container.cabalnew file+39

This diff is too big to show here.

gogol-container/src/.gitkeepnew file

No changes to the content.

gogol-content/LICENSEnew file+373

This diff is too big to show here.

gogol-content/Makefilenew file+1

This diff is too big to show here.

gogol-content/README.mdnew file+28

This diff is too big to show here.

gogol-content/Setup.hsnew file+2

This diff is too big to show here.

gogol-content/gen/Network/Google/ShoppingContent.hsnew file+502

This diff is too big to show here.

gogol-content/gen/Network/Google/ShoppingContent/Types.hsnew file+492

This diff is too big to show here.

gogol-content/gen/Network/Google/ShoppingContent/Types/Product.hsnew file+3158

This diff is too big to show here.

gogol-content/gen/Network/Google/ShoppingContent/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-content/gogol-content.cabalnew file+39

This diff is too big to show here.

gogol-content/src/.gitkeepnew file

No changes to the content.

gogol-customsearch/LICENSEnew file+373

This diff is too big to show here.

gogol-customsearch/Makefilenew file+1

This diff is too big to show here.

gogol-customsearch/README.mdnew file+28

This diff is too big to show here.

gogol-customsearch/Setup.hsnew file+2

This diff is too big to show here.

gogol-customsearch/gen/Network/Google/CustomSearch.hsnew file+191

This diff is too big to show here.

gogol-customsearch/gen/Network/Google/CustomSearch/Types.hsnew file+181

This diff is too big to show here.

gogol-customsearch/gen/Network/Google/CustomSearch/Types/Product.hsnew file+983

This diff is too big to show here.

gogol-customsearch/gen/Network/Google/CustomSearch/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-customsearch/gogol-customsearch.cabalnew file+39

This diff is too big to show here.

gogol-customsearch/src/.gitkeepnew file

No changes to the content.

gogol-dataflow/LICENSEnew file+373

This diff is too big to show here.

gogol-dataflow/Makefilenew file+1

This diff is too big to show here.

gogol-dataflow/README.mdnew file+28

This diff is too big to show here.

gogol-dataflow/Setup.hsnew file+2

This diff is too big to show here.

gogol-dataflow/gen/Network/Google/Dataflow.hsnew file+690

This diff is too big to show here.

gogol-dataflow/gen/Network/Google/Dataflow/Types.hsnew file+680

This diff is too big to show here.

gogol-dataflow/gen/Network/Google/Dataflow/Types/Product.hsnew file+4394

This diff is too big to show here.

gogol-dataflow/gen/Network/Google/Dataflow/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-dataflow/gogol-dataflow.cabalnew file+39

This diff is too big to show here.

gogol-dataflow/src/.gitkeepnew file

No changes to the content.

gogol-dfareporting/LICENSEnew file+373

This diff is too big to show here.

gogol-dfareporting/Makefilenew file+1

This diff is too big to show here.

gogol-dfareporting/README.mdnew file+28

This diff is too big to show here.

gogol-dfareporting/Setup.hsnew file+2

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/DCM/DFAReportingAndTrafficking/Types.hsnew file+2275

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/DCM/DFAReportingAndTrafficking/Types/Product.hsnew file+15323

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/DCM/DFAReportingAndTrafficking/Types/Sum.hsnew file+2032

This diff is too big to show here.

gogol-dfareporting/gen/Network/Google/DFAReportingAndTrafficking.hsnew file+2285

This diff is too big to show here.

gogol-dfareporting/gogol-dfareporting.cabalnew file+39

This diff is too big to show here.

gogol-dfareporting/src/.gitkeepnew file

No changes to the content.

gogol-discovery/LICENSEnew file+373

This diff is too big to show here.

gogol-discovery/Makefilenew file+1

This diff is too big to show here.

gogol-discovery/README.mdnew file+28

This diff is too big to show here.

gogol-discovery/Setup.hsnew file+2

This diff is too big to show here.

gogol-discovery/gen/Network/Google/APIsDiscoveryService.hsnew file+251

This diff is too big to show here.

gogol-discovery/gen/Network/Google/APIsDiscoveryService/Types.hsnew file+241

This diff is too big to show here.

gogol-discovery/gen/Network/Google/APIsDiscoveryService/Types/Product.hsnew file+1402

This diff is too big to show here.

gogol-discovery/gen/Network/Google/APIsDiscoveryService/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-discovery/gogol-discovery.cabalnew file+39

This diff is too big to show here.

gogol-discovery/src/.gitkeepnew file

No changes to the content.

gogol-doubleclick-bids/LICENSEnew file+373

This diff is too big to show here.

gogol-doubleclick-bids/Makefilenew file+1

This diff is too big to show here.

gogol-doubleclick-bids/README.mdnew file+28

This diff is too big to show here.

gogol-doubleclick-bids/Setup.hsnew file+2

This diff is too big to show here.

gogol-doubleclick-bids/gen/Network/Google/DoubleClickBidManager.hsnew file+221

This diff is too big to show here.

gogol-doubleclick-bids/gen/Network/Google/DoubleClickBidManager/Types.hsnew file+211

This diff is too big to show here.

gogol-doubleclick-bids/gen/Network/Google/DoubleClickBidManager/Types/Product.hsnew file+970

This diff is too big to show here.

gogol-doubleclick-bids/gen/Network/Google/DoubleClickBidManager/Types/Sum.hsnew file+1089

This diff is too big to show here.

gogol-doubleclick-bids/gogol-doubleclick-bids.cabalnew file+39

This diff is too big to show here.

gogol-doubleclick-bids/src/.gitkeepnew file

No changes to the content.

gogol-doubleclick-search/LICENSEnew file+373

This diff is too big to show here.

gogol-doubleclick-search/Makefilenew file+1

This diff is too big to show here.

gogol-doubleclick-search/README.mdnew file+28

This diff is too big to show here.

gogol-doubleclick-search/Setup.hsnew file+2

This diff is too big to show here.

gogol-doubleclick-search/gen/Network/Google/DoubleClickSearch.hsnew file+209

This diff is too big to show here.

gogol-doubleclick-search/gen/Network/Google/DoubleClickSearch/Types.hsnew file+199

This diff is too big to show here.

gogol-doubleclick-search/gen/Network/Google/DoubleClickSearch/Types/Product.hsnew file+1350

This diff is too big to show here.

gogol-doubleclick-search/gen/Network/Google/DoubleClickSearch/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-doubleclick-search/gogol-doubleclick-search.cabalnew file+39

This diff is too big to show here.

gogol-doubleclick-search/src/.gitkeepnew file

No changes to the content.

gogol-drive/LICENSEnew file+373

This diff is too big to show here.

gogol-drive/Makefilenew file+1

This diff is too big to show here.

gogol-drive/README.mdnew file+28

This diff is too big to show here.

gogol-drive/Setup.hsnew file+2

This diff is too big to show here.

gogol-drive/gen/Network/Google/Drive.hsnew file+523

This diff is too big to show here.

gogol-drive/gen/Network/Google/Drive/Types.hsnew file+513

This diff is too big to show here.

gogol-drive/gen/Network/Google/Drive/Types/Product.hsnew file+3664

This diff is too big to show here.

gogol-drive/gen/Network/Google/Drive/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-drive/gogol-drive.cabalnew file+39

This diff is too big to show here.

gogol-drive/src/.gitkeepnew file

No changes to the content.

gogol-fitness/LICENSEnew file+373

This diff is too big to show here.

gogol-fitness/Makefilenew file+1

This diff is too big to show here.

gogol-fitness/README.mdnew file+28

This diff is too big to show here.

gogol-fitness/Setup.hsnew file+2

This diff is too big to show here.

gogol-fitness/gen/Network/Google/Fitness.hsnew file+201

This diff is too big to show here.

gogol-fitness/gen/Network/Google/Fitness/Types.hsnew file+191

This diff is too big to show here.

gogol-fitness/gen/Network/Google/Fitness/Types/Product.hsnew file+1163

This diff is too big to show here.

gogol-fitness/gen/Network/Google/Fitness/Types/Sum.hsnew file+79

This diff is too big to show here.

gogol-fitness/gogol-fitness.cabalnew file+39

This diff is too big to show here.

gogol-fitness/src/.gitkeepnew file

No changes to the content.

gogol-freebasesearch/LICENSEnew file+373

This diff is too big to show here.

gogol-freebasesearch/Makefilenew file+1

This diff is too big to show here.

gogol-freebasesearch/README.mdnew file+28

This diff is too big to show here.

gogol-freebasesearch/Setup.hsnew file+2

This diff is too big to show here.

gogol-freebasesearch/gen/Network/Google/FreebaseSearch.hsnew file+71

This diff is too big to show here.

gogol-freebasesearch/gen/Network/Google/FreebaseSearch/Types.hsnew file+61

This diff is too big to show here.

gogol-freebasesearch/gen/Network/Google/FreebaseSearch/Types/Product.hsnew file+236

This diff is too big to show here.

gogol-freebasesearch/gen/Network/Google/FreebaseSearch/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-freebasesearch/gogol-freebasesearch.cabalnew file+39

This diff is too big to show here.

gogol-freebasesearch/src/.gitkeepnew file

No changes to the content.

gogol-fusiontables/LICENSEnew file+373

This diff is too big to show here.

gogol-fusiontables/Makefilenew file+1

This diff is too big to show here.

gogol-fusiontables/README.mdnew file+28

This diff is too big to show here.

gogol-fusiontables/Setup.hsnew file+2

This diff is too big to show here.

gogol-fusiontables/gen/Network/Google/FusionTables.hsnew file+239

This diff is too big to show here.

gogol-fusiontables/gen/Network/Google/FusionTables/Types.hsnew file+229

This diff is too big to show here.

gogol-fusiontables/gen/Network/Google/FusionTables/Types/Product.hsnew file+1459

This diff is too big to show here.

gogol-fusiontables/gen/Network/Google/FusionTables/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-fusiontables/gogol-fusiontables.cabalnew file+39

This diff is too big to show here.

gogol-fusiontables/src/.gitkeepnew file

No changes to the content.

gogol-games-configuration/LICENSEnew file+373

This diff is too big to show here.

gogol-games-configuration/Makefilenew file+1

This diff is too big to show here.

gogol-games-configuration/README.mdnew file+28

This diff is too big to show here.

gogol-games-configuration/Setup.hsnew file+2

This diff is too big to show here.

gogol-games-configuration/gen/Network/Google/GamesConfiguration.hsnew file+131

This diff is too big to show here.

gogol-games-configuration/gen/Network/Google/GamesConfiguration/Types.hsnew file+121

This diff is too big to show here.

gogol-games-configuration/gen/Network/Google/GamesConfiguration/Types/Product.hsnew file+672

This diff is too big to show here.

gogol-games-configuration/gen/Network/Google/GamesConfiguration/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-games-configuration/gogol-games-configuration.cabalnew file+39

This diff is too big to show here.

gogol-games-configuration/src/.gitkeepnew file

No changes to the content.

gogol-games-management/LICENSEnew file+373

This diff is too big to show here.

gogol-games-management/Makefilenew file+1

This diff is too big to show here.

gogol-games-management/README.mdnew file+28

This diff is too big to show here.

gogol-games-management/Setup.hsnew file+2

This diff is too big to show here.

gogol-games-management/gen/Network/Google/GamesManagement.hsnew file+139

This diff is too big to show here.

gogol-games-management/gen/Network/Google/GamesManagement/Types.hsnew file+129

This diff is too big to show here.

gogol-games-management/gen/Network/Google/GamesManagement/Types/Product.hsnew file+694

This diff is too big to show here.

gogol-games-management/gen/Network/Google/GamesManagement/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-games-management/gogol-games-management.cabalnew file+39

This diff is too big to show here.

gogol-games-management/src/.gitkeepnew file

No changes to the content.

gogol-games/LICENSEnew file+373

This diff is too big to show here.

gogol-games/Makefilenew file+1

This diff is too big to show here.

gogol-games/README.mdnew file+28

This diff is too big to show here.

gogol-games/Setup.hsnew file+2

This diff is too big to show here.

gogol-games/gen/Network/Google/Games.hsnew file+898

This diff is too big to show here.

gogol-games/gen/Network/Google/Games/Types.hsnew file+888

This diff is too big to show here.

gogol-games/gen/Network/Google/Games/Types/Product.hsnew file+6304

This diff is too big to show here.

gogol-games/gen/Network/Google/Games/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-games/gogol-games.cabalnew file+39

This diff is too big to show here.

gogol-games/src/.gitkeepnew file

No changes to the content.

gogol-genomics/LICENSEnew file+373

This diff is too big to show here.

gogol-genomics/Makefilenew file+1

This diff is too big to show here.

gogol-genomics/README.mdnew file+28

This diff is too big to show here.

gogol-genomics/Setup.hsnew file+2

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Genomics.hsnew file+735

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Genomics/Types.hsnew file+725

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Genomics/Types/Product.hsnew file+4719

This diff is too big to show here.

gogol-genomics/gen/Network/Google/Genomics/Types/Sum.hsnew file+274

This diff is too big to show here.

gogol-genomics/gogol-genomics.cabalnew file+39

This diff is too big to show here.

gogol-genomics/src/.gitkeepnew file

No changes to the content.

gogol-gmail/LICENSEnew file+373

This diff is too big to show here.

gogol-gmail/Makefilenew file+1

This diff is too big to show here.

gogol-gmail/README.mdnew file+28

This diff is too big to show here.

gogol-gmail/Setup.hsnew file+2

This diff is too big to show here.

gogol-gmail/gen/Network/Google/Gmail.hsnew file+208

This diff is too big to show here.

gogol-gmail/gen/Network/Google/Gmail/Types.hsnew file+198

This diff is too big to show here.

gogol-gmail/gen/Network/Google/Gmail/Types/Product.hsnew file+1086

This diff is too big to show here.

gogol-gmail/gen/Network/Google/Gmail/Types/Sum.hsnew file+66

This diff is too big to show here.

gogol-gmail/gogol-gmail.cabalnew file+39

This diff is too big to show here.

gogol-gmail/src/.gitkeepnew file

No changes to the content.

gogol-groups/LICENSEnew file+373

This diff is too big to show here.

gogol-groups/Makefilenew file+1

This diff is too big to show here.

gogol-groups/README.mdnew file+28

This diff is too big to show here.

gogol-groups/Setup.hsnew file+2

This diff is too big to show here.

gogol-groups/gen/Network/Google/GroupsMigration.hsnew file+41

This diff is too big to show here.

gogol-groups/gen/Network/Google/GroupsMigration/Types.hsnew file+31

This diff is too big to show here.

gogol-groups/gen/Network/Google/GroupsMigration/Types/Product.hsnew file+49

This diff is too big to show here.

gogol-groups/gen/Network/Google/GroupsMigration/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-groups/gen/Network/Google/GroupsSettings.hsnew file+67

This diff is too big to show here.

gogol-groups/gen/Network/Google/GroupsSettings/Types.hsnew file+57

This diff is too big to show here.

gogol-groups/gen/Network/Google/GroupsSettings/Types/Product.hsnew file+315

This diff is too big to show here.

gogol-groups/gen/Network/Google/GroupsSettings/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-groups/gogol-groups.cabalnew file+43

This diff is too big to show here.

gogol-groups/src/.gitkeepnew file

No changes to the content.

gogol-identity-toolkit/LICENSEnew file+373

This diff is too big to show here.

gogol-identity-toolkit/Makefilenew file+1

This diff is too big to show here.

gogol-identity-toolkit/README.mdnew file+28

This diff is too big to show here.

gogol-identity-toolkit/Setup.hsnew file+2

This diff is too big to show here.

gogol-identity-toolkit/gen/Network/Google/IdentityToolkit.hsnew file+283

This diff is too big to show here.

gogol-identity-toolkit/gen/Network/Google/IdentityToolkit/Types.hsnew file+273

This diff is too big to show here.

gogol-identity-toolkit/gen/Network/Google/IdentityToolkit/Types/Product.hsnew file+1815

This diff is too big to show here.

gogol-identity-toolkit/gen/Network/Google/IdentityToolkit/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-identity-toolkit/gogol-identity-toolkit.cabalnew file+39

This diff is too big to show here.

gogol-identity-toolkit/src/.gitkeepnew file

No changes to the content.

gogol-licensing/LICENSEnew file+373

This diff is too big to show here.

gogol-licensing/Makefilenew file+1

This diff is too big to show here.

gogol-licensing/README.mdnew file+28

This diff is too big to show here.

gogol-licensing/Setup.hsnew file+2

This diff is too big to show here.

gogol-licensing/gen/Network/Google/EnterpriseLicenseManager.hsnew file+58

This diff is too big to show here.

gogol-licensing/gen/Network/Google/EnterpriseLicenseManager/Types.hsnew file+48

This diff is too big to show here.

gogol-licensing/gen/Network/Google/EnterpriseLicenseManager/Types/Product.hsnew file+158

This diff is too big to show here.

gogol-licensing/gen/Network/Google/EnterpriseLicenseManager/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-licensing/gogol-licensing.cabalnew file+39

This diff is too big to show here.

gogol-licensing/src/.gitkeepnew file

No changes to the content.

gogol-maps-coordinate/LICENSEnew file+373

This diff is too big to show here.

gogol-maps-coordinate/Makefilenew file+1

This diff is too big to show here.

gogol-maps-coordinate/README.mdnew file+28

This diff is too big to show here.

gogol-maps-coordinate/Setup.hsnew file+2

This diff is too big to show here.

gogol-maps-coordinate/gen/Network/Google/MapsCoordinate.hsnew file+173

This diff is too big to show here.

gogol-maps-coordinate/gen/Network/Google/MapsCoordinate/Types.hsnew file+163

This diff is too big to show here.

gogol-maps-coordinate/gen/Network/Google/MapsCoordinate/Types/Product.hsnew file+889

This diff is too big to show here.

gogol-maps-coordinate/gen/Network/Google/MapsCoordinate/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-maps-coordinate/gogol-maps-coordinate.cabalnew file+39

This diff is too big to show here.

gogol-maps-coordinate/src/.gitkeepnew file

No changes to the content.

gogol-maps-engine/LICENSEnew file+373

This diff is too big to show here.

gogol-maps-engine/Makefilenew file+1

This diff is too big to show here.

gogol-maps-engine/README.mdnew file+28

This diff is too big to show here.

gogol-maps-engine/Setup.hsnew file+2

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/MapsEngine.hsnew file+718

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/MapsEngine/Types.hsnew file+708

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/MapsEngine/Types/Product.hsnew file+3939

This diff is too big to show here.

gogol-maps-engine/gen/Network/Google/MapsEngine/Types/Sum.hsnew file+416

This diff is too big to show here.

gogol-maps-engine/gogol-maps-engine.cabalnew file+39

This diff is too big to show here.

gogol-maps-engine/src/.gitkeepnew file

No changes to the content.

gogol-mirror/LICENSEnew file+373

This diff is too big to show here.

gogol-mirror/Makefilenew file+1

This diff is too big to show here.

gogol-mirror/README.mdnew file+28

This diff is too big to show here.

gogol-mirror/Setup.hsnew file+2

This diff is too big to show here.

gogol-mirror/gen/Network/Google/Mirror.hsnew file+216

This diff is too big to show here.

gogol-mirror/gen/Network/Google/Mirror/Types.hsnew file+206

This diff is too big to show here.

gogol-mirror/gen/Network/Google/Mirror/Types/Product.hsnew file+1406

This diff is too big to show here.

gogol-mirror/gen/Network/Google/Mirror/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-mirror/gogol-mirror.cabalnew file+39

This diff is too big to show here.

gogol-mirror/src/.gitkeepnew file

No changes to the content.

gogol-oauth2/LICENSEnew file+373

This diff is too big to show here.

gogol-oauth2/Makefilenew file+1

This diff is too big to show here.

gogol-oauth2/README.mdnew file+28

This diff is too big to show here.

gogol-oauth2/Setup.hsnew file+2

This diff is too big to show here.

gogol-oauth2/gen/Network/Google/OAuth2.hsnew file+78

This diff is too big to show here.

gogol-oauth2/gen/Network/Google/OAuth2/Types.hsnew file+68

This diff is too big to show here.

gogol-oauth2/gen/Network/Google/OAuth2/Types/Product.hsnew file+298

This diff is too big to show here.

gogol-oauth2/gen/Network/Google/OAuth2/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-oauth2/gogol-oauth2.cabalnew file+39

This diff is too big to show here.

gogol-oauth2/src/.gitkeepnew file

No changes to the content.

gogol-pagespeed/LICENSEnew file+373

This diff is too big to show here.

gogol-pagespeed/Makefilenew file+1

This diff is too big to show here.

gogol-pagespeed/README.mdnew file+28

This diff is too big to show here.

gogol-pagespeed/Setup.hsnew file+2

This diff is too big to show here.

gogol-pagespeed/gen/Network/Google/PageSpeedInsights.hsnew file+135

This diff is too big to show here.

gogol-pagespeed/gen/Network/Google/PageSpeedInsights/Types.hsnew file+125

This diff is too big to show here.

gogol-pagespeed/gen/Network/Google/PageSpeedInsights/Types/Product.hsnew file+699

This diff is too big to show here.

gogol-pagespeed/gen/Network/Google/PageSpeedInsights/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-pagespeed/gogol-pagespeed.cabalnew file+39

This diff is too big to show here.

gogol-pagespeed/src/.gitkeepnew file

No changes to the content.

gogol-partners/LICENSEnew file+373

This diff is too big to show here.

gogol-partners/Makefilenew file+1

This diff is too big to show here.

gogol-partners/README.mdnew file+28

This diff is too big to show here.

gogol-partners/Setup.hsnew file+2

This diff is too big to show here.

gogol-partners/gen/Network/Google/Partners.hsnew file+230

This diff is too big to show here.

gogol-partners/gen/Network/Google/Partners/Types.hsnew file+220

This diff is too big to show here.

gogol-partners/gen/Network/Google/Partners/Types/Product.hsnew file+1294

This diff is too big to show here.

gogol-partners/gen/Network/Google/Partners/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-partners/gogol-partners.cabalnew file+39

This diff is too big to show here.

gogol-partners/src/.gitkeepnew file

No changes to the content.

gogol-play-moviespartner/LICENSEnew file+373

This diff is too big to show here.

gogol-play-moviespartner/Makefilenew file+1

This diff is too big to show here.

gogol-play-moviespartner/README.mdnew file+28

This diff is too big to show here.

gogol-play-moviespartner/Setup.hsnew file+2

This diff is too big to show here.

gogol-play-moviespartner/gen/Network/Google/PlayMoviesPartner.hsnew file+178

This diff is too big to show here.

gogol-play-moviespartner/gen/Network/Google/PlayMoviesPartner/Types.hsnew file+168

This diff is too big to show here.

gogol-play-moviespartner/gen/Network/Google/PlayMoviesPartner/Types/Product.hsnew file+1277

This diff is too big to show here.

gogol-play-moviespartner/gen/Network/Google/PlayMoviesPartner/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-play-moviespartner/gogol-play-moviespartner.cabalnew file+39

This diff is too big to show here.

gogol-play-moviespartner/src/.gitkeepnew file

No changes to the content.

gogol-plus-domains/LICENSEnew file+373

This diff is too big to show here.

gogol-plus-domains/Makefilenew file+1

This diff is too big to show here.

gogol-plus-domains/README.mdnew file+28

This diff is too big to show here.

gogol-plus-domains/Setup.hsnew file+2

This diff is too big to show here.

gogol-plus-domains/gen/Network/Google/Google+Domains.hsnew file+524

This diff is too big to show here.

gogol-plus-domains/gen/Network/Google/Google+Domains/Types.hsnew file+514

This diff is too big to show here.

gogol-plus-domains/gen/Network/Google/Google+Domains/Types/Product.hsnew file+3316

This diff is too big to show here.

gogol-plus-domains/gen/Network/Google/Google+Domains/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-plus-domains/gogol-plus-domains.cabalnew file+39

This diff is too big to show here.

gogol-plus-domains/src/.gitkeepnew file

No changes to the content.

gogol-plus/LICENSEnew file+373

This diff is too big to show here.

gogol-plus/Makefilenew file+1

This diff is too big to show here.

gogol-plus/README.mdnew file+28

This diff is too big to show here.

gogol-plus/Setup.hsnew file+2

This diff is too big to show here.

gogol-plus/gen/Network/Google/Google+.hsnew file+503

This diff is too big to show here.

gogol-plus/gen/Network/Google/Google+/Types.hsnew file+493

This diff is too big to show here.

gogol-plus/gen/Network/Google/Google+/Types/Product.hsnew file+3340

This diff is too big to show here.

gogol-plus/gen/Network/Google/Google+/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-plus/gogol-plus.cabalnew file+39

This diff is too big to show here.

gogol-plus/src/.gitkeepnew file

No changes to the content.

gogol-prediction/LICENSEnew file+373

This diff is too big to show here.

gogol-prediction/Makefilenew file+1

This diff is too big to show here.

gogol-prediction/README.mdnew file+28

This diff is too big to show here.

gogol-prediction/Setup.hsnew file+2

This diff is too big to show here.

gogol-prediction/gen/Network/Google/Prediction.hsnew file+208

This diff is too big to show here.

gogol-prediction/gen/Network/Google/Prediction/Types.hsnew file+198

This diff is too big to show here.

gogol-prediction/gen/Network/Google/Prediction/Types/Product.hsnew file+1085

This diff is too big to show here.

gogol-prediction/gen/Network/Google/Prediction/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-prediction/gogol-prediction.cabalnew file+39

This diff is too big to show here.

gogol-prediction/src/.gitkeepnew file

No changes to the content.

gogol-proximitybeacon/LICENSEnew file+373

This diff is too big to show here.

gogol-proximitybeacon/Makefilenew file+1

This diff is too big to show here.

gogol-proximitybeacon/README.mdnew file+28

This diff is too big to show here.

gogol-proximitybeacon/Setup.hsnew file+2

This diff is too big to show here.

gogol-proximitybeacon/gen/Network/Google/ProximityBeacon.hsnew file+160

This diff is too big to show here.

gogol-proximitybeacon/gen/Network/Google/ProximityBeacon/Types.hsnew file+150

This diff is too big to show here.

gogol-proximitybeacon/gen/Network/Google/ProximityBeacon/Types/Product.hsnew file+841

This diff is too big to show here.

gogol-proximitybeacon/gen/Network/Google/ProximityBeacon/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-proximitybeacon/gogol-proximitybeacon.cabalnew file+39

This diff is too big to show here.

gogol-proximitybeacon/src/.gitkeepnew file

No changes to the content.

gogol-qpxexpress/LICENSEnew file+373

This diff is too big to show here.

gogol-qpxexpress/Makefilenew file+1

This diff is too big to show here.

gogol-qpxexpress/README.mdnew file+28

This diff is too big to show here.

gogol-qpxexpress/Setup.hsnew file+2

This diff is too big to show here.

gogol-qpxexpress/gen/Network/Google/QPXExpress.hsnew file+266

This diff is too big to show here.

gogol-qpxexpress/gen/Network/Google/QPXExpress/Types.hsnew file+256

This diff is too big to show here.

gogol-qpxexpress/gen/Network/Google/QPXExpress/Types/Product.hsnew file+1729

This diff is too big to show here.

gogol-qpxexpress/gen/Network/Google/QPXExpress/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-qpxexpress/gogol-qpxexpress.cabalnew file+39

This diff is too big to show here.

gogol-qpxexpress/src/.gitkeepnew file

No changes to the content.

gogol-replicapool-updater/LICENSEnew file+373

This diff is too big to show here.

gogol-replicapool-updater/Makefilenew file+1

This diff is too big to show here.

gogol-replicapool-updater/README.mdnew file+28

This diff is too big to show here.

gogol-replicapool-updater/Setup.hsnew file+2

This diff is too big to show here.

gogol-replicapool-updater/gen/Network/Google/ComputeEngineInstanceGroupUpdater.hsnew file+171

This diff is too big to show here.

gogol-replicapool-updater/gen/Network/Google/ComputeEngineInstanceGroupUpdater/Types.hsnew file+161

This diff is too big to show here.

gogol-replicapool-updater/gen/Network/Google/ComputeEngineInstanceGroupUpdater/Types/Product.hsnew file+986

This diff is too big to show here.

gogol-replicapool-updater/gen/Network/Google/ComputeEngineInstanceGroupUpdater/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-replicapool-updater/gogol-replicapool-updater.cabalnew file+39

This diff is too big to show here.

gogol-replicapool-updater/src/.gitkeepnew file

No changes to the content.

gogol-replicapool/LICENSEnew file+373

This diff is too big to show here.

gogol-replicapool/Makefilenew file+1

This diff is too big to show here.

gogol-replicapool/README.mdnew file+28

This diff is too big to show here.

gogol-replicapool/Setup.hsnew file+2

This diff is too big to show here.

gogol-replicapool/gen/Network/Google/ComputeEngineInstanceGroupManager.hsnew file+163

This diff is too big to show here.

gogol-replicapool/gen/Network/Google/ComputeEngineInstanceGroupManager/Types.hsnew file+153

This diff is too big to show here.

gogol-replicapool/gen/Network/Google/ComputeEngineInstanceGroupManager/Types/Product.hsnew file+861

This diff is too big to show here.

gogol-replicapool/gen/Network/Google/ComputeEngineInstanceGroupManager/Types/Sum.hsnew file+73

This diff is too big to show here.

gogol-replicapool/gogol-replicapool.cabalnew file+39

This diff is too big to show here.

gogol-replicapool/src/.gitkeepnew file

No changes to the content.

gogol-reseller/LICENSEnew file+373

This diff is too big to show here.

gogol-reseller/Makefilenew file+1

This diff is too big to show here.

gogol-reseller/README.mdnew file+28

This diff is too big to show here.

gogol-reseller/Setup.hsnew file+2

This diff is too big to show here.

gogol-reseller/gen/Network/Google/EnterpriseAppsReseller.hsnew file+133

This diff is too big to show here.

gogol-reseller/gen/Network/Google/EnterpriseAppsReseller/Types.hsnew file+123

This diff is too big to show here.

gogol-reseller/gen/Network/Google/EnterpriseAppsReseller/Types/Product.hsnew file+696

This diff is too big to show here.

gogol-reseller/gen/Network/Google/EnterpriseAppsReseller/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-reseller/gogol-reseller.cabalnew file+39

This diff is too big to show here.

gogol-reseller/src/.gitkeepnew file

No changes to the content.

gogol-resourceviews/LICENSEnew file+373

This diff is too big to show here.

gogol-resourceviews/Makefilenew file+1

This diff is too big to show here.

gogol-resourceviews/README.mdnew file+28

This diff is too big to show here.

gogol-resourceviews/Setup.hsnew file+2

This diff is too big to show here.

gogol-resourceviews/gen/Network/Google/ComputeEngineInstanceGroups.hsnew file+171

This diff is too big to show here.

gogol-resourceviews/gen/Network/Google/ComputeEngineInstanceGroups/Types.hsnew file+161

This diff is too big to show here.

gogol-resourceviews/gen/Network/Google/ComputeEngineInstanceGroups/Types/Product.hsnew file+923

This diff is too big to show here.

gogol-resourceviews/gen/Network/Google/ComputeEngineInstanceGroups/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-resourceviews/gogol-resourceviews.cabalnew file+39

This diff is too big to show here.

gogol-resourceviews/src/.gitkeepnew file

No changes to the content.

gogol-siteverification/LICENSEnew file+373

This diff is too big to show here.

gogol-siteverification/Makefilenew file+1

This diff is too big to show here.

gogol-siteverification/README.mdnew file+28

This diff is too big to show here.

gogol-siteverification/Setup.hsnew file+2

This diff is too big to show here.

gogol-siteverification/gen/Network/Google/SiteVerification.hsnew file+71

This diff is too big to show here.

gogol-siteverification/gen/Network/Google/SiteVerification/Types.hsnew file+61

This diff is too big to show here.

gogol-siteverification/gen/Network/Google/SiteVerification/Types/Product.hsnew file+230

This diff is too big to show here.

gogol-siteverification/gen/Network/Google/SiteVerification/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-siteverification/gogol-siteverification.cabalnew file+39

This diff is too big to show here.

gogol-siteverification/src/.gitkeepnew file

No changes to the content.

gogol-spectrum/LICENSEnew file+373

This diff is too big to show here.

gogol-spectrum/Makefilenew file+1

This diff is too big to show here.

gogol-spectrum/README.mdnew file+28

This diff is too big to show here.

gogol-spectrum/Setup.hsnew file+2

This diff is too big to show here.

gogol-spectrum/gen/Network/Google/SpectrumDatabase.hsnew file+303

This diff is too big to show here.

gogol-spectrum/gen/Network/Google/SpectrumDatabase/Types.hsnew file+293

This diff is too big to show here.

gogol-spectrum/gen/Network/Google/SpectrumDatabase/Types/Product.hsnew file+2147

This diff is too big to show here.

gogol-spectrum/gen/Network/Google/SpectrumDatabase/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-spectrum/gogol-spectrum.cabalnew file+39

This diff is too big to show here.

gogol-spectrum/src/.gitkeepnew file

No changes to the content.

gogol-storage-transfer/LICENSEnew file+373

This diff is too big to show here.

gogol-storage-transfer/Makefilenew file+1

This diff is too big to show here.

gogol-storage-transfer/README.mdnew file+28

This diff is too big to show here.

gogol-storage-transfer/Setup.hsnew file+2

This diff is too big to show here.

gogol-storage-transfer/gen/Network/Google/StorageTransfer.hsnew file+227

This diff is too big to show here.

gogol-storage-transfer/gen/Network/Google/StorageTransfer/Types.hsnew file+217

This diff is too big to show here.

gogol-storage-transfer/gen/Network/Google/StorageTransfer/Types/Product.hsnew file+1398

This diff is too big to show here.

gogol-storage-transfer/gen/Network/Google/StorageTransfer/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-storage-transfer/gogol-storage-transfer.cabalnew file+39

This diff is too big to show here.

gogol-storage-transfer/src/.gitkeepnew file

No changes to the content.

gogol-storage/LICENSEnew file+373

This diff is too big to show here.

gogol-storage/Makefilenew file+1

This diff is too big to show here.

gogol-storage/README.mdnew file+28

This diff is too big to show here.

gogol-storage/Setup.hsnew file+2

This diff is too big to show here.

gogol-storage/gen/Network/Google/CloudStorage.hsnew file+243

This diff is too big to show here.

gogol-storage/gen/Network/Google/CloudStorage/Types.hsnew file+233

This diff is too big to show here.

gogol-storage/gen/Network/Google/CloudStorage/Types/Product.hsnew file+1447

This diff is too big to show here.

gogol-storage/gen/Network/Google/CloudStorage/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-storage/gogol-storage.cabalnew file+39

This diff is too big to show here.

gogol-storage/src/.gitkeepnew file

No changes to the content.

gogol-tagmanager/LICENSEnew file+373

This diff is too big to show here.

gogol-tagmanager/Makefilenew file+1

This diff is too big to show here.

gogol-tagmanager/README.mdnew file+28

This diff is too big to show here.

gogol-tagmanager/Setup.hsnew file+2

This diff is too big to show here.

gogol-tagmanager/gen/Network/Google/TagManager.hsnew file+339

This diff is too big to show here.

gogol-tagmanager/gen/Network/Google/TagManager/Types.hsnew file+329

This diff is too big to show here.

gogol-tagmanager/gen/Network/Google/TagManager/Types/Product.hsnew file+2076

This diff is too big to show here.

gogol-tagmanager/gen/Network/Google/TagManager/Types/Sum.hsnew file+239

This diff is too big to show here.

gogol-tagmanager/gogol-tagmanager.cabalnew file+39

This diff is too big to show here.

gogol-tagmanager/src/.gitkeepnew file

No changes to the content.

gogol-taskqueue/LICENSEnew file+373

This diff is too big to show here.

gogol-taskqueue/Makefilenew file+1

This diff is too big to show here.

gogol-taskqueue/README.mdnew file+28

This diff is too big to show here.

gogol-taskqueue/Setup.hsnew file+2

This diff is too big to show here.

gogol-taskqueue/gen/Network/Google/TaskQueue.hsnew file+83

This diff is too big to show here.

gogol-taskqueue/gen/Network/Google/TaskQueue/Types.hsnew file+73

This diff is too big to show here.

gogol-taskqueue/gen/Network/Google/TaskQueue/Types/Product.hsnew file+336

This diff is too big to show here.

gogol-taskqueue/gen/Network/Google/TaskQueue/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-taskqueue/gogol-taskqueue.cabalnew file+39

This diff is too big to show here.

gogol-taskqueue/src/.gitkeepnew file

No changes to the content.

gogol-tasks/LICENSEnew file+373

This diff is too big to show here.

gogol-tasks/Makefilenew file+1

This diff is too big to show here.

gogol-tasks/README.mdnew file+28

This diff is too big to show here.

gogol-tasks/Setup.hsnew file+2

This diff is too big to show here.

gogol-tasks/gen/Network/Google/Tasks.hsnew file+87

This diff is too big to show here.

gogol-tasks/gen/Network/Google/Tasks/Types.hsnew file+77

This diff is too big to show here.

gogol-tasks/gen/Network/Google/Tasks/Types/Product.hsnew file+376

This diff is too big to show here.

gogol-tasks/gen/Network/Google/Tasks/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-tasks/gogol-tasks.cabalnew file+39

This diff is too big to show here.

gogol-tasks/src/.gitkeepnew file

No changes to the content.

gogol-translate/LICENSEnew file+373

This diff is too big to show here.

gogol-translate/Makefilenew file+1

This diff is too big to show here.

gogol-translate/README.mdnew file+28

This diff is too big to show here.

gogol-translate/Setup.hsnew file+2

This diff is too big to show here.

gogol-translate/gen/Network/Google/Translate.hsnew file+69

This diff is too big to show here.

gogol-translate/gen/Network/Google/Translate/Types.hsnew file+59

This diff is too big to show here.

gogol-translate/gen/Network/Google/Translate/Types/Product.hsnew file+205

This diff is too big to show here.

gogol-translate/gen/Network/Google/Translate/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-translate/gogol-translate.cabalnew file+39

This diff is too big to show here.

gogol-translate/src/.gitkeepnew file

No changes to the content.

gogol-urlshortener/LICENSEnew file+373

This diff is too big to show here.

gogol-urlshortener/Makefilenew file+1

This diff is too big to show here.

gogol-urlshortener/README.mdnew file+28

This diff is too big to show here.

gogol-urlshortener/Setup.hsnew file+2

This diff is too big to show here.

gogol-urlshortener/gen/Network/Google/URLShortener.hsnew file+79

This diff is too big to show here.

gogol-urlshortener/gen/Network/Google/URLShortener/Types.hsnew file+69

This diff is too big to show here.

gogol-urlshortener/gen/Network/Google/URLShortener/Types/Product.hsnew file+321

This diff is too big to show here.

gogol-urlshortener/gen/Network/Google/URLShortener/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-urlshortener/gogol-urlshortener.cabalnew file+39

This diff is too big to show here.

gogol-urlshortener/src/.gitkeepnew file

No changes to the content.

gogol-webfonts/LICENSEnew file+373

This diff is too big to show here.

gogol-webfonts/Makefilenew file+1

This diff is too big to show here.

gogol-webfonts/README.mdnew file+28

This diff is too big to show here.

gogol-webfonts/Setup.hsnew file+2

This diff is too big to show here.

gogol-webfonts/gen/Network/Google/FontsDeveloper.hsnew file+57

This diff is too big to show here.

gogol-webfonts/gen/Network/Google/FontsDeveloper/Types.hsnew file+47

This diff is too big to show here.

gogol-webfonts/gen/Network/Google/FontsDeveloper/Types/Product.hsnew file+151

This diff is too big to show here.

gogol-webfonts/gen/Network/Google/FontsDeveloper/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-webfonts/gogol-webfonts.cabalnew file+39

This diff is too big to show here.

gogol-webfonts/src/.gitkeepnew file

No changes to the content.

gogol-webmaster-tools/LICENSEnew file+373

This diff is too big to show here.

gogol-webmaster-tools/Makefilenew file+1

This diff is too big to show here.

gogol-webmaster-tools/README.mdnew file+28

This diff is too big to show here.

gogol-webmaster-tools/Setup.hsnew file+2

This diff is too big to show here.

gogol-webmaster-tools/gen/Network/Google/WebmasterTools.hsnew file+148

This diff is too big to show here.

gogol-webmaster-tools/gen/Network/Google/WebmasterTools/Types.hsnew file+138

This diff is too big to show here.

gogol-webmaster-tools/gen/Network/Google/WebmasterTools/Types/Product.hsnew file+765

This diff is too big to show here.

gogol-webmaster-tools/gen/Network/Google/WebmasterTools/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-webmaster-tools/gogol-webmaster-tools.cabalnew file+39

This diff is too big to show here.

gogol-webmaster-tools/src/.gitkeepnew file

No changes to the content.

gogol-youtube-analytics/LICENSEnew file+373

This diff is too big to show here.

gogol-youtube-analytics/Makefilenew file+1

This diff is too big to show here.

gogol-youtube-analytics/README.mdnew file+28

This diff is too big to show here.

gogol-youtube-analytics/Setup.hsnew file+2

This diff is too big to show here.

gogol-youtube-analytics/gen/Network/Google/YouTubeAnalytics.hsnew file+143

This diff is too big to show here.

gogol-youtube-analytics/gen/Network/Google/YouTubeAnalytics/Types.hsnew file+133

This diff is too big to show here.

gogol-youtube-analytics/gen/Network/Google/YouTubeAnalytics/Types/Product.hsnew file+678

This diff is too big to show here.

gogol-youtube-analytics/gen/Network/Google/YouTubeAnalytics/Types/Sum.hsnew file+15

This diff is too big to show here.

gogol-youtube-analytics/gogol-youtube-analytics.cabalnew file+39

This diff is too big to show here.

gogol-youtube-analytics/src/.gitkeepnew file

No changes to the content.

gogol-youtube/LICENSEnew file+373

This diff is too big to show here.

gogol-youtube/Makefilenew file+1

This diff is too big to show here.

gogol-youtube/README.mdnew file+28

This diff is too big to show here.

gogol-youtube/Setup.hsnew file+2

This diff is too big to show here.

gogol-youtube/gen/Network/Google/YouTube.hsnew file+1786

This diff is too big to show here.

gogol-youtube/gen/Network/Google/YouTube/Types.hsnew file+1776

This diff is too big to show here.

gogol-youtube/gen/Network/Google/YouTube/Types/Product.hs+10238

This diff is too big to show here.

gogol-youtube/gen/Network/Google/YouTube/Types/Sum.hs+2132

This diff is too big to show here.

gogol-youtube/gogol-youtube.cabal+39

This diff is too big to show here.

gogol-youtube/src/.gitkeep

This diff is too big to show here.